* {
    margin: 0;
    padding: 0;
    line-height: 0;
    outline: 0;
    text-decoration: none;
    border: 0;
}

@font-face {
	font-family: 'AvenirNextCyr-Regular';
	src: url('../fonts/AvenirNextCyr-Regular.eot');
	src: url('../fonts/AvenirNextCyr-Regular.woff') format('woff');
	src: url('../fonts/AvenirNextCyr-Regular.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: 'AvenirNextCyr-Demi';
	src: url('../fonts/AvenirNextCyr-Demi.eot');
	src: url('../fonts/AvenirNextCyr-Demi.woff') format('woff');
	src: url('../fonts/AvenirNextCyr-Demi.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
}

@font-face {
	font-family: 'AvenirNextCyr-Light';
	src: url('../fonts/AvenirNextCyr-Light.eot');
	src: url('../fonts/AvenirNextCyr-Light.woff') format('woff');
	src: url('../fonts/AvenirNextCyr-Light.ttf') format('truetype');
	font-weight: 400;
	font-style: normal;
}

body, html {
    color: #000;
}

.main-block {
    overflow: hidden;
    min-height: 104vh;
}

.main-block.last-block {
    height: 98vh;
}

.main-block-text {
    float: left;
    width: 35%;
    height: 640px;
    position: relative;
}

.main-block-link {
    display: block;
    float: right;
    width: 65%;
    height: 640px;
    overflow: hidden;
}

.main-block-right .main-block-text {
    float: right;
}

.main-block-right .main-block-link {
    float: left;
}

.main-block-img {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center left;
    transition: transform 100000ms cubic-bezier(.16,.51,0,.96);
}

.main-block-link:hover .main-block-img {
    transition: transform 100000ms cubic-bezier(.16,.51,0,.96);
    transform: scale(1.1);
}

.main-block-heading {
    font-size: 24px;
    line-height: 130%;
    letter-spacing: .15em;
    text-transform: uppercase;
    text-align: left;
    font-family: 'AvenirNextCyr-Light';
    font-weight: 400;
}

.main-block-heading a {
    color: #000;
}

.main-block-heading a:hover {
    -webkit-text-stroke: .02em #000;
	text-stroke: .02em #000;
}

.main-block-subheading {
    font-family: 'AvenirNextCyr-Light';
    font-weight: 400;
    font-size: 16px;
    letter-spacing: .02em;
    line-height: 140%;
    margin-top: 20px;
}

.main-block-text-inner {
    max-width: 283px;
    position: absolute;
    top: 50%;
    left: 40%;
    transform: translate(-40%, -50%);
}

.first-block {
    height: 130vh;
}

.first-block .main-block {
    height: auto;
}

header {
    height: 25vh;
    padding-top: 40px;
    text-align: center;
}

header img {
    height: 45px;
    width: auto;
    margin-bottom: 50px;
}

.nav-list {
    margin: 0 auto;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    flex-grow: 1;
}

.nav-list li {
    list-style: none;
    margin: 0 40px;
}

.nav-list a {
    color: #000;
    font-size: 14px;
    line-height: 17px;
    letter-spacing: .15em;
    text-transform: uppercase;
    font-family: 'AvenirNextCyr-Light';
    font-weight: 400;
}

.first-block .main-block-link:hover .main-block-img {
    transform: none;
}

.nav-list-active, .nav-list a:hover {
    -webkit-text-stroke: .06em #000;
	text-stroke: .06em #000;    
}

.header-menu {
    display: none;
    height: 20px;
}

.header-menu img {
    height: 100%;
    width: auto;
}

.nav-list .header-logo {
    display: none;
    margin-top: 40px;
}

.nav-list .header-menu {
    display: none;
}

.nav-list-invisible {
    display: none;
}

footer {
    border-top: 1px solid #F2F2F2;
    padding: 35px 0;
    position: relative;
    z-index: 1;
}

.footer-container, .main-block-center {
    width: 70%;
    margin: 0 auto;
}

.footer-container-links, .footer-container-left, .footer-container {
    overflow: hidden;
}

.footer-container-links {
    margin-bottom: 10px;
}

.footer-container-links li {
    list-style: none;
    float: left;
    margin-right: 40px;
}
.footer-container-links + .footer-container-links li{
    margin-right: 18px;
}

.footer-container-links li:last-child {
    margin: 0;
}

.footer-container-links a {
    font-size: 16px;
    line-height: 27px;
    color: #000;
    font-family: 'AvenirNextCyr-Light';
    font-weight: 400;
}

.footer-container-links a:hover {
    opacity: .75;
}

.footer-container-left {
    width: 45%;
    float: left;
}

.footer-container-center {
    width: 35%;
    float: left;
}

.footer-container-right {
    width: 20%;
    float: right;
    text-align: right;
}

.footer-container-label {
    font-size: 10px;
    line-height: 16px;
    font-family: 'AvenirNextCyr-Light';
    font-weight: 400;
    padding-top: 10px;
}

.footer-container-text {
    font-size: 16px;
    line-height: 20px;
    font-family: 'AvenirNextCyr-Light';
    font-weight: 400;    
}

.footer-container-text a {
    color: #000;
    text-transform: uppercase;
}

.footer-container-text-small {
    font-size: 14px;
    line-height: 20px;
    font-family: 'AvenirNextCyr-Light';
    font-weight: 400;      
    padding-top: 10px;
    margin-bottom: 10px;
}

.footer-container-text-small a {
    color: #000;
    text-transform: uppercase;
}

.footer-container-label a {
    color: #000;
}

.footer-container-text a:hover, .footer-container-text-small a:hover, .footer-container-button:hover {
    opacity: .75;    
}

.footer-container-button {
    border: 1px solid #F2F2F2;
    width: 250px;
    padding: 30px 0;
    font-size: 18px;
    color: #000;
    display: block;
    text-align: center;
	font-family: 'AvenirNextCyr-Regular';
	font-weight: 400;
}

.footer-container-button-hide {
    display: none;
    margin: 20px auto 10px auto;
}

.footer-container-blank {
    width: 10px;
    height: 10px;
}



   .main-block-center .main-block-text{
        width: 36%;
    }
    .main-block-center .main-block-text.right{
        /*float: right;*/
        order: 3;
       
    }
    .main-block-center .main-block-text.right .main-block-text-inner{
        top: 86%;
        padding-right: 2rem;
    }
   .main-block-center  .main-block-text.left{
       /* float: left;*/
       order: 1;
    }
    .main-block-center  .main-block-text.left  .main-block-text-inner{
        top: 32%;
    }
    .main-block-center .main-block-link{
        width: 28%;
        padding: 1px 1px 1px 0px;
        order: 2;
        /*float: left;*/

        /*position: absolute;
        left: 36%;
        right: 36%;
        margin: auto;*/
    }
    .main-block-center {
        display: flex;
        flex-direction: row;
    }
    
    .main-block-center .main-block-img.contain{
        background-position: top center;
        background-repeat: no-repeat;
        background-size: auto 100%;
    }




/* from AM new */

.main-block-link, .main-block-text{
    max-height: 90%;
}
.main-block-center{
    flex-direction: column;
}
.main-block-center .main-block-link{
    width: 100%;
    order:  0;
}
.main-block-center .main-block-text {
    width: 100%;
    height: auto;
}
.main-block-center .main-block-text-inner{
    position: static;
    transform: none;
    padding: 2.5rem 0;
    width: 370px;
    max-width: 100%;

}


.modal{
    z-index: 10001;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    overflow: scroll;
    transform:scale(1);
    opacity:0;
    font-size: 16px;
  font-family: AvenirNextCyr-Light;
  // animation: fadeIn .5s cubic-bezier(0.165, 0.840, 0.440, 1.000) forwards;
    }
.modal .close{
    font-size: 1.5rem;
    line-height: 1.5rem;
    position: absolute;
    top: 2rem;
    right: 2rem;
    transition: 0.5s;
    opacity: 0.4;
}
.modal h2{
    font-size: 24px;
    line-height: 130%;
    letter-spacing: .15em;
    text-transform: uppercase;
    text-align: left;
    font-family: AvenirNextCyr-Light;
    font-weight: 400;
    margin-bottom: 0;
}

.modal-dialog{
    z-index: 2;
    margin-left: auto;
    margin-right: auto;
    pointer-events: auto;
}
.modal-content{
    padding: 3rem 4rem;
    border-radius: 0;
    border: none;
    box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.25);
}
.feedbackForm{
    min-height: 80px;
}
.feedbackForm p{
    line-height: 1.1em;
}
.modal.show{
  display: block;
  opacity: 1;
  
}
.modal.show .modal-dialog{
    animation: scaleUp .5s cubic-bezier(0.165, 0.840, 0.440, 1.000) forwards;
  }
.modal.out{
  opacity: 0;
  
}

.modal.out .modal-dialog{
     animation: scaleDown .5s cubic-bezier(0.165, 0.840, 0.440, 1.000) forwards;
  }




@keyframes unfoldIn {
  0% {
    transform:scaleY(.005) scaleX(0);
  }
  50% {
    transform:scaleY(.005) scaleX(1);
  }
  100% {
    transform:scaleY(1) scaleX(1);
  }
}

@keyframes unfoldOut {
  0% {
    transform:scaleY(1) scaleX(1);
  }
  50% {
    transform:scaleY(.005) scaleX(1);
  }
  100% {
    transform:scaleY(.005) scaleX(0);
  }
}

@keyframes zoomIn {
  0% {
    transform:scale(0);
  }
  100% {
    transform:scale(1);
  }
}

@keyframes zoomOut {
  0% {
    transform:scale(1);
  }
  100% {
    transform:scale(0);
  }
}

// @keyframes fadeIn {
//   0% {
//     background:rgba(0,0,0,.0);
//   }
//   100% {
//     background:rgba(0,0,0,.7);
//   }
// }

@keyframes fadeOut {
  0% {
    background:rgba(0,0,0,.7);
  }
  100% {
    background:rgba(0,0,0,.0);
  }
}

@keyframes scaleUp {
  0% {
    transform:scale(.8) translateY(1000px);
    opacity:0;
  }
  100% {
    transform:scale(1) translateY(0px);
    opacity:1;
  }
}

@keyframes scaleDown {
  0% {
    transform:scale(1) translateY(0px);
    opacity:1;
  }
  100% {
    transform:scale(.8) translateY(1000px);
    opacity:0;
  }
}




























@media only screen and (max-width:1600px) {
    .footer-container, .main-block-center {
        width: 80%;
    }
    .main-block-link, .main-block-text {
        height: 570px;
    }
}

@media only screen and (max-width:1270px) {
    .footer-container, .main-block-center {
        width: 90%;
    }
    .main-block-link {
        height: 465px;
        width: 60%;
        background-position: center center;
    }
    .main-block-text {
        width: 40%;
        height: 480px;
    }
}

@media only screen and (max-width:1136px) {
    .main-block-link {
        height: 380px;
        width: 55%;
    }
    .main-block-text {
        width: 45%;
        height: 400px;
    }
}

@media only screen and (max-width:1024px) {
    .footer-container-links li {
        margin-right: 25px;
    }
    .footer-container, .main-block-center {
        width: auto;
        margin: 0 20px;
    }
    header img {
        height: 35px;
        margin-bottom: 40px;
    }
    .nav-list li {
        list-style: none;
        margin: 0 20px;
    }
    .main-block-link {
        height: 350px;
        width: 60%;
    }
    .main-block-text {
        width: 40%;
    }
    .main-block-text-inner {
        top: 50%;
        left: 20px;
        transform: translate(0, -50%);
    }
    .main-block-heading {
        font-size: 18px;
    }
    .footer-container-links li{
        margin-right: 40px;
    }
}

@media only screen and (max-width:860px) {
    .main-block-link, .main-block-text {
        height: 320px;
    }
    .footer-container-left, .footer-container-center, .footer-container-right {
        width: auto;
        float: none;
        text-align: center;
    }
    .footer-container-button {
        display: none;
    }
    .footer-container-button.footer-container-button-hide {
        display: block;
    }
    .main-block.last-block {
        height: 60vh;
    }
    .footer-container-links {
        list-style: none;
        display: table;
        margin-left: auto;
        margin-right: auto;
    }
    .footer-container-links li {
        display: inline-block;
    }
    .footer-container-blank {
        display: none;
    }
}

@media only screen and (max-width:800px) {
    .main-block-link, .main-block-text {
        height: 290px;
    }
}

@media only screen and (max-width:720px) {
    .header-menu {
        display: block;
    }
    .nav-list .header-logo {
        display: block;
    }
    .nav-list .header-menu {
        display: block;
    }
    .nav-list-invisible {
        display: block;
    }
    .main-block-center .main-block-text-inner{
        padding: 0 !important;
        margin: 20px;

    }
    .nav-list {
        position: fixed;
        z-index: 100;
        width: 100%;
        height: 100%;
        top: 0;
        background: #fff;
        display: none;
        overflow: scroll;
    }
    .nav-list li {
        display: block;
        margin: 40px 0;
    }
    .first-block .main-block-img {
        margin-left: -10%;
        width: 110%;
    }
    .main-block-link {
        height: 340px;
    }
    .main-block-text-inner {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        max-width: 360px;
        margin: 40px;
    }
    .main-block-text, .main-block-link {
        /*float: none;*/
        width: 100%;
    }

    .main-block-center{
        height: auto;
        display: block;
    }
    .main-block-center .main-block-link{
        width: 100%;
        float: none;
        position: static;
    }
    .main-block-center .main-block-text.left,
    .main-block-center .main-block-text.right {
       width: 50%;
       margin-top: 2rem;
    }
    .main-block-center .main-block-text.right .main-block-text-inner,
    .main-block-center .main-block-text.left .main-block-text-inner{
        top: 0 ;
    }
    .first-block {
        min-height: 104vh;
        height: auto;
    }
   /* .first-block .main-block-text{
        height: auto;
    }*/
}

@media (min-width: 576px){
    .modal-dialog {
        max-width: 570px;
        margin: 1.75rem auto;
    }
}
@media only screen and (max-width:576px) {
    .main-block-link {
        height: 320px;
    }
    .main-block-center .main-block-text.left, .main-block-center .main-block-text.right{
        width: 100%;
    }
    .main-block-center .main-block-text-inner{
        width: auto;
        max-width: 370px;
    }
    .modal-content {
        padding: 3rem 1.5rem 1.5rem 1.5rem;
       }
       .modal .close{
        top: 1.2rem;
        right: 1.2rem;
       }
}

@media only screen and (max-width:420px) {
    .main-block-link {
        height: 240px;
    }
    .main-block-text-inner {
        max-width: 100%;
        margin: 40px;
    }
    
}

@media only screen and (max-width:360px) {
    .main-block-link {
        height: 220px;
    }
}