/**全局定义**/
body {
    background: #F5F5F5;
}

.container {
    width: 1200px;
    padding: 0;
}

a {
    cursor: pointer;
}

.form-control {
    border: 1px solid #E3E3E3;
    box-shadow: none;
    border-radius: 4px;
}

.btn-default {
    border-radius: 3px;
    border: 1px solid #BEC1CD;
}

.btn-default:hover,
.btn-default.active,
.btn-default:active,
.open > .dropdown-toggle.btn-default {
    color: #333;
    background-color: #ecf5ff;
    border-color: #BEC1CD;
}

.btn-group.open .dropdown-toggle,
.btn.active,
.btn:active {
    box-shadow: none;
}

.btn-default.focus,
.btn-default:focus,
.btn-default.active.focus,
.btn-default.active:focus,
.btn-default.active:hover,
.btn-default:active.focus,
.btn-default:active:focus,
.btn-default:active:hover,
.open > .dropdown-toggle.btn-default.focus,
.open > .dropdown-toggle.btn-default:focus,
.open > .dropdown-toggle.btn-default:hover {
    color: #333;
    background-color: #ecf5ff;
    border-color: #BEC1CD;
}

/**首页**/
.lib-header {
    width: 100%;
    height: 80px;
    background: #1b4142;
    color: #fff;
    line-height: 80px;
}

.lib-header * {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.lib-header .nav > li > a:focus,
.lib-header .nav > li > a:hover {
    background: none;
    color: #fff;
}

.lib-header .nav > li:hover,
.lib-header .nav > li.active {
    border-bottom: 2px solid #fff;
}

.lib-header .nav > li {
    margin-left: 30px;
}

.lib-header .nav > li > a {
    padding: 15px 0 5px 0;
}

/* .lib-header .container{
	padding: 0;
} */

.lib-header-logo {
    /*width: 219.47px;*/
    height: 55px;
}

.lib-header #navbar-collapse {
    margin-top: 15px;
}

#user-info {
    display: none;
}

span.icon-split {
    padding: 0 15px;
}

img.icon-star {
    width: 18px;
    height: 18px;
}

img.icon-yf {
    width: 14px;
    height: 14px;
}

.lib-search {
    padding: 17px auto;
}

.lib-title {
    font-size: 16px;
    color: #2C2C2C;
    padding-left: 10px !important;
    border-left: 5px solid #88898B;
    margin: 16px 0px;
}

.lib-search .navbar-form {
    width: 100%;
    padding: 0;

}

.lib-search .form-control {
    width: 80%;
    height: 40px;
    line-height: 40px;
}

.lib-search .btn-search {
    color: #fff;
    width: 19.3%;
    height: 40px;
    border: none;
    background-color: #1b4142;
    border-radius: 4px;
}

.lib-filter {
    background: #FFFFFF;
    border-radius: 3px;
    padding: 10px 20px;
    color: #5C6172;
    height: 49px;
    overflow: hidden;
    position: relative;
}

#lib-btn-filter {
    position: absolute;
    right: 10px;
    top: 17px;
    font-size: 14px;
    color: #1b4142;
    cursor: pointer;
    font-weight: 500;
}

#lib-btn-filter.glyphicon-menu-up:before,
#lib-btn-filter.glyphicon-menu-down:before {
    position: absolute;
    left: -15px;
    top: 2px;
}

.lib-filter-label {
    padding: 5px 10px;
    width: 70px;
}

.lib-filter-item .col-md-1 {
    width: auto;
    padding: 0px 10px;
    text-align: center;
    border-radius: 4px 0px 4px 0px;
    cursor: pointer;
    height: 30px;
    line-height: 30px;
    margin-right: 0.6%;
}

.lib-filter-item .col-md-1.lib-filter-all {
    width: 50px
}

.lib-filter-item .col-md-1.active,
.lib-filter-item .col-md-1:hover {
    background: #1b4142;
    color: #fff;
    transition: all .4s;
}

.lib-filter-item .row {
    display: inline-block;
}

.lib-line {
    width: 100%;
    height: 1px;
    margin: 10px 0;
    border-top: 1px solid #EAEAEA;
}

.lib-filter-az .col-md-1 {
    width: 3%;
    /* padding: 5px 10px; */
    margin-right: 0.6%;
}

.lib-res .row {
    padding: 15px 0;
    line-height: 34px;
}

.lib-res .btn {
    width: 130px;
    height: 32px;
    text-align: left;
    color: #5C6172;
    position: relative;
}

.lib-res .btn .caret {
    position: absolute;
    top: 13px;
    right: 5px;
    border-top: 6px dashed;
    border-right: 6px solid transparent;
    border-left: 6px solid transparent;
}

.lib-res .dropdown-menu {
    min-width: 130px;
}

.lib-res .dropdown-menu > li > a {
    padding: 3px 15px;
}

.lib-data {
    color: #5C6172;
    margin-bottom: 30px;
    font-size: 16px;
}

div.lib-data-list:first-child {
    padding-right: 12px;
}

div.lib-data-list:last-child {
    padding-left: 12px;
}

.lib-data a {
    color: #5C6172;
    cursor: pointer;
}

.lib-data-head {
    height: 40px;
    line-height: 40px;
    background-color: #D6DCE6;
    border-radius: 4px 4px 0px 0px;
}

.lib-data-body .row {
    min-height: 54px;
    /* line-height: 54px; */
    background-color: #fff;
    padding: 17px 0;
}

.lib-data-body .row img.icon-top {
    width: 9.57px;
    height: 14px;
    margin-left: 10px;
}

.lib-data-body .row .btn {
    background-color: #1b4142;
    color: #fff;
    width: 34px;
    height: 20px;
    font-size: 12px;
    border: none;
    padding: 0;
    /* border-radius: 3px; */
    border-radius: 4px 0px 4px 0px;
}

.lib-data-body .row .btn-red {
    background-color: #FF5E57;
}

.lib-data-body .row .btn-orange {
    background-color: #F3AC3E;
}

.lib-data-body .row .btn-green {
    background-color: #32B16C;
}

.lib-data-body .row:nth-child(2n) {
    background: #EBEDF0;

}

.lib-bottom {
    color: #fff;
    width: 100%;
    background-color: #1b4142;
    padding: 40px 0;
}

.lib-bottom-title {
    font-weight: 500;
    font-size: 16px;
}

.lib-bottom-title img {
    width: 24px;
    height: 24px;
    margin-bottom: 4px;
    margin-right: 10px;
}

.lib-bottom-title span {
    padding: 4px 0;
}

.lib-bottom-link {
    padding: 10px 0;
    font-weight: 500;
}

.lib-bottom-link a {
    font-weight: 500;
    color: #fff;
    margin-right: 10px;
    cursor: pointer;
}

.lib-bottom-qrcode {
    width: 30%;
    float: right;
    margin: 0 1.5%;
    font-size: 16px;
    font-weight: 500;
}

.lib-bottom-qrcode img {
    margin-top: 20px;
    width: 100%;
    height: 100%;
}

/**详情页**/
.lib-breadcrumb {
    padding: 15px 0;

}

.lib-breadcrumb-label img {
    width: 13.83px;
    height: 15px;
    margin-top: -3px;
    margin-right: 5px;
}

.lib-breadcrumb .breadcrumb {
    margin-bottom: 0;
    padding: 8px 10px;
    display: inline-block;
}

.breadcrumb > li + li:before {
    content: '> ';
}

.lib-info-panel {
    padding: 20px;
    background: #FFFFFF;
    border-radius: 3px;
    margin-bottom: 20px;
}

.lib-info-name {
    padding-top: 30px;
}

.lib-info-name span {
    display: inline-block;
}

.lib-info-title {
    font-weight: 500;
    color: #5C6172;
    font-size: 20px;
}

.lib-info-label {
    color: #999999;
}

.lib-info-label img {
    width: 12px;
    height: 12px;
    margin: 0 7px;
}

.lib-info-value {
    color: #5C6172;
}

.lib-info-oper {
    float: right;
    margin-left: 40px;
    width: 48px;
    text-align: center;
    cursor: pointer;
}

.lib-info-oper img {
    width: 36px;
    height: 36px;
}

.lib-info-oper .oper-name {
    color: #5C6172;
    font-size: 12px;
    padding-top: 6px;
}

.lib-info-row {
    margin-top: 25px;
    margin-bottom: 10px;
}

.lib-panel-header {
    border-bottom: 1px solid #EAEAEA;
    padding-bottom: 10px;
}

.lib-panel-title {
    width: auto;
    font-size: 16px;
    font-weight: 500;
    color: #5C6172;
    padding-bottom: 12px;
    border-bottom: 2px solid #1b4142;
}

.lib-visit-wrap {
    display: inline-block;
    background: #FFFFFF;
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.3);
    border-radius: 2px;
    padding: 8px 15px;
    /* margin: 25px 20px 5px 0; */
    margin-right: 20px;
}

.lib-visit-wrap img {
    width: 15.86px;
    height: 16px;
    margin-right: 10px;
}

.lib-visit-wrap a {
    color: #1b4142;
}

.lib-panel-body {
    padding: 25px 0 5px 0;
}

.lib-panel-body p {
    text-indent: 2em;
    color: #5C6172;
    line-height: 34px;
    font-size: 16px;
}

.lib-help a {
    color: #5C6172;
    font-size: 16px;
}

.lib-help ul li {
    list-style-type: square;
    font-size: 16px;
    line-height: 34px;
}

/**登录弹窗**/
#login-modal .modal-dialog {
    width: 403px;
    height: 369px;
    border-radius: 10px;
}

#login-modal .lib-pop-header {
    background: url("../img/bg-login-pop.png") no-repeat center;
    background-size: 100%;
    width: 400px;
    height: 109.61px;
    margin-top: -8px;

}

.lib-pop-header > div {
    text-align: center;
    padding: 40px 0 20px 0;
    font-size: 20px;
    font-weight: 500;
}

.lib-pop-body {
    padding: 30px 46px;
}

.lib-pop-header > img {
    width: 100%;
    padding: 0 32px;
}

#login-modal .modal-dialog {
    position: absolute;
}

.lib-input-group {
    margin-bottom: 30px;
}

.lib-input-label {
    padding-right: 10px;
    width: 60px;
    display: inline-block;
}

.lib-input-wrap {
    display: inline-block;
    position: relative;
}

.lib-input-icon {
    position: absolute;
    left: 10px;
    top: 10px;
    color: #D3D3D3;
    width: 13px;
    height: 16px;
}

.lib-input-group .form-control {
    width: 212px;
    padding-left: 30px;
}

.lib-button-group button {
    width: 100%;
    height: 50px;
    background-color: #1b4142;
    font-size: 20px;
    font-weight: 500;
}

/**智能网关弹窗**/
#gateway-modal .modal-dialog {
    width: 652px;

}

#gateway-modal .lib-pop-header {
    background: url("../img/bg-gateway.png") no-repeat center;
    background-size: 100%;
    height: 102px;
    border-radius: 10px;
    position: relative;
}

.lib-pop-header .close {
    position: absolute;
    right: 20px;
    top: 15px;
    width: 30px;
    height: 30px;
    background: url('../img/icon-close.png');
    background-size: 100%;
    border-radius: 30px;
}

.gateway-tips {
    background: #F5F6F7;
    border-radius: 5px;
    padding: 15px;
}

.gateway-tips-txt {
    color: #2E2E2E;
    line-height: 24px;
}

#gateway-modal .lib-pop-body {
    padding: 0 30px 30px 30px;
    color: #2E2E2E;
}

.gateway-tips-row {
    margin: 15px 0;
}

.gateway-tips-star > img {
    width: 16px;
    height: 16px;
    margin-top: -2px;
}

.lib-rate img {
    width: 10px;
    height: 10px;
}

.gateway-link {
    padding: 15px 0;
}

.gateway-link a {
    color: #1b4142;
    font-weight: 500;
}

.gateway-link img {
    width: 13.88px;
    height: 16px;
    margin-right: 10px;
}

.gateway-form .lib-input-label {
    display: block;
    padding-bottom: 12px;
    font-size: 16px;
    color: #2E2E2E;
    font-weight: 500;
    width: 100%;
}

.gateway-form .lib-input-wrap {
    width: 100%;
}

.gateway-form .lib-input-group .form-control {
    width: 100%;
    padding-left: 5px;
    height: 40px;
}

.gateway-form .lib-input-group textarea.form-control {
    height: 148px;
}

.gateway-form .lib-button-group {
    text-align: center;
}

.gateway-form .lib-button-group button {
    margin-right: 40px;
    width: 116px;
    height: 53px;
    outline: none;
}

.gateway-form .lib-button-group button.btn-default {
    background: #fff;
}

.safe-height {
    height: 0;
}

/**重写**/
@media (min-width: 768px) {
    .navbar-right {
        float: right !important;
        margin-right: 0px;
    }
}


/* 移动端适配 */
@media screen and (max-width: 1200px) {
    .lib-header {
        height: 100px;
        line-height: 0;
    }

    .lib-header .container .row {
    }

    .lib-header .col-xs-12:first-child {
        height: 70px;
        display: flex;
        align-items: center;
        /* justify-content: center; */
    }

    .lib-header .login-wrap {
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: right;
    }

    .lib-header-logo {
        width: 80%;
        height: auto;
        /* margin-left: calc(50% - 100px); */
    }

    /* .login-wrap .icon-split{
        padding: 0 5px;
    } */
    #navbar-collapse {
        display: none;
        position: absolute;
        background-color: #1b4142;
        z-index: 999;
        left: -15px;
        top: 15px;
        border-top: 1px solid #fff;
        /* max-width: 190px; */
        padding: 10px 0;
        box-shadow: 0px 2px 15px 0px rgba(0, 0, 0, 0.5);
    }

    .lib-header .nav > li > a {
        padding: 10px 0;
    }

    #navbar-collapse ul li {
        width: 180px;
        clear: both;
    }

    #navbar-collapse ul li.active {
        border-bottom: none;
    }

    #btn-mobile-nav {
        position: absolute;
        font-size: 22px;
        left: 0px;
        top: 70px;
        color: #eee;
    }

    #btn-mobile-nav.active {
        color: #fff;
    }

    #lib-btn-filter {
        display: none;
    }

    .container {
        width: 100%;
        padding: 0 15px;
    }

    .lib-search .btn-search {
        width: 96px !important;
    }

    .navbar-form {
        margin-left: 0;
    }

    .navbar-right {
        margin-right: auto !important;
        margin: 0;
    }

    .lib-search .form-control {
        width: 70%;
        display: inline-block;
        margin-left: 0;
    }

    .lib-title {
        position: relative;
    }

    #btn-mobile-filter {
        position: absolute;
        right: 0px;
        top: 4px;
        font-size: 18px;
        color: #5C6172;
    }

    #btn-mobile-filter.active {
        color: #1b4142;
    }

    .lib-filter {
        display: none;
        padding: 10px;
        position: absolute;
        width: 80%;
        right: 0;
        top: 150px;
        height: 70vh;
        overflow-y: auto;
        z-index: 1008;
        box-shadow: 0px 2px 15px 0px rgba(0, 0, 0, 0.5);
    }

    .lib-filter-label {
        font-weight: 500;
        padding-bottom: 5px;
        /* border-bottom: 2px solid #1b4142; */
        margin-bottom: 10px;
        padding-right: 0;
        width: 100%;
        position: relative;
    }

    .lib-filter-label span.lib-btn-down {
        position: absolute;
        right: 20px;
        top: 5px;
        color: #1b4142;
        transition: all .4s;
    }

    .col-md-1.lib-filter-all {
        width: 50px !important;
    }

    .lib-filter-az .col-md-1 {
        width: auto;

    }

    .lib-filter-item {
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;
        height: 40px;
        overflow: hidden;
    }

    .lib-filter-item .col-md-1 {
        margin: 5px;
        min-width: 50px;
        background-color: #EBEDF0;
    }

    .lib-search .navbar-form {
        display: flex;
        justify-content: space-between;
    }

    .lib-res.container .row .col-xs-6 {
        display: flex;
        justify-content: right;
    }

    .lib-res.container .row .col-xs-6 > div {
        margin: 0 !important;
    }

    span.lib-info-title {
        display: block;
    }

    .lib-info-name {
        padding-top: 0;
    }

    .lib-info-panel {
        padding: 10px 20px;
    }

    .lib-info-label, .lib-info-value {
        padding: 5px 0;
    }

    .lib-info-row > div {
        margin: 5px 0;
    }

    .lib-info-label img {
        margin-left: 0;
    }

    #login-modal .lib-pop-header {
        background: none;
    }

    #login-modal .modal-dialog {
        width: 100%;
        left: 0 !important;
        margin: 0;
    }

    #login-modal .modal-content {
        width: 100% !important;
    }

    .lib-pop-body {
        padding: 20px;
    }

    .lib-pop-header {
        width: 100%;
        background: none;
    }

    #login-modal .navbar-form {
        padding: 0;
        margin-right: 0;
    }

    .lib-input-group .form-control {
        width: 100%;
    }

    #gateway-modal .modal-dialog {
        width: 100%;
    }

    #gateway-modal .lib-pop-header {
        margin-top: -30px;
    }

    #gateway-modal .modal-dialog {
        margin: 10px 0;
    }

    .gateway-form .lib-button-group button {
        width: 30%;
        margin-right: 10%;
    }

    .lib-pop-header .close {
        top: 30px;
        right: 10px;
    }

    .lib-info-opers {
        position: fixed;
        z-index: 999;
        left: 0;
        bottom: 0;
        display: flex;
        background-color: #fff;
        border-top: 1px solid #1b4142;
        align-items: center;
        padding-top: 20px;
        /* text-align: center; */
        justify-content: space-around;
        clear: both !important;
        padding: 10px 0 !important;
        margin: 0 !important;
    }

    .safe-height {
        height: 80px;
        background-color: #1b4142;
    }

    .lib-info-oper {
        clear: both;
        margin: 0;
    }

    .lib-visit-wrap:not(:last-child) {
        margin-bottom: 15px;
    }

    .lib-bottom {
        padding: 0 0 20px 0;
        text-align: center;
    }

    .lib-bottom-title img {
        margin-right: 5px;
    }

    .lib-bottom .col-xs-12 {
        margin-top: 15px;
    }

    .lib-bottom .col-xs-12:not(:last-child) {
        padding-bottom: 10px;
        border-bottom: 1px solid #fff;
    }
}
.secClass {
    width: auto;
    display: inline-block;
    margin-right: 3px;
    height: 30px;
    line-height: 30px;
    padding: 0px 10px 5px 10px;
    text-align: center;
    border-radius: 4px 0px 4px 0px;
    cursor: pointer;
    margin-bottom: 10px;
}

.secClass:hover {
    background: #1b4142;
    text-decoration: none;
    color: #fff;
    transition: all .4s;
    display: inline-block;
}

.ac {
    background-color: #1b4142;
    color: #fff;
}
