* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    font-family: "微软雅黑", Helvetica, Arial, sans-serif, "宋体";
    box-sizing: border-box;
}

img {
    border: none; /*兼容至ie8 没有边框出现*/
}

.hide {
    display: none
}

html, body {
    min-height: 100%;
    font-size: 14px;
    color: #333;
}

a {
    color: #00cc99;
}

a:hover {
    color: #33dd99;
}

a.link {
    color: #333;
}

a.link:hover {
    color: #00cc99;
}
.no-select {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
/* vue ********************************/
.vue-not-ready {
    display: none;
}

.vue-layout-busy {
    font-size: 16pt;
    color: #999;
    position: fixed;
    top: 50%;
    left: 50%;
    width: 600px;
    text-align: center;
    margin-left: -300px;
    line-height: 30px;
    margin-top: -15px;
}
/*********************************/
#wrapper {
    margin: 0px auto;
}

/******************************/



.group {
    margin-bottom: 12px;
}

.panel {
    background-color: #ffffff;
    margin-bottom: 25px;
}

.panel-title {
    position: relative;
    border: 1px solid #cccccc;
    padding: 10px 12px;
    line-height: 40px;
    font-weight: bold;
    color: #555555;
    font-size: 16px;
}

.panel-title .btn-right, .panel-title .btns-right {
    position: absolute;
    right: 12px;
    top: 12px;
    font-size: 13px;
}

.panel-content {
    border: 1px solid #cccccc;
    border-top: 0px;
    padding: 10px 12px;
}

.panel-title .btns-right a {
    display: inline-block;
    margin-left: 12px;
    text-decoration: none;
    font-weight: normal;
    color: #333333;
}

.panel-title .btns-right a.btn {
    color: #fff;
}

.panel-title .btns-right a.btn:hover {
    color: #fff;
}

.panel-title .btns-right a:hover {
    color: #00c191;
}

.txt {
    border: 1px solid #e0e0e0;
    padding: 0px 5px;
    height: 32px;
    width: 198px;
    box-sizing: border-box;
    vertical-align: middle;
    outline: none;
    border-radius: 4px;
    background-color: #f9f9f9;
}

.txt.active {
    color: #004085;
    background-color: #cce5ff;
    border-color: #b8daff;
}

textarea.txt {
    height: 80px;
    padding: 5px;
}

label.selected {
    background-color: #cc000c;
    color: #ffffff;
    padding: 0 8px;
    border-radius: 4px;
}

textarea {
    border: 1px solid #dddddd;
    border-radius: 3px;
    padding: 8px 5px;
    width: 200px;
    height: 80px;
    /*background-color: #ffffe0;*/
}

textarea.full {
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

ul {
    padding: 0px;
    margin: 0px;
}

ul > li {
    list-style: none;
    padding: 0px;
}

ol {
    margin: 0px;
}

ol > li {
    list-style: decimal;
}

.date {
    text-align: center;
    padding-right: 35px;
    background-image: url("images/date.png");
    background-repeat: no-repeat;
    background-position: right center;
}

select {
    height: 32px;
    line-height: 32px;
    border-color: #9fa0a0;
    background-color: #FFFFFF;

}
@media (max-width: 768px){
    select {
        -webkit-appearance: none;
        -webkit-tap-highlight-color: transparent;
        background-image: url("images/down-48-gray-pad.png");
        background-position: right center;
        background-size: 22px auto;
        background-repeat: no-repeat;
    }
}

select option {
    height: 32px;
    line-height: 32px;
}

.btn {
    display: inline-block;
    line-height: 30px;
    height: 32px;
    text-align: center;
    padding: 0 25px;
    background-color: #00cc99;
    border: 1px solid #00cc99;;
    color: #fff;
    cursor: pointer;
    border-radius: 3px;
    text-decoration: none;
    overflow: hidden;
    vertical-align: middle;
    position: relative;
    font-size: 14px;
}

.btn.small {
    line-height: 24px;
    font-size: 12px;
    padding: 0 15px;
    height: 26px;
}

.btn:hover {
    background-color: #00bb88;
    border-color: #00bb88;
    color: #fff;
}

.btn.disabled {
    background-color: #999;
    border-color: #999;
    color: #fff;
    cursor: default;
}
.btn.white{
    color: #00cc99;
    background-color: #fff;
}
.btn.white:hover{
    background-color: #E5FFF8;
}

label.radio,
label.checkbox {
    display: inline-block;
    background: url("images/radio-48-off.png") left center no-repeat;
    background-size: 16px auto;
    padding-left: 22px;
}

label.radio.checked {
    background-image: url("images/radio-48-on.png");
}

label.checkbox {
    background-image: url("images/check-no-48.png");
}

label.checkbox.checked {
    background-image: url("images/check-yes-48.png");
}

.ui-widget-content a.btn {
    color: #ffffff;
}

.center {
    text-align: center;
    vertical-align: middle;
}

.top {
    vertical-align: top;
}

.required {
    color: red;
}

.line-tip {
    display: inline-block;
    padding-left: 25px;
    color: #888888;
}

.msg-success {
    margin-bottom: 50px;
}

.msg-success > i {
    display: block;
    width: 90px;
    height: 90px;
    background: url("images/success-180.png") center center no-repeat;
    background-size: 90px auto;
    margin: 0 auto;
}

.msg-success > label {
    display: block;
    padding-top: 15px;
    font-size: 24pt;
}

h1 {
    font-size: 18pt;
}

h2 {
    font-size: 16pt;
}

h3 {
    font-size: 14pt;
}

h4 {
    font-size: 12pt;
}

h5 {
    font-size: 10pt;
}

h3.title3 {
    border-left: 5px solid #00cc99;
    padding-left: 10px;
    font-size: 16px;
    line-height: 16px;
    margin-bottom: 25px;
}

img {
    border: none;
    max-width: 100%;
}
.tip-w{
    display: inline-block;
    width: 16px;
    height: 16px;
    vertical-align: middle;
    background: url("images/info-32-w.png") center no-repeat;
    background-size: 14px auto;
}

.relative {
    position: relative;
}

table {
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
}

table.grid thead {
    border: 1px solid #312f32;
    border-bottom: 0;
}

table.grid tbody {
    table-layout: fixed;
    width: 100%;
    border-spacing: 0;
    border: 1px solid #dcdcdc;
    border-bottom: 0;
    border-top: 0;
    border-collapse: separate;
}

.panel-grid > table.grid {
    border-top: 0px;
}

table.grid thead th {
    background-color: #312f32;
    padding: 12px 5px;
    text-align: left;
    color: #fff;
}

table.grid2 thead th {
    padding: 12px 5px;
    text-align: left;
    color: #999;
    font-weight: normal;
    border-bottom: 1px solid #ddd;
}

table.grid thead th.center,
table.grid2 thead th.center {
    text-align: center;
}

table.grid thead th.right,
table.grid2 thead th.right {
    text-align: right;
}

table.grid tbody tr.alt {
    background-color: #e8e8e8;
}

table.grid tbody td {
    padding: 8px 5px;
    -moz-word-break: break-all;
    -o-word-break: break-all;
    word-break: break-all;
    border-bottom: 1px solid #dcdcdc;
    color: #333;
    font-size: 10pt;
}

table.grid2 tbody td {
    padding: 8px 5px;
    word-break: break-all;
    border-bottom: 1px solid #dddddd;
    color: #333;
    font-size: 10pt;
}

table.grid2 tbody td.empty {
    text-align: center;
    padding: 25px 0;
    color: #999;
}

table.grid tbody td *,
table.grid2 tbody td * {
    font-size: 10pt;
}

table.grid tfoot {
    border: 1px solid #dcdcdc;
}

table.grid tfoot td {
    background-color: #f4f4f4;
    border: 0;
    line-height: 20px;
    padding: 10px;
    font-weight: bold;
}

table.grid td.empty {
    text-align: center;
    padding: 35px 0;
}

table.grid td.loading {
    text-align: center;
    padding: 35px 0;
    color: #888888;
}

table.grid a {
    margin: 0 5px;
    text-decoration: none;
}

table.grid td small {
    color: #999999;
    font-size: 12px;
}

table.grid td.cell-rank {
    border-right: 1px solid #ddd;
    background: #f0f0f0;
}

table.grid tr.alt td {
    background-color: #f5f5f5;
}

table.grid tr.alt td.cell-rank {
    background-color: #f0f0f0;
}

table.grid tr.selected td {
    background-color: #e0f0cf;
}

table.grid .sortable {
    cursor: pointer;
    background-image: url("images/sort-none.png");
    background-position: right center;
    background-repeat: no-repeat;
    background-size: 15px auto;
}

table.grid .sortable:hover {
    background-color: #676465;

}

table.grid .sortable.sort-asc {
    background-image: url("images/sort-asc.png");
}

table.grid .sortable.sort-desc {
    background-image: url("images/sort-desc.png");
}

table.form {
    table-layout: fixed;
    width: 100%;
    border-collapse: collapse;
}

table.form td.label {
    color: #000000;
    font-weight: bold;
}

table.form > tbody > tr > td {
    padding: 10px 5px;
}

dl {
    margin-bottom: 15px;
}

dl > dt {
    border-bottom: 1px dotted #dddddd;
    font-size: 16pt;
    color: #808080;
    line-height: 1.5em;
    margin-bottom: 10px;
    padding-bottom: 5px;
    font-weight: bold;
}

dl > dd {
    color: #808080;
    margin: 0px;
    margin-bottom: 10px;
    line-height: 1.5em;
    padding: 0px;
}

ul.list,
ul.list-more,
ul.list-links {
    border-top: 1px solid #dddddd;
    background-color: #ffffff;
}

ul.list > li.empty,
ul.list-links > li.empty,
ul.list-more > li.empty {
    padding: 15px 0;
    text-align: center;
    background-image: none;
}

ul.list > li.loading,
ul.list-more > li.loading,
ul.list-links > li.loading {
    text-align: center;
    background-image: none;
    line-height: 50px;
    padding: 0px;
}

ul.list > li {
    border-bottom: 1px solid #dddddd;
    padding: 10px 12px;
    overflow: hidden;
    position: relative;
}

ul.list .btn-loadmore {
    padding: 10px 12px;
    text-align: center;
}

ul.list .btn-loadmore a {
    display: block;
    text-align: center;
    line-height: 36px;
    cursor: pointer;
    border: 1px solid #3ABDDB;
    -ms-border-radius: 4px;
    border-radius: 4px;
}

ul.list-more li, ul.list-links li {
    border-bottom: 1px solid #dddddd;
    padding: 10px 12px;
    padding-right: 24px;
    cursor: pointer;
    position: relative;
    background-image: url("images/arrow-right.png");
    background-position: right center;
    background-repeat: no-repeat;
    -ms-background-size: 19px auto;
    background-size: 19px auto;
    overflow: hidden;
}

ul.list-more li.nomore, ul.list-links li.nomore {
    background-image: none;
    cursor: default;
}

ul.list-more li .right, ul.list-links li .right {
    float: right;
    color: #999999;
}

ul.list-more li .info, ul.list-links li .info {
    display: block;
    font-size: 10pt;
    color: #999999;
    line-height: 16px;
}

ul.list-links li:hover {
    background-color: #f0f8ff;
}

ul.list-links > li {
    padding: 0px;
}

ul.list-links > li > a {
    display: block;
    padding: 10px 12px;
    padding-right: 24px;
    text-decoration: none;
    color: #333333;
    line-height: 22pt;
    overflow: hidden;
}

.float-r {
    float: right;
}

.btn-delete {
    color: red;
}

.money {
    color: #ff4500;
}

.money-in {
    color: green;
}

.money-out {
    color: red;
}

.rdo-2 {
    margin-left: 25px;
}

p.tip {
    display: block;
    padding-top: 10px;
}

.pager {
    overflow: hidden;
    padding: 10px;
    border: 1px solid #ddd;
    border-top: 0;
}
.pager select.pager-sizes{
    height: 28px;
    margin-left: 10px;
    float: left;
}
.pager .pager-summary {
    float: left;
    overflow: hidden;
    line-height: 26px;
    font-size: 14px;
}

.pager .pager-summary span {
    float: left;
    margin-right: 26px;
}

.pager .pager-summary div {
    float: left;
}

.pager .pager-summary div input {
    width: 72px;
    height: 24px;
    border: 0;
    background-color: #eee;
    margin: 0 10px;
    outline: 0;
    text-align: center;
}

.pager .btn-page-to {
    display: inline-block;
    text-align: center;
    line-height: 26px;
    padding: 0 26px;
    text-decoration: none;
    font-size: 12px;
    background-color: #c7000b;
    color: #ffffff;
    margin-left: 10px;
}

.pager ul {
    overflow: hidden;
    margin: 0;
    padding: 0;
    float: left;
    margin-right: 30px;
}

.pager li {
    float: left;
    margin-right: 10px;
    list-style: none;
    padding: 0px;
}

.pager li a {
    display: block;
    text-align: center;
    line-height: 26px;
    border: 1px solid #eeeeee;
    padding: 0 15px;
    background-color: #ffffff;
    text-decoration: none;
    color: #333;
    font-size: 14px;
}

.pager li.selected a, .pager li.next a, .pager li.previous a {
    background-color: #c7000b;
    color: #ffffff;
}

.pager a.refresh {
    display: inline-block;
    text-align: center;
    line-height: 30px;
    border: 1px solid #eeeeee;
    padding: 0 15px;
    background-color: #ffffff;
    text-decoration: none;
}

.pager li.disabled a, .pager li.next.disabled a, .pager li.previous.disabled a {
    color: #333;
    border-color: #eeeff4;
    background-color: #eeeff4;
    cursor: default;
}

.pager .busy {
    line-height: 30px;
    margin-left: 20px;
    display: inline-block;
    color: #999;
}

/*******************************/
/***file upload****************************/
.fileupload {
    position: fixed;
    top: 0px;
    left: 0px;
    background: url("images/modal.png");
    width: 100%;
    min-height: 100%;
}

.file-dialog {
    position: absolute;
    width: 500px;
    top: 50%;
    left: 50%;
    margin-left: -250px;
    margin-top: -100px;
}

.file-close {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 30px;
    height: 30px;
    background: url("images/close-btn.png") center center no-repeat;
    cursor: pointer;
}

.file-title {
    background: #333;
    padding: 10px 12px;
    line-height: 30px;
    border-radius: 5px 5px 0 0;
    font-size: 16px;
    color: #fff;
    font-weight: bold;
    position: relative;
}

.file-content {
    padding: 50px;
    background-color: #fff;
    border-radius: 0 0 5px 5px;
}

.file-content h4 {
    color: #666;
    font-weight: normal;
    font-size: 14px;
    text-align: left;
    padding: 5px 0;
    padding-left: 10px;
}

.progress {
    width: 190px;
    height: 14px;
    border: 1px solid #dddddd;
    -ms-border-radius: 5px;
    border-radius: 5px;
    overflow: hidden;
    margin: 0 auto;
}

.progress-value {
    height: 14px;
    background: url("images/progressing.gif") no-repeat;
    width: 3%;
}

.fileupload.frame .progress {
    border: 0px;
}

.fileupload.frame .progress-value {
    width: 100%;
}

div.btn-upload {
    width: 120px;
    height: 36px;
    overflow: hidden;
    position: relative;
    background-color: #eeeeee;
    text-align: center;
}

div.btn-upload:hover {
    background-color: #dddddd;
}

div.btn-upload input {
    -ms-opacity: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 0;
    font: 200px monospace !important;
    filter: alpha(opacity=0);
    margin: 0;
    padding: 0;
    cursor: pointer;
}

div.btn-upload span {

}

/**********************************/

/*******************************************/
/* notifications - busy **********************/
#busy {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.25);
}

#busy .busy-inner {
    position: absolute;
    background: #333;
    -ms-border-radius: 5px;
    border-radius: 5px;
    width: 160px;
    overflow: hidden;
    top: 50%;
    margin-top: -60px;
    left: 50%;
    margin-left: -80px;
    text-align: center;
    color: #FFFFFF;
}

#busy .icon-busy {
    display: block;
    background: url("images/loading.gif") center 20px no-repeat;
    -ms-background-size: 40px auto;
    background-size: 40px auto;
    height: 70px;
}

#busy .busy-inner > label {
    display: block;
    line-height: 1.5em;
    padding: 0 5px 10px 5px;
    -moz-text-overflow: ellipsis;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

/* toast **********************************/
.toast {
    position: fixed;
    background: #333;
    border-radius: 5px;
    width: 120px;
}
.toast > i{
    display: block;
    background-repeat: no-repeat;
    background-position: center 20px;
    background-size: 40px auto;
    height: 70px;
}
.toast > label {
    display: block;
    line-height: 20px;
    padding: 0 5px 10px 5px;
    color: #fff;
    text-align: center;
}
.toast.success > i{
    background-image: url(images/toast-success.png);
    background-size: 44px auto;
}

.toast.error > i{
    background-image: url(images/toast-error.png);
    background-size: 32px auto;
}

.toast.info > i{
    background-image: url(images/toast-info.png);
}

.toast2 {
    position: fixed;
    transition: 0.2s;
    box-shadow: 0 0 50px #333;
    border-top: 2px solid #00cc99;
    padding: 5px 15px;
    border-radius: 0 0 5px 5px;
    overflow: hidden;
    background-color: #fff;
    text-align: center;
    line-height: 24px;
}

.toast2.success  i {
    display: inline-block;
    vertical-align: bottom;
    height: 24px;
    width: 24px;
    background: url("images/ok-48.png") left center no-repeat;
    background-size: 16px auto;
    margin-right: 0px;
}

/* controls - multiImageUploader ************************/
ul.files-uploader {
    overflow: hidden;
    margin-left: -15px;
    padding: 10px 10px 0 0;
}

ul.files-uploader > li {
    float: left;
    margin-left: 15px;
    margin-bottom: 15px;
    position: relative;
}

ul.files-uploader > li > label {
    display: block;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border: 1px solid #c7000b;
    text-align: center;
    overflow: hidden;
    cursor: pointer;
    font-size: 11px;
    color: #999999;
    border-radius: 3px;
}

ul.files-uploader > li.uploader-new > label {
    font-size: 38px;
    color: #c7000b;
    background-color: #ffffff;
    display: inline-block;
    line-height: 55px;
}

ul.files-uploader > li.uploader-new > label.upload-tip {
    font-size: 11.5pt;
    line-height: 60px;
    color: #999;
    border: 0;
    margin-left: 5px;
    width: auto;
}

ul.files-uploader > li a.btn-delete {
    position: absolute;
    width: 21px;
    height: 21px;
    top: -10px;
    right: -10px;
    display: block;
    cursor: pointer;
    background: url("images/remove-42.png") center center no-repeat;
    -ms-background-size: 21px auto;
    background-size: 21px auto;
}

ul.files-uploader > li.uploader-new a.btn-delete {
    display: none;
}

ul.files-uploader li img {
    height: 100%;
}

ul.files-uploader > li input {
    display: none;
}

ul.files-uploader > li.uploader-word > label {
    background: url("images/file-word-128.png") center center no-repeat;
    -ms-background-size: 60px auto;
    background-size: 60px auto;
}

ul.files-uploader > li.uploader-excel > label {
    background: url("images/file-excel-128.png") center center no-repeat;
    -ms-background-size: 60px auto;
    background-size: 60px auto;
}

ul.files-uploader .uploader-moves {
    position: absolute;
    height: 30px;
    top: 50%;
    margin-top: -15px;
    width: 100%;
    text-align: center;
    display: none;
}

ul.files-uploader > li:hover .uploader-moves {
    display: block;
}

ul.files-uploader > li.uploader-new:hover .uploader-moves {
    display: none;
}

ul.files-uploader a.btn-move-prev,
ul.files-uploader a.btn-move-next {
    width: 30px;
    height: 30px;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 30px;
    display: inline-block;
    vertical-align: bottom;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 16px auto;
    transition: 2s;
}

ul.files-uploader a.btn-move-prev {
    background-image: url("images/arr-left-w-48.png");
}

ul.files-uploader a.btn-move-next {
    background-image: url("images/arr-right-w-48.png");
}

.tip {
    color: #999;
    padding-left: 10px;
    display: inline-block;;
}

.tip > a {
    font-size: 11.5pt;
}

/* .dialog *****************************/

.dialog {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.dialog-wrap {
    position: absolute;
}

.dialog-title {
    background: #333;
    padding: 10px 12px;
    line-height: 24px;
    border-radius: 5px 5px 0 0;
    font-size: 16px;
    color: #fff;
    font-weight: bold;
    position: relative;
    cursor: move;
}
.dialog.app .dialog-title{
    color: #333;
    padding: 0;
    text-align: center;
    line-height: 46px;
    border-radius: 5px 5px 0 0;
    background-color: #fff;
}

.dialog-title .btn-close {
    position: absolute;
    top: 7px;
    right: 12px;
    width: 30px;
    height: 30px;
    background: url("images/close-btn.png") center center no-repeat;
    cursor: pointer;
}
.dialog.app .dialog-title .btn-close{
    display: none;
}

.dialog-content {
    padding: 0.5em 1em;
    overflow: auto;
    background-color: #fff;
}

.dialog-buttons {
    overflow: hidden;
    border-top: 1px solid #dcdcdc;
    padding: 10px 12px;
    border-radius: 0 0 5px 5px;
    background-color: #fff;
}
.dialog.app .dialog-buttons{
    padding: 0;
    border-radius: 0 0 5px 5px;
}

.dialog-buttons ul {
    text-align: center;
    overflow: hidden;
    display: flex;
}

.dialog-buttons li {
    display: inline-block;;
}
.dialog.app .dialog-buttons li{
    display: block;
    flex: 1;
    border-right: 1px solid #dcdcdc;
}
.dialog.app .dialog-buttons ul > li:last-child{
    border-right: 0;
}

.dialog-buttons a {
    display: block;
    line-height: 32px;
    padding: 0 12px;
    background: #c7000c;
    color: #fff;
    margin: 0 8px;
    border-radius: 5px;
    min-width: 80px;
}
.dialog.app .dialog-buttons a{
    margin: 0;
    color: #333;
    background-color: transparent;
    line-height: 46px;
}


.dialog-buttons a:hover {
    color: #fff;
    background: #b4000c;
}

.dialog-content > .load-error,
.dialog-content > .loading {
    padding: 50px 0;
    text-align: center;
}
@media screen and (max-width: 768px)  {
    .dialog-buttons {
        border-radius: 0;
    }

    .dialog-title {
        border-radius: 0;
    }
}

/*****************************/

.tab-headers {
    width: 100%;
    border-bottom: 2px solid #555;
    overflow: hidden;
    margin-bottom: 20px;
}

.tab-headers > li {
    float: left;
    margin-right: 10px;
}

.tab-headers li.selected a {
    background-color: #555;
    color: #fff;
}

.tab-headers li a {
    display: block;
    padding: 0 15px;
    line-height: 32px;
    text-align: center;
    color: #000;
    background-color: #efeff5;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
}

.tab-contents > li {
    display: none;
}

.tab-contents .pager ul li {
    display: block;
}

.tab-contents > li.selected {
    display: block;
}

span.form-error {
    color: red;
    font-size: 12px;
    padding-left: 10px;
}

.required {
    color: red;
}

.message-box {
    text-align: center;
    line-height: 1.5em;
    padding: 50px 0;
    max-height: 500px;
    overflow-y: auto;
}
.dialog.app .message-box{
    padding: 25px 0;
}

/* switch ***************************/
.switch {
    -webkit-appearance: none;
    appearance: none;
    position: relative;
    width: 52px;
    height: 32px;
    border: 1px solid #DFDFDF;
    outline: 0;
    border-radius: 16px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    background: #DFDFDF;
    vertical-align: bottom;
    margin: 0px;
}

.switch:before {
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 30px;
    border-radius: 15px;
    background-color: #FDFDFD;
    -webkit-transition: transform .3s;
    -moz-transition: transform .3s;
    -ms-transition: transform .3s;
    -o-transition: transform .3s;
    transition: transform .3s;
}

.switch:after {
    content: " ";
    position: absolute;
    top: 0;
    left: 0;
    width: 30px;
    height: 30px;
    border-radius: 15px;
    background-color: #FFFFFF;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    -ms-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    -webkit-transition: transform .3s;
    -moz-transition: transform .3s;
    -ms-transition: transform .3s;
    -o-transition: transform .3s;
    transition: transform .3s;
    content: "关";
    color: #999;
    line-height: 32px;
    text-align: center;
}

.switch:checked {
    border-color: #04BE02;
    background-color: #04BE02;
}

.switch:checked:before {
    -webkit-transform: scale(0);
    -moz-transform: scale(0);
    -ms-transform: scale(0);
    -o-transform: scale(0);
    transform: scale(0);
}

.switch:checked:after {
    -webkit-transform: translateX(20px);
    -moz-transform: translateX(20px);
    -ms-transform: translateX(20px);
    -o-transform: translateX(20px);
    transform: translateX(20px);
    content: "开";
    left: auto;
    right: 20px;
    color: #00cc33;
}

/***************************/
.auto-w1 {
    display: inline-block;
    position: relative;
    overflow: visible;
}

.auto-w1 > ul {
    position: absolute;
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 5px;
    border-radius: 3px;
    box-shadow: 0 0 5px #ddd;
    max-height: 200px;
    overflow-y: auto;
    width: 100%;
    z-index: 1;
}

.auto-w1 > ul > li {
    padding: 5px 10px;
    cursor: default;
}

.auto-w1 > ul > li:hover {
    background-color: #f4f4f4;
}

.auto-w1 > ul > li.selected {
    background-color: #f0f0f0;
}

/***************************/
/* btn group *****************************************/
.btn-group {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    font-size: 11pt;
}

.btn-group > a {
    display: block;
    background-color: #00cc99;
    color: #fff;
    line-height: 32px;
    height: 32px;
    text-align: center;
    padding: 0 15px;
    -ms-border-radius: 4px;
    border-radius: 4px;
}

.btn-group > a:hover,
.btn-group > a:focus {
    background-color: #00bb88;
}

.btn-group.sa > a {
    background-color: #7a14c0;
}

.btn-group > ul {
    margin-top: 2px;
    display: none;
    position: absolute;
    top: auto;
    right: 0px;
    width: 150px;
    padding: 4px 0px;
    background-color: #fff;
    border: 1px solid #ddd;
    -ms-border-radius: 4px;
    border-radius: 4px;
    z-index: 2;
    box-shadow: 1px 1px 3px #e0e0e0;
}

.btn-group.open > ul {
    display: block;
}

.btn-group > ul > li {
    display: block;
    line-height: 32px;
    text-align: left;
    padding: 0 20px;
    color: #333;
    cursor: pointer;
}

.btn-group > ul > li * {
    display: block;
}

.btn-group > ul > li > a {
    color: #333;
    text-decoration: underline;
}

.btn-group > ul li.disabled,
.btn-group > ul li.disabled * {
    color: #999;
    cursor: default;
}

.btn-group > ul li:hover {
    background-color: #f0f0f0;
}

.btn-group > a > span {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 2px;
    vertical-align: middle;
    border-top: 4px solid;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
}

/****************************************/
.alert {
    position: relative;
    padding: .75rem 1.25rem;
    margin-bottom: 25px;
    border: 1px solid transparent;
    border-radius: .25rem;
}

.alert-primary {
    color: #004085;
    background-color: #cce5ff;
    border-color: #b8daff;
}

.alert-secondary {
    color: #383d41;
    background-color: #e2e3e5;
    border-color: #d6d8db;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #ffeeba;
}

/*****************************************************/
.date-picker {
    background-color: #fff;
    position: absolute;
    border-radius: 4px;
    border: 1px solid #ddd;
    width: 300px;
}

.date-picker table {
    border-collapse: separate;
}

.date-picker th,
.date-picker td {
    text-align: center;
}

.date-picker th {
    padding-bottom: 6px;
}

.date-picker td > a {
    display: block;
    line-height: 24px;
    border-radius: 2px;
    color: #999;
    border: 1px solid transparent;
}

.date-picker td.this-month > a {
    border-color: #ddd;
    color: #333;
}

.date-picker td.this-month.today > a {
    font-weight: bold;
    text-decoration: underline;
}

.date-picker td > a:hover {
    background-color: #f7f8f9;
    color: #00cc99;
}

.date-picker .picker-dates {
    padding: 5px;
}

.date-picker .picker-header {
    background-color: #f4f4f4;
    padding: 8px 10px;
    border-bottom: 1px solid #ddd;
    position: relative;
}

.picker-today,
.picker-clear {
    line-height: 24px;
    display: block;
    width: 44px;
    text-align: center;
    border-radius: 3px;
    position: absolute;
    border: 1px solid #ddd;
    top: 8px;
    right: 10px;
    font-size: 10pt;
    color: #333;
}

.picker-today:hover,
.picker-clear:hover {
    color: #00cc99;
}

.picker-today {
    right: 60px;
}

.picker-year-left,
.picker-year-right,
.picker-month-left,
.picker-month-right,
.picker-ym {
    display: inline-block;
    height: 26px;
    line-height: 26px;
    vertical-align: bottom;
}

.picker-year-left,
.picker-year-right,
.picker-month-left,
.picker-month-right {
    width: 16px;
    border-radius: 3px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 16px auto;
}

.picker-year-left:hover,
.picker-year-right:hover,
.picker-month-left:hover,
.picker-month-right:hover {
    background-color: #e3e3e3;
}

.picker-ym {
    padding: 0;
}

.picker-year-left {
    background-image: url("images/picker-left2.png");
}

.picker-month-left {
    background-image: url("images/picker-left.png");
}

.picker-year-right {
    background-image: url("images/picker-right2.png");
}

.picker-month-right {
    background-image: url("images/picker-right.png");
}

/*****************************************************/

/***************************************/
.period-selector {
    position: relative;
}

.period-selector select {
    display: block;
}

.period-selector.open select.txt {
    width: 240px;
}

.period-selector .period-w1 {
    position: absolute;
    background-color: #f9f9f9;
    top: 1px;
    left: 1px;
    display: flex;
    height: 30px;
    overflow: hidden;
    border-radius: 4px;
}

.period-selector .period-w1 > * {
    line-height: 30px;
    height: 32px;
}

.period-selector .period-w1 span {
    color: #999;
    font-size: 9pt;
    width: 20px;
    text-align: center;
    flex: inherit;
}

.period-selector input {
    background: transparent;
    border: 0;
    width: 100px;
    padding: 0;
    text-align: center;
}

/***************************************/
#imgPreviewer {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.618);
}

#imgPreviewer .previewer-img-w1 {
    position: absolute;
    left: 50%;
    top: 50%;
    box-shadow: 0 0 1000px #333;
    opacity: 1;
}

#imgPreviewer.busy .previewer-img-w1 {
    opacity: 0;
}

#imgPreviewer .previewer-loading {
    display: none;
}

#imgPreviewer.busy .previewer-loading {
    color: #fff;
    width: 200px;
    line-height: 40px;
    text-align: center;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -100px;
    margin-top: -20px;
    display: block;
}

#imgPreviewer .previewer-img-w1 img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    box-shadow: 0 0 50px #000;
}

#imgPreviewer.busy .previewer-img-w1 img {
    opacity: 0;
}

#imgPreviewer a.btn-previewer-close {
    display: block;
    position: absolute;
    top: -32px;
    right: -32px;
    width: 32px;
    height: 32px;
    border: 2px solid #fff;
    border-radius: 40px;
    background: url("images/remove-48-white.png") center center no-repeat;
    background-size: 20px auto;
    cursor: pointer;
}

#imgPreviewer.busy a.btn-previewer-close {
    display: none;
}

#imgPreviewer .previewer-btns {
    position: absolute;
    width: 200px;
    bottom: 9px;
    text-align: center;
    left: 50%;
    margin-left: -100px;
}

#imgPreviewer .previewer-btns * {
    display: inline-block;
    vertical-align: bottom;
    height: 32px;
    line-height: 32px;
}

#imgPreviewer .previewer-btns a {
    width: 32px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 20px auto;
    border: 1px solid transparent;
    border-radius: 40px;
    cursor: pointer;
}

#imgPreviewer .previewer-btns a:hover {
    border-color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
}

#imgPreviewer .previewer-btns a.disabled {
    border-color: transparent;
    background-color: transparent;
    cursor: default;
}

#imgPreviewer .previewer-btns span {
    padding: 0 12px;
    color: #fff;
}

#imgPreviewer .btn-previewer-prev {
    background-image: url("images/left-48.png");
}

#imgPreviewer .btn-previewer-next {
    background-image: url("images/right-48.png");
}

#imgPreviewer .btn-previewer-prev.disabled {
    background-image: url("images/left-48-gray.png");
}

#imgPreviewer .btn-previewer-next.disabled {
    background-image: url("images/right-48-gray.png");
}

/**********************/
.number-input {
    overflow: hidden;
    border: 1px solid #f4f4f4;
    border-radius: 3px;
    width: 98px;
}

.number-input > a {
    display: block;
    line-height: 24px;
    width: 24px;
    text-align: center;
}

.number-input > * {
    float: left;
}

.number-input > input {
    border: 0;
    border-left: 1px solid #f4f4f4;
    border-right: 1px solid #f4f4f4;
    width: 48px;
    text-align: center;
    line-height: 24px;
    padding: 0px;
    height: 24px;
    display: block;
}