@font-face {
    font-family: OpenSansSemibold;
    src: url(../fonts/OpenSans-SemiBold.ttf);
}
@font-face {
    font-family: OpenSansBold;
    src: url(../fonts/OpenSans-Bold.ttf);
}
@font-face {
    font-family: OpenSansRegular;
    src: url(../fonts/OpenSans-Regular.ttf);
}

.bf-2 .navbar-default {
    background-color: #eae3d5;
    border-color: #cecece;
}
.bf-2 .navbar-default .navbar-brand {
    color: #777777;
}
.bf-2 .navbar-default .navbar-brand:hover,
.bf-2 .navbar-default .navbar-brand:focus {
    color: #5e5e5e;
    background-color: transparent;
}
.bf-2 .navbar-default .navbar-text {
    color: #777777;
}
.bf-2 .navbar-default .navbar-nav > li > a {
    color: #777777;
}
.bf-2 .navbar-default .navbar-nav > li > a:hover,
.bf-2 .navbar-default .navbar-nav > li > a:focus {
    color: #333333;
    background-color: transparent;
}
.bf-2 .navbar-default .navbar-nav > .active > a,
.bf-2 .navbar-default .navbar-nav > .active > a:hover,
.bf-2 .navbar-default .navbar-nav > .active > a:focus {
    color: #555555;
    background-color: #e7e7e7;
}
.bf-2 .navbar-default .navbar-nav > .disabled > a,
.bf-2 .navbar-default .navbar-nav > .disabled > a:hover,
.bf-2 .navbar-default .navbar-nav > .disabled > a:focus {
    color: #cccccc;
    background-color: transparent;
}
.bf-2 .navbar-default .navbar-toggle {
    border-color: #dddddd;
}
.bf-2 .navbar-default .navbar-toggle:hover,
.bf-2 .navbar-default .navbar-toggle:focus {
    background-color: #dddddd;
}
.bf-2 .navbar-default .navbar-toggle .icon-bar {
    background-color: #888888;
}
.bf-2 .navbar-default .navbar-collapse,
.bf-2 .navbar-default .navbar-form {
    border-color: #e7e7e7;
}
.bf-2 .navbar-default .navbar-nav > .open > a,
.bf-2 .navbar-default .navbar-nav > .open > a:hover,
.bf-2 .navbar-default .navbar-nav > .open > a:focus {
    background-color: #e7e7e7;
    color: #555555;
}
@media (max-width: 767px) {
    .bf-2 .navbar-default .navbar-nav .open .dropdown-menu > li > a {
        color: #777777;
    }
    .bf-2 .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
    .bf-2 .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
        color: #333333;
        background-color: transparent;
    }
    .bf-2 .navbar-default .navbar-nav .open .dropdown-menu > .active > a,
    .bf-2 .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,
    .bf-2 .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
        color: #555555;
        background-color: #e7e7e7;
    }
    .bf-2 .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a,
    .bf-2 .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover,
    .bf-2 .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus {
        color: #cccccc;
        background-color: transparent;
    }
}
.bf-2 .navbar-default .navbar-link {
    color: #777777;
}
.bf-2 .navbar-default .navbar-link:hover {
    color: #333333;
}
.bf-2 .navbar-default .btn-link {
    color: #777777;
}
.bf-2 .navbar-default .btn-link:hover,
.bf-2 .navbar-default .btn-link:focus {
    color: #333333;
}
.bf-2 .navbar-default .btn-link[disabled]:hover,
fieldset[disabled] .bf-2 .navbar-default .btn-link:hover,
.bf-2 .navbar-default .btn-link[disabled]:focus,
fieldset[disabled] .bf-2 .navbar-default .btn-link:focus {
    color: #cccccc;
}


.bf-4 .navbar-default {
    background-color: #222222;
    border-color: #656363;
}
.bf-4 .navbar-default .navbar-brand {
    color: #9d9d9d;
}
.bf-4 .navbar-default .navbar-brand:hover,
.bf-4 .navbar-default .navbar-brand:focus {
    color: #ffffff;
    background-color: transparent;
}
.bf-4 .navbar-default .navbar-text {
    color: #9d9d9d;
}
.bf-4 .navbar-default .navbar-nav > li > a {
    color: #9d9d9d;
}
.bf-4 .navbar-default .navbar-nav > li > a:hover,
.bf-4 .navbar-default .navbar-nav > li > a:focus {
    color: #ffffff;
    background-color: transparent;
}
.bf-4 .navbar-default .navbar-nav > .active > a,
.bf-4 .navbar-default .navbar-nav > .active > a:hover,
.bf-4 .navbar-default .navbar-nav > .active > a:focus {
    color: #ffffff;
    background-color: #080808;
}
.bf-4 .navbar-default .navbar-nav > .disabled > a,
.bf-4 .navbar-default .navbar-nav > .disabled > a:hover,
.bf-4 .navbar-default .navbar-nav > .disabled > a:focus {
    color: #444444;
    background-color: transparent;
}
.bf-4 .navbar-default .navbar-toggle {
    border-color: #333333;
}
.bf-4 .navbar-default .navbar-toggle:hover,
.bf-4 .navbar-default .navbar-toggle:focus {
    background-color: #333333;
}
.bf-4 .navbar-default .navbar-toggle .icon-bar {
    background-color: #ffffff;
}
.bf-4 .navbar-default .navbar-collapse,
.bf-4 .navbar-default .navbar-form {
    border-color: #101010;
}
.bf-4 .navbar-default .navbar-nav > .open > a,
.bf-4 .navbar-default .navbar-nav > .open > a:hover,
.bf-4 .navbar-default .navbar-nav > .open > a:focus {
    background-color: #080808;
    color: #ffffff;
}
@media (max-width: 767px) {
    .bf-4 .navbar-default .navbar-nav .open .dropdown-menu > .dropdown-header {
        border-color: #080808;
    }
    .bf-4 .navbar-default .navbar-nav .open .dropdown-menu .divider {
        background-color: #080808;
    }
    .bf-4 .navbar-default .navbar-nav .open .dropdown-menu > li > a {
        color: #9d9d9d;
    }
    .bf-4 .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
    .bf-4 .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
        color: #ffffff;
        background-color: transparent;
    }
    .bf-4 .navbar-default .navbar-nav .open .dropdown-menu > .active > a,
    .bf-4 .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,
    .bf-4 .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
        color: #ffffff;
        background-color: #080808;
    }
    .bf-4 .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a,
    .bf-4 .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover,
    .bf-4 .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus {
        color: #444444;
        background-color: transparent;
    }
}
.bf-4 .navbar-default .navbar-link {
    color: #9d9d9d;
}
.bf-4 .navbar-default .navbar-link:hover {
    color: #ffffff;
}
.bf-4 .navbar-default .btn-link {
    color: #9d9d9d;
}
.bf-4 .navbar-default .btn-link:hover,
.bf-4 .navbar-default .btn-link:focus {
    color: #ffffff;
}
.bf-4 .navbar-default .btn-link[disabled]:hover,
fieldset[disabled] .bf-4 .navbar-default .btn-link:hover,
.bf-4 .navbar-default .btn-link[disabled]:focus,
fieldset[disabled] .bf-4 .navbar-default .btn-link:focus {
    color: #444444;
}


.bf-3 .navbar-default {
    background-color: #4e4e4e;
    border-color: #2d2d2d;
}
.bf-3 .navbar-default .navbar-brand {
    color: #9d9d9d;
}
.bf-3 .navbar-default .navbar-brand:hover,
.bf-3 .navbar-default .navbar-brand:focus {
    color: #ffffff;
    background-color: transparent;
}
.bf-3 .navbar-default .navbar-text {
    color: #9d9d9d;
}
.bf-3 .navbar-default .navbar-nav > li > a {
    color: #9d9d9d;
}
.bf-3 .navbar-default .navbar-nav > li > a:hover,
.bf-3 .navbar-default .navbar-nav > li > a:focus {
    color: #ffffff;
    background-color: transparent;
}
.bf-3 .navbar-default .navbar-nav > .active > a,
.bf-3 .navbar-default .navbar-nav > .active > a:hover,
.bf-3 .navbar-default .navbar-nav > .active > a:focus {
    color: #ffffff;
    background-color: #323232;
}
.bf-3 .navbar-default .navbar-nav > .disabled > a,
.bf-3 .navbar-default .navbar-nav > .disabled > a:hover,
.bf-3 .navbar-default .navbar-nav > .disabled > a:focus {
    color: #444444;
    background-color: transparent;
}
.bf-3 .navbar-default .navbar-toggle {
    border-color: #333333;
}
.bf-3 .navbar-default .navbar-toggle:hover,
.bf-3 .navbar-default .navbar-toggle:focus {
    background-color: #3e3e3e;
}
.bf-3 .navbar-default .navbar-toggle .icon-bar {
    background-color: #ffffff;
}
.bf-3 .navbar-default .navbar-collapse,
.bf-3 .navbar-default .navbar-form {
    border-color: #101010;
}
.bf-3 .navbar-default .navbar-nav > .open > a,
.bf-3 .navbar-default .navbar-nav > .open > a:hover,
.bf-3 .navbar-default .navbar-nav > .open > a:focus {
    background-color: #080808;
    color: #ffffff;
}
@media (max-width: 767px) {
    .bf-3 .navbar-default .navbar-nav .open .dropdown-menu > .dropdown-header {
        border-color: #080808;
    }
    .bf-3 .navbar-default .navbar-nav .open .dropdown-menu .divider {
        background-color: #080808;
    }
    .bf-3 .navbar-default .navbar-nav .open .dropdown-menu > li > a {
        color: #9d9d9d;
    }
    .bf-3 .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover,
    .bf-3 .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus {
        color: #ffffff;
        background-color: transparent;
    }
    .bf-3 .navbar-default .navbar-nav .open .dropdown-menu > .active > a,
    .bf-3 .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover,
    .bf-3 .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus {
        color: #ffffff;
        background-color: #232323;
    }
    .bf-3 .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a,
    .bf-3 .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover,
    .bf-3 .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus {
        color: #444444;
        background-color: transparent;
    }
}
.bf-3 .navbar-default .navbar-link {
    color: #9d9d9d;
}
.bf-3 .navbar-default .navbar-link:hover {
    color: #ffffff;
}
.bf-3 .navbar-default .btn-link {
    color: #9d9d9d;
}
.bf-3 .navbar-default .btn-link:hover,
.bf-3 .navbar-default .btn-link:focus {
    color: #ffffff;
}
.bf-3 .navbar-default .btn-link[disabled]:hover,
fieldset[disabled] .bf-3 .navbar-default .btn-link:hover,
.bf-3 .navbar-default .btn-link[disabled]:focus,
fieldset[disabled] .bf-3 .navbar-default .btn-link:focus {
    color: #444444;
}


.ts-highlight-background{
    background-color: #ffff00;
    border: #ffff00;
}

::selection {
    background: #ffa5e1; /* WebKit/Blink Browsers */
}
::-moz-selection {
    background: #ffa5e1; /* Gecko Browsers */
}

.highlight-not-found{
    background-color: #ffeee7;
}

.notes-not-found{
    background-color: #ffeee7;
}

.notes-item-remove{
    float: right;
}

.ios-padder {
    height: 20px;
    height: max(20px, constant(safe-area-inset-top));
    height: max(20px, env(safe-area-inset-top));
    display: none;
}

.disable-selection{
    -webkit-user-select: none;  /* Chrome all / Safari all */
    -moz-user-select: none;     /* Firefox all */
    -ms-user-select: none;
}

#ts-havent-highlights{
    display: none;
    padding-bottom: 10px;
    padding-top: 10px;
}

#ts-havent-notes{
    display: none;
    padding-bottom: 10px;
    padding-top: 10px;
}

.notes-item{
    border-top: 1px solid #DDDDDD;
    margin-top: 15px;
    margin-bottom: 10px;
    padding-top: 10px;
}

.hr-out-of-popover-content{
    margin-top: 0px;
    border-top: 1px solid #DDDDDD;
}

.popover{
    border-color: #DDDDDD;
}

.user-data-menu-icon:nth-child(1){
    width: 15px;
}

.popover-title{
    border: none;
}

.mini-navbar{
    font-family: OpenSansRegular;
}

.book-settings-subheading{
    font-family: OpenSansSemibold;
    font-size: 14px !important;
}

#ts-user-data-menu{
    font-family: OpenSansSemibold;
    font-size: 12px !important;
}

#ts-user-settings-menu{
    font-family: OpenSansSemibold;
    font-size: 12px !important;
}

#ts-user-search-menu{
    font-family: OpenSansSemibold;
    font-size: 12px !important;
}

#ts-menu + div {
    font-family: OpenSansRegular;
    font-size: 14px !important;
}

#ts-user-data-menu a[type="button"], #ts-user-settings-menu a[type="button"]{
    color: #7E7E7E;
    box-shadow: none;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid #DDDDDD;
    font-size: 12px !important;
}

#ts-user-data-menu a[type="button"].active, #ts-user-settings-menu a[type="button"].active{
    color: #337AB7;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid #337AB7;
    font-size: 12px !important;
}

.ts-highlight-img{
    background: url("../images/highlight.svg") no-repeat;
    display: inline-block;
    height: 16px;
    width: 18px;
    position: relative;
    top: 3px;
    left: -2px;
}

#ts-user-search-menu{
    width: 100%;
}

#ts-search + .popover, #settings + .popover, #ts-notes + .popover, #ts-menu + .popover{
    margin-top: 0px !important;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.search-title{
    margin-left: 10px;
    position: relative;
    top: -1px;
}

#ts-user-search-menu > div{
    float: left;
    border-bottom: 1px solid #DDDDDD;
    padding: 10px;
    width: 10%;
    text-align: center;
}

#ts-user-search-menu > div.active{
    border-bottom: 1px solid #337AB7;
    width: 70%;
    text-align: center;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;

}

#ts-user-search-menu a:hover{
    text-decoration: none;
    color: #337AB7;
}

.active > .ts-highlight-img{
    background: url("../images/highlight-active.svg") no-repeat;
}

.d-none{
    display: none;
}

.ts-notes2-img{
    background: url("../images/notes.svg") no-repeat;
    display: inline-block;
    height: 16px;
    width: 18px;
    position: relative;
    top: 4px;
    left: -2px;
}

.active > .ts-notes2-img{
    background: url("../images/notes-active.svg") no-repeat;
}

.ts-quotes-img{
    background: url("../images/quotes.svg") no-repeat;
    display: inline-block;
    height: 16px;
    width: 18px;
    position: relative;
    top: 4px;
    left: -2px;
}

.active > .ts-quotes-img{
    background: url("../images/quotes-active.svg") no-repeat;
}

.ts-navbar-settings-icon-img{
    background: url("../images/navbar-settings.svg") no-repeat;
    background-size: 17px 16px;
    display: inline-block;
    height: 16px;
    width: 18px;
    position: relative;
    top: 3px;
    left: -2px;
}

.active > .ts-navbar-settings-icon-img{
    background: url("../images/navbar-settings-active.svg") no-repeat;
    background-size: 17px 16px;
}

.slider.slider-horizontal .slider-track{
    height: 1px;
}

.slider-selection {
    background-image: linear-gradient(to bottom, #337AB7 0%, #337AB7 100%);
}

.slider.slider-horizontal .slider-handle {
    margin-top: -8px;
}


.popover{
    border-radius: 5px;
}

.popover-title{
    background-color: transparent;
}

.bottom-share{
    margin-top: -5px;
}

#overlayDiv{
    position: fixed;
    top: 0;
    width: 100%;
    display: none;
    min-height: 100vh;
    height: 100%;
    z-index: 999;
}

.no-background{
    background-color: transparent;
}

.popover-overlay{
    display: block !important;
    background-color: black;
    opacity: 0.5;
    -webkit-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    transition: all 300ms linear;
}

.popover-no-overlay{
    display: none !important;
    background-color: black;
    opacity: 0;
    -webkit-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    transition: all 300ms linear;
}

.no-padding-full-height{
    padding-top: 0px !important;
    -webkit-transition: all 300ms linear;
    -ms-transition: all 300ms linear;
    -moz-transition: all 300ms linear;
    transition: all 300ms linear;
}

.full-height{
    /*height: auto !important;*/
    /*height: 580px !important;*/
}

#modalAnnotation{
    z-index: 99999;
}

/*.nav-up{*/
    /*top: -65px;*/
    /*-webkit-transition: all 300ms linear;*/
    /*-ms-transition: all 300ms linear;*/
    /*-moz-transition: all 300ms linear;*/
    /*transition: all 300ms linear;*/
/*}*/

/*.nav-down{*/
    /*top: 0px;*/
    /*-webkit-transition: all 300ms linear;*/
    /*-ms-transition: all 300ms linear;*/
    /*-moz-transition: all 300ms linear;*/
    /*transition: all 300ms linear;*/
/*}*/


.no-padding{
    padding: 0px;
}

.ss-left{
    left: 0px;
}

.ss-right{
    right: 0px;
}

.container {
    padding-left: 20px;
    padding-right: 20px;
}

.navbar:not(input){
    -moz-user-select: none; -webkit-user-select: none; -ms-user-select:none; user-select:none;-o-user-select:none;
}

.popover:not(input){
    -moz-user-select: none; -webkit-user-select: none; -ms-user-select:none; user-select:none;-o-user-select:none;
}

.swipe-start{
    position: absolute;
    top: 50px;
    width: 15%;
    background-color: transparent;
    height: 100%;
    z-index: 20;
}

/*Mathjax odstranění poslední svislé čáry*/
.math span:last-child{
    border-left-style: none !important;
}

/* Vyhledání objektu*/
.search-object{
    border: 1px solid red;
}

/* Lístek u poznámky*/
.notes-children{
    border-bottom: 1px solid white;
    border-top: 1px solid white;
    position: absolute;
    left: 0px;
    color:black;
    width:15px;
    opacity: 0.8;
    z-index: 21;
    cursor: pointer;
}

.search-item-text{
    margin-bottom: 5px !important;
    display: block !important;
    color: #333;
    margin-top: 0px !important;
    border-top: 1px solid #DDDDDD;
    padding-top: 20px;
    padding-bottom: 10px;
    font-family: OpenSansRegular;
    font-size: 14px;
}

.search-item-text > a {
    position: relative;
    top: -5px;
}

.search-item-text *{
    margin-top: 0px !important;
}

.search-item-text:hover{
    text-decoration: none;
    color: black;
}

.search-item-text img {
    width: auto;
    max-width: 100%;
}

.input-group{
    margin-top: 5px;
    margin-bottom: 10px;
}

.search-highlight {
    background-color: #FFFCBA;
}

.show-null{
    text-align: center;
    color: #979797;
    padding: 20px 0 20px 0;
}

.show-null img{
    width: 40px;
    padding-bottom: 10px;
}

.nav>li>a {
    padding: 10px 10px;
}
.popover{
    color: #333333;
}
.ts-font-selector{
    font-size:16px;
    cursor: pointer;
}

.btn-font{
    padding: 0px 7px 7px 0px;
}

.btn-font > span{
    padding: 7px;
    background-color: #F8F8F8;
    border: none;
}

.btn-font > span.ts-font-selected{
    padding: 6px 7px 6px 7px;
    background-color: #D6E4F1;
    color: #337AB7;
    border: none;
}

.btn-font:focus, .btn-font:active{
    outline: none;
    box-shadow: none;
    -webkit-box-shadow: none;
}

.ts-font-selected{
    /*border-bottom: 1px solid red;
    text-decoration: underline;
    -moz-text-decoration-color: red;
    text-decoration-color: red;*/
    /*color: #337AB7;
    background-color: #D6E4F1;*/
}

.font-palatino{
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
}

.font-helvetica{
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
}

.font-times{
    font-family: "Times New Roman", Times, serif;
}

.font-georgia{
    font-family: Georgia, serif;
}

.font-arial{
    font-family: Arial, Helvetica, sans-serif;
}

body{
    *min-width: 1200px !important; *width: 1200px;
    font-size: 16px;
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, serif;
    position: relative;
}




.popover-content{
    max-height: 400px !important;
    overflow-y: auto !important;
    *margin-bottom: 10px;
    *padding: 0px;
}

.notes-item-note{
    margin-top: 10px;
    border-top: 1px solid lightgrey;
    font-weight: 600;
}

.notes-item-chapter{
    display: inline-block;
    margin-bottom: 5px;
}

.background-circle{
    width: 32px;
    height: 32px;
    margin-right: 5px;
    margin-left: 5px;

    border-radius: 50%;
    display: inline-block;
    text-align: center;
    line-height: 32px;
    cursor: pointer;
    color: #337AB7;
}

.background-circle-border{
    border: 1px solid #337AB7;
}

.background-paper{
    width: 30px;
    height: 30px;
    margin-right: 5px;
    display: inline-block;
    text-align: center;
    line-height: 47px;
    cursor: pointer;
    background: url('../images/paper.png');
    background-repeat: repeat;
    background-size: 250px 297px;
}

.background-paper-selected{
    border: 1px solid #337AB7;
}

.ts-background-paper{
    background: url('../images/paper.png');
    background-repeat: repeat;
    background-size: 250px 297px;
}


/*.color-select-cover{*/
    /*width: 364px;*/
    /*margin-left: auto;*/
    /*margin-right: auto;*/
    /*padding-top: 10px;*/
    /*padding-bottom: 10px;*/
/*}*/

.color-select-cover {
    width: unset;
    margin-left: 18px;
    margin-right: 0;
    padding-top: 10px;
    padding-bottom: 10px;
}

@media screen and (max-width: 400px) {

    /*.background-circle{*/
        /*width: 38px;*/
        /*height: 38px;*/
        /*margin-right: 5px;*/
        /*!*border: 1px solid #666666;*!*/
        /*border-radius: 50%;*/
        /*display: inline-block;*/
        /*text-align: center;*/
        /*line-height: 38px;*/
        /*cursor: pointer;*/
    /*}*/
    /*.color-select-cover{*/
        /*width: 301px;*/
        /*margin-left: auto;*/
        /*margin-right: auto;*/
        /*padding-top: 10px;*/
        /*padding-bottom: 10px;*/
    /*}*/

    /*.background-paper{*/
        /*width: 38px;*/
        /*height: 38px;*/
    /*}*/


}



.background-circle-selected{
    border: 1px solid #337AB7;
}

.bf-1:not(.navbar){
    background-color: #ffffff !important;
    color: #333333 !important;
}
.bf-2:not(.navbar){
    background-color: #f8f1e3 !important;
    color: #504e49 !important;
}
.bf-3:not(.navbar){
    background-color: #5a5a5c !important;
    color: #ffffff !important;
}
.bf-4:not(.navbar){
    background-color: #121212 !important;
    color: #b0b0b0 !important;
}
.bf-5:not(.navbar){
    background-color: #ffffff;
}

.background-color-1{
    background-color: white !important;
}
.background-color-2{
    background-color: #d7d7d7 !important;
}
.background-color-3{
    background-color: #c3c3c3 !important;
}
.background-color-4{
    background-color: #afafaf !important;
}
.background-color-5{
    background-color: #878787 !important;
}
.background-color-6{
    background-color: #666666 !important;
    color: #ffffff;
}

.hiddenn-jsmy{
    display: none;
}
.message{
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #555;
    color: #fff;
    font-size: 12px;
    font-family: sans-serif;
    text-decoration: none;
    opacity: .9;
    padding: 10px 20px;
    -webkit-border-radius: 16px;
    -moz-border-radius: 16px;
    border-radius: 16px;
    -webkit-transition: background 200ms linear;
    -moz-transition: background 200ms linear;
    -o-transition: background 200ms linear;
    transition: background 200ms linear;
    -webkit-backface-visibility: hidden;
}

.text-white{
    color: #ffffff !important;
}
.text-white:hover{
    color: #000000 !important;
}

.highlight{
    opacity: 0.8;
    cursor: pointer;
    z-index: 999;
}
.highlight > .highlight{
    /*border-top: 2px solid red;*/
    z-index: 9991;
}


.highlight > .highlight > .highlight{
    border-top: 4px solid red;
    z-index: 9992;
}
.highlight-border{
    border-bottom: 1px solid #333;
}



/*
.highlight-1{
    background-color: #1c94c4;
    color: white;
}
.highlight-2{
    background-color: #f24e53;
    color: white;
}
.highlight-3{
    background-color: #00b20f;
    color: white;
}
.highlight-4{
    background-color: #c193c2;
    color: white;
}
.highlight-5{
    background-color: #e9955c;
    color: white;
}
*/




.highlight-1{
    background-color: #BAE1FF;
}
.highlight-2{
    background-color: #FFB3BA;
}
.highlight-3{
    background-color: #B4F9C3;
}
.highlight-4{
    background-color: #DEBAFF;
}
.highlight-5{
    background-color: #FFDFBA;
}
.highlight-6{
    background-color: transparent;
    text-decoration: none;
}

.highlight.highlight-6{
    border-bottom: 2px solid  #337AB7;
}


.highlight-delete{
    background-color: transparent;
    text-decoration: none;
    border: 1px solid red;
}

.highlight-all{
    background-color: transparent;
    text-decoration: none;
}

.activ-color{
    border: 1px solid #337AB7;
}

.highlight-notes-1{
    background-color: #43A1E9;
    color: white;
}
.highlight-notes-2{
    background-color: #EA4251;
    color: white;
}
.highlight-notes-3{
    background-color: #37CB57;
    color: white;
}
.highlight-notes-4{
    background-color: #A36AD8;
    color: white;
}
.highlight-notes-5{
    background-color: #E69940;
    color: white;
}
.highlight-notes-6{
    background-color: transparent;
    text-decoration: none;
}
.highlight-notes-delete{
    background-color: transparent;
    text-decoration: none;
}
.highgligh-underline-img{
    width: 60%;            /*13px*/
    margin-top: -2px;
}
.highgligh-trash-img{
    width: 60%;            /*16px*/
    margin-top: -6px;
    margin-left: -10px;
}
.highgligh-share-img{
    width: 18px;
    margin-top: -5px;
}
.this-chapter{
    float: left;
    font-family: OpenSansRegular;
    font-size: 14px;
}

.dev-tools-item{
    padding: 10px;
    border-top: 1px solid #DDDDDD;
    color: #337AB7;
}

.dev-tools-item:hover{
    cursor: pointer;
    background-color: #D6E4F1;
}




.pre-highlight{
    background-color: #dedede;
}
.share-highlight{
    opacity: 1;
    *border-bottom: 1px solid #00b0ed;
    background: #ffa5e1;
}

.highlight-notes{
    *color: white;
    *background-color: #b2ab48;
    *border: 1px solid #666666;
}
h1{
    font-size: 260%;
}
h2{
    font-size: 220%;
}
h3{
    font-size: 180%;
}
h4{
    font-size: 140%;
}
h5{
    font-size: 100%;
}

.popover{
    *max-width:400px;
    width:400px;
    z-index: 99999999999 !important;

}

.popover-color-select{
    max-width: 320px!important;
}


#content{
    font-size: 100%;
    *overflow-x: auto;
    *transform-origin: top left;
    *transform:skewY(170deg) scale(0.9,1);
}

.ts-main-navbar{
    opacity: 0.95;
}

.ts-main-navbar .navbar-brand
{
    position: absolute;
    width: 100%;
    left: 0;
    text-align: center;
    margin: auto;
}



.ts-main-navbar .navbar{
    *opacity: 0.5 !important;
    min-height: 44px;
}
.ts-main-navbar .navbar:hover{
    opacity: 1 !important;
}
.ts-main-navbar .navbar:focus{
    opacity: 1 !important;
}

@media (min-width: 200px){
    .navbar>.container .navbar-brand, .navbar>.container-fluid .navbar-brand {
        margin-left: 0px;
    }
}

.ts-main-navbar .navbar-nav {
    margin:0;
    display: inline-block;
}
.ts-main-navbar .navbar-nav > li {
    float:none;
    display:inline-block;
}



.ts-main-navbar .navbar-nav > li.open > ul.dropdown-menu {
    position: absolute;
    border: 1px;
    -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
}
.ts-main-navbar .navbar-right {
    float: right !important;
}

.ts-main-navbar .navbar-right .dropdown-menu {
    left: auto;
    right: 0;
    opacity: 1;
    background-color: #ffffff !important;
}
@media (max-width: 479px){
    .navbar-nav .open .dropdown-menu {
        background-color: #ffffff;
    }
}




input.ui-slider-input {
    display: block;
    float: left;
    font-size: 14px;
    font-weight: 700;
    margin: 0;
    padding: 4px;
    width: 40px;
    height: 20px;
    line-height: 20px;
    border-width: 1px;
    border-style: solid;
    outline: 0;
    text-align: center;
    vertical-align: text-bottom;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}


.ui-bar-a, .ui-page-theme-a .ui-bar-inherit, html .ui-bar-a .ui-bar-inherit, html .ui-body-a .ui-bar-inherit, html body .ui-group-theme-a .ui-bar-inherit {
    background-color: #e9e9e9;
    border-color: #ddd;
    color: #333;
    text-shadow: 0 1px 0 #eee;
    font-weight: 700;
}

.ui-btn-corner-all, .ui-btn.ui-corner-all, .ui-slider-track.ui-corner-all, .ui-flipswitch.ui-corner-all, .ui-li-count {
    -webkit-border-radius: .3125em;
    border-radius: .3125em;
}

.ui-slider-track {
    position: relative;
    overflow: visible;
    border-width: 1px;
    border-style: solid;
    height: 15px;
    margin: 0 15px 0 68px;
    top: 6px;
}

.ui-shadow-inset {
    -webkit-box-shadow: inset 0 1px 3px rgba(0,0,0,.2);
    -moz-box-shadow: inset 0 1px 3px rgba(0,0,0,.2);
    box-shadow: inset 0 1px 3px rgba(0,0,0,.2);
}

.ts-navigation-icon {
    font-size: 24px;
    line-height: 24px;
}
.ts-main-navbar .navbar-nav > li > a {
    *padding-top: 15px;
    *padding-bottom: 15px;
}

.ts-main-navbar .navbar-nav > li > a {
    padding-top: 12px;
    padding-bottom: 12px;
}

@media screen and (max-width: 479px) {
    .ts-navigation-icon {
        font-size: 18px;
        line-height: 22px;
    }

    .ts-main-navbar .navbar-nav > li > a {
        padding-top: 14px;
        padding-bottom: 14px;
    }

    .nav>li>a.ts-navigation-icon {
        padding: 10px 5px;
    }

    #ts-menu{
        padding-left: 10px;
    }

    .closebook-border{
        margin-left: 5px;
    }

    #ts-close-book{
        margin-right: 5px;
    }
}

@media screen and (max-width: 359px) {
    .ts-navigation-icon {
        font-size: 15px;
        line-height: 18px;
    }

    .ts-main-navbar .navbar-nav > li > a {
        padding-top: 16px;
        padding-bottom: 16px;
        padding-left: 2px;
    }

    .ts-main-navbar .navbar-nav > li > a#ts-menu {
        padding-left: 15px;
    }
}

.ts-loader{
    width: 200px; height: 200px; display: block; margin-left: auto;margin-right: auto;
}


.fs-container {
    *width: 1170px;
    *margin: 50px;
}
.literally {
    width: 1170px;
    height: 1000px;
}
.literally img.background, .literally > canvas {
    position: absolute;
}
.toolset {
    margin: 1rem;
}
.tool {
    background: hsla(199, 26%, 44%, 0.5);
    padding: 0.25rem;
    margin: 0.25rem;
    border-radius: 0.25rem;
    color: #000;
    text-align: center;
    text-decoration: none;
    position: relative; // give after context later
}
.tool.current {
    color: #fff;
    background: hsla(199, 26%, 44%, 1);
}
.tool:hover {
    text-decoration: underline;
    background: hsla(199, 26%, 44%, 0.75);
}
.toolLabel {
    font-size: 1.25rem;
}
#tools-sizes.disabled {
    pointer-events: none;
}
#tools-sizes.disabled .tool:after {
    content: ' ';
    background: hsla(0, 100%, 100%, 0.75);
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: 0.25rem;
}

.canvas-color-black{
    color: #000000 !important;
}
.canvas-color-blue{
    color: blue !important;
}
.canvas-color-red{
    color: red !important;
}

.canvas-tool-size-5{
    font-size: 5px;
    width: 16px;
    height: 16px;
    max-width: 16px;
    max-height: 16px;
    min-width: 16px;
    min-height: 16px;
    overflow: hidden;
}

.canvas-tool-size-10{
    font-size: 10px;
    width: 16px;
    height: 16px;
    max-width: 16px;
    max-height: 16px;
    min-width: 16px;
    min-height: 16px;
    overflow: hidden;
}

.canvas-tool-size-15{
    font-size: 15px;
    width: 16px;
    height: 16px;
    max-width: 16px;
    max-height: 16px;
    min-width: 16px;
    min-height: 16px;
    overflow: hidden;
}

.canvas-tool-size-20{
    font-size: 20px;
    width: 16px;
    height: 16px;
    max-width: 16px;
    max-height: 16px;
    min-width: 16px;
    min-height: 16px;
    overflow: hidden;
}

.canvas-tool-size-25{
    font-size: 25px;
    width: 16px;
    height: 16px;
    max-width: 16px;
    max-height: 16px;
    min-width: 16px;
    min-height: 16px;
    overflow: hidden;
}
.canvas-tool-size-50{
    font-size: 50px;
    width: 16px;
    height: 16px;
    max-width: 16px;
    max-height: 16px;
    min-width: 16px;
    min-height: 16px;
    overflow: hidden;
}


.divider-vertical {
    height: 18px;
    padding-top: 16px;
    padding-bottom: 16px;
    border-left: 1px solid #F2F2F2;
    border-right: 1px solid #FFF;

}

.ts-main-navbar .navbar-nav > li.canvas-palette{
    display: none;
}

body{
    overflow-x: hidden;
}

.table-responsive{

    box-sizing: border-box;
    overflow-x: auto;
    overflow-y: hidden;

    border: none;


}


* {
    -webkit-overflow-scrolling: touch;
}

.swiper-slide{
    height: 100% !important;
    /*overflow-y: scroll;*/
    overflow-x: hidden;
}


.container {
    padding-left: 0px;
    padding-right: 0px;
}

.swiper-slide{
    padding-left: 20px;
    padding-right: 20px;
}


#ss0, #ss2 {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.noselectt{
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


.history-wrapper{
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1021;


}

.history-wrapper .history-href{

    border-radius: 4px 0px 0px 4px;

    color: #ffffff;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;


    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;


    line-height: 40px;

    opacity: 0.6;
    background-color: #000000;
    color: #ffffff;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    display: inline-block;
}

.history-wrapper .history-dismiss{

    border-radius: 0px 4px 4px 0px;

    color: #ffffff;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;


    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
    margin-left: 1px;

    line-height: 40px;

    opacity: 0.6;
    background-color: #000000;
    color: #ffffff;
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    display: inline-block;
}

/*.col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
    position: relative;
    min-height: 1px;
    padding-left: 0px;
    padding-right: 0px;
}
*/

img{
    width: 100%;
    height: auto;
}

.ts-swipe-left-right{
    padding-top: 30px;
    border: 1px dashed #858585;
    background-size: 35px auto;

}

.ts-swipe-left-right-background{
    background-image: url("swipe-left-right.png");
    background-position: top left;
    background-repeat: no-repeat;
    background-size: 35px auto;
}

.MathJax {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none;   /* Chrome/Safari/Opera */
    -khtml-user-select: none;    /* Konqueror */
    -moz-user-select: none;      /* Firefox */
    -ms-user-select: none;       /* Internet Explorer/Edge */
    user-select: none;           /* Non-prefixed version, currently
                                  not supported by any browser */
}

/* Zajistí že tabulka může přetíkat, ale zároveň je povoleno zalamování textu */
@media screen and (max-width: 767px){
    .table-responsive>.table>thead>tr>th, .table-responsive>.table>tbody>tr>th, .table-responsive>.table>tfoot>tr>th, .table-responsive>.table>thead>tr>td, .table-responsive>.table>tbody>tr>td, .table-responsive>.table>tfoot>tr>td {
        white-space: normal;
    }
}







/*--------Menu--------*/
/*.fs-odsadit-menu {*/
    /*margin-left: 28px;*/
    /*display: inline-block!important;*/
/*}*/

#menu-uniq .glyphicon + a, #menu-uniq .glyphicon > a{
    margin-left: 28px;
    display: inline-block!important;
}

#menu-uniq .glyphicon + a, #menu-uniq .glyphicon > a{
    /*color: #333;*/
}



/*.fs-odsadit-menu:hover {*/
    /*color: #333;*/
/*}*/

#menu-uniq ul{
    margin-left: 20px;
}

.menu-item:hover{
    color: #333;
}


#menu-uniq ul li a{
    display: block;
    padding: 10px 10px;
    border-radius: 4px; /*4px*/
}

#menu-uniq li a:hover, #menu-uniq li a:focus {
    text-decoration: none;
    color: #333;
    /*background-color: #f2f2f2;*/
}

#menu-uniq ul li.active {
    color: #337AB7 !important;
    background-color: #d2dfeb; /*777*/
    border-radius: 4px; /*4px*/

}
#menu-uniq ul li.active a {
    color: #333 !important;
}
#menu-uniq ul li.active a:hover {
    color: #333!important;
    background-color: transparent;
}

ul#menu-uniq ul li{
    /*margin-left: 8px;*/
}

span + a {
    margin-left: 0px !important;
}


/*
   Na body core pridava triedu/y podla toho, ci kniha bezi v prohlizeci alebo appke:
    platform
            -web    (vsetky prohlizece a operacne systemy)
            -ios
            -android
            -windows
            -macos
            -app    (==ios|android|windows|macos)
   Teda vzdy je bud len web, alebo app a zaroven dana platforma.

   V knihe sa potom daju pouzit nasledujuce triedy na SKRYTIE prvku:
    platform
            -web-hidden    (skryje na webe, v appke necha zobrazene)
            -ios-hidden
            -android-hidden
            -windows-hidden
            -macos-hidden
            -app-hidden    (==ios-hidden|android-hidden|windows-hidden|macos-hidden)
*/
body.platform-web .platform-web-hidden,
body.platform-app .platform-app-hidden,
body.platform-ios .platform-ios-hidden,
body.platform-android .platform-android-hidden,
body.platform-windows .platform-windows-hidden,
body.platform-macos .platform-macos-hidden {
    display: none;
}

/******************************************************
*******************************************************
                       navbar
*******************************************************
*******************************************************/
.ts-notes-img{
    background: url("../images/pin.svg") no-repeat;
    display: inline-block;
    height: 25px;
    width: 25px;
    position: relative;
    top: 1px;
}

.notes-share{
    text-align: right;
    margin-right: -10px;
    font-family: OpenSansRegular;
    font-size: 14px;
}
.this-chapter-checkbox,
.this-chapter-checkbox-2,
.this-chapter-checkbox-search {
    width: 20px;
}

.notes-share-2{
    text-align: right;
    font-family: OpenSansRegular;
    font-size: 14px;
}

#ts-notes[aria-describedby] > span.ts-notes-img{
    background: url("../images/pin-active.svg") no-repeat;
}

#ts-digest-form{
    margin-bottom: 10px;
    border: 1px #DDDDDD solid;
}

.settings-img{
    background: url("../images/navbar-settings.svg") no-repeat;
    display: inline-block;
    height: 25px;
    width: 25px;
}

#settings[aria-describedby] > span.settings-img{
    background: url("../images/navbar-settings-active.svg") no-repeat;
}

.ts-search-img{
    background: url("../images/search.svg") no-repeat;
    display: inline-block;
    height: 25px;
    width: 25px;
}

#ts-search[aria-describedby] > span.ts-search-img{
    background: url("../images/search-active.svg") no-repeat;
}

.ts-closebook-img{
    background: url("../images/exit.svg") no-repeat;
    display: inline-block;
    height: 25px;
    width: 25px;
    position: relative;
    top: 3px;
}

#ts-searchstring{
    height: 40px;
    font-size: 24px;
    font-family: OpenSansBold;
    border: none;
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.closebook-border{
    position: relative;
    top: -7px;
    left: -9px;
    display: inline-block;
    border-left: 1px solid #DDDDDD;
    height: 23px;
}

.container > .navbar-nav{
    margin-top: 3px !important;
}

#ts-searchtrigger{
    width: 38px;
    border-radius: 38px;
    background-color: #337AB7;
    border: none;
    padding: 0 !important;
}

#ts-deletetrigger{
    background-color: transparent;
    border: none;
}

#ts-deletetrigger > img{
    width: 14px;
}

input#ts-searchstring:focus{
    outline: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.ts-developer-tools{
    font-family: OpenSansRegular;
    font-size: 14px;
}

img.searchtrigger-img{
    width: 10px;
}

.ts-menu-img{
    background: url("../images/content.svg") no-repeat;
    display: inline-block;
    height: 25px;
    width: 25px;
    position: relative;
    top: 3px;
}

#ts-menu[aria-describedby] > span.ts-menu-img{
    background: url("../images/content-active.svg") no-repeat;
}

.nav-prev-img{
    background: url("../images/arrow-left.svg") no-repeat;
    display: inline-block;
    height: 25px;
    width: 25px;
}

.nav-next-img{
    background: url("../images/arrow-right.svg") no-repeat;
    display: inline-block;
    height: 25px;
    width: 25px;
}

.nav-reload-img{
    background: url("../images/navbar-refresh.svg") no-repeat;
    display: inline-block;
    height: 25px;
    width: 25px;
}

#nav-reloader{
    margin-top: -5px;
}

.ts-search-text{
    background: url("../images/search.svg") no-repeat;
    display: inline-block;
    height: 16px;
    width: 16px;
    background-size: 16px 16px;
    font-size: 12px;
}

.active > a > .ts-search-text{
    background: url("../images/search-active.svg") no-repeat;
    height: 16px;
    width: 16px;
    background-size: 16px 16px;
}

.ts-search-images{
    background: url("../images/images.svg") no-repeat;
    display: inline-block;
    height: 16px;
    width: 16px;
    background-size: 16px 16px;
    font-size: 12px;
}

.active > a > .ts-search-images{
    background: url("../images/images-active.svg") no-repeat;
    height: 16px;
    width: 16px;
    background-size: 16px 16px;
}

.ts-search-videos{
    background: url("../images/video.svg") no-repeat;
    display: inline-block;
    height: 16px;
    width: 16px;
    background-size: 16px 16px;
    font-size: 12px;
}

.active > a > .ts-search-videos{
    background: url("../images/video-active.svg") no-repeat;
    height: 16px;
    width: 16px;
    background-size: 16px 16px;
}

.ts-search-equations{
    background: url("../images/equation.svg") no-repeat;
    display: inline-block;
    height: 16px;
    width: 16px;
    background-size: 16px 16px;
    font-size: 12px;
}

.active > a > .ts-search-equations{
    background: url("../images/equation-active.svg") no-repeat;
    height: 16px;
    width: 16px;
    background-size: 16px 16px;
}

#highlight-trigger > span,
#notes-trigger > span,
#share-trigger > span{
    position: relative;
    left: 2px;
    top: 1px;
}

#ts-menu + div > h3.popover-title{
    text-transform: uppercase;
    color: #7E7E7E;
    box-shadow: none;
    border: none;
    border-radius: 0;
    border-bottom: 1px solid #DDDDDD;
    font-weight: 400;
}

#lightbox:focus{
    outline: none;
}

html, body{
    height: 100% !important;
}

::-webkit-scrollbar-thumb:hover {
    background: yellow;
}

.pg-zoom {
    position: absolute;
    height: 20px!important;
    width: 20px!important;
    border: none!important;
    padding: 0!important;
    bottom: 5%;
    right: 5%;
}

/*.pg-glyph{*/
    /*padding: 6px 6px 12px 6px;*/
/*}*/

#menu-uniq .glyphicon{
    padding: 6px 6px 12px 6px;
}

/*test*/
.menu-uniq a:only-child {
    padding-left: 38px!important;
}


#menu-uniq .glyphicon > a:not(.menu-item){
    font-family: OpenSansRegular;
    margin-left: 0px!important;
    padding-left: 17px!important;
    color: #333;
    position: absolute;
    padding-top: 1px;
}

#menu-uniq>li+li{
    margin-top: 0!important;
}


#menu-uniq .glyphicon > a:not(.menu-item):hover{
    text-decoration: none;
    background-color: transparent!important;
}

.nav-pills li:hover{
    background-color: #eee;
    border-radius: 4px!important;
}

.nav-pills>li.active>a{
    background-color: transparent!important;
}

.nav-pills>li.active{
    background-color: #d2dfeb;
    border-radius: 4px!important;

}
/*----*/
.nav-pills>li.active>a  {
    color: #333;
}

#menu-uniq ul{
    padding-left: 0!important;
    list-style: none!important;
}
#menu-uniq .btn:active, #menu-uniq .btn.active{
    -webkit-box-shadow: none!important;
    box-shadow: none!important;
}

#menu-uniq ul li.active span{
    color: #373737!important;
}

.swiper-slide{
    width: 100%!important;
}

.menu-uniq li {
    display: flex;
}

.is-mobile .modal button.close {
    font-size: 44px;
    line-height: 0.8;
    margin-top: -10px;
}

.platform-ios #id-citation-modal .modal-dialog {
    margin-top: 30px;
    margin-top: max(30px, constant(safe-area-inset-top));
    margin-top: max(30px, env(safe-area-inset-top));
}

.katex-display.ts-swipe-left-right-background {
    background-image: none;
}
.katex-display.ts-swipe-left-right {
    padding-top: 0;
}

.katex-error + .tooltip .tooltip-inner {
    background-color: #cc0000;
}
.katex-error + .tooltip.top .tooltip-arrow {
    border-top-color: #cc0000;
}


figure.table.table-responsive {
    display: block;
}
figure.table.table-responsive.ts-swipe-left-right-background {
    background-image: none;
}
figure.table.table-responsive.ts-swipe-left-right {
    padding-top: 0;
}

[data-lightbox]:hover {
    cursor: zoom-in;
}

.img-with-audio {
    cursor: pointer;
}


#reading-progress-bar {
    width: 100%;
    background-color: #e7e7e7;
    margin-bottom: -1px;
}
#reading-progress-value {
    height: 2px;
    background-color: #7e7e7e;
    width: 0;
}





.ts-main-navbar .settings-text-to-speech button .fa {
    padding-right: 4px;
}
.ts-main-navbar .settings-text-to-speech select {
    width: 49%;
}

#selection-speech-synthesis.reading {
    background-color: #337AB7;
}
#selection-speech-synthesis.reading .fa {
    color: white !important;
}
#selection-speech-synthesis:focus {
    outline: none;
}
@media (max-width: 400px) {
    .ts-main-navbar .settings-text-to-speech select {
        width: 44%;
    }
}
@media (max-width: 360px) {
    .ts-main-navbar .settings-text-to-speech select {
        width: auto;
        float: none !important;
        margin-top: 8px;
    }
}



.not-animated-yet {
    opacity: 0;
}



