﻿/************* SETUP FONT - START *************/
/* be-vietnam-pro-200 - vietnamese_latin */
@font-face {
    font-family: 'Be Vietnam Pro';
    font-style: normal;
    font-weight: 200;
    font-display: block;
    src: local(''), url('../fonts/be-vietnam-pro-v10-vietnamese_latin-200.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
    url('../fonts/be-vietnam-pro-v10-vietnamese_latin-200.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* be-vietnam-pro-200italic - vietnamese_latin */
@font-face {
    font-family: 'Be Vietnam Pro';
    font-style: italic;
    font-weight: 200;
    font-display: block;
    src: local(''), url('../fonts/be-vietnam-pro-v10-vietnamese_latin-200italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
    url('../fonts/be-vietnam-pro-v10-vietnamese_latin-200italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* be-vietnam-pro-300italic - vietnamese_latin */
@font-face {
    font-family: 'Be Vietnam Pro';
    font-style: italic;
    font-weight: 300;
    font-display: block;
    src: local(''), url('../fonts/be-vietnam-pro-v10-vietnamese_latin-300italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
    url('../fonts/be-vietnam-pro-v10-vietnamese_latin-300italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* be-vietnam-pro-300 - vietnamese_latin */
@font-face {
    font-family: 'Be Vietnam Pro';
    font-style: normal;
    font-weight: 300;
    font-display: block;
    src: local(''), url('../fonts/be-vietnam-pro-v10-vietnamese_latin-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
    url('../fonts/be-vietnam-pro-v10-vietnamese_latin-300.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* be-vietnam-pro-regular - vietnamese_latin */
@font-face {
    font-family: 'Be Vietnam Pro';
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: local(''), url('../fonts/be-vietnam-pro-v10-vietnamese_latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
    url('../fonts/be-vietnam-pro-v10-vietnamese_latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* be-vietnam-pro-italic - vietnamese_latin */
@font-face {
    font-family: 'Be Vietnam Pro';
    font-style: italic;
    font-weight: 400;
    font-display: block;
    src: local(''), url('../fonts/be-vietnam-pro-v10-vietnamese_latin-italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
    url('../fonts/be-vietnam-pro-v10-vietnamese_latin-italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* be-vietnam-pro-500 - vietnamese_latin */
@font-face {
    font-family: 'Be Vietnam Pro';
    font-style: normal;
    font-weight: 500;
    font-display: block;
    src: local(''), url('../fonts/be-vietnam-pro-v10-vietnamese_latin-500.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
    url('../fonts/be-vietnam-pro-v10-vietnamese_latin-500.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* be-vietnam-pro-500italic - vietnamese_latin */
@font-face {
    font-family: 'Be Vietnam Pro';
    font-style: italic;
    font-weight: 500;
    font-display: block;
    src: local(''), url('../fonts/be-vietnam-pro-v10-vietnamese_latin-500italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
    url('../fonts/be-vietnam-pro-v10-vietnamese_latin-500italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* be-vietnam-pro-600 - vietnamese_latin */
@font-face {
    font-family: 'Be Vietnam Pro';
    font-style: normal;
    font-weight: 600;
    font-display: block;
    src: local(''), url('../fonts/be-vietnam-pro-v10-vietnamese_latin-600.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
    url('../fonts/be-vietnam-pro-v10-vietnamese_latin-600.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* be-vietnam-pro-600italic - vietnamese_latin */
@font-face {
    font-family: 'Be Vietnam Pro';
    font-style: italic;
    font-weight: 600;
    font-display: block;
    src: local(''), url('../fonts/be-vietnam-pro-v10-vietnamese_latin-600italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
    url('../fonts/be-vietnam-pro-v10-vietnamese_latin-600italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* be-vietnam-pro-800 - vietnamese_latin */
@font-face {
    font-family: 'Be Vietnam Pro';
    font-style: normal;
    font-weight: 800;
    font-display: block;
    src: local(''), url('../fonts/be-vietnam-pro-v10-vietnamese_latin-800.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
    url('../fonts/be-vietnam-pro-v10-vietnamese_latin-800.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* be-vietnam-pro-800italic - vietnamese_latin */
@font-face {
    font-family: 'Be Vietnam Pro';
    font-style: italic;
    font-weight: 800;
    font-display: block;
    src: local(''), url('../fonts/be-vietnam-pro-v10-vietnamese_latin-800italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
    url('../fonts/be-vietnam-pro-v10-vietnamese_latin-800italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* be-vietnam-pro-900 - vietnamese_latin */
@font-face {
    font-family: 'Be Vietnam Pro';
    font-style: normal;
    font-weight: 900;
    font-display: block;
    src: local(''), url('../fonts/be-vietnam-pro-v10-vietnamese_latin-900.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
    url('../fonts/be-vietnam-pro-v10-vietnamese_latin-900.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}
/* be-vietnam-pro-900italic - vietnamese_latin */
@font-face {
    font-family: 'Be Vietnam Pro';
    font-style: italic;
    font-weight: 900;
    font-display: block;
    src: local(''), url('../fonts/be-vietnam-pro-v10-vietnamese_latin-900italic.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
    url('../fonts/be-vietnam-pro-v10-vietnamese_latin-900italic.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}



/************* SETUP FONT - END *************/




/************* GENERAL - START *************/
body {
    font-family: Be Vietnam Pro;
    font-size: 14px;
    background-color: #f6f7fa;
}

.myadmin-dd-empty .dd-list .dd-handle {
    height: 100%;
    cursor: grab;
}

.sortable-handle {
    height: 100%;
    cursor: grab;
}

[class*='-button'] {
    cursor: pointer;
}

.myadmin-dd-empty .dd-list .dd-handle::before {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    top: 0;
    right: 0;
    height: 100%;
}

[type="checkbox"].checkbox-fix + label {
    height: 18px;
}

.sortable-placeholder {
    height: 3rem;
    width: 100%;
    background-color: lightyellow;
    border: 2px dashed #c9b900;
}

.hiddenfile {
    display: none;
}

.upload-image {
    height: 10rem;
    width: 10rem;
    object-fit: cover;
}

.select2 {
    width: 100% !important;
}


hr.hr-text {
    position: relative;
    border: none;
    height: 1px;
    background: #999;
}

    hr.hr-text::before {
        content: attr(data-content);
        display: inline-block;
        background: #fff;
        font-size: 0.85rem;
        border-radius: 30rem;
        padding: 0.2rem 2rem;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }


#toast-container > .toast-success {
    background-color: #10b981 !important;
    color: #ffffff !important;
    border-left-color: #059669 !important;
}

#toast-container > .toast-error {
    background-color: #ef4444 !important;
    color: #ffffff !important;
    border-left-color: #dc2626 !important;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border: solid #e6edef 1px;
}

.select2-container--default .select2-selection--multiple {
    border: 1px solid #e6edef;
}

::-webkit-input-placeholder {
    font-style: italic;
}

:-moz-placeholder {
    font-style: italic;
}

::-moz-placeholder {
    font-style: italic;
}

:-ms-input-placeholder {
    font-style: italic;
}

/*#toast-container > .toast-warning {
    background-color: #e2c636;
    color: white;

/*.note-editor .dropdown-toggle::after {
    all: unset
}

.note-editor .note-dropdown-menu {
    box-sizing: content-box
}

.note-editor .note-modal-footer {
    box-sizing: content-box
}*/
.note-btn.dropdown-toggle:after {
    content: none;
}

.page-wrapper.compact-wrapper .page-body-wrapper header.main-nav {
    top: 74px;
}

.bootstrap-tagsinput {
    margin: 0;
    width: 100%;
    padding: 10px;
    font-size: 1rem;
    line-height: 1.25;
    transition: border-color 0.15s ease-in-out;
}

.label-info {
    display: inline-block;
    background-color: #394a7d;
    padding: 10px;
    border-radius: 0.25rem;
    margin-bottom: 0.4em;
}

/*input {
    margin-bottom: 0.5em;
}
*/
.bootstrap-tagsinput .tag [data-role="remove"]:after {
    content: '\00d7';
}


.page-wrapper.compact-wrapper .page-body-wrapper header.main-nav {
    top: 60px;
}

.page-main-header {
    height: 60px;
}

.main-header-right > div {
    height: 60px;
}

.page-main-header .left-menu-header {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

.page-main-header .nav-right {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}

    .page-main-header .nav-right .nav-menus {
        height: 60px;
    }

.page-main-header .main-header-right .left-menu-header {
    padding: 24px 24px;
}

.dropdown-item:hover, .dropdown-item:focus {
    background-color: rgb(81 107 170 / 0.10);
}

.hover-bg-white:hover {
    background-color: #FFF !important;
}

.hover-bg-light:hover {
    background-color: #ddeaf7 !important;
}

.modal-dialog {
    overflow-y: initial !important
}

.modal-body {
    max-height: 74vh;
    overflow-y: auto;
    overflow-x: hidden;
}

.table-sticky {
    overflow: auto;
    max-height: 69vh;
}

    .table-sticky thead th {
        position: sticky;
        top: 0;
        z-index: 1;
    }

    .table-sticky th {
        background: #ffffff;
    }

.text-a {
    color: #394a7d
}

.select2-container .select2-selection--single {
    height: auto !important;
    min-height: 38px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    /*height: 22px;*/
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 25px;
}


.selection .select2-selection {
    font-family: 'Be Vietnam Pro';
}

div.dataTables_wrapper {
    font-family: 'Be Vietnam Pro';
}

.modal-open {
    overflow: hidden;
}

.page-wrapper.compact-wrapper .page-body-wrapper .page-body {
    padding-top: 0px;
}

.page-wrapper .page-body-wrapper .page-body {
    min-height: calc(95vh - 73px);
    margin-top: 76px;
}

.footer {
    position: fixed;
    width: calc(100% - 260px);
}

.page-wrapper.compact-wrapper .page-body-wrapper header.main-nav.close_icon ~ footer {
    margin-left: 0px;
    width: 100%;
}

.page-wrapper.compact-wrapper .page-body-wrapper header.main-nav.close_icon ~ .page-body .bottom-action-card {
    width: calc(100% - 2.5rem);
    left: 1.25rem;
}

.card.has-bottom-action-card {
    min-height: 84vh;
    margin-bottom: 5rem;
}
/*.bottom-action-card {
    position: fixed;
    bottom: 0.25rem;
    width: calc(100% - 290px - 2.5rem);
    transition-duration: 500ms;
}*/
.bottom-action-card {
    position: fixed;
    bottom: 0.25rem;
    left: calc(290px + 1.25rem);
    width: calc(100% - 290px - 2.5rem);
    transition-duration: 500ms;
}

    .bottom-action-card .card-body {
        padding: 0.5rem 2rem;
    }

.select2-container--default .select2-selection--multiple .select2-selection__rendered {
    margin-top: 0.25rem;
}
.select2-selection__choice {
    margin: 0.25rem;
}

    .select2-selection__choice div {
        display: flex;
    }
.select2-search__field{
    height: 100%;
    margin-bottom: 0px;
}

.modal-open {
    padding-right: 0 !important;
    overflow: hidden;
}
.tempus-dominus-widget .toolbar {
    padding: 0;
    background-color: transparent;
    display: grid;
    color: inherit;
    border-radius: 0;
    margin-bottom: 0;
    margin-right: 0;
}

.tempus-dominus-widget .sec,
.tempus-dominus-widget .min,
.tempus-dominus-widget .hour {
    position: inherit;
    top: 0;
    left: 0;
    margin-top: 0;
    margin-left: 0;
}

.switch-md .switch {
    width: 40px;
    height: 24px;
    margin-top: 10px;
    margin-bottom: 0px;
}

.switch-md .switch .switch-state:before {
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 2px;
}

.switch-md input:checked+.switch-state:before {
    left: -8px;
}

.switch-state {
    -webkit-transition: .2s;
    transition: .2s;
}

.switch-state:before {
    -webkit-transition: .2s;
    transition: .2s;
}
/************* OTHER - END *************/

body {
    font-size: 12px !important;
}

.action-table > i{
    background: transparent;
    transition: all 0.25s ease;
    
}

.action-table i::before{
    background:transparent;
}

.action-table > i:hover{
    /*box-shadow: 5px 6px 6px 2px #e9ecef;*/
    transform: scale(1.6);
}

.footer {
    z-index: 1030 !important;
}


#toast-container {
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    z-index: 999999 !important;
}


#toast-container > div {
    position: relative !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15) !important;
    padding: 16px 20px 16px 50px !important;
    margin-bottom: 12px !important;
    border: none !important;
    font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    min-width: 320px !important;
    max-width: 400px !important;
    border-left: 4px solid !important;
    opacity: 1 !important;
}


#toast-container > div,
#toast-container > .toast-success,
#toast-container > .toast-error,
#toast-container > .toast-warning,
#toast-container > .toast-info {
    opacity: 1 !important;
    filter: none !important;
}


#toast-container > .toast-success {
    background-color: #10b981 !important;
    color: #ffffff !important;
    border-left-color: #059669 !important;
}

#toast-container > .toast-success:before {
    /* content: '✓' !important; */
    position: absolute !important;
    left: 18px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 16px !important;
    font-weight: bold !important;
    color: #ffffff !important;
    /* background: rgba(255, 255, 255, 0.3) !important;
    width: 22px !important;
    height: 22px !important;
    border-radius: 50% !important; */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: system-ui !important;
}


#toast-container > .toast-error {
    background-color: #ef4444 !important;
    color: #ffffff !important;
    border-left-color: #dc2626 !important;
}

#toast-container > .toast-error:before {
    /* content: '✕' !important; */
    position: absolute !important;
    left: 18px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 14px !important;
    font-weight: bold !important;
    color: #ffffff !important;
    /* background: rgba(255, 255, 255, 0.3) !important;
    width: 22px !important;
    height: 22px !important;
    border-radius: 50% !important; */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: system-ui !important;
}


#toast-container > .toast-warning {
    background-color: #f59e0b !important;
    color: #ffffff !important;
    border-left-color: #d97706 !important;
}

#toast-container > .toast-warning:before {
    /* content: '!' !important; */
    position: absolute !important;
    left: 18px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 16px !important;
    font-weight: bold !important;
    color: #ffffff !important;
    /* background: rgba(255, 255, 255, 0.3) !important;
    width: 22px !important;
    height: 22px !important;
    border-radius: 50% !important; */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: system-ui !important;
}


#toast-container > .toast-info {
    background-color: #3b82f6 !important;
    color: #ffffff !important;
    border-left-color: #2563eb !important;
}

#toast-container > .toast-info:before {
    content: 'i' !important;
    position: absolute !important;
    left: 18px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 14px !important;
    font-weight: bold !important;
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.3) !important;
    width: 22px !important;
    height: 22px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: system-ui !important;
    font-style: italic !important;
}


#toast-container > div .toast-close-button {
    position: absolute !important;
    top: 8px !important;
    right: 12px !important;
    background: rgba(255, 255, 255, 0.3) !important;
    border: none !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: bold !important;
    width: 20px !important;
    height: 20px !important;
    border-radius: 4px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    opacity: 1 !important;
}

#toast-container > div .toast-close-button:hover {
    background: rgba(255, 255, 255, 0.5) !important;
    opacity: 1 !important;
}


#toast-container > div .toast-title {
    font-weight: 600 !important;
    margin-bottom: 4px !important;
    font-size: 14px !important;
    color: #ffffff !important;
    opacity: 1 !important;
}


#toast-container > div .toast-message {
    font-weight: 400 !important;
    color: #ffffff !important;
    word-wrap: break-word !important;
    opacity: 1 !important;
}


#toast-container > div .toast-progress {
    position: absolute !important;
    left: 0 !important;
    bottom: 0 !important;
    height: 3px !important;
    background: rgba(255, 255, 255, 0.4) !important;
    border-radius: 0 0 8px 8px !important;
    opacity: 1 !important;
}


@media (max-width: 480px) {
    #toast-container {
        left: 10px !important;
        right: 10px !important;
        top: 10px !important;
    }
    
    #toast-container > div {
        min-width: auto !important;
        max-width: none !important;
        margin-bottom: 8px !important;
    }
}

.page-wrapper.compact-wrapper .page-body-wrapper header.main-nav{
    z-index: 1031 !important;
}


