.header-color{
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-success-rgb), var(--bs-bg-opacity)) !important;
}

.btn {
    border-radius: 25px;
}
.form-control {
    border-radius: 25px;
}
.form-select {
    border-radius: 25px;
}
.btn-secondary {
    width: 130px;
}
.very-small {
    font-size: .675em !important;
}
span.input-group-text {
    font-size: 0.8rem !important;
}
.bd-placeholder-img {
font-size: 1.125rem;
text-anchor: middle;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}
@media (min-width: 768px) {
.bd-placeholder-img-lg {
font-size: 3.5rem;
}
}
.b-example-divider {
width: 100%;
height: 3rem;
background-color: rgba(0, 0, 0, .1);
border: solid rgba(0, 0, 0, .15);
border-width: 1px 0;
box-shadow: inset 0 .5em 1.5em rgba(0, 0, 0, .1), inset 0 .125em .5em rgba(0, 0, 0, .15);
}
.b-example-vr {
flex-shrink: 0;
width: 1.5rem;
height: 100vh;
}
.bi {
vertical-align: -.125em;
fill: currentColor;
min-width: 1rem;
}
.nav-scroller {
position: relative;
z-index: 2;
height: 2.75rem;
overflow-y: hidden;
}
.nav-scroller .nav {
display: flex;
flex-wrap: nowrap;
padding-bottom: 1rem;
margin-top: -1px;
overflow-x: auto;
text-align: center;
white-space: nowrap;
-webkit-overflow-scrolling: touch;
}
.btn-bd-primary {
--bd-violet-bg: #712cf9;
--bd-violet-rgb: 112.520718, 44.062154, 249.437846;
--bs-btn-font-weight: 600;
--bs-btn-color: var(--bs-white);
--bs-btn-bg: var(--bd-violet-bg);
--bs-btn-border-color: var(--bd-violet-bg);
--bs-btn-hover-color: var(--bs-white);
--bs-btn-hover-bg: #6528e0;
--bs-btn-hover-border-color: #6528e0;
--bs-btn-focus-shadow-rgb: var(--bd-violet-rgb);
--bs-btn-active-color: var(--bs-btn-hover-color);
--bs-btn-active-bg: #5a23c8;
--bs-btn-active-border-color: #5a23c8;
}
.bd-mode-toggle {
z-index: 1500;
}
.bi {
display: inline-block;
width: 1rem;
height: 1rem;
}

/*
* Sidebar
*/

@media (min-width: 768px) {
.sidebar .offcanvas-lg {
    position: -webkit-sticky;
    position: sticky;
    top: 48px;
}
.navbar-search {
    display: block;
}
}

.sidebar .nav-link {
    font-size: .875rem;
    font-weight: 500;
    color: green;
}


.sidebar .nav-link.active {
    color: green;
    background: #97f1bc75;
}

.sidebar-heading {
font-size: .75rem;
}

/*
* Navbar
*/

.navbar-brand {
padding-top: .75rem;
padding-bottom: .75rem;
background-color: rgba(0, 0, 0, .25);
box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}

.navbar .form-control {
padding: .75rem 1rem;
}
/* Custom CSS */
.btn-custom {

    --bs-btn-color: #000;
    --bs-btn-bg: #ffc107;
    --bs-btn-border-color: #ffc107;
    --bs-btn-hover-color: #000;
    --bs-btn-hover-bg: #ffca2c;
    --bs-btn-hover-border-color: #ffc720;
    --bs-btn-hover-shadow-rgb: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-focus-shadow-rgb: 217, 164, 6;
    --bs-btn-active-color: #000;
    --bs-btn-active-bg: #ffcd39;
    --bs-btn-active-border-color: #ffc720;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #000;
    --bs-btn-disabled-bg: #ffc107;
    --bs-btn-disabled-border-color: #ffc107;
}


.btn-check:checked+.btn, .btn-check+.btn:hover {
    background: #ffc107;
    color: #fff;
    border: none;
    font-weight: 600;
    box-shadow: none;
}
.btn-outline-primary {
    border-color: #ffc107;
    color: #ffc107;
}
.required:after {
    content:" *";
    color: red;
}
.sort-button .hidden-sort {
    visibility: hidden !important;
}
.sort-button:hover .hidden-sort {
    visibility: visible !important;
}
/* Progress Bar */
.circle {
    display: inline-block;
    position: relative;
    text-align: center;
    vertical-align: top;
}
.circle strong {
    position: absolute;
    top: 40px;
    left: 0;
    width: 100%;
    text-align: center;
    line-height: 20px;
    font-size: 20px;
}
/* BG colors */
.bg-success {
    background-color: #78c98d !important;
}
.bg-danger {
    background-color: #f76e0f !important;
}
.progress, .progress-stacked {
    height: 20px !important;
}
@media only screen and (max-width: 600px) {
    .nav-link {
        padding: 10px;
    }
}
#more-menu:after {
    display: none !important;
}
[data-bs-theme="light"] .select2-container .select2-selection--single {
    height: 36px !important;
}
[data-bs-theme="light"] .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 34px !important;
    color: #212529 !important;
}
[data-bs-theme="light"] .select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 14px !important;
}
[data-bs-theme="light"] .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 33px !important;
    right: 8px !important;
}
[data-bs-theme="light"] .select2-container--default .select2-selection--single {
    border: 1px solid #dee2e6 !important;
    border-radius: 25px !important;
}
[data-bs-theme="light"] .select2-dropdown {
    border: 1px solid #dee2e6 !important;
    /* border-top: none !important; */
}
/* /Dark */
[data-bs-theme="dark"] .select2-container .select2-selection--single {
    height: 36px !important;
}
[data-bs-theme="dark"] .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 34px !important;
    color: #dee2e6 !important;
}
[data-bs-theme="dark"] .select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 14px !important;
}
[data-bs-theme="dark"] .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 33px !important;
    right: 8px !important;
}
[data-bs-theme="dark"] .select2-container--default .select2-selection--single {
    border: 1px solid #495057 !important;
    border-radius: 25px !important;
}
[data-bs-theme="dark"] .select2-container--default .select2-selection--single {
    background-color: #212529 !important;
}
[data-bs-theme="dark"] .select2-dropdown {
    background-color: #212529 !important;
    border: 1px solid #495057 !important;
    /* border-top: none !important; */
}
[data-bs-theme="dark"] .select2-container--default .select2-results__option--selected {
    background-color: #212529 !important;
    border: none !important;
}
.select2-container--default .select2-search--dropdown .select2-search__field {
    outline: none !important;
    border: none !important;
    background: inherit !important;
}
.select2-results__option {
    padding: 5px 15px !important;
}
.select2-search--dropdown {
    padding: 2px 10px !important;
}
.select2-container--open .select2-dropdown {
    /* top: -33px !important; */
}
.select2-container {
    /* width: 100% !important; */
}

/* Multi Select */
.select2-container--default .select2-selection--multiple {
    padding-top: 5px !important;
    border-radius: 5px;
    border-radius: 25px !important;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    border-right: none;
    padding: 0 7px;
}
.select2-container .select2-search--inline .select2-search__field {
    margin-top: 0 !important;
    height: 28px !important;
    margin-left: 15px !important;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice__display {
    padding-left: 15px !important;
    padding-right: 10px !important;
    margin-left: 1px !important;
    margin-bottom: 2px !important;
    margin-top: 2px !important;
}
.select2-container--default .select2-selection--multiple .select2-selection__choice {
    padding-left: 10px !important;
    padding-right: 10px !important;
    margin-left: 10px !important;
    margin-bottom: 2px !important;
    margin-top: 2px !important;
}
.select2-container .select2-selection--multiple {
    min-height: 37px;
}
[data-bs-theme="light"] .select2-container--default .select2-selection--multiple {
    border: 1px solid #dee2e6 !important;
}
[data-bs-theme="dark"] .select2-container--default .select2-selection--multiple {
    background-color: #212529 !important;
    border: 1px solid #495057 !important;
}
[data-bs-theme="dark"] .select2-container--default .select2-selection--multiple .select2-selection__choice {
    background-color: #495057 !important;
    border: 1px solid #495057 !important;
}
[data-bs-theme="dark"] .select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
    border: 1px solid #495057 !important;
}
.select-special .select2-container {
    margin-top: -8px;
}

.optInvisible{
    display: none;
}

.form-control[readonly]{
    background-color: var(--bs-secondary-bg);
    opacity: 1;
}

/*
* Always set the map height explicitly to define the size of the div element
* that contains the map.
*/
.user-address-map {
    height: 250px;
    width: 600px;
}

.infowindow-content {
    display: none;
}

.user-address-map .infowindow-content {
    display: inline;
}

.pac-input{
    min-width: 300px !important;
    min-height: 28px !important;
    height: 28px;
    font-size: 14px;
}

.select2-container{
    width: 100% !important;
    margin-right: .5rem !important;
    margin-bottom: .5rem !important;
}

.nav-link.setting.active {
    background-color: #198754 !important;
    color: white !important;
}
.nav-link.setting {
    background-color: #19875426 !important;
    color: black !important;
}
/* .form-check-input:checked {
    background-color: #198754;
    border-color: #198754;
}
.form-check-input:focus {
    border-color: #198754;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgb(159 205 184);
} */
#customers-div {
    /* height: 400px; */
    /* overflow-y: auto; */
    /* margin-bottom: 20px; */
  }
.load-preview {
    cursor: pointer;
}
.load-preview.active, .load-preview:hover {
    border: var(--bs-border-width) var(--bs-border-style) #198754 !important;
    background-color: #9fcdb854;
}
#template-list{
    height: 450px;
    overflow-y: auto;
}

/* Template Media Css */
.media-header {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Adjust the gap as needed */
    justify-content: flex-start; /* Align items to the start */
    align-items: flex-start; /* Align items to the top */
}

.media-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Adjust the gap as needed */
    flex-grow: 1;
}

.media-thumbnail,
.upload-container {
    flex: 0 0 23%; /* Fixed width for 4 items per row (adjust percentage as needed) */
    box-sizing: border-box;
    height: auto; /* Auto height */
    display: flex;
    justify-content: center;
    align-items: center;
}

.media-thumbnail img {
    max-width: 100%;
    max-height: 100%;
}

.upload-container {
    border: 2px dashed #ccc;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 135px;
}

.upload-icon-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.fs-25 {
    font-size: 25px;
    margin-bottom: 15px;
    margin-right: 10px;
}

/* Image Radio Button */

.media-thumbnail {
    position: relative;
    display: inline-block;
    margin-bottom: 10px; 
}
.image-radio {
    position: absolute !important;
    top: 4px !important; /* Adjust top position */
    left: 7px !important; /* Adjust right position */
}
.media-btn-group {
    position: absolute !important;
    top: 0px !important; /* Adjust top position */
    right: -5px !important; /* Adjust right position */
}
.image-radio:checked {
    background-color: green !important; /* Change background color to green */
    border-color: green !important; /* Change border color to green */
    box-shadow: 0 0 0 .25rem #19875438 !important;
}

.subtotal-tr{
   font-weight: 500 !important;
}
.fs-25 {
    font-size: 25px !important;
}

