html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

.form-group.required .ag-label:after {
    content: "*";
    color: red;
}

th.bg-colour {
    background-color: #f9bf8f;
    color: black !important
}

th.bg-receive {
    background-color: #4cacc5;
    color: black !important
}

.search-btn {
    margin-top: 28px;
}

body {
    margin-bottom: 0px;
}

p {
    text-transform: capitalize;
}

.ag-edit-td-button {
    display: flex;
    grid-gap: 8px;
}

.cursor {
    cursor: pointer;
}

span.notification {
    background: #1fa2ec;
    width: 24px;
    color: white;
    border-radius: 100%;
    padding: 2px;
    font-size: 10px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    right: -40%;
    top: -50%;
    transform: translate(0%, 40%);
    position: absolute;
}

.progressbar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    /*    width: 50%;*/
    font-size: 15px;
}

.carousel-item img {
    height: 100%;
    width: 100%;
    max-height: 500px;
    object-fit: contain;
}
/*.loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-top: -25px;
    margin-left: -25px;
}*/

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}


.select2-selection {
    border: 1px solid var(--border-skyblue) !important;
    border-radius: 8px !important;
    background-color: var(--bg-light-black) !important;
    padding: 7px 15px !important;
    color: var(--text-color) !important;
    font-size: 14px;
    line-height: 20px !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    transition: all 0.3s ease-in-out !important;
    display: block !important;
    width: 100% !important;
    background-clip: padding-box !important;
    min-height: 38px;
}

    .select2-selection .select2-selection__rendered {
        line-height: inherit !important;
        padding-right: 0px !important;
        padding-left: 0px !important;
    }

    .select2-selection .select2-selection__arrow {
        height: 38px !important;
    }

.select2-container .select2-search--inline .select2-search__field {
    margin-top: 0px !important;
}

/*.select2-container--default .select2-selection--multiple .select2-selection__choice{
    margin-top:0px !important;
}*/

.select2-container--default .select2-selection--multiple .select2-selection__clear {
    margin-top: 0px !important;
}

.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: #1967d2 !important;
}

.ui-datepicker {
    z-index: 9999 !important;
}

.table-responsivefull.ag-team-table {
    max-height: calc(100vh - 224px);
    overflow-y: auto;
}

.SelectWithSelectAll {
    max-width: 100% !important;
    width: 550px !important;
}

.vscomp-toggle-button {
    padding: 10px 30px 10px 10px;
    border-radius: 5px;
}

.video_div {
    height: 500px;
    width: 100%;
}

/* CSS for spinner */
.spinner {
    /*    position: absolute;*/
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #7983ff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    display: none;
}

.carousel-control-next, .carousel-control-prev {
    background: black;
    height: fit-content;
    width: fit-content;
    top: 50%;
    transform: translate(0, -50%);
    border-radius: 4px;
    padding: 4px;
}

.bill-view p {
    border: 1px solid #e7e4e4;
    border-radius: 4px;
    padding: 4px 10px;
    box-shadow: 2px 1px 6px #e9e6e6;
}

.imagelist {
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 15px
}

.preview-image {
    max-width: 50px;
    max-height: 200px;
    margin: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px;
    position: relative; /* Position relative for close button positioning */
}

.close-button {
    top: 5px;
    right: 5px;
    background-color: rgba(255, 255, 255, 0.8);
    color: #888;
    border: none;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    cursor: pointer;
}

    .close-button:hover {
        background-color: rgba(255, 0, 0, 0.8); /* Change color on hover */
        color: #fff;
    }

/*==========================highchart================================*/
#container {
    height: 400px;
}

.highcharts-figure,
.highcharts-data-table table {
    background: white;
    border-radius: 20px;
    padding: 15px;
}

#sliders td input[type="range"] {
    display: inline;
}

#sliders td {
    padding-right: 1em;
    white-space: nowrap;
}

.highcharts-root {
    /*border-radius: 20px;*/
}

.highcharts-exporting-group {
    display: none;
}

.highcharts-background {
    fill: transparent;
}

.button.button-outline-blue {
    color: #0b12f1;
    border: 1px solid #0b12f1;
    border-radius: 100px;
    background-color: var(--input-button-green);
    padding: 5px 10px;
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
    height: auto;
    width: max-content;
}

#headWiseSchemedData, #categoryWiseSchemedData {
    display: none;
    position: absolute;
    background-color: var(--background-color);
    max-height: 70%;
    text-align: center;
    overflow: overlay;
    border-radius: 5px;
    z-index: 1;
    margin-top: 1%;
    padding: 2px 5px;
}

.galleryContainer {
    height: 500px;
    overflow: scroll;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

        .galleryContainer > .d-inline img {
            width: 350px;
            height: 250px;
            object-fit: contain;
        }
