.btn-danger {
    color: #fff;
    background-color: #c52128 !important;
    border-color: #c52128 !important;
    box-shadow: none;
}

#remember {
    accent-color: #c52128;
    height: 17px;
    width: 17px;
    cursor: pointer;
}

.card-header-custom {
    height: 52px;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between;
    border-bottom: 1px solid #00000020;
}

.card-header-custom-without-border {
    height: 52px;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between;
}

.card-footer-custom {
    height: 52px;
    display: flex !important;
    align-items: center !important;
    justify-content: end;
}

.card-danger.card-outline {
    border-top: 3px solid #c52128 !important;
}

.form-control:focus {
    border-color: #c52128 !important;
}

.icheck-primary > input:first-child:not(:checked):not(:disabled):focus + input[type=hidden] + label::before,
.icheck-primary > input:first-child:not(:checked):not(:disabled):focus + label::before {
    border-color: #c52128;
}

.icheck-primary > input:first-child:checked + input[type=hidden] + label::before,
.icheck-primary > input:first-child:checked + label::before {
    background-color: #c52128;
    border-color: #c52128;
}

.icheck-primary > input:first-child:not(:checked):not(:disabled):hover + input[type=hidden] + label::before,
.icheck-primary > input:first-child:not(:checked):not(:disabled):hover + label::before {
    border-color: #c52128;
}

.sidebar-dark-primary .nav-sidebar > .nav-item > .nav-link.active,
.sidebar-light-primary .nav-sidebar > .nav-item > .nav-link.active {
    background-color: #c52128;
    color: #fff;
}

.card-danger:not(.card-outline) > .card-header {
    background-color: #c52128;
}

.active-sub-menu {
    background: #ffffffe6;
    border-radius: 4px;
}

.active-sub-menu a i,
.active-sub-menu a p {
    color: #000 !important;
}


label {
    margin-bottom: 1px !important;
    font-weight: 500 !important;
    font-size: 14px !important;
}

.card-light:not(.card-outline) > .card-header {
    background-color: #ebecec;
}


.no-spinner::-webkit-inner-spin-button,
.no-spinner::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.no-spinner {
    -moz-appearance: textfield;
}

.width-300px {
    width: 300px;
}

.width-200px {
    width: 200px;
}

.width-90px {
    width: 90px !important;
}

.height-90px {
    height: 90px !important;
}

.input-field-borderless {
    border: solid white;
    outline: none;
}

/*label:not(.form-check-label):not(.custom-file-label) {*/
/*    padding: 8px !important;*/
/*}*/
.dataTables_info {
    padding-left: 20px !important;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
}

.dataTables_paginate {
    padding-right: 20px !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

.dataTables_filter input {
    width: 250px !important;
}


.search-disabled {
    height: 20px;
    border: none;
    width: 10px;
    background-color: transparent;
}

.normal-search {
    height: 20px;
    border: none;
    width: 100%;
}

.select-search-field {
    height: 20px;
    border: none;
    appearance: none;
    width: 100%;
}


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

.table-sm td,
.table-sm th {
    padding: 3px 10px !important;
}

.form-control {
    padding: 3px 10px !important;
    font-size: 14px !important;
    height: auto !important;
}

.select2-container--default .select2-selection--single {
    padding: 3px 10px !important;
    height: 28px !important;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 24px !important;
}

.select2-container--default .select2-selection--single .select2-selection__arrow b {
    margin-top: -4px !important;
}

.bg-light-gray {
    background-color: #e9ecef;
}

.select2-container--default .select2-selection--single {
    height: 29px !important;
}


/*grid*/
.display-grid {
    display: grid;
}

.grid-gap-1 {
    grid-gap: calc(4px * 1);
}

.grid-gap-2 {
    grid-gap: calc(4px * 2);
}

.grid-gap-3 {
    grid-gap: calc(4px * 3);
}

.grid-gap-4 {
    grid-gap: calc(4px * 4);
}

.grid-gap-5 {
    grid-gap: calc(4px * 5);
}

.grid-gap-6 {
    grid-gap: calc(4px * 6);
}


/*extra large*/
.grid-xl-cols-1 {
    grid-template-columns: repeat(1, 1fr);
}

.grid-xl-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-xl-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-xl-cols-4 {
    grid-template-columns: repeat(4, 1fr);


}


.grid-xl-cols-5 {
    grid-template-columns: repeat(5, 1fr);

}

.grid-xl-cols-6 {
    grid-template-columns: repeat(6, 1fr);
}

.grid-xl-cols-7 {
    grid-template-columns: repeat(7, 1fr);
}

.grid-xl-col-8 {
    grid-template-columns: repeat(8, 1fr);
}

.grid-xl-cols-9 {
    grid-template-columns: repeat(9, 1fr);
}

.grid-xl-cols-10 {
    grid-template-columns: repeat(10, 1fr);
}

.grid-xl-cols-11 {
    grid-template-columns: repeat(11, 1fr);
}

.grid-xl-cols-12 {
    grid-template-columns: repeat(12, 1fr);
}

.col-span-xl-1 {
    grid-column: span 1 / span 1;
}

.col-span-xl-2 {
    grid-column: span 2 / span 2;
}

.col-span-xl-3 {
    grid-column: span 3 / span 3;
}

.col-span-xl-4 {
    grid-column: span 4 / span 4;
}

.col-span-xl-5 {
    grid-column: span 5 / span 5;
}

.col-span-xl-6 {
    grid-column: span 6 / span 6;
}

.col-span-xl-7 {
    grid-column: span 7 / span 7;
}

.col-span-xl-8 {
    grid-column: span 8 / span 8;
}

.col-span-xl-9 {
    grid-column: span 9 / span 9;
}


/*large*/
@media screen and (max-width: 1200px) {
    .grid-lg-cols-1 {
        grid-template-columns: repeat(1, 1fr);

    }

    .grid-lg-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-lg-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid-lg-cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }

    .grid-lg-cols-5 {
        grid-template-columns: repeat(5, 1fr);
    }

    .grid-lg-cols-6 {
        grid-template-columns: repeat(6, 1fr);
    }

    .grid-lg-cols-7 {
        grid-template-columns: repeat(7, 1fr);
    }

    .grid-lg-col-8 {
        grid-template-columns: repeat(8, 1fr);
    }

    .grid-lg-cols-9 {
        grid-template-columns: repeat(9, 1fr);
    }

    .grid-lg-cols-10 {
        grid-template-columns: repeat(10, 1fr);
    }

    .grid-lg-cols-11 {
        grid-template-columns: repeat(11, 1fr);
    }

    .grid-lg-cols-12 {
        grid-template-columns: repeat(12, 1fr);
    }

    .col-span-lg-1 {
        grid-column: span 1 / span 1;
    }

    .col-span-lg-2 {
        grid-column: span 2 / span 2;
    }

    .col-span-lg-3 {
        grid-column: span 3 / span 3;
    }

    .col-span-lg-4 {
        grid-column: span 4 / span 4;
    }

    .col-span-lg-5 {
        grid-column: span 5 / span 5;
    }

    .col-span-lg-6 {
        grid-column: span 6 / span 6;
    }

    .col-span-lg-7 {
        grid-column: span 7 / span 7;
    }

    .col-span-lg-8 {
        grid-column: span 8 / span 8;
    }

    .col-span-lg-9 {
        grid-column: span 9 / span 9;
    }
}


/*medium*/
@media screen and (max-width: 992px) {


    .grid-md-cols-1 {
        grid-template-columns: repeat(1, 1fr);
    }

    .grid-md-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-md-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid-md-cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }

    .grid-md-cols-5 {
        grid-template-columns: repeat(5, 1fr);
    }

    .grid-md-cols-6 {
        grid-template-columns: repeat(6, 1fr);
    }

    .grid-md-cols-7 {
        grid-template-columns: repeat(7, 1fr);
    }

    .grid-md-col-8 {
        grid-template-columns: repeat(8, 1fr);
    }

    .grid-md-cols-9 {
        grid-template-columns: repeat(9, 1fr);
    }

    .grid-md-cols-10 {
        grid-template-columns: repeat(10, 1fr);
    }

    .grid-md-cols-11 {
        grid-template-columns: repeat(11, 1fr);
    }

    .grid-md-cols-12 {
        grid-template-columns: repeat(12, 1fr);
    }

    .col-span-md-1 {
        grid-column: span 1 / span 1;
    }

    .col-span-md-2 {
        grid-column: span 2 / span 2;
    }

    .col-span-md-3 {
        grid-column: span 3 / span 3;
    }

    .col-span-md-4 {
        grid-column: span 4 / span 4;
    }

    .col-span-md-5 {
        grid-column: span 5 / span 5;
    }

    .col-span-md-6 {
        grid-column: span 6 / span 6;
    }

    .col-span-md-7 {
        grid-column: span 7 / span 7;
    }

    .col-span-md-8 {
        grid-column: span 8 / span 8;
    }

    .col-span-md-9 {
        grid-column: span 9 / span 9;
    }
}


/*Small*/
@media screen and (max-width: 768px) {


    .display-grid {
        display: grid;
    }

    .grid-sm-cols-1 {
        grid-template-columns: repeat(1, 1fr);
    }

    .grid-sm-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-sm-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid-sm-cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }

    .grid-sm-cols-5 {
        grid-template-columns: repeat(5, 1fr);
    }

    .grid-sm-cols-6 {
        grid-template-columns: repeat(6, 1fr);
    }

    .grid-sm-cols-7 {
        grid-template-columns: repeat(7, 1fr);
    }

    .grid-sm-col-8 {
        grid-template-columns: repeat(8, 1fr);
    }

    .grid-sm-cols-9 {
        grid-template-columns: repeat(9, 1fr);
    }

    .grid-sm-cols-10 {
        grid-template-columns: repeat(10, 1fr);
    }

    .grid-sm-cols-11 {
        grid-template-columns: repeat(11, 1fr);
    }

    .grid-sm-cols-12 {
        grid-template-columns: repeat(12, 1fr);
    }

    .col-span-sm-1 {
        grid-column: span 1 / span 1;
    }

    .col-span-sm-2 {
        grid-column: span 2 / span 2;
    }

    .col-span-sm-3 {
        grid-column: span 3 / span 3;
    }

    .col-span-sm-4 {
        grid-column: span 4 / span 4;
    }

    .col-span-sm-5 {
        grid-column: span 5 / span 5;
    }

    .col-span-sm-6 {
        grid-column: span 6 / span 6;
    }

    .col-span-sm-7 {
        grid-column: span 7 / span 7;
    }

    .col-span-sm-8 {
        grid-column: span 8 / span 8;
    }

    .col-span-sm-9 {
        grid-column: span 9 / span 9;
    }
}

/*extra small*/
@media screen and (max-width: 576px) {


    .display-grid {
        display: grid;
    }

    .grid-cols-1 {
        grid-template-columns: repeat(1, 1fr);
    }

    .grid-cols-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-cols-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .grid-cols-4 {
        grid-template-columns: repeat(4, 1fr);
    }

    .grid-cols-5 {
        grid-template-columns: repeat(5, 1fr);
    }

    .grid-cols-6 {
        grid-template-columns: repeat(6, 1fr);
    }

    .grid-cols-7 {
        grid-template-columns: repeat(7, 1fr);
    }

    .grid-col-8 {
        grid-template-columns: repeat(8, 1fr);
    }

    .grid-cols-9 {
        grid-template-columns: repeat(9, 1fr);
    }

    .grid-cols-10 {
        grid-template-columns: repeat(10, 1fr);
    }

    .grid-cols-11 {
        grid-template-columns: repeat(11, 1fr);
    }

    .grid-cols-12 {
        grid-template-columns: repeat(12, 1fr);
    }

    .col-span-1 {
        grid-column: span 1 / span 1;
    }

    .col-span-2 {
        grid-column: span 2 / span 2;
    }

    .col-span-3 {
        grid-column: span 3 / span 3;
    }

    .col-span-4 {
        grid-column: span 4 / span 4;
    }

    .col-span-5 {
        grid-column: span 5 / span 5;
    }

    .col-span-6 {
        grid-column: span 6 / span 6;
    }

    .col-span-7 {
        grid-column: span 7 / span 7;
    }

    .col-span-8 {
        grid-column: span 8 / span 8;
    }

    .col-span-9 {
        grid-column: span 9 / span 9;
    }
}

abbr[title] {
    border-bottom: none !important;
    cursor: inherit !important;
    text-decoration: none !important;
}

.form-control-upload-image {
    display: grid;
    place-items: center;
    grid-row: span 4 / span 4;
}

.form-control-upload-image div {
    height: 90px;
    width: 90px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    overflow: hidden;
    position: relative;
}

.form-control-upload-image div img {
    height: 70px;
}

.form-control-upload-image div i {
    color: #d1d5db;
    font-size: 70px;
}

.form-control-upload-image div label {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    background: black;
    opacity: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    color: white;
    transition: 0.2s;
}

.form-control-upload-image div label:hover,
label:focus-within {
    opacity: 0.75;
}


.form-control-upload-image div input[type='file'] {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    cursor: pointer;
    opacity: 0;
}

.custom-input-group label {
    min-width: 90px !important;
    max-width: 90px !important;
    margin-right: 10px;
    line-height: 13px;
}

.custom-input-group input {
    height: 27px !important;
}

.required-star-symbol {
    padding-left: 3px !important;
}

.inputs-custom-header {
    text-align: center;
}

.custom-width {
    width: 4%;
}

.no-border {
    border: none;
}

.borderforimage {
    border: 2px solid #cdd1d6;

}

.non-clickable {
    pointer-events: none;
    user-select: none;
}

/* /////////// */
.select2-container--default .select2-selection--single {
    border: 1px solid #ced4da;
}

.select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: black;
}

.select2-container--default.select2-container--focus .select2-selection--single {
    border-color: rgb(194, 4, 4) !important;
}

.select2-container--default.select2-container--open .select2-selection--single {
    border-color: rgb(194, 4, 4) !important;
}

/*.fas.fa-angle-down {*/
/*    font-weight: bold;*/
/*    font-size: smaller;*/
/*}*/
/*.select2-container--default .select2-selection--single .select2-selection__arrow {*/
/*    height: 26px;*/
/*    position: absolute;*/
/*    top: 5px;*/
/*    right: 1px;*/
/*    width: 10px;*/
/*    padding-right:14px;*/
/*}*/
/*.custom-select2-arrow {*/
/*    position: absolute;*/
/*    top: 50%;*/
/*    right: 10px; !* Adjust the right position as needed *!*/
/*    transform: translateY(-50%);*/
/*}*/

/*.custom-select2-arrow i {*/
/*    color: #333; !* Adjust the color as needed *!*/
/*    font-size: 1rem; !* Adjust the font size as needed *!*/
/*}*/
.select2-container--default .select2-selection--single .select2-selection__clear {
    color: #212529;
    height: 26px;
    position: absolute;
    top: 2px;
    right: 1px;
    width: 20px;
}

/* //////////// */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

.delete-button {
    height: 20px;
    width: 22px;
    position: absolute;
    border-radius: 25%;
    top: 5px;
    right: 20px;
    background-color: rgb(231, 229, 229);
    color: rgb(0, 0, 0);
    border: none;
    cursor: pointer;
}


.img-container {
    margin-bottom: 10px;
    position: relative;
    width: 100%;
    border-radius: 7px;
    overflow: hidden;
}

.img-class {
    width: 100%;
    display: block;
    border-radius: 7px;
}

.img-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    margin: 0;
    padding: 0px;
    background: linear-gradient(#369763 18%, transparent);
    pointer-events: none;
}

.bgandborder {
    background: none;
    border: none;
}

.cursor-pointer {
    cursor: pointer;
}

.light-border {

    border-color: #ced4da;
}

.side-border {
    border-left: 1px solid #ced4da;
    border-right: 1px solid #ced4da;
    border-bottom: 1px solid #ced4da;
}

.w-85 {
    width: 85%;
}

.w-65 {
    width: 65%;
}

.w-70 {
    width: 70%;
}

.rounded_image {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border: 1px solid #00000020;
}

.permission-card-height {
    max-height: 500px;
}

.on_hover_primary:hover {
    background-color: #3789ff !important;
    color: white;
}

.height-450 {
    max-width: 100%;
!important;
    height: 450px !important;
}

.height-250 {
    max-width: 100%;
    height: 250px;
}

.max-height-415 {
    max-height: 415px;
}

.max-height-600 {
    max-height: 600px;
}

.z-index-999 {
    z-index: 999;
}

.z-index-900 {
    z-index: 900;
}

.w-8 {
    width: 8% !important;
}

.w-16 {
    width: 16%;
!important
}

.w-20 {
    width: 20%;
!important
}

.position_control {
    top: 60px;
    left: 0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.w-50 {
    width: 100px !important;
}

.custom-padding {
    padding: 2px 8px !important;
}

.w-150 {
    width: 150px;
}

.height-190 {
    height: 190px !important;
}

.max-height-355 {
    max-height: 355px !important;
}

.max-height-538 {
    max-height: 538px !important;
}

.height-285 {
    max-width: 100%;
    height: 285px;
}

.max-height-633 {
    max-height: 633px ! important;
}

.max-height-450 {
    max-height: 450px !important;
}

.height-238 {
    height: 231px !important;
}

.max-height-397 {
    max-height: 397px !important;
}

.max-height-580 {
    max-height: 580px !important;
}

.height-520 {
    height: 520px;
    width: 30%;
}

.w-9 {
    width: 9px;
}

.w-40 {
    width: 30%;
}

.customer-input::placeholder {
    color: #000;
}

.bg-striped {
    background-color: rgba(0, 0, 0, 0.05);
}

.underline {
    text-decoration: underline;
}

.modal-lg {
    max-width: 80%; /* Adjust the percentage value as needed */
}

.light-warning-bg {
    background-color: rgb(252, 253, 236);
}

.text-color-dark-warning {
    color: rgb(202 138 4);
    font-weight: bold;
}

.height-275 {
    height: 275px;
}

.max-height-445 {
    max-height: 445px !important;
}

.font-size-0-7 {
    font-size: 0.7rem;
}

.font-size-0-85 {
    font-size: 0.85rem;
}

.w-85 {
    width: 65%;
}

.max-height-570 {
    max-height: 570px;
}

.w-3 {
    width: 3%;
}

.w-45 {
    width: 45%;

}

.w-6 {
    width: 6%;

}

.w-1 {
    width: 1%;

}

.add-services-table {
    border-left: none !important;
    border-right: none !important;
    border-bottom: none !important;
}

.w-20px {
    width: 20px;
}

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

.btn-orange {
    color: #fff;
    background-color: #ff5900 !important;
    border-color: #ff5900 !important;
    box-shadow: none;
}

.text-orange {
    color: #ff5900 !important;
}

.ck-powered-by {
    display: none;
}

.font-size-11px {
    font-size: 11px;
}

.z-index-999-imp {
    z-index: 999 !important;
}

.c-bg-warning {
    background: #ffc107 !important;
}

.error-style {
    list-style-type: disc;
    color: rgb(182, 8, 8);
    background-color: rgb(254 242 242);
}

.success-style {
    background-color: rgb(236, 253, 233);
    color: #28a745;
}

.text-purple
{
    color: purple !important;
}

.custom-tooltip-container {
    position: relative;
    display: inline-block;
}

.view-custom-tooltip-btn {
    cursor: pointer;
    border: none;
    font-size: 12px;
    color: #0b58a2;
}

.view-custom-tooltip-btn-warning {
    color: #758f00;
}

.custom-tooltip-items {
    display: none; /* Initially hide the list */
    position: absolute;
    top: 22px; /* Adjust based on button height */
    left: 0;
    background-color: #ffffff;
    border: 1px solid #ddd;
    padding: 0 !important;
    list-style-type: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1000; /* Ensure it appears above other content */
}

.custom-tooltip-items li {
    padding: 2px 5px;
    white-space: nowrap;
    font-size: 12px;
    border-top: 1px solid #00000010;
}

.custom-tooltip-container:hover .custom-tooltip-items {
    display: block; /* Show the list when hovering over the container */
}

/* card collapse toggle */
.card-toggle i {
    transition: transform .2s ease;
}

.card-toggle[aria-expanded="true"] i {
    transform: rotate(180deg);
}

/* Dashboard page header (business + eStore dashboards) */
.dash-welcome {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
}

.dash-welcome__title {
    font-weight: 700;
    color: #2f3640;
}

.dash-welcome__sub {
    color: #8794a1;
    font-size: 13px;
}

.dash-welcome__date {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .07);
    /* same .25rem as AdminLTE's .btn, so it matches every other button in the project */
    border-radius: .25rem;
    padding: .35rem .9rem;
    font-size: 13px;
    color: #6b7785;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}
