@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,700,700i&subset=cyrillic-ext');

@font-face {
    font-family: 'Philosopher-Bold';
    src: url('../fonts/Philosopher-Bold.eot?#iefix') format('embedded-opentype'), url('../fonts/Philosopher-Bold.woff') format('woff'), url('../fonts/Philosopher-Bold.ttf') format('truetype'), url('../fonts/Philosopher-Bold.svg#Philosopher-Bold') format('svg');
    font-weight: normal;
    font-style: normal;
}


html { overflow-y: scroll; overflow-x: hidden; }
body { font-family: 'Philosopher-Bold'; font-size: 21px; margin: 0; overflow-x: hidden; }
*:focus { outline: none; }
* { box-sizing: border-box; }
section { width: 100%; float: left; }

.container-tm {
    margin: auto;
    width: 1200px;
    min-height: 1px;
}

.button-a { text-decoration: none; }

.static-body { background-color: #F3F1EE; color: #444; }
.static-body p, .static-body li { line-height: 27px; }
.static-body p, .static-body li,
.static-body b, .static-body strong { font-family: 'Open Sans', sans-serif; font-size: 16px; }
.static-body p, .static-body li { font-weight: 100; }
.static-body b, .static-body strong { font-weight: 600; }
.static-body h3, .static-body h4 { font-weight: 400; }
.static-body h3 { font-size: 28px }
.static-body li { list-style-position: inside; }

img.fr-dii {
    display: inline-block;
    float: none;
    vertical-align: bottom;
    margin-left: 5px;
    margin-right: 5px;
    max-width: calc(90%)
}

img.fr-dii.fr-fil {
    float: left;
    margin: 5px 5px 5px 0;
    max-width: calc(95%)
}

img.fr-dii.fr-fir {
    float: right;
    margin: 5px 0 5px 5px;
    max-width: calc(95%)
}

button:hover {
    cursor: pointer;
}

h2 { color: #ab8751; }

/*меню и баннер*/

section.top {
    position: relative;
}

.menu {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    height: 175px;
    background: rgba(0, 0, 0, 0.63);
}
.menu-static {
    background: rgba(0, 0, 0, 0.9);
    width: 100%;
    height: 175px;
}

.menu > *, .menu-static > * {
    display: flex;
    justify-content: space-between;
    height: 100%;
    align-items: center;
}

.logo img {
    max-width: 100%;
}

.logo {

    width: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu-top {
    margin-top: 80px;
    width: calc(100% - 380px);
}

.menu-top a {
    font-size: 16px;
    color: #fff;
    text-transform: uppercase;
    text-decoration: none;
}

.menu-top > ul > li {
    display: inline-block;
    margin: 0 16px;
}

.menu-top a:hover {
    color: #c7c7c7;
}

.caption-slider {
    top: 0;
    height: 100vh;
    display: flex;
    align-items: center;
    flex-flow: column;
    justify-content: center;
    position: absolute;
    width: 100%;
    left: 0;
    text-align: center;
    color: #fff;
    padding: 0 100px;
}

section.top .slick-slide img {
    min-width: 100%;
    height: 100vh;
}

.slick-initialized .slick-slide {
    position: relative;
}

.caption-slider p {
    font-size: 33px;
    margin: 50px 0;
}

.caption-slider h1 {
    font-size: 33px;
    margin: 0;
}

.caption-slider h1 {
    font-size: 74px;
    margin: 0;
    text-transform: uppercase;
}

.caption-slider h1 span {
    font-size: 58px;
    display: block;
}

.button-base {
    font-family: 'Philosopher-Bold';
    font-size: 20px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 15px 26px;

}

.button-1 {
    border: 2px solid #fff;
    background: transparent;
    color: #fff;
}

.button-3:hover, .button-1:hover, .button-2 {
    color: #fff;
    background: #ab8751;
    border: 2px solid #ab8751;
}

.slider-banner-button-wrap button {
    margin: 0 8px;
}

.slick-prev {
    left: 10px;
}

.slick-prev:hover, .slick-prev:focus, .slick-next:hover, .slick-next:focus, .slick-prev, .slick-next {
    width: 60px;
    z-index: 10;
    height: 60px;
    background: url('../images/arrow-slider.png') no-repeat center;
    padding: 13px 22px;
    border: 2px solid #fff;
    background-position-x: 41%;
}

.slick-next {
    transform: rotate(180deg);
    right: 10px;
    top: calc(50% - 30px);
}

.slick-prev:before, .slick-next:before {
    display: none;
}
.slick-prev:hover, .slick-next:hover {
    opacity: 0.8;
}
/*почему выбирают нас*/

h2 {
    font-size: 58px;
    text-transform: uppercase;
    text-align: center;
}

section.advantages h2 {
    margin: 100px 0 75px 0;
    color: #333;
}

.advantages-wrapper {
    padding: 0 125px;
}

.row-tm {
    margin: 0 -15px;
}

.col-md-3 {
    width: 33.3333333333%;
    min-height: 1px;
    padding: 0 10px;
    float: left;
}

.row-tm:after, .row-tm:before {
    display: table;
    content: " ";
}

.row-tm:after {
    clear: both;
}

.advantages-block {
    text-align: center;
    background: #fff;
    padding: 39px 40px 55px 40px;
    position: relative;
}

section.advantages {
    background: url('../images/advantages-background.jpg') no-repeat top center;
    z-index: -2;
    padding-bottom: 90px;
    position: relative;
}

.advantages-block:after {
    z-index: -1;
    position: absolute;
    content: "";
    bottom: 15px;
    top: 6px;
    left: auto;
    height: 48%;
    width: 53%;
    right: 3px;
    max-width: 300px;
    background: transparent;
    -webkit-box-shadow: 0 8px 19px #000;
    -moz-box-shadow: 0 8px 19px #000;
    box-shadow: 0 8px 19px #000;
    -webkit-transform: rotate(2deg);
    -moz-transform: rotate(2deg);
    -o-transform: rotate(2deg);
    -ms-transform: rotate(2deg);
    transform: rotate(2deg);
}

.advantages-block:before {
    content: "";
    position: absolute;
    z-index: -1;
    -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    -moz-box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    top: auto;
    bottom: 0;
    left: 25%;
    right: 10px;
    -moz-border-radius: 100px / 10px;
    border-radius: 100px / 10px;
    width: 50%;
    height: 50%;
}

.advantages-block h3 {
    font-size: 33px;
    color: #555;
    margin: 40px 0 0 0;
}

.advantages-block p {
    font-size: 20px;
    color: #555;
    margin: 0;
}

/*наши работы*/
section.portfolio-top {
    background: url('../images/portfolio-background.jpg') no-repeat;
}

section.portfolio-top h2 {
    margin: 95px 0 30px 0;
    color: #ab8751;
}

section.portfolio-top p {
    font-size: 20px;
    text-align: center;
    color: #555;
    width: 700px;
    max-width: 100%;
    margin: 0 auto 35px auto;
}

.button-3 {
    border: 2px solid #ab8751;
    background: transparent;
    color: #ab8751;
}

section.portfolio-top button {
    margin: auto;
    display: block;
    margin-bottom: 60px;
}

/*галерея*/
#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
    background-image: url('../images/fancybox_sprite.png');
}

section.portfolio-slider .slick-slide {
    height: auto !important;
    transition: 0.5s;
    position: relative;
}

section.portfolio-slider .slick-slide img {
    object-fit: cover;
    display: block;
    max-width: 100%;
    width: 100%;
}

section.portfolio-slider .slick-slide a {
    display: block;
}

section.portfolio-slider .slick-list {
    overflow: visible;
}

section.portfolio-slider .slick-slide:hover {
    transform: scale(1.2);
    z-index: 100;
    box-shadow: 0 6px 17px 0 rgba(0, 0, 0, 0.58);
    transition: 0.5s;
    height: auto !important;
}

section.portfolio-slider .slick-slide:hover a:after {
    background: url('../images/magnifier.png') no-repeat center;
    content: "";
    top: 0;
    bottom: 0;
    z-index: 1000;
    left: 0;
    display: block;
    right: 0;
    position: absolute;
    cursor: pointer;
}

section.portfolio-slider .slick-prev, section.portfolio-slider .slick-next {
    font-size: 0;
    line-height: 0;
    position: absolute;
/*
    top: calc(50% - 30px);
*/
}

.fancybox-lock .fancybox-overlay {
    background: rgba(0, 0, 0, 0.49);
}

/*с нами сотрудничают*/

section.partners h2 {
    margin: 90px 0 70px 0;
    color: #ab8751;
}

.partners-wrapper {
    display: flex;
    justify-content: space-between;
    flex-flow: wrap;
}

.partners-block {
    width: 12.5%;
    display: flex;
    height: 180px;
    align-items: center;
    justify-content: center;
    border: 2px dashed #d5c3a8;
    border-left: 2px dashed #d5c3a8;
    border-right: 0;
    border-bottom: 0;
    padding: 10px;
}

.partners-block img {
    max-width: 100%;
}

.partners-wrapper .partners-block:nth-child(1), .partners-wrapper .partners-block:nth-child(9) {
    border-left: 0;
}

.gallery-wrapper { display: flex; justify-content: space-between; flex-flow: wrap; margin-top: 40px; }
.gallery-block { display: flex; align-items: center; justify-content: center; padding: 10px; }
.gallery-item { position: relative; }
.gallery-item span {
    position: absolute;
    display: block;
    background: #ab8751;
    color: white;
    width: 300px;
    bottom: 40px;
    left: -15px;
    padding: 10px 40px 10px 10px;
}
.gallery-name { color: #ab8751; font-size: 42px !important; text-transform: uppercase; text-align: center; }

/*остались вопросы*/

section.questions {
    background: url('../images/bottom-background.jpg') no-repeat;
    color: #fff;
}

section.questions h3 {
    font-size: 41px;
    margin: 0;
}

section.questions p {
    margin: 0;
}

.col-md-2 {
    width: 50%;
    float: left;
    padding: 0 10px;
}

.questions-wrap {
    display: flex;
    justify-content: space-between;
    height: 250px;
    align-items: center;
}

.questions-wrap input {
    font-size: 21px;
    padding: 13px;
    border: 2px solid #fff;
    background: rgba(255, 255, 255, 0.62);
    max-width: 100%;
}

.questions-wrap button {
    margin-left: 20px;
}

.button-4 {
    padding: 15px 46px;
}
section.questions .row-tm {
    margin: 0;
}

.questions-form {
    display: flex;
}


/*футер карта*/
.map-contact {
    position: absolute;
    top: 0;
    left: 0;
}


section.map iframe {
    position: absolute;
    top: 0;
}


section.map .container-tm {
    position: relative;
}

.map-contact {
    position: absolute;
    top: 210px;
    left: 40px;
    width: 375px;
    background: url('../images/footer-background.jpg');
    padding: 35px 38px;
    color: #fff;
}

.map-contact p {
    font-size: 16px;
    text-transform: uppercase;
    margin: 0;
}

.map-contact p.contact-map-p {
    font-size: 25px;
    text-transform: none;
    margin: 0;
}

.map-contact hr {
    border: 0;
    border-top: 2px dashed #fff;
    margin: 35px 0;
}

section.map {
    margin-bottom: -5px;
    margin-top: -2px;
    position: relative;
    height: 645px;
}

/*футер*/
section.footer {
    background: url('../images/footer-background.jpg');
    color: #fff;
    padding: 60px 0;
}

.footer-l p {
    margin: 0 0 35px 0;
    font-size: 16px;
}

ul.ul-footer {
    margin: 0;
    padding-left: 0;
    list-style: none;
    width: 50%;
    float: left;
}

ul.ul-footer a {
    margin: 15px 0 0 0;
    color: #fff;
    text-decoration: none;
    display: block;
    font-size: 16px;
}

.footer-l {
    width: 65%;
    float: left;
}

.footer-r {
    float: left;
    border-left: 2px dashed #fff;
    width: 35%;
}

.organizations {
    float: left;
    width: 37%;
}

.private-person {
    float: left;
    width: 63%;
}

.footer-r p {
    font-size: 16px;
    margin-bottom: 17px;
    margin-top: 0;
    text-align: right;
}

.footer-wrapper {
    padding: 0 30px;
    display: flex;
}

.organizations, .private-person {
    padding-left: 34px;
    border-left: 2px dashed #fff;
}

/*мобильная версия*/







@media screen and (min-width: 1025px) {
    .caption-slider {
        top: 175px;
        height: calc(100vh - 175px);
    }
    .menu-button {
        display: none;
    }
}

@media screen and (max-width: 1300px) {
    .partners-block {
        height: 100px;
    }

    .container-tm {
        width: 970px;
    }

    .menu-top > ul > li {
        margin: 0 6px;
    }

    .logo {
        width: 200px;
    }

    .menu-top {
        width: calc(100% - 200px);
        display: flex;
        justify-content: center;
    }

    section.advantages h2 {
        margin: 50px 0 50px 0;
    }

    h2 {
        font-size: 40px;
    }

    .advantages-block {
        padding: 39px 10px 55px 10px;
    }

    section.portfolio-top h2 {
        margin: 50px 0 30px 0;
    }

    section.partners h2 {
        margin: 50px 0;
    }

    .col-md-2 {
        width: 100%;
    }

    .questions-wrap {
        justify-content: center;
        text-align: center;
    }

    section.questions p {
        margin-bottom: 25px;
    }

    .organizations {
        width: 45%;
    }

    .private-person {
        width: 55%;
    }
    .questions-form {
        display: block;
    }



    .caption-slider p {
        font-size: 33px;
        margin: 25px 0;
    }


    /*.caption-slider {
         top: 33%;
     }*/



}

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

    .menu-list {
        display: none;
    }

    .menu-top > ul > li {
        display: block;
        margin-bottom: 15px;
    }

    .menu-top a {
        font-size: 21px;
    }

    .menu-top {
        position: relative;
    }

    .menu-fixed {
        display: block;
        position: absolute;
        text-align: center;
        padding: 15px;
        background: rgba(0, 0, 0, 0.72);
        top: 50px;
    }

    .caption-slider h1 {
        font-size: 40px;
    }

   /* section.top .slick-slide img {
        height: 430px;
        width: auto;
        min-width: 100%;
    }*/

    .caption-slider h1 span {
        font-size: 33px;
    }

    .menu {
        padding: 10px;
        height: auto;
    }
/*
    .caption-slider {
        top: 130px;
    }*/

    .caption-slider p {
        font-size: 21px;
        margin: 20px 0;
/*
        padding: 0 76px;
*/
    }

    .container-tm {
        width: 750px;
    }

    .advantages-wrapper {
        padding: 0 15px;
    }

    .footer-wrapper {
        flex-flow: wrap;
    }

    section.footer {
        background-size: cover;
    }

    .footer-r {
        float: left;
        border-left: 0;
        margin-top: 30px;
    }

    .footer-l, .footer-r {
        width: 100%;
    }
    .footer-r p {
        text-align: center;
    }









}

@media screen and (max-width: 768px) {
    .container-tm {
        width: calc(100% - 30px);
    }

    .caption-slider h1 {
        font-size: 32px;
    }

    .caption-slider h1 span {
         font-size: 26px;
     }
    section.advantages h2 {
        margin: 22px 0;
    }
    h2 {
        font-size: 30px;
    }
    .col-md-3 {
        width: 100%;
    }
    .advantages-block {
        margin-bottom: 25px;
        padding: 20px 10px 30px 10px;
    }
    .advantages-block h3 {
        font-size: 25px;
        margin: 10px 0 0 0;
    }

    section.advantages {
        background-size: cover;
    }

    .partners-block {
        width: 25%;
    }

    .partners-wrapper .partners-block:nth-child(5), .partners-wrapper .partners-block:nth-child(13) {
        border-left: 0;
    }

    .questions-wrap {
        height: auto;
    }

    section.questions {
        padding: 20px;
        background-size: cover;
    }
    .questions-wrap input {
        margin-bottom: 10px;
    }
    section.questions h3 {
        font-size: 33px;
    }

    .map-contact {
        position: relative;
        top: 0;
        left: 0;
        width: 100%;
        background: url('../images/footer-background.jpg');
        margin-top: -5px;
    }
    ul.ul-footer {
        width: 100%;
    }
    section.map iframe {
        position: relative;
    }

    section.map {
        height: auto;
    }
    section.map, section.map iframe {
        height: 400px;
    }

}

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

.slider-banner-button-wrap button {
    margin: 0 8px 10px 8px;
}}


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

    .slider-banner-button-wrap { display: none; }
    .caption-slider h1 { margin-top: 60px; }

   /* section.top .slick-slide img {
        height: 488px;
    }*/
}



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

    .menu-fixed {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: #000;
        margin: 0;
        bottom: 0;
        padding-top: 100px;
        text-align: center;
    }

    .menu-button-fixed, .menu-button-fixed:hover {
        z-index: 10000;
        position: fixed;
        top: 20px;
        right: 20px;
        border: 2px solid #ab8751;
        background: transparent;
        color: #ab8751;
        padding: 10px 26px!important;
    }

    .menu-button-fixed:after {
        width: 100%;
        height: 100%;
        position: absolute;
        left: 0;
        align-items: center;
        display: flex;
        top: 0;
        justify-content: center;
        content: "Закрыть";
        background: #fff;

    }

    section.top .slick-next {
        top: calc(50% - 60px);
    }

    section.top .slick-prev {
        top: calc(50% - 30px);
    }
  /*  .caption-slider {
        top: 112px;
    }*/
    .map-contact p.contact-map-p {
        font-size: 23px;
    }
    .questions-wrap {
        display: block;
    }
    .questions-wrap button {
        margin-left: 0;
    }

    .organizations, .private-person {
        padding-left: 0;
        border-left: 0;
    }

    .footer-wrapper {
        padding: 0;
    }
    .fancybox-wrap, .fancybox-wrap *, .fancybox-overlay.fancybox-overlay-fixed, .fancybox-overlay.fancybox-overlay-fixed * {
        max-width: 100%!important;
    }
    .fancybox-skin {
        width: calc(100% - 20px)!important;
    }
    .caption-slider {
        top: 0;
        height: 100vh;
        display: flex;
        align-items: center;
        flex-flow: column;
        justify-content: center;
        position: absolute;
        width: 100%;
        left: 0;
        text-align: center;
        color: #fff;
        padding: 0 0;
    }
    .caption-slider p {
        padding: 0 70px;
    }
    .caption-slider p {
        margin: 15px 0;
    }

    .caption-slider .button-base {
        font-size: 16px;
    }


}

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




    .partners-block {
        width: 50%;
    }

    .partners-wrapper .partners-block:nth-child(15), .partners-wrapper .partners-block:nth-child(11), .partners-wrapper .partners-block:nth-child(3), .partners-wrapper .partners-block:nth-child(7) {
        border-left: 0;
    }
    .logo {
        width: 154px;
    }

    .menu-top {
        width: calc(100% - 154px);
        margin-top: 40px;
        margin-bottom: 40px;
    }
    .menu-button {
        padding: 10px;
    }
    .footer-l p {
        margin: 0 0 10px 0;
        font-size: 16px;
    }


}




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

/*section.top .slick-slide img {
    height: 560px;
}*/
}



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

    .footer-l>* {
    width: 100%;
}
    .private-person {
        margin-bottom: 50px;
    }
}








