﻿* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}

:after, :before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}

html {
    font-size: 14px;
    -webkit-tap-highlight-color: transparent
}
body {
    font-family: "Helvetica Neue",Helvetica,Tahoma,Arial,"Microsoft Yahei","Hiragino Sans GB","WenQuanYi Micro Hei",sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #76838f;
    background-color: #f1f4f5;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    line-height: inherit
}

a {
    color: #409EFF ;/*#62a8ea;*/
    text-decoration: none
}

a:focus, a:hover {
    color: #66B1FF;
    text-decoration: none
}

a:focus {
    outline: thin dotted;
    outline: 5px auto -webkit-focus-ring-color;
    outline: 0;
    outline-offset: -2px
}

.h4, h4 {
    font-size: 16px;
}
/* Set padding to keep content from hitting the edges */

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Chrome/Safari/Opera */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently

not supported by any browser */
}

.clearfix:after {
    content: "";
    display: block;
    height: 0;
    clear: both;
}

.clearfix {
    zoom: 1;
}

/* 滚动条 */
::-webkit-scrollbar { /*滚动条整体样式*/
    width: 4px; /*高宽分别对应横竖滚动条的尺寸*/
    height: 1px;
}

::-webkit-scrollbar-thumb { /*滚动条里面小方块*/
    border-radius: 4px;   
    background:#ddd;
}

::-webkit-scrollbar-track { /*滚动条里面轨道*/
    -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
    /*background: rgb(118, 131, 143);*/
}
/*
{
    background: rgb(118, 131, 143);
    width: 4px;
    position: absolute;
    top: 56px;
    opacity: 0.4;
    display: none;
    border-radius: 4px;
    z-index: 99;
    right: 1px;
    height: 152.735px;
}*/

/* 各种对齐 */

.text-left {
    text-align:left !important;
}
.text-center {
    text-align: center !important;
}
.text-right {
    text-align: right !important;
}
/* 表单相关 */
input,
select,
textarea {
    max-width: 280px;
}

.form-group label.error, .field-validation-error {
    font-weight: 500;
    color: #a94442;
}

.form-horizontal .control-label {
    font-weight: 500;
    color: #37474f;
}
/* 布局 */
.page-side {
    position: absolute;
    top: 0;
    left: 0;
    width: 220px;
    overflow-y: hidden;
    background: #fff;
    height: 100%;
    border-right: 1px solid #e4eaec;
    /*border-top: 1px #eff0f6 solid;*/
    padding: 15px;
}

.height-full {
    height: 100% !important;
    position: relative;
}

.site-page {
    margin-left: 220px;
    position: relative;
    background: #f1f4f5;
}

.page-full {
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    /*padding-bottom: 30px;*/
}

.page-main {
    margin: 20px 20px;
    background: #fff;
    overflow-y: auto;
    position: relative;
}

.subheader {
    height: 54px;
    line-height: 54px;
    background: #fff;
    padding: 0 20px;
    border-top: 1px solid #eff0f6;
    border-top:0;
}

.subheader .title {
    margin: 0;
    padding: 0 1rem 0 0;
    font-weight: 500;
    color: #434349;
    font-size: 15px;
    float: left;
}

.subheader .separator {
    width: 1px;
    height: 22px;
    display: block;
    border-radius: 2px;
    background: #e7e8ef;
    margin: 16px 1rem 0 0;
    float: left;
}

.subheader .desc {
    padding: 0 0.5rem 0 0;
    font-weight: 500;
    color: #959cb6;
    float: left;
}

.subheader .pull-right {
    vertical-align:middle;
}

.subheader .pull-right select {
    display:inline-block
}


/* 表格 */
.table {
    color: #76838f;
    border-top: 0;
}

/* 按钮 */
.btn {
    transition: border .2s linear,color .2s linear,width .2s linear,background-color .2s linear;
}
.btn-outline.btn-default {
    color: #76838f;
    background-color: transparent;
}
.btn-group-sm > .btn, .btn-sm {
    padding: 3px 10px;
}

/* 重写bootstrap panel */
.panel {
    margin-bottom: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}
.panel-heading {
    position:relative;
    padding:0;
}
.panel-heading + .panel-body {
    padding-top: 0;
    border-bottom:0;
}
.panel-title {
    display: block;
    padding: 16px 20px;
    font-size: 16px;
    color: #37474f;
}
.area-actions {

}
.area-actions .btn-group, .area-actions .btn {
    margin-top:1px;
}
.area-search-simple #txtKeyword {
    width: 168px;
    margin-top: 2px;
}
.area-search-simple #link_search {
    line-height: 30px;
    margin-right: 15px;
}
/* 重写bootstrap modal */
.modal-center {
    display: -ms-flexbox;
    display: -webkit-flex;
    display: -webkit-box;
    display: flex;
    height: 100%;
    margin: 0 auto !important;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-flex-flow: column nowrap;
    -ms-flex-flow: column nowrap;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-flow: column nowrap;
    -webkit-align-content: stretch;
    -ms-flex-line-pack: center;
    align-content: center;
}
.modal-content {
    border: none;
    border-radius: 0;
    -webkit-box-shadow: 1px 1px 15px rgba(0,0,0,.3);
    box-shadow: 1px 1px 15px rgba(0,0,0,.3);
}
.modal-header {
    padding: 10px 20px;
    background-color: #f3f7f9;
}
.modal-header .close {
    margin-top: 1px;
}
.modal-title {
    color:#666;
    font-size:14px;
}
.modal-body {
    padding: 20px;
}
.modal-footer {
    padding: 10px 20px 20px;
    border-top: none;
}

.modal-lg {
    width: 900px;
}

/* 重写 bootstrap button */

a.btn:hover {
    text-decoration:none;
}
/* 重写 bootstrap textbox */
.form-control {
    box-shadow: none;
    height: 32px;
    padding: 4px 8px;
    font-size: 14px;
    line-height: 1.6;
    color: #76838f;
    background-color: #fff;
    background-image: none;
    border: 1px solid #e4eaec;
    border-radius: 3px;
}

.form-control.long {
    max-width: 80%;
}

.form-control.full {
    max-width:none;
}

.form-control.short {
    max-width: 180px;
}

.input-sm {
    height: 26px;
    padding: 3px 10px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 2px;
}

/* 详情页 */
.container-details .panel-title {
    border-bottom: 1px #eeeeee solid;
}
.dl-horizontal.details dt {
    font-weight: 500;
    color: #37474f;
}
.dl-horizontal.details dt, dd {
    padding: 8px 15px;
}
.navbar-link a {
    margin-right: 7px;
}
.navbar-link a::after {
    
}
.auth {
    /*display:none;*/
}

/* 警告框 */
.alert-primary {
    color: #62a8ea;
    background-color: rgba(232,241,248,.8);
    border-color: #e8f1f8;
}

.alert-dismissible {
    padding-right: 30px;
}

.alert {
    padding-right: 10px;
    padding-left: 10px;
    border-radius: 0;
}

/* 选项卡 */
.nav-tabs-single > li.active > a,
.nav-tabs-single > li.active > a:focus,
.nav-tabs-single > li.active > a:hover {
    color: #62a8ea;
    background-color: transparent;
    border: 0;
    border-bottom: 2px solid #62a8ea;
}
.nav-tabs-single > li > a:hover {
    border: 0;
    background: none;
    border-bottom: 2px solid #e4eaec;
}
.nav-tabs-single > li > a {
    padding: 10px 20px;
    line-height: 1.3;
    color: #76838f;
    -webkit-transition: .25s;
    -o-transition: .25s;
    transition: .25s;
    border:0;
    border-bottom: 2px solid transparent;
}
.tab-content {
    display:none;
    padding-top:20px;
}
.tab-content.active {
    display:block;
}

/**
 * Admui v1.0.0 (http://www.admui.com/)
 * Copyright 2015-2018 Admui Team
 * Licensed under the Admui License 1.0 (http://www.admui.com/about/#license)
 */
.toast-title {
    font-weight: 700;
}

.toast-message {
    -ms-word-wrap: break-word;
    word-wrap: break-word;
    color:#fff;
}

.toast-message a, .toast-message label {
    color: #fff;
}

.toast-message a:hover {
    color: #ccd5db;
    text-decoration: none;
}

.toast-close-button {
    position: relative;
    top: -.3em;
    right: -.3em;
    float: right;
    margin-bottom: -.5em;
    font-size: 20px;
    font-weight: 400;
    color: #fff;
    text-shadow: 0 1px 0 #fff;
    filter: alpha(opacity=80);
    opacity: .8;
    -webkit-text-shadow: 0 1px 0 #fff;
}

.toast-close-button:hover, .toast-close-button:focus {
    color: #000;
    text-decoration: none;
    cursor: pointer;
    filter: alpha(opacity=40);
    opacity: .4;
}

button.toast-close-button {
    -webkit-appearance: none;
    padding: 0;
    cursor: pointer;
    background: transparent;
    border: 0;
}

.toast {
    position: fixed;
    z-index: 99999;
    pointer-events: none;
    color: #fff;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.toast > div {
    position: relative;
    padding: 10px 15px;
    margin: 0 0 6px;
    overflow: hidden;
    color: #a3afb7;
    pointer-events: auto;
    filter: alpha(opacity=95);
    background-repeat: no-repeat;
    background-position: 15px center;
    border: 1px solid transparent;
    border-radius: 3px;
    opacity: .95;
    padding-left: 20px;
}

.toast-top {
    top: 12px;
    right: 0;
    width: 100%;
}
.toast-bottom {
    right: 0;
    bottom: 12px;
    width: 100%;
}
.toast-center-center {
    top: 50%;
    left: 50%;
    margin-top: -25px;
    margin-left: -150px;
}
.toast-top.toast-f {
    top: 0;
}
.toast-bottom.toast-f {
    bottom: 0;
}

.toast-m > div {
    width: 300px;
    margin-right: auto;
    margin-left: auto;
}

.toast-s > div {
    width: 150px;
    margin-right: auto;
    margin-left: auto;
}

.toast-l > div {
    width: 600px;
    margin-right: auto;
    margin-left: auto;
}

.toast-f > div {
    width: 100%;
    border-radius:0;
}

.toast > :hover {
    cursor: pointer;
    filter: alpha(opacity=100);
    opacity: 1;
}
/*
.toast>div {
    background-color: #e4eaee;
}*/

.toast-success {
    background-color: #5cd29d;
}

.toast-error {
    background-color: #fa7a7a;
}

.toast-info {
    background-color: #77d6e1;
}

.toast-warning {
    background-color: #f4b066;
}

.toast-common {
    background-color: #242f35;
    filter: alpha(opacity=70);
    opacity: .7;
}

.y-loading {
    position: fixed;
    z-index: 2100;
    /*pointer-events: none;*/
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    top: 0;
    right: 0;
    height: 100%;
    width: 100%;
}

.y-loading > div {
    position: relative;
    overflow: hidden;
    width: 180px;
    margin: 0 auto;
    text-align: center;
    padding: 1em 0;
    border: none;
    background:#fff;
    border-radius: 0;
    -webkit-box-shadow: 1px 1px 15px rgba(0,0,0,.3);
    box-shadow: 1px 1px 15px rgba(0,0,0,.3);
}


/* 辅助类 */
.clearfix::after {
    display: block;
    clear: both;
    content: ""
}
.float-left {
    float: left !important
}

.float-right {
    float: right !important
}

.float-none {
    float: none !important
}

.mask {
    width:100%;height:100%;
    display:block;
    z-index: 9000;
    position:fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

a:hover .icon, a:hover .iconfont {
    text-decoration: none;
}

/* 日期选择框 */
.form-datetime {
    width: 180px;
    position: relative;
}
.form-datetime .icon-datepicker {
    right: 8px;
    top: 8px;
    position: absolute;
    width: 16px;
    height: 16px;
}
.form-datetime .icon-dateremove {
    cursor: pointer;
    right: 24px;
    top: 8px;
    position: absolute;
    width: 16px;
    height: 16px;
    display: none;
}

/* 标签 */
.tag,tag-default {
    padding: 3px 5px;
    color: #666;
    border: 1px #666 solid;
    border-radius: 3px;
    margin-right: 2%;
    font-size: 12px;
}

.tag-square {
    padding: 3px 5px;
    color: #fff;
    border: 1px #666 solid;
    background: #666;
    margin-right: 2%;
    font-size: 12px;
}

.tag-square span {
}

.tag-container .tag:last-child, .tag-square:last-child {
    margin-right: 0px;
}

.tag-orange {
    color: #ea5520;
    border-color: #ea5520;
}

.tag-green {
    color: #12A83A;
    border-color: #12A83A;
}

.tag-green2 {
    border-color: #32c5d2;
    color: #32c5d2;
}

.tag-blue {
    color: #03B3FC;
    border-color: #03B3FC;
}

.tag-purple {
    color: #E009C9;
    border-color: #E009C9;
}

.tag-gray {
    color: #999;
    border-color: #999;
}

.tag-red {
    color: red;
    border-color: red;
}

.tag-rose {
    color: #e61c64;
    border-color: #e61c64;
}

.tag-default-fill {
    background: #666;
    border-color: #666;
    color: #fff;
}

.tag-orange-fill {
    background: #ea5520;
    border-color: #ea5520;
    color: #fff;
}

.tag-green-fill {
    background: #12A83A;
    border-color: #12A83A;
    color: #fff;
}

.tag-green2-fill {
    background: #32c5d2;
    border-color: #32c5d2;
    color: #fff;
}

.tag-blue-fill {
    background: #03B3FC;
    border-color: #03B3FC;
    color: #fff;
}

.tag-purple-fill {
    background: #E009C9;
    border-color: #E009C9;
    color: #fff;
}

.tag-gray-fill {
    background: #999;
    border-color: #999;
    color: #fff;
}

.tag-red-fill {
    background: red;
    border-color: red;
    color: #fff;
}

.tag-rose-fill {
    background: #e61c64;
    border-color: #e61c64;
    color: #fff;
}

.tag-round {
    padding: 3px 11px;
    border-radius: 11px;
}

.tag-cancel {
    color: #999;
    border-color: #999;
    border-radius: 11px;
    padding: 3px 11px;
}

/* 输入框里生成标签 */
.tag-input {
    box-shadow: none;
    height: 32px;
    padding: 3px 12px;
    font-size: 14px;
    line-height: 1.6;
    color: #76838f;
    background-color: #fff;
    background-image: none;
    border: 1px solid #e4eaec;
    border-radius: 3px;
}
.tag-input input[type="text"] {
    font-size: 14px;
    border: none;
    box-shadow: none;
    outline: none;
    background-color: transparent;
    padding: 0;
    margin: 0;
    width: auto !important;
    max-width: inherit;
    min-width: 80px;
    vertical-align: top;
    height: 26px;
    color: #34495e;
}

.tag-input span {
    margin-right: 5px;
}

.form-group .tips {
    color: #909399;
    font-size:.9em;
}

.btn-primary.is-plain .caret {
    border-top-color: #409EFF
}

.btn-primary.is-plain:hover .caret, .btn-primary.is-plain:focus .caret {
    border-top-color: #FFF;
}


/* 几种不同场景下使用的文字样式 */

/* 主题色文字 */
.text-theme {
    color: #409EFF
}
/* 主要文字 */
.text-primary {
    color: #303133
}
/* 次要文字 */
.text-secondary {
    color: #909399
}
/* 普通文字 */
.text-normal {
    color: #606266
}
/* 占位文字 */
.text-gray {
    color: #C0C4CC
}
.text-success {
    color: #67C23A
}
.text-warning {
    color: #E6A23C
}
.text-danger {
    color: #F56C6C
}
.text-info {
    color: #909399
}
span.star {
    color: red;
}


/** switch *http://www.htmleaf.com/jQuery/Buttons-Icons/201810125364.html */
.ckbx-style {
    font-size: 20px;
}
.ckbx-style input[type=checkbox] {
    position: absolute;
    opacity: 0;
}
.ckbx-style .radio, .ckbx-style.checkbox {
    padding-left:0;
}
.ckbx-style label {
    width: 2em;
    height: 1em;
    position: relative;
    cursor: pointer;
    display: block;
    margin-bottom:0;
}

.ckbx-style label:before {
    content: '';
    position: absolute;
    width: 2em;
    height: 1em;
    left: 0.1em;
    transition: background 0.1s ease;
    background: #F25F5C;
    border-radius: 50px;
    box-shadow: inset 0px 1px 1px rgba(171, 66, 63, 0.5);
}

.ckbx-style label:after {
    content: '';
    position: absolute;
    width: 1em;
    height: 1em;
    border-radius: 50px;
    left: 0;
    transition: all 0.2s ease;
    box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.3);
    background: #fcfff4;
    animation: switch-off .2s ease-out;
    z-index: 2;
}

.ckbx-style input[type=checkbox]:checked + label:before {
    background: #64bd63; /* background: #70C1B3; */
    box-shadow: inset 0px 1px 1px rgba(84, 152, 140, 0.5);
}

.ckbx-style input[type=checkbox]:checked + label:after {
    animation: switch-on .2s ease-out;
    left: 1.1em;
}

table tr.data-empty td {
    text-align:center;
    padding:15px;
}

/* 文件上传组合框 选择人员等组合框 */
.input-group.long, .tag-input.long{
    width: 80%;
}

.input-group input[type="text"] {
    max-width: none;
}

.webuploader-pick {
    position: relative;
    display: inline-block;
    cursor: pointer;
    background: #409eff;
    padding: 5px 15px;
    color: #fff;
    text-align: center;
    border-radius: 3px;
    overflow: hidden;
}

.input-group.normal {
    width: 280px;
}

.input-group .webuploader-pick {
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}

.margin-left-5 {
    margin-left:5px;
}

.margin-left-10 {
    margin-left: 10px;
}

.margin-left-15 {
    margin-left: 15px;
}

.margin-left-20 {
    margin-left: 20px;
}

.col-action {
    text-align:center;
}

.col-status{
    text-align: center;
    width:60px;
}

.col-action a {
    margin: 0 5px;
}

.col-action a i {
    font-size: 16px;
    color: #e4eaec
}
.col-action a:hover{
    color: #000;
}
.col-action a:hover i {
    color:#999;
}
