﻿html {
    width: 100%;
    height: 100%;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #172B4D;
    line-height: 20px;
    font-size: 16px;
}

.body_nav {
    background-image: linear-gradient(359.96deg, #FF0F00 -113.33%, #FB8437 76.16%);
    background-repeat: no-repeat;
    background-attachment: fixed;
    height: 100%;
}

/* font style */
.font-small {
    font-size: 12px;
    font-weight: 500;
}
.font-medium {
    font-size: 14px;
    font-weight: 500;
}
.font-semi {
    font-weight: 600 !important;
}

.font-color-blue {
    color: #0052CC !important;
}

/*Login page */
.logo_login {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    margin-bottom: 8px;
}

    .logo_login img {
        height: 4em;
        width: 8em;
    }

#loginForm, #DangKyNhanVien, #PhucHoiMatKhauForm, #QuenMatKhauForm {
    padding: 0 2.5em 0em 2.5em;
}

.title {
    justify-content: center;
    display: flex;
    align-items: center;
    font-size: 20px;
    line-height: 20px;
    padding-bottom: 0.5em;
}

.custom-text-box, .custom-text-area {
    padding-bottom: 1em;
}

    .custom-text-box .label, .custom-text-area .label {
        /*padding-bottom: 0.5em;*/
        font-size: 12px;
        line-height: 14px;
        font-weight: bold;
    }

.reset_password {
    padding-left: 1em;
    color: #086E94 !important;
}

.btn_login_container {
    width: 100%;
    padding-left: 1em;
    padding-right: 1em;
}

    .btn_login_container .btn {
        width: 100%;
        height: 3em;
        display: flex;
        justify-content: center;
        align-items: center;
        background: #FF7A23;
        border-radius: 3px;
        margin: 0;
        color: #ffffff;
        font-weight: 500;
    }
    .btn_login_container .btn365 {
        background-color: #FFF;
        border: 1.7px solid #FF7A23;
        color: #FF7A23;
        text-decoration: none;
        font-weight: 700
    }

.register {
    padding-top: 2em;
}

.text_register {
    font-size: 14px;
    line-height: 22px;
    color: #FFFFFF;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    font-weight: 400;
}

.btn_register_container {
    width: 10em;
    height: 3em !important;
    border: 1px solid #FFFFFF;
    border-radius: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.btn_register_container {
    color: #FFFFFF !important;
    font-weight: 500;
}

footer {
    position: absolute;
    bottom: 0;
    width: 100% !important;
    padding-bottom: 1em;
}

.footer_copyright {
    color: #172B4D;
    font-size: 12px;
    margin-top: 0.8em;
}


/* === Common style ===*/
a {
    color: #0747A6;
}
    a:hover{
        text-decoration: underline;
    }
    /*Buttons*/
    button, html [type="button"], [type="reset"], [type="submit"] {
        box-shadow: none;
    }

.btn {
    box-shadow: none !important;
}

.btn-common {
    font-size: 14px;
    border: 1px solid transparent;
    text-transform: none;
    padding: 8px;
    border-radius: 3px;
    margin: 0;
}

.btn-common-primary {
    background-color: #F47320;
    color: #ffffff;
    border: 2px solid transparent;
    box-shadow: none;
}

    .btn-common-primary img,
    .btn-common-primary i {
        width: 16px;
        height: auto;
        margin-right: 10px;
    }

    .btn-common-primary:hover {
        background-color: #F18640;
        color: #ffffff;
    }

    .btn-common-primary:focus {
        background-color: #FA7A28;
        color: #ffffff;
        border-color: #FFA164;
    }

.btn-red-common {
    background-color: rgba(235, 87, 87, 0.2);
    border: 1px solid #EB5757;
    border-radius: 3px;
    color: #EB5757;
}

.btn-common-secondary {
    color: #F47320 !important;
    border: 1px solid;
    box-shadow: none;
}

    .btn-common-secondary i,
    .btn-common-secondary img {
        width: 16px;
        height: auto;
        margin-right: 10px;
    }

.btn-common-empty {
    background-color: transparent;
    color: #A5ADBA;
}

    .btn-common-empty:hover {
        background-color: #F47320;
        color: #ffffff;
    }

.btn-common-disable {
    background: rgba(9, 30, 66, 0.04);
    color: #A5ADBA;
    pointer-events: none;
    cursor: not-allowed;
}

.btn_information_functionality.btn-position-auto {
    top: auto;
    left: auto;
    position: relative;
}

.btn-file-extension img {
    width: 20px;
    height: 20px;
}

.btn-common-dropdown .btn-common-dropdown-item img {
    margin-right: 12px;
}

.btn-common-dropdown .btn-common-dropdown-item {
    width: 100%;
    padding: 0 15px;
    height: 3em;
    margin: 0;
}

    .btn-common-dropdown .btn-common-dropdown-item p {
        margin-bottom: 0;
    }

.cta-view {
    color: #0052CC;
    font-weight: 600;
    font-size: 12px;
}

    .cta-view svg {
        width: 18px;
    }

.required-green-arrow {
    color: #19D62C;
}

.required-red-arrow {
    color: #EB5757;
}
/* Section */
.section-common {
    padding: 32px 24px;
    background-color: #ffffff;
}

.section-title {
    color: #253858;
    font-size: 16px;
    line-height: 24px;
    font-weight: 400;
}

.section-breadcrumb .breadcrumb {
    background-color: transparent;
    color: #6B778C;
    padding: 24px 0 10px;
    margin-bottom: 0;
    font-size: 12px;
    line-height: 16px;
}

.status-item {
    background-color: #DFE1E6;
    border: 1px solid #42526E;
    border-radius: 33px;
    color: #42526E;
    padding: 2px 8px;
    font-size: 12px;
}

.status-green {
    color: #006644;
    border-color: #006644;
    background-color: #E2FFEE;
}

.status-red {
    color: #EB5757;
    border-color: #EB5757;
    background-color: #FFEBE5;
}

.status-purple {
    color: #9B51E0;
    border-color: #9B51E0;
    background-color: #EAE6FF;
}

/* Bootstrap DatePicker */
.datepicker-dropdown.datepicker-orient-top:after,
.datepicker-dropdown.datepicker-orient-top:before {
    content: none;
}

.form-title-common {
    color: #172B4D;
    font-weight: bold;
    font-size: 18px;
    line-height: 24px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.dropdown-menu {
    box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px, rgba(9, 30, 66, 0.31) 0px 0px 1px;
    border: none;
}

.datepicker td, .datepicker th {
    padding: 4px 10px;
}

.datepicker .datepicker-switch, .datepicker .next, .datepicker .prev, .datepicker tfoot tr th {
    font-weight: 600;
}

.datepicker table tr td.active, .datepicker table tr td.active.disabled, .datepicker table tr td.active.disabled:hover, .datepicker table tr td.active:hover {
    background-color: #2B3F61 !important;
    background-image: none;
    color: #ffffff !important;
}

.datepicker table tr td.today, .datepicker table tr td.today.disabled, .datepicker table tr td.today.disabled:hover, .datepicker table tr td.today:hover {
    color: #F18640;
    border-bottom: 3px solid #F18640;
    background-image: none;
    background-color: transparent;
}

.datepicker table tr td span.active, .datepicker table tr td span.active.disabled, .datepicker table tr td span.active.disabled:hover, .datepicker table tr td span.active:hover {
    background-color: #2B3F61 !important;
    background-image: none;
    color: #ffffff !important;
}
/* Checkbox */
.form-check-input[type="radio"]:not(:checked) + label, .form-check-input[type="radio"]:checked + label, label.btn input[type="radio"]:not(:checked) + label, label.btn input[type="radio"]:checked + label {
    margin-right: 10px;
    padding-left: 26px;
}

.form-check-input[type="radio"] + label:before, .form-check-input[type="radio"] + label:after, label.btn input[type="radio"] + label:before, label.btn input[type="radio"] + label:after {
    width: 14px;
    height: 14px;
}

.form-check-input[type="radio"]:not(:checked) + label, .form-check-input[type="radio"]:checked + label, label.btn input[type="radio"]:not(:checked) + label, label.btn input[type="radio"]:checked + label {
    font-size: 12px;
    line-height: 18px;
    color: #7A869A !important;
    padding: 2px 4px 6px 28px;
    border-radius: 4px !important;
    width: 100%;
    font-weight: 600;
}

.form-note-list {
    padding: 0 1.25rem 1rem;
}

/* Bootstrap table */
.table-bootstrap-common thead tr {
    background-color: #DFE1E5;
}

.table-bootstrap-common tr th {
    font-weight: 700;
}

.table-bootstrap-common tbody tr {
    border-bottom: 1px solid #DFE1E6;
}

.table-bootstrap-common tr th,
.table-bootstrap-common tr td {
    color: #6B778C;
    line-height: 20px;
    font-size: 12px;
    padding: 12px 16px !important;
    border: none;
}

.table-bootstrap-common .file-extension {
    width: 140px;
    height: auto;
    background-color: #ffffff;
    z-index: 999;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.4);
    border-radius: 3px;
    position: absolute;
    left: -84px;
    top: 22px;
}

    .table-bootstrap-common .file-extension img {
        width: 20px;
        height: 20px;
    }

    .table-bootstrap-common .file-extension * {
        font-weight: 600;
        color: #172B4D;
    }

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #F4F5FA;
}
/* Datebox Dev Express*/
.dx-calendar-cell.dx-calendar-selected-date.dx-calendar-contoured-date,
.dx-calendar-cell.dx-calendar-selected-date.dx-calendar-today.dx-calendar-contoured-date {
    -webkit-box-shadow: inset 0px 0px 0px 1px #F47320, inset 0px 0px 0px 1000px #F47320 !important;
    box-shadow: inset 0px 0px 0px 1px #F47320, inset 0px 0px 0px 1000px #F47320 !important;
}

.dx-calendar-cell.dx-calendar-selected-date,
.dx-calendar-cell.dx-calendar-selected-date.dx-calendar-today {
    color: #fff !important;
    -webkit-box-shadow: inset 0px 0px 0px 1000px #F47320 !important;
    box-shadow: inset 0px 0px 0px 1000px #F47320 !important;
    font-weight: normal !important;
}

.dx-calendar-navigator-previous-view.dx-button .dx-icon, .dx-calendar-navigator-previous-month.dx-button .dx-icon,
.dx-calendar-navigator-next-view.dx-button .dx-icon, .dx-calendar-navigator-next-month.dx-button .dx-icon,
.dx-calendar-navigator .dx-calendar-caption-button.dx-button .dx-button-content {
    color: #F47320 !important
}


/* Input Dev Express */
.dx-texteditor-input {
    border: 1px solid #CBD6E2;
    border-radius: 3px;
}
/* Modal Popup */

.modal-footer .custom-btn-add,
.modal-footer .custom-btn-cancel {
    width: auto !important;
}

    .modal-footer .custom-btn-cancel:hover {
        background-color: #FF7A23;
        color: #ffffff;
    }

.modal .modal-content .modal-header {
    padding: 24px 32px;
}

    .modal .modal-content .modal-header .close {
        color: #42526E;
    }

        .modal .modal-content .modal-header .close i {
            width: 24px;
            height: 24px;
        }

        .modal .modal-content .modal-header .close svg {
            width: 18px;
            height: 18px;
            vertical-align: baseline;
        }

.modal .modal-title {
    font-size: 20px;
    line-height: 32px;
    color: #42526E;
    font-weight: 600;
}

.modal .modal-content .modal-body {
    padding: 32px 32px 20px 32px;
    border-top: 1px solid #DFE1E6;
}

.modal .modal-content .modal-footer {
    padding: 0 32px 28px;
    border-top: 0;
}

.modal-content .modal-footer button {
    margin-left: 8px;
}

#modal_alert .modal-dialog .modal-content {
    background-color: transparent;
    box-shadow: none;
}

.custom-control-label {
    font-size: 14px;
    color: #7A869A;
    font-weight: 600;
    padding-top: 2px;
}
/* Table */
.table-common .dx-datagrid-headers table tbody {
    background-color: #DFE1E5;
}

    .table-common .dx-datagrid-headers table tbody .dx-datagrid-text-content {
        color: #6B778C;
        font-weight: 700;
    }

.table-common .dx-datagrid-content .dx-datagrid-table .dx-row > td,
.table-common .dx-datagrid-content .dx-datagrid-table .dx-row > tr > td {
    font-family: 'Open Sans', sans-serif;
    color: #172B4D;
    line-height: 20px;
    font-size: 12px;
    padding: 12px 16px;
    border: none;
}

.table-common .dx-datagrid-rowsview .dx-row {
    border-bottom: 1px solid #DFE1E6;
}

    .table-common .dx-datagrid-rowsview .dx-row:hover {
        background-color: rgba(9, 30, 66, 0.04);
    }

.table-common .dx-pager .dx-pages .dx-page {
    color: #42526E;
    font-size: 14px;
    line-height: 17px;
}

.table-common .dx-pager .dx-pages .dx-selection, .dx-pager .dx-page-sizes .dx-selection {
    background-color: #424B63;
    color: #ffffff;
}

.table-common .dx-datagrid-headers {
    margin-top: 8px;
    margin-bottom: 0 !important;
}

.table-common .dx-datagrid-header-panel {
    border-bottom: none;
}

    .table-common .dx-datagrid-header-panel .dx-toolbar {
        margin-bottom: 0;
    }

.table-common .dx-datagrid-text-content {
    overflow: initial;
}

.table-common .dx-datagrid-rowsview .dx-row > td, .table-commo .dx-datagrid-rowsview .dx-row > tr > td {
    overflow: initial;
}
/* reset Input style of Login Form */
.tab-content.card .form-control {
    border-radius: 4px;
}

/* reset dropdown readonly on Modal */
.modal-reset-dropdown-readonly input[readonly] {
    background-color: transparent !important;
    font-weight: 600;
    font-family: 'Open Sans', sans-serif;
}

/* Table */
.table-scroll-horizontal {
    overflow-x: auto;
}

    .table-scroll-horizontal table tbody tr td, th {
        white-space: nowrap;
    }

/*badge */
.badge-common {
    background-color: #E2FFEE;
    color: #006644;
    padding: 6px;
    border-radius: 4px;
    font-size: 11px;
    line-height: 16px;
}

.disable-click {
    pointer-events: none;
}

/* Status of Form */
.form-comfirm-success {
    background-color: #E2FFEE;
    color: #006644;
    padding: 12px;
    border-left: 2px solid #006644;
}

.form-comfirm-danger {
    background-color: #FFEBE5;
    color: #DE350B;
    padding: 12px;
    border-left: 2px solid #DE350B;
}

.dx-treeview-toggle-item-visibility:before {
    height: 18px;
    width: 18px !important;
    content: url(../../img/chevron-right.svg) !important;
    transition: 0.3s linear;
}

.dx-treeview-toggle-item-visibility.dx-treeview-toggle-item-visibility-opened:before {
    -webkit-transform: rotate(90deg);
    -moz-transform: rotate(90deg);
    -o-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
}

/* Reset dx.light DataGrid */
.dx-button-mode-contained.dx-state-focused {
    background-color: transparent !important;
}

.dx-button-mode-contained {
    background-color: transparent !important;
}

.dx-datagrid-focus-overlay {
    border: none !important;
}

.dx-button-mode-contained.dx-state-hover {
    background-color: transparent !important;
    border-color: transparent !important;
}

/* Reset dx.light Scroll bar */
.dx-scrollable-scroll-content {
    background-color: #C4CDD5 !important;
    border-radius: 20px;
}

.dx-scrollbar-hoverable .dx-scrollable-scroll.dx-state-invisible .dx-scrollable-scroll-content {
    background-color: #C4CDD5 !important;
}

.dx-scrollbar-hoverable.dx-state-hover,
.dx-scrollbar-hoverable.dx-scrollable-scrollbar-active {
    background: transparent !important;
}

/* Tooltip */
.tooltip-popup hr {
    display: none;
}

.form-control:disabled, .form-control[readonly] {
    box-shadow: none;
}

.img-no-info {
    width: 240px;
}

/* CTA dropdown */
.cta-dropdown-common {
    color: #424B63;
    font-size: 14px;
}

    .cta-dropdown-common:hover {
        color: #424B63;
    }

.dropdown-menu-common {
    box-shadow: 0px 10px 15px rgba(204, 204, 204, 0.3);
}

.cta-dropdown-common.dropdown-toggle::after {
    content: url('../../../img/svgs/arrow-right.svg');
    border: none;
    vertical-align: sub;
}

.dropdown-menu-common .dropdown-item {
    font-size: 12px;
    padding: 12px 24px;
}

.block-layout {
    box-shadow: 0px 1px 1px rgba(9, 30, 66, 0.25), 0px 0px 1px rgba(9, 30, 66, 0.31);
    border-radius: 3px;
    padding: 18px 24px;
    background-color: #ffffff;
    margin-bottom: 20px;
}

.avatar-name-block {
    display: flex;
    font-size: 12px;
    align-items: center;
}

    .avatar-name-block img {
        width: 24px;
        height: 24px;
        border-radius: 50%;
        margin-right: 8px;
    }

@media only screen and (max-width: 767px) {
    .text_register, .btn_register_container {
        justify-content: center;
        margin: auto;
    }


        .body_nav .title {
            padding-bottom: 1rem;
        }

    .logo_login img {
        height: 4vh;
        width: auto;
    }

    .register {
        padding-top: 1rem;
    }

    #loginForm, #DangKyNhanVien, #PhucHoiMatKhauForm, #QuenMatKhauForm {
        padding: 0;
    }

    .table-common .dx-datagrid-content .dx-datagrid-table .dx-row > td, .table-common .dx-datagrid-content .dx-datagrid-table .dx-row > tr > td {
        white-space: nowrap;
    }

    .logo_login {
        margin-bottom: 12px;
    }

    .tab-content {
        padding-top: 1rem;
    }
}
