/*
 *  Filename      : cbmie-header.css
 *	Version       : 1.0.1
 *	Author	      : Bootiny
 *	Website	      : http://www.cnbminternational.com/
 *	Description   : 顶部导航栏 样式
 *  Copyright 2016 (c)
 */

/**
 * 导航基础样式
 -----------------------------*/
.site-header {
    border-bottom: 4px solid #DD0200;
    width: 100%;
    background: white;
    z-index: 501;
    top: 0;
}

.site-branding {
    float: left;
    position: relative;
    padding: 0 !important;
    margin: 15px 0px 15px -50px;
}

.site-title {
    margin: 0;
}

.site-title img{
    /*width: 100%;*/
}

.site-top {
    margin: 0;
}

.site-top .lower {
    position: relative;
    display: inline-block;
    float: right;
    padding-right: 0 !important;
}

.site-top ul {
    opacity: 1 !important;
}

.lower nav {
    width: 812px;
    float: right;
}

.lower nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: inline-block;
    float: left;
    opacity: 0;
    -moz-transition: opacity 300ms ease-out;
    -o-transition: opacity 300ms ease-out;
    -webkit-transition: opacity 300ms ease-out;
    transition: opacity 300ms ease-out;
}

.lower nav ul li {
    float: left;
    position: relative;
    width: 110px;
    text-align: center;
    margin: 0;
}

.lower nav ul li:hover a{
    color: #b63b4d;
}

.lower nav ul li a {
    display: inline-block;
    color: #333;
    font-size: 16px;
    width: 90px;
    height: 89px;
    line-height: 89px;
    margin: 0 10px;
}

.nav-main .current a{
    color: #b63b4d;
}

.top-bar {
    border-bottom: 1px solid #E5E5E5;
    float: right !important;
    text-align: right;
    height: 42px;
    line-height: 42px;
}

.top-bar span {
    margin-right: 5px;
}

.top-bar span i{
    margin: 0 5px;
}

.top-bar span a{
    color: #000;
}

.top-bar span .lan-current{
    color: #DD0200;
}

.top-bar #search-btn{
    font-size: 20px;
    cursor: pointer;
}

/**
 * 页头搜索框
 -----------------------------*/
#head-searchBox {
    display: none;
    position: absolute;
    width: 350px;
    top: 46px;
    right: 15px;
    margin-left: -20px;
    z-index: 20;
    padding: 20px;
    border: 1px solid #E0E0E0;
    background: rgb(255, 255, 255);
}

.triangle, #head-searchBox .triangle, .dropBox .triangle {
    height: 15px;
    overflow: hidden;
    position: absolute;
    top: -15px;
    width: 320px;
    right: 0;
    display: none\9;
}

.triangle:before, #head-searchBox .triangle:before, .dropBox .triangle:before {
    content: "";
    position: absolute;
    top: 5px;
    right: 25px;
    width: 20px;
    height: 20px;
    border: 1px solid #ddd;
    -webkit-transform: rotate(45deg);
    -moz-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    -o-transform: rotate(45deg);
    transform: rotate(45deg);
    background-color: #fff;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#fff));
    background-image: -webkit-linear-gradient(top, #fff, #fff);
    background-image: -moz-linear-gradient(top, #fff, #fff);
    background-image: -o-linear-gradient(top, #fff, #fff);
    background-image: linear-gradient(to bottom, #fff, #fff);
}

#head-searchBox div:nth-child(2) {
    height: 36px;
    position: relative;
}

#head-searchBox input[type="text"] {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    border: 1px solid #ccc;
    height: 34px;
    padding: 0 10px;
}

.placeholder {
    font-weight: normal !important;
    color: #aaa !important;
}

#head-searchBox input[type="button"] {
    width: 32px;
    height: 32px;
    border: 0;
    position: absolute;
    background: url(../images/searchBtn.jpg) 0px 0px;
    z-index: 2;
    right: 0;
    top: 0;
}

/**
 * 导航自适应部分 width小于1200
 -----------------------------*/
@media screen and (max-width: 1200px){
    .lower nav{
        width: 672px;
    }

    .lower nav ul li {
        width: 90px;
    }

    .lower nav ul li a {
        display: inline-block;
        color: #333;
        font-size: 14px;
        width: 70px;
        height: 76px;
        line-height: 76px;
        margin: 0 10px;
    }
}



/**
 * 导航自适应部分 width小于991
 -----------------------------*/
#mobile-nav {
    display: none;
}
#mobile-head {
    display: none;
}
#mobile-banner {
    display: none;
}
@media screen and (max-width: 991px){
    #mobile-banner {
        display: block;
        padding-top: 90px;
    }

    #mobile-banner img {
        width: 100%;
    }

    #mobile-head {
        display: block;
        background-color: #FFF;
        width: 100%;
        position: fixed;
        z-index: 500;
        height: 90px;
        filter:alpha(opacity=85);
        -moz-opacity:0.85;
        -khtml-opacity: 0.85;
        opacity: 0.85;
    }
	
	.mobile-gd{
	display: none;	
	}
	


    #mobile-head a img {
        margin: 20px 0;
    }

    #mobile-nav {
        display: block;
    }

    #mobile-nav a {
        cursor: pointer;
    }
    .site-header{
        position: initial;
        border-bottom: none;
    }
    .navOpen {
        overflow: hidden;
    }
    .wrapper {
        transition-duration: 0.5s;
        transition-timing-function: initial;
        background-color: white;
        width: 100%;
        height: 100%;
        position: relative;
    }
    .wrapper.open {
        transform: translateX(-250px) translateY(50px);
        -webkit-transform: translateX(-250px) translateY(50px);
        box-shadow: 0 0 50px rgba(0, 0, 0, 0.2);
    }
    .wrapper section {
        max-width: 600px;
        margin: 0 auto;
    }
    .wrapper section h1 {
        font-weight: 300;
        font-size: 30px;
        margin-bottom: 10px;
    }
    .wrapper section h2 {
        font-weight: 300;
        font-size: 20px;
        margin-bottom: 40px;
    }
    .wrapper section p {
        margin-bottom: 40px;
    }
    .openNav {
        transition-duration: 0.5s;
        transition-timing-function: initial;
        width: 50px;
        height: 50px;
        background-color: #B63B4D;
        position: fixed;
        top: 20px;
        right: 20px;
        z-index: 501;
    }
    .openNav:hover {
        cursor: pointer;
    }
    .openNav .icon {
        transition-duration: 0.2s;
        position: absolute;
        width: 30px;
        height: 2px;
        background-color: white;
        top: 24px;
        left: 10px;
    }
    .openNav .icon:before,
    .openNav .icon:after {
        transition-duration: 0.5s;
        background-color: white;
        position: absolute;
        content: "";
        width: 30px;
        height: 2px;
        left: 0px;
    }
    .openNav .icon:before {
        top: -7px;
    }
    .openNav .icon:after {
        top: 7px;
    }
    .openNav.open {
        transform: translateX(-250px) translateY(50px);
        -webkit-transform: translateX(-250px) translateY(50px);
    }
    .openNav.open .icon {
        background-color: transparent;
    }
    .openNav.open .icon:before,
    .openNav.open .icon:after {
        top: 0;
    }
    .openNav.open .icon:before {
        transform: rotate(-45deg);
        -webkit-transform: rotate(-45deg);
    }
    .openNav.open .icon:after {
        transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
    }
    #mobile-nav {
        background-color: #B63B4D;
        width: 100%;
        height: 100%;
        position: fixed;
        left: 0;
        top: 0;
    }
    #mobile-nav ul {
        width: 250px;
        margin-top: 50px;
        float: right;
    }
    #mobile-nav ul:hover li {
        color: rgba(255, 255, 255, 0.5);
    }
    #mobile-nav ul li {
        transition-duration: 0.25s;
        display: block;
        padding: 5px 40px;
        letter-spacing: 0.02em;
        text-align: left;
    }
    #mobile-nav ul li a{
        font-size: 16px;
        color: white;
    }
    #mobile-nav li:hover ul {
        left: auto;
    }
    #mobile-nav li.sfhover ul {
        left: auto;
    }
    #mobile-nav ul.collapsed {
        display: none;
    }
    .expanded {
        margin-top: 0px !important;
        width: 170px !important;
    }
    .expanded li {
        color: #F7D4DA !important;
        border-bottom: 4px solid #fbf5f6;
        text-align: left !important;
        line-height: 20px;
        padding-left: 0 !important;
    }
}

/*隐藏盒子设置*/
@media screen and (min-width: 1200px) {
    .hidden-box {
        display: none;
        position: absolute;
        z-index: 501;
        width: 380px;
        height: 194px;
        border-top: 4px solid #DD0200;
        background:#F3F3F3;
        color:#333;
        filter:progid:DXImageTransform.Microsoft.Shadow(color=#777,direction=120,strength=3);/*ie*/
        -moz-box-shadow: 5px 5px 5px #777;/*firefox*/
        -webkit-box-shadow: 5px 5px 5px #777;/*safari或chrome*/
        box-shadow: 5px 5px 5px #777;/*opera或ie9*/
        top: 89px;
    }
 
    .hidden-box > ul{
        list-style-type: none;
        color: #ff3e3e;
        cursor: pointer;

    }  
	.hidden-box li:hover{
        background: #ff3e3e;
        color: #fff;
    }

    /*隐藏盒子位置设置*/
    .nav-about {
        left: 127px;
        /*height: 218px;*/
    }

    .nav-plan {
        width: 375px;
        left: 240px;
    }
    .nav-news {
        width: 375px;
        left: 350px;
    }

    .nav-innovate {
        width: 375px;
        left: 460px;
    }

    .nav-party {
        left: 296px;
    }

    .nav-join {
        width: 375px;
        left: 432px;
    }

    .dropBox {
        width: 380px;
        height: 194px;
        padding: 20px 25px;
    }
    

    .thin-td {
        width: 370px !important;
    }

    .dropBox table {
        float: left;
        color: #111;
        font-size: 15px;
    }

    .dropBox table tr td{
        width: 92px;
        height: 22px;
        letter-spacing: 1px;
        vertical-align: top;
    }

    .dropBox table tr td a{
        color: #111;
        cursor: pointer;
    }

    .dropBox table tr td a:hover{
        color: #b63b4d;
    }

    .dropBox img {
        float: right;
        border: 2px solid #FFF;
    }

    .dropBox .triangle:before {
        left: 0px;
        border: none;
        background-color: #DD0200;
        background-image: -webkit-gradient(linear, left top, left bottom, from(#DD0200), to(#DD0200));
        background-image: -webkit-linear-gradient(top, #DD0200, #DD0200);
        background-image: -moz-linear-gradient(top, #DD0200, #DD0200);
        background-image: -o-linear-gradient(top, #DD0200, #DD0200);
        background-image: linear-gradient(to bottom, #DD0200, #DD0200);
    }

    .triangle, .dropBox .triangle {
        width: 20px;
        left: 45px;
    }

    .nav-innovate .right-tri {
        left: 280px !important;
    }

    .nav-party .right-tri {
        left: 380px !important;
    }

    .nav-join .right-tri {
        left: 298px;
    }
}

@media (max-width: 1199px) and (min-width: 992px) {
    .nav-about {
        left: 132px;
        height: 206px !important;
    }

    .nav-plan {
        width: 340px !important;
        left: 222px;
    }

    .nav-news {
        width: 340px !important;
        left: 313px;
    }

    .nav-innovate {
        width: 340px !important;
        left: 180px;
    }

    .nav-party {
        left: 200px;
    }

    .nav-join {
        width: 340px !important;
        left: 355px;
    }

    .nav-innovate .right-tri {
        left: 268px !important;
    }

    .nav-party .right-tri {
        left: 338px !important;
    }

    .nav-join .right-tri {
        left: 272px !important;
    }

    .hidden-box {
        display: none;
        position: absolute;
        z-index: 501;
        top: 76px;
        width: 430px;
        height: 182px;
        border-top: 4px solid #DD0200;
        background:#F3F3F3;
        color:#333;
        filter:progid:DXImageTransform.Microsoft.Shadow(color=#777,direction=120,strength=3);/*ie*/
        -moz-box-shadow: 5px 5px 5px #777;/*firefox*/
        -webkit-box-shadow: 5px 5px 5px #777;/*safari或chrome*/
        box-shadow: 5px 5px 5px #777;/*opera或ie9*/
    }

    .dropBox {
        width: 430px;
        height: 178px;
        padding: 15px 18px;
    }

    .thin-td {
        width: 340px !important;
    }

    .dropBox table {
        float: left;
        color: #111;
        font-size: 13px;
    }

    .dropBox table tr td{
        width: 78px;
        height: 32px;
        letter-spacing: 1px;
        vertical-align: top;
    }

    .dropBox table tr td a{
        color: #111;
        cursor: pointer;
    }

    .dropBox table tr td a:hover{
        color: #b63b4d;
    }

    .dropBox img {
        float: right;
        border: 2px solid #FFF;
    }

    .dropBox .triangle:before {
        left: 0px;
        border: none;
        background-color: #DD0200;
        background-image: -webkit-gradient(linear, left top, left bottom, from(#DD0200), to(#DD0200));
        background-image: -webkit-linear-gradient(top, #DD0200, #DD0200);
        background-image: -moz-linear-gradient(top, #DD0200, #DD0200);
        background-image: -o-linear-gradient(top, #DD0200, #DD0200);
        background-image: linear-gradient(to bottom, #DD0200, #DD0200);
    }

    .triangle, .dropBox .triangle {
        width: 20px;
        left: 45px;
    }
}

.top-bar .header-rmt-border-top{
    background-color:#DE2122;
    display: block;
    height: 1px;
    position: absolute;
    left: 0;
    top: 41px;
    z-index: 502;
    width: 33px;
}

@media (min-width: 768px) {
    .top-bar {
        width: 60% !important;
    }
}

/*2017新增样式*/
.top-bar span img {
    display: inline-block;
    margin-right: 5px;
    margin-bottom: 2px;
    margin-left: 10px;  /*1月3日修改*/
}


/*移动端菜单部分 增加中英文切换入口*/
@media screen and (max-width: 991px) {
    #language {
        display: block;
        float: right;
        width: 250px;
        margin-top: 45px;
        padding-left: 40px;
        color: #FFF;
        font-size: 14px;
    }

    #language a {
        color: #FFF;
    }
}