/**
 * Cento Admin
 *
 * @author Daniel Chan <chenliangqun@gmail.com>
 * @license <https://opensource.org/licenses/MIT> MIT License
 * @copyright 2018 Daniel Chan
 * @version 1.0.0
 */

/**
 * 布局样式
 */
a {
    outline: none;
}

.layui-layout-admin .layui-body {
    /*bottom: 0;*/
    border-top: 3px solid #009688;
}

.layui-layout-admin .layui-main {
    margin: 0 0;
}

#logo {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 350px;
    height: 60px;
    overflow: hidden;
    color: #ffffff;
    line-height: 60px;
    font-size: 26px;
    text-align: left;
    padding-left: 10px;
}

#logo .minor {
    font-size: 20px;
}

#loginForm {
    background: #ffffff;
    border-radius: 5px;
    box-sizing: border-box;
    width: 300px;
    height: 265px;
    left: 50%;
    margin: -150px 0 0 -150px;
    padding: 35px 20px 0 20px;
    position: absolute;
    top: 50%;
}

#loginForm .layui-form-item {
    position: relative;
}

#loginForm .form-item-label {
    display: block;
    position: absolute;
    left: 10px;
    top: -8px;
    font-size: 12px;
    background: #ffffff;
    padding: 0 5px;
}

#loginForm input.layui-input:focus {
    border-color: #ff5722 !important;
}

#loginForm input.layui-input:focus ~ label {
    color: #ff5722;
}

#loginForm .captcha {
    display: block;
    cursor: pointer;
    height: 38px;
    position: absolute;
    left: 120px;
    top: 0;
}

.headerUserDisplay {
    display: block;
    position: absolute;
    top: 0;
    right: 205px;
    height: 60px;
    overflow: hidden;
    color: #ffffff;
    line-height: 60px;
    font-size: 14px;
    text-align: center;
    padding: 0 10px;
}

#logout {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 60px;
    overflow: hidden;
    color: #ffffff;
    line-height: 60px;
    font-size: 14px;
    text-align: center;
    padding: 0 10px;
}

#logout:hover {
    background: #009688;
}

.sidebar-background {
    background-color: #393d49;
}

.layui-side .layui-nav-tree .layui-nav-item a {
    border-left: 5px solid #009688;
}

.layui-side .layui-nav .layui-nav-item > dl.layui-nav-child a {
    padding-left: 40px;
}

.layui-side .layui-nav .layui-nav-item > dl.layui-nav-child > dd > dl.layui-nav-child a {
    padding-left: 60px;
}

.copyright-version {
    width: 200px;
}

.copyright-version span {
    display: block;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    padding: 20px 20px;
}

.layui-tab {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    margin: 0 0;
}

.layui-tab[overflow] > .layui-tab-title {
    overflow: inherit;
}

.layui-tab-bar {
    display: none;
}

.layui-tab .layui-tab-title {
    position: absolute;
    top: 0;
    left: 82px;
    right: 82px;
    z-index: 99;
}

.layui-tab-brief .layui-tab-title li:first-child i.layui-tab-close {
    display: none;
}

.layui-tab-brief .layui-tab-title li:hover,
.layui-tab-brief .layui-tab-title .layui-this {
    color: #ffffff;
    background: #009688;
}

.layui-tab-brief .layui-tab-title .layui-this::after {
    border: none;
}

.layui-tab-brief[overflow] > .layui-tab-title .layui-this::after {
    top: 0;
}

#hideSidebar,
#scrollTabMenuItemTowardsLeft,
#scrollTabMenuItemTowardsRight,
#moreOperation {
    display: block;
    position: absolute;
    top: 0;
    width: 40px;
    height: 40px;
    line-height: 40px;
    text-align: center;
    border-bottom: 1px solid #e6e6e6;
    cursor: pointer;
    z-index: 100;
    background: #ffffff;
}

#hideSidebar {
    left: 0;
    border-right: 1px solid #e6e6e6;
}

#scrollTabMenuItemTowardsLeft {
    left: 41px;
    border-right: 1px solid #e6e6e6;
}

#scrollTabMenuItemTowardsRight {
    right: 41px;
    border-left: 1px solid #e6e6e6;
}

#moreOperation {
    right: 0;
    border-left: 1px solid #e6e6e6;
}

#hideSidebar:hover,
#scrollTabMenuItemTowardsLeft:hover,
#scrollTabMenuItemTowardsRight:hover,
#moreOperation:hover {
    color: #ffffff;
    background-color: #009688;
    border-bottom: 1px solid #009688;
}

#hideSidebar:hover,
#scrollTabMenuItemTowardsLeft:hover {
    border-right: 1px solid #009688;
}

#scrollTabMenuItemTowardsRight:hover,
#moreOperation:hover {
    border-left: 1px solid #009688;
}

#moreOperation:hover .more-operation-nav {
    display: block;
}

.more-operation-nav {
    display: none;
    position: absolute;
    top: 41px;
    right: 0;
    width: 160px;
    font-size: 14px;
    text-align: center;
    background-color: #ffffff;
    border-top: 1px solid #009688;
    border-left: 1px solid #009688;
    border-bottom: 1px solid #009688;
    border-right: 5px solid #009688;
    z-index: 100;
}

.more-operation-nav a {
    display: block;
    line-height: 40px;
}

.more-operation-nav a:hover {
    color: #ffffff;
    background-color: #009688;
}

.layui-tab-content {
    position: absolute;
    top: 41px;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 0 0;
}

.layui-tab-content .layui-tab-item {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
    -webkit-overflow-scrolling: touch;
    overflow: auto;
}

.iframe-container {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/**
 * NProgress进度条样式
 */
#nprogress {
    pointer-events: none;
}

#nprogress .bar {
    background: #009688;
    position: fixed;
    z-index: 1031;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
}

#nprogress .peg {
    display: block;
    position: absolute;
    right: 0px;
    width: 100px;
    height: 100%;
    box-shadow: 0 0 10px #009688, 0 0 5px #009688;
    opacity: 1.0;
    -webkit-transform: rotate(3deg) translate(0px, -4px);
    -ms-transform: rotate(3deg) translate(0px, -4px);
    transform: rotate(3deg) translate(0px, -4px);
}

.logo-title {
    width: 50%;
    display: block;
    float: left;
}

.user-info {
    width: 50%;
    display: block;
    float: right;
    text-align: right;
}

.user-info li {
    text-align: center;
}

.notice-badge {
    height: 18px;
    line-height: 18px;
    position: relative;
    display: inline-block;
    padding: 0 6px;
    font-size: 12px;
    text-align: center;
    background-color: #FF5722;
    color: #fff;
    border-radius: 2px;
}
