.card-body {
    padding-top: 1.5rem;
}

.spinner-grow {
    background: #57b33b;
}

.modal-content {
    background: #fff;
}

.custom-img {
    width: auto;
    height: 80px;
}

.bg-green {
    background: #57b33b !important;
}

.text-green {
    color: #57b33b !important;
}

.btn-green {
    color: #fff !important;
    background-color: #57b33b;
    border: 2px solid #57b33b !important;
    box-shadow: 0 10px 20px -10px #57b33b;
}

.btn-green:hover,
.btn-green:focus {
    color: #000 !important;
    background-color: white !important;
    box-shadow: none;
    border: 2px solid #57b33b !important;
}

#content {
    margin-top: 88px;
}

.dataTables_length {
    margin-bottom: 1rem;
}

div.dataTables_wrapper div.dataTables_filter input {
    width: auto;
}

.dataTables_info {
    margin-top: 1rem;
}
.dataTables_paginate {
    width: 100%;
}

.dataTables_paginate .pagination {
    padding-top: 1rem;
    width: 100%;
}

.invalid-feedback {
    display: block;
}

.form-control,
.form-select {
    padding: 0.55rem 1.25rem;
    background-size: 0 !important;
}

.select2-container {
    /* width: 100% !important; */
    flex-grow: 1;
    border-radius: 6px;
    display: block !important;
}

.select2-container .select2-selection--single {
    height: 100% !important;
    border-color: #aaa !important;
}

.select2-selection__arrow {
    width: 40px !important;
    height: 100% !important;
    top: 0 !important;
    right: 0 !important;
    border: 1px solid #aaa !important;
}

.avatar-5xl {
    width: 10rem;
    height: 10rem;
}

.overlay-icon {
    position: absolute;
    height: 50%;
    width: 100%;
    bottom: 0;
    opacity: 0;
    -webkit-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    background-color: #02020278;
}

.flex-center {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}

.avatar:hover .overlay-icon {
    opacity: 1;
}

.bg-holder.overlay-0::before {
    background: rgba(0, 0, 0, 0.7);
}

.bg-holder.overlay::before {
    position: absolute;
    content: "";
    background: rgba(0, 0, 0, 0.25);
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.fs--1 {
    font-size: 0.8333333333rem !important;
}

.fs--2 {
    font-size: 0.7333333333rem !important;
}

.required {
    color: tomato;
}

.form-switch .form-check-input:checked {
    background-position: right center;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
    background-color: #57b33b;
    border-color: rgb(29, 141, 29);
    outline-color: rgb(14, 110, 14);
}

.card .card-header {
    background-color: #ddf5f0;
    border-color: #57b33b !important;
}

.waves-effect {
    font-size: 0.8rem;
    font-weight: 800;
}

.fa-regular,
.far {
    font-weight: 600;
}

.card-header h4,
.card-header h5,
.card-header h6 {
    color: #3b3f5c;
    font-weight: 600;
    margin: 0;
    margin-bottom: 0px;
}

.form-label,
label {
    font-size: 15px;
    color: #0e1726;
    letter-spacing: 1px;
    display: inline-block;
    /* margin-bottom: 0.3rem;
    margin-top: 0.5rem; */
}

#sidebar .theme-brand div.theme-logo {
    width: 40px !important;
    height: 40px !important;
}

/* #sidebar .theme-brand div.theme-text {
    width: 185px !important;
    height: 80px !important;
} */

#sidebar .theme-brand div.theme-text img,
#sidebar .theme-brand div.theme-logo img {
    width: 100% !important;
    max-height: 40px;
    object-fit: contain;
}

#sidebar ul.menu-categories li.menu > .dropdown-toggle i {
    color: #215438;
    fill: rgba(136, 142, 168, 0.1);
    margin-right: 6px;
    vertical-align: middle;
    width: 20px;
    height: 20px;
    stroke-width: 1.8;
}

#sidebar ul.menu-categories li.menu > .dropdown-toggle i.fa-chevron-right {
    font-size: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#sidebar ul.menu-categories li.menu > .dropdown-toggle:hover,
#sidebar ul.menu-categories li.menu.active > .dropdown-toggle {
    background-color: #57b33b !important;
    color: #fff;
}

#sidebar ul.menu-categories ul.submenu > li.active:before {
    background-color: #57b33b !important;
}

#sidebar ul.menu-categories li.menu ul.submenu > li.active a:hover {
    color: #fff !important;
}

/* #sidebar ul.menu-categories li.menu ul.submenu > li a:before {
    background-color: transparent !important;
} */

/* #sidebar ul.menu-categories li.menu ul.submenu > li a {
    margin: 0 16px;
} */

#sidebar ul.menu-categories li.menu ul.submenu > li a:hover:before,
#sidebar ul.menu-categories li.menu ul.submenu > li.active a:hover:before {
    background: #57b33b !important;
    box-shadow: 0 0 0px 2px rgba(87, 179, 59, 0.431372549);
    border: none;
}

#sidebar ul.menu-categories li.menu ul.submenu > li a:hover {
    color: #57b33b !important;
}

#sidebar ul.menu-categories li.menu.active > .dropdown-toggle i,
#sidebar ul.menu-categories li.menu.active > .dropdown-toggle span,
#sidebar
    ul.menu-categories
    li.menu
    > .dropdown-toggle[aria-expanded="true"]:hover
    i {
    color: #fff !important;
}

#sidebar ul.menu-categories li.menu > .dropdown-toggle,
#sidebar ul.menu-categories li.menu > .dropdown-toggle i:not(.badge-icon),
#sidebar ul.menu-categories ul.submenu > li a,
#sidebar
    ul.menu-categories
    li.menu
    > .dropdown-toggle[aria-expanded="true"]
    span {
    color: #fff !important;
    /* overflow: visible !important; */
}

.img-group img {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: 2px solid #e0e6ed;
}

.img-group-show img {
    min-width: 46px;
    max-width: 100px;
    height: 46px;
    border-radius: 12px;
    border: 2px solid #e0e6ed;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "\f105";
    font-family: "Font Awesome 6 Pro";
    font-weight: 400;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
}

.user-info h2 {
    font-size: 32px;
    font-weight: 600;
    color: #57b33b;
}

.user-info .contacts-block li {
    margin-bottom: 2px;
    color: #215438;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    justify-content: start;
    align-items: center;
}

.user-info .contacts-block li:hover {
    color: #57b33b;
    text-decoration: none;
}

.nav-link:focus,
.nav-link:hover {
    color: #57b33b;
}

.navbar
    .navbar-item
    .nav-item.user-profile-dropdown
    .dropdown-menu
    .dropdown-item:hover
    a {
    color: #fff;
    background: #57b33b;
}

@media (max-width: 575.98px) {
    .user-info .contacts-block li {
        justify-content: center;
    }
    .user-info h2 {
        text-align: center;
        margin-top: 1rem;
    }
}

.avatar-profile .fa-edit {
    position: absolute;
    top: 5px;
    right: 5px;
    font-size: 20px;
    background: transparent;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
}

.rounded-box {
    border-radius: 10px;
}

.custom-switch .switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

/* Hide default HTML checkbox */
.custom-switch .switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

/* The slider */
.custom-switch .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

.custom-switch .slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: 0.4s;
    transition: 0.4s;
}

.custom-switch input:checked + .slider {
    background-color: #57b33b;
}

.custom-switch input:focus + .slider {
    box-shadow: 0 0 1px #57b33b;
}

.custom-switch input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded sliders */
.custom-switch .slider.round {
    border-radius: 34px;
}

.custom-switch .slider.round:before {
    border-radius: 50%;
}

#overlay {
    position: fixed;
    top: 0;
    z-index: 10000;
    width: 100%;
    height: 100%;
    display: none;
    background: rgba(0, 0, 0, 0.6);
}
#overlay .cv-spinner {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
#overlay .cv-spinner .spinner {
    width: 40px;
    height: 40px;
    border: 4px #ddd solid;
    border-top: 4px #57b33b solid;
    border-radius: 50%;
    animation: sp-anime 0.8s infinite linear;
}
@keyframes sp-anime {
    100% {
        transform: rotate(360deg);
    }
}
.is-hide {
    display: none;
}

.btn.btn-icon {
    padding: 1.5px 1rem;
}

.btn.btn-icon i {
    font-size: 20px;
}

.avatar:hover input:disabled + .overlay-icon {
    opacity: 0;
    cursor: auto;
}

.pointer {
    cursor: pointer;
}

.swal-title {
    padding: 0 !important;
}

.swal-footer {
    text-align: center;
}

.swal-footer {
    margin-top: 0 !important;
}

.table:not(.dataTable) thead tr th:last-child {
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.table:not(.dataTable) thead tr th:first-child {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.table-striped:not(.dataTable) > tbody > tr:nth-of-type(2n + 1) td:last-child,
.table-striped:not(.dataTable) > tbody > tr:nth-of-type(2n + 1) td:first-child {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

.form-control,
.form-select {
    padding: 0.55rem 1.25rem;
}

table.dataTable thead .sorting::after,
table.dataTable thead .sorting_asc::after,
table.dataTable thead .sorting_desc::after,
table.dataTable thead .sorting_asc_disabled::after,
table.dataTable thead .sorting_desc_disabled::after {
    right: 0;
    content: "";
}

table.dataTable thead .sorting::before,
table.dataTable thead .sorting_asc::before,
table.dataTable thead .sorting_desc::before,
table.dataTable thead .sorting_asc_disabled::before,
table.dataTable thead .sorting_desc_disabled::before {
    right: 0;
    content: "";
}

.page-item.active .page-link {
    background-color: #57b33b;
}

div.dataTables_wrapper div.dataTables_info {
    color: #8d8f92;
    border: none;
}

.navbar-logo {
    filter: brightness(0%);
}

label.error {
    font-size: small;
    color: #dc3545;
}

.swal-text {
    text-align: center;
}

.swal-footer {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    align-items: center;
}

.user-details {
    padding-left: 0 !important;
    padding-right: 0 !important;
    justify-content: start !important;
    gap: 10px;
}

.user-details .avatar-sm {
    min-width: 50px;
}

.object-fit-cover {
    -o-object-fit: cover !important;
    object-fit: cover !important;
}

.avatar-xxl {
    width: 7.125rem;
    height: 7.125rem;
    font-size: 1.70833rem;
}

.badge.eye {
    position: absolute;
    z-index: 2;
    right: -15px;
    top: -15px;
    font-weight: 600;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    padding: 2px 0px;
    font-size: 12px;
    justify-content: center;
    align-items: center;
    display: flex;
}

/* Widget Css For Dashboard */
.widget {
    position: relative;
    border-radius: 6px;
    border: none;
    background: #fff;
    border: 1px solid #e0e6ed;
    box-shadow: 0 0 40px 0 rgba(94, 92, 154, 0.06);
}

.widget.widget-six {
    padding: 22px 18px;
    background: #fff;
}

.widget.widget-six .w-chart {
    display: flex;
}

.widget.widget-six .w-chart .w-chart-section {
    width: 50%;
}

.widget.widget-six .w-chart .w-chart-section .w-title {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 0;
    color: #215438;
}

.widget.widget-six .w-chart .w-chart-section .w-stats {
    font-size: 20px;
    letter-spacing: 1px;
    margin-bottom: 0;
    font-weight: 600;
}

.scrollable-box {
    border: 1px solid #ccc;
    padding: 10px;
    border-radius: 5px;
}

.form-check {
    margin-bottom: 10px;
}

.nav-tabs .nav-link.active {
    color: #57b33b !important;
}

.table-bordered td {
    border-width: 1px !important;
}

.tooltip-inner {
    background-color: #333;
    color: #fff;
    padding: 10px 15px;
    font-size: 14px;
    border-radius: 5px;
    text-align: left;
    max-width: 200px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.tooltip-arrow {
    border-top-color: #333 !important;
}

[data-bs-toggle="tooltip"] {
    cursor: pointer;
}

.orderview-img {
    max-width: 80px;
    max-height: 80px;
}

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