/*---------*/
/* nav bar */
/*---------*/
.navbar.theme {
    background-color: #003d9a;
    border-radius: 0;
    box-shadow: 0 4px 3px rgba(0, 0, 0, .3);
    margin-bottom: 15px;
    font-size: 18px;
}

.navbar.theme .nav li.dropdown {
    text-align: center;
}

.navbar.theme .nav li.dropdown.thin .dropdown-toggle {
    width: 160px;
}

.navbar.theme .dropdown-menu li > p {
    background-repeat: no-repeat;
    background-position: 10px center;
    padding: 3px 10px 3px 35px;
    font-weight: bold;
}

.navbar.theme .dropdown-menu .nav > li {
    float: left;
}

.navbar.theme .dropdown-menu .nav > li > a {
    line-height: 25px;
    padding: 0 5px 0 0;
}

.navbar.theme .navbar-nav > li > a {
    padding-left: 30px;
    padding-right: 30px;
}

.navbar.theme .dropdown-menu .nav {
    padding: 3px 20px;
}

.navbar.theme .dropdown-menu li > p {
    margin-bottom: 0;
}

.navbar.theme .navbar-collapse {
    padding-left: 0;
    padding-right: 0;
}

.navbar.theme .nav li.dropdown {
    text-align: center;
}

.navbar.theme .navbar-nav > .active > a, .navbar.theme .navbar-nav > .active > a:hover, .navbar.theme .navbar-nav > .active > a:focus {
    color: #e1472f;
    background-color: #fff;
}

.navbar.theme .navbar-nav > li > a:hover, .navbar.theme .navbar-nav > li > a:focus {
    color: #fff;
    background-color: #02488c;
}

.navbar.theme .navbar-nav > li > a {
    color: white;
}

/*dropdown menu*/
.dropdown-menu > li > a > h4 {
    color: #727070;
    text-align: center;
    line-height: 30px;
    margin-top: 0px;
    margin-bottom: 0px;
}

.navbar-primary-p-1 {
    background-image: url('/resources/images_new/nav_1_1.png');
}

.navbar-primary-p-2 {
    background-image: url('/resources/images_new/nav_1_2.png');
}

.navbar-primary-p-3 {
    background-image: url('/resources/images_new/nav_1_3.png');
}

.navbar-primary-p-4 {
    background-image: url('/resources/images_new/nav_1_4.png');
}

.navbar-primary-p-5 {
    background-image: url('/resources/images_new/nav_1_5.png');
}

.hot > a {
    color: #ff4201;
}

.navbar-nav > li.dropdown.open > a {
    color: #fff;
    background-color: #02488c;
}

.navbar-nav .dropdown-menu > li > a:hover > h4 {
    color: #e1472f;
}

#myDropdown .dropdown-menu {
    min-width: 100%;
    text-align: center;
    margin-top: 0;
}

.icon-purchase {
    background-color: #003d9a;
    color: white;
    font-size: 12px;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    border-radius: 50% 50% 50% 0;
    position: absolute;
    right: 20px;
    top: -8px;
}

/*gallery stlye*/
.carousel-inner .item img {
    display: inline-block;
}

.carousel-inner .item {
    text-align: center;
}

/*------------------------*/
/* company searchbar 样式 */
/*------------------------*/
.searchbar-brand {
    height: 40px;
    line-height: 40px;
    margin-top: -5px;
}

.qrcode {
    color: grey;
    font-size: 25px;
    margin-left: 5px;
    cursor: pointer;
    position: absolute;
    right: 0;
    top: 7px;
}

.searchbar-company-title {
    display: inline-block;
    border-left: 1px solid #D2D1D1;
    margin-left: 10px;
    padding-left: 12px;
    padding-right: 15px;
    font-size: 24px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    width: 390px;
    position: relative;
}

.searchbar-company-title a.company-title {
    cursor: pointer;
    padding: 20px 0;
    color: #333;
    text-decoration: none;
}

@media screen and (max-width: 768px) {
    .searchbar-company-title {
        border-left: none;
        margin-left: 0;
    }
}

.searchbar .affix {
    z-index: 9999;
    background-color: white;
    top: 0;
    box-shadow: 0 5px 5px #ccc;
    padding: 5px 0;
}

/*----------------------*/
/* 公司评分、推荐、认证 */
/*----------------------*/
.company-badge {
    display: inline-block;
    width: 43px;
    height: 40px;
    background-image: url("/resources/images/company-badge.png");
    vertical-align: middle;
}

.company-badge.a {
    background-position: 0 0;
}

.company-badge.b {
    background-position: -43px 0;
}

.company-badge.c {
    background-position: -86px 0;
}

.company-badge.d {
    background-position: -129px 0;
}

.company-badge.e {
    background-position: -172px 0;
}

.company-badge.f {
    background-position: -215px 0;
}

.company-badge.una {
    background-position: 0 40px;
}

.company-badge.unb {
    background-position: -43px 40px;
}

.company-badge.unc {
    background-position: -86px 40px;
}

.company-badge.und {
    background-position: -129px 40px;
}

.company-badge.une {
    background-position: -172px 40px;
}

.company-badge-table {
    display: none;
    position: absolute;
    top: 50px;
    left: 164px;
    z-index: 2;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, .2);
    width: 500px;
    border: 1px solid #E6E6E6;
}

table.company-badge-table > tbody > tr > td {
    vertical-align: top;
    border-top: none;
}

.searchbar-company-name, .searchbar-company-badge {
    font-size: 22px;
    padding: 10px;
    border-bottom: 1px solid #ccc;
}

.searchbar-company-detail {
    padding-left: 10px;
    min-width: 177px;
    border-right: 1px dashed #ccc;
}

.searchbar-company-score {
    padding-left: 25px;
}

.searchbar-company-score b,
.searchbar-company-evaluate b {
    font-size: 30px;
    line-height: 40px;
}

.level-a {
    color: #25d38b
}

.level-b {
    color: #25a8d3
}

.level-c {
    color: #256fd3
}

.level-d {
    color: #6f25d3
}

.level-e {
    color: #d325a4
}

.level-f {
    color: #d3256b
}

.level-g {
    color: #d32525
}

.company-info {
    width: 100%;
}

.company-info-badge {
    padding: 0;
}

.level-bar {
    height: 10px;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    margin-top: 5px;
}

.level-bar i {
    display: block;
    width: 14.28%;
    height: 100%;
    float: left;
    background-color: #E6E6E6;
    border-left: 1px solid #fff;
}

.level-bar i:first-child {
    border-left: none;
}

.level-bar i.a {
    background-color: #25d38b;
}

.level-bar i.b {
    background-color: #25a8d3;
}

.level-bar i.c {
    background-color: #256fd3;
}

.level-bar i.d {
    background-color: #6f25d3;
}

.level-bar i.e {
    background-color: #d325a4;
}

.level-bar i.f {
    background-color: #d3256b;
}

.level-bar i.g {
    background-color: #d32525;
}

/*----------------------*/
/*         END          */
/*----------------------*/

.dl-horizontal {
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    .dl-horizontal.dl-left-5 dt {
        width: 5em;
    }

    .dl-horizontal.dl-left-5 dd {
        margin-left: 5em;
    }
}

@media all and (-webkit-min-device-pixel-ratio: 2.0) and (min-width: 768px) {
    .dl-horizontal.dl-left-5 dt {
        width: 6em;
        text-align: left
    }

    .dl-horizontal.dl-left-5 dd {
        margin-left: 6em;
    }
}

.business-info {
    position: relative;
}

.business-info-more {
    display: none;
    position: absolute;
    width: 600px;
    border: 1px solid #ddd;
    box-shadow: 2px 3px 5px rgba(189, 189, 189, .8);
    background-color: white;
    z-index: 1;
    padding: 5px 20px;
    color: #777;
}

.business-info-more.yirenzheng:before {
    content: '';
    display: inline-block;
    width: 97px;
    height: 97px;
    background: url("/resources/images/business-info-authentication.png") no-repeat;
    position: absolute;
    z-index: 1;
    right: 10px;
    top: 15px;
}

.business-info-title {
    padding: 10px 0;
    border-bottom: 1px solid #ccc;
    margin-bottom: 10px;
    font-size: 20px;
}

.business-info-title small {
    font-size: .6em;
    color: #e3b093;
    margin-left: 10px;
}

.business-info:hover .business-info-more {
    display: block;
}