@charset "utf-8";
@import url(../layui/css/layui.css);

* {
    margin: 0;
    padding: 0;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

a {
    text-decoration: none;
}

html {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
}

body {
    width: 100%;
    min-height: 100%;
    background: #f1f1f1;
    font-size: 14px;
    /*background: #fff;*/
}

/*头部*/
.container {
    width: 100%;
    height: 45px;
    background-color: #222;
}

.container a, .layui-nav .layui-nav-item a {
    color: #fff;
}

.container .logo a {
    background-color: rgba(0, 0, 0, 0);
}

.container .logo a {
    float: left;
    font-size: 18px;
    padding-left: 20px;
    line-height: 45px;
    width: 140px;
}

.container .right {
    background-color: rgba(0, 0, 0, 0);
    float: right;

}

.container .left_open {
    height: 45px;
    float: left;
    margin-left: 30px;
}

.container .left_open i {
    display: block;
    background: rgba(255, 255, 255, 0.1);
    width: 32px;
    height: 32px;
    line-height: 32px;
    border-radius: 3px;
    text-align: center;
    margin-top: 7px;
    cursor: pointer;
}

.container .left_open i:hover {
    background: rgba(255, 255, 255, 0.3);
}

.container .left {
    background-color: rgba(0, 0, 0, 0);
    float: left;

}

.container .layui-nav-item {
    line-height: 45px;
}

.container .layui-nav-more {
    top: 20px;
}

.container .layui-nav-child {
    top: 50px;
}

.container .layui-nav-child i {
    margin-right: 10px;
}

.layui-nav .layui-nav-item a {
    cursor: pointer;
}

.layui-nav .layui-nav-child a {
    color: #333;
    cursor: pointer;
}

.left-nav {
    position: absolute;
    top: 45px;
    bottom: 0px;
    /*bottom: 42px;*/
    left: 0;
    z-index: 2;
    padding-top: 10px;
    background-color: #EEEEEE;
    width: 180px;
    max-width: 180px;
    overflow: auto;
    overflow-x: hidden;
    overflow: hidden;
}

#side-nav {
    width: 180px;
}

.left-nav #nav li:hover > a {
    /*color: blue;*/
}

.left-nav #nav .current {
    background-color: rgba(0, 0, 0, 0.3);
}

.left-nav #nav li a {
    font-size: 14px;
    padding: 10px 15px 10px 15px;
    display: block;
    cursor: pointer;
    border-left: 4px solid transparent;
    transition: all 0.3s;
}

.left-nav a:hover {
    background: #009688 !important;
    color: #fff;
    border-color: #04564e !important;
}

.left-nav a.active {
    background: #009688 !important;
    color: #fff;
    border-color: #04564e !important;
}

.left-nav #nav li a cite {
    font-size: 14px;
}

.left-nav #nav li .sub-menu {
    display: none;
}

.left-nav #nav li .opened {
    display: block;
}

.left-nav #nav li .opened:hover {
    /*background: #fff ;*/
}

.left-nav #nav li .opened .current {

}

.left-nav #nav li .sub-menu li:hover {
    /*color: blue;*/
    /*background: #fff ;*/
}

.left-nav #nav li .sub-menu li a {
    padding: 12px 15px 12px 30px;
    font-size: 14px;
    cursor: pointer;
}

.left-nav #nav li .sub-menu li .sub-menu li a {
    padding-left: 45px;
}

.left-nav #nav li .sub-menu li a i {
    font-size: 14px;
}

.left-nav #nav li a i {
    padding-right: 10px;
    line-height: 16px;
}

.left-nav #nav li .nav_right {
    float: right;
    font-size: 16px;
}

.page-content {
    position: absolute;
    top: 45px;
    right: 0;
    /*bottom: 42px;*/
    bottom: 0;
    left: 180px;
    overflow: hidden;
    z-index: 1;
}

.page-content-bg {
    position: absolute;
    top: 45px;
    right: 0;
    /*bottom: 42px;*/
    bottom: 0;
    left: 220px;
    background: rgba(0, 0, 0, 0.5);
    overflow: hidden;
    z-index: 100;
    display: none;
}

.page-content .tab {
    height: 100%;
    width: 100%;
    /*background: #EFEEF0;*/
    margin: 0;
}

.page-content .layui-tab-title {
    /*padding-top: 5px;*/
    height: 35px;
    background: #EFEEF0;
    position: relative;
    z-index: 100;
}

.page-content .layui-tab-title li.home i {
    padding-right: 5px;
}

.page-content .layui-tab-title li.home .layui-tab-close {
    display: none;
}

.page-content .layui-tab-title li {
    line-height: 35px;
}

.page-content .layui-tab-title .layui-this:after {
    height: 36px;
}

.page-content .layui-tab-title li .layui-tab-close {
    border-radius: 50%;
}

.page-content .layui-tab-title .layui-this {
    background: #fff;
}

.page-content .layui-tab-content {
    position: absolute;
    top: 36px;
    bottom: 0;
    width: 100%;
    padding: 0;
    overflow: hidden;
}

.page-content .layui-tab-content .layui-tab-item {
    width: 100%;
    height: 100%;

}

.page-content .layui-tab-content .layui-tab-item iframe {
    width: 100%;
    height: 100%;

}

#tab_right {
    display: none;
    width: 80px;
    position: absolute;
    top: 35px;
    left: 0;
}

#tab_right dl {
    top: 0;
}

#tab_show {
    position: absolute;
    top: 36px;
    bottom: 0;
    width: 100%;
    background: rgb(255, 255, 255);
    padding: 0;
    overflow: hidden;
    display: none;
}

@media screen and (max-width: 768px) {
    .fast-add {
        display: none;
    }

    .layui-nav .to-index {
        display: none;
    }

    .container .logo a {
        width: 100px;
    }

    .container .left_open {
        /*float: right;*/
    }

    .left-nav {
        width: 60px;
    }

    .left-nav #nav li a i {
        font-size: 18px;
    }

    .left-nav cite, .left-nav .nav_right {
        display: none;
    }

    .page-content {
        left: 60px;
    }

    .page-content .layui-tab-content .layui-tab-item {
        -webkit-overflow-scrolling: touch;
        overflow-y: scroll;
    }

}

/*精细版样式*/

.x-admin-sm {
    font-size: 14px;
}

.x-admin-sm body {
    font-size: 14px;
}

.x-admin-sm .left-nav #nav li a cite {
    font-size: 14px;
}

.x-admin-sm .layui-nav * {
    font-size: 12px;
}

.x-admin-sm .layui-layer-title, .x-admin-sm .layui-layer-dialog .layui-layer-content {
    font-size: 14px;
}
