/**
 * 
 * Тема : Сетки.
 * 
 *
 * 
 */

*,
*::before,
*::after {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}

hr {
    -webkit-box-sizing: content-box;
       -moz-box-sizing: content-box;
            box-sizing: content-box;
}

body {
    min-width: 360px;
}


/**
 * Сетка : Контейнеры.
 * -----------------------------------------------------------------------------
 */

.container {
    width: 100%;

    padding-right: 15px;
    padding-left: 15px;

    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/**
 * Сетка : Колонки (Flexbox).
 * -----------------------------------------------------------------------------
 */

/*

.row {
    display: -ms-flexbox;
    display: flex;

    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.col {
    position: relative;

    width: 100%;
    max-width: 100%;

    -ms-flex-preferred-size: 0;
    flex-basis: 0;
    -ms-flex-positive: 1;
    flex-grow: 1;
}

*/

/**
 * Сетка : Флексы (Flexbox).
 * -----------------------------------------------------------------------------
 */

/*

.d-flex {
    display: -ms-flexbox;
    display: flex;
}

.flex-nowrap {
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
}

.flex-column {
    -ms-flex-direction: column;
    flex-direction: column;
}

.flex-grow-1 {
    -ms-flex-positive: 1;
    flex-grow: 1;
}


*/

/**
 * Clearfix (bootstrap 4).
 * -----------------------------------------------------------------------------
 */

.clearfix::after {
    display: block;
    clear: both;
    content: "";
}



/**
 * Кусочки ...
 * -----------------------------------------------------------------------------
 */

.anchor {
    position: relative;
    display: block;
    height: 1px;
    
    transform: translateY(-140px);
}

@media (min-width: 768px) {
    .anchor {
        transform: translateY(-160px);
    }
}

@media (min-width: 992px) {
    .anchor {
        transform: translateY(-170px);
    }
}

.image-box {
    margin: 0 auto;
}

.image-box .image {
    width: 100%;
    height: 0;
    
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100% auto;
}

.image-box .image.image-xga {
    padding-bottom: 75%;
}

.image-box .image.image-fhd {
    padding-bottom: 56.25%;
}

.image-box .image.image-sqr {
    padding-bottom: 100%;
}

.image-box .image.image-pro {
    padding-bottom: 34.38%;
}

/*
.hyp {
    word-break: break-all;
    hyphens: auto;
}
*/

/*
 * -----------------------------------------------------------------------------
 *
 * .
 *
 * -----------------------------------------------------------------------------
 */


html {
    font-size: 16px;
}

body {
    font-family: "Mulish", serif;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    
    line-height: 1.3;
    
    background-color: #000;
    
    color: #fff;
}

#site-wrapper {

}

body.has-bg {
    background-position: center 50px;
    background-repeat: no-repeat;
    background-size: 150% auto;
}

@media (min-width: 992px) {
    
    body.has-bg {
        background-size: auto 700px;
    }

}

@media (min-width: 1200px) {
    
    body.has-bg {
        background-size: auto 800px;
    }

}

body.has-bg-1 {
    background-image: url(/_images/background-page-1.jpg);
}

body.has-bg-2 {
    background-image: url(/_images/background-page-2.jpg);
}



/*
 * -----------------------------------------------------------------------------
 *
 * Кнопка "Наверх". 
 *
 * -----------------------------------------------------------------------------
 */

#upper {
    display: none;
    
    position: fixed; z-index: 200;
    bottom: 15px; right: 15px;
    
    width: 2rem;
    height: 2rem;
    
    
    background-image: url(/_images/icon-arr-top.svg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 1rem auto;
    background-color: rgba(255,255,255,.2);
    
    border-radius: 0;
    cursor: pointer;
    
    opacity: 0;
    
    transition: all .3s ease;
}

.scrolled #upper {
    display: block;
    opacity: 1;
}

/*
 * -----------------------------------------------------------------------------
 *
 * Алерт "Disablesd". 
 *
 * -----------------------------------------------------------------------------
 */

#alert {
    position: fixed; z-index: 2000;
    right: 15px; bottom: 15px;
    
    display: -ms-flexbox;
    display: flex;

    -ms-flex-direction: row;
    flex-direction: row;

    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;

    -ms-flex-pack: justify;
    justify-content: space-between;

    -ms-flex-align: center;
    align-items: center;
    
    padding: 15px 25px;
    
    font-size: 14px;
    
    border-radius: 15px;
    background-color: #333;
    color: #fff;
    
    cursor: pointer;
    
    opacity: 1;
    transition: all .3s ease;
}

#alert.hidden {
    bottom: -50px;
    opacity: 0;
}

#alert .close {
    margin-left: 15px;
    font-size: 18px;
}

/*
 * -----------------------------------------------------------------------------
 *
 * Меню
 *
 * -----------------------------------------------------------------------------
 */

/*

.menu .nav-link {
    text-decoration: none;
    text-transform: uppercase;
    
    white-space: nowrap;
    
    color: inherit;
}

*/

/*
 * -----------------------------------------------------------------------------
 *
 * .
 *
 * -----------------------------------------------------------------------------
 */

.no-box {
    padding: 3rem 0;
    
    text-align: center;
    color: #a0a0a0;
}

/*
 * -----------------------------------------------------------------------------
 *
 * Прелоадер.
 *
 * -----------------------------------------------------------------------------
 */


.preloader {
    background-image: url(/_images/preloader-dots.svg);
    background-position: center center;
    background-repeat: no-repeat;
}


#site-preloader {
    display: none;
    
    position: fixed; z-index: 1500;
    top: 0; left: 0; right: 0;
    height: 100vh;
    
    background-color: rgba(0,0,0,.95);
    background-size: 48px auto;
}

#site-preloader::before {
    content: "Обработка запроса";
    
    position: absolute;
    left: 0; right: 0;
    top: 50%;
    
    text-align: center;
    font-size: 14px;
    
    color: #fff;
    
    transform: translateY(-40px);
}

/*
 * -----------------------------------------------------------------------------
 *
 * Блок лого.
 *
 * -----------------------------------------------------------------------------
 */

.logo {
    display: block;
}

.logo img {
    display: block;
    
    width: 100%;
    height: auto;
}

/*
 * -----------------------------------------------------------------------------
 *
 * Блок цитаты.
 *
 * -----------------------------------------------------------------------------
 */


.cite {
    font-family: "Cormorant Garamond", serif;
}

.cite .quote {
    font-weight: 600;
    font-style: normal;
    
    text-transform: uppercase;
}

.cite .about {
    font-weight: 400;
    font-style: italic;
}


.cite .quote {
    font-size: 24px;
}

.cite .about {
    margin-top: 1rem;
    font-size: 18px;
}

@media (min-width: 576px) {
    
    .cite .quote {
        font-size: 24px;
    }

    .cite .about {
        margin-top: 1rem;
        font-size: 18px;
    }

}

@media (min-width: 768px) {
    
    .cite .quote {
        font-size: 28px;
    }

    .cite .about {
        margin-top: 1rem;
        font-size: 20px;
    }

}

@media (min-width: 992px) {
    
    .cite .quote {
        font-size: 36px;
    }

    .cite .about {
        margin-top: 2rem;
        font-size: 24px;
    }

}

/*
 * -----------------------------------------------------------------------------
 *
 * .
 *
 * -----------------------------------------------------------------------------
 */

/*

body {
    background-image: url(/_images/background-banner.jpg);
    
    background-position: center top;
    background-repeat: no-repeat;
    
    background-size: 100% auto;
}

*/

/*
 * -----------------------------------------------------------------------------
 *
 * .
 *
 * -----------------------------------------------------------------------------
 */

#site-footer {
    padding: 3rem 0 3rem;
    
    color: #fff;
    background-color: #000;
}

/*

#site-footer .info {
    display: -ms-flexbox;
    display: flex;
    
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;

    -ms-flex-pack: center;
    justify-content: center;
    
    -ms-flex-align: center;
    align-items: center;
}

#site-footer .card {
    width: 54px;
    margin: 0 5px;
}

#site-footer .card img {
    max-width: 100%;
    height: auto;
    
    opacity: .25;
}

*/

#site-footer .copy {
    text-align: center;
    
    font-size: 14px;
    font-weight: 600;
    
    color: #444;
}


#site-footer .menu {
    display: -ms-flexbox;
    display: flex;
    
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;

    -ms-flex-pack: center;
    justify-content: center;
    
    -ms-flex-align: center;
    align-items: center;
    
    padding: 4rem 0 3rem;
}

#site-footer .logo {
    width: 70px;
}

#site-footer .btn-nav {
    display: none;
}

@media (min-width: 768px) {
    
    #site-footer .menu {
        padding: 5rem 0;
        padding-left: 40px;
    }
    
    #site-footer .logo {
        width: 90px;
        margin: 0 7px;
    }

    #site-footer .btn-nav {
        display: block;
        margin: 0 10px;
        
        font-size: 16px;  
        color: #fff;
    }
    
    #site-footer .btn-nav.current {
        border-color: #fff;
    }
}

@media (min-width: 992px) {
    
    #site-footer .menu {
        padding-left: 46px;
    }
    
    #site-footer .logo {
        width: 100px;
        margin: 0 20px;
    }
    
    #site-footer .btn-nav {
        margin: 0 15px;
        font-size: 16px;  
    }
}


/*

#site-footer .logo {
    display: block;
    width: 180px;
    
    margin: 0 auto;
}

#site-footer .text {
    text-align: center;
    font-size: 13px;
}

#site-footer .text a {
    text-decoration: none;
    color: inherit;
}
#site-footer .text a:hover {
    text-decoration: underline;
}

#site-footer .copy {
    margin-top: 3rem;
}

#site-footer .info {
    margin-top: .5rem;
}

@media (min-width: 768px) {
    #site-footer .container {
        display: -ms-flexbox;
        display: flex;
        
        -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
        
        -ms-flex-pack: justify;
        justify-content: space-between;
        
        -ms-flex-align: center;
        align-items: center;
    }
    
    #site-footer .logo,
    #site-footer .text {
        margin: 0;
    }
    
    #site-footer .text {
        width: 220px;
    }
    
    #site-footer .copy {
        -ms-flex-order: -1;
        order: -1;
        
        text-align: left;
    }
    
    #site-footer .info {
        text-align: right;
    }
}

*/


/*
 * -----------------------------------------------------------------------------
 *
 * .
 *
 * -----------------------------------------------------------------------------
 */


.pagination {
    margin: 3rem -8px 3rem;
    text-align: center;
}

.pagination .btn {
    margin: 0 8px 5px;
    text-align: center;
}

.pagination .btn-num {
    width: 34px;
    padding: 0;
}

/*
 * -----------------------------------------------------------------------------
 *
 * .
 *
 * -----------------------------------------------------------------------------
 */