html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
}
body {
    background: #f5f7f9;
    color: #363636;
    font-family:  Arial,sans-serif;
}
/*全局控件重写*/
.layui-layer-setwin .layui-layer-close1 {
    padding-right: 20px;
    background-position: 5px -40px !important;
}
.table p,.media p{
	line-height:15px;
	margin: 1px 0 0 0;
	font-size:12px;
}
.table .label{
	border-radius:10px;
	padding:2px 8px;
	font-size:12px;
	font-weight: normal;
}
::-webkit-scrollbar {
    width: 5px;
    height: 8px;
    background: rgba(0, 0, 0, 0.05);
    box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.11);
    padding: 0;
    border: none;
}

::-webkit-scrollbar-thumb { /* 5 */
    background: rgba(0, 0, 0, 0.4);
    padding: 0;
    border: none;
}
.wrap{
    padding:10px;
    background-color: #fff;
    overflow: hidden;
}
/*左侧栏*/
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    background: #062731;
    width: 72px;
    height: 100%;
    z-index: 1000;
}
.sidebar .logo {
    text-align: center;
    height: 51px;
}
.sidebar .logo a {
    font-size: .9rem;
    color: #9aced8;
    display: block;
    text-decoration: none;
    line-height: 50px;
    background: rgba(0, 0, 0, .3);
    border-radius: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.sidebar .menus a{
    display: block;
    padding: 13px 0 13px 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
    color: #ddd;
}
.sidebar .menus a:hover {
    background: rgba(0, 0, 0, .1);
}
.sidebar .menus a .icon {
    font-size: 1.3rem;
    width: 1rem;
    height: 1.143rem;
    line-height: 1;
    display: inline-block;
    color: #fff;
    transform: translateY(1px);
}
.sidebar .menus a.active {
    background: #52727F;
    /*color: #444;*/
}
.sidebar .menus a.active .icon {
    /*color: #00a0e9;*/
}
.sidebar .submenus {
    position: fixed;
    top: 0;
    left: 72px;
    background: #fff;
    width: 120px;
    height: 100%;
    border-right: 1px solid #eee;
    font-size: .9rem;
    overflow: hidden;
    z-index: 100;
}
.sidebar .submenus .nav-item {
    display: block;
    padding: 13px 0 13px 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-decoration: none;
}
.sidebar .submenus .menu-title {
    height: 51px;
    line-height: 51px;
    padding: 0 16px 0 16px;
    border-bottom: 1px solid;
    border-color: #eee;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 16px;
}
.sidebar .submenus .sub-list {
    overflow-y: hidden;/*scroll*/
    height: 100%;
    padding-bottom: 50px;
}
.sidebar .submenus .nav-item {
    padding: 10px 10px 10px 16px;
    color: #444;
    position: relative;
}
.sidebar .submenus .nav-item:hover {
    background: rgba(0, 0, 0, .05);
}
.sidebar .submenus .nav-item .nav-pointer {
    position: absolute;
    right: 12px;
    top: 6px;
    font-size: .75rem;
    color: #777;
}
.sidebar .submenus .nav-item.active {
    color: #444;
    background: rgba(55, 87, 109, 0.05);
}
.sidebar .submenus .nav-item.active .nav-pointer {
    transform: rotate(90deg);
    margin-top: -1px;
}
/*主题部分*/
.main {
    margin: 0 0 0 80px;
    padding-top: 50px;
}
.main .main-header {
    height: 50px;
    background: #fff;
    position: fixed;
    top: 0;
    left: 72px;
    right: 0;
    border-bottom: 1px solid #eee;
    z-index: 100;
}
.main .main-header .order-num{
	background: red;
	display: inline-block;
    vertical-align: middle;
}
.main .navbar-brand{
    font-size:16px
}
.main .navbar-back{
    padding: 3px 8px;
    font-size: 14px;
    margin-top: 10px;
}
.sidebar.sidebar-sub + .main {
    margin-left: 192px;
}
.sidebar.sidebar-sub + .main .main-header {
    left: 192px;
}
.navbar-default{
    background-color: #fff;
    border-top-width: 0;
    border-left-width: 0;
    border-radius: 0;
}
.main .main-body {
    padding: 1rem;
}
.panel {
    padding: 0 6px;
    background: #fff;
}
.panel .table-responsive{
    min-height: 360px;
}
.panel .table-responsive,.panel .row{
    margin-top:12px;
}
@media (max-width:767px) {
    .sidebar{ display: none; }
    .main { margin:0 }
    /*.navbar-default{background: #000;}*/
    .navbar-brand{padding: 15px 5px;}
    .navbar-toggle{ margin-right: 5px;}
    .sidebar.sidebar-sub + .main{ margin-left: 0;}
    .main .main-header{left:0}
    .sidebar.sidebar-sub + .main .main-header{left:0}
    .main .main-body{padding: 0;}
    /*.panel{padding: 0 5px;}*/
    .main-header .navbar-nav>li>a,
    .main-header .dropdown-menu>li>a{text-align: right;}
}
.sidebar-show{
    display: block !important;
}

.panel .panel-header {
    border-bottom: 1px solid #eee;
    padding: 1rem 5px;
}

.panel .panel-header:after {
    clear: both;
    content: " ";
    display: block;
}

.panel .panel-body {
    padding: 1rem 0;
}

.panel .panel-footer {
    border-top: 1px solid #eee;
    padding: 1rem 0;
}
.main .tools{
	content: " ";
    display: table;
    position: relative;
    width:100%;
}
.main .tools .navbar-form{
	margin-top: 0;
	margin-bottom: 0;
}
.main label,.main .label{
	font-weight: normal;
}
@media (max-width: 768px){
    .tools .navbar-form .form-control {
        display: inline-block;
        vertical-align: middle;
        /*width: auto;*/
    }
}
.width-xl{width:620px}
.width-l{width:430px}
.width-m{width:280px}
.width-s{width:150px}
@media(max-width:768px){
    .width-xl,.width-l,.width-m,.width-s{width:100%}
}
.table>thead>tr>th,
.table>tbody>tr>td{
	padding:8px 5px;
    text-align:center;
    vertical-align: middle;
    font-size: 13px;
    line-height:15px;
}
.table th.auto,
.table td.auto{
	min-width:120px;
	text-align: left;
}
.table th.tleft,
.table td.tleft{
	text-align: left;
}
.table th.tright,
.table td.tright{
	text-align: right;
}
.table .image{
	width: 43px;
    height: 43px;
    background-color: #ddd;
    background-size: cover;
    background-position: center;
}
.table .image2{
	width: 50px;
    height: 50px;
    background-color: #ddd;
    background-size: cover;
    background-position: center;
}

.form-horizontal {border:0px solid #e2e2e2;padding-top:0px;}
.form-horizontal .form-group:hover{background:#f8f8f8;}
.form-horizontal .form-group{border-bottom:0px solid #e2e2e2;margin:0px;}
.form-horizontal .control-label{font-weight:normal;font-size:14px;line-height:35px}
.form-horizontal .inputs {border-left:0px solid #e2e2e2;padding:8px 8px}
.form-horizontal .inputs .form-control{display:inline-block;vertical-align: middle;padding: 6px 6px;/*width:auto;*/}
.form-horizontal .inputs .form-text{line-height:33px}
.form-horizontal .inputs .icon-question:BEFORE{color:#f38b06;cursor: pointer;}
.form-horizontal .inputs select.form-control{width:auto;}
.form-horizontal .inputs>span{color:#777;display:inline-block;font-size:12px;line-height:22px;}
.form-horizontal .inputs>label{font-weight:normal;line-height:30px;}
.form-horizontal .inputs.editor-mini{width:680px;}
.form-inline .form-group{border-bottom:0px solid #e2e2e2;margin:0px;}
.form-inline label{font-weight:normal;font-size:14px;line-height:35px}
@media(max-width:768px){
    .form-horizontal .control-label{margin-bottom: 0;}
    .form-horizontal .inputs {border-left:0px solid #e2e2e2;padding-top: 0;}
    .form-horizontal .form-group{border-bottom:1px solid #ddd;padding-top: 5px;}
}
.panel .nav-tabs > li {
    background-color: #f8f8f8;
}
.panel .nav-tabs > li > a {
    color: #464a4c;
    border: 1px solid #ddd;
    border-radius: 0;
}
.panel .nav-tabs li a.active, .panel .nav-tabs li.active a {
    border-color: #ddd #ddd #fff;
    background-color: #fff;
}
.upload-preview-list .upload-preview{
    display: inline-block;
    padding: 8px 0;
    position: relative;
    margin-right: 5px;
}
.upload-preview-list .file-item-delete{
    position: absolute;
    top:10px;
    right: 2px;
    font-size:18px;
    border-radius: 3px;
    background: rgba(0,0,0,0.5);
    color:#fff;
    width:15px;
    height:15px;
    line-height: 16px;
    text-align: center;
    cursor: pointer;
}
.upload-preview-img{
    width:68px;
    height: 68px;
}


#file_select_modal .file-list {
    margin-left: -9px;
}
#file_select_modal .file-list:after {
    content: " ";
    display: block;
    clear: both;
}

#file_select_modal .file-item {
    display: inline-block;
    width: 100px;
    height: 100px;
    line-height: 100px;
    margin-left: 10px;
    margin-bottom: 10px;
    overflow: hidden;
    border: 1px solid #eee;
    float: left;
    transition: 150ms;
}

#file_select_modal .file-item:hover {
    border-color: #529fe0;
}

#file_select_modal .file-cover {
    max-width: 100%;
    max-height: 100%;
    margin: auto auto;
}
