﻿/*START Google Mapp*/
@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap");

.pac-container {
    z-index: 2000 !important; /* higher than Bootstrap modal (1050) */
}
/*END Google Mapp*/

:root {
    --header-height: 5rem;
    --nav-width: 100px;
    --footer-height: 54px;
    --first-color: #15b1d7;
    --first-color-light: #67d3ef;
    --second-color: #f97204;
    --second-color-light: #ffcba0;
    --third-color: #023d65;
    --third-color-light: #076caf;
    --white-color: #ffffff;
    --body-font: 'Nunito', sans-serif;
    --normal-font-size: 1rem;
    --z-fixed: 100;
}

.container-fluid {
    margin-bottom: 60px;
    padding-top: calc(var(--header-height) + 1rem);
}

.btn-primary {
    background: linear-gradient(45deg,#076caf,var(--first-color)) !important;
    color: var(--white-color);
    border-color: var(--first-color);
}

    .btn-check:active + .btn-primary, .btn-check:checked + .btn-primary, .btn-primary.active, .btn-primary:active, .show > .btn-primary.dropdown-toggle {
        background: linear-gradient(45deg,#0b81cf,var(--first-color)) !important;
        color: var(--white-color);
        border-color: var(--first-color-light);
    }

    .btn-check:focus + .btn-primary, .btn-primary:focus {
        background: linear-gradient(45deg,#0b81cf,var(--first-color)) !important;
        color: var(--white-color);
        border-color: var(--first-color-light);
        box-shadow: 0 0 0 0.1rem rgb(49 132 253 / 50%);
    }

    .btn-primary:hover {
        background: linear-gradient(45deg,#0b81cf,var(--first-color)) !important;
        color: var(--white-color);
        border-color: var(--first-color-light);
    }

.btn-outline-primary {
    background-color: #fff !important;
    color: var(--first-color) !important;
    border-color: var(--first-color) !important;
}

    .btn-outline-primary:hover {
        color: #fff !important;
        background: linear-gradient(45deg, #0b81cf, var(--first-color)) !important;
        border-color: var(--first-color-light) !important;
    }

.btn-status-80 {
    display: block;
    width: 80px !important;
    padding: .25rem .5rem;
    font-size: .875rem;
    border-radius: .2rem;
}

.input-group .btn {
    z-index: unset !important;
}

.form-control-sm {
    font-size: 1rem;
}

.form-control:focus {
    border-color: var(--first-color);
}

.form-check-input:checked {
    background-color: var(--first-color);
    border-color: var(--first-color);
}

.form-check-input:focus {
    border-color: var(--first-color-light);
}

.float-right {
    float: right !important;
}

.float-left {
    float: left !important;
}

a {
    color: var(--first-color);
    cursor: pointer;
}

    a:hover {
        color: var(--first-color-light);
    }

.text-default-color {
    color: var(--first-color);
}

.modelalert ul li {
    display: block;
}

.hide {
    display: none !important;
}

.loader {
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
}

    .loader .loaderspinner {
        height: 0;
        width: 0;
        padding: 15px;
        border: 6px solid #ccc;
        border-right-color: #1b6ec2;
        border-radius: 22px;
        -webkit-animation: rotate 1s infinite linear;
        position: absolute;
        left: 50%;
        top: 50%;
        z-index: 1;
    }

.modal-title {
    font-size: 22px;
    font-weight: bold;
    color: #076caf;
}

.box-card {
    background-color: #fff;
    width: 100%;
    -webkit-box-shadow: 0 2px 4px rgb(15 34 58 / 12%);
    box-shadow: 0 2px 10px 0 rgb(32 79 90);
    padding: 15px 15px;
    margin-bottom: 15px;
    border-radius: 3px;
}

.table-bordered thead {
    background-image: linear-gradient(to bottom,#F8F8F8 0,#ECECEC 100%);
}

/*AutoComplete Start*/
.autocomplete {
    /*the container must be positioned relative:*/
    position: relative;
    display: inline-block;
}

.autocomplete-items {
    /*position: absolute;*/
    border: 1px solid #d4d4d4;
    border-bottom: none;
    border-top: none;
    z-index: 99;
    top: 100%;
    left: 0;
    right: 0;
    height: auto;
    max-height: 200px;
    overflow-y: scroll;
    box-shadow: 0 2px 4px rgb(15 34 58 / 12%);
    background: var(--white-color);
}

    .autocomplete-items div {
        font-weight: normal;
        display: block;
        white-space: nowrap;
        min-height: 1.2em;
        padding: 0px 2px 1px;
    }

        .autocomplete-items div:hover {
            background-color: #1e90ff;
        }

.autocomplete-active {
    background-color: DodgerBlue !important;
    color: #ffffff;
}
/*AutoComplete End*/

/*Switch Start*/
.onoffswitch {
    position: relative;
    width: 100px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    text-align: left;
}

.onoffswitch-checkbox {
    display: none;
}

.onoffswitch-label {
    display: block;
    overflow: hidden;
    cursor: pointer;
    /*border: 2px solid #999999;*/
    border-radius: 20px;
}

.onoffswitch-inner {
    display: block;
    width: 200%;
    margin-left: -100%;
    transition: margin 0.3s ease-in 0s;
}

    .onoffswitch-inner:before, .onoffswitch-inner:after {
        display: block;
        float: left;
        width: 50%;
        height: 30px;
        padding: 0;
        line-height: 30px;
        font-size: 14px;
        color: white;
        font-family: Trebuchet, Arial, sans-serif;
        font-weight: bold;
        box-sizing: border-box;
    }

    .onoffswitch-inner:before {
        padding-left: 10px;
        background: linear-gradient(45deg,#076caf,var(--first-color));
    }

    .onoffswitch-inner:after {
        padding-right: 10px;
        background: linear-gradient(45deg,#fa7204,#f08e3d);
        text-align: right;
    }

.onoffswitch-switch {
    display: block;
    width: 18px;
    margin: 6px;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 70px;
    border: 5px solid #fff;
    border-radius: 50px;
    transition: all 0.3s ease-in 0s;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}

.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
    right: 0px;
}

.active-deactive:before {
    content: "Active";
}

.active-deactive:after {
    content: "Deactive";
}
/*Switch End*/

/*Font Awesome Start*/

.fa-edit, .fa-pencil-alt, .fa-eye, .fa-arrow-alt-circle-left, .fa-times-circle, .fa-camera, .fa-copy, .fa-share, .fa-info-circle, .fa-filter, .fa-sliders-h {
    color: #076caf;
    cursor: pointer;
}

.fa-check-double {
    color: #008000;
    cursor: pointer;
}

.fa-trash, .fa-file-pdf {
    color: #f87205;
    cursor: pointer;
}

.fa-times {
    color: red;
    cursor: pointer;
}

.fa-cogs {
    color: #076caf;
    cursor: pointer;
}

.fa-file-excel {
    color: green;
    cursor: pointer;
}

.btn-primary .fa-times,
.btn-primary .fa-filter {
    color: #fff;
    cursor: pointer;
}

.btn-primary .fa-copy {
    color: #fff;
    cursor: pointer;
}

.btn-new {
    color: #fff;
    background-color: var(--second-color);
    border-color: var(--second-color);
}
/*Font Awesome End*/
/*DatePicker Start*/
.ui-widget.ui-widget-content {
    border: 1px solid var(--first-color);
}

.ui-widget-header {
    border: 1px solid #ddd;
    background: var(--first-color);
    color: #fff;
    font-weight: 700;
}

.ui-datepicker-trigger {
    width: 2.5rem;
    border: 1px solid #ced4da;
    background-color: transparent;
    color: var(--first-color);
}

button.ui-datepicker-trigger:disabled {
    background-color: #e9ecef;
}
/*DatePicker End*/

/*.ng-valid {
    border-left: 2px solid #090;
}

.ng-invalid {
    border-left: 2px solid #900;
}*/

.ui-autocomplete {
    z-index: 9999 !important;
}

/*Start Floating Label*/

.floatinglabel {
    position: relative;
}

    .floatinglabel > .form-label,
    .floatinglabel > .input-group > .form-label {
        z-index: 3;
        position: absolute;
        font-size: 1rem;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        background-color: white;
        color: #686868;
        padding: 0;
        margin: 0 .75rem !important;
        transition: 0.1s ease-out;
        transform-origin: left top;
        pointer-events: none;
    }

    .floatinglabel > textarea + .form-label {
        top: 19px;
    }

    .floatinglabel > input,
    .floatinglabel > .input-group > input,
    .floatinglabel > select,
    .floatinglabel > textarea {
        height: 36px;
        font-size: 1rem;
        /*font-weight: 600;*/
        outline: none;
        border-radius: 5px;
        /*color: gray;*/
        transition: 0.1s ease-out;
    }

    .floatinglabel > .input-group > .search-btn,
    .floatinglabel > .input-group > .location-search-btn {
        width: 42px;
        height: 36px;
        font-size: 1rem;
        border-radius: 0.25rem !important;
        border-bottom-left-radius: 0 !important;
        border-top-left-radius: 0 !important;
    }

    .floatinglabel > .input-group > button {
        height: 36px;
        font-size: 1rem;
        border-radius: 0.25rem !important;
        border-bottom-left-radius: 0 !important;
        border-top-left-radius: 0 !important;
    }

    .floatinglabel > .input-group > .search-btn > .svg-inline--fa {
        width: 16px;
    }

    .floatinglabel > input:focus,
    .floatinglabel > .input-group > input:focus,
    .floatinglabel > select:focus,
    .floatinglabel > textarea:focus,
    .floatinglabel > .select2-container--default.select2-container--open .select2-selection__rendered {
        /*border-color: #076caf;*/
        border: 1px solid #076caf;
        box-shadow: unset;
    }

        .floatinglabel > input:focus + .form-label,
        .floatinglabel > input:not(:placeholder-shown) + .form-label,
        .floatinglabel > .input-group > input:focus ~ .form-label,
        .floatinglabel > .input-group > input:not(:placeholder-shown) ~ .form-label,
        .floatinglabel > select:focus + .form-label,
        .floatinglabel > select:not(:placeholder-shown) + .form-label,
        .floatinglabel > textarea:focus ~ .form-label,
        .floatinglabel > textarea:not(:placeholder-shown) ~ .form-label,
        .floatinglabel > span.form-control ~ .form-label,
        .floatinglabel > .star-rating + .form-label {
            position: absolute;
            top: 2px;
            transform: translateY(-50%) scale(0.8) !important;
            padding: 0 0.3rem;
            color: #686868;
            background: #fff;
        }

    .floatinglabel > input:not(:focus)::placeholder,
    .floatinglabel > .input-group > input:not(:focus)::placeholder,
    .floatinglabel > textarea:not(:focus)::placeholder {
        opacity: 0;
    }

    .floatinglabel > .select2-container--default + .form-label,
    .floatinglabel > .input-group > .select2-container--default ~ .form-label {
        top: 3px;
        transform: translateY(-50%) scale(0.8) !important;
    }

    /*.floatinglabel > .select2-container--default.select2-container--open + .form-label,
    .floatinglabel > .select2-container--default > .select2-selection--single > .selection > .select2-selection > .select2-selection__rendered[title]:not([title=""]) + .form-label {
        top: 3px;
        transform: translateY(-50%) scale(0.8);
    }*/

    .floatinglabel > .input-group ~ .form-label {
        top: 3px;
        transform: translateY(-50%) scale(0.8) !important;
    }

    .floatinglabel > .svg-inline--fa,
    .floatinglabel > span > .svg-inline--fa {
        position: absolute;
        right: 2px;
        width: 36px;
        height: 36px;
        font-size: 16px;
        color: #0874b3;
        text-align: center;
        line-height: 36px;
        border-left: 1px solid #ddd;
        padding: 5px;
        /*pointer-events: none;*/
    }

    .floatinglabel > .input-group > input.hasDatepicker[readonly] ~ .form-label,
    .floatinglabel > .input-group > input.hasDatepicker:disabled ~ .form-label {
        background: #fff;
    }

    .floatinglabel > input[readonly] + .form-label,
    .floatinglabel > input:disabled + .form-label,
    .floatinglabel > .input-group > input[readonly] ~ .form-label,
    .floatinglabel > .input-group > input:disabled ~ .form-label,
    .floatinglabel > select[readonly] + .form-label,
    .floatinglabel > select:disabled + .form-label,
    .floatinglabel > textarea[readonly] ~ .form-label,
    .floatinglabel > textarea:disabled ~ .form-label,
    .floatinglabel > .input-group > button.ui-datepicker-trigger[readonly] + .form-label,
    .floatinglabel > .input-group > button.ui-datepicker-trigger:disabled + .form-label {
        background: linear-gradient(to bottom, #fff 50%, #e9ecef 50%);
    }

    .floatinglabel > input[readonly]:placeholder-shown + .form-label,
    .floatinglabel > input:disabled:placeholder-shown + .form-label,
    .floatinglabel > .input-group > input[readonly]:placeholder-shown + .form-label,
    .floatinglabel > .input-group > input:disabled:placeholder-shown + .form-label,
    .floatinglabel > select[readonly]:placeholder-shown + .form-label,
    .floatinglabel > select:disabled:placeholder-shown + .form-label,
    .floatinglabel > textarea[readonly]:placeholder-shown + .form-label,
    .floatinglabel > textarea:disabled:placeholder-shown + .form-label,
    .floatinglabel > .input-group > button.ui-datepicker-trigger[readonly]:placeholder-shown + .form-label,
    .floatinglabel > .input-group > button.ui-datepicker-trigger:disabled:placeholder-shown + .form-label {
        background: #e9ecef;
    }

    /*START Select2*/
    .floatinglabel > .input-group > .select2-container--default .select2-selection--single {
        height: 36px !important;
        line-height: 36px;
    }

    .floatinglabel > .select2-container--default.select2-container--disabled + .form-label {
        background: linear-gradient(to bottom, #fff 50%, #e9ecef 50%);
    }

    .floatinglabel > .select2-container--default .select2-selection--single {
        height: 36px !important;
        line-height: 36px !important;
        font-size: 1rem;
        outline: none;
        border-radius: 5px;
        color: gray;
        transition: 0.1s ease-out;
    }

        .floatinglabel > .select2-container--default .select2-selection--single .select2-selection__arrow {
            height: 36px !important;
            line-height: 36px !important;
        }

        .floatinglabel > .select2-container--default .select2-selection--single .select2-selection__rendered {
            height: 36px !important;
            line-height: 36px !important;
        }

    .floatinglabel > .input-group > .select2-container--default .select2-selection--single .select2-selection__arrow {
        height: 36px !important;
        line-height: 36px !important;
    }

    .floatinglabel > .input-group > .select2-container--default .select2-selection--single .select2-selection__rendered {
        height: 36px !important;
        line-height: 36px !important;
    }
/*END Select2*/
/*End Floating Label*/

.m-none {
    margin: 0px !important;
}

.p-none {
    padding: 0px !important;
}

.m-p-none {
    margin: 0px !important;
    padding: 0px !important;
}

.p-left-right-5 {
    padding: 0px 5px !important;
}

.form-control:disabled + .form-label {
    background-color: #e9ecef;
}

.br-1-first-color {
    border-right: 1px solid var(--first-color);
}

.b-1-first-color {
    border: 1px solid var(--first-color);
}

.b-2-first-color {
    border: 2px solid var(--first-color);
}

.b-3-first-color {
    border: 3px solid var(--first-color);
}

.br-1-gray {
    border-right: 1px solid #00000020;
}

.b-1-gray {
    border: 1px solid #00000020;
}

.b-2-gray {
    border: 2px solid #00000020;
}

.b-3-gray {
    border: 3px solid #00000020;
}

.border-radius-10 {
    border-radius: 10px;
}

.border-radius-15 {
    border-radius: 15px !important;
}

.border-radius-30 {
    border-radius: 30px;
}

.cursor-auto {
    cursor: auto;
}

.cursor-default {
    cursor: default;
}

.cursor-pointer {
    cursor: pointer;
}

.cursor-wait {
    cursor: wait;
}

.cursor-text {
    cursor: text;
}

.cursor-move {
    cursor: move;
}

.cursor-help {
    cursor: help;
}

.cursor-not-allowed {
    cursor: not-allow;
}

.bg-first-color {
    background: var(--first-color) !important;
}

.bg-first-color-light {
    background: var(--first-color-light) !important;
}

.c-first-color {
    color: var(--first-color) !important;
}

.c-first-color-light {
    color: var(--first-color-light) !important;
}

.c-second-color {
    color: var(--second-color) !important;
}

.c-second-bg-color {
    background-color: var(--second-color) !important;
}

.bg-third-color {
    background-color: var(--third-color) !important;
}

.border-first-color {
    border: 1px solid var(--first-color) !important;
}

.b-third-3 {
    border: 2px solid var(--third-color) !important;
}

.b-white-3 {
    border: 2px solid var(--white-color) !important;
}


/*.form-control {
    border-radius: 20px;
}*/
.table-box-shadow {
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.4);
}

/*table th:first-child {
    border-radius: 10px 0 0 10px;
}

table th:last-child {
    border-radius: 0 10px 10px 0;
}*/

table.stickyheader thead {
    position: sticky;
    top: 0;
    z-index: 3;
}

.theadcolored thead {
    background: linear-gradient(45deg,#076caf,var(--first-color));
    color: #fff;
}

.table-content-center th, td {
    padding: 4px !important;
    vertical-align: middle;
    text-align: center;
}

.table {
    font-size: .9rem;
    text-wrap: nowrap;
}

.sticky-columns {
    position: sticky;
}

nav ul {
    padding: 0px !important;
    list-style: none;
}

.arrow-right {
    border: solid var(--white-color);
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.arrow-left {
    border: solid var(--white-color);
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}

.arrow-up {
    border: solid var(--white-color);
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
}

.arrow-down {
    border: solid var(--white-color);
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}

.btn-add {
    background: linear-gradient(45deg,var(--first-color),var(--first-color-light)) !important;
    color: #fff !important;
    height: 45px;
    font-size: 20px;
    padding: 0;
    width: 50px;
    line-height: 15px;
    text-align: center;
}

.br-50 {
    border-radius: 50px;
}

.br-title {
    margin: 0px;
    margin-top: -12.5px;
}

.bg-white-color {
    background-color: var(--white-color);
}

.white-color {
    color: var(--white-color);
}

.black-bolder {
    color: #000;
    font-weight: bolder;
}

.box-shadow {
    box-shadow: rgb(254, 254, 254) 11px 0px 0px, rgb(254, 254, 254) -13px 0px 0px;
}

.modal-fullscreen {
    padding: 50px 50px 0px 50px;
}

.btn-secondary {
    color: #fff;
    background: linear-gradient(45deg,#fa7204,#f08e3d);
    border-color: #fa7204;
}

    .btn-secondary:hover {
        color: #fff;
        background: linear-gradient(45deg,#fa7204,#ffa55a);
        border-color: #fa7204;
    }

.text-black {
    color: black;
}

.form-check-input[type=checkbox]:indeterminate {
    background-color: #076caf;
    border-color: #fff !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10h8'/%3e%3c/svg%3e");
}

.first-color {
    color: var(--first-color);
}

.first-color-light {
    color: var(--first-color-light);
}

.second-color {
    color: var(--second-color);
}

.third-color {
    color: var(--third-color);
}

.third-color-light {
    color: var(--third-color-light);
}

.form-label {
    font-weight: 600;
    color: #1e293b;
    font-size: 0.9rem;
}

/*START Checkbox Group Item*/
.checkbox-group {
    display: flex;
    flex-wrap: wrap; /* allows wrapping */
    gap: 10px; /* spacing between boxes */
}

    .checkbox-group > .checkbox-item {
        display: flex;
        align-items: center;
        gap: 6px;
        background: #f8f9fa;
        border: 2px solid #076caf;
        border-radius: 8px;
        padding: 4px 12px;
        transition: background 0.2s ease, border-color 0.2s ease;
        white-space: nowrap; /* keeps text in one line */
        user-select: none;
        z-index: 1;
    }

        .checkbox-group > .checkbox-item:hover {
            background: #e9ecef;
            border-color: #076caf;
            transform: translateY(-1px);
        }

            .checkbox-group > .checkbox-item:has(input[type="checkbox"]:disabled),
            .checkbox-group > .checkbox-item:hover:has(input[type="checkbox"]:disabled) {
                background: #e9ecef;
                border-color: #9b9d9f;
                transform: unset;
            }

        .checkbox-group > .checkbox-item input[type="checkbox"] {
            width: 1.3em;
            height: 1.3em;
            border-width: 2px;
            border-color: #076caf;
            border-radius: 50%;
            margin: 0px !important;
            accent-color: var(--first-color);
            transform: scale(1.1);
        }

        .checkbox-group > .checkbox-item input:checked[type=checkbox] {
            background-color: #076caf;
            border-color: #fff;
            border-radius: 50%;
        }

        .checkbox-group > .checkbox-item label {
            cursor: pointer;
        }

        .checkbox-group > .checkbox-item:has(input:checked) {
            background: linear-gradient(45deg, #076caf, var(--first-color));
            border-color: var(--first-color);
            color: #fff;
            box-shadow: 0 0 6px rgba(0, 123, 255, 0.5);
        }

/* Responsive behavior */
@media (max-width: 768px) {
    .checkbox-group {
        gap: 8px;
    }

        .checkbox-group > .checkbox-item {
            flex: 0 1 auto; /* keeps them inline but wraps as needed */
        }
}
/*END Checkbox Group Item*/

/*START Width*/
.w-10 {
    width: 10% !important;
}

.w-20 {
    width: 20% !important;
}

.w-40 {
    width: 40% !important;
}

.w-45 {
    width: 45% !important;
}
/*END Width*/
