::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-thumb {
    background-color: #aaa;
}

::-webkit-scrollbar-track {
    background-color: #f1f1f1;
}

.invalid-feedback {
    display: block;
}

body {
    background: #f8f7fa;
    overflow-x: hidden;
}

.d-flex.svg-illustration.mb-4.gap-2.align-items-center img {
    width: 240px;
}

.btn.waves-light {
    margin-right: 5px;
}

/*
* demo.css
* File include item demo only specific css only
******************************************************************************/

.light-style .menu .app-brand.demo {
    height: 64px;
}

.dark-style .menu .app-brand.demo {
    height: 64px;
}

.app-brand-logo.demo {
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    display: -ms-flexbox;
    display: flex;
    width: 34px;
    height: 24px;
}

.app-brand-logo.demo svg {
    width: 35px;
    height: 24px;
}

.app-brand-text.demo {
    font-size: 1.375rem;
}

/* ! For .layout-navbar-fixed added fix padding top tpo .layout-page */
.layout-navbar-fixed .layout-wrapper:not(.layout-without-menu) .layout-page {
    padding-top: 64px !important;
}

.layout-navbar-fixed .layout-wrapper:not(.layout-horizontal):not(.layout-without-menu) .layout-page {
    padding-top: 78px !important;
}

/* Navbar page z-index issue solution */
.content-wrapper .navbar {
    z-index: auto;
}

/*
* Content
******************************************************************************/

.demo-blocks > * {
    display: block !important;
}

.demo-inline-spacing > * {
    margin: 1rem 0.375rem 0 0 !important;
}

/* ? .demo-vertical-spacing class is used to have vertical margins between elements. To remove margin-top from the first-child, use .demo-only-element class with .demo-vertical-spacing class. For example, we have used this class in forms-input-groups.html file. */
.demo-vertical-spacing > * {
    margin-top: 1rem !important;
    margin-bottom: 0 !important;
}

.demo-vertical-spacing.demo-only-element > :first-child {
    margin-top: 0 !important;
}

.demo-vertical-spacing-lg > * {
    margin-top: 1.875rem !important;
    margin-bottom: 0 !important;
}

.demo-vertical-spacing-lg.demo-only-element > :first-child {
    margin-top: 0 !important;
}

.demo-vertical-spacing-xl > * {
    margin-top: 5rem !important;
    margin-bottom: 0 !important;
}

.demo-vertical-spacing-xl.demo-only-element > :first-child {
    margin-top: 0 !important;
}

.rtl-only {
    display: none !important;
    text-align: left !important;
    direction: ltr !important;
}

[dir='rtl'] .rtl-only {
    display: block !important;
}

/*
* Layout demo
******************************************************************************/

.layout-demo-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-top: 1rem;
}

.layout-demo-placeholder img {
    width: 900px;
}

.layout-demo-info {
    text-align: center;
    margin-top: 1rem;
}

select#deleteSelect {
    width: unset;
}

.previewThumbnail {
    padding: 5px;
    border: 1px solid #f2f2f2;
    width: 150px !important;
    height: 150px !important;
    position: relative;
    border-radius: 3px !important
}

.previewThumbnail .btn-close {
    border: 0 !important;
    margin: 0 !important;
    background: #ddd;
    border-radius: 50% !important;
    color: #000;
    display: flex;
    font-size: 18px;
    height: 30px;
    position: absolute;
    right: 5px;
    top: 5px;
    padding: 0 !important;
    width: 30px;
}

.btnAddImage {
    display: block;
    padding: 0 !important;
    line-height: 25px;
    font-size: 13px;
    margin: 5px 0 0 !important;
    border: 0 !important
}

.previewThumbnail .btn-close:hover {
    color: #dc3545 !important
}

.previewThumbnail img {
    object-fit: contain !important;
}

.avatar-upload .avatar-preview div#imagePreview, .box-image-table.circle img, .previewThumbnail img, div#imagePreview > img {
    width: 100%;
    height: 100%;
}

.table-title {
    white-space: normal;
    margin: 0px !important;
}

tr.mycheckbox {
    background: #f2f2f2 !important;
}

.offcanvas.showing, .offcanvas.hiding, .offcanvas.show {
    visibility: visible;
    z-index: 99999999999;
}

.category-list {
    min-height: 42px;
    max-height: 200px;
    overflow: auto;
    padding: 0 .9em;
    border: 1px solid #e9ecef;
    background: #e9ecef;
    border-radius: 3px
}

.category-list ul {
    margin: .9em 0 !important;
    padding: 0 !important
}

.category-list ul li {
    list-style: none !important
}

.category-list-table span:last-child {
    display: none !important;
}

td.details-control {
    background: url(../admins/img/details_open.png) no-repeat center center;
    cursor: pointer;
}

tr.dt-hasChild td.details-control {
    background: url(../admins/img/details_close.png) no-repeat center center;
}

/** Nestable**/
.dd {
    position: relative;
    display: block;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
    line-height: 20px;
}

.dd-list {
    display: block;
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dd-list .dd-list {
    padding-left: 30px;
}

.dd-collapsed .dd-list {
    display: none;
}

.dd-item,
.dd-empty,
.dd-placeholder {
    display: block;
    position: relative;
    margin: 0;
    padding: 0;
    min-height: 20px;
    font-size: 13px;
    line-height: 20px;
}

.dd-handle {
    display: block;
    height: 30px;
    margin: 5px 0;
    padding: 4px 10px;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    border: 1px solid #ccc;
    background: #F5F6F7;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}


.dd-item > button {
    display: block;
    position: relative;
    cursor: pointer;
    float: left;
    width: 25px;
    height: 20px;
    margin: 5px 0;
    padding: 0;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    border: 0;
    background: transparent;
    font-size: 12px;
    line-height: 1;
    text-align: center;
    font-weight: bold;
}

.dd-item > button:before {
    content: '+';
    display: block;
    position: absolute;
    width: 100%;
    text-align: center;
    text-indent: 0;
}

.dd-item > button[data-action="collapse"]:before {
    content: '-';
}

.dd-placeholder,
.dd-empty {
    margin: 5px 0;
    padding: 0;
    min-height: 30px;
    background: #f2fbff;
    border: 1px dashed #b6bcbf;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.dd-empty {
    border: 1px dashed #bbb;
    min-height: 100px;
    background-color: #e5e5e5;
    background-image: -webkit-linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff),
    -webkit-linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff);
    background-image: -moz-linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff),
    -moz-linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff);
    background-image: linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff),
    linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff);
    background-size: 60px 60px;
    background-position: 0 0, 30px 30px;
}

.dd-dragel {
    position: absolute;
    pointer-events: none;
    z-index: 9999;
}

.dd-dragel > .dd-item .dd-handle {
    margin-top: 0;
}

.dd-dragel .dd-handle {
    -webkit-box-shadow: 2px 4px 6px 0 rgba(0, 0, 0, .1);
    box-shadow: 2px 4px 6px 0 rgba(0, 0, 0, .1);
}

.action_menu .fa:first-child {
    margin-right: 5px;
}

.action_menu {
    text-align: center;
    border-left: 1px solid #ccc;
    float: right;
    width: 80px;
    padding-left: 20px;
}

.action_menu a i {
    margin-top: -5px;
    font-size: 16px;
}

.link_menu {
    border-left: 1px solid #ccc;
    float: right;
    padding: 0 5px 0px 15px;
    white-space: nowrap;
    width: 500px;
    overflow: hidden;
    font-weight: normal;
}

.thVal {
    height: 20px !important;
}

@media (max-width: 768px) {

    .link_menu {
        display: none;
    }
}

/**menu**/
.dd {
    position: relative;
    display: block;
    margin: 0;
    padding: 0;
    max-width: 100%;
    list-style: none;
    font-size: 13px;
    line-height: 20px;
}

.dd-list {
    display: block;
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dd-list .dd-list {
    padding-left: 30px;
}

.dd-collapsed .dd-list {
    display: none;
}

.dd-item,
.dd-empty,
.dd-placeholder {
    display: block;
    position: relative;
    margin: 0;
    padding: 0;
    min-height: 35px;
    font-size: 13px;
    line-height: 35px;
}

li.dd-item p {
    margin: 0px !important;
}

.dd-handle {
    display: flex;
    height: 100%;
    margin: 5px 0;
    padding: 5px 10px;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    background: #fafafa;
    border: 1px solid #f2f2f2;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    box-sizing: border-box;
    position: relative;
    -moz-box-sizing: border-box;
    align-items: center;
}

.dd-handle:hover {
    color: #2ea8e5;
    background: #fff;
}

.dd-handle .custom-control.custom-checkbox {
    padding-top: 5px;
}

.dd-item > button {
    display: block;
    position: relative;
    cursor: pointer;
    float: left;
    width: 25px;
    height: 20px;
    margin: 5px 0;
    padding: 0;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    border: 0;
    background: transparent;
    font-size: 12px;
    line-height: 1;
    text-align: center;
    font-weight: bold;
}

.dd-item > button:before {
    content: '+';
    display: block;
    position: absolute;
    width: 100%;
    text-align: center;
    text-indent: 0;
}

.dd-item > button[data-action="collapse"]:before {
    content: '-';
}

.dd-placeholder,
.dd-empty {
    margin: 5px 0;
    padding: 0;
    height: 100%;
    background: #f2fbff;
    border: 1px dashed #b6bcbf;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.dd-empty {
    border: 1px dashed #bbb;
    min-height: 100px;
    background-color: #e5e5e5;
    background-image: -webkit-linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff),
    -webkit-linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff);
    background-image: -moz-linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff),
    -moz-linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff);
    background-image: linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff),
    linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff);
    background-size: 60px 60px;
    background-position: 0 0, 30px 30px;
}

.dd-item > button {
    position: absolute;
    right: 0px;
    z-index: 999;
    top: 24px;
    transform: translateY(-50%);
    margin: 0px !important;
}

.dd-dragel {
    position: absolute;
    pointer-events: none;
    z-index: 9999;
}

.dd-dragel > .dd-item .dd-handle {
    margin-top: 0;
}

.dd-dragel .dd-handle {
    -webkit-box-shadow: 2px 4px 6px 0 rgba(0, 0, 0, .1);
    box-shadow: 2px 4px 6px 0 rgba(0, 0, 0, .1);
}

/**
 * Nestable Extras
 */

.nestable-lists {
    display: block;
    clear: both;
    padding: 30px 0;
    width: 100%;
    border: 0;
    border-top: 2px solid #ddd;
    border-bottom: 2px solid #ddd;
}

#nestable-menu {
    padding: 0;
    margin: 20px 0;
}

#nestable-output,
#nestable2-output {
    width: 100%;
    height: 7em;
    font-size: 0.75em;
    line-height: 1.333333em;
    font-family: Consolas, monospace;
    padding: 5px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}


@media only screen and (min-width: 700px) {
    .dd {
        float: left;
        width: 100%;
    }

    .dd + .dd {
        margin-left: 2%;
    }
}

.dd-hover > .dd-handle {
    background: #2ea8e5 !important;
}

/**
 * Nestable Draggable Handles
 */

.dd3-content {
    display: block;
    height: 30px;
    margin: 5px 0;
    padding: 5px 10px 5px 40px;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    border: 1px solid #ccc;
    background: #fafafa;
    background: -webkit-linear-gradient(top, #fafafa 0%, #eee 100%);
    background: -moz-linear-gradient(top, #fafafa 0%, #eee 100%);
    background: linear-gradient(top, #fafafa 0%, #eee 100%);
    -webkit-border-radius: 3px;
    border-radius: 3px;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
}

.dd3-content:hover {
    color: #2ea8e5;
    background: #fff;
}

.dd-dragel > .dd3-item > .dd3-content {
    margin: 0;
}

.dd3-item > button {
    margin-left: 30px;
}

.dd3-handle {
    position: absolute;
    margin: 0;
    left: 0;
    top: 0;
    cursor: pointer;
    width: 30px;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    border: 1px solid #aaa;
    background: #ddd;
    background: -webkit-linear-gradient(top, #fafafa 0%, #eee 100%);
    background: -moz-linear-gradient(top, #fafafa 0%, #eee 100%);
    background: linear-gradient(top, #fafafa 0%, #eee 100%);
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.dd3-handle:before {
    content: '≡';
    display: block;
    position: absolute;
    left: 0;
    top: 3px;
    width: 100%;
    text-align: center;
    text-indent: 0;
    color: #fff;
    font-size: 20px;
    font-weight: normal;
}

.dd3-handle:hover {
    background: #ddd;
}


.menu-action {
    position: absolute;
    top: 50%;
    right: 10px;
    display: flex;
    transform: translateY(-50%);
    align-items: center;
}

.dd-item > button[data-action="collapse"]:before {
    content: '\ea62' !important;
    font-family: "tabler-icons" !important;
    font-size: 13px;
    color: inherit !important;
}

.dd-item > button:before {
    content: '\ea5f' !important;
    font-family: "tabler-icons" !important;
    font-size: 13px;
    color: inherit !important;
}

.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.action_menu-2 {
    border-left: 1px solid #ccc;
    float: right;
    width: 80px;
    padding-left: 20px;
}

.action_menu-2 a i {
    margin-top: -5px;
    font-size: 16px;
}

span.action_menu-2.d-flex.align-items-center {
    position: absolute;
    right: 0px;
}

.link_menu {
    border-left: 1px solid #ccc;
    float: right;
    padding: 0 5px 0px 15px;
    white-space: nowrap;
    width: 500px;
    overflow: hidden;
    font-weight: normal;
    margin-left: 15px;
}

body *::-webkit-scrollbar {
    width: 6px;
    height: 6px;
    transition: .3s background;
}

body *::-webkit-scrollbar-thumb {
    background: #ced4da;
}

label b {
    color: #ff0000 !important;
}

.swal2-modal.swal2-popup .swal2-title {
    margin: 15px 0 !important;
    padding: 0px !important;
}

.swal2-html-container {
    margin-top: 0px !important;
}

.wd-4 {
    width: 25%;
}


/**loading**/
div#loading {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 200px;
    transform: translate(-50%, -50%);
    text-align: center;
    padding: 2px;
    z-index: 999;
}

div#loading > div:last-child {
    position: relative;
    width: 80px;
    height: 15px;
    margin: 1em auto;
}

div#loading > div:last-child > div {
    position: absolute;
    top: 0;
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: #0d6efd;
    background: rgb(var(--dt-row-selected));
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}

div#loading > div:last-child > div:nth-child(1) {
    left: 8px;
    animation: datatables-loader-1 0.6s infinite;
}

div#loading > div:last-child > div:nth-child(2) {
    left: 8px;
    animation: datatables-loader-2 0.6s infinite;
}

div#loading > div:last-child > div:nth-child(3) {
    left: 32px;
    animation: datatables-loader-2 0.6s infinite;
}

div#loading > div:last-child > div:nth-child(4) {
    left: 56px;
    animation: datatables-loader-3 0.6s infinite;
}

span.color-bg {
    width: 25px;
    height: 25px;
    display: inline-block;
    border: 1px solid #f2f2f2;
    margin-right: 5px;
}

.avatar.w45 {
    width: 50px;
    height: 50px;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #f2f2f2 !important;
}

.avatar img {
    height: 100% !important;
    object-fit: cover !important;
    border: 1px solid #f2f2f2 !important;
}

.avatar.w45 img {
    object-fit: contain !important;
}

#country-select span.select2-selection.select2-selection--single, #country-select .select2.select2-container.select2-container--default.select2-container--focus {
    width: 500px !important;
}

.hidden {
    display: none !important;
}

.app-brand-logo {
    width: 150px !important;
    height: unset !important;
}

.app-brand-logo img {
    width: 100% !important;
    object-fit: contain !important;
}

div#ckf-modal {
    z-index: 09999999999999999999999999999999999999 !important;
}

div#attributeItem button.accordion-button.collapsed {
    display: flex;
    align-items: center;
}


.user-profile-header-banner img {
    width: 100%;
    object-fit: cover;
    height: 250px;
}

.user-profile-header {
    margin-top: -2rem;
}

.user-profile-header .user-profile-img {
    border: 5px solid;
    width: 120px;
}

.light-style .user-profile-header .user-profile-img {
    border-color: #fff;
}

.dark-style .user-profile-header .user-profile-img {
    border-color: #2f3349;
}

.dataTables_wrapper .card-header .dataTables_filter label {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

@media (max-width: 767.98px) {
    .user-profile-header-banner img {
        height: 150px;
    }

    .user-profile-header .user-profile-img {
        width: 100px;
    }
}

.dot:last-child {
    display: none;
}

.img-visa {
    height: 170px;
}

.dropify-wrapper .dropify-preview .dropify-infos .dropify-infos-inner p.dropify-infos-message {
    margin-top: 15px;
    padding-top: 15px;
    font-size: 12px !important;
    position: relative;
    opacity: .5;
}

.dropify-wrapper .dropify-message p {
    font-size: 15px !important;
}


.col-c-5 {
    flex: 0 0 auto !important;
    width: 20% !important;
}


@media only screen and (max-width: 768px) {
    .col-c-5 {
        flex: 0 0 auto !important;
        width: 100% !important;
    }
}
