/* navbar */
.w1200{width: 1200px;margin: 0 auto;}
.navbar{
    width: 100%;
    height: 74px;
    background: #305bbd;
    box-sizing: border-box;
    padding-top: 16px;
}
.navbar .logo{
    width: 220px;
    height: 44px;
    float: left;
}
.navbar .nav{
    float: right;
    width: 920px;
    margin-top: 4px;
}
.navbar .item{
    width: 130px;
    border-left: 1px solid #fff;
    border-right: 1px solid #fff;
    position: relative;
    margin: 6px 0;
    z-index: 9;
    float: left;
    box-sizing: border-box;
}
.navbar .item>a{
    text-decoration: none;
}
.navbar .item a{
    color: #fff;
    text-align: center;
    font-size: 18px;
    line-height: 28px;
    width: 100%;
    display: block;
    overflow: hidden;
}
.navbar .item:first-child{
    border-left: none;
}
.navbar .item.active a{
    position: relative;
    z-index: 4;
    color: #305bbd;
    font-weight: bold;
}
.navbar .item.active{
    box-sizing: border-box;
}
.navbar .item.active .subNav{
    display: block;
    transition: all .7s;
}
.navbar .active .subNav{
    background: #fff;
}
.navbar .item .subNav{
    display: none;
    position: absolute;
    left: 0;
    width: 116px;
    top: -17px;
    padding-top: 67px;
    border-top: 6px solid #ae8861;
    border-radius: 8px;
    box-sizing: border-box;
    padding-bottom: 14px;
    right: 0;
    margin: 0 auto;
}
.navbar .item .subNav li a{
    font-size: 14px;
    line-height: 39px;
    font-weight: initial;
}
.navbar .item .subNav li {
    border-bottom: 1px solid #d5def0;
    box-sizing: border-box;
    margin: 0 8px;
}

/* navbar end */

/* footer */
.footer{
    width: 100%;
    height: 230px;
    background: url(../images/footer-bg.jpg) no-repeat top center;
}
.footer .col{
    box-sizing: border-box;
    padding-top: 63px;
}
.footer .img{
    width: 246px;
	height: 49px;
    margin: 0 auto 30px;
}
.footer p{
    font-size: 16px;
	font-weight: normal;
	font-stretch: normal;
	line-height: 34px;
	letter-spacing: 0px;
	color: #ffffff;
    text-align: center;
}
.footer p a{
	color: #ffffff;
}
/* footer end */

@media screen and (max-width: 768px){
    /* footer */
    .footer{
        height: auto;
    }
    .footer .col{
        padding: .8rem 0 .6rem;
    }
    .footer .img{
        width: 50%;
        height: auto;
        margin-bottom: .2rem;
    }
    .footer p{
        font-size: 14px;
    }
    /* footer end */

    /* navbar */
    .navbar{
        width: 100%;
        height: 1rem;
        padding: .16rem .2rem;
        display: flex;
        align-items: center;
        position: relative;
    }
    .navbar .logo{
        width: 3rem;
        height: auto;
    }
    .navbar .logo img{
        width: 100%;
    }
    .navbar .nav{
        display: none;
        position: absolute;
        top: 0;
        right: 0;
        width: 2.8rem;
        height: auto;
        background: #305bbd;
        z-index: 10;
        margin-top: 0;
    }
    .navbar .item .subNav{
        display: none;
        position: initial;
        padding: 0;
        width: 100%;
        border-top: 2px solid #ae8861;
        border-radius: 0;
        height: 0;
        opacity: 0;
    }
    .navbar .item a{
        text-align: left;
        width: auto;
        display: initial;
        font-size: 17px;
    }
    .navbar .item{
        width: 100%;
        padding: 0.2rem;
        border: none;
        float: none;
        text-align: left;
    }
    .navbar .item:first-child::before{
        background: none;
    }
    .navbar .item::before{
        content: "";
        display: block;
        overflow: hidden;
        position: absolute;
        width: 8px;
        height: 13px;
        background: url(../images/icon.png) no-repeat;
        background-size: 100% 100%;
        transform: rotate(90deg);
        right: .3rem;
        top: .4rem;
        transition: all .5s;
    }
    .navbar .item.active .subNav{
        height: auto;
        opacity: 1;
    }
    .navbar .item.active::before{
        transform: rotate(-90deg);
    }
    .navbar .item.active>a{
        color: #fff;
        font-weight: bold;
    }
    .navbar .item .subNav li{
        margin: 0;
        box-sizing: border-box;
        padding-left: .3rem;
    }
    .navbar .icon{
        width: .4rem;
        height: .24rem;
        display: block;
        overflow: hidden;
        background: url(../images/icon3.png) no-repeat;
        background-size: 100% 100%;
        position: absolute;
        top: 50%;
        right: .3rem;
        transform: translateY(-50%);
    }
    .navbar .close{
        width: 0.45rem;
        height: 0.45rem;
        background: url(../images/nav-close.jpg) no-repeat;
        background-size: 100% 100%;
        position: absolute;
        top: 0.35rem;
        right: 0.15rem;
        z-index: 11;
        display: none;
    }
    /* navbar end */
}