@import 'jquery.fancybox.min.css';

/*header*/

.header-image {
    background-attachment: initial;
    background-position: top;
    background-size: cover;
    background-repeat: no-repeat;
}

.header-phone-wrap {
    position: absolute;
    right: 70px;
    font-weight: 500;
}

.header-phone-wrap a:hover {
    text-decoration: none;
}

.header-phone-icon {
    width: 20px;
    padding-right: 10px;
}

@media (max-width: 767px) {
    .header-phone-wrap {
        top: 0;
        right: 0;
        bottom: 0;
        height: 30px;
        margin: auto;
    }

    .header-phone {
        display: none;
    }

    .header-phone-icon {
        width: 30px;
        padding-right: 15px;
    }

    .header-image {
        /*background-attachment: fixed;*/
        background-position: center;
        background-size: auto;
        background-repeat: no-repeat;
    }
}

@media (min-width: 768px) and (max-width: 979px) {
    .header-phone-wrap {
        right: 10px;
    }

    .sf-menu > li + li {
        margin-left: 18px;
    }
}

.socials1 li a i:hover {
    color: #ffffff;
}

.header-logo {
    margin-left: 70px;
    float: left;
    display: inline-block;
    color: #ffffff;
    text-align: center;
}

.header-logo a span.first {
    font: 700 30px/30px "PFEncoreSansPro", sans-serif;
    letter-spacing: -0.04em;
    position: relative;
    padding-right: 40px;
}

.header-logo a span.first:after {
    font-family: FontAwesome;
    font-size: 29px;
    position: absolute;
    font-style: normal;
    font-weight: normal;
    text-decoration: none;
    cursor: default;
    line-height: 30px;
    content: '\f03d';
    color: #ffffff;
    right: 0;
    top: 3px;
}

.header-logo a span.second {
    font: 400 13px/16px "PFEncoreSansPro", sans-serif;
    margin-left: 13px;
}

.header-logo a span {
    display: inline-block;
}

.header-logo img {
    width: 225px;
}

@media (max-width: 374px) {
    .header-logo img {
        width: 200px;
    }
}

.video-wrap {
    display: block;
    background: #000;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -99;
    width: 100%;
    height: 800px;
}

.main-page-header {
    padding-top: 0;
    top: 0;
    position: absolute;
    z-index: 99;
    right: 0;
    width: 100%;
}

#header {
    padding: 0;
}

.page-caption-block {
    margin: auto;
    text-align: center;
    padding: 90px 100px 70px;
}

.page-caption-block h1 {
    color: white;
}

#stuck_container {
    position: relative;
    padding: 20px 0;
    background-color: white;
    opacity: 0.9;
    width: 100%;
    height: 50px;
    display: flex;
    justify-content: space-between;
}

#stuck_container nav {
    float: none;
}

@media (min-width: 768px) {
    .sf-menu {
        height: 100%;
    }

    .sf-menu > li {
        height: 100%;
        align-items: flex-end;
        display: flex;
    }
}

.sf-menu > li > a {
    color: #333;
}

.banner1 {
    padding: 100px 0 158px;
}

.banner1 .slogan .socials1 {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translateX(-50%);
}

@media (max-width: 767px) {
    #stuck_container {
        display: block;
        opacity: 1;
    }

    .header-logo {
        float: none;
        margin: 0;
    }

    .banner1 .slogan .socials1 {
        position: absolute;
        bottom: -50px;
        left: 50%;
        transform: translateX(-50%);
        width: 200px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .header-logo {
        margin-left: 20px;
    }
}

/*contacts*/
#map {
    width: 100%;
    height: 485px;
    margin: 0;
    padding: 0;
}

.privacy-message {
    font-size: 12px;
}

#content.common.contact-page {
    padding-top: 0;
}

/*news*/
.post1 .image-wrapper {
    max-height: 420px;
    overflow: hidden;
}

.post1 .image-wrapper img {
    -webkit-filter: brightness(50%);
    filter: brightness(0.5);
}

.page-caption-block .date-block {
    color: #fff;
}

/*main page*/

.slogan h1, .slogan h2, .slogan h3 {
    opacity: 0.85;
}

.slogan h3 {
    margin-bottom: 17px;
}

/*common*/
h1, h2, h3 {
    font-weight: 700;
    font-family: "PFEncoreSansPro";
    font-size: 50px;
    line-height: 50px;
    letter-spacing: 0;
}

h3 {
    font-size: 30px;
    line-height: 45px;
}

.pagination {
    display: flex;
    justify-content: center;
    font-weight: bold;
}

.page-item {
    margin: 0px 20px;
}

.page-item.active {
    color: #777777;
}

.youtube {
    width: 100%;
    height: 500px;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: inline-block;
    overflow: hidden;
    transition: all 200ms ease-out;
    cursor: pointer;
    background-size: cover;
}

.youtube .video-icon {
    color: rgba(255, 255, 255, .5);
    font-size: 120px;
}

.youtube .video-icon:hover {
    color: rgba(255, 255, 255, .7);
}

.youtube .video-icon i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 998;
}

.banner2 {
    z-index: 0;
}

.banner2.banner2__inset1:before,
.banner2.banner2__inset2:before,
.banner2.banner2__inset3:before,
.banner2.banner2__inset4:before,
.banner2.banner2__inset5:before {
    z-index: -1;
    content: "";
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, .5);
}

.modal-form .contact-form-buttons {
    text-align: left;
}

.modal-form-wrapper h3 {
    color: #333333;
}

.modal-form-wrapper .modal-form label {
    margin-bottom: 25px;
}

@media (max-width: 1199px) {
    .contacts-address .wrapper {
        margin-bottom: 10px;
    }

    .contacts-address .wide {
        display: block;
        font-weight: 600;
    }

    .contacts-address span {
        line-height: 24px;
    }
}

.service-wrap {
    flex-wrap: wrap;
    display: flex;
}

.callback-btn-wrap {
    margin: 30px 0;
}

.btn-filled.btn-filled-blue {
    background: #0099A8;
}

.btn-filled.btn-filled-blue:hover {
    background: #777777;
}

/*gallery*/

.gallery-wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.gallery-preview {
    height: 420px;
    position: relative;
    background-size: cover;
    background-position: center;
}

.empty-result {
    text-align: center;
    width: 100%;
}

.gallery-item .box7,
.gallery-item .box6 {
    position: relative;
}

.gallery-video {
    color: rgba(255, 255, 255, .5);
    font-size: 120px;
}

.gallery-video:hover {
    color: rgba(255, 255, 255, .7);
}

.gallery-video i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 998;
}


/*promo-blocks*/

.slogan-white,
.slogan-white h6,
.slogan-white h5 {
    color: #fff;
}

.banner2 .slogan.slogan-white h6 {
    margin-bottom: 17px;
}

.black-promo-block li:not(:first-child) {
    margin-top: 27px;
}

.black-promo-block li {
    padding-left: 26px;
    position: relative;
    font: 700 17px/21px "Lato", sans-serif;
    color: #ffffff;
    padding-bottom: 17px;
    border-bottom: 1px solid #333333;
}

.black-promo-block li a:before {
    transition: all 0.3s ease;
    color: #3c3c3c;
    font-family: FontAwesome;
    font-size: 17px;
    font-style: normal;
    font-weight: normal;
    text-decoration: none;
    cursor: default;
    line-height: 21px;
    content: '\f105';
    display: block;
    position: absolute;
    left: 0;
    top: 0;
}

.service-icon {
    width: 75px;
    margin: auto;
    height: 75px;
    margin-bottom: 20px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.contacts-address {
    margin-top: 30px;
}

.contact-form {
    max-width: 470px;
    margin: auto;
}

.clients-slider .slick-track {
    display: flex;
    align-items: center;
}

.slick-initialized .slick-slide.clients-slider__elem {
    display: flex;
    align-items: center;
    justify-content: center;
}

.clients-slider__elem:focus {
    outline: none;
}

.main-prev {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translate(-50%);
    font-size: 25px;
    color: #808080;
    cursor: pointer;
}

.main-next {
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translate(-50%);
    font-size: 25px;
    color: #808080;
    cursor: pointer;
}

.show-clients {
    color: #fff;
}

.service-link:hover {
    text-decoration: underline;
}

.c-mobile-img {
    display: none;
}

.c-mobile-img {
    display: none;
}

.c-price-mobile {
    display: none
}

.c-hamburger {
    display: none;
}

@media (max-width: 767px) {

    h1, h2, h3 {
        font-size: 26px;
        line-height: 30px;
    }

    .page-caption-block {
        padding: 20px;
    }

    .post1 .image-wrapper .info h3 {
        font-size: 20px;
    }

    .clients-slider {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
    }

    .clients-slider__elem {
        width: 30%;
        margin-bottom: 10px;
    }

    .hidden-clients {
        display: none;
    }

    .wrapper4.clients-slider-wrapper {
        padding: 53px 0 70px;
    }

    .c-desktop-img {
        display: none;
    }

    .c-mobile-img {
        display: block;
    }

    .c-desktop-img {
        display: none;
    }

    .c-price-mobile {
        display: flex;
        margin: 0 -25px;
    }

    .c-price-desktop {
        display: none;
    }

    .sf-menu {
        position: absolute;
        background: #fff;
        left: 0;
        top: 90px;
        display: flex;
        flex-direction: column;
        padding: 35px;
        z-index: 99999;
        width: 100%;
        box-sizing: border-box;
        transition: 300ms;
        transform: translateX(-100%);
        bottom: 0;
        height: 100vh;
        background: #fff;
    }

    .sf-menu_active {
        transform: translateX(0);
    }

    .sf-menu li {
        margin: 0 0 20px 0;
    }

    .sf-menu > li + li {
        margin: 0 0 20px 0;
    }

    .select-menu.sf-menu.common.sf-js-enabled.sf-arrows {
        display: none !important;
    }

    .c-hamburger {
        position: absolute;
        display: block;
        width: 30px;
        height: 3px;
        background: #000;
        top: 45px;
        left: 15px;
        transition: 300ms;
    }

    .c-hamburger:before {
        content: '';
        position: absolute;
        display: block;
        width: 30px;
        height: 3px;
        background: #000;
        top: -8px;
        transition: 300ms;
    }

    .c-hamburger:after {
        content: '';
        position: absolute;
        display: block;
        width: 30px;
        height: 3px;
        background: #000;
        bottom: -8px;
        transition: 300ms;
    }

    .c-hamburger_close {
        background: #fff;
    }

    .c-hamburger_close:before {
        top: 0;
        transform: rotate(-45deg);
    }

    .c-hamburger_close:after {
        bottom: 0;
        transform: rotate(45deg);
    }

    .sf-menu > li > a {
        font-size: 22px;
    }
}

.c-price-mobile__title {
    width: 120%;
}

.c-price-mobile__scroll {
    width: 60%;
    overflow: auto;
}

.c-price-mobile__scroll img {
    height: 0px;
    max-width: unset;
}

.noscroll {
    overflow: hidden;
}

.fancybox-navigation .fancybox-button {
    width: 150px;
    height: 200px;
}

.fancybox-navigation .fancybox-button--arrow_right {
    padding: 75px 6px 75px 100px;
}

.fancybox-navigation .fancybox-button--arrow_left {
    padding: 75px 100px 75px 6px;
}

@media (min-width: 1200px) {
    .fancybox-navigation .fancybox-button {
        width: 600px;
        height: 500px;
        top: 50%;
        transform: translateY(-50%);
    }

    .fancybox-navigation .fancybox-button--arrow_right {
        padding: 225px 6px 225px 540px;
    }

    .fancybox-navigation .fancybox-button--arrow_left {
        padding: 225px 540px 225px 6px;
    }
}

.welcome-content {
    max-height: 190px;
    overflow-y: hidden;
    margin-bottom: 20px;
    -webkit-transition: all 1s linear 0s;
    -moz-transition: all 1s linear 0s;
    -o-transition: all 1s linear 0s;
    transition: all 1s linear 0s;
}

.read-more {
    text-decoration: none;
    color: #0099A8;
    cursor: pointer;
}

.read-more:hover {
    color: #777777;
    text-decoration: underline;
}

html.desktop.landscape {
    height: 100%;
}

body {
    min-height: 100%;
    padding-bottom: 63px;
    position: relative;
}

footer#footer {
    position: absolute;
    width: 100%;
    bottom: 0;
}
