.container-fluid {
    padding: 0;
}

.container-fluid .content {
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

#login-container * {
    font-family: "Segoe UI";
}

#login-container {
    position: absolute;
    z-index: 9;
    margin: 0 auto;
    max-width: 1100px;
    min-height: 1px;
    left: 0;
    right: 0;
}

#container #loginbox,
#container #vuz_name {
    display: table-cell;
    vertical-align: middle;
    padding: 40px 0;
    width: 50%;
}

.login-separator {
    display: table-cell;
    vertical-align: middle;
    border-right: 2px solid #444167;
    padding-left: 30px;
}

#container #vuz_name {
    text-align: center;
}

#container #vuz_name div.logo div {
    background-size: cover;
    height: 104px;
    width: 104px;
    border-radius: 104px;
    margin: 0 auto;
}

#container #vuz_name div.name {
    font-size: 19pt;
    color: #444167;
    text-align: center;
}

#container #loginbox {
    padding: 0 20px 0 40px;
    margin: 0 auto;
}

#container #loginbox > div {
    width: 260px;
}

#container #loginbox input[type=text],
#container #loginbox input[type=password] {
    height: auto;
    padding: 2px 7px;
    border: 1px solid #bab69f;
    margin-bottom: 3px;
    margin-top: 2px;
    border-radius: 0;
    box-shadow: none;
}

#container #loginbox .form-group {
    margin-bottom: 15px;
}

#container #loginbox label {
    color: #000;
    font-weight: normal;
    margin-bottom: 0;
}

#container #loginbox #htitle {
    font-size: 19pt;
    color: #444167;
    margin-bottom: 5px;
    margin-left: -8px;
    display: table;
}

#container #loginbox #htitle img {
    display: table-cell;
    vertical-align: middle;
}

#container #loginbox #htitle div {
    display: table-cell;
    vertical-align: middle;
}

#container #loginbox button[type=submit] {
    padding: 3px 7px;
    border: 1px solid #64cb2e;
    display: inline-block;
    background: none repeat scroll 0% 0% #64cb2e;
    color: #fff;
}

#container #loginbox form label {
    margin-bottom: 0 !important;
}

form .field-loginform-login.has-error .help-block,
form .field-loginform-password.has-error .help-block {
    top: 50px !important;
}

form .field-loginform-password.form-group.has-error {
    position: relative !important;
    padding-bottom: 25px !important;
}

.cover-bg {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    background: #fff;
    opacity: 0.7;
}

.p-copy {
    text-align: center;
    position: absolute;
    z-index: 9;
    left: 0;
    right: 0;
    bottom: 10px;
    margin: 0;
}

.p-copy span {
    background: #fff;
    padding: 1px 10px 3px 10px;
}

.smartloader {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 13;
    background: #fff;
}

.smartloader-loading {
    font-size: 100px;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #4D5A75;
    font-weight: bold;
}

.smartbanner {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: #FF5722;
    z-index: 12;
    font-family: Roboto;
    display: none;
}

.smartbanner-logo {
    width: 102px;
    height: 96px;
    background: url("../img/alfa.svg");
    margin: 100px auto 0;
}

.smartbanner-google-play {
    height: 80px;
    background: url("../img/google_play.png") no-repeat center;
    background-size: contain;
    margin: 20px 0;
}

.smartbanner-title {
    color: #fff;
    font-size: 24px;
    line-height: 28px;
    text-align: center;
    margin-top: 20px;
}

.smartbanner-description {
    text-align: center;
    color: #fff;
    font-size: 20px;
    margin-top: 20px;
}

.smartbanner-buttons {
    text-align: center;
    margin-top: 60px;
}

.smartbanner-buttons .btn {
    text-transform: uppercase;
    padding: 9px 8px 5px;
    border-radius: 8px;
}

.smartbanner-buttons .btn-p1 {
    background: #3DD05D;
    border: 1px solid #3DD05D;
    color: #fff;
    font-size: 14px;
}

.smartbanner-buttons .btn-p2 {
    background: #FFF;
    border: 1px solid #999A9E;
    color: #999A9E;
}

@media (max-width: 768px) {
    .login-separator {
        display: none;
    }

    #container #loginbox,
    #container #vuz_name {
        display: block;
    }

    #container #vuz_name {
        padding: 0 10px;
    }

    #login-container {
        top: 0 !important;
    }

    #container #loginbox {
        padding: 10px 0 0 0;
        width: 260px;
    }

    #container #vuz_name {
        width: 100%;
    }

    #library-header div.name {
        font-size: 14pt !important;
        margin-top: 4px !important;
        height: 57px;
        white-space: normal !important;
    }

    .library-login .top-actions-filters {
        padding: 0 5px !important;
    }

    .library-login #strSearchText {
        width: 100% !important;
        margin-bottom: 2px !important;
    }

    .library-login .select-category {
        width: 100% !important;
        margin-bottom: 6px !important;
    }

    .library-login .select-order {
        width: 100% !important;
        margin-bottom: 2px !important;
    }

    .library-login .top-actions-filters {
        margin-top: 5em;
        position: unset;
    }

    .library-login #page-content {
        padding-top: 0 !important;
    }

    .book-tile {
        min-height: auto !important;
        padding: 5px !important;
    }

    .to-login-page {
        position: initial !important;
        margin-bottom: 10px !important;
        display: block !important;
    }

    .library-login .pagination {
        margin: 10px;
        padding: 20px 0 10px 0;
    }

    .library-login #page-navigation {
        float: none;
    }

    .book-qr {
        left: 0;
        top: 140px !important;
        width: 20.9vw;
        height: 20.9vw;
    }

    .book-main-info {
        padding: 20px 5px 5px;
    }

    .book-annotation {
        padding: 5px;
    }

    .bootstrap-select.btn-group .dropdown-menu {
        width: 100% !important;
        overflow: hidden;
    }

    .smartbanner {
        display: block;
    }
}

.book-tile {
    border-bottom: 1px solid #ccc;
    padding-top: 20px;
    min-height: 290px;
}

.book-tile:hover {
    border-bottom-color: #666 !important;
}

.to-login-page {
    font-size: 18px;
    position: absolute;
    top: 33px;
    left: 15px;
}

.book-qr {
    position: absolute;
    top: 35px;
    right: 0;
    border: 1px solid #ccc;
}

.book-main-info {
    border-bottom: 1px solid #ccc;
    padding-top: 20px;
}

.book-annotation {
    border-bottom: 1px solid #ccc;
    padding-top: 15px;
    padding-bottom: 15px;
}

.login-langs {
    position: absolute;
    z-index: 10;
    right: 10px;
    top: 10px;
}

.login-langs ul {
    list-style: none;
}

.login-langs ul li {
    display: inline-block;
}

.login-langs ul li div {
    width: 23px;
    height: 20px;
    cursor: pointer;;
}

#library-header {
    height: 5em;
    top: 0;
    left: 0;
    right: 15px;
    position: fixed;
    z-index: 99;
    background: #fff;
    padding-top: 5px;
    padding-left: 15px;
}

#library-header div.logo {
    background-size: cover;
    height: 65px;
    width: 65px;
    border-radius: 65px;
    display: inline-block;
    vertical-align: top;
    margin-right: 10px;
    position: absolute;
}

#library-header div.name {
    font-size: 19pt;
    color: #444167;
    margin-top: 10px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    width: 100%;
    padding-left: 80px;
}

#login-book-list {
    margin-top: 10px;
    background: #fff;
    padding: 0 15px;
}

#login-book-list h4 {
    margin-top: 0;
    margin-bottom: 10px;
    color: #444167;
}

#login-book-list h4 a {
    text-decoration: underline;
}

#login-book-list h4 a:hover {
    text-decoration: none;
}

#login-book-list a {
    text-decoration: none;
    display: block;
}

#login-book-list .col-md-3 {
    border: 1px solid transparent;
    padding: 7px 7px 3px 7px;
}

#login-book-list .col-md-3:hover {
    border: 1px solid #ccc;
}

.main-news {
    position: absolute;
    z-index: 10;
    bottom: 40px;
}

.main-news .main-news__title {
    margin: 0 0 5px;
    overflow: hidden;
    text-align: center
}

.main-news .main-news__title .h3 {
    margin: 0;
    position: relative;
    display: inline-block;
    font-weight: normal;
    letter-spacing: 0.1px;
    font-size: 18px;
    line-height: 18px;
    color: #444167;
}

.main-news .main-news__wrapper .main-news__container {
    padding: 0 5px
}

.main-news .main-news__wrapper .main-news__container .ok-infoblock .ok-infoblock__title {
    color: #333;
    font: 500 15px/22px "Montserrat", sans-serif;
    padding-bottom: 10px;
    padding-top: 0;
    text-transform: uppercase;
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
    -webkit-transition: 0.3s;
    transition: 0.3s
}

.main-news .main-news__wrapper .main-news__container .ok-infoblock .ok-infoblock__title:hover, .main-news .main-news__wrapper .main-news__container .ok-infoblock .ok-infoblock__title:focus {
    color: #f1383e !important
}

.main-news .main-news__wrapper .main-news__container .ok-infoblock .ok-infoblock__title .ok-infoblock__date {
    color: #f1383e;
    font: 400 14px/16px "Montserrat", sans-serif;
    margin-bottom: 14px;
    background-color: transparent
}

.main-news .main-news__wrapper .main-news__container .ok-infoblock .ok-infoblock__shorttext {
    color: #888;
    font: 13px/23px "Montserrat", sans-serif;
    margin: 0 0 10px
}

.news-block__container {
    position: relative;
    height: 200px;
    overflow: hidden
}

.news-block__container .news-header {
    font-size: 14px;
    max-height: 32px;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    font-weight: normal;
    margin-bottom: 10px;
    transition: max-height .5s
}

.news-block__container .ok-infoblock__date {
    width: 50px;
    height: 50px;
    background-color: #f1383e;
    color: #fff;
    position: absolute;
    top: -25px;
    left: 15px;
    text-align: center;
    line-height: 50px;
    font-weight: 600;
    font-size: 14px;
    transition: color .5s, background-color .5s, box-shadow .5s;
    border-radius: 50%
}

.news-block__container .ok-news-image {
    position: absolute;
    height: 100%;
    width: 100%;
    background-repeat: no-repeat;
    top: 0;
    left: 0;
    transform: scale(1);
    transition: transform 2s;
    background-size: cover
}

.news-block__container .ok-infoblock {
    position: absolute;
    bottom: -100%;
    transition: bottom .5s, background-color .5s, margin-bottom .5s;
    padding: 5px 10px;
    text-align: left;
    margin: 0;
    opacity: 1;
    height: 150px;
    width: 100%;
    margin-bottom: 82px;
    background-color: #f4f4f4
}

@media (max-width: 768px) {
    .news-block__container {
        height: auto
    }

    .news-block__container .ok-infoblock {
        bottom: unset;
        margin-bottom: unset;
        position: relative;
        height: auto
    }

    .news-block__container .ok-news-image {
        position: static;
        position: unset;
        height: 90px
    }

    .news-block__container .news-header {
        max-height: unset;
        white-space: unset;
        height: 40px;
        overflow: hidden;
    }

    .main-news {
        left: 0;
    }

    .main-news .ok-infoblock__shorttext {
        display: none;
    }
}

@media (min-width: 991px) {
    .news-block__container:hover .ok-infoblock {
        bottom: 0;
        background-color: rgba(244, 244, 244, 0.9);
        margin-bottom: 0
    }

    .news-block__container:hover .ok-infoblock__date {
        background-color: #fc3;
        color: #000;
        box-shadow: 4px 4px 4px -2px rgba(0, 0, 0, 0.2)
    }

    .news-block__container:hover .news-header {
        max-height: 60px;
        white-space: unset
    }

    .news-block__container:hover .ok-news-image {
        transform: scale(1.2)
    }
}