﻿@charset "utf-8";

/*
 * appkit.css 的设计原则：
 * 1）最基本的样式重置。
 * 2）最小化的默认样式。
 * 3）最常用的类型定义。
 */

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

html {
    font-size: 12px;
    font-family: "Microsoft YaHei", "Helvetica Neue", "Luxi Sans", "DejaVu Sans", Tahoma, "Hiragino Sans GB", STHeiti;
}

body, form, iframe, h1, h2, h3, h4, h5, h6, div, p,
span, ol, ul, li, label, a, img, em, u, i, big, small, strong, code,
caption, article, canvas, footer, header, menu, nav, section, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
}

applet, object, blockquote, pre, abbr, acronym, address, cite, del, dfn,
ins, kbd, q, s, samp, strike, sub, sup, tt, var, center, dl, dt, dd,
fieldset, legend, aside, details, embed, figure, figcaption, summary,
hgroup, output, ruby, time, mark {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

table {
    border-collapse: collapse;
    border-spacing: 0px;
}

table, tbody, tfoot, thead, tr, th, td {
}

/* HTML5 标签的低版本浏览器兼容性考虑 */
article, aside, details, figcaption, figure, footer, header, hgroup,
menu, nav, section {
    display: block;
}

ol, ul, li {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

blockquote:before, blockquote:after, q:before, q:after {
    content: "";
    content: none;
}

img {
    border: none;
    vertical-align: middle;
    outline: none;
}

a {
    color: #000000;
    text-decoration: none;
    blr: expression(this.onFocus = this.blur ());
    outline: none;
}

input, textarea, button, select {
    outline: none;
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
}

div[onclick], span[onclick] {
    cursor: default;
}

a[onclick] {
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    * {
        -webkit-touch-callout: none;
        -moz-touch-callout: none;
        -ms-touch-callout: none;
        -webkit-tap-highlight-color: transparent;
        -moz-tap-highlight-color: transparent;
        -ms-tap-highlight-color: transparent;
    }

    html, body, form, fieldset, p, div, h1, h2, h3, h4, h5, h6 {
        -webkit-text-size-adjust: none;
        -moz-text-size-adjust: none;
        -ms-text-size-adjust: none;
        text-size-adjust: none;
    }

    input[type=button], input[type=text], input[type=password], input[type=radio],
    button /*, select*/ {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
    }

    select {
        background-color: #fff;
    }

    a, input, img, select {
        border: none;
        word-break: break-all;
    }

    input::-webkit-clear-button, input::-webkit-inner-spin-button, input::-webkit-outer-spin-button {
        -webkit-appearance: none;
    }

    input::-webkit-search-cancel-button {
        display: none;
    }

    input:focus::-webkit-input-placeholder {
        opacity: 0;
    }

    ::-webkit-scrollbar {
        display: none;
    }
}

.clearfix::after {
    content: "";
    display: block;
    height: 0;
    line-height: 0;
    visibility: hidden;
    clear: both;
}

.clearfix {
    *zoom: 1;
}

.clear {
    clear: both;
}

.fl {
    float: left;
}

.fr {
    float: right;
}

.hide, .writing {
    display: none;
}

.hidden {
    visibility: hidden;
}

.absolute {
    position: absolute;
}

.relative {
    position: relative;
}

.fixed {
    position: fixed;
}

.ellipsis {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.break {
    white-space: normal;
    word-break: break-all;
    word-wrap: break-word;
}

.left {
    text-align: left;
}

.center {
    text-align: center;
}

.right {
    text-align: right;
}

.top {
    vertical-align: top;
}

.bold {
    font-weight: bold;
}

.bolder {
    font-weight: bolder;
}

:not(.table):not(.tr).middles > * {
    vertical-align: middle;
}

:not(.table):not(.tr).middles::after {
    content: "";
    display: inline-block;
    vertical-align: middle;
    height: 100%;
    width: 0;
}

:not(.table):not(.tr).line-heights > * {
    line-height: initial;
}

.middle {
    vertical-align: middle;
}

.bottom {
    vertical-align: bottom;
}

.fx-foot.h40, .fx-head.h40 {
    height: 40px;
}

.fx-foot.h50, .fx-head.h50 {
    height: 50px;
}

.fx-foot.h60, .fx-head.h60 {
    height: 60px;
}

.fx-head > * {
    position: fixed;
    top: 0;
    width: 100%;
}

.fx-foot > * {
    position: fixed;
    bottom: 0;
    width: 100%;
}

.fx-head:before, .fx-foot:before {
    content: "";
    display: block;
    position: static;
    height: 100%;
    width: 100%;
}

.x-center {
    margin-left: auto;
    margin-right: auto;
}

.x-table-center {
    display: table;
    margin-left: auto;
    margin-right: auto;
}

.block {
    display: block;
}

.inline-block {
    display: inline-block;
}

.bg-white {
    background-color: #ffffff;
}

.a {
    color: #005aa0;
    cursor: pointer;
}

.a:hover {
    color: #e4393c;
}

/* table */
/* ===== */

table.table {
    border-collapse: collapse;
    border-spacing: 0;
}

table.table tr {
    border: 1px solid #dcdcdc;
    border-left-color: #f5f5f6;
    border-right-color: #f5f5f6;
    height: 30px;
}

div.table > .tr {
    border-left: 1px solid #f5f5f6;
    border-right: 1px solid #f5f5f6;
    border-bottom: 1px solid #dcdcdc;
    min-height: 30px;
}

div.table > .tr:after {
    content: "";
    display: block;
    height: 0;
    line-height: 0;
    visibility: hidden;
    clear: both;
}

div.table > .tr:first-child {
    border-top: 1px solid #dcdcdc;
}

div.tr > div,
div.table .td {
    float: left;
    min-height: 30px;
}

div.tr > div:not(.td).middles,
div.tr > .td.middles {
    min-height: 30px;
}

div.tr > div:not(.td).line-heights,
div.table .td.line-heights {
    line-height: 30px;
}

div.tr > div:not(.td).line-heights > *,
div.table .td.line-heights > * {
    line-height: initial;
}

.table.tall tr {
    height: 50px;
}

.table.tall .tr {
    min-height: 50px;
}

.table.tall .tr > .td.line-heights,
.table.tall.line-heights .tr > .td,
.table.tall .tr.line-heights > .td {
    line-height: 50px;
}

.table.low tr {
    height: 20px;
}

.table.low .tr {
    min-height: 20px;
}

.table.low .tr > .td.line-heights,
.table.low.line-heights .tr > .td,
.table.low .tr.line-heights > .td {
    line-height: 20px;
}

.table tr:not(.head):hover,
.table .tr:not(.head):hover {
    background-color: #f3f3f4;
}

.table tr.head,
.table .tr.head {
    font-weight: bold;
    background-color: #f5f5f6;
}

.tr.auto > .td:first-child:nth-last-child(1),
.tr:not(.auto) > .td[cols="12"] {
    width: 100%;
}

.tr:not(.auto) > .td[cols="11"] {
    width: 91.666%;
}

.tr:not(.auto) > .td[cols="10"] {
    width: 83.333%;
}

.tr:not(.auto) > .td[cols="9"] {
    width: 75%;
}

.tr:not(.auto) > .td[cols="8"] {
    width: 66.666%;
}

.tr:not(.auto) > .td[cols="7"] {
    width: 58.333%;
}

.tr.auto > .td:first-child:nth-last-child(2),
.tr.auto > .td:first-child:nth-last-child(2) ~ .td,
.tr:not(.auto) > .td[cols="6"] {
    width: 50%;
}

.tr:not(.auto) > .td[cols="5"] {
    width: 41.666%;
}

.tr.auto > .td:first-child:nth-last-child(3),
.tr.auto > .td:first-child:nth-last-child(3) ~ .td,
.tr:not(.auto) > .td[cols="4"] {
    width: 33.333%;
}

.tr.auto > .td:first-child:nth-last-child(4),
.tr.auto > .td:first-child:nth-last-child(4) ~ .td,
.tr:not(.auto) > .td[cols="3"] {
    width: 25%;
}

.tr.auto > .td:first-child:nth-last-child(5),
.tr.auto > .td:first-child:nth-last-child(5) ~ .td {
    width: 20%;
}

.tr.auto > .td:first-child:nth-last-child(6),
.tr.auto > .td:first-child:nth-last-child(6) ~ .td,
.tr:not(.auto) > .td[cols="2"] {
    width: 16.666%;
}

.tr.auto > .td:first-child:nth-last-child(7),
.tr.auto > .td:first-child:nth-last-child(7) ~ .td {
    width: 14.285%;
}

.tr.auto > .td:first-child:nth-last-child(8),
.tr.auto > .td:first-child:nth-last-child(8) ~ .td {
    width: 12.5%;
}

.tr.auto > .td:first-child:nth-last-child(9),
.tr.auto > .td:first-child:nth-last-child(9) ~ .td {
    width: 11.111%;
}

.tr.auto > .td:first-child:nth-last-child(10),
.tr.auto > .td:first-child:nth-last-child(10) ~ .td {
    width: 10%;
}

.tr.auto > .td:first-child:nth-last-child(11),
.tr.auto > .td:first-child:nth-last-child(11) ~ .td {
    width: 9.09%;
}

.tr.auto > .td:first-child:nth-last-child(12),
.tr.auto > .td:first-child:nth-last-child(12) ~ .td,
.tr:not(.auto) > .td[cols="1"] {
    width: 8.333%;
}

.tr.middles > div:not(.td) > *,
.tr.middles > .td > *,
.table.middles > .tr > .td > *,
.table.middles > .tr > div:not(.td) > *,
.table.middles > div:not(.tr) > .td > *,
.table.middles > div:not(.tr) > div:not(.td) > * {
    vertical-align: middle;
}

.tr.middles > div:not(.td):after,
.tr.middles > .td:after,
.table.middles > .tr > .td:after,
.table.middles > .tr > div:after,
.table.middles > div:not(.tr) > .td:after,
.table.middles > div:not(.tr) > div:not(.td):after {
    content: "";
    display: inline-block;
    vertical-align: middle;
    height: 100%;
    width: 0;
    min-height: 30px;
}

.bottoms::after {
    content: "";
    display: inline-block;
    vertical-align: bottom;
    height: 100%;
    width: 0;
}

.tops::after {
    content: "";
    display: inline-block;
    vertical-align: top;
    height: 100%;
    width: 0;
}

.tr.line-heights > div:not(.td),
.tr.line-heights > .td {
    line-height: 30px;
}

.tr.line-heights > div:not(.td) > *,
.tr.line-heights > .td > * {
    line-height: initial;
}

.tr.height-fx {
    height: 30px;
    overflow: hidden;
}

.tr.height-fx:hover {
    height: auto !important;
}

.tr > div:not(.td), .td {
    height: 100%;
}

/* select */
/* ====== */

.select {
    height: 21px;
    border: solid 1px #ccc;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    vertical-align: middle;
    padding-right: 21px;
    background-image: url(../img/opened.png);
    background-repeat: no-repeat;
    background-position-x: right;
    background-position-y: center;
    background-attachment: scroll;
    background-color: transparent;
}

.select[disabled] {
    background-color: transparent;
}

.select::-ms-expand {
    display: none;
}

.select-lg {
    height: 30px;
    width: 300px;
}

/* choose */
/* ====== */

input.choose {
    background-image: url(../img/search.gif);
    background-repeat: no-repeat;
    background-position-x: right;
    background-position-y: center;
    padding-right: 16px !important;
    cursor: default;
}

input.choose.none-img {
    background-image: none;
    padding-right: 0px !important;
}

/* textarea 及 input type="text/password" */
/* ====================================== */

.textarea, .text {
    border: 1px solid #ccc;
    border-radius: 2px;
    box-sizing: border-box;
    vertical-align: middle;
}

.textarea {
    margin: 0;
    resize: none;
    font-size: 100%;
    padding: 1px 2px 1px 2px;
}

.text {
    padding: 1px;
    height: 1.833333rem;
}

.text[readonly],
.textarea[readonly] {
    border-color: #ddd;
    color: #888;
}

.text-lg {
    height: 30px;
    width: 300px;
}

/* input type="button/submit" （可用button） */
/* ========================================= */

.button, .btn {
    box-sizing: border-box;
    height: 22px;
    vertical-align: middle;
    border: 1px solid #ddd;
    border-radius: 2px;
    color: #666;
    background-color: #f7f7f7;
    background-repeat: repeat-x;
    background-image: linear-gradient(top, #f7f7f7, #f2f2f2);
}

.button-md, .btn-md {
    min-width: 75px;
    height: 25px;
}

.button-lg, .btn-lg {
    min-width: 100px;
    height: 30px;
}

.button-main:hover, .button-main:focus, .button-main:active, .btn-main:hover, .btn-main:focus, .btn-main:active {
    color: #fff;
    background-color: #3071a9;
    border-color: #285e8e;
}

.button-main, .btn-main {
    color: #fff;
    background-color: #428bca;
    border-color: #357ebd;
}

/* input type="checkbox/radio" */
/* =========================== */

.checkbox, .radio, .ckb, .rdo {
    box-sizing: border-box;
    border: solid 1px #ccc;
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    vertical-align: middle;
    cursor: pointer;
    display: inline-block;
}

.checkbox, .ckb {
    width: 13px;
    height: 13px;
    border-radius: 2px;
}

.checkbox.ex, .ckb.ex, .radio.ex, .rdo.ex {
    display: none;
}

.checkbox:checked, .ckb:checked {
    background-image: url(../img/checkbox-bg.png);
    background-position: center;
    background-repeat: no-repeat;
}

.checkbox:disabled, .ckb:disabled {
    background-color: #d0cfca;
}

.checkbox:checked:disabled, .ckb:checked:disabled {
    background-image: url(../img/checkbox-bg-disabled.png);
}

.radio, .rdo {
    width: 12px;
    height: 12px;
    border-radius: 6px;
}

.radio:checked, .rdo:checked {
    background-image: url(../img/radio-bg.png);
    background-position: center;
    background-repeat: no-repeat;
}

.radio:disabled, .rdo:disabled {
    background-color: #d0cfca;
}

.radio:checked:disabled, .rdo:checked:disabled {
    background-image: url(../img/radio-bg-disabled.png);
}

.checkbox.ex + label.label-forprev,
.ckb.ex + label.label-forprev,
.radio.ex + label.label-forprev,
.rdo.ex + label.label-forprev {
    display: inline-block;
    border: 1px solid #bfbfbf;
    background-color: #eee;
    border-radius: 3px;
    padding: 2px;
    cursor: pointer;
    position: relative;
}

.checkbox.ex:checked + label.label-forprev,
.ckb.ex:checked + label.label-forprev,
.radio.ex:checked + label.label-forprev,
.rdo.ex:checked + label.label-forprev {
    border-color: #606060;
    background-color: #606060;
    color: #fff;
}

.checkbox.ex + label.label-forprev:before,
.ckb.ex + label.label-forprev:before,
.radio.ex + label.label-forprev:before,
.rdo.ex + label.label-forprev:before {
    content: "";
    float: left;
    width: 3px;
    height: 3px;
    border-radius: 2px;
    border: 1px solid #606060;
    position: absolute;
    left: 0;
    top: 0;
}

.checkbox.ex:checked + label.label-forprev:before,
.ckb.ex:checked + label.label-forprev:before,
.radio.ex:checked + label.label-forprev:before,
.rdo.ex:checked + label.label-forprev:before {
    border-color: #f00;
    background-color: #f00;
}

.span {
    display: inline-block;
    font-size: 13px;
}

/* TreeView */
/* ======== */

.node-caption {
    min-height: 25px;
    line-height: 25px;
}

.mobile .node-caption {
    min-height: 3.2rem;
    line-height: 3.2rem;
    border-bottom: 1px solid #ddd;
}

.node-caption:hover {
    background-color: #f5f5f5;
}

.node-text {
    float: left;
    height: 100%;
    padding-left: 5px;
    padding-right: 15px;
}

.node-state {
    float: left;
    width: 20px;
    min-height: 25px;
    height: 100%;
    background-position-y: center;
    background-position-x: center;
    background-repeat: no-repeat;
}

.mobile .node-state {
    width: 3.6rem;
    min-height: 3.2rem;
    background-position-x: center;
    background-size: 1.2rem 1.2rem;
}

[has="1"][n-state="opened"] > .node-caption > .node-state {
    background-image: url(../img/opened.png);
    cursor: pointer;
}

[n-state="opened"] > .node-children {
    display: block;
}

[has="1"][n-state="closed"] > .node-caption > .node-state {
    background-image: url(../img/closed.png);
    cursor: pointer;
}

[n-state="closed"] > .node-children {
    display: none;
}

.mobile [has="1"][n-state="opened"] > .node-caption > .node-state {
    background-image: url(../img/32x32/ec-down.png);
}

.mobile [has="1"][n-state="closed"] > .node-caption > .node-state {
    background-image: url(../img/32x32/ec-right.png);
    background-size: 1.35rem 1.35rem;
}

.node-img {
    float: left;
    min-height: 25px;
    width: 16px;
    height: 100%;
    background-position-y: center;
    background-position-x: center;
    background-repeat: no-repeat;
}

.mobile .node-img {
    min-height: 3.2rem;
    background-size: 1.28rem;
}

/* search select */
/* ============= */

input.search-select {
    background-image: url(../img/arrow.jpg);
    background-repeat: no-repeat;
    background-position-x: right;
    background-position-y: center;
    padding-right: 16px !important;
    cursor: default;
}

input.search-select.none-img {
    background-image: none;
    padding-right: 0px !important;
}

.search-select-more {
    padding: 5px 0px 5px 0px;
    background-color: #e1e6eb;
    text-align: center;
    cursor: pointer;
}

.search-select-popup {
    height: 250px;
    background-color: #fff;
    border: 1px solid black;
    z-index: 9999;
    position: absolute;
    overflow-y: auto;
    overflow-x: hidden;
}

.search-select-current {
    background-color: rgb(49, 106, 197);
    color: white;
    border-color: blue;
}

.search-select-td {
    white-space: nowrap;
    height: 16px;
    padding: 0px;
    margin: 0px;
}

.search-select-current > .search-select-td {
    color: #fff;
}

/* date date-time month */
/* ==================== */
input.date-time, input.time {
    background-image: url(../img/time.png);
    background-repeat: no-repeat;
    background-position-x: right;
    background-position-y: center;
    padding-right: 16px !important;
    cursor: default;
}

input.date,
input.month,
input.year {
    background-image: url(../img/date.png);
    background-repeat: no-repeat;
    background-position-x: right;
    background-position-y: center;
    padding-right: 16px !important;
    cursor: default;
}

input.date.none-img,
input.month.none-img,
input.year.none-img,
input.date-time.none-img {
    background-image: none;
    padding-right: 0px !important;
}

.h1 {
    font-size: 36px;
}

.h2 {
    font-size: 30px;
}

.h3 {
    font-size: 24px;
}

.h4 {
    font-size: 18px;
}

.h5 {
    font-size: 14px;
}

.h6 {
    font-size: 12px;
}

.label,
.label-forprev,
.label-fornext {
    vertical-align: middle;
}

@-webkit-keyframes theAnimation {
    0% {
        opacity: 0;
        filter: alpha(opacity=0);
    }

    100% {
        opacity: 1;
        filter: alpha(opacity=100);
    }
}

@keyframes theAnimation {
    0% {
        opacity: 0;
        filter: alpha(opacity=0);
    }

    100% {
        opacity: 1;
        filter: alpha(opacity=100);
    }
}

.animation {
    -webkit-animation: theAnimation 0.5s infinite;
    animation: theAnimation 0.5s infinite;
}

.animation3 {
    -webkit-animation: theAnimation 3s infinite;
    animation: theAnimation 3s infinite;
}

.select-box {
    width: auto;
    height: 100%;
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
}

.select-box span {
    display: inline-block;
    white-space: nowrap;
    padding: 0 5px;
    line-height: 25px;
    border: 1px solid #fafafa;
    background-color: #fafafa;
    color: #666;
    min-width: 50px;
    text-align: center;
    cursor: default;
}

.select-box .on {
    border: 1px solid #ddd;
    border-radius: 2px;
    color: #ba1119;
    background-color: #f5f5f5;
}

.select-box .on::before {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    margin-right: 3px;
    background-image: url(../img/selectex-on.png);
    background-position: left center;
    background-repeat: no-repeat;
    background-size: 100%;
}

.li-12:before, .li-7:before {
    content: "";
    display: inline-block;
    background-color: #b1191a;
    vertical-align: middle;
}

.li-12::before {
    height: 12px;
    width: 12px;
    margin-right: 5px;
    border-radius: 6px;
}

.li-7::before {
    height: 7px;
    width: 7px;
    margin-right: 3.5px;
    border-radius: 3.5px;
}

.dyn-acts {
    position: relative;
}

.dyn-acts > .dyn-acts-flag {
    background-color: #eee;
    display: inline-block;
    height: 1.666667rem;
    width: 1.666667rem;
    border-radius: 0.833333rem;
    text-align: center;
}

.dyn-acts > .dyn-acts-content {
    position: absolute;
    width: 100px;
    left: 0;
    top: 0;
    z-index: 1;
    display: none;
    padding-left: 3px;
    background-color: #fff;
    border: 1px solid #ddd;
    box-shadow: 2px 2px 10px #999;
}

.dyn-acts > .dyn-acts-content.right-0 {
    left: auto;
    right: 0;
}

.dyn-acts > .dyn-acts-content.bottom-0 {
    top: auto;
    bottom: 0;
}

.dyn-acts > .dyn-acts-content.auto {
    width: auto;
    overflow: auto;
}

.dyn-acts > .dyn-acts-content.auto > div,
.dyn-acts > .dyn-acts-content.auto > span {
    white-space: nowrap;
}

.dyn-acts:hover > .dyn-acts-content {
    display: initial;
}

/*         x-auto       */
/* ==================== */
.x-auto {
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1229px) {
    .x-auto {
        max-width: 990px;
    }
}

@media (min-width: 1230px) and (max-width: 1410px) {
    .x-auto {
        max-width: 1210px;
    }
}

@media (min-width: 1411px) and (max-width: 1590px) {
    .x-auto {
        max-width: 1300px;
    }
}

@media (min-width: 1591px) {
    .x-auto {
        max-width: 1390px;
    }
}