@import url(https://fonts.googleapis.com/css?family=Roboto:400,500,700,900&display=swap);

.header-wrap{
    position: relative;
    z-index: 1;
    /*border-bottom: 2px solid #c3c3c3;*/
}
.header-wrap .container{
    width: auto;
    max-width: 1590px;
    margin: 0 auto;
    padding: 0 20px;
}
.header-wrap img{
    max-width: 100%;
    height: auto;
}
.header-main{
    font-family: 'Roboto', sans-serif;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    min-height: 118px;
}
.logo-main{
    margin-right: 95px;
}
.nav-icon{
    display: none;
}
.nav{
}
    .header-wrap ul,
    .header-wrap li{
        list-style: none;
        margin: 0;
        padding: 0;
    }
    .nav > ul{
        display: flex;
        flex-wrap: wrap;
    }
    .nav > ul > li{
        position: relative;
        padding-right: 52px;
    }
    .nav > ul > li:last-child{
        margin-right: 0;
    }
    .nav > ul > li > a{
        display: block;
        /*height: 118px;
        line-height: 108px;*/
        padding: 15px 0;
        color: #336699;
        text-decoration: none;
        font-size: 18px;
    }
    .nav > ul > li.active > a{
        font-weight: bold;
        color: #0397d6;
    }
    @media(min-width: 1200px){
        .nav > ul > li > a{
            -moz-transition: all 0.3s ease;
            -webkit-transition: all 0.3s ease;
            transition: all 0.3s ease;
        }
    }
    @media(min-width: 768px){
        .nav > ul > li > a:hover,
        .nav > ul > li:hover > a{
            color: #ff840c;
        }
        .nav > ul > li:hover > ul{
            display: block;
        }
    }
        .nav > ul > li > ul{
            display: none;
            position: absolute;
            left: 0;
            top: 100%;
            background: #1E93C6;
            width: 280px;
        }
        .nav > ul > li > ul li{
            border-bottom: 1px solid #1E5F8D;
        }
        .nav > ul > li > ul li:last-child{
            border-bottom: none;
        }
        .nav > ul > li > ul li a{
            font-size: 16px;
            color: #fff;
            display: block;
            padding: 9px 7px 9px 30px;
            -moz-transition: all 0.5s ease;
            -webkit-transition: all 0.5s ease;
            transition: all 0.5s ease;
        }
        .nav > ul > li > ul li a:hover{
            text-decoration: none;
            color: #336699;
        }
.phone-wrap{
    margin-left: auto;
    padding-bottom: 10px;
}
    .phone-wrap a{
        font-size: 24px;
        color: #ff840c;
        text-decoration: none;
        font-weight: bold;
    }
    .phone-wrap a img,
    .phone-wrap a span{
        display: inline-block;
        vertical-align: middle;
    }

@media(max-width: 1700px){
    .header-wrap .container{
        max-width: 1400px;
    }
}

@media(max-width: 1400px){
    .header-wrap .container{
        max-width: 1170px;
    }
    .nav > ul > li{
        padding-right: 30px;
    }
}
@media(max-width: 1280px){
    .header-wrap .container{
        max-width: 100%;
    }
    .logo-main{
        margin-right: 35px;
    }
    .nav > ul > li{
        padding-right: 13px;
    }
    .nav > ul > li > a{
        font-size: 16px;
    }
    .phone-wrap a{
        font-weight: bold;
        font-size: 20px;
    }
}
@media(max-width: 992px){
    body{
        padding-top: 71px;
    }
    .header-wrap{
        position: fixed;
        left: 0;
        top: 0;
        width: 100%;
        background: #fff;
    }
    .header-main{
        min-height: inherit;
    }
    .header-wrap .container{
        padding: 10px 5px 6px;
    }
    .logo-main{
        width: 150px;
    }
    .nav-icon {
        display: inline-block;
        cursor: pointer;
        position: absolute;
        right: -2px;
        top: 9px;
        z-index: 1;
        width: 55px;
        height: 55px;
        border-radius: 50%;
        text-align: center;
        padding-top: 2px;
        z-index: 99999;
    }
        .nav-icon:before, .nav-icon:after {
            content: '';
            background-color: #444545;
            width: 22px;
            height: 2px;
            top: 32px;
            -webkit-transition: all ease .3s;
            -moz-transition: all ease .3s;
            -ms-transition: all ease .3s;
            -o-transition: all ease .3s;
            transition: all ease .3s;
            position: absolute;
            right: 15px;
        }
        .nav-icon:before {
            top: 16px;
        }
        .nav-icon span {
            position: absolute;
            right: 15px;
            top: 24px;
            background-color: #444545;
            width: 22px;
            height: 2px;
            display: inline-block;
        }
        .nav-icon.change-navicon:before {
            -webkit-transform: rotate(45deg);
            -moz-transform: rotate(45deg);
            -ms-transform: rotate(45deg);
            -o-transform: rotate(45deg);
            transform: rotate(45deg);
            top: 23px;
        }
        .nav-icon.change-navicon span {
            background-color: transparent !important;
        }
        .nav-icon.change-navicon:after {
            -webkit-transform: rotate(-45deg);
            -moz-transform: rotate(-45deg);
            -ms-transform: rotate(-45deg);
            -o-transform: rotate(-45deg);
            transform: rotate(-45deg);
            top: 23px;
        }
    .nav{
        position: fixed;
        right: -300px;
        top: 73px;
        background: #0397d6;
        height: calc(100vh - 71px);
        overflow-y: auto;
        width: 300px;
         -moz-transition: all 0.3s ease;
        -webkit-transition: all 0.3s ease;
        transition: all 0.3s ease;

        top: 70px;
        background: #1d6291;
    }
    .nav-open .nav{
        right: 0;
    }
        .nav > ul{
            display: block;
        }
        .nav > ul > li{
            position: relative;
            padding: 0;
            border-bottom: 1px solid #c3c3c3;
        }
        .nav > ul > li.menu-item-has-children{
            padding-right: 40px;
        }
        .nav > ul > li.menu-item-has-children:after {
            position: absolute;
            right: 15px;
            top: 20px;
            content: " ";
            width: 0; 
            height: 0; 
            border-left: 7px solid transparent;
            border-right: 7px solid transparent;
            border-top: 7px solid #fff;
        }
        .nav > ul > li > a{
            font-size: 16px;
            color: #fff;
            height: auto;
            line-height: inherit;
            padding: 14px 0 14px 20px;
            position: relative;
            z-index: 1;
        }
        .nav > ul > li.active > a{
            color: #fff;
        }
        .nav > ul > li.menu-item-has-children > a{
            border-right: 1px solid #c3c3c3;
        }
        .nav > ul > li > ul{
            position: relative;
            width: 100%;
        }
        .nav > ul > li.show-submenu > ul{
            display: block;
            width: calc(100% + 40px);
            border-top: 1px solid #c3c3c3;
        }
        .nav > ul > li > ul li a{
            padding: 9px 7px 9px 40px;
        }
    .phone-wrap{
        position: absolute;
        right: 50px;
        top: 22px;
    }
    .phone-wrap a{
        font-size: 14px;
    }
    .phone-wrap a img{
        display: none;
        max-width: 28px;
    }
}
@media(max-width: 330px){
}