*:focus {
    outline: none !important;
}
body {
    font-family: 'Merriweather Sans', sans-serif;
    font-weight: 300;
    font-size: 16px;
}
h2, .h2 {
    font-size: 1.75rem;
}
.page h2, .page .h2 {
    font-size: 1.45rem;
}
h3, .h3 {
    font-size: 1.25rem;
}
.handwritten { 
    font-family: 'Kalam', cursive;
}
.serif,
.title,
.headline,
h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
    font-weight: 300;
}
input, select {
    font-weight: 300;
}
header {
    padding: 0 1rem;
}
img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}
p:last-child {
    margin: 0;
}

.opacity-0 {
    opacity: 0; 
}  
.opacity-10 {
    opacity: 0.1;
}
.opacity-20 {
    opacity: 0.2;
}
.opacity-30 {
    opacity: 0.3; 
}
.opacity-40 {
    opacity: 0.4; 
}
.opacity-50 {
    opacity: 0.5; 
}
.opacity-60 {
    opacity: 0.6; 
}
.opacity-70 {
    opacity: 0.7; 
}
.opacity-80 {
    opacity: 0.8; 
}
.opacity-90 {
    opacity: 0.9; 
}
.opacity-100 {
    opacity: 1; 
}

.logo {
    max-width: 200px;
    height: auto;
}
.btn:focus {
    box-shadow: none !important;
}
.btn {
    border-width: 2px;
    font-weight: 300;
    padding: .5rem 1rem;
}
.btn.btn-primary:not(:disabled):not(.disabled) {
    background-color: #fdbd0c;
    color: #fff;
}
.btn.btn-outline-primary:not(:disabled):not(.disabled) {
    color: #fdbd0c;
    border-color: #fdbd0c;
}
.btn.btn-primary:hover,
.btn.btn-outline-primary:not(:disabled):not(.disabled):hover,
.btn.btn-outline-primary:not(:disabled):not(.disabled).active {
    background-color: #fdbd0c;
    border-color: #fdbd0c;
    color: #fff;
}
.btn.btn-outline-danger {
    color: #cf1705;
    background-color: transparent;
    background-image: none;
    border-color: #cf1705;
}
.btn.btn-outline-danger:hover {
    color: #fff;
    background-color: #cf1705;
    border-color: #cf1705;
}
.btn.btn-borrow {
    font-size: .9em;
    border-width: 1px;
}
a,
.btn-link,
a:hover,
.btn-link:hover { 
    color: #cf1705;
}
a:hover,
.btn-link:hover { 
    text-decoration: underline;
}

#primary-navigation ul {
    align-items: baseline;
}
#primary-navigation ul li { position: relative; }

#search_more {
    position: relative;
}

#search_form_field input {
    padding: 5px 2px 2px 40px;
    border: none;
    border-bottom: 1px solid #eee;
    box-shadow: none;
}
#search_form_field input:focus {
    border-color: #fdbd0c;
}
#search_form_field .search-opts {
    position: absolute;
    right: 0px;
    bottom: 5px;
    width: 30px;
    padding: 0 7px;
    color: #ccc;
}
.search-field-active button i {
    color: #fdbd0c;
}
.search-field { position: relative; }
.search-field button {
    position: absolute;
    width: 40px; height: 100%;
    background: none; border: none;
    top: 0;
    left: 0;
    padding: 0;
}
.search-field .btn { width: 130px; padding-left: 1em; padding-right: 1em; }
.search-field .btn-primary { background-color: rgb(15,91,163); }
#search_opts {
    padding: 10px;
    position: absolute;
    top: 37px;
    width: 100%;
    z-index: 1;
    background-color: #fff;
    box-sizing: border-box;
}
#search_opts .filter {
    margin-bottom: 5px;
}
#search_opts .filter select {
    border: 1px solid #ccc;
    max-width: 100%;
}
.col-filter-active select { 
    background: #fff7e1;
}

.socials a {
    font-size: 20px;
    color: #aaa;
    transition: color .15s ease-in-out;
}
.socials a:hover {
    text-decoration: none;
}
.my-account-button a {
    color: #aaa;
}
.socials a:hover,
.my-account-button a:hover {
    color: #666;
}
.password-reset {line-height: 2em; margin-top: .3em;text-align: center}
.password-reset a { text-decoration: none; font-size: .9em; }


.indicator {
    display: inline-block;
    width: 8px;
    height: 8px;
    position: absolute;
    top: 0px;
    right: 9px;
    border-radius: 8px;
    background-color: #cf1705;
}

#primary-navigation .badges {
    position: absolute;
    top: -8px;
    right: 0;
}
.badge {
    color: #fff;  
    font-size: .9em;
    background: none; 
    border-radius: 20px; 
    min-width: 22px;
}
.badge-red { 
    background-color: #cf1705;
}
.badge-green { 
    background-color: #4bab33;
}


.inquiry-detail-toggler .indicator { position: absolute; left: 23px; width: 8px; top: -3px; }

.navbar {
    padding: 0;
}
.navbar.navbar-light .navbar-nav .nav-link:not(.btn) {
    color: rgba(0,0,0,.65);
}
.navbar.navbar-light .navbar-nav .nav-link:not(.btn):hover,
.navbar.navbar-light .navbar-nav .nav-link:not(.btn).active {
    color: rgba(0,0,0);
    text-decoration: underline;
}
.navbar.navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 1rem;
    padding-left: 1rem;
    text-align: left;
}

.login {
    position: absolute;
    z-index: 10;
    top: 40px;
    width: 260px;
    right: 15px;
}

.arrow-up {
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 15px solid #ECF0F1;
    right: 35px;
    position: absolute;
    top: -10px;
}

@media (max-width: 991px) {
    #navbarToggler {
        position: absolute;
        top: 40px;
        right: 15px;
        z-index: 9;
        width: 280px;
        background-color: #fff;
        box-shadow: 0 .125rem .25rem rgba(0,0,0,.075) !important;
    }
}




.section { 
    clear: both;
    padding: 1rem;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
}
.section-hero {
    padding: 8vh 5vw 25vh;
}
.section-hero .welcome-text {
    position: relative;
    z-index: 9;
}
.section-hero .headline {
    font-size: 2.56rem;
    margin: 0;
    position: relative;
    display: inline-block;
}
.section-hero .custom-subline {
    max-width: 420px;
}
.section-hero .btn {
    font-size: 1em;
}
.section-hero .btn i {
    position: relative;
    top: -2px;
}
.section-hero .simple-image {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 34vw;
}
.section-hero .simple-image img {
    filter: drop-shadow(0 0 3px rgba(255,255,255,0.5));
}

.section-hero .book-quote {
    position: absolute;
    right: 12vw;
    bottom: 4vh;
    width: 325px;
}
.section-hero .book-quote p {
    text-align: justify;
    margin-bottom: 5px;
}
.section-hero .book-quote .drop-cap {
    color: #fdbd0c;
    padding: 10px;
    border: 2px solid #fdbd0c;
    height: 60px;
    width: 60px;
    text-align: center;
    float: left;
    margin-right: 10px;
    margin-top: 7px;
}
.section-hero .book-quote .drop-cap .drop-cap-letter {
    font-size: 45px;
    line-height: 40px;
    margin-left: -1px;
}



.section-news {
    background-color: #fdbd0c;
}
.section-news .we-are-knihofil {
    background-color: #fff;
    border-radius: 3px;
    margin-top: -60px;
    border: 2px solid #fdbd0c;
}
.section-news .we-are-knihofil a {
    text-decoration: none;
}
.section-news .slick-slider {
    overflow: hidden;
}

.caret {
    font-size: 35px;
    position: absolute;
    color: #000;
    padding-right: 2px;
}
.caret.caret-left {
    top: 5px;
    left: -15px;
}
.caret.caret-right {
    top: 5px;
    right: -17px;
}

.shelf-book .user-location-info .reader {
    font-weight: 500;
}
.shelf-book .user-location-info .loc-ellipsize {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}
.shelf-book .no-cover {
    height: 100%;
    width: 90%;
    position: relative;
    background-color: #F1E8FF;
    display: block;
    margin: 0 auto;
    padding: 1rem 0.5rem;
    overflow: hidden;
}
.shelf-book .no-cover a {
    color: #999;
    text-decoration: none;
}
.shelf-book .no-cover h3 {
    font-size: 1rem;
    overflow: hidden;
}
.shelf-book .no-cover h4 {
    font-size: 0.85rem;
}

.shelf-book .image-wrap { 
    margin: 0 auto; 
    width: 140px; 
    height: 190px;
}

.shelf-list .image-wrap { 
    float:left; 
    width: 60px;
    height: 75px;
    margin-right: .3em; 
}
.shelf-list .reader {
    margin-right: 0.25rem;
}

.list-type {

}
.list-type p {
    display: inline-block;
}
.list-type .list-switch {
    display: inline-block;
    margin-left: 1rem;
}
.list-type .list-switch a {
    color: inherit;
}
.list-type .list-switch a:hover {
    color: #cf1705;
    text-decoration: underline;
}
.list-type .list-switch.active {
    color: #cf1705;
}

#book_detail .image-wrap { width: auto; height: 150px; margin-bottom: 1rem;}
#book_detail h4.title a { 
    font-size: 1.8em; 
    line-height: 1.25em;
    width: 100%;
    white-space: normal;
    overflow: visible;
    text-overflow: initial;}
#book_detail h4.title a:hover {text-decoration: none;}
#book_detail h4.author { font-size: 1.3em; line-height: 2em; font-weight: bold;}
#book_detail a.btn-hollow { margin: .5em 0 .8em; }

.shelf-book .image-wrap .ico {
  position: absolute; 
  bottom: 5px; 
  left: 5px;
  background-color: #fff;
  border-radius: 15px;
  width: 20px;
  height: 20px;
  font-size: .9em;
  line-height: 1.4em;
  display: block;
}

.shelf-book .image-wrap .ico-book-unavailable:before {
  color: #BF2E32;
}

.shelf-book .row .location a { 
    font-weight: 600; 
    color: #000;
}
.shelf-book .row {
    margin: 0;
    padding: 0;
    text-align: center;
    display: block;
}

.shelf-book .row .location.location-no-action {
    font-weight: 600;
    color: #000;
}

#my-library .shelf-book .row {
    width: 220px;
}

#book_view { width: 400px; z-index:9999; min-height: 140px; position: absolute; left: 200px; top:0; background-color: #FFF; padding: 1em; border: 3px solid #000;}
#book_view h1,
#book_view_modal h1 { margin: 0 0 .2em; font-size: 1.3em; font-weight: bold;}
#book_view h2 {font-size: 1.2em; color: #464648;}
#book_view h2.subtitle { font-size: 1em; color: #5C5B5F; }
#book_view .summary { max-height: 150px; overflow: hidden; margin-bottom: 10px; text-align: left;}
#book_view .ajax-loader { width:90%; min-height: 100px;}


.modal-dialog .book-wrapper { 
    padding: 1em;
    background-color:#FCD11F;
}
.modal-dialog .book-wrapper .image-wrap {
    margin-right: 1em;
    background: 0 0;
    text-align: center;
    width: 85px;
    height: 120px;
    position: relative;
    display: block;
    float: left;
}
.modal-dialog .title { font-size: 1rem; }
.modal-dialog .book-wrapper .subtitle { display: none;}
.modal-dialog .author {
    font-size: 1rem;
}
.modal-dialog .modal-close button.close {
    margin-right: 9px;
    margin-top: 6px;
    margin-bottom: -10px;
}

.slick-slide img {
    display: inline-block;
}

.slick-slider .slick-prev,
.slick-slider .slick-next {
    background-color: #cf1705;
}
.slick-slider .slick-prev {
    left: 0;
}
.slick-slider .slick-next {
    right: 0;
}
.slick-slider .slick-prev:before,
.slick-slider .slick-next:before {
    display: inline-block;
    font-family: "Font Awesome 5 Free";
    font-size: 19px;
    text-rendering: auto;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-weight: 600;
    margin-top: -2px;
}
.slick-slider .slick-prev:before {
    content: "\f104";
    margin-left: -3px;
}
.slick-slider .slick-next:before {
    content: "\f105";
    margin-right: -2px;
}


.blog-thumbs .blog-thumb {
    background-color: #efefef;
}
.blog-thumbs .blog-thumb .thumb-image {
    position: relative;
    overflow: hidden;
    height: 230px;
    background-color: #000;
}
.blog-thumbs .blog-thumb .thumb-image img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: auto;
    max-height: none;
    -webkit-transform: translate(-50%, -50%);
    -moz-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}
.blog-thumbs .blog-thumb .thumb-image .image-badge {
    position: absolute;
    top: 15px;
    right: -36px;
    background-color: #004fb5;
    padding: 0.1rem;
    width: 150px;
    text-align: center;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transform-origin: center bottom;
    transform-origin: center bottom;
    text-transform: uppercase;
    color: #fff;
    font-size: .9rem;
    pointer-events: none;
}
.blog-thumbs .blog-thumb .thumb-content {
    padding: 2rem;
}
.blog-thumbs .blog-thumb .thumb-content .thumb-title {
    min-height: 60px;
    margin-bottom: .5rem;
}
.blog-thumbs .blog-thumb .thumb-content .thumb-title h3 {
    font-size: 1.25rem;
    line-height: 1.75rem;
}
.blog-thumbs .blog-thumb .thumb-content p {
    margin-bottom: 0;
}
.blog-thumbs .blog-thumb .thumb-content .thumb-description {
    min-height: 60px;
    margin-bottom: 1rem;
}
.blog-thumbs .blog-thumb .thumb-content .thumb-readmore .btn {
    font-size: .9rem;
}

.section-blog .post-inside h2 {
    margin-top: 3rem;
    font-size: 1.4rem;
}

.book-add-wrapper h3 { padding: 0; margin: 0 0 .7em; }

.book-add-wrapper .search-field { 
    width: 550px;
}
.book-add-wrapper input[name="term"].form-control,
.book-add-wrapper input[name="user_isbn"].form-control { 
    width: 350px; 
    font-size: 1.2em; 
    height: 36px; 
    display: inline-block;
    float: none;
    vertical-align: middle;
}
.book-add-wrapper a abbr { cursor:pointer;font-weight: bold; border-bottom: 1px dotted rgb(15,91,163); }
span.help {color:#DC3941; display: inline-block; font-size: .9em; width:15px; height: 23px; font-weight: normal; text-align: center; top: -10px; position: relative; cursor:pointer;}
#find_book_auto { 
    height: 36px;
    position: static;
    display: inline-block;
    vertical-align: middle;
}
.section-book-spec { 
    margin-top:1em;
}

#page .page-title {
    font-size: 2.25rem;
    margin-bottom: 24px;
}
#page .page-title::after {
border-bottom: 2px solid #fdbd0c;
display: block;
width: 40px;
height: 1px;
display: block;
content: "";
margin-top: 5px;
}

iframe#video {
    width: 100%;
    height: 450px;
}

.khf-img-1 {
    position: relative;
    z-index: 1;
    display: inline-block;
}
.khf-img-1::after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 30px;
    left: 30px;
    background-color: #fdbd0c;
    z-index: -1;
}
.khf-img-1::before {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: -30px;
    left: -30px;
    /* won't work in development, but works in minimized version in production */
    background-image: url('../../images/frame-3.png');
    z-index: -1;
    background-size: 100% 100%;
    background-repeat: no-repeat;
}

#about-2 > .container {
    min-height: 500px;
    background-size: contain;
    padding: 7rem 0;
    background-repeat: no-repeat;
    background-position: 55% 50%;
}
#about-6 {
    background-size: contain;
    background-position: bottom center;
    min-height: 600px;
    margin-bottom: -1px;
}

footer { clear:both; border-top: 1px solid #efefef }
footer ul { list-style-type: none; margin: 0 auto; padding: 0; display: flex; justify-content: space-around;}
footer ul li { text-align: center; line-height: 1.7em; display: inline-block;  }
footer p {
    font-size: 0.8rem;
    margin: 0;
}
footer p a,
footer p a:hover {
    color: #000;
    text-decoration: none;
}
footer .made-by img {
    margin-left: 10px;
}
footer .page-end {
    border-top: 1px solid #efefef;
}

#navbarToggler {
    z-index: 99;
}

.dropdown-item {
    font-weight: inherit;
}
.dropdown-item.active, .dropdown-item:active {
    background-color: #fdbd0c;
}


#page.page-pouziti-cookies img.fr-dii {
    max-width: 550px;
}

/*
LP Proč vypůjčovat knihy
*/

#why-borrow-1 {
    padding: 6rem 1rem 7rem;
}
#jak-na-to {
    padding: 7rem 1rem 7rem;
}
#o-kampani,
#jak-na-to {
    background-color: #efefef;
}


.section-why-borrow h1 {
    font-size: 2.5rem;
}
.section-why-borrow h2 {
    font-size: 2rem;
}

.section-why-borrow .border-left {
    border-left-color: #fdbd0c !important;
    border-left-width: 2px !important;
    padding-left: .75rem;
}

.mw230 {
    max-width: 230px;
}

.form-signup {
    width: 100%;
    max-width: 420px;
    padding: 40px 35px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}
.form-signup::before {
    content: "";
    display: block;
    position: absolute;
    width: 103%;
    height: 103%;
    top: -3px;
    left: -3px;
    background-image: url('../../images/frame-3.png');
    z-index: 1;
    background-size: 100% 100%;
    background-repeat: no-repeat;
    pointer-events: none;
}
.form-signup::after {
    display: block;
    position: absolute;
    height: 100%;
    z-index: -1;
    width: 100%;
    content: "";
    left: 15px;
    top: 15px;
    background-color: #fdbd0c;
}
  
.form-label-group {
    position: relative;
    margin-bottom: 0.5rem;
}

.form-label-group > input,
.form-label-group > label {
    padding: .75rem;
    height: auto;
}

.form-label-group > label {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    margin-bottom: 0; /* Override default `<label>` margin */
    line-height: 1.5;
    color: #495057;
    border: 1px solid transparent;
    border-radius: .25rem;
    transition: all .1s ease-in-out;
}

.form-label-group input::-webkit-input-placeholder {
    color: transparent;
}

.form-label-group input:-ms-input-placeholder {
    color: transparent;
}

.form-label-group input::-ms-input-placeholder {
    color: transparent;
}

.form-label-group input::-moz-placeholder {
    color: transparent;
}

.form-label-group input::placeholder {
    color: transparent;
}

.form-label-group input:not(:placeholder-shown) {
    padding-top: calc(.75rem + .75rem * (2 / 3));
    padding-bottom: calc(.75rem / 3);
}

.form-label-group input:not(:placeholder-shown) ~ label {
    padding-top: calc(.75rem / 3);
    padding-bottom: calc(.75rem / 3);
    font-size: 12px;
    color: #777;
}

ul.list-check {
    padding-left: 1.25rem;
}
ul.list-check li {
    padding-left: .45rem;
}
ul.list-check li::marker {
    content: "\f00c";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
}


/* breakpoints */
/* extra large = xl */
@media (min-width: 1200px) {

}
/* large = lg */
@media (min-width: 992px) {
    #about-2 > .container {
        padding: 9rem 0 4rem;
    }
}
/* medium = md */
@media (min-width: 768px) {

}
/* small = sm */
@media (min-width: 576px) {
}


/* breakpoints */
/* extra large = xl */
@media (max-width: 1199px) {
    .section-hero .simple-image {
        width: 450px;    
    }
    #about-6 {
        min-height: 500px;
    }
}
/* large = lg */
@media (max-width: 991px) {
    .section-hero .simple-image {
        width: 350px;    
    }
    .section-hero {
        padding: 14vh 5vw 38vh;
    }
    .section-hero .book-quote {
        right: 6vw;
    }

    .blog-thumbs .blog-thumb {
        margin-bottom: 30px;
    }
    #about-2 > .container {
        background-position: 80% 15%;
        background-size: 97%;
    }
    .section-hero .headline {
        font-size: 2.15rem;
    }
}
/* medium = md */
@media (max-width: 767px) {
    #book_detail { margin-top: .7em;}

    .shelf-book .image-wrap { width: 100%; height: 160px; }
  
    #book_detail h4.title a { font-size: 1.2em; }
    #book_detail h4.author { font-size: 1.1em; line-height: 1.7em;}

    body > footer { padding-left: 1em; }
    body > footer ul,
    body > footer ul li { display: block; }
    body > footer ul li { width: 100%; }

    .modal-body h1 { font-size: 1.2em; }
    .modal-body h2 { font-size: 1em; }
    #book_view_modal .modal-body { height:auto;}
    #book_view_modal .modal-body h1 { font-size: 1.2em; margin:0; }
    #book_view_modal .modal-body h2 { font-size: 1em;margin:.5em 0; color: #464648; }

    .modal-close { 
        position: absolute; 
        right: 10px;
        top: 7px;
        z-index:1500;
    }
    .modal-close .close {
        color: #cf1705;
        opacity: 1;
    }

    .section-hero {
        padding: 7vh 5vw 10vh;
    }
    .section-hero .headline {
        font-size: 1.55rem;
    }
    .section-hero .simple-image {
        position: static;
        margin: 2rem auto;
        width: 80vw;
    }
    .section-hero .book-quote {
        position: static;
        margin: auto;
        font-size: 0.85rem;
        width: auto;
    }
    #about-2 > .container {
        background-size: 130%;
        background-position: 44% 23%;
    }
}
/* small = sm */
@media (max-width: 575px) {
    #users .seznam .row {
        display: block;
        text-align: center;
        border-bottom: 1px solid #efefef;
    }
    #users .seznam .row-header {
        display: none;
    }
    #about-2 > .container {
        background-size: 170%;
        background-position: 42% 30%;
    }
}