header {
    width: 100%;
    height: auto;
    padding: 30px 30px;
    position: fixed;
    top: 0;
    z-index: 99;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
	-webkit-transition: all 500ms ease-in-out;
	transition: all 500ms ease-in-out;
}
header.active {
    padding: 10px 30px;
    position: fixed;
    background: #fff;
    border-bottom: 1px solid #ebebeb;
}
header .logo{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
header .logo .icon1{
    position: relative;
	margin-right: 20px;
	-webkit-transition: all 450ms ease-in-out;
	transition: all 450ms ease-in-out;
}
header .logo .icon1 .img1{
    position: absolute;
	opacity: 1;
	-webkit-transition: all 450ms ease-in-out;
	transition: all 450ms ease-in-out;
}
header.active .logo .icon1 .img1{
	opacity: 0;
}
header .logo .icon1 .img2{
	opacity: 0;
	-webkit-transition: all 450ms ease-in-out;
	transition: all 450ms ease-in-out;
}
header.active .logo .icon1 .img2{
	opacity: 1;
}
header .logo:hover .icon1{
	-webkit-transform: rotate(180deg);
	transform: rotate(180deg);
}
header.nav-open .logo .icon1{
	-webkit-transform: rotate(180deg);
	transform: rotate(180deg);
}

header .logo .icon2 .img1{
    position: absolute;
	opacity: 1;
	-webkit-transition: all 450ms ease-in-out;
	transition: all 450ms ease-in-out;
}
header.active .logo .icon2 .img1{
	opacity: 0;
}
header .logo .icon2 .img2{
	opacity: 0;
	-webkit-transition: all 450ms ease-in-out;
	transition: all 450ms ease-in-out;
}
header.active .logo .icon2 .img2{
	opacity: 1;
}

header .wrap{
	display: flex;
	justify-content: flex-end;
}
header nav{
    height: inherit;
    line-height: inherit;
    background: transparent;
    box-shadow: none;
    width: 450px;
    margin: 5px 7px;
    text-align: right;
    -webkit-transition: all 450ms ease-in-out;
    transition: all 450ms ease-in-out;
}
header nav a{
    font-size: 14px;
    font-weight: bold;
    margin: 0 20px;
	position: relative;
}
header nav a:hover{
	color: #69cef1;
}
header nav a.act::after{
    content: '.';
    color: transparent;
    width: 100%;
    position: absolute;
    bottom: -10px;
    left: 0;
    border-bottom: 3px solid #69cef1;
}
header.active nav a.act::after {
    bottom: -22px;
}
header.active nav a{
    color: #2055a6;
}
header.active nav a:hover{
    color: #69cef1;
}

header .btns-box{
    float: right;
    display: flex;
    width: 202px;
}
header .btns-box .btn{
    height: 33px;
    line-height: 29px;
    font-size: 13px;
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}
header .btns-box .btn:hover{
	background: #2055a6;
    border: none;
    border: 2px solid #2055a6;
}
header.active .btns-box .btn{
    height: 36px;
    line-height: 36px;
	font-size: 14px;
    border: none;
}
header .btns-box .login{
    font-size: 14px;
    font-weight: bold;
    margin-left:20px;
	color: #fff;
    padding-top: 6px;
}
header.active .btns-box .login{
    color: #2055a6;
}
header.active .btns-box .btn {
    background: #1f54a6;
    color: #fff;
}
header.active .btns-box .btn:hover {
    background: #fff;
    color: #1f54a6;
}

header .phone{
    color: #fff;
    float: right;
    display: table;
    margin-right: 25px;
    font-weight: bold;
	display: flex;
	align-items: center;
}
header.active .phone{
    color: #2055a6;
}
header .phone i{
    margin-right: 13px;
	position: relative;
}
header .phone i .img1{
	opacity: 1;
    position: absolute;
	-webkit-transition: all 450ms ease-in-out;
	transition: all 450ms ease-in-out;
}
header .phone i .img2{
	opacity: 0;
	-webkit-transition: all 450ms ease-in-out;
	transition: all 450ms ease-in-out;
}
header.active .phone i .img1{
	opacity: 0;
}
header.active .phone i .img2{
	opacity: 1;
}

@media all and (max-width:1150px){
	header nav{
    	margin: 5px 0 0;
	}
}
@media all and (max-width:920px){
	header {
    padding: 30px 30px 0;
}
	header nav{
		display: none;
	}
	header .wrap{
		width: auto;
	}
header.nav-open .logo .icon1 .img1{
	opacity: 0;
}
header.nav-open .logo .icon1 .img2{
	opacity: 1;
}
header.nav-open .logo .icon2 .img1{
	opacity: 0;
}
header.nav-open .logo .icon2 .img2{
	opacity: 1;
}
}

@media all and (max-width:500px){
	header {
    display: block;
}
	header,
	header.active{
    padding-right: 0;
}
}

