/* SEND TO MAIN */

main img {
    height: auto;
    margin: 1em auto;
}

main li {
    padding: 0.25em 0;
}

main {
    border-radius: 0.25em !important;
}
nav {
    max-width: max-content !important;
}
#menu a, #menu a:visited {
    text-decoration: underline !important;
    color:#9115e4;
}
#menu li {
    display: inline-block !important;
    background: none !important;
}
nav .title {
    display: inline;
}

/* h1 {
    margin: 0 0 1em 0;
} */
h2 {
    margin: 0 0 0 0;
}

/* grep */

/* main {
    max-width: 800px;
} */

main, article {
    max-width: 700px;
    line-height: 1.5;
}
article {
    margin: 0 auto;
}

main.wide { max-width: 1024px; }

@font-face {
    font-family: Roboto Condensed;
    src: url(assets/RobotoCondensed-VariableFont_wght.ttf);
}

figure { margin: 0 auto; }
figcaption {
    text-align: center;
    font-style: italic;
}

.footnotes li {
    padding: 0;
}

.float-left { float: left; }
.float-right { float: right; }
.float-left, .float-right { margin: 1em; }

.archives {
    list-style: none;
    padding: 0;
}

details {
    margin: 1em;
    padding: 0.5em;
    border: 1px solid #cad7ff;
    border-radius: 0.5em;
    box-shadow: 2px 2px #cad7ff;
}

question {
    display: block;
    margin: 1em;
    padding: 1em;
    background-color: #5E4BA0;
    border-radius: 0.5em;
    color: #EBF4FF;
    font-weight: bolder;
}

.cover img {
    width: 600px;
    max-height: 250px;
    object-fit: cover;
}

.archives .thumbnail {
    float: left;
    padding-right: 10px;
}

.archives li {
    display: block;
    margin: 1em;
    padding: 0;
}

.archives .thumbnail img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 0.5em;
    margin: 0;
}

.archives.grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    column-gap: 1em;
}
.archives.grid .item {
    padding: 0;
    display: flex;
    flex-direction: column;
}
.archives.grid h3 {
    margin: 0;
}
.archives.grid .thumbnail img {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 0.5em;
    margin: 0;
}

.archives.grid2 {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    column-gap: 1em;
}

.short-list ul {
    display: grid;
    grid-template-columns: repeat(2,1fr);
}

.short-list ul li {
    margin: 0;
    padding: 0;
    width: 90%;
}

@media only screen and (max-width: 700px) {
    .archives.grid {
        grid-template-columns: repeat(2,1fr);
    }
    .archives.grid2 {
        grid-template-columns: repeat(1,1fr);
    }
}


.categories {
    display: grid;
    grid-template-columns: repeat(3,1fr);
}

.categories .thumbnail span {
    width: 50px;
    font-size: 40px;
}

.clearfix::after {
    content: "";
    clear: both;
    display: table;
}

.read-more {
    font-weight: bold;
}


.date {
    margin: 0;
}

hr {
    border: 0;
    margin: 1em auto;
    max-width: 100%;
    height: 2em;
    background-image: url("/img/ksb hr.svg");
    background-repeat: no-repeat;
    background-size: auto 100%;
    background-position: center;
}

hr.small {
    background-image: none !important;
    border-top: 2px dashed #5E4BA0;
    height: 0;
    margin: 2em auto;
    max-width: 300px;
}

.chat {
    padding: 0 20%;
}
.chat .icon {
    
    display: inline;
    margin: 0;
}

.series {
    font-family: Roboto Condensed;

    display: inline-block;
    color: #EBF4FF;
    background-color: #9115e4;
    padding: 0 0.25em;
    margin: 0.1em;
    font-size: 0.8em;
    /* font-size: 1.5em; */
    border-radius: 0.25em;
    text-decoration: none;
}

blockquote {
    border-left: 0.25em solid #5E4BA0;
    padding-left: 1em;
}

table {
    margin: 0 auto;
    /* border: 0.1em solid #5E4BA0; */
    border-radius: 0.25em;
    border-spacing: 0.5em;
}

td {
    border: 0.1em solid #cad7ff;
    text-align: center;
    border-radius: 0.5em;
    box-shadow: 1px 1px #cad7ff;
}

#comments {
    border: 0.1em solid #cad7ff;
    border-radius: 0.5em;
    box-shadow: 1px 1px #cad7ff;
    padding: 1em;
}

a.button {
    padding: 0.5em;
    border: 1px outset buttonborder;
    border-radius: 3px;
    color: buttontext;
    background-color: buttonface;
    text-decoration: none;
}