:root {
    --mainColor: #0863c6;
    --mainColorLight: rgb(15 104 211 / 68%);
    --mainColorLightTwo: hsl(211deg 88% 42% / 25%);
    /* --mainColor: #0C97D7; */
    --mainBg: #0f68c885;
    /* --mainHover: #7bd5ff54; */
    --mainHover: hsl(211deg 89% 41% / 33%);
}

body {
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
}

a {
    color: var(--mainColor);
    text-decoration: none;
}

a:hover {
    color: var(--mainColor);
    text-decoration: none;
}

.btn-primary {
    border-color: var(--mainColor) !important;
    background-color: var(--mainColor) !important;
}

.btn-primary:focus,
.btn-primary:active,
.btn-primary.active {
    color: #fff;
    background-color: var(--mainColor) !important;
    box-shadow: var(--mainBg);
}

.btn-outline-primary {
    border: 1px solid var(--mainColor) !important;
    background-color: transparent;
    color: var(--mainColor);
}

.btn-outline-primary.show.dropdown-toggle {
    background-color: var(--mainHover);
    color: var(--mainColor) !important;
}

.btn-outline-primary:hover:not(.disabled):not(:disabled) {
    background-color: var(--mainHover);
    color: var(--mainColor) !important;
}

.btn-outline-primary:not(:disabled):not(.disabled):active,
.btn-outline-primary:not(:disabled):not(.disabled).active,
.btn-outline-primary:not(:disabled):not(.disabled):focus {
    background-color: var(--mainHover);
    color: var(--mainColor) !important;
}

.btn-check:active+.btn-outline-primary:focus,
.btn-check:checked+.btn-outline-primary:focus,
.btn-check:focus+.btn-outline-primary,
.btn-outline-primary.active:focus,
.btn-outline-primary.dropdown-toggle.show:focus,
.btn-outline-primary:active:focus,
.btn-outline-primary:focus {
    box-shadow: var(--mainHover);
}

.dropdown-item.active,
.dropdown-item:active {
    color: #FFF;
    text-decoration: none;
    background-color: var(--mainColor);
}

.custom-option-item-check:checked+.custom-option-item {
    color: var(--mainColor);
    background-color: #fab10017;
    border-color: var(--mainColor);
}

.form-check-primary .form-check-input:not(:disabled):checked,
.form-check-primary .form-check-input:not(:disabled):focus {
    border-color: var(--mainColor);
    box-shadow: #19a5e7c2;
}

input:checked {
    border-color: var(--mainColor);
    background-color: var(--mainColor) !important;
}

.bg-primary {
    background-color: var(--mainColor) !important;
}

.bg-light-primary {
    background: var(--mainHover) !important;
    color: var(--mainColor) !important;
}

.bg-gradient-primary,
.btn-gradient-primary {
    color: #fff;
    transition: all 0.2s ease;
    background-image: linear-gradient(47deg, var(--mainColor), var(--mainColorLight));
    background-repeat: repeat;
}

.bg-gradient-primary:active,
.bg-gradient-primary:focus,
.btn-gradient-primary:active,
.btn-gradient-primary:hover,
.btn-gradient-primary:focus {
    background-image: linear-gradient(47deg, var(--mainColor), var(--mainColor));
    background-repeat: repeat;
}

footer a {
    color: var(--mainColor) !important;
}

.dropdown-item:hover,
.dropdown-item:focus {
    color: var(--mainColor) !important;
    background-color: var(--mainHover) !important
}

.main-menu.menu-light .navigation>li.open:not(.menu-item-closing)>a,
.main-menu.menu-light .navigation>li.sidebar-group-active>a {
    color: #565360;
    border-radius: 6px;
    background-color: var(--mainHover) !important
}


.btn-primary:hover:not(.disabled):not(:disabled) {
    box-shadow: 0 8px 25px -8px var(--mainColor) !important;
}

.horizontal-menu .header-navbar.navbar-horizontal ul#main-menu-navigation>li.active>a {
    background: var(--mainColor);
    box-shadow: 0px 0px 6px 1px var(--mainShadow) !important;

}

.horizontal-menu .header-navbar.navbar-horizontal ul#main-menu-navigation>li>.dropdown-menu .active>a {
    background: var(--mainBg);
    color: var(--mainColor);
}

.avatar.bg-light-primary {
    color: var(--mainFocus) !important;
    background-color: var(--mainBg);
}

.page-item.active .page-link {
    background-color: var(--mainColor);
}

.form-control:focus {
    border-color: var(--mainColor);
}

.form-select:focus {
    border-color: var(--mainColor);
}

.input-group:not(.bootstrap-touchspin):focus-within .form-control {
    border-color: var(--mainColor);
}

.input-group:not(.bootstrap-touchspin):focus-within .input-group-text {
    border-color: var(--mainColor);
}

.horizontal-menu .navbar-dark .nav-item.active>a {
    border-bottom: 2px solid var(--mainColor);
}

.main-menu.menu-light .navigation>li.active>a {
    /* color: #fff; */
    font-weight: 400;
    border-radius: 4px;
    background: var(--mainColor);
    background: linear-gradient(118deg, var(--mainColor), var(--mainColorLight));
    box-shadow: 0 8px 20px -15px var(--mainColor) !important
}

.main-menu.menu-light .navigation>li ul .active {
    border-radius: 4px;
    background: var(--mainColor);
    box-shadow: 0px 0px 6px 1px var(--mainShadow) !important;
    z-index: 1;
}

.nav-tabs .nav-link.active {
    position: relative;
    color: var(--mainColor) !important;
}


.pace .pace-progress {
    background: var(--mainColor) !important;
}

.nav-tabs .nav-link:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--mainColor) !important;
    transition: transform 0.3s;
    transform: translate3d(0, 150%, 0);
}


.dropdown-item:active {
    background-color: var(--mainColor);
    color: #fff;
}

.form-check-input:checked {
    background-color: var(--mainColor);
    border-color: var(--mainColor);
}

.form-check-input:focus {
    border-color: var(--mainColor);
    outline: 0;
    /* box-shadow: 0 2px 4px 0 #ff9f4352; */
}

.form-check-input-1 {
    height: 23px;
}

.form-check-input-1:checked {
    background-color: var(--mainColor);
    border-color: var(--mainColor);
}

.form-check-input-1:focus {
    border-color: var(--mainColor);
    outline: 0;
    /* box-shadow: 0 2px 4px 0 #ff9f4352; */
}

.deshbord-card {
    border: 1px solid #003853;
    box-shadow: none;
    text-align: center;
    /* width: 170px !important;
    height: 170px !important; */
}

.deshbord-card:hover {
    border: 1px solid var(--mainColor);
    box-shadow: 0 4px 24px 0 rgba(34, 41, 47, 0.1);
}

.deshbord-card .card-body h5 {
    color: #003853;
}

.deshbord-card:hover .card-body h5 {
    color: var(--mainColor);
}

.deshbord-card .icon-blue {
    display: flex;
    justify-content: center;
}

.deshbord-card:hover .icon-blue {
    display: none;
}

.deshbord-card .icon-yellow {
    display: none;
}

.deshbord-card:hover .icon-yellow {
    display: flex;
    justify-content: center;
}

.hide {
    display: none;
}



/* TimeLine */
.timeline {
    counter-reset: test 0;
    position: relative;
}

.timeline li {
    list-style: none;
    float: left;
    width: 82px;
    margin: 0px 15px;
    position: relative;
    text-align: center;
    font-size: 13px;
    color: grey;
    /* text-transform: uppercase; */
}

/* ul:nth-child(1) {
    color: #4caf50;
} */

.timeline li:before {
    counter-increment: test;
    content: counter(test);
    width: 30px;
    height: 30px;
    border: 3px solid #4caf50;
    border-radius: 50%;
    display: block;
    text-align: center;
    line-height: 25px;
    margin: 0 auto 10px auto;
    background: #fff;
    color: #4caf50;
    /* color: #000; */
    transition: all ease-in-out .3s;
    cursor: pointer;
}

.timeline li:after {
    content: "";
    position: absolute;
    width: 82px;
    height: 3px;
    background-color: #80808052;
    top: 13px;
    left: -56px;
    z-index: 9;
    transition: all ease-in-out .3s;
}

.timeline li:first-child:after {
    content: none;
}

.timeline li.active-tl {
    color: grey;
}

.timeline li.active-tl:before {
    background: #4caf50;
    color: #ffffff;
}

.timeline li.active-tl+li:after {
    background: #4caf50;
}

.bs-dropdown-container {
    z-index: 1060;
}

.report-card:hover {
    background: linear-gradient(118deg, var(--mainColor), var(--mainColorLight));
    color: #fff !important;
    transition: all 0.5s ease-out;
}

.report-card:hover .text-secondary,
.report-card:hover h5,
.report-card:hover .h4 {
    color: #fff !important;
    transition: all 0.3s ease-out;
}

.report-card:hover img {
    filter: brightness(0) invert(1);
    transition: all 0.3s ease-out;
}

.report-card:hover .progress-bar-secondary {
    background-color: rgb(255 255 255 / 37%);
    transition: all 0.3s ease-out;
}

.report-card:hover .progress-bar-secondary .progress-bar {
    background-color: #ffffff;
    transition: all 0.3s ease-out;
}

.ribbon {
    position: absolute;
    right: -9px;
    top: -6px;
    z-index: 1;
    overflow: hidden;
    width: 100px;
    height: 93px;
    text-align: right;
}

.ribbon span {
    font-size: 0.7rem;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    font-weight: bold;
    line-height: 32px;
    transform: rotate(45deg);
    width: 125px;
    display: block;
    background: #79a70a;
    background: linear-gradient(#9bc90d 0%, #79a70a 100%);
    box-shadow: 0 3px 10px -5px rgba(0, 0, 0, 1);
    position: absolute;
    top: 17px;
    right: -29px;
}

.ribbon span::before {
    content: '';
    position: absolute;
    left: 0px;
    top: 100%;
    z-index: -1;
    border-left: 3px solid #79A70A;
    border-right: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-top: 3px solid #79A70A;
}

.ribbon span::after {
    content: '';
    position: absolute;
    right: 0%;
    top: 100%;
    z-index: -1;
    border-right: 3px solid #79A70A;
    border-left: 3px solid transparent;
    border-bottom: 3px solid transparent;
    border-top: 3px solid #79A70A;
}

.red span {
    background: linear-gradient(#f70505 0%, #8f0808 100%);
}

.red span::before {
    border-left-color: #8f0808;
    border-top-color: #8f0808;
}

.red span::after {
    border-right-color: #8f0808;
    border-top-color: #8f0808;
}

.warning span {
    background: linear-gradient(#ff9f43 0%, #c96200 100%);
}

.warning span::before {
    border-left-color: #ff9f43;
    border-top-color: #ff9f43;
}

.warning span::after {
    border-right-color: #ff9f43;
    border-top-color: #ff9f43;
}

.gray .timeline li.active-tl:before {
    background: #b7b7b7;
    color: #ffffff;
}

.gray .timeline li:before {
    border: 3px solid #b7b7b7;
    background: #fff;
    color: #b7b7b7;
}

.gray .timeline li.active-tl+li:after {
    background: #b7b7b7;
}

.subdetails {
    width: 120px;
    display: inline-flex;
    color: #565360;
}

.subdetails-data {
    color: #2d7bd2;
}

/* width */
::-webkit-scrollbar {
    height: 7px;
    /* height of horizontal scrollbar ← You're missing this */
    width: 7px;
    /* width of vertical scrollbar */
    border: 1px solid #d5d5d5;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 20px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #767676;
}

.info-container span.h6 {
    min-width: 120px;
    display: inline-table;
    margin: 0;
}

.bg-label-secondary {
    background-color: #ebebed !important;
    color: rgba(var(--bs-dark-rgb), var(--bs-text-opacity)) !important;
}

.badge {
    margin-right: 0.5rem;
    display: inline-block;
    padding: 0.4235em 0.77em;
    font-size: 0.8667em;
    font-weight: bold;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.50rem;
}

.fw-bold {
    font-weight: bold !important;
}

.bs-stepper .bs-stepper-header .step.crossed .step-trigger .bs-stepper-box {
    background-color: var(--mainColorLightTwo) !important;
    color: var(--mainColor) !important;
}

.bs-stepper .bs-stepper-header .step.active .step-trigger .bs-stepper-box {
    background-color: var(--mainColor) !important;
    color: #FFF;
    box-shadow: var(--mainColorLightTwo) !important;
}
.bs-stepper .bs-stepper-header .step.active .step-trigger .bs-stepper-label .bs-stepper-title {
    color: var(--mainColor) !important;
}

.col-lg-12.mt-50.mb-50 {
    background-color: #f3f3f3;
    padding-top: 10px;
}