﻿body{
    font-family: 'Open Sans', sans-serif;
}

ul, li{
    display: block;
    padding: 0px;
    margin: 0px;
}

h2{
    color: #12a89d;
    font-weight: 600;
    font-size: 40px;
    text-transform: uppercase;
}

p{
    font-size: 18px;
    color: #4b4b4b;
    font-weight: 400;
}

/* Header */

header{
    padding-top: 40px;
    background: url('../img/bg1.png') no-repeat center 40px / cover;
}

nav{
    padding-top:40px;
    margin: 0px 1% 0px 19%;
}

.menu__item a{
    font-size: 16px;
    font-weight: 600;
    color: #a8a8a8;
    line-height: 65px;
    transition: all 0.3s ease;
}

.menu__item a:hover{
    color: #12a89d;
    text-decoration: none;
}

.header__btn{
    width: 93%;
    text-align: center;
    color:#fff;
    background: #12a89d;
    border-radius: 3px;
    font-weight: 600;
    padding: 10px 0px;
    margin-top: 49px;
    transition: all 0.3s ease;
}

.header__btn:hover{
    background: #0e867d;
    cursor: pointer;
}

.header__text{
    font-size: 54px;
    font-weight: 300;
    line-height: 1.2em;
    margin-top: 215px;
    width: 100%;
    color: #fff;
}

.header__text span{
    font-weight: 600;
}

#btn-more-link{
    text-decoration: none;
}

.btn-more{
    border-radius: 3px;
    border: 3px solid #12a89d;
    padding: 10px 0px;
    text-align: center;
    width: 170px;
    font-size: 18px;
    font-weight: 600;
    margin: 65px 0px 377px 0px;
    color: #fff;
    transition: all 0.3s ease;
}

.btn-more:hover{
    background: #12a89d;
    cursor: pointer;
}

.scroll{
    width: 100%;
    text-align: center;
    margin-bottom: 30px;
}

/* About */

#about{
    padding-top: 35px;
    padding-bottom: 30px;
}

#about h2{
    margin-bottom: 30px;
}

/* service */
#service h3{
    font-size: 30px;
    font-weight: 600;
    color: #fff;
}

#service h3:after{
    display: block;
    content: '';
    width: 280px;
    height: 2px;
    background: #12a89d;
    margin-top: 15px;
}

#service__btn{
    display: inline;
}

#service__btn a:hover{
    text-decoration: none;
}

#service .container-fluid{
    padding-right: 0;
    padding-left: 0;
}

.service__item{
    position: relative;
    min-height: 500px;
  	height: 100%;
    /*padding: 115px 65px 145px 65px; */
}


.service__item p{
    color: #fff;
    height: auto;
    font-size: 14px;
    max-width:100%;
    margin:0;

    overflow:hidden;
    max-height:0;
    opacity:0;
    -webkit-transition:.6s .3s ease-in-out;
    transition:.6s .3s ease-in-out;
    padding-right: 65px;
}

.service__item:hover p {
    opacity:1;
    max-height:400px;
}

.service__description {
    position: absolute;
    bottom: 90px;
    left: 65px;
}

#service .col-lg-4:nth-child(1) .service__item{
    background: url('../img/service_bg1.png') no-repeat center center/cover;
}

#service .col-lg-4:nth-child(2) .service__item{
    background: url('../img/service_bg2.png') no-repeat center center/cover;
}

#service .col-lg-4:nth-child(3) .service__item{
    background: url('../img/service_bg3.png') no-repeat center center/cover;
}

/* Cooperation */

#cooperation h2{
    margin-top: 90px;
    margin-bottom: 55px;
}

.cooperation__item{
    text-align: center;
}

#cooperation p{
    font-size: 21px;
    color: #000;
    line-height: 1.1em;
    margin-top: 40px;
    margin-bottom: 70px;
}

.cooperation__logo{
    height: 135px;
    width: 100%
}

.cooperation__logo_1{
    background: url('../img/logo1.png') no-repeat center center / contain
}

.cooperation__logo_2{
    background: url('../img/logo2.png') no-repeat center center / contain
}

.cooperation__logo_3{
    background: url('../img/logo3.png') no-repeat center center / contain
}

.cooperation__logo_4{
    background: url('../img/logo4.png') no-repeat center center / contain
}

.cooperation__logo_5{
    background: url('../img/logo5.png') no-repeat center center / contain
}

/* Procedure */

#procedure {
    margin-bottom: 70px;
}

#procedure h2{
    margin-bottom: 40px;
    margin-top: 20px;
}

#procedure p{
    font-size: 21px;
}

#procedure span{
    font-weight: 300;
}

.procedure__item{
    font-size: 19px;
    font-weight: 600;
}

.procedure__item div{
    display: inline;
    padding-top: 22px;
}

.procedure__item span{
    font-size: 40px;
    font-weight: 300;
    color: #22aba1;
    margin-right: 14px;
}

.procedure__list_second div{
    margin-top: 20px;
    margin-bottom: 20px;
}

.procedure__list_decoration span{
    margin-right: 0px;
}

.procedure__item_fw300{
    font-weight: 300;
}

.procedure__item a{
    font-weight: 600;
    color: #12a89d;
}

.procedure__item a:hover{
    cursor: pointer;
    color: #15c2b5;
    text-decoration: none;
}

/* Consultation */

#consultation{
    background: url('../img/bg2.png');
    text-align: center;
}

#consultation h2{
    font-size: 50px;
    font-weight: 600;
    margin-top: 120px;
    margin-bottom: 20px;
    color:#fff;
    text-transform: none;
    width: 100%;
}

#consultation p{
    font-size: 16px;
    color:#fff;
    width: 100%;
}

.consultation__btn{
    color: #fff;
    background: #12a89d;
    margin: 0px auto;
    margin-top: 40px;
    margin-bottom: 120px;
    padding: 13px 17px;
    border-radius: 5px;
    font-weight: 600;
    transition: all 0.3s ease;
    width: 190px;
}

.consultation__btn:hover{
    background: #15c2b5;
    cursor: pointer;
}

/* adventages */

.adventages__icon{
    width: 108px;
    height: 95px;
    margin-right: 30px;
    text-align: center;
}

#adventages h2{
    margin-top: 60px;
    margin-bottom: 70px;
}

#adventages p{
    width: 100%;
}

.adventages__item{
    margin-bottom: 65px;
}

.adventages__item:nth-child(4) p{
    line-height: 4.1em;
}

/* Contants */

#contancts h2{
    margin-top: 30px;
    margin-bottom: 35px;
}

#contancts .container-fluid{
    padding-right: 0;
    padding-left: 0;
}

/* Footer */

footer{
    background: #232a32;
    padding-top: 15px;
    padding-bottom: 15px;
}

footer p{
    color: #e8e8e8;
    font-size: 14px;
    line-height: 50px;
    margin-bottom: 0px;
}

.wrapper{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0,0,0,0.5);
    animation-duration: 2s;
    z-index: 9999;
}

.modal-window{
    width: 584px;
    background: #fff;
    margin: 5% auto 0px auto;
    padding: 30px 0px;
    position: relative;
}

.btn-close{
    position: absolute;
    top: 25px;
    right: 25px;
}

form{
    margin: 0px auto;
    width: 374px;
}

.form__title{
    font-size: 24px;
    font-weight: bold;
    line-height: 1.0em;
    margin-bottom: 25px;
    display: inline-block;
    text-transform: uppercase;
}

.close-btn{
    position: absolute;
    top: 34px;
    right: 25px;
}

.close-btn:hover{
    cursor: pointer;
}

input, textarea{
    display: block;
    width: 100%;;
    margin-bottom: 17px;
    border: 2px solid #a2a2a2;
    border-radius: 3px;
    padding: 10px 20px;
    color: #b9b9b9;
}

input:focus,textarea:focus{
    border-color: #12a89d;
    outline: none;
}

.form__submit{
    background: #12a89d;
    width: 180px;
    color: #fff;
    padding: 14px 0px;
    border: 0px;
}

.form__submit:hover{
    background: #15bcb0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.buttonup {
    width:88px; 
    height:118px;
    position:fixed;
    bottom:20px;
    right:50px;
}

/* Яндекс карты  */

.ya_map {
    font-size: 16px;
    color: #fff;
    padding: 15px 15px;
    background: #12a89d;
}
 
#map {
    width: 100%;
    height: 655px;
}

.ymaps-2-1-72-balloon__content,
.ymaps-2-1-72-balloon__layout,
.ymaps-2-1-72-balloon__tail::after,
.ymaps-2-1-72-balloon_layout_panel{
  background: #12a89d !important;
}

/* Humburger start */
.hamburger-menu{
    display: none;
    position: absolute;
    right: 10%;
    top: 73px;
}
.menu__icon {
    display: inline-block;
    width: 45px;
    height: 35px;
    position: relative;
    cursor: pointer;
    z-index: 1100;
}
.menu__icon span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: #12a89d;
    opacity: 1;
    left: 0;
    -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
            transform: rotate(0deg);
    -webkit-transition: .25s ease-in-out;
    -o-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}
.menu__icon span:nth-child(1) {
    top: 0px;
}

.menu__icon span:nth-child(2), .menu__icon span:nth-child(3) {
    top: 13px;
}

.menu__icon span:nth-child(4) {
    top: 26px;
}

.hamburger-menu.menu_state_open .menu__icon span:nth-child(1) {
    top: 18px;
    width: 0%;
    left: 50%;
}

.hamburger-menu.menu_state_open .menu__icon span:nth-child(2) {
    -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
            transform: rotate(45deg);
}

.hamburger-menu.menu_state_open .menu__icon span:nth-child(3) {
    -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
            transform: rotate(-45deg);
}

.hamburger-menu.menu_state_open .menu__icon span:nth-child(4) {
    top: 18px;
    width: 0%;
    left: 50%;
}

.hamburger-menu.menu_state_open .menu__links {
    display: block;  
}

@media screen and (max-width: 1200px) {
	.header__logo {
    	width: 10%;
	}
	nav {
    	padding-top: 7px;
    	margin: 0px 0% 0px 12%;
	}
	.header__btn{
		margin-top: 18px;
		font-size: 14px;
	}
}

@media screen and (max-width: 992px) {
    .hamburger-menu{
        display: block;
    }
    .menu__icon{
        display: inline-block;
    }
    .menu__links {
        position: fixed;
        display: none;
        top: 0;
        right: 0;
        left: 0;
        height: 100vh;
        background-color: rgba(255, 255, 255, 0.96);
        z-index: 1000;
        overflow: auto;
    }
    .menu__links .languages{
        margin-top: 50px;
    }
    .menu__links .languages a{
        font-size: 16px;
        margin: 0px 8px;
    }

    .menu__links-item {
        display: block;
        padding: 10px 0;
        text-align: center;
        color: #000 !important;
    }
    .menu__links-item:first-child{
        margin-top: 115px;
    }
    .menu__links-item:hover {
        color: #12a89d !important;
        text-decoration: none;
    }
    /* Hamburger */
  .header__logo{
  	width: 100%;
  }
  nav, .header__btn{
    display: none;
  }
  .service__description {
    left: 33px;
    top: 39px;
  }
  .service__item{
    min-height: 415px;
  }
  .service__item p{
    max-height: unset;
    opacity: unset;
    padding-right: 33px;
  }
  .cooperation__item img{
    width: 50%;
  }
  #cooperation h2{
    margin-top: 68px;
    margin-bottom: 30px;
  }
  #cooperation p{
    font-size: 13px;
  }
  .cooperation__logo img{
    height: 95px;
  }
  #procedure p {
    font-size: 18px;
  }
  .procedure__item{
    font-size: 16px;
    line-height: 2em;
  }
  .procedure__item span {
    font-size: 30px;
  }
  .procedure__list_decoration{
    margin: 40px 0px;
  }
  .procedure__item div {
    padding-top: 5px;
  }
  #consultation h2{
    font-size: 36px;
  }
  #consultation p {
    font-size: 20px;
  }
  .adventages__icon img{
    width: 75px;
  }
  #adventages p{
    font-size: 16px;
  }
  .adventages__icon {
    margin-right: 20px;
  }

}

@media screen and  (max-width: 768px) {
    .header__logo{
        width: 100px;
    }
    h2{
        font-size: 24px;
    }
    p{
        font-size: 14px;
    }
    .header__text{
        font-size: 36px;
        margin-top: 140px;
    }
    .btn-more{
        font-size: 16px;
        margin: 30px 0px 136px 0px;
    }
    #about {
        padding-top: 20px;
    }
    #about h2 {
        margin-bottom: 15px;
    }
    .service__item {
        padding: 30px 15px 0px 15px;
        height: 395px;
    }
    #service h3 {
        font-size: 25px;
    }
    .service__description {
        left: 20px;
        top: 27px;
    }
    .service__item p {
        padding-right: 20px;
    }
    .cooperation__logo {
        width: 80%;
        margin: 0px auto;   
    }
    #cooperation p {
        font-size: 11px;
        margin-bottom: 10%;
        margin-top: 10%;
    }
    #cooperation h2 {
        margin-top: 30px;
        margin-bottom: 20px;
    }
    #procedure h2 {
        margin-bottom: 20px;
        margin-top: 40px;
    }
    .procedure__item {
        font-size: 14px;
    }
    .procedure__item span {
        font-size: 24px;
    }
    .procedure__list_decoration {
        margin: 14px 0px;
        margin-bottom: 40px;
    }
    .procedure__item-h3{
        font-size: 18px;
        line-height: 1.2em;
    }
    #consultation h2 {
        font-size: 23px;
        margin-top: 75px;
        margin-bottom: 10px;
    }
    #consultation p {
        font-size: 14px;
    }
    .consultation__btn{
        margin-bottom: 75px;
    }
    #adventages h2 {
        margin-top: 25px;
        margin-bottom: 35px;
    }
    #adventages p {
        font-size: 14px;
    }
    .adventages__item:nth-child(4) p {
        line-height: unset;
    }
    footer p {
        font-size: 9px;
        line-height: 28px;
    }
    footer img{
        width: 60%;
        float: right;
    }
    footer a{
        height: auto;
        width: auto;
    }
    
}

@media screen and  (max-width: 576px){
    #cooperation p {
        margin-bottom: 5%;
        margin-top: 5%;
    }
    .cooperation__logo {
        width: 114px;
        margin: 0px auto;
    }
    .adventages__item {
        margin-bottom: 0px;
    }
    .adventages__icon{
        margin-right: 12px;
        width:unset;
    }
    .adventages__icon img {
        width: 50px;
        margin-top: 5px;
    }
    #map {
        height: 500px;
    }
    .modal-window{
        width: 100%;
        padding-bottom: 15px;
    }
    .form__title{
        font-size: 18px;
    }
    form{
        width: 90%;
    }
    .close-btn{
        width: 15px;
        right: 20px;
    }
    input, textarea{
        padding: 10px 15px;
        font-size: 12px;
    }
    .form__submit{
        width: 140px;
        padding: 9px 0px;
    }
    .ya_map {
        font-size: 16px;
    }
}