html {
    scroll-behavior: smooth;
    margin: 0 auto;
}

.pagination-line {
    display: inline-flex;
    align-items: center;
    padding-left: 25px !important;
}

input {
    autocomplete: off;
}

.pagination-line .form-control {
    border-radius: 30px !important;
    border-top-right-radius: 30 !important;
    border-bottom-right-radius: 30 !important;
}

.list-group-item.active {
    color: #000 !important;
}

.inline-item {
    position: absolute;
    right: 1%;
    z-index: 2;
    top: -32.5px;
}

.common-background-color {
    background-color: #ffffff;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.input-group-btn {
    position: absolute;
    right: 0;
    top: 10%;
}

.search-input #hidden_keyword {
    border-radius: 30px;
}

#loading {
    height: 100%;
    width: 100%;
    position: fixed;
    z-index: 9999999999999999999999999999999999;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.34);
    overflow-x: hidden;
    transition: 0.5s;
    display: block;
    overflow: hidden;
}

.lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
    top: 49%;
    left: 50%;
}

.lds-ellipsis div {
    position: absolute;
    top: 33px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #fff;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

.lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
}

.lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
}

.lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
}

@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(0);
    }
}

@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(24px, 0);
    }
}

@media only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px) {
    .export {
        float: left !important;
    }

    .import {
        float: left !important;
    }
}

@media (max-width: 760px) {
    .range-symbol {
        display: none;
    }
}

.range-symbol {
    text-align: center;
}

.row-no-data {
    text-align: center;
}

.icon-title {
    margin-right: 10px;
}

.custom-area {
    margin-bottom: 15px;
    background: transparent;
}

.justify-center {
    justify-content: space-between;
}

.sorting-col {
    cursor: pointer;
}

#logo-label {
    margin-bottom: unset !important;
}

.upload-btn-wrapper {
    position: relative;
    overflow: hidden;
    display: inline-block;
    margin-left: 10px;
}

.upload-btn-wrapper .btn {
    border: 2px solid gray;
    color: gray;
    background-color: white;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: bold;
}

.upload-btn-wrapper input[type="file"] {
    font-size: 100px;
    position: absolute;
    left: 0;
    top: 0;
    opacity: 0;
}

/* #appointment_time:before {
    content: "Start Time :"
}

#appointment_time_end:before {
    content: "End Time :"
}

#appointment_time_edit:before {
    content: "Start Time  :"
}

#appointment_time_end_edit:before {
    content: "End Time :"
} */

.sidebar-custom {
    background-color: #f5f5f5;
}

.icon-sidebar {
    color: #b60004;
}

.content-wrapper {
    background-color: #ffffff;
}

.nav-pills .nav-item.active .nav-link,
.nav-pills .nav-item .nav-link:active,
.nav-pills .nav-item .nav-link:focus,
.nav-pills .nav-item:hover .nav-link {
    color: #000000 !important;
}

.nav-pills .nav-item .nav-link.active {
    background-color: #b60004 !important;
    color: #ffffff !important;
}

.nav-pills .nav-link.active .nav-icon {
    color: #ffffff !important;
}

.navbar-top {
    border-bottom: 1px solid #dee2e6;
    text-align: center;
}

.card-footer {
    padding: 0.75rem 1.25rem;
    background-color: rgb(255 255 255);
    border: 1px solid rgba(0, 0, 0, 0.125);
}

.navbar-light.sidebar-custom {
    background-color: #ffffff;
}

aside.main-sidebar.sidebar-light-primary.sidebar-custom.elevation-2 {
    background-color: #fdfdfd;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgb(251 251 251 / 35%);
}

.form-control:disabled,
.form-control[readonly] {
    background-color: #a0919114;
    opacity: 1;
}

.ui-datepicker {
    display: none;
}

.input-group-text {
    background-color: #fbfbfb;
}

.table:not(.table-dark) {
    color: #695c5c;
}

[class*="sidebar-light-"] .sidebar a {
    color: #463233;
}

.nav-pills .nav-link:not(.active):hover {
    color: #b60004;
}

[class*="sidebar-light-"] .nav-sidebar>.nav-item.menu-open>.nav-link,
[class*="sidebar-light-"] .nav-sidebar>.nav-item:hover>.nav-link {
    background-color: rgb(210 172 172 / 10%);
    color: #212529;
}

.m-0 {
    margin-bottom: 0px;
}

.m-r-10 {
    margin-right: 10px;
}

.card-footer-custom {
    margin-top: 10px;
    margin-bottom: 10px;
}

.no-padding {
    padding: 0;
}

.no-padding-lr {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.hoverlink .hovercontent {
    display: none;
}

.hoverlink {
    cursor: pointer;
}

.hoverlink:hover .hovercontent {
    display: block;
    position: absolute;
    background: #b60004;
    margin-left: -8%;
    padding: 1px;
    margin-top: 0%;
}

/* .hovercontent::after {
    content: '';
  border: 8px solid transparent;
  border-top-color: #B60004;
  border-bottom: 0;

  position: absolute;
  bottom: -8px;
  left: 55%;
  margin-left: -20px;
} */

.hoverimage {
    max-width: 350px;
    max-height: 200px;
    /* height: 500px; */
}

.nav-sidebar>.nav-item .nav-icon.fa,
.nav-sidebar>.nav-item .nav-icon.fab,
.nav-sidebar>.nav-item .nav-icon.far,
.nav-sidebar>.nav-item .nav-icon.fas,
.nav-sidebar>.nav-item .nav-icon.glyphicon,
.nav-sidebar>.nav-item .nav-icon.ion {
    font-size: 1.3rem;
}

.text-color-red {
    color: #b60004;
}

.logo-item {
    padding: 0;
    width: 240px;
}

.job-detail h1 {
    font-size: 1.6rem;
}

.job-detail h3 b {
    font-size: 1rem;
}

.btn-success-custom {
    color: #dc3545;
    background-color: #fdfdfd;
    border-color: #dc3545;
}

.btn-info-custom {
    color: #17a2b8;
    background-color: #fff;
    border-color: #17a2b8;
    box-shadow: none;
}

.content-header h1 {
    font-size: 1.8rem;
    color: black;
}

.grey {
    color: #000000a1;
}

.no-margin {
    margin: 0;
}

.fw-100 {
    font-weight: 100;
}

.m-bt-10 {
    margin-bottom: 10px;
}

.w-max-content {
    width: max-content;
}

.wrap {
    white-space: pre-wrap;
    /* CSS3 */
    word-wrap: break-word;
    /* IE */
}

.no-wrap {
    white-space: nowrap;
    word-wrap: unset;
}

.custom-td-header {
    padding: 0.9rem !important;
}

.custom-td {
    padding: 0.8rem !important;
    vertical-align: middle !important;
}

.custom-action-btn {
    height: 31px;
}

.detail-thumbs {
    display: -webkit-inline-box;
}

.thumbnails .detail-thumbs img {
    max-width: 300px;
    padding: 0 2.5%;
}

.filter-option {
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    padding-left: 0;
    scroll-padding-right: 0;
}

#expired-job {
    display: none;
    font-style: italic;
}

td>.dt-span {
    white-space: -moz-pre-wrap !important;
    white-space: pre-wrap !important;
    width: 90% !important;
    padding: 0.25rem 0rem !important;
}

.mw-50 {
    min-width: 50px !important;
}

.mw-55 {
    min-width: 55px !important;
}

.mw-70 {
    min-width: 70px !important;
}

.pd-lr-2 {
    padding-left: 3px !important;
    padding-right: 3px !important;
}

@media only screen and (max-width: 1599px) {
    .navbar-brand-custom {
        width: 215px;
    }
}

.td-list-table {
    white-space: inherit;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 300px;
    color: #007bff;
}

.td-detail-popup {
    word-break: break-all;
}

a.disabled {
    pointer-events: none;
    cursor: default;
}

.form-control-disabled {
    background-color: #a0919114;
    opacity: 1;
    cursor: not-allowed;
}

button.edit-branch-btn {
    border-color: transparent;
}

button.btn.btn-sm.btn-outline-info.edit-branch-btn:hover {
    background-color: transparent;
    border-color: transparent;
    color: #17a2b8;
}

.no-border {
    border-color: transparent;
}

.m-top-30 {
    margin-top: 30px;
}

.list-group-item.active {
    background-color: #f3f3f3;
    border-color: transparent;
}

/* .list-group-item {
    border: 0px solid rgba(0,0,0,.125);
} */

.sys-notify {
    right: 10%;
    position: relative;
    -webkit-box-shadow: 0px 0px 13px 3px rgba(182, 0, 4, 1);
    -moz-box-shadow: 0px 0px 13px 3px rgba(182, 0, 4, 1);
    box-shadow: 0px 0px 13px 3px rgba(182, 0, 4, 1);
}

.sys-notify.toast-header,
.sys-notify.toast-body {
    word-break: break-word;
}

.sys-notify:last-child {
    margin-bottom: 10%;
}

.sys-notify:not(:last-child) {
    margin-bottom: 1rem !important;
}

.addReadMore.showlesscontent .SecSec,
.addReadMore.showlesscontent .readLess {
    display: none;
}

.addReadMore.showmorecontent .readMore {
    display: none;
}

.addReadMore .readMore,
.addReadMore .readLess {
    font-weight: normal;
    margin-left: 2px;
    color: #b60004;
    cursor: pointer;
}

.addReadMoreWrapTxt.showmorecontent .SecSec,
.addReadMoreWrapTxt.showmorecontent .readLess {
    display: block;
}

.nav-sidebar .nav-link>.right,
.nav-sidebar .nav-link>p>.right {
    right: 2.5% !important;
}

.toast.bg-maroon .toast-header {
    background: #b60004 !important;
}

.toast.bg-maroon {
    background: #ffffff !important;
    color: black !important;
    border: solid 1px #930003;
}

.txta-no-resize {
    resize: none;
}

.modal-header {
    background-color: #9f0a0a !important;
    color: white !important;
    padding: 0.7rem !important;
}

.modal-header .close {
    font-size: xx-large !important;
    color: white !important;
    opacity: inherit !important;
}

.ngjdvhf {
    text-align: center;
}

.datepicker-div {
    position: absolute;
    z-index: 1;
    display: none;
}

.on-mobile {
    display: none;
}

.on-desktop {
    display: initial;
}

#create-job-form label {
    font-size: 15px;
}

#edit-job-form label {
    font-size: 15px;
}

.language {
    /* border: 1px solid #f3f2f2; */
    padding: 0px 5px;
    border-radius: 6px;
    margin-top: 4px;
}

.text-center-left-responsive {
    text-align: center;
}

@media only screen and (max-width: 1024px) {
    .text-center-left-responsive {
        text-align: left !important;
    }
}

@media only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px) {
    td.td-list-table:before {
        top: 0px;
        left: 0px;
    }

    td.td-list-table {
        max-width: unset;
    }
}

@media only screen and (max-width: 767.9px) {

    .salary-date-line {
        font-size: small;
    }

    .sys-notify {
        /* left: 1% !important;  */
        position: initial;
    }

    #toastsContainerBottomRight {
        padding-left: 10%;
        padding-right: 10%;
    }

    .td-list-table {
        overflow: unset;
    }

    .content-custom {
        margin-left: unset;
    }

    .ngjdvhf {
        text-align: left;
    }

    .on-mobile {
        display: initial !important;
    }

    .on-mobile .btn-remove-content {
        margin-top: 5%;
    }

    .on-desktop {
        display: none !important;
    }

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

@media only screen and (max-width: 375px) {
    #toastsContainerBottomRight {
        padding-left: 3% !important;
        padding-right: 3% !important;
    }

    .salary-date-line {
        font-size: smaller !important;
    }
}

@media only screen and (max-width: 320px) {
    .salary-date-line {
        font-size: x-small !important;
    }
}

.show-white-space {
    white-space: pre;
}

.form-control.is-invalid,
.was-validated .form-control:invalid {
    background-position: right calc(0.8em + 0.1875rem) center !important;
}

/* Customize timepicker */

.bootstrap-datetimepicker-widget.dropdown-menu {
    width: auto;
}

.timepicker-picker table td a span,
.timepicker-picker table td,
.timepicker-picker table td span {
    height: 20px !important;
    line-height: 20px !important;
    vertical-align: middle;
    width: 30px !important;
    padding: 0px !important;
    font-size: small;
}

/* Customize select multiple */
.bootstrap-select>.dropdown-toggle {
    background: #fff;
}

.noti-msg-text {
    color: #cc0000;
    padding-left: 10px;
}

.content p {
    word-break: break-word;
}

.checkbox-custom {
    position: absolute;
    height: 18px;
    width: 18px;
    margin-top: 10px;
}

.checkbox-label-custom {
    padding-left: 25px;
    margin-top: 9px;
    font-weight: 500 !important;
}

h5.panel-title a {
    color: #b60004;
    width: 100%;
    display: block;
}

h5.panel-title {
    padding: 10px 10px;
    background: #ffffff;
    border: 1px solid #f2eaea;
}

.m-left {
    margin-left: 10px;
}

/* customize toast */
.toast {
    min-height: 100px !important;
    width: 450px !important;
}

.toast-message {
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    font-size: larger;
    text-align: center;
}

.alert-warning {
    color: #1f2d3d;
    background: #ffc10700;
    border-color: #edb100;
}

.alert-warning a {
    color: #edb100;
}

video::cue {
    font-size: 20px;
    color: #fff !important;
    background-color: rgba(0, 0, 0, 0.4) !important;
}

/* edit navbar */
@media only screen and (max-width: 320px) {
    .navbar-brand-custom {
        width: 150px;
    }
}

.dropdown-toggle::after {
    display: none;
}

.navbar {
    padding: 0;
}

.dropdown {
    padding: 0;
}

.dropdown-menu {
    /* box-shadow: $box-shadow-lg; */
    animation-name: DropDownSlide;
    animation-duration: 0.3s;
    animation-fill-mode: both;
    margin: 0;
    position: absolute;
    z-index: 1000;
}

.dropdown-menu .show {
    top: 100% !important;
}

.navbar-custom {
    padding-left: 0.5rem;
}

.dropdown {
    padding: 0.75rem 0 0.75rem 0;
}

@keyframes DropDownSlide {
    100% {
        transform: translateY(0);
    }

    0% {
        transform: translateY(10px);
    }
}

@media (min-width: 320px) {
    .dropdown {
        padding: 0.75rem;
    }

    .navbar-custom {
        padding-left: 0.5rem;
    }
}

.icon-italic {
    transform: skewX(-10deg);
}

table.panel-body {
    width: 100%;
    padding: 0.5rem 0;
    border-collapse: separate;
    border-spacing: 0 0.5rem;
    td {
        vertical-align: top;
    }
    /* Ô đầu tiên (ô có thông tin index) sẽ có width cố định */
    td:nth-child(1) {
        width: 1.5rem;
    }
}

/* end edit navbar */