﻿.dialog-wrapper {
    background-color: #fff;
    height: 100%;
}

    .dialog-wrapper .page-wrapper {
        padding: 8px;
        height: 100%;
        max-height: calc(100% - 43px);
        overflow: auto;
    }

    .dialog-wrapper .form-actions {
        height: 43px;
        border-color: #dedede #c3d9e0 #c3d9e0 #c3d9e0;
        background: #f5f5f5;
        border-width: 1px;
        border-style: solid;
        position: relative;
        top: -1px;
        padding: 5px;
        text-align: center;
    }

.page-wrapper .form-field {
    margin-bottom: 8px;
    display: flex;
}

.page-wrapper .form-field.multiple-line {
    flex-direction: column;
}

    .page-wrapper .form-field:not(.multiple-line ) label:not(.btn-upload) {
        padding: 0 8px;
    }

.page-wrapper .form-field label:not(.btn-upload) {
    max-width: 210px;
    min-width: 210px;
    text-align: left !important;
    margin: 0 !important;
    overflow: unset;
    text-overflow: unset;
    white-space: unset;
    /* height: 100% !important; */
}

    .page-wrapper .form-field .textbox-label {
        height: auto !important;
    }

    .page-wrapper .form-field label.btn-upload {
        cursor: pointer;
    }

    .page-wrapper .form-field label.required-field sup {
        color: red;
    }

    .page-wrapper .form-field .textbox {
        width: 100% !important;
    }

    .page-wrapper .form-field .label-checkbox {
        width: 153px !important;
    }

    .page-wrapper .form-field input,
    .page-wrapper .form-field textarea {
        width: 100%;
    }

.search-footer,
.easyui-panel {
    padding: 8px;
    width: 100%;
}

.page-wrapper .datagrid {
    margin-top: 16px;
}

    .page-wrapper .panel,
    .page-wrapper .easyui-textbox,
    .page-wrapper .textbox input,
    .page-wrapper .textbox textarea,
    .page-wrapper .panel-header,
    .page-wrapper .easyui-panel,
    .page-wrapper .datagrid,
    .page-wrapper .datagrid .panel-body,
    .page-wrapper .datagrid-view {
        width: 100% !important;
    }

.dialog-footer {
    text-align: center;
}

.list-xlvp > span {
    width: 232px;
    height: 24px;
    margin-bottom: 8px;
}

.list-xlvp .add-xlvp {
    margin-left: 8px;
    cursor: pointer;
    background: #4caf50;
    color: white;
}

.xlvp li {
    margin-bottom: 8px;
}

.material-icons {
    vertical-align: bottom;
}

.tab-wapper {
    padding: 8px;
    height: 100%;
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

.selected {
    color: #27a3e0 !important;
}

.selectedMain span {
    color: #27a3e0 !important;
}

.l-btn {
    color: rgba(0, 0, 0, 0.65);
    background: #fff;
    background-repeat: repeat-x;
    border: 1px solid #d9d9d9;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
}

    .l-btn:not(.l-btn-plain):hover {
        background: #eee;
        color: #404040;
        border: 1px solid #ccc;
        filter: none;
    }

.l-btn-plain {
    background: transparent;
    border-width: 0;
    filter: none;
}

.l-btn-outline {
    border-width: 1px;
    border-color: #ccc;
    padding: 0;
}

.l-btn-plain:hover {
    background: #eee;
    color: #404040;
    border: 1px solid #ccc;
    -moz-border-radius: 4px 4px 4px 4px;
    -webkit-border-radius: 4px 4px 4px 4px;
    border-radius: 4px 4px 4px 4px;
}

.l-btn-disabled,
.l-btn-disabled:hover {
    opacity: 0.5;
    cursor: default;
    background: #fafafa;
    color: #404040;
}

    .l-btn-disabled .l-btn-text,
    .l-btn-disabled .l-btn-icon {
        filter: alpha(opacity=50);
    }

.l-btn-plain-disabled,
.l-btn-plain-disabled:hover {
    background: transparent;
    filter: alpha(opacity=50);
}

.l-btn-selected,
.l-btn-selected:hover {
    background: #39c;
    filter: none;
}

.l-btn-plain-selected,
.l-btn-plain-selected:hover {
    background: #39c;
}

.l-btn-focus {
    outline: #0000ff dotted thin;
}

.l-btn-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    line-height: 28px;
    font-size: 14px;
    padding: 0;
    margin: 2px 8px;
}

.datagrid-row {
    transition: background 0.3s;
}

.datagrid-row-over,
.datagrid-header td.datagrid-header-over:not(.datagrid-row-selected) {
    background: #fafafa;
}

.datagrid-row-selected {
    background: #e6f7ff;
    color: inherit;
}

.panel-body {
    background-color: #fff;
}

.textbox .textbox-text::-moz-placeholder {
    opacity: 1;
}

.textbox .textbox-text::-webkit-input-placeholder {
    color: #bfbfbf;
}

.textbox .textbox-text:-ms-input-placeholder {
    color: #bfbfbf;
}

.textbox .textbox-text::-ms-input-placeholder {
    color: #bfbfbf;
}

.textbox .textbox-text::placeholder {
    color: #bfbfbf;
}

/*.textbox .textbox-text {
    padding: 4px 11px;
}*/

/*.textbox .textbox-addon {
    background: #ffffff;
}

.textbox-invalid .textbox-addon {
    background: #fff3f3;
}*/

span[class*='icon-'] {
    background-size: contain !important;
}

.icon-download {
    background: url('../icons/download.png') no-repeat center center;
}

.icon-excel {
    background: url('../icons/excel.png') no-repeat center center;
}

.icon-export-excel {
    background: url('../icons/export-excel.png') no-repeat center center;
}

.anticon svg {
    vertical-align: unset;
}

svg {
    vertical-align: unset;
}

.ant-spin-nested-loading > div > .ant-spin {
    z-index: 999999;
    max-height: 100%;
    background: rgba(238, 238, 238, 0.4);
}

/*TuanVN4 23/09/2020 wrap text cho cell cua datagrid*/
.wrap-cell .datagrid-cell {
    word-wrap: break-word !important;
}
/* Tô đậm header của các data-grid */
.datagrid-header .datagrid-htable .datagrid-header-row:first-child {
    font-weight: bold;
}

.panel-body {
    color: #000;
}

/*TuanVN4 27/09/2020 - bat dau thanh tien trinh cua quy trinh*/
.process-progress {
    position: relative;
}

    .process-progress .progress {
        display: flex;
        justify-content: space-around;
        height: 100%;
        line-height: unset;
        background-color: unset;
        padding: .5rem 0;
    }

        .process-progress .progress .step {
            position: relative;
            width: 100%;
            text-align: center;
            font-weight: bold;
            /*line-height: 70px;*/
        }

            .process-progress .progress .step:before {
                content: '\2713';
                display: block;
                border-radius: 26px;
                width: 26px;
                height: 26px;
                background-color: #00C07F;
                /* margin: 0 auto 0.5em; */
                line-height: 26px;
                text-align: center;
                color: #fff;
                top: 0;
                left: 48.5%;
                z-index: 1;
                position: absolute;
            }

            .process-progress .progress .step:after {
                content: '';
                display: block;
                position: absolute;
                top: 12px;
                width: 100%;
                height: 3px;
                left: 50%;
                background-color: #00C07F;
                z-index: 0;
            }

            .process-progress .progress .step:last-child:after {
                display: none;
            }

            .process-progress .progress .step span {
                position: relative;
                display: inline-block;
                margin-top: 2rem;
            }

@keyframes progress-active {
    0% {
        box-shadow: 0px 0px 0px 0px rgba(0, 70, 170, 0.5);
    }

    100% {
        box-shadow: 0px 0px 0px 7px rgba(0, 70, 170, 0);
    }
}

.process-progress .progress .step.active ~ .step:after {
    background-color: #d2d2d2;
}

.process-progress .progress .step.active ~ .step:before {
    content: '';
    background-color: #d2d2d2;
}

.process-progress .progress .active.failed.step:before {
    background-color: #FF6562;
    content: '\2717';
    content: '!';
}

.process-progress .progress .step.active:after {
    background-color: #d2d2d2;
}

.process-progress .progress .step:not(:last-child).active:before {
    content: '';
    background-color: #6caef5;
    box-shadow: 0px 0px 0px 7px rgba(0, 70, 170, 0.5), 0px 0px 0px 2px rgba(0, 70, 170, 0);
    animation-name: progress-active;
    animation-duration: 3s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.process-progress .progress .step:last-child:not(.failed).active:before {
    box-shadow: 0px 0px 0px 7px rgba(0, 70, 170, 0.5), 0px 0px 0px 2px rgba(0, 70, 170, 0);
    animation-name: progress-active-last;
    animation-duration: 3s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.process-progress .progress .step:last-child.failed.active:before {
    box-shadow: 0px 0px 0px 7px rgba(0, 70, 170, 0.5), 0px 0px 0px 2px rgba(0, 70, 170, 0);
    animation-name: progress-active-failed-last;
    animation-duration: 3s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes progress-active-last {
    0% {
        box-shadow: 0px 0px 0px 0px rgba(122, 181, 29, 0.5);
    }

    100% {
        box-shadow: 0px 0px 0px 7px rgba(122, 181, 29, 0);
    }
}
@keyframes progress-active-failed-last {
    0% {
        box-shadow: 0px 0px 0px 0px rgba(255, 101, 98, 0.5);
    }

    100% {
        box-shadow: 0px 0px 0px 7px rgba(255, 101, 98, 0);
    }
}
/*TuanVN4 27/09/2020 - ket thuc thanh tien trinh cua quy trinh*/
.ant-message {
    z-index: 99999999;
}
body{
    color: #000000 !important;
}
.panel-title {
    font-size: 15px;
    font-weight: bold;
    height: 20px;
    line-height: 20px;
}
.datagrid-row-selected {
    background: #ffe48d;
    color: inherit;
}
.datagrid-header-row .datagrid-cell {
    line-height: normal !important;
    height: auto !important;
    white-space: normal !important;
}