/**

 layui官网
 By 贤心

*/
/* 布局 */

.site-demo-tplres {
    margin: 10px 0;
    text-align: center
}

.site-demo-tplres .site-demo-tplh2,
.site-demo-tplres .site-demo-tplview {
    display: inline-block;
    width: 50%;
}

.site-demo-tplres h2 {
    padding: 15px;
    background: #e2e2e2;
}

.site-demo-tplres h3 {
    font-weight: 700;
}

.site-demo-tplres div {
    padding: 14px;
    border: 1px solid #e2e2e2;
    text-align: left;
}

.site-demo-upload,
.site-demo-upload img {
    width: 200px;
    height: 200px;
    border-radius: 100%;
}

.site-demo-upload {
    position: relative;
    background: #e2e2e2;
}

.site-demo-upload .site-demo-upbar {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -18px 0 0 -56px;
}

.site-demo-upload .layui-upload-button {
    background-color: rgba(0, 0, 0, .2);
    color: rgba(255, 255, 255, 1);
}

.site-demo-util {
    position: relative;
    width: 300px;
}

.site-demo-util img {
    width: 300px;
    border-radius: 100%;
}

.site-demo-util span {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #333;
    cursor: pointer;
}

.layui-layout-admin .site-demo-body {
    top: 117px;
}

.site-demo-title {
    position: fixed;
    left: 200px;
    right: 0;
    top: 76px;
}

.site-demo-code {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    border: none;
    padding: 10px;
    resize: none;
    font-size: 12px;
    background-color: #F7FBFF;
    color: #881280;
    font-family: Courier New;
}

.site-demo-body .layui-elem-quote a {
    color: #01AAED;
}

.site-demo-body .layui-elem-quote a:hover {
    color: #FF5722;
}


/* 其它 */
#trans-tooltip,
#tip-arrow-bottom,
#tip-arrow-top {
    display: none !important;
}


/* 独立组件 */
.alone {
    width: 730px;
    margin: 200px auto;
}

.alone ul {
    margin-left: 1px;
    font-size: 0;
}

.alone li {
    display: inline-block;
    width: 181px;
    font-size: 16px;
    text-align: center;
    line-height: 80px;
    margin: 0 1px 1px 0;
    background-color: #393D49;
    color: #fff;
}

.alone li:hover {
    opacity: 0.8;
}

.alone li a {
    display: block;
    color: #fff;
}


/* 自定义css */
.admin-header-item-mobile {
    position: absolute;
    right: 0px;
    height: 70px;
    line-height: 70px;
    padding: 0 20px;
    text-align: center;
    top: 0;
    display: none;
}

.admin-nav-tree .layui-nav-child a {
    padding-left: 30px;
}

.admin {
    border: 0;
    margin: 0;
    box-shadow: none;
}

.admin-nav-card {
    margin-top: 4px;
}

.admin-nav-card .layui-icon {
    position: relative;
}

.admin-nav-card .layui-tab-item iframe {
    width: 100%;
    border: 0;
    height: 100%;
}

.admin-nav-card > .layui-tab-title {
    background-color: #f2f2f2;
    border-bottom: 1px solid #1AA094;
}

.admin-nav-card .layui-tab-title cite {
    font-style: normal;
    padding-left: 5px;
}

.admin-nav-card > .layui-tab-title .layui-this {
    color: white;
    background-color: #1AA094;
}

.admin-nav-card > .layui-tab-title .layui-this:after {
    border-bottom: 0;
}

.admin-header-user .layui-nav-more {
    top: 30px;
}

.admin-header-user .layui-nav-mored {
    top: 25px;
    border-style: dashed dashed solid;
    border-color: transparent transparent #999;
}

/*lock*/
.admin-header-lock {
    width: 320px;
    height: 150px;
    padding: 20px;
    position: relative;
    text-align: center;
}

.admin-header-lock-img {
    width: 60px;
    height: 60px;
    margin: 0 auto;
}

.admin-header-lock-img img {
    width: 60px;
    height: 60px;
    border-radius: 100%;
}

.admin-header-lock-name {
    color: #009688;
    margin: 8px 0 15px 0;
}

.admin-header-lock-input {
    width: 150px;
    color: #FFFFFF;
    height: 30px;
    border: 0;
    background-color: #009688;
    padding: 0 7px;
    border-radius: 2px;
}

/*table*/
.site-table tbody tr td {
    text-align: center;
}

.site-table tbody tr td .layui-btn + .layui-btn {
    margin-left: 0;
}

.admin-table-page {
    position: fixed;
    z-index: 19940201;
    bottom: 0;
    width: 100%;
    background-color: #eee;
    border-bottom: 1px solid #ddd;
    left: 0;
}

.admin-table-page .page {
    padding-left: 20px;
}

.admin-table-page .page .layui-laypage {
    margin: 6px 0 0 0;
}

/**/
.admin-main {
    margin: 15px;
}

.admin-side-toggle, .admin-side-full, .admin-side-refresh {
    position: absolute;
    cursor: pointer;
    z-index: 19940201;
    left: 200px;
    color: white;
    text-align: center;
    width: 30px;
    height: 30px;
    background-color: #1AA094;
    line-height: 30px;
    top: 25%;
}

.admin-side-toggle:hover {
    background-color: #5FB878;
}

.admin-side-full {
    left: 240px;
}

.admin-side-refresh {
    left: 280px;
}

.admin-login-box {
    width: 185px;
    height: 70px;
    position: relative;
}

.beg-navbar .layui-nav-child dd a {
    padding-left: 30px;
}


.admin-contextmenu {
    position: absolute;
    line-height: 36px;
    padding: 5px 0;
    border: 1px solid #d2d2d2;
    background-color: white;
    z-index: 19940201;
    border-radius: 2px;
    white-space: nowrap;
    top: 30px;
    /*width: 100px;height: 200px; */
}

.admin-contextmenu ul li {
    padding: 0 15px;
}

.admin-contextmenu ul li:hover {
    background-color: #eee;
    cursor: pointer;
}

.layui-input-1, .layui-input-2, .layui-input-3, .layui-input-4, .layui-input-5, .layui-input-6 {
    margin-left: -1px;
    float: left;
    margin-right: 10px;
    display: inline-block;
    vertical-align: middle;
    position: relative;
}

.layui-input-1 {
    width: 10%;
}

.layui-input-2 {
    width: 20%;
}

.layui-input-3 {
    width: 30%;
}

.layui-input-4 {
    width: 40%;
}

.layui-input-5 {
    width: 50%;
}

.layui-input-6 {
    width: 60%;
}

.table-responsive .layui-table {
    margin: 0;
}


ul.ztree li span.button.switch {
    margin-right: 5px
}

ul.ztree > li {
    background: #dae6f0;
    padding: 8px;
}

ul.ztree > li ul li {
    background: #eef5fa;
    margin-top: 8px;
    padding: 5px;
}

ul.ztree > li ul li ul li {
    background: #f6fbff;
    padding: 5px;
}

ul.ztree > li ul li ul li ul li {
    background: #fff;
    padding: 5px;
}

ul.ztree ul ul ul li {
    display: inline-block;
}

ul.ztree > ul li > ul > li {
    padding: 5px
}

ul.ztree > ul li > ul {
    margin-top: 12px
}

ul.ztree > ul li {
    padding: 15px;
    padding-right: 25px
}

ul.ztree > ul li {
    white-space: normal !important;
    background: #01AAED
}

ul.ztree li {
    white-space: inherit;
}

ul.ztree > li > a > span {
    font-size: 15px;
    font-weight: 700
}

.list_order {
    height: 24px;
    line-height: 24px;
    width: 50px;
    border: #FC6 solid 1px;
}

.count, .size {
    color: #009688;
    font-style: normal;
    font-weight: bold;
}

.green {
    color: #5FB878;
}

.red {
    color: #FF5722;
}

.orange {
    color: #FFB800
}

.dtbox {
    border: 1px solid #ececec;
    text-align: center;
    height: 130px;
    padding: 5px;
}

.dtbox .delimg {
    position: absolute;
    top: 5px;
    right: 5px;
    border: 1px solid #ececec;
    width: 18px;
    height: 18px;
    color: #FF5722;
    cursor: pointer;
}

.layui-upload-img {
    width: 92px;
    max-height: 120px;
}

/* 适配多设备 */
@media screen and (max-width: 750px) {
    .layui-main {
        width: auto;
        margin: 0 10px;
    }

    .logo,
    .header .logo {
        left: 10px;
    }

    .admin-side-full {
        display: none;
    }

    .admin-side-refresh {
        left: 240px;
    }

    .site-nav-layim {
        display: none !important;
    }

    .header .layui-nav .layui-nav-item {
        margin: 0;
    }

    .header .layui-nav .layui-nav-item a {
        padding: 0 15px;
    }

    .site-banner {
        height: 300px;
    }

    .site-banner-bg {
        background-size: cover;
    }

    .site-zfj {
        height: 100px;
        padding-top: 5px;
    }

    .site-zfj i {
        top: 10px;
        width: 100px;
        height: 100px;
        margin-left: -50px;
        font-size: 100px;
    }

    .site-desc {
        background-size: 70%;
        margin: 0;
    }

    .site-desc cite {
        display: none;
    }

    .site-download {
        margin-top: 0;
    }

    .site-download a {
        height: 40px;
        line-height: 40px;
        padding: 0 25px 0 60px;
        border: 1px solid #778097;
        border-radius: 30px;
        color: #fff;
        font-size: 16px;
    }

    .site-download a cite {
        left: 20px;
    }

    .site-banner-other {
        bottom: 15px;
    }

    .site-idea {
        margin: 20px 0;
    }

    .site-idea li {
        margin: 0 0 20px 0;
        width: 100%;
        height: auto;
        -webkit-box-sizing: border-box !important;
        -moz-box-sizing: border-box !important;
        box-sizing: border-box !important;
    }

    .site-hengfu img {
        max-width: 100%
    }

    .layui-layer-dir {
        display: none;
    }

    .site-tree {
        position: fixed;
        top: 0;
        bottom: 0;
        min-height: 0;
        overflow: auto;
        z-index: 1000;
        left: -260px;
        background-color: #fff;
        transition: all .3s;
        -webkit-transition: all .3s;
    }

    .site-content {
        width: 100%;
        padding: 0;
        overflow: auto;
    }

    .site-content img {
        max-width: 100%;
    }

    .site-tree-mobile {
        display: block !important;
        position: fixed;
        z-index: 100000;
        bottom: 15px;
        left: 15px;
        width: 50px;
        height: 50px;
        line-height: 50px;
        border-radius: 2px;
        text-align: center;
        background-color: rgba(0, 0, 0, .7);
        color: #fff;
    }

    .site-home .site-tree-mobile {
        display: none !important;
    }

    .site-mobile .site-tree-mobile {
        display: none !important;
    }

    .site-mobile .site-tree {
        left: 0;
    }

    .site-mobile .site-mobile-shade {
        content: '';
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background-color: rgba(0, 0, 0, .8);
        z-index: 9999;
    }

    .site-tree-mobile i {
        font-size: 20px;
    }

    .layui-code-view {
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
    }

    .layui-layout-admin .layui-side {
        position: fixed;
        top: 0;
        left: -260px;
        transition: all .3s;
        -webkit-transition: all .3s;
        z-index: 10000;
    }


    .site-mobile .layui-side {
        left: 0;
    }


    html .skin-2 .header .layui-nav .layui-this {
        background-color: #01AAED;
    }

    html .skin-2 .layui-layout-admin .layui-nav-item .layui-nav-child {
        background-color: #1E9FFF !important;
    }

    html .skin-2 .layui-layout-admin .admin-header-item .layui-nav-item .layui-nav-child {
        background-color: #01AAED !important;
    }

    html .skin-2 .layui-nav .layui-nav-item dd a:hover {
        color: #333;
    }

    html .skin-2 .layui-layout-admin .layui-nav-more {
        border-color: #fff transparent transparent;
    }

    html .skin-2 .layui-layout-admin .layui-nav-mored {
        border-color: transparent transparent #fff;
    }
}
