/* fix */
body {
    /*font-family: 'open sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;*/
    font-family: 'Microsoft YaHei';
    min-width: 992px;
    overflow-x: auto;
}

td.desc {
    max-width: 250px;
}

.xform-horizontal {
    clear: both;
}

.clearfix {
    clear: both;
}

.clearfix2:after {
    content: ".";
    height: 0;
    line-height: 0;
    display: block;
    clear: both;
    visibility: hidden;
}
.clearfix2 {
    zoom: 1;  /* 因为IE6不支持:after伪类。它的效果和height:1%一样 */
}

th {
    white-space: nowrap;
}

table.psdash th {
    padding: 13px 6px;
    font-size: 15px;
    font-weight: 300;
    margin-right: 10px;
    white-space: nowrap;
}
table.psdash >thead>tr>th {
    border-bottom: 2px solid #ddd;
}


.nav-header {
    padding-top   : 8px;
    padding-bottom: 10px;
}
.nav-header h2 {
    font-family: Impact, Charcoal, sans-serif;

    font-style: normal;
    font-variant: normal;
    font-weight: 500;
    line-height: 15.3999996185303px;
}

.table > tbody > tr.selected {
    /*background-color: #dff0d8*/
}

.table > tbody > tr.error {
    background-color: #F9F2F4;
}

.table > tbody > tr.disabled {
    background-color: #fff;
}

.table > tbody > tr.disabled {
    color: #bbb;
}

.table > tbody > tr.disabled a {
    text-decoration: line-through;
    color: #a4c0dc;
}

.btn-detail {
    display: inline-block;
    font-size: 14px;
    font-weight: bold;
}

.btn-status {
    font-family: monospace;
    font-size: 11px;
    padding: 0px 5px;
}

.btn-ban {
    text-decoration: line-through;
}

.btn-circle.btn-xs {
    width: 24px;
    height: 24px;
    padding: 4px 0;
    border-radius: 8px;
    font-size: 10px;
    line-height: 1.2;
}

.ibox-toolbar .btn-group-sm {
    /*vertical-align: inherit;TODO*/
}

.filters {
    vertical-align: middle;
    padding-top: 15px;
}
.filters .btn-group {
    margin-right: 5px;
}

/* 多个按钮的间隔 */
.btn-group > .btn {
    /*margin-right: 5px;*/
}

.filter {
    opacity: 0;
    margin-left: 0 2px;
}

.active > .filter .fa-filter {
    color: #428bca;
}
.active > .filter ,
*:hover > .filter {
    opacity: 1;
}



.search {
    display: inline-block;
    width: 350px;
    vertical-align: middle;
    padding: 10px 30px 0px 0px;
}

.table-info {
    position: relative;
    float: left;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;

}

.pagination {
    margin: 0;
    margin-left: 5px;
    vertical-align: middle;
}
.pagination > li > a, .pagination > li > span {
    padding: 5px 10px;
}

.checkbox label {
    padding-left: 0px;
}

.list-option {
    padding-top: 7px;
    display: inline-block;
}

.top {
    vertical-align: top;
}


.input-sm, .form-group-sm .form-control {
    font-size: 13px;
}

.divider-vertical {
    display: inline-block;
    vertical-align: middle;
    height: 20px;
    margin: 0 15px;
    border-right: 1px solid #ffffff;
    border-left: 1px solid #f2f2f2;
}

select.form-control ~ .btn {
    margin: 6px;
}

/* 多选限制options的高度*/
.multi-options ul.select {
    max-height: 200px;
    overflow: auto;
}

/* 让分隔线与表单内容对齐 */
.form-dash {
    padding: 0px 15px;
}


table td small {
  font-size: 11px;
  color: #868686;
}

.input-xs {
    height: 22px;
    padding: 5px 5px;
    font-size: 12px;
    line-height: 1.5;
    border-radius: 3px;
}

.btn-outline[btn-checkbox] {
    transition: none;
}

.btn-outline.btn-default[btn-radio] ,
.btn-outline.btn-default[btn-checkbox] {
    color: #c2c2c2;
    border-color: #c2c2c2;
    background-color: #FFFFFF;
}

.btn-outline.btn-default.active[btn-radio],
.btn-outline.btn-default.active[btn-checkbox] {
    background-color: #c2c2c2;
    border-color: #c2c2c2;
    color: #FFFFFF;
}

.btn-outline.btn-danger[btn-radio] ,
.btn-outline.btn-danger[btn-checkbox] {
    color: #ed5565;
    border-color: #ed5565;
    background-color: #FFFFFF;
}

.btn-outline.btn-danger.active[btn-radio],
.btn-outline.btn-danger.active[btn-checkbox] {
    background-color: #ed5565;
    border-color: #ed5565;
    color: #FFFFFF;
}

.btn-outline.btn-info[btn-radio] ,
.btn-outline.btn-info[btn-checkbox] {
    color: #23c6c8;
    border-color: #23c6c8;
    background-color: #FFFFFF;
}

.btn-outline.btn-info.active[btn-radio],
.btn-outline.btn-info.active[btn-checkbox] {
    background-color: #23c6c8;
    border-color: #23c6c8;
    color: #FFFFFF;
}


li.leaf {
    margin: 0 0 0 0;
    padding: 0 0 0 0;
    list-style-type: none;
    display: block;
    min-height: 18px;
    line-height: 18px;
    white-space: nowrap;
    margin-left: 5px;
    background-image: url("/base-ui/img/d.png");
    background-position: -90px 0;
    background-color: transparent;
    background-repeat: repeat-y;
}

li.leaf:nth-last-child(1) {
    background: transparent;
}

ins.tree-icon {
    background-image: url("/base-ui/img/d.png");
    background-repeat: no-repeat;
    background-position: -36px 0px;
    background-color: transparent;
    display: inline-block;
    text-decoration: none;
    width: 18px;
    height: 18px;
    margin: 0 0 0 0;
    padding: 0;
}

ul.tree {
    margin: 0 0 0 0;
    padding: 0 0 0 0;
    list-style-type: none;
}

span.pre {
    font-family: monospace;
    white-space: pre;
}

.font-big {
    font-size: 15px;
}

.font-lg {
    font-size: 16px;
}
.font-lg-x {
    font-size: 18px;
}

.font-red {
    color: red;
}

.border-red {
    border: 1px solid red;
}

.roster-sched {
    padding: 6px;
}

.no-border {
    border: none;
}

/* css兼容在打开popover之后的tooltip z-index需要超过popover */
.popover+.tooltip {
    z-index: 10601;
}

.popover-content {
    word-break: break-all;
    word-wrap: break-word;
}

.form-filter {
    padding: 10px 5px;
    margin-bottom: 20px;
    border: 2px solid #dff0d8;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}

.form-editor {
}

.project-nav {
    padding: 5px;
}

/************   layout ************/


@media (max-width: 767px) {
    #page-wrapper {
        padding: 0 0 0 0;
    }
    .mini-sidebar > a {
        margin: 10px 2px 0px 10px;
    }
    .xbreadcrumb {
        padding-left: 20px;
    }

    .ibox-content {
        padding: 4px;
    }
}

@media (min-width: 768px) {
    html, body, #ui-view, #wrapper {
        height: 100%;
    }

    /* #page-wrapper {
        min-height: 100%;
    } */


    #content-nav {

        /* by linxiangxin
        position: fixed;
        */
        right: 20px;
        left: 230px;
        z-index: 100;
        -webkit-transition: all 0.5s;
        -moz-transition: all 0.5s;
        -o-transition: all 0.5s;
        transition: all 0.5s;
    }

    .xibox-toolbar {
        position: fixed;
        right: 10px;
        left: 230px;
        z-index: 100;
    }
}

/***** 侧导航，菜单项可以显示成一行****/
.menu-inline {
    padding: 14px 20px 14px 25px;
}
.menu-inline > i {
    margin-right: 6px;
}
.menu-inline > i ,
.menu-inline > a {
    color: #a7b1c2;
    font-weight: 600;
}
.menu-inline > a.active {
  color: #ffffff;
}

/*************************值班表*************************/
.roster-title {
    border: none;
    font-size: 16px;
    line-height: 30px;
}

/*************************aladdin*************************/
/* 这个是修复modal的定义 */
.modal-backdrop {
    z-index: 1040;
    background-color: rgba(0,0,0,.5);
}
.modal-backdrop.in {
    opacity: 1;
}

/* cgNotify 的样式把alert的覆盖了 */
.alert.alert-warning {
    color: #8a6d3b;
    background-color: #fcf8e3;
    border-color: #faebcc;
}
.alert.alert-danger {
    color: #a94442;
    background-color: #f2dede;
    border-color: #ebccd1;
}



.icon-lg.fa {
    font-size: 16px;
    cursor: pointer;
}
.nav-header .dropdown-menu.items {
    max-height: 400px;
    min-width: 250px;
    overflow-y: auto;
    overflow-x: hidden;
}

.img-icon {
    width: 50px;
}

.tab-pane {
    /*overflow: auto; /*防止内容浮出*/
}

.cron-select {
    display: inline-block;
    width: 60px;
    height: 34px;
    padding: 6px 12px;
    margin: 0;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
    -webkit-transition: border-color ease-in-out 0.15s, -webkit-box-shadow ease-in-out 0.15s;
    -o-transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
    transition: border-color ease-in-out 0.15s, box-shadow ease-in-out 0.15s;
}

.select-options {
    display: inline-block;
}

/************************* dev-pager *************************/
.dev-pager-box {
    padding: 0 0 5px 0;
}

.dev-pager {
    display: inline-block;
    vertical-align: middle;
}

/************************* dev-dialog *************************/
.ngdialog.ngdialog-theme-default div.ngdialog-content {
    max-width: 50%;
    max-height: 80%;
    overflow: auto;
    padding: 0;
}
.ngdialog.ngdialog-theme-default .dev-dialog {
    margin: 0;
}

/* css兼容在打开dialog之后的tooltip z-index需要超过ngdiaog */
.ngdialog+.tooltip {
    z-index: 10001;
}
/************************* animation *************************/
/* rotate and fall */
@keyframes rotateFall {
    0%         { transform: rotateZ(0deg); }
    20%     { transform: rotateZ(10deg); animation-timing-function: ease-out; }
    40%     { transform: rotateZ(17deg); }
    60%     { transform: rotateZ(16deg); }
    100%     { transform: translateY(100%) rotateZ(17deg); }
}

/* slide in from the bottom */
@keyframes slideOutLeft {
    to         { transform: translateX(-100%); }
}

/* rotate out newspaper */
@keyframes rotateOutNewspaper {
    to         { transform: translateZ(-3000px) rotateZ(360deg); opacity: 0; }
}

/* entering animations --------------------------------------- */
/* scale up */
@keyframes scaleUp {
    from     { opacity: 0.3; -webkit-transform: scale(0.8); }
}

/* slide in from the right */
@keyframes slideInRight {
    from     { transform:translateX(100%); }
    to         { transform: translateX(0); }
}

/* slide in from the bottom */
@keyframes slideInUp {
    from     { transform:translateY(100%); }
    to         { transform: translateY(0); }
}

/*
.ng-enter             { animation: scaleUp 0.5s both ease-in; z-index: 8888; }
.ng-leave             { animation: slideOutLeft 0.5s both ease-in; z-index: 9999; }
*/

.text-danger {
    color: #a94442;
}

/************************* error *************************/
.error .not-found{
    width: 100%;
    height: 100%;
    margin: 100px 0;
    padding: 0px;
}
.error .not-found img{
    display: block;
    margin: 0px auto;
}

.error .perm-denied{
    width: 100%;
    height: 100%;
    margin: 200px 0;
    padding: 0px;
}

.error .perm-denied img{
    display: block;
    margin: 0px auto;
}
.lang_img {
    margin-top: -2px;
}
