@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: url('/asset/fonts/MaterialIcons-Regular.ttf') format('truetype');
}

@font-face {
    font-family: 'Material Icons Outlined';
    font-style: normal;
    font-weight: 400;
    src: url('/asset/fonts/MaterialIconsOutlined-Regular.otf') format('woff2');
}

@font-face {
    font-family: 'Material Icons Round';
    font-style: normal;
    font-weight: 400;
    src: url('/asset/fonts/MaterialIconsRound-Regular.otf') format('woff2');
}

@font-face {
    font-family: 'Prompt';
    src: url('/asset/fonts/Prompt-Regular.ttf') format('truetype');
}

.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

.material-icons-outlined {
    font-family: 'Material Icons Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

.material-icons-round {
    font-family: 'Material Icons Round';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

.material-icons-empty {
    width: 24px;
    height: 24px;
}

body {
    font-family: Prompt;
}

.btn {
    height: 43px;
    min-width: 100px;
    border-radius: 6px;
    cursor: pointer;
    color: #ffffff;
    padding: 0 10px;
    background-color: #16234f;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.btn:hover {
    filter: brightness(0.9);
}

.btn-inline {
    height: 36px;
}

.btn-outline {
    color: #16234f;
    background-color: #ffffff;
    border: 1px solid #16234f;
}

.btn-icon {
    min-width: unset;
    color: #16234f;
    background-color: #ffffff;
    border: 1px solid #16234f26;
}

.btn-link {
    height: unset;
    color: #205ed2;
    background-color: transparent;
    font-family: 'Prompt';
    border: none;
    font-size: 16px;
}

.btn .icon~.label,
.btn [class*='material-icons']~.label {
    margin-left: 4px;
    margin-right: 10px;
}

.btn.btn-link [class*='material-icons']~.label {
    margin-left: 8px;
    text-decoration: underline;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-right: -5px;
    margin-left: -5px;
}

.form-row.center {
    align-items: center;
    justify-content: center;
}

.form-row.left {
    align-items: flex-start;
    justify-content: flex-start;
}

.form-row.flex-end {
    align-items: flex-end;
}

.form-group {
    display: flex;
    width: 100%;
    /* min-width: 200px; */
    flex-direction: column;
    padding-right: 5px;
    padding-left: 5px;
    margin-bottom: 20px;
    box-sizing: border-box;
    position: relative;
}

.form-group.flex-end {
    align-items: flex-end;
}

.form-group.auto {
    width: auto;
}

.form-group.default {
    width: 160px;
}

.form-group.grow {
    flex-grow: 1;
}

.form-group-header {
    font-size: 18px;
    margin-top: 26px;
    margin-bottom: 10px;
}

.form-group .invalid {
    position: absolute;
    top: 100%;
    left: 0;
    padding: 0 5px;
    color: red;
    font-size: 14px;
    margin-bottom: -20px;
    display: none;
}

.form-group.has-validation .invalid {
    display: block;
}

.form-group.overflow {
    overflow: hidden;
}

.form-label {
    width: 100%;
    height: 24px;
    text-align: left;
    color: #16234f;
    font-family: Prompt;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.form-label-inline {
    width: 100%;
    height: 100%;
    /* padding: 0 8px; */
    display: flex;
    align-items: center;
    text-align: left;
    color: #16234f;
    font-family: Prompt;
    box-sizing: border-box;
}

.form-label-inline .label {
    padding: 0 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14px;
}

.form-label .required {
    color: red;
    padding: 0 4px;
}

.form-control {
    width: 100%;
    height: 36px;
    padding: 0 8px;
    border: 1px solid #16234f27;
    border-radius: 4px;
    box-sizing: border-box;
    font-family: Prompt;
}

textarea.form-control {
    height: 120px;
    min-height: 36px;
}

span.form-control {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.form-control[type=color] {
    padding: 0 2px;
    cursor: pointer;
}

.form-control[disabled] {
    background-color: #d7d7d7;
    cursor: not-allowed;
}

.separator {
    min-height: 10px;
    min-width: 10px;
}

.input-group {
    width: 100%;
    min-height: 36px;
    box-sizing: border-box;
    font-family: Prompt;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.input-group .color-box-wrapper {
    width: 100%;
    max-width: 46px;
    height: 36px;
    padding-right: 8px;
    box-sizing: border-box;
}

.input-group .btn {
    margin-left: 8px;
}

input[type="radio"],
input[type="checkbox"] {
    margin: 0;
    height: 20px;
    width: 20px;
    min-height: 20px;
    min-width: 20px;
}

input[type="password"]:not(:placeholder-shown) {
    font-size: 40px;
}

.modal input[type="password"]:not(:placeholder-shown) {
    max-width: 200px;
}

.label-group {
    display: flex;
    align-items: center;
    margin: 0 8px;
}

.label-group .label {
    margin: 0 8px;
}

.col-0 {
    width: 0;
    padding: 0;
    margin: 0;
    visibility: hidden;
}

.col-1 {
    width: 8.33333333333333%;
}

.col-2 {
    width: 16.6666666666667%;
}

.col-3 {
    width: 25%;
}

.col-4 {
    width: 33.3333333333333%;
}

.col-5 {
    width: 41.6666666666667%;
}

.col-6 {
    width: 50%;
}

.col-7 {
    width: 58.3333333333333%;
}

.col-8 {
    width: 66.6666666666667%;
}

.col-9 {
    width: 75%;
}

.col-10 {
    width: 83.3333333333333%;
}

.col-11 {
    width: 91.6666666666667%;
}

.col-12 {
    width: 100%;
}

.no-width {
    width: unset;
    min-width: unset;
    max-width: unset;
}

.center {
    text-align: center !important;
    align-items: center !important;
    justify-content: center !important;
}

.card-container {
    height: 100%;
    display: flex;
    flex-wrap: wrap;
}

.card-container .card-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.card-container .card-wrapper .card {
    height: unset;
    max-height: 100%;
}

.card-wrapper {
    padding: 10px;
    box-sizing: border-box;
}

.card {
    display: flex;
    flex-direction: column;
    padding: 16px;
    border-radius: 12px;
    background-color: #ffffff;
    box-shadow: 0px 2px 10px #0000000f;
    box-sizing: border-box;
}

.card-header {
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
}

.card-header.small,
.card-header .card-header-wrapper.small {
    font-size: 16px;
}

.card-header.large,
.card-header .card-header-wrapper.large {
    font-size: 24px;
}

.card-header .card-header-wrapper [class*='material-icons'] {
    font-size: 20px;
}

.card-header .card-header-wrapper.small [class*='material-icons'] {
    font-size: 20px;
}

.card-header .card-header-wrapper.large [class*='material-icons'] {
    font-size: 24px;
}

.card-header-wrapper {
    display: flex;
    align-items: center;
}

.card-header-container {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.card-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-header-wrapper .label {
    margin-left: 6px;
}

.card-action {
    display: flex;
    align-items: center;
}

.card-action a {
    color: inherit;
    text-decoration: none;
}

.card-content {
    overflow: auto;
    width: calc(100% + 8px);
    padding: 10px 8px 4px 0;
    box-sizing: border-box;
}

.card-content.flex {
    display: flex;
}

.card-table-header {
    display: flex;
    justify-content: space-around;
    color: #4561c1;
    font-size: 14px;
}

.card-table-row {
    display: flex;
    align-items: center;
    font-size: 14px;
    height: 50px;
    border-radius: 6px;
    background-color: #f5f7ff;
}

.card-table {
    width: 100%;
    box-sizing: border-box;
    border-spacing: 0;
    position: relative;
}

.table-row.selected .card-cell {
    background-color: #e4eaff;
}

.table-row.state-update .card-cell {
    background-color: #bbeded;
}

.table-row.state-delete .card-cell {
    background-color: #ffd5d5;
}

.table-row.state-not-plan .card-cell {
    background-color: #fff9b3;
}

.table-row.state-update.selected .card-cell {
    background-color: #80dfdf;
}

.table-row.state-delete.selected .card-cell {
    background-color: #ffadad;
}

.card-thead {
    color: #4561c1;
    font-size: 14px;
    white-space: nowrap;
    text-align: left;
    position: sticky;
    top: -10px;
    background-color: #fff;
    z-index: 4;
}

.card-thead .group-column span {
    display: block;
    text-align: center;
    border-bottom: 1px solid #4561c1;
}

.card-thead th {
    padding: 4px 8px;
    vertical-align: bottom;
}

.card-thead .column-group {
    display: flex;
}

.card-thead .column-group [class*="material-icons"] {
    font-size: 21px;
}

.card-column {
    height: 50px;
    padding: 4px 0;
    box-sizing: border-box;
}

.card-column.color {
    color: #bbbbbb;
}

.card-column.status {
    width: 100px;
}

.card-column.status .icon {
    font-size: 18px;
}

.card-column.status .icon.active {
    color: #79ad41;
}

.card-column.status .icon.pending {
    color: #fb9f16;
}

.card-column.status .icon.inactive {
    color: #c92c2c;
}

.card-column .card-cell .text-content {
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.card-cell {
    height: 100%;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    background-color: #f5f7ff;
    padding: 0 8px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.card-cell [class*='material-icons']~.label {
    margin-left: 8px;
}

.card-column:first-child .card-cell {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.card-column:last-child .card-cell {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-thumb {
    background: #16234f;
    border-radius: 4px;
}

::-webkit-scrollbar-track {
    background: #e3e3e3;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4b5887;
}

.progress-bar {
    height: 30px;
    border-radius: 6px;
    background-color: #f5f7ff;
    overflow: hidden;
    position: relative;
}

.progress-bar .progress {
    height: 100%;
    color: #ffffff;
    background-color: #16234f;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    max-width: 100%;
}

.progress-bar .progress.actual {
    background-color: #9f1e1e;
}

.progress-bar .progress .label {
    min-width: 50px;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 4px;
    text-shadow: 0px 0px 4px #16234f;
    box-sizing: border-box;
}

.progress-bar .progress.actual .label {
    text-shadow: 0px 0px 4px #9f1e1e;
}

.slide-form-wrapper {
    position: relative;
    overflow: hidden;
}

.slide-form {
    position: absolute;
    top: 0;
    display: none;
    min-width: 100%;
    left: calc(100% + 20px);
    transition-timing-function: ease;
    transition-duration: 0.4s;
    padding: 10px;
    box-sizing: border-box;
    box-shadow: 0px 2px 10px #0000000f;
}

.slide-form.active {
    position: relative;
    display: block;
    left: 0;
}

.column-action {
    position: relative;
    width: 48px;
    box-sizing: border-box;
}

.action-more,
.icon-button,
.column-action [class*="material-icons"] {
    cursor: pointer;
    border-radius: 20px;
    padding: 4px;
    user-select: none;
}

.action-more:hover,
.icon-button:hover,
.column-action [class*="material-icons"]:hover {
    background-color: #cccccc;
}

th.action-more,
th.column-action {
    padding: 0 8px;
    text-align: center;
}

th.action-more [class*="material-icons"],
th.column-action [class*="material-icons"] {
    font-size: 20px;
    padding: 0;
    cursor: default;
}

th.action-more:hover,
th.column-action:hover,
th.action-more [class*="material-icons"]:hover,
th.column-action [class*="material-icons"]:hover {
    background-color: inherit;
}

.card-column.hide,
th.column[data-class='hide'] {
    display: none;
}

.icon-button a {
    display: flex;
    color: #16234f;
    text-decoration: none;
}

.action-delete {
    color: #f40303;
}

.context-menu {
    position: absolute;
    left: 42px;
    background-color: #fff;
    top: 21px;
    border-radius: 6px;
    z-index: 5;
    box-shadow: 0px 0px 4px #0000003d;
}

.context-menu ul {
    list-style: none;
    margin: 0;
    padding: 8px 0;
}

.context-menu .action-item {
    display: flex;
    align-items: center;
    padding: 0 10px;
    cursor: pointer;
    user-select: none;
    min-height: 32px;
}

.context-menu .action-item a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #16234f;
}

.context-menu .action-item:hover {
    background-color: #dddddd;
}

.context-menu .action-item .label {
    padding-right: 10px;
}

.modal {
    display: none;
}

.modal.show {
    display: block;
}

.modal.overlay {
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100vw;
    height: 100vh;
    position: fixed;
    background-color: rgba(0, 0, 0, 0.6);
    box-sizing: border-box;
}

.modal .wrapper {
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 100%;
    max-height: 100%;
    overflow: hidden;
    pointer-events: none;
    padding: 40px;
    box-sizing: border-box;
}

.modal .dialog {
    background-color: #fff;
    border-radius: 12px;
    padding: 50px;
    display: flex;
    flex-direction: column;
    pointer-events: visible;
    max-height: 100%;
    box-sizing: border-box;
    padding-right: 25px;
    position: relative;
    min-width: 600px;
}

.modal .dialog.medium-border {
    padding: 30px;
    padding-right: 15px;
}

.modal .dialog.medium-border .header,
.modal .dialog.medium-border .content,
.modal .dialog.medium-border .footer {
    padding-right: 15px;
}

/* .modal .dialog.default {
    width: 600px;
} */

.modal .dialog .header,
.modal .dialog .content,
.modal .dialog .footer {
    height: 100%;
    width: 100%;
    padding: 4px;
    padding-right: 25px;
    box-sizing: border-box;
}

.modal .dialog .header {
    font-size: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.modal .dialog .header>:last-child {
    margin-bottom: 40px;
}

.modal .dialog .header-wrapper {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal .dialog .header-group-label {
    display: flex;
    align-items: center;
}

.modal .dialog .header-group-label .label {
    margin-left: 6px;
}

.modal .dialog .header-action {
    margin-left: 40px;
}

/* .modal .dialog.default .content {
    min-width: 300px;
    min-height: 100px;
} */

.modal .dialog .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: auto;
}

.modal .dialog .content.warning {
    color: #ff0000;
}

.modal .dialog .content-header {
    font-size: 40px;
    text-align: center;
    word-break: break-all;
    margin-bottom: 40px;
}

.modal .dialog .content-message {
    font-size: 20px;
    word-break: break-word;
    text-align: center;
    padding: 0 20px;
}

.modal .dialog .content-message-body {
    min-height: 80px;
    min-width: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
}

.modal .dialog .content-message-icon * {
    font-size: 80px;
    margin-bottom: 40px;
}

.modal .dialog .content-message.error,
.modal .dialog .content-message-body.error {
    color: red;
    font-size: 16px;
}

.modal .dialog .content-message-body [class*="material-icons"] {
    font-size: 46px;
    margin-right: 10px;
}

.modal .dialog .content-thead {
    color: #4561c1;
    font-size: 14px;
    white-space: nowrap;
    text-align: left;
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 4;
}

.modal .dialog .content-thead th {
    padding: 4px 8px;
}

.modal .dialog.form {
    padding: 0;
}

.modal .dialog.form .content {
    display: block;
}

.modal .logo {
    width: 140px;
    height: 140px;
}

.modal .dialog .footer>:first-child {
    margin-top: 40px;
}

.modal .dialog .footer .action .btn {
    margin: 8px;
    margin-top: 0;
}

.modal .btn-close {
    position: absolute;
    top: 10px;
    right: 10px;
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    cursor: pointer;
}

.modal .btn-close:hover {
    background-color: #dddddd;
}

[class*="material-icons"] {
    user-select: none;
}

.file-upload-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 240px;
    width: 100%;
    box-sizing: border-box;
    padding: 20px;
    border-radius: 10px;
    border: 2px dashed #16234f;
    color: #16234f;
    cursor: pointer;
}

.file-upload-container:hover {
    background-color: #f3f3f3;
}

.file-upload-container [type=file] {
    display: none;
}

.file-upload-container .icon {
    user-select: none;
    font-size: 72px;
    color: #6c779d;
    padding-bottom: 20px;
}

.file-upload-container .upload-info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.file-upload-container .file-detail {
    font-size: 12px;
    display: flex;
    padding: 2px;
}

.file-upload-container .file-detail .first-ten-char {
    white-space: nowrap;
    padding-left: 4px;
}

.file-upload-container .file-detail .tag-name {
    padding: 0 10px;
    max-height: 18px;
    border-radius: 4px;
    color: #ffffff;
    background-color: #1a1949;
}

.file-upload-container .file-detail .tag-label {
    word-break: break-all;
    padding-left: 10px;
    font-weight: bold;
}

.no-wrap {
    white-space: nowrap;
    flex-wrap: nowrap;
}

.form-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-left: 5px;
    padding-right: 5px;
    box-sizing: border-box;
}

.form-action-group {
    display: flex;
    justify-content: space-between;
}

.pagination {
    display: flex;
    padding: 8px;
    justify-content: flex-end;
}

.pagination [class*='material-icons'] {
    border-radius: 32px;
    margin: 0 2px;
    padding: 4px;
    cursor: pointer;
}

.pagination [class*='material-icons']:hover {
    background-color: #dddddd;
}

.pagination .page-selection {
    padding: 0 8px;
    text-align: center;
    height: 28px;
    font-size: 16px;
    font-family: 'Prompt';
    border-radius: 24px;
    margin: 2px 4px;
    border-color: #16234f;
}

.table-result .form-control {
    min-width: 100px;
    height: 32px;
}

.logo-protection {
    user-select: none;
    pointer-events: none;
}

.head-container {
    display: flex;
    height: 40px;
    align-items: center;
    justify-content: space-between;
    padding: 0 18px 10px 0;
}

.head-right-panel {
    display: flex;
    align-items: center;
}

.profile-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    border-radius: 20px;
    background-color: #e1e5f4;
}

.profile-panel>* {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    box-sizing: border-box;
}

.profile-pic {
    overflow: hidden;
    border-radius: 12px;
    height: 24px;
    width: 24px;
    margin: 8px;
    background-color: #fff;
}

.profile-pic img {
    font-size: 24px;
    max-width: 24px;
    max-height: 24px;
}

/* .profile-pic:hover {
    background-color: #afafaf;
} */

.profile-setting {
    cursor: pointer;
}

.profile-setting.active a {
    color: #f40303;
}

.logout-panel {
    background-color: #e1e5f4;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    width: 40px;
    margin-left: 10px;
    box-sizing: border-box;
}

.logout-link {
    color: #16234f;
    display: flex;
    text-decoration: none;
}

.border {
    border: 1px solid #ddd;
    border-radius: 10px;
}

@media only screen and (max-width: 720px) {

    .modal .dialog {
        width: 100%;
        min-width: unset;
    }

}

@media only screen and (max-width: 420px) {

    .form-row,
    .input-group:not(.color-picker) {
        flex-wrap: wrap !important;
    }

    .input-group .btn {
        margin-top: 10px;
        margin-left: 0;
    }

    .modal .wrapper {
        padding: 20px;
    }

    .modal .dialog {
        width: 100%;
    }

    .form-group,
    .form-group .btn {
        width: 100% !important;
    }

    [name=operator] {
        width: 100px;
        height: 26px;
    }

    .filter-label {
        margin-bottom: 4px;
    }

    .filter-label .input-group {
        height: 26px;
    }

    .modal .dialog .footer .action .btn {
        flex-grow: 1;
    }

    .pagination {
        justify-content: center;
        box-sizing: border-box;
    }
}