:root {
    --height-header: 60px;
    --height-footer: 45px;
    --color-black: #333;
    --color-red: #D73038;
    --color-blue: #003586;
    --bg-information: #E2F0FB;
    --frame-line-information: #BBBBBB;
    --frame-line-error: #BBBBBB;
    --bg-error: #F9D6D5;
    --bg-frame-line-error: #F7C2C1;
    --text-error: #881F1C;
    --bg-normal: #D7F3E3;
    --frame-line-normal: #C3ECD5;
    --text-normal: #227444;
    --color-secondary: #6c757d;
    --bd-callout-link: 10, 88, 202;
    --font-size-app-16: 16px;
    --bs-nav-link-font-size: 16px;
    --font-size-app-17: 17px;
    --font-size-app-18: 18px;
    --font-size-app-19: 19px;
    --font-size-app-20: 20px;
}

.form-select {
    min-width: unset;
}

.table-bordered>thead>tr>th {
    /* background-color: #EAF4FF; */
    color: #333333;
}

.table-sort-custom {
    margin-top: 8px;
  }

  .table-sort-custom tr th {
    cursor: pointer;
  }

  .td-hide {
    display: none;
  }
  .table-sort-custom {
    .sort-icon,
    .chevron-down,
    .chevron-up {
      &:before {
        content: "" !important;
        width: 9px;
        height: 14px;
        display: inline-block;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translate(-50%, -50%);
      }
    }
    .sort-icon {
      &:before {
        background: url(../../img/sort-solid.svg) no-repeat;
      }
    }
    .chevron-down {
      &:before {
        background: url(../../img/sort-down-solid.svg) no-repeat;
      }
    }
    .chevron-up {
      &:before {
        background: url(../../img/sort-up-solid.svg) no-repeat;
      }
    }
    & thead {
      position: sticky;
      z-index: 1;
      & th {
        position: relative;
        &:after{
          content: '';
          position: absolute;
          left: 0;
          width: 100%;
        }
      }
    }
  }

.table-custom .dt-type-date {
    text-align: left !important;
}

.table-sort-custom {
    margin-top: 8px;
  }
  
  .table-sort-custom tr th {
    cursor: pointer;
  }
  
  .td-hide {
    display: none;
  }
  .table-sort-custom {
    .sort-icon,
    .chevron-down,
    .chevron-up {
      &:before {
        content: "" !important;
        width: 9px;
        height: 14px;
        display: inline-block;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translate(-50%, -50%);
      }
    }
    .sort-icon {
      &:before {
        background: url(../../img/sort-solid.svg) no-repeat;
      }
    }
    .chevron-down {
      &:before {
        background: url(../../img/sort-down-solid.svg) no-repeat;
      }
    }
    .chevron-up {
      &:before {
        background: url(../../img/sort-up-solid.svg) no-repeat;
      }
    }
    & thead {
      position: sticky;
      z-index: 1;
      & th {
        position: relative;
        &:after{
          content: '';
          position: absolute;
          left: 0;
          width: 100%;
        }
      }
    }
  }

.btn.btn-primary-bg.focus,
.btn.btn-primary-bg:hover {
    color: #0054A6;
    background-color: #fff;
    border-color: #0054A6;
}

.btn.btn-primary-bg,
.btn.btn-primary-bg:focus {
    color: #ffffff;
    border: 1px solid #000;
    background-color: #0054A6;
}

.search-block .input-group-addon {
    background-color: #fff;
    border-radius: 0;
    border-top-right-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
    border: 1px solid var(--bs-border-color);
    border-left: 0;
    height: 38px;
    padding: 5px 10px;
}

.search-block .input-group-addon .fa {
    cursor: pointer;
    font-weight: unset;
}

.border-r-radius-none {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.fake-col {
    border-style: hidden !important;
    border-bottom: 1px solid gray !important;
    background: white !important;
    background-color: white !important;
    cursor: default !important;
}

.fake-col-br {
    border-right: 1px solid gray !important;
}

.per_page {
    width: 100px !important;
}

.per_page {
    width: 100px;
    min-width: 100px;
    border-color: var(--color-blue);
}

.paging {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: 0.25rem;
    margin-bottom: 0px;
}

.page-link {
    font-size: 18px !important;
}

.paging .paging-items {
    display: flex;
    color: var(--color-blue);
    border: 1px solid var(--color-blue);
    background: #fff;
    border-radius: 3px;
    font-size: 12px;
}

.paging .paging-items .page-link {
    cursor: pointer;
    border-right: 1px solid var(--color-blue);
    padding: 4px 15px;
    font-weight: 700;
}

.paging .paging-items .page-link:hover {
    background-color: var(--color-blue);
    color: #ffffff;
}

.paging .paging-items .active {
    background-color: var(--color-blue);
    color: #ffffff;
    cursor: default;
}

.paging .paging-items .page-link:last-of-type {
    border-right: unset;
}

.paging .paging-item a {
    border: 1px solid var(--color-blue);
    background: #fff;
    border-radius: 3px;
    color: var(--color-blue);
    cursor: pointer;
    display: block;
    padding: 4px 10px;
    font-size: 12px;
}

.paging .paging-item a:hover {
    background-color: var(--color-blue);
    color: #ffffff;
    cursor: default;
}

.paging .paging-item a i {
    font-size: 15px;
}

.datepicker:focus {
    box-shadow: unset !important;
}

.invisible {
    visibility: hidden !important;
}

.content-menu {
    height: 100%;
    display: flex;
}

.form-inline-header.form-inline {
    display: flex;
    color: #ccc;
    flex-direction: row;
    align-content: flex-end;
    justify-content: space-around;
    align-items: center;
}

.form-inline-header.form-inline button {
    display: inline-block;
    padding: 0 15px;
    color: #fff;
    background: #003586;
    border: none;
    text-align: center;
    height: 32px;
    font-weight: 700;
    line-height: 20px;
}

.form-inline-header.form-inline button:hover {
    background: #fff;
    color: #003586;
    text-decoration: none;
}

.form-inline-header.form-inline button:before {
    font-family: "Font Awesome 5 Free";
    content: '\f2f6';
    font-weight: 900;
    padding-right: 10px;
    font-size: var(--font-size-app);
}

.form-login {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: center;
}

.form-login .form-item {
    padding: 8px 0 0 0;
    display: flex;
}

.form-inline-header.form-inline button,
.form-inline-header .nav-item,
.form-login .forgot-password,
.form-inline-header-login .user,
.form-inline-header-login li a {
    font-size: 14px !important;
}

.form-login .form-item input {
    height: 28px;
    width: 190px;
}

.form-login .forgot-password {
    text-decoration: none;
    color: #fff;
    padding-top: 3px;
}

.form-login .forgot-password:hover {
    color: #E2F0FB;
    text-decoration: underline;
}

.form-login div label {
    min-width: 100px;
}

.tabs input:checked+.tab_item {
    background-color: var(--color-primary);
    color: #fff;
}

.tab_item {
    width: calc(100%/5);
    height: 50px;
    line-height: 50px;
    font-weight: 500;
    transform: rotate(0.03deg);
    text-align: center;
    color: #333333;
    background: #eee;
    display: block;
    float: left;
    border-right: 1px solid #fff;
    cursor: pointer;
}

input[name=tab_item] {
    display: none;
}

h3 {
    font-size: 30px;
    font-weight: bold;
    line-height: 44px;
    transform: rotate(0.03deg);
    color: #333333;
}

.bg_box {
    width: 100%;
    background: #f1f1f1;
    margin: 20px auto 30px;
    padding: 10px 20px 20px;
}

.tab_content {
    display: none;
    padding: 20px 30px 0;
    clear: both;
    overflow: hidden;
    border-top: 2px solid #010044;
    max-height: 500px;
}

.tabs p {
    color: #555;
    font-weight: 400;
    transform: rotate(0.03deg);
}

.flex_release .btn-pdf a:before {
    color: #fff;
    font-family: "Font Awesome 5 Free";
    content: '\f1c1';
    font-weight: 900;
    padding-right: 10px;
}

#v23:checked~#v23_content,
#v1:checked~#v1_content,
#v2:checked~#v2_content,
#v3:checked~#v3_content,
#v4:checked~#v4_content,
#v5:checked~#v5_content {
    display: block;
}


.br-sp {
    display: none;
}

.flex_topic {
    margin: 0 auto;
    padding: 50px 50px;
    display: flex;
    justify-content: space-between;
}

.flex_topic .ph img {
    height: 200px;
    margin-top: 10px;
}

.flex_topic img {
    height: 230px;
    margin-top: 10px;
}

.flex_topic p {
    color: #555;
    font-weight: 400;
    transform: rotate(0.03deg);
}

.flex_topic .msg h3 {
    color: #555;
    font-size: 24px;
    font-weight: Bold;
    margin-bottom: 20px;
    color: #333333;

}

.flex_topic .msg {
    width: 70%;
}

.indexContainer2 {
    width: 100%;
    margin: 0;
    background: #f1f1f1;
    margin-top: 10px;
}

.indexContainer {
    width: 100%;
    margin: 0;
    background: #ffffff;
}

.btn-pdf a {
    display: inline-block;
    width: 80px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    transform: rotate(0.03deg);
    background: #b30b00;
    padding: 1px 0;
    text-align: center;
    border-radius: 3px;
    margin-left: 20px;
}

.flex_release {
    width: 100%;
    margin: 5px auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

ul.disc {
    margin-left: 20px;
    margin-bottom: 5px;
}

ul.disc li {
    list-style-type: disc;
    font-weight: 400;
    transform: rotate(0.03deg);
}

.card-content {
    margin: 0 auto;
}

.title-form {
    display: flex;
    flex-direction: row;
    justify-content: space-between;

}

.directional .breadcrumb-item+.breadcrumb-item::before {
    color: #fff !important;
}

.table>tbody>tr>td,
.table>tbody>tr>th,
.table>tfoot>tr>td,
.table>tfoot>tr>th,
.table>thead>tr>td,
.table>thead>tr>th {
    border-right: 1px solid #999999;
    line-height: 1.45;
    border-top: 1px solid #999999;
}

table.dataTable thead>tr>th.sorting_asc,
table.dataTable thead>tr>th.sorting_desc,
table.dataTable thead>tr>th.sorting,
table.dataTable thead>tr>td.sorting_asc,
table.dataTable thead>tr>td.sorting_desc,
table.dataTable thead>tr>td.sorting,
.table-bordered>thead>tr>th {
    padding: 11px 23px 11px 10px;
    outline: none;
    color: #333333;
    /* background: #d9e2f3;
    background-color: #d9e2f3 !important; */
}

table.dataTable thead th,
table.dataTable thead td {
    border-bottom: 1px solid #999999;
}

table.dataTable thead th {
    font-size: 14px;
    margin: 13px 10px;
}

.table thead th,
.table thead td {
    border-bottom-width: 0;
}


.breadcrumb-item a:hover {
    color: var(--color-blue) !important;
}

.red {
    color: #f00 !important;
}

/* datatable */
.dt-search,
.dt-layout-cell.dt-start .dt-info {
    display: none;
}

.btn.btn-primary:active,
.btn.btn-primary:hover {
    box-shadow:
        0 14px 26px -12px rgba(0, 84, 166, 0.42),
        0 4px 23px 0px rgba(0, 84, 166, 0.12),
        0 8px 10px -5px rgba(0, 84, 166, 0.2);
}

.btn.btn-primary.focus,
.btn.btn-primary:hover {
    color: #fff;
    background-color: #0054A6;
    border-color: #0054A6;
}

.btn.btn-primary,
.modal-footer .btn.btn-primary.active:hover,
.btn.btn-primary:focus {
    color: #0054A6;
    border: 1px solid #0054A6;
    background-color: transparent;
}

.modal-header {
    background-color: #003586;
    color: #FFFFFF;
    font-size: var(--font-size-app-19);
    font-weight: 700;
    cursor: move;
    padding: 8px 15px;
}

.modal-dialog.modal-dialog-centered {
    max-width: 600px;
}

#reissue_password .modal-dialog.modal-dialog-centered {
    max-width: 900px;
}

.btn:not(:disabled):not(.disabled) {
    cursor: pointer;
    outline: none;
    /* width: 140px; */
    min-width: 140px;
}

.btn.btn-primary:hover,
.btn.btn-blue:hover,
.btn.btn-primary.active {
    color: #fff !important;
    background-color: #0054A6;
    border-color: #0054A6;
    box-shadow: 0 2px 2px 0 rgba(0, 84, 166, 0.14),
        0 3px 1px -2px rgba(0, 84, 166, 0.2),
        0 1px 5px 0 rgba(0, 84, 166, 0.12);
}

.btn,
.btn.btn-default,
.modal-footer .btn.btn-default.active:hover {
    background-color: transparent;
}

.btn,
.btn.btn-default:hover,
.btn.btn-default.active {
    border-color: #DDDDDD;
    border: 1px solid #999999;
    box-shadow: 0 2px 2px 0 rgba(153, 153, 153, 0.14),
        0 3px 1px -2px rgba(153, 153, 153, 0.2),
        0 1px 5px 0 rgba(153, 153, 153, 0.12);
}

.btn {
    padding: 8px 30px;
    border-radius: 5px 5px 5px 5px;
    font-size: var(--font-size-app) !important;
}

.btn-sm {
    padding: 5px 15px;
    font-size: 14px;
}

.message-confirm {
    width: 100%;
    background: #F9D6D5;
    border: 3px solid #F7C2C1;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 35px;
    color: #881F1C;
}

.form-product-id input {
    height: 35px;
    width: 220px;
}

.product-id-confirm {
    background-color: #D7F3E3;
    color: #227444;
    border: 1px solid #C3ECD5;
    height: 50px;
    display: flex;
    justify-content: center;
}

.wd-150 {
    width: 150px !important;
}

.mb-150 {
    margin-bottom: 150px !important;
}

.field-icon {
    background: none;
    border: none;
    cursor: pointer;
    display: block;
    position: absolute;
    right: 10px;
    top: 12px;
    z-index: 99;
}

.input-group {
    padding-right: 0 !important;
}

.change-password {
    padding: 15px;
}

.change-password .noti {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: space-around;
    color: red;
    padding-bottom: 15px;
}

.change-password .footer {
    display: flex !important;
    padding-bottom: 30px;
}

.change-password-page .container {
    padding-top: 50px;
}

.change-password-page a {
    text-decoration: none;
    color: #333333;
}

.message-info {
    border: 1px solid #BBBBBB;
    background-color: #E2F0FB;
    margin-left: -5px !important;
    padding: 2px;
}

.message-p {
    color: #333333;
}

.noti p {
    margin-bottom: 5px !important;
}

.change-password h4 {
    margin-bottom: 30px;
}

.img_tool {
    width: 20px;
}

.btn_submit {
    cursor: pointer;
}

.img_tool {
    width: 20px;
}


.button span {
    line-height: 24px;
    vertical-align: middle;
}

.fileinput-button {
    position: relative;
    overflow: hidden;
    display: inline-block;
    cursor: pointer;
    width: 100%;
    border: 2px dashed #dddddd;
    border-radius: 3px;
    color: #333;
    font-weight: normal;
    height: 100% !important;
    text-align: center;
    padding: 15px;
    background: #efefef;
}

.switch-browser {
    font-size: 14px !important;
}

.title-search {
    padding-left: 50px;
}

label {
    font-size: var(--font-size-app) !important;
    font-weight: bold !important;
}

.tabs {
    width: 100%;
    display: inline-block;
}

.tabs h3 {
    font-size: var(--font-size-app-19);
    font-weight: bold;
    line-height: 30px;
    color: #333333;
}

.tabs h4 {
    font-size: var(--font-size-app-17);
    line-height: 30px;
    color: #333333;
}

.fw-bold-none {
    font-weight: 100 !important;
}

.text-center {
    text-align: center !important;
}

.btn.btn-width-default {
    min-width: 150px;
}

.form-check-input,
.form-check-input:not(:checked) {
    border-color: #333333;
}

.title_box h3 {
    font-size: 30px;
    font-weight: bold;
    letter-spacing: .05em;
    padding-bottom: 5px;
    border-bottom: 1px solid #ccc;
}

.title-content h5 {
    font-size: var(--font-size-app-19);
    font-weight: 500;
    line-height: 30px;
    transform: rotate(0.03deg);
    color: #333;
    padding: 5px 0;
}

.maxw-1200 {
    max-width: 1200px !important;
}

.bd-callout-danger {
    --bd-callout-color: var(--text-error);
    --bd-callout-bg: var(--bg-error);
    --bd-callout-border: var(--bg-frame-line-error);
}

.bd-callout {
    --bs-link-color-rgb: var(--bd-callout-link);
    --bs-code-color: var(--text-error);
    padding: 1.25rem;
    margin-top: 1.25rem;
    margin-bottom: 1.25rem;
    color: var(--bd-callout-color, inherit);
    background-color: var(--bd-callout-bg, var(--bs-gray-100));
    border-left: 0.25rem solid var(--bd-callout-border, var(--bs-gray-300))
}

.bd-callout-line {
    line-height: 16px;
}

.modal-content .modal-header h5,
.modal-content .modal-body h4 {
    font-size: var(--font-size-app);
    font-weight: bold;
}

.modal-dialog .modal-header {
    align-items: center;
    background: #003586;
    color: #fff;
    cursor: move;
    padding: 8px 15px;
}

.img_tool {
    font-size: 18px;
    color: var(--color-blue);
}

.img_tool_disabled {
    cursor: unset;
    width: 20px;
    font-size: 18px;
    color: var(--color-secondary);
}

#alert-login .modal-dialog .modal-header {
    align-items: center;
    background: #F9D6D5;
    color: #D73038;
    padding: 8px 15px;
}

#alert-login .modal-dialog {
    max-width: 850px;
}
#alert-modal .modal-dialog .message-error {
    align-items: center;
    background: #F9D6D5;
    color: #D73038;
    padding: 8px 15px;
}

#alert-modal .modal-dialog .message-success {
    align-items: center;
    background: #d4edda;
    color: #155724;
    padding: 8px 15px;
}

.link-text-footer {
    text-decoration: unset;
    color: #fff;
}

.link-text-footer:hover {
    text-decoration: underline;
}

#alert-login .modal-dialog  p {
    color: #D73038;
}

#two-factor-login input {
    border: var(--bs-border-width) solid #003586 !important;
}

.link-text-footer {
    text-decoration: unset;
    color: #fff;
}

.link-text-footer:hover {
    text-decoration: underline;
}

.logo-header img {
    width: 115px;
}

.mdi-spin {
    -webkit-animation: fa-spin 2s infinite linear;
    animation: fa-spin 2s infinite linear;
  }
.btn.mdi:not(:empty)::before {
    margin: 0 3px 0 -3px;
}
.mdi-spin:before {
    -webkit-animation: mdi-spin 2s infinite linear;
    animation: mdi-spin 2s infinite linear;
}

.mdi-loading:before {
    content: "\F771";
}
.mdi:before, .mdi-set {
    display: inline-block;
    font: normal normal normal 24px / 1 "Material Design Icons";
    font-size: inherit;
    text-rendering: auto;
    line-height: inherit;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
::-ms-reveal {
    display: none;
}

.alert {
    font-size: 14px;
    padding: 10px 15px;
}

.alert-dismissible .btn-close {
    padding: 0.75rem 1rem;
}

.product-id-w {
    max-width: 200px;
    overflow-wrap: break-word;
}

.head-user-info {
    /* ellipsis not working with font Yu Gothic Medium */
    /* text-overflow: ellipsis; */ 
    white-space: pre-line;
    max-width: 158px;
    overflow: hidden;
}

.has-overflow:after {
    content: "..."
}

.btn:disabled, .btn.disabled, fieldset:disabled .btn {
    cursor: not-allowed !important;
}

.modal-dialog .modal-footer {
    justify-content: center !important;
}

.font-weight-normal {
    font-weight: normal !important
}