html,
body {
    position: relative;
    margin: 0;
    padding: 0;
    font-size: 16px;
    font-family: 'FiraSans-Regular', 'open sans', 'Pingfang', 'Microsoft YaHei', 'WenQuanYi Micro Hei', 'sans-serif';
    background-color: #ffffff;
}

@font-face {
    font-family: 'FiraSans-Heavy';
    src: url("/static/font/FiraSans-Heavy.otf") format('truetype');
}

@font-face {
    font-family: 'FiraSans-Bold';
    src: url("/static/font/FiraSans-Bold.otf") format('truetype');
}

@font-face {
    font-family: 'FiraSans-Medium';
    src: url("/static/font/FiraSans-Medium.otf") format('truetype');
}

@font-face {
    font-family: 'FiraSans-Regular';
    src: url("/static/font/FiraSans-Regular.otf") format('truetype');
}

@font-face {
    font-family: 'FiraSans-Light';
    src: url("/static/font/FiraSans-Light.otf") format('truetype');
}

@font-face {
    font-family: 'FiraSans-Thin';
    src: url("/static/font/FiraSans-Thin.otf") format('truetype');
}

@font-face {
    font-family: 'Lato-Bold';
    src: url("/static/font/Lato-Bold.ttf") format('truetype');
}

/**
通用样式定义区
 */
img {
    max-width: 100%;
    border-style: none;
}

a:focus {
    outline: none;
}

.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

/**
主要内容的容器
 */
.content-container {
    position: relative;
    width: 1200px;
    margin: 0 auto;
}

/**
中文版的头部
*/
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    /*line-height: 60px;*/
    /*padding: 10px 60px;*/
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background-color: #ffffff;
    border-bottom: 1px solid #EBEBEB;
    z-index: 100;
}

.header-menu {
    text-align: right;
}

.header-container {
    position: relative;
    width: 1200px;
    margin: 0 auto;
}

.header-nav-logo {
    margin-top: 13px;
    height: 54px;
}

.header-nav-link {
    position: relative;
    display: inline-block;

}

.header-nav-link > a {
    position: relative;
    display: inline-block;
    line-height: 80px;
    margin: 0 15px;
    color: #282B31;
    text-decoration: none;
    font-family: FiraSans-Regular;

    font-size: 16px;
    text-shadow: 0 2px 4px rgba(245, 245, 245, 0.17);
}

.header-nav-link .header-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #58975F;
    opacity: 0;

    -webkit-transition: opacity .2s;
    -moz-transition: opacity .2s;
    -ms-transition: opacity .2s;
    -o-transition: opacity .2s;
    transition: opacity .2s;
}

.header-nav-link:hover > .header-border {
    opacity: 1;
}

.sm-menu-toggle {
    display: none;
}

.sm-menu-header {
    display: none;
}

.header-menu {
    text-align: right;
}

.header-placeholder {
    height: 80px;
}

/**
通用的footer
 */
.footer {
    padding: 50px 60px 20px 60px;
    background-color: #353745;
    color: #999EA8;
}

.footer-container {
    position: relative;
    width: 1200px;
    margin: 0 auto;
}

.footer-bottom {
    position: relative;

    padding: 10px;
    width: 1200px;
    margin: 10px auto 0 auto;
    font-size: 12px;
    color: #999EA8;
    letter-spacing: 0;
    line-height: 18px;
}

.footer-bottom a {
    text-decoration: none;
    color: #999EA8;
}

.footer-bottom:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 0;
    border-top: 1px solid #aaa;

    -webkit-transform: scaleY(0.5);
    -moz-transform: scaleY(0.5);
    -ms-transform: scaleY(0.5);
    -o-transform: scaleY(0.5);
    transform: scaleY(0.5);
}

.footer-logo {
    width: 85%;
}
.footer-qrcode{
    width: 130px;
}
.footer-txt1 {
    padding-left: 102px;
    font-size: 14px;
    color: #999EA8;
    letter-spacing: 0;
    line-height: 26px;
}

.footer-title {
    display: block;
    font-size: 14px;
    font-weight: bold;
    color: #999EA8;
    letter-spacing: 0.8px;
    line-height: 42px;
    text-decoration: none;
}

.footer-link {
    display: block;

    text-decoration: none;
    font-size: 14px;
    color: #999EA8;
    letter-spacing: 0.8px;
    line-height: 33px;

    -webkit-transition: color .2s ease;
    -moz-transition: color .2s ease;
    -ms-transition: color .2s ease;
    -o-transition: color .2s ease;
    transition: color .2s ease;
}

.footer-link:hover {
    color: #565656;
}

/*-------- 导航菜单 ---------*/
.nav-menu {
    position: relative;
    margin: 0;
    padding: 0;
    height: 80px;
    background-color: transparent;
    list-style-type: none;
}

.nav-menu-item {
    position: relative;
    display: inline-block;
    margin: 0;
    padding: 0 15px;
    line-height: 80px;
}

.nav-menu-item > span,
.nav-menu-item > a {
    display: block;
    color: #282B31;
    text-decoration: none;
    cursor: pointer;
}



.sub-nav-menu {
    position: absolute;
    display: none;
    left: 100%;
    top: 0;
    margin: 0;
    padding: 0;
    list-style-type: none;

    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
    text-align: left;

    background-color: #FFFFFF;
    -webkit-box-shadow: 0 0 3px 0 #999;
    -moz-box-shadow: 0 0 3px 0 #999;
    box-shadow: 0 0 3px 0 #999;

    -webkit-transform: translateY(-10px);
    -moz-transform: translateY(-10px);
    -ms-transform: translateY(-10px);
    -o-transform: translateY(-10px);
    transform: translateY(-10px);

    -webkit-transition: all .2s ease;
    -moz-transition: all .2s ease;
    -ms-transition: all .2s ease;
    -o-transition: all .2s ease;
    transition: all .2s ease;
}

.sub-nav-menu span,
.sub-nav-menu a {
    display: block;
    width: 180px;
    height: 45px;
    line-height: 45px;
    text-decoration: none;
    color: #282B31;
}
.sub-nav-menu span.long,
.sub-nav-menu a.long {
    width: 320px;
}
.sub-nav-menu-item {
    position: relative;
    margin: 0;
    padding: 0 15px;
    text-align: left;

    -webkit-transition: background-color .2s;
    -moz-transition: background-color .2s;
    -ms-transition: background-color .2s;
    -o-transition: background-color .2s;
    transition: background-color .2s;
}

.sub-nav-menu-item:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    border-bottom: 1px solid #ccc;

    -webkit-transform: scaleY(0.5);
    -moz-transform: scaleY(0.5);
    -ms-transform: scaleY(0.5);
    -o-transform: scaleY(0.5);
    transform: scaleY(0.5);
}

.sub-nav-menu-item:last-child:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    border-bottom: none;

}

.sub-nav-menu-item:hover {
    background-color: rgba(245, 245, 245, 0.9);
}

.sub-nav-menu-item:hover > .sub-nav-menu {
    display: block;
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
}

.has-sub > .sub-nav-menu {
    position: absolute;
    left: 0;
    top: 80px;
}

.sub-hover:hover > .sub-nav-menu {
    display: block;
}

.header-border {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: transparent;
    opacity: 0;

    -webkit-transition: opacity .2s;
    -moz-transition: opacity .2s;
    -ms-transition: opacity .2s;
    -o-transition: opacity .2s;
    transition: opacity .2s;
}

.nav-menu-item:hover > .header-border {
    background-color: #fff;
}


/* start of media screen max width 768px */
@media screen and (max-width: 768px) {
    .header-container{
        width: 100%;
    }
    .nav-menu-con{
        
        overflow: auto;
    }
    .nav-menu{
        height: auto;
    }
    .header-nav-logo {
        margin: 13px 0 0 15px;
    }

    /** --------------- **/
    .header-menu {
        position: fixed;
        top: 0;
        right: 0;
        height: 100%;
        width: 60%;
        text-align: left;
        background-color: #fff;
        box-shadow: -4px 0px 20px 0px rgba(0, 0, 0, 0.1);

        -webkit-transition: transform .36s;
        -moz-transition: transform .36s;
        -ms-transition: transform .36s;
        -o-transition: transform .36s;
        transition: transform .36s;

        -webkit-transform: translate3d(100%, 0, 0);
        -moz-transform: translate3d(100%, 0, 0);
        -ms-transform: translate3d(100%, 0, 0);
        -o-transform: translate3d(100%, 0, 0);
        transform: translate3d(100%, 0, 0);
    }

    .sm-menu-header {
        display: block;
        padding: 15px;
        border-bottom: 1px solid #ccc;
    }

    .header-menu.active {
        -webkit-transform: translate3d(0, 0, 0);
        -moz-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
        -o-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }

    .sm-menu-toggle {
        display: block;
        position: fixed;
        top: 0;
        right: 0;
        line-height: 90px;
        padding-right: 15px;
    }

    .sm-menu-toggle > img {
        width: 24px;
    }

    .mobile-menu-icon {
        width: 24px;
    }
    /** --------------- **/
    .nav-menu-item{
            display: block;
            margin: 0;
            padding: 0 0;
            line-height: 40px;
            font-weight: bold;
           
            color: rgba(88, 151, 95, 1);
            -webkit-box-shadow: 0 0 0;
            -moz-box-shadow: 0 0 0;
            box-shadow: 0 0 0;
    }
    
    .nav-menu-item>span,
    .nav-menu-item>a {
         padding: 0 15px;
         color: rgba(88, 151, 95, 1);
    }
    
    .sub-nav-menu{
        position: static;
        
    }
    
    .has-sub > .sub-nav-menu{
        position: relative;
        display: none;
        top: 10px;
        color: rgba(153, 158, 168, 1);
        background-color: rgba(244, 245, 250, 1);
        -webkit-transform: translateY(-10px);
        -moz-transform: translateY(-10px);
        -ms-transform: translateY(-10px);
        -o-transform: translateY(-10px);
        transform: translateY(-10px);
    }
    .sub-nav-menu.menu-active{
        display: block;
    }
    
    .sub-nav-menu-item{
        position: relative;
        padding: 0 0 0 15px;
    }
    .sub-nav-menu-item:after{
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 0;
        border-bottom: 1px solid #ccc;

        -webkit-transform: scaleY(0.5);
        -moz-transform: scaleY(0.5);
        -ms-transform: scaleY(0.5);
        -o-transform: scaleY(0.5);
        transform: scaleY(0.5);   
     }

    .footer{
        padding: 50px 15px 20px 15px;
        background-color: #353745;
        color: #999EA8;
    }
    
    .footer-container {
        position: relative;
        width: 100%;
        margin: 0 auto;
        box-sizing: border-box;
    }
    .footer-logo-con{
        width: 100%;
    }
    .footer-bottom {
        position: relative;
        padding: 10px;
        width: 100%;
        margin: 10px auto 0 auto;
        font-size: 12px;
        color: #999EA8;
        letter-spacing: 0;
        line-height: 18px;
        box-sizing: border-box;
    }
    .footer-bottom a{
        display: block;
    }


}
/* end of media screen max width 768px */
