:root {
    --col-black: #4c4437;
    --txt-normal: 18px;
    --txt-h: 24px;
}

body {
    /*margin: 0 auto;*/
}

#headerBeseda {
    font-size: 16px;
    position: -webkit-sticky;
    position: sticky;
    background-color: #e1dbc1;
    top: -42px;
    z-index: 1000;
}

#headerBeseda {}

div.beseda h1,
div.beseda h2 {
    font-family: 'Open Sans', 'Roboto Slab', serif;
    font-weight: 700;
}

.title {
    font-family: 'CyrillicOld', serif;
}

.item.article h2 {
    font-size: var(--txt-h);
}

div.beseda {
    font-family: 'Roboto Slab', serif;
    width: 65vw;
    min-width: 800px;
}

p.western {
    font-family: 'Roboto Slab', serif;
    font-size: calc(var(--txt-normal) + 1px);
    line-height: 1.8;
    text-align: justify;
}

p.right-align {
    text-align: right;
}

p.center-align {
    text-align: center;
}

ul.breadcrumb.toc {
    margin: 20px 0 !important;
}

ul.breadcrumb.toc li {
    display: inline-block;
    padding: 10px;
    width: 33%;
}

ul.breadcrumb.toc li+li:before {
    content: "";
}


.gallery-section .gallery {
    display: flex;
    justify-content: center;
}

.img-box {
    width: 100%;
    border: 5px double rgb(82, 82, 82);
    /*float: left;*/
    line-height: 1;
    margin-right: 30px;
    margin-top: 9px;
    transition: all ease 1s;
}

.img-box:hover {
    transform: scale(1.08);
    -webkit-transform: scale(1.1);
    -moz-transform: scale(1.1);
    -ms-transform: scale(1.1);
    margin-top: 0px;
    cursor: pointer;
}

.img-box img {
    width: 100%;
    height: 100%;
}

.img-right {
    float: right;
    margin-right: 0;
    margin-top: 5px;
    margin-left: 35px;
}

div.desc {
    padding: 5px;
    font-size: 0.8em;
    line-height: 150%;
    background-color: var(--col-black);
    color: #fff;
    text-align: center;
    border-top: 2px dashed #e1dbc1;
}

.drop {
    float: left;
    font-size: 63px;
    line-height: 60px;
    padding-top: 4px;
    padding-right: 4px;
    padding-left: 60px;
    color: var(--col-black);
}

.chapter-nav {
    margin-bottom: 20px;
}

.left,
.right {
    font-size: var(--txt-normal);
    text-align: left;
    display: inline-block;
}

.right {
    text-align: right !important;
    float: right !important;
}

@media screen and (max-width: 990px) {

    #headerBeseda {
        background-color: transparent;
        top: -80px;
    }

    div.beseda {
        width: 95vw;
        min-width: 100px;
    }

    .img-box {
        width: 100%;
    }

    .drop {
        padding-left: 20px;
    }

    ul.breadcrumb.toc li {
        display: block;
        padding: 20px;
        width: auto;
    }
}