/*@primary-color: #25408F;*/
.ant-input,
.datainp,
.txt,
.qrm-input {
    box-sizing: border-box;
    margin: 0;
    font-variant: tabular-nums;
    list-style: none;
    font-feature-settings: 'tnum';
    position: relative;
    display: inline-block;
    width: 220px;
    height: 32px;
    padding: 4px 11px;
    color: #333 !important;
    font-size: 14px;
    line-height: 1.5;
    background-color: #fff;
    background-image: none;
    border: 1px solid #bbb;
    border-radius: 4px;
    transition: all 0.3s;
    text-indent: 0;
}
select[disabled] {
    opacity: 1;
}
.qrm-select {
    display: inline-block;
    padding-top: 0;
    padding-bottom: 0;
}
.qrm-input {
    width: 220px !important;
    position: relative;
    left: 0;
}
.qrm-pinming {
    width: auto;
    height: 100%;
    border: none !important;
    height: 32px;
    line-height: 32px;
}
.clearfix {
    margin-bottom: 0;
    display: none;
}
.qrm-input:focus,
.datainp:focus,
.txt:focus {
    border-color: #415b9c;
    border-right-width: 1px !important;
    outline: 0;
    box-shadow: 0 0 0 2px rgba(37, 64, 143, 0.2);
}

.leftTr {
    padding-bottom: 10px;
    white-space: nowrap;
    padding-left: 5px;
}
.rightTr {
    white-space: nowrap;
}
.search-content .rightTr{
    vertical-align: middle;
    padding-bottom: 10px;
}
.search-content .leftTr{
    vertical-align: middle;
    padding-bottom: 10px !important;
}
option {
    /*position: relative;*/
    /*display: block;*/
    /*padding: 5px 12px;*/
    /*overflow: hidden;*/
    /*color: rgba(0,0,0,.65);*/
    /*font-weight: 400;*/
    /*font-size: 14px;*/
    /*line-height: 22px;*/
    /*white-space: nowrap;*/
    /*text-overflow: ellipsis;*/
    /*cursor: pointer;*/
    /*transition: background .3s ease;*/
}
.search-input-wrapper {
    position: relative;
}
.search-input-wrapper .glyphicon,
.ant-form-item-control .glyphicon,
.leftTr .glyphicon {
    position: absolute;
    transform: translate(-25px, 2px);
    top: 6px;
}
.none {
    display: none;
}
.ant-calendar-picker-icon {
    right: 7px;
}
.ant-calendar-range-picker-input[readOnly] {
    color: inherit;
}
select {
    /*appearance: none;*/
    /*-moz-appearance: none;*/
    /*-webkit-appearance: none;*/
    position: relative;
}
select+.iconfont.iconxia {
    position: relative;
    right: 25px;
    top: 2px;
    cursor: default;
}

/*编辑页面中的table-----------------------------------------*/
.tab-content > .table-tab-box.active,
.table-tab-box {
    padding: 16px;
    /*height: calc(100vh - 200px);*/
    display: flex;
    flex-direction: column;
}
.table-tab-box .ant-layout-content {
    padding: 0;
    margin-top: 16px;
}
.table-tab-box .layout-no-margin {
    margin-top: 0;
}
.warn-message {
    color: #FA6400;
    padding-bottom: 16px;
    text-align: left;
}
.warn-message div:not(:first-child) {
    text-indent: 27px;
}

.no_indent {
    text-indent: 0 !important;
}

/*编辑页面中的form-----------------------------------------*/
.form-tab-box {
    padding: 0 30px;
}
.modal .ant-form .ant-row-flex:last-child .ant-form-item {
    margin-bottom: 0;
}
.modal .ant-form {
    width: 100%;
}
.modal .ant-form .ant-row-flex {
    justify-content: space-between;
}
.modal .ant-form-item.wf .ant-form-item-control .txt,
.ant-form-item.wf .ant-form-item-control .ant-input,
.ant-form-item.wf .ant-form-item-control .datainp,
.ant-form-item.wf .ant-form-item-control {
    width: 100%;
}
.modal .ant-form-item-control.flex1 .ant-input {
    width: 100%;
}

.modal .ant-form-item {
    margin-bottom: 20px;
}
.modal .ant-form-item-control {
    min-width: 220px;
    text-align: left;
}
.year-item-control {
    max-width: 150px;
}
.modal .ant-form .ant-col-8:nth-of-type(3n) {
    justify-content: flex-end;
}
.modal .ant-form .ant-col-8:nth-of-type(3n - 1) {
    justify-content: center;
}
.modal .ant-form .ant-col-16:nth-child(2n) .ant-col-12:nth-child(2n - 1) {
    justify-content: center;
}
.modal .ant-form .ant-col-16:nth-child(2n - 1) .ant-col-12:nth-child(2n) {
    justify-content: center;
}
/*1366普通屏幕， 1519 1080屏幕。1.25倍显示， 1920*/
@media (max-width: 1366px) {
    /*设置这个宽度才能显示下三栏*/
    .modal .ant-form-item-label {
        width: 126px;
    }
    .modal .ant-form .ant-col-8 {
        width: 50%;
    }
    .modal .ant-form .ant-col-8:nth-of-type(2n) {
        justify-content: flex-end;
    }
    .modal .ant-form .ant-col-8:nth-of-type(2n-1) {
        justify-content: flex-start;
    }

}
@media (min-width: 1500px) {
    .modal .ant-form {
        padding-right: 115px;
    }
    /*宽屏把label加宽一点*/
    .modal .ant-form-item-label {
        width: 140px;
    }
}
.modal .ant-col-24 > .ant-form-item-control {
    flex: 1;
}
.modal .ant-col-24 > .ant-form-item-control .ant-input,
.modal .ant-col-24 > .ant-form-item-control .datainp,
.modal .ant-col-24 > .ant-form-item-control .txt {
    width: 100%;
}

.rowspan2 {
    height: 84px;
}
.rowspan3 {
    height: 136px;
}
.rowspan4 {
    height: 188px;
}
.rowspan5 {
    height: 240px;
}
.ant-col-8.jc-center {
    justify-content: center;
}

.rightTr,
.modal .ant-form-item-label {
    white-space: normal;
}
.modal .ant-form-item {
    display: flex;
    align-items: center;
}
.modal .ant-form .rightTr,
.modal .ant-form .leftTr {
    padding-bottom: 0;
}
.modal .ant-form .leftTr {
    width: 220px;
}
.modal .ant-form .wf {
    width: 100%;
}
.modal .ant-form .rightTr {
    display: inline-block;
    overflow: hidden;
    line-height: 32px;
    white-space: nowrap;
    text-align: right;
    vertical-align: middle;
}
.modal .ant-form-item:not(.empty) .ant-form-item-label:after,
.rightTr:after {
    content: ":";
    position: relative;
    top: -0.5px;
    margin: 0 0 0 2px;
}

.modal .ant-form .vt {
    vertical-align: top;
}

.modal .ant-form-item-label,
.modal .ant-form .rightTr {
    width: 140px;
    line-height: 16px;
    white-space: normal;
    margin-right: 8px;
}
.form-item-label {
    height: 32px;
    line-height: 16px;
    white-space: normal;
    display: inline-block;
}
/*日期控件样式重置 -------------------------------------------*/
.jedatebox {
    font-family: Alibaba-PuHuiTi;
}
.jedatebox .jedatetop {
    background: #fff;
    color: #333;
    font-family: Alibaba-PuHuiTi;
}
.jedatetopym p span.jedateymchok,
.jedatesety .ymdropul li.action, .jedatesetm .ymdropul li.action,
.jedatebot .jedatebtn span,
.jedatebox .jedaul li.action {
    background-color: #25408F;
}
.jedatebox .jedaul li.prevdate,
.jedatebox .jedaul li.nextdate{
    color: rgba(0,0,0,.25);
}
.jedatetopym p span.jedateymchri {
    /*background-color: ;*/
}
.jedatesety .ymdropul li:not(.action):hover,
.jedatesetm .ymdropul li:not(.action):hover,
.jedatebox .jedaul li:not(.nextdate):not(.prevdate):not(.action):hover {
    background-color: #d3d9e9;
    cursor: pointer;
}
.jedatesety .ymdropul li:hover,
.jedatesetm .ymdropul li:hover,
.jedatebox .jedaul li:hover {
    cursor: pointer;
}

/*自定义select----------------------------------------------*/
/* The container must be positioned relative: */
.custom-select {
    position: relative;
    font-family: Arial;
}

.custom-select select {
    display: none; /*hide original SELECT element: */
}

.select-selected {
    background-color: DodgerBlue;
}

/* Style the arrow inside the select element: */
.select-selected:after {
    position: absolute;
    content: "";
    top: 14px;
    right: 10px;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-color: #fff transparent transparent transparent;
}

/* Point the arrow upwards when the select box is open (active): */
.select-selected.select-arrow-active:after {
    border-color: transparent transparent #fff transparent;
    top: 7px;
}

/* style the items (options), including the selected item: */
.select-items div,.select-selected {
    color: #ffffff;
    padding: 8px 16px;
    border: 1px solid transparent;
    border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;
    cursor: pointer;
}

/* Style items (options): */
.select-items {
    position: absolute;
    background-color: DodgerBlue;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
}

/* Hide the items when the select box is closed: */
.select-hide {
    display: none;
}

.select-items div:hover, .same-as-selected {
    background-color: rgba(0, 0, 0, 0.1);
}


.fit_self_width input,.fit_self_width select  {
    width: 100% !important;
}


.wrapper_read_only_box {
    padding: 0 20px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-around;
    width: 100%;
}
.title_bottom_form {
    flex: 1;
    display: flex;
    margin-bottom: 10px;
}
.ipt_left_label {
    margin-right: 15px;
}
.ipt_right_box {
    flex: 1;
    margin-top: -1px;
}
.ipt_left_label:after {
    content: ":";
    display: inline-block;
}

