@charset "utf-8";
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, button, textarea, p, blockquote, th, td, strong {
    margin: 0;
    padding: 0;
}

/*
.ui-resizable-handle {
    position: absolute;
    bottom: 5px;
    right: 5px;
}
*/

.ui-resizable-s {
    height: 0;
}

.ui-resizable-e {
    width: 0;
}


.cw_btn_orange {
    background-color:orange !important;
}

.cw_dialog #tabs {
    font-size:12px;
}


.cw_dialog #tabs .dx-datagrid .dx-row > td[role='gridcell'] {
    /*font-size: 11px !important;*/
    line-height: 30px !important;
    padding: 0px !important;
}

.cw_dialog {
    display: flex;
    justify-content: center;
}

.cw_dialog input, textarea {
    padding-left: 2px;
    padding-right: 2px;
    
}

.cw_dialog td.readonly {
    background-color: #f5f5f5;
}

.cw_dialog td.bold {
    font-weight: bold;
}

.cw_dialog td.underline {
    text-decoration: underline;
}

.cw_dialog td.skyblue {
    color: dodgerblue;
}

.cw_dialog td.blue {
    color: blue;
}

.cw_dialog td.red {
    color: red;
}

.cw_dialog td.gray {
    color: gray;
}

.cw_dialog td.w100 {
    width: 100px;
}

.cw_dialog td.w150 {
    width: 150px;
}

.cw_dialog td.w200 {
    width: 200px;
}

.cw_dialog td.w250 {
    width: 250px;
}

.cw_dialog td.p100 {
    width: 100%;
}


.cw_dialog td.left {
    text-align:left !important;
}

.cw_dialog td.right {
    text-align: right !important;
}

.cw_dialog td.center {
    text-align: center !important;
    width: 100%;
}

.cw_dialog div.left {
    margin-left: 0;
    margin-right: auto;
}

.cw_dialog div.right {
    margin-left: auto;
    margin-right: 0;
}

.cw_dialog div.center {
    margin: auto;
}

.cw_dialog span.left {
    margin-left: 0;
    margin-right: auto;
}

.cw_dialog span.right {
    margin-left: auto;
    margin-right: 0;
}

.cw_dialog span.center {
    margin: auto;
}

.cw_dialog table {
    align-self: center;
    margin: 0 auto;
}

.cw_dialog table.fixed {
    table-layout: fixed;
}

.cw_dialog table.right {
    align-self: end !important;
    margin: 0 auto;
}

.cw_dialog tr.bold {
    font-weight: bold;
}

.cw_dialog td {
    padding: 4px;
    font-size: 14px;
    align-content:center;
    vertical-align: middle;
    text-align: center;
}

.cw_dialog td.bottomline {
    border-bottom: 1px dashed grey;
    font-size: 8px;
}

.cw_dialog textarea {
    display:block;
    width: 400px;
}

.cw_dialog input[type=button] {
    font-size: 11px !important;
    width: 100px;
}

/* fill the rest by flex */
div[elastic-popup-name='main'] {
    display: flex;
    flex-direction: column;
}

div[elastic-popup-name='header'] {
    /* background-color: #1890ff; */
}

div[elastic-popup-name='contents'] {
    flex-grow: 1;
    padding: 4px;
    /* background-color: #E53950; */
}

.elastic-layer a {
    color: #666;
    outline: medium none;
    text-decoration: none;
}

.elastic-layer .floatl {
    float: left;
}
.elastic-layer {
    display: none;
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}

.elastic-layer .elastic-title { /* title */
    float: left;
}
    .elastic-layer .elastic-title-name {
        border-bottom: 1px solid #eee;
        color: #007AEB;
        font-size: 16px;
        line-height: 20px;
        padding-bottom: 0px;
    }
.elastic-layer .elastic-close {
    height: 32px;
    text-align: right;
}
    .elastic-layer .elastic-tips {
        color: #E53950;
        padding: 10px 0;
        font-size: 16px;
    }
.elastic-layer .elastic-mask {
    background-color: rgb(11, 14, 27);
    height: 100%;
    opacity: 0.33;
    width: 100%;
}
    .elastic-layer .elastic-pupop, .elastic-layer .elastic-pupop-sl {
        background: #fff none repeat scroll 0 0;
        border: 1px solid #e0e0e0;
        border-radius: 3px;
        box-shadow: 0 0 20px rgba(9, 8, 18, 0.5);
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 10px;
        min-width: 500px;
        max-width: 95%;
        max-height: 95%;
        overflow-y: auto;
        overflow-x: auto;
    }

    .elastic-layer .elastic-pupop-sl {
        /* width: 434px; */
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        padding: 10px;
        min-width: 500px;
        max-width: 95%;
        max-height: 80%;
        overflow-y: auto;
        overflow-x: auto;
    }
.elastic-layer .elastic-error-tips {
    line-height: 16px;
    margin-top: 10px;
}
.elastic-layer .elastic-pupop-sl a.btn-blue {
    line-height: 28px;
}
.elastic-layer .elastic-pupop-sl input.input-lg {
    width: 204px;
}
.elastic-layer .elastic-pupop-sl .list-title {
    line-height: 30px;
}
.elastic-layer .elastic-pupop-sl .p {
    display: inline-block;
    width: 134px;
}
.elastic-layer .elastic-vip {
    border: 0 none;
    margin-left: -428px;
    padding: 0 0 50px;
    width: 857px;
}

.elastic-layer .icon {
    background-image: url("./icon.png");
    background-repeat: no-repeat;
    border: 0 none;
    display: inline-block;
    padding: 0;
    vertical-align: top;
}

.elastic-layer .icon-close {
    background-position: -278px -69px;
    cursor: pointer;
    height: 30px;
    width: 30px;
}
.elastic-layer .icon-close:hover {
    background-position: -245px -69px;
}

.elastic-layer .btn {
    border-radius: 2px;
    color: #fff;
    cursor: pointer;
    display: inline-block;
    font-size: 12px;
    line-height: 22px;
    margin-right: 3px;
    min-width: 62px;
    outline: medium none;
    padding: 0 8px;
    text-align: center;
    white-space: nowrap;
}

.elastic-layer .elastic-pupop-sl a.btn-blue {
    line-height: 28px;
}

.elastic-layer .btn-h30 {
    font-size: 12px;
    line-height: 28px;
}

.elastic-layer .form-list {
    padding-top: 13px;
}
.elastic-layer .center {
    text-align: center;
}

/* cancel button */
.elastic-layer .btn-gray {
    background: #f7f7f7 none repeat scroll 0 0;
    border: 1px solid #ccc;
    color: #666;
}

    .elastic-layer .btn-gray:hover {
        background: #CFCFCF none repeat scroll 0 0;
        border: 1px solid #ccc;
        color: #666;
    }


    /* ok button */
    .elastic-layer .btn-blue {
        background: #1890ff none repeat scroll 0 0;
        border: 1px solid #007AEB;
        color: #fff;
    }

        .elastic-layer .btn-blue:hover {
            background-color: #0067C6;
        }