﻿.open{
    overflow: hidden;
}
#index-header{
    width: 100%;
    position: relative;
    z-index: 99;
}

.index-header-box{
    text-align: right;
    position: absolute;
    top: 0;
    right: 0;
    display: none;
    font-size: 0;
    padding-top: 10px;
    z-index: 100;
}
#index-header .index-header-box{
    display: block;
}

.index-header-contact,
.index-header-phone{
    display: inline-block;
    vertical-align: top;
    padding:  0 20px;
    color: #FFF;
    font-size: 16px;
    background-color: #39add0;
    margin-right: 20px;
    height: 46px;
    line-height: 46px;

}
.index-header-contact{
    letter-spacing: 3px;
}
.index-header-phone{
    letter-spacing: 1px;
}
.index-header-menu-box{
    width: 100%;
    height: 100vh;
    background-color: #FFF;
    display: block;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    top: 0;
    z-index: 99;
    left: 0;
    transition: all .1s linear;
}
.index-header-menu-box.active{
    opacity: 1;
    pointer-events: auto;
}
.index-header-bth{
    width: 46px;
    height: 46px;
    background-color: #39add0;
    margin-right: 20px;
    position: relative;
    padding: 10px 0;
    box-sizing: border-box;
    display: inline-block;
    vertical-align: top;
    cursor: pointer;
    transition: all .3s linear;
}


.index-header-bth span{
    width: 30px;
    height: 1px; 
    background-color: #FFF;
    display: block;
    position: relative;
    margin: 0 auto;
    transition: all .3s linear;
}
.index-header-bth span:nth-child(1){
    transform-origin: left;
}
.index-header-bth span:nth-child(2){
    top: 11px;
    transform-origin: right;
}
.index-header-bth span:nth-child(3){
    top: 22px;
    transform-origin: left;
}
.index-header-bth.active span:nth-child(1){
    transform: scale(0, 1);
    transform-origin: right;
}
.index-header-bth.active span:nth-child(2){
    transform: scale(0, 1);
    transform-origin: left;
}
.index-header-bth.active span:nth-child(3){
    transform: scale(0, 1);
    transform-origin: right;
}
.index-header-bth span:nth-child(4){
   position: absolute;
   transform: rotate(45deg) scale(0, 1);
   transition: all .3s linear;
    top: 22px;
    left: 6px;
}
.index-header-bth span:nth-child(5){
   position: absolute;
   transform: rotate(-45deg) scale(0, 1);
   transition: all .3s linear;
   top: 22px;
    left: 6px;
}
.index-header-bth.active span:nth-child(4){

   transform: rotate(45deg) scale(1, 1);

}
.index-header-bth.active span:nth-child(5){

   transform: rotate(-45deg) scale(1, 1);

}
.header-block{
    width: 100%;
    display: block;
    background-color: #FFF;
    position: relative;
    text-align: right;
    font-size: 0;
}
#index-header .header-block{
    display: none;
}
#index-header.header2 .header-block{
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    box-shadow: rgba(0, 0, 0, 0.7) 0px 2px 2px;
}
.header-box{
    width: 1200px;
    max-width: 100%;
    display: inline-block;
    vertical-align: middle;
    padding:5px 0;
}
.header-contact-box{
    margin-left: 20px;
    display: inline-block;
    vertical-align: middle;
}
.header-logo-box{
    display: block;
    float: left;
}
.header-menu{
    font-size: 16px;
    display: block;
    float: right;
    padding: 18px 0;
}
.header-menu li{
    list-style: none;
    display: inline-block;
    padding-left: 30px;
    letter-spacing: 3px;
}
.header-menu li:first-child{
    padding-left: 0;
}
.header-menu li a{
    position: relative;
    transition: all .3s linear; 
}
.header-menu li a:after{
    content: 'normal';
    font-size: 0;
    width: 100%;
    height: 1px;
    display: block;
    position: absolute;
    bottom: -5px;
    left: 0;
    background-color: #39add0;
    transform: scale(0, 1);
    transition: all .3s linear;
}
.index-header-menu-logo{
    padding-left: calc(50% - 600px);
    box-sizing: border-box;
    padding-top: 10px;
}
.index-header-menu-box.active .index-header-menu{
    transform: scale(1);
}
.index-header-menu{
    text-align: center;
    width: 100%;
    height: calc(100vh - 71px);
    transform: scale(1.1);
    display: -webkit-flex;
    display:         flex;
    -webkit-align-items: center;
          align-items: center;
    flex-direction:column;
    justify-content:center;
    transition: all .3s linear
}

.index-header-menu li{
    width: 300px;
    max-width: 100%;
    list-style: none;
    font-size: 20px;
    padding: 20px 0;
    border-top: 1px solid #DBDAD9;
    
}

.index-header-menu li:last-child{
    border-bottom: 1px solid #DBDAD9;
}
.index-header-language{
    width: 300px;
    max-width: 100%;
    font-size: 0;
    display: block;
    padding-bottom: 10px;
}
.index-header-language a{
    width: 50%;
    display: inline-block;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    transition: all .3s linear;
}
.header-language{
    width: 46px;
    margin-right: 20px;
    display:inline-block;
}

/*----------------------------------*/
.rwd-menu{
    width: 59px;
    position: absolute;
    right: 3%;
    top: 45px;
    z-index: 99999;
    display: none;
}
.rwd-menu span{
    width: 40px;
    display: block;
    margin: 0 auto;
    height: 4px;
    background-color: #000;
    position: relative;
}

#index .rwd-menu span{
    background-color: #FFF;
}
.rwd-menu span:nth-child(even){
    margin: 10px auto;
    transition: all .4s linear;
}
.rwd-menu span:nth-child(1){
    transform: scale(1);
    transform-origin: left;
    transition: all .4s linear;
}
.rwd-menu span:nth-child(3){
    transform: scale(1);
    transform-origin: right;
    transition: all .4s linear;
}
.rwd-menu span:nth-child(4){
    top: -28px;
    transform:  scale(0) rotate(-45deg);
}

.rwd-menu.active span:nth-child(odd){
    transform: scale(0);
    transition: all .4s linear;
    transition-delay: 0;
}

.rwd-menu.active span:nth-child(2){
    transform: rotate(45deg);
    transition: all .4s linear;
}
.rwd-menu.active span:nth-child(4){
    transform: scaleX(1) rotate(-45deg);
    transition-delay: 0.3s;
}
.rwd-menu.active span{
    background-color: #FFF;
}