﻿html::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    background-color: #F5F5F5;
}

html::-webkit-scrollbar {
    width: 10px;
    background-color: #F5F5F5;
}

html::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: #555;
}
.x-window-default-resizable{
    top: 10% !important;
}
.x-window-default {
    max-width: 800px !important;
}

.input-group input[disabled], input[disabled]:not(.input-default), select[disabled], span.select2-container--disabled, .disabled {
    background-color: #fff !important;
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFAQMAAAC3obSmAAAABlBMVEUAAADw8PC5otm+AAAAAXRSTlMAQObYZgAAABJJREFUCNdj4GAQYFBgcGBoAAACogD5g5VHSAAAAABJRU5ErkJggg==);
    border-color: #ddd;
    color: #999;
    cursor: default;
    opacity: 1 !important;
}
.main-content{
    min-height:100vh;
}
.bg-changed {
    background-color: #9f6e2d !important;
    color: #fff !important;
}
.flatpickr-months .flatpickr-prev-month, .flatpickr-months .flatpickr-next-month{
    line-height:15px;
}
.text-default {
    color: #4c9ea2;
}
[data-layout-mode="dark"] .title-white,
[data-layout-mode="dark"] .title-button,
[data-layout-mode="dark"] .btn i {
    color: #fff !important;
}

[data-layout-mode="dark"] .form-control,
body[data-layout-mode="dark"] .select2-container--default .select2-selection {
    border-color: #fff;
}
.table-bordered tfoot tr, .table-bordered  tbody tr:last-child{
    border:none;
}
.form-label {
    position: relative;
    padding-left: 20px;
}

    .form-label:before {
        content: "\f05a";
        position: absolute;
        color: #116997;
        top: 3px;
        left: 0;
        font-family: "Font Awesome 5 Free" !important;
        -webkit-font-smoothing: antialiased;
        display: inline-block;
        font-style: normal;
        font-variant: normal;
        text-rendering: auto;
        line-height: 1;
        font-weight: 600;
    }

    .form-label.label-valid:before {
        color: red;
    }

.grid {
    display: grid !important;
}
.table-extra .sticky-table-header .extra-gridview thead tr th > *{
    color: #fff;
}
/*Custom tagbox*/
.tagbox {
    margin-top: 10px;
}

.search-tag {
    float: left;
    width: auto !important;
    margin-right: 5px;
    margin-bottom: 5px;
}

    .search-tag .form-control {
        width: auto;
    }

    .search-tag .input-group-addon {
        display: inline-block;
        position: relative;
        border-top-right-radius: 5px;
        border-bottom-right-radius: 5px;
        background-color: #ecf0f5;
        height: 30px;
        padding: 5px 13px;
        font-size: 13px;
        line-height: 1.5;
    }

        .search-tag .input-group-addon i {
            margin-left: -5px;
        }

[data-layout-mode="dark"] .search-criteria i {
    color: #333;
}

.hide {
    display: none;
}

input[switch] + label {
    width: 85px;
}

    input[switch] + label:before {
        top: -1px;
        width: 85px;
    }

input[switch]:checked + label:before {
    left: -8px;
}

input[switch]:checked + label:after {
    left: 65px;
}

.extra-gridview tbody tr td,
.extra-gridview thead tr th,
.table-responsive thead tr th,
.table-responsive tbody tr td,
.table-responsive tfoot tr td {
    vertical-align: middle;
    padding: 5px 5px 5px 10px;
    max-width: 600px;
}

    .extra-gridview tbody tr td .badge {
        font-size: 90%;
    }

.modal-header.modal-danger {
    color: #fff;
    background-color: #fd625e;
    border-color: #fd625e;
}

.modal-header.modal-info {
    color: #fff;
    background-color: #4ba6ef;
    border-color: #4ba6ef;
}

.modal-header.modal-success {
    color: #fff;
    background-color: #2ab57d;
    border-color: #2ab57d;
}

.modal-header.modal-warning {
    background-color: #ffbf53;
    border-color: #ffbf53;
}

    .modal-header.modal-danger .modal-title, .modal-header.modal-info .modal-title,
    .modal-header.modal-success .modal-title, .modal-header.modal-warning .modal-title {
        color: #fff;
    }

.modal-dialog .modal-content {
    border: none;
}

.ml-5 {
    margin-left: 5px !important;
}

@media(max-width: 768px) {
    .badge-custom-mobile {
        white-space: normal;
        line-height: 15px;
        margin-bottom: 5px;
    }
}

.js-show-tab-2 {
    display: none;
}

.ct-delete, .text-delete, .ct-delete .fancytree-title {
    text-decoration: line-through;
    font-style: italic;
    color: #d5d3de;
}

    .text-delete:hover {
        color: #d5d3de !important;
    }

.extra-gridview a.card-link {
    color: #3677c7 !important;
}
.extra-gridview a.card-link:hover {
    color: #af9517 !important;
}

.sticky-table-header .table-bordered.extra-gridview, .table-responsive > .table-bordered.extra-gridview {
    border: solid 1px #b1b1b1 !important;
}

.offcanvas-footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: flex-end;
    padding: 1rem 1rem;
}

.table-responsive .showValInput {
    white-space: break-spaces;
}

.offcanvas-header {
    border-bottom: 1px solid var(--bs-input-border);
}

.offcanvas-footer {
    border-top: 1px solid var(--bs-input-border);
}

a.jstree-anchor:hover {
    background-color: unset;
}

span.js-tree-link {
    transition: 0.2s;
}

.jstree-default .jstree-search {
    color: #22b9f5;
}

#cpModalMain_upnPermission {
    overflow: hidden;
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    pointer-events: auto;
    background-color: var(--bs-modal-bg);
    background-clip: padding-box;
    border: 1px solid var(--bs-border-color);
    border-radius: 0.25rem;
    outline: 0;
}

.table-rep-plugin .btn-toolbar:after {
    display: block;
    clear: both;
    content: "";
}

.bootstrap-duallistbox-container select option {
    padding: 5px;
    white-space: break-spaces;
}

[data-layout-mode="light"] .bootstrap-duallistbox-container select option:hover {
    cursor: pointer;
    background-color: #a8d9f5;
}

[data-layout-mode="dark"] .bootstrap-duallistbox-container select option:hover {
    cursor: pointer;
    background-color: #fff;
    color: #333;
}

.table-rep-plugin .btn-toolbar {
    margin-bottom: 5px;
}

.line-2 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    max-height: 40px;
    font-size: 14px;
    line-height: 20px;
    margin: 0;
}

.date-notification, .action-notification {
    width: 200px;
}

.modal-body img {
    max-width: 100%;
    height: auto;
}

.modal-body iframe {
    max-width: 100%;
    height: auto;
}

#modalViewFile iframe {
    height: 500px;
}

.badge-soft-danger {
    white-space: break-spaces;
}

.iframe-img {
    text-align: center;
    display: flex;
    justify-content: center;
}

    .iframe-img img {
        height: auto;
        max-width: 100%;
        display: inline-block;
    }

.input-group button {
    cursor: pointer;
}

.col-captcha .row {
    margin: 0;
}

.col-captcha input.form-control {
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
    border-right: 0;
}

.col-captcha .contentCapcha {
    display: flex;
    margin: auto;
    border-radius: 0;
}

.col-captcha .refresh-security {
    width: 36px;
    height: auto;
}

#loading-wrapper {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: rgb(0 0 0 / 54%);
    z-index: 9999;
}

    #loading-wrapper img {
        position: absolute;
        top: 48%;
        left: 48%;
        background: transparent;
        width: 100px;
        height: auto;
    }
.col-clear {
    flex: 1;
    display: inline-block;
    margin: auto;
    margin-top: 30px;
}
.col-clear a.btn{
    padding:7px;
}
.wrapSearchGeneral .form-search {
    width: 70%;
    float: left
}
.wrapSearchGeneral .group-btn-right {
    float: right;
}

@media (max-width: 768px) {
    .wrapSearchGeneral .form-search {
        width: 80%;
    }
}
@media (max-width: 414px) {
    .wrapSearchGeneral .form-search {
        width: 100%;
    }
    .wrapSearchGeneral .group-btn-right{
        float:left;
        margin-top:10px;
    }
}
.card-grid-view{
    margin-bottom:0;
    border: none !important;
}
.label {
    text-shadow: none !important;
    font-size: 14px;
    font-weight: 300;
    padding: 3px 6px;
    color: #fff;
    min-width: 60px
}
.label-primary {
    background-color: #337ab7;
}
.label-success {
    background-color: #36c6d3;
}
.label-danger {
    background-color: #ed6b75;
}
.label-info {
    background-color: #cd7247;
}
.label-warning {
    background-color: #f1c40f;
}
.progress{
    height:1rem;
}
.progress-text {
    left: 43%;
    color: #ad6d0d;
    font-size: 13px;
    line-height: 16px;
}
.label-verygood {
    background-color: #33CC66;
}
.label-good {
    background-color: #33CCCC;
}
.label-average {
    background-color: #99CCFF;
}
.label-weak {
    background-color: #CC6633;
}
.label-poor {
    background-color: #CC3300;
}
.label-note{
    font-style:italic;
    color:red;
}
.toast .toast-header, .toast .toast-body {
    background-color: var(--bs-card-bg) !important;
}
.toast.toast-danger {
    border-color: #feb1af;
    color: #fd625e;
}
.toast.toast-warning {
    border-color: #ffdfa9;
    color: #ffbf53;
}
.toast.toast-success {
    border-color: #95dabe;
    color: #2ab57d;
}
.toast.toast-info {
    border-color: #a5d3f7;
    color: #4ba6ef;
}
.btn-copy{
    cursor:pointer;
}
.wrapSearch {
    margin-top:10px;
}

.box-file {
    border: 1px solid lightgray;
    border-radius: 10px;
    padding: 5px;
}

.box-file .label-text {
    position: absolute;
    left: 40px;
    bottom: 66px;
    background: white;
    color: lightcoral;
}
.get-link {
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 13px;
}
    .get-link .fa {
        font-size: 13px;
        font-weight: 600;
    }
.js-search-header .box-search .btn {
    padding: 8px 10px;
    border-radius: unset;
}