@font-face {
    font-family: 'orthosregular';
    src: url('/fonts/orthos/orthos-webfont.woff2') format('woff2'), url('/fonts/orthos/orthos-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification 
for details on configuring this project to bundle and minify static web assets. */
html, body {
    height: 100%;
}

.papirus-bg {
    background-image: url('/images/paper-pattern.png');
}


.close-collapse {
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
    padding: 0;
    background-color: transparent;
    border: 0;
}

.f-el, .interline .c > span:first-child, *[lang='el'] {
    font-family: orthosregular;
    font-size: 1.2em;
}

/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Carousel */
.carousel-caption p {
    font-size: 20px;
    line-height: 1.4;
}

.sm-url{
    font-size: .7em;
    display:block;
    margin-top:-5px;
}

/* Make .svg files in the carousel display properly in older browsers */
.carousel-inner .item img[src$=".svg"] {
    width: 100%;
}

/* QR code generator */
#qrCode {
    margin: 15px;
}

/* Hide/rearrange for smaller screens */
@media screen and (max-width: 767px) {
    /* Hide captions */
    .carousel-caption {
        display: none;
    }
}

.rtl, .hebrew, *[lang='he'] {
    direction: rtl;
    text-align: right;
}
.ltr {
    direction: ltr;
    text-align: left;
}

.hebrew, *[lang='he'] {
    font-size: 1.24em;
    font-weight: normal;
    line-height: .94em;
    font-family: 'Times New Roman', Times, 'Tinos', serif;
}



/*SideMenu*/
.sidenav {
    height: 100%; /* Full-height: remove this if you want "auto" height */
    width: 265px; /* Set the width of the sidebar */
    position: fixed; /* Fixed Sidebar (stay in place on scroll) */
    z-index: 10; /* Stay on top */
    top: 0; /* Stay at the top */
    left: 0;
    overflow-y: auto;
    padding-top: 20px;
    background-image: url('../images/open-bible.jpg');
    background-size: cover;
    border-right: 5px solid brown;
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.75);
}
    .sidenav ~ div:not(.modal), .margin-left-from-sidenav {
        margin-left: 265px; /* Same as the width of the sidebar */
    }
.side-left {
    left: 265px;
}
 #user-id {
     color:black;
}
.sidenav .navbar-brand .logo-icon {
    max-height: 50px;
    float: left;
    margin-right: 10px;
}
    .sidenav .navbar-brand a.navbar-brand {
        font-weight: bold;
        font-size: 1.2em;
        margin: -8px 0 -10px 0;
    }
    .sidenav .navbar-brand small {
        font-size: .6em;
        font-style: italic;
        display: block;
        color: black;
    }
.sidenav .all-but-footer {
    min-height: 100%;
    box-sizing: border-box;
    padding-bottom:35px;
}
.sidenav footer {
    background-color: rgba(254, 254, 254, 0.3);
    height:35px;
    margin-top:-35px;
}


.custom-scroll {
	/*https://www.digitalocean.com/community/tutorials/css-scrollbars*/
    scrollbar-width: thin;
    scrollbar-color: #9ab726 #51351f; /*Scroll-bar color for Firefox*/
}
    .custom-scroll::-webkit-scrollbar {
		/*https://www.digitalocean.com/community/tutorials/css-scrollbars*/
        /*Scroll-bar color for Edge, Chrome, Safari*/
        width: 5px;
    }

    .custom-scroll::-webkit-scrollbar-track {
		/*https://www.digitalocean.com/community/tutorials/css-scrollbars*/
        /*Scroll-bar color for Edge, Chrome, Safari*/
        background-color: #51351f;
    }

    .custom-scroll::-webkit-scrollbar-thumb {
		/*https://www.digitalocean.com/community/tutorials/css-scrollbars*/
        /*Scroll-bar color for Edge, Chrome, Safari*/
        background-color: #9ab726;
        border-radius: 2px;
        border: 1px solid #51351f;
    }



/*@media screen and (max-width: 991px) {
    .sidenav {
        width: 250px;
    }

        .sidenav ~ div, .margin-left-from-sidenav {
            margin-left: 250px;
        }

        .side-left{
            left:250px;
        }
}*/
@media screen and (max-width: 767px) {
    html, body {
        height: auto;
    }
    body{
        padding-top:0;
    }
    .sidenav {
        border-bottom: 5px solid brown;
        border-right: 0;
        position: static;
        height: auto;
        width: 100%;
        padding-top: 0;
    }
        .sidenav ~ div:not(.modal), .margin-left-from-sidenav {
            margin-left: 0;
        }
    .side-left {
        left: 0;
    }
    .sidenav .all-but-footer {
        min-height: initial;
        padding-bottom: 0;
    }

    .sidenav footer {
        height: auto;
        margin-top: 0;
    }
}

@media print {
    .sidenav {
        position: static;
        width: 100%;
    }

        .sidenav + div {
            margin-left: 0;
        }
}


/*info-box*/
#info-box {
    /*background-color: rgba(254, 254, 254, 0.3);*/
    background-color: #b99d86;
    border-radius: 10px;
    padding: 0 10px;
    display: block;
    font-size: .8em;
    box-sizing: border-box;
}
#info-box hr {
    margin: 5px 0;
}
    #info-box ol {
        padding-left: 0px;
        list-style-position: inside;
        list-style: none;
        counter-reset: li;
    }

    #info-box li {
        counter-increment: li;
    }

        #info-box li::before {
            content: counter(li) "). ";
        }

    #info-box ol ol, #info-box .def ol {
        padding-left: 10px;
    }

    #info-box .def li li::before {
        content: counter(li, lower-latin) ". ";
    }

    #info-box .def li li li::before {
        content: counter(li, lower-greek) ". ";
    }

    #info-box .der {
        color: black;
        display: block;
    }

    #info-box .aprt {
    }

    #info-box .aprt > b i{
        font-weight:normal;
        color: brown;
    }
        #info-box .aprt > footer {
            margin: 0;
            background-color: transparent;
            font-size: .8em;
            text-align:right;
            height:10px;
        }
        #info-box .aprt > footer::before {
            content: "\2014\00A0";
        }
        @media screen and (max-width: 767px) {
            #info-box {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        margin: 0 !important;
        background-color: rgba(254, 254, 254, 1);
        border-radius: 10px 10px 0 0;
        padding:0 16px;
        max-height:50%;
        z-index:5;
        font-size: 1em;
    }
}






/*Colors*/
.color-1dark-back {
    background-color: #717b85;
}
.color-1dark-line {
    border-color: #717b85;
}
.c-1d-f, .color-1dark-font {
    color: #717b85;
}
.color-1mid-back, .page-item.active .page-link, .page-link:hover {
    background-color: #9A9899;
}
.c-1m-l, .color-1mid-line, .page-item.active .page-link, .page-link:hover {
    border-color: #9A9899;
}
.color-1light-back, .page-link, .atlernate > div:nth-of-type(odd) {
    background-color: #ecdbd0;
}


.color-2dark-back {
    background-color: #51351f;
}
.color-2dark-line {
    border-color: #51351f;
}
.c-2d-f, .color-2dark-font, .navbar-light .navbar-brand, #info-box li::before {
    color: #51351f;
}
.c-2m-f, .color-2mid-font, .page-link, a, .page-link:hover, .paper-body b {
    color: #A57A52;
}
.color-2mid-line, .page-link {
    border-color: #A57A52;
}
.color-2light-back {
    background-color: #f9be85;
}
.color-2light-font {
    color: #f9be85;
}

.c-c-f, .color-contrast-font, a:hover, .paper-body sup, .paper-body i, .h i {
    color: #9ab726;
}
.c-c-l, .color-contrast-line, .interline .c.unmatched {
    border-color: #9ab726;
}
.c-c-b {
    background-color: #9ab726;
}




/*_ScrollBook*/
.scroll-book {
    background-image: url("/images/scroll_horizontal_left_200.png?1");
    background-repeat: no-repeat;
    background-size: cover;
    height: 100px;
    padding: 20px 25px;
    position: relative;
    display: inline-block;
}

    .scroll-book img.book-icon {
        position: absolute;
        top: 50%;
        height: 60%;
        margin-top: -30px; /* Half the height */
        float: left;
    }

    .scroll-book .text {
        margin-left: 70px;
        font-weight: bold;
    }
    .scroll-book img.scroll-left {
        height: 100%;
        position: absolute;
        top: 0;
        right: -2%;
    }
    .scroll-book .circle-progress{
        position:absolute;
    }
    .scroll-book .hebrew, .scroll-book *[lang='he'] {
        font-size: 1.6em;
    }


/***mask***/
._maskParent ._mask {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, .4);
    text-align:center;
    padding-top:10px;
    z-index:2;
}
._maskParent {
    position: relative;
    /*filter: blur(2px);*/
}



/***tree-view***/
ul.tree-view, .tree-view ul {
    list-style-type: none;
}
ul.tree-view {
    margin: 0;
    padding: 0;
}
    ul.tree-view > li::before {
        list-style-type: none;
        content: "\25B6";
        color: black;
        display: inline-block;
        margin-right: 6px;
    }
    ul.tree-view > li {
        cursor: pointer;
    }
ul:not(.tree-view) {
    cursor: default;
}
    ul.tree-view > li.active::before {
        transform: rotate(90deg);
    }
    ul.tree-view > li ul {
        display: none;
    }
    ul.tree-view > li.active ul {
        display: block;
    }


/***notifications***/
svg.notify {
    color: red;
    width: .5em;
    position: absolute;
}



/*-----Modal-----*/
.modal-dialog.modal-full {
    margin-left: 5%;
    margin-right: 5%;
    max-width: initial;
}
@media (min-width: 992px) {
    .modal-lg.modal-full {
        margin-left: auto;
        margin-right: auto;
        max-width: 800px;
    }
}



/*-----Chat system-----*/
.type-thread {
    display:none;
}

.chat-box .nav-height {
    height: 45px;
    border-bottom: 1px solid lightgrey;
}

.chat-box .scrollable-content {
    height: 300px;
    overflow: auto;
}

.chat-box .input-group {
    z-index: 0;
}

.chat-box .list-group-item.active {
    background-color: #f8f9fa;
    border-color: lightgrey;
    color: black;
}

.chat-box .no-caret::after {
    content: none;
}

.chat-box > div:first-child {
    border-right: 3px double cadetblue;
}

.chat-box .message-box{
    position:relative;
}
    .chat-box .message-box #reply-chat-box {
        position: absolute;
        bottom: 0;
        left:0;
        margin-bottom:57px;
        width: 100%;
    }
        .chat-box .message-box #reply-chat-box > div {
            height: 50px;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            background-color: white;
        }

    .chat-box .message-item {
        border: 1px solid lightgrey;
        border-radius: 5px;
        padding: 5px;
        margin: 5px;
        /*max-width: 75%;*/
        width: 70%;
        position: relative;
    }

        .chat-box .message-item .reply-txt {
            font-size: .7em;
            height: 20px;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
        }

    .chat-box .message-item small {
        display: block;
    }

    .chat-box .message-item.my-message {
        float: right;
    }

    .chat-box .message-item .btn-group {
        float: left;
    }

.chat-box .chat-tags {
    clear: both;
}

    .chat-box .chat-tags .badge {
        margin-right: 3px;
    }


.chat-box {
    background-color: #86b9b9;
    border: 3px solid cadetblue;
    border-radius: 10px;
}

    .chat-box .btn-primary {
        background-color: seagreen;
        border-color: seagreen;
    }

    .chat-box .btn-secondary {
        background-color: cadetblue;
        border-color: cadetblue;
    }

    .chat-box .thread-item p {
        overflow: hidden;
        white-space: nowrap;
        text-overflow: ellipsis;
    }

        .chat-box .thread-item p br, .chat-box .thread-item p br::after {
            content: " \00B7  ";
        }

    .chat-box .thread-item > small:first-of-type {
        display: block;
        text-align: right;
    }

    .chat-box .messages {
        background-color: #f8f9fa;
        padding-bottom: 50px;
    }

    .chat-box .message-item {
        background-color: white;
        clear: both;
    }

        .chat-box .message-item small {
            text-align: right;
        }

        .chat-box .message-item:not(.my-message) small:first-of-type::before,
        .chat-box .thread-item > small:first-of-type::before {
            content: "\2516\2014\00A0";
            white-space: nowrap;
        }

    .chat-box .nav-tabs .nav-link:not(.active) {
        color: white;
    }

    .chat-box .original-header-text {
        background-color: #f8f9fa;
        /*background-image: url('/images/paper-pattern.png');*/
        min-width: 0%;
        border-top-left-radius: 4px;
    }

   
   