a{color: #0068B3;}
a:hover {color: #0068B3;text-decoration:none;}
.btn-primary { background-color: #0068B3; border-color: #0068B3;}
.btn-primary:hover {background-color: #0068B3;border-color: #0068B3;}
.btn-primary:focus, .btn-primary.focus {background-color: #0068B3;border-color: #0068B3;box-shadow: 0 0 0 0.2rem rgba(231, 62, 81, 0.3);}
.btn-primary.disabled, .btn-primary:disabled { background-color: #0068B3;border-color: #0068B3;}
.btn-primary:not(:disabled):not(.disabled):active:focus, .btn-primary:not(:disabled):not(.disabled).active:focus, .show > .btn-primary.dropdown-toggle:focus {box-shadow: 0 0 0 0.2rem rgba(231, 62, 81, 0.3);}
.btn-primary:not(:disabled):not(.disabled):active, .btn-primary:not(:disabled):not(.disabled).active, .show > .btn-primary.dropdown-toggle {background-color: #0068B3;border-color: #0057b6;}
.btn-outline-primary {color: #0068B3;border-color: #0068B3;}
.btn-outline-primary:hover {background-color: #0068B3;border-color: #0068B3;}
.btn-outline-primary:focus, .btn-outline-primary.focus {box-shadow: 0 0 0 0.2rem rgba(231, 62, 81, 0.3);}
.btn-outline-primary.disabled, .btn-outline-primary:disabled {color: #0068B3;background-color: transparent;}
.btn-outline-primary:not(:disabled):not(.disabled):active, .btn-outline-primary:not(:disabled):not(.disabled).active, .show > .btn-outline-primary.dropdown-toggle {background-color: #0068B3;border-color: #0068B3;}
/* Bootstrap 5 btn-check checked state - must override hover */
.btn-check:checked + .btn-outline-primary, 
.btn-check:active + .btn-outline-primary,
.btn-check:checked + .btn-outline-primary:hover,
.btn-check:active + .btn-outline-primary:hover {
    background-color: #0068B3;
    border-color: #0068B3;
    color: #fff;
}
.btn-check:focus + .btn-outline-primary {
    box-shadow: 0 0 0 0.25rem rgba(0, 104, 179, 0.5);
}
.btn-link {color: #0068B3;}
.btn-link:hover {color: #0068B3;}
.dropdown-item.active, .dropdown-item:active {background-color: #0068B3;}
.custom-control-input:checked ~ .custom-control-label::before {border-color: #0068B3;background-color: #0068B3;}
.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::before { border-color: #0068B3; background-color: #0068B3;}
.custom-checkbox .custom-control-input:disabled:checked ~ .custom-control-label::before { background-color: rgba(231, 62, 81, 0.3);}
.custom-checkbox .custom-control-input:disabled:indeterminate ~ .custom-control-label::before {background-color: rgba(231, 62, 81, 0.3);}
.custom-radio .custom-control-input:disabled:checked ~ .custom-control-label::before {background-color: rgba(231, 62, 81, 0.3);}
.custom-control-input:focus:not(:checked) ~ .custom-control-label::before {border-color: #da7b86;}
.custom-radio input[type="radio"]:checked + * {color: #0068B3!important;}
.custom-range::-webkit-slider-thumb { background-color: #0068B3;}
.custom-range::-moz-range-thumb {background-color: #0068B3;}
.custom-range::-ms-thumb { background-color: #0068B3;}
.custom-range::-ms-thumb:active {background-color: #da7b86;}
.custom-range::-moz-range-thumb:active {background-color: #da7b86;}
.custom-range::-webkit-slider-thumb:active {background-color: #da7b86;}
.custom-control-input:not(:disabled):active ~ .custom-control-label::before {background-color: rgb(0, 104, 179);border-color: #0068B3;}
.custom-control-input:focus~.custom-control-label::before {box-shadow: 0 0 0 0.2rem rgb(0, 104, 179, 0.25);}
.nav-pills .nav-link.active, .nav-pills .show > .nav-link {background-color: #0068B3;}
.page-link {color: #0068B3; }
.page-link:hover {color: #0068B3;}
.page-link:focus {box-shadow: 0 0 0 0.2rem rgba(231, 62, 81, 0.25);}
.page-item.active .page-link {background-color: #0068B3;border-color: #0068B3;}
.badge-primary {background-color: #0068B3;}
.progress-bar {background-color: #0068B3;}
.list-group-item.active {background-color: #0068B3;border-color: #0068B3;}
.bg-primary {background-color: #e82127!important;}
a.bg-primary:hover, a.bg-primary:focus, button.bg-primary:hover, button.bg-primary:focus {background-color: #e82127!important;}
.border-primary {border-color: #0068B3!important;}
.text-primary {color: #0068B3!important;}
a.badge-primary:hover, a.badge-primary:focus { background-color: #0068B3;}
a.text-primary:hover, a.text-primary:focus {color: #0068B3!important;}
.btn-secondary { background-color: #E82127; border-color: #E82127;}
.btn-secondary:hover {background-color: #E82127;border-color: #E82127;}
.btn-secondary:not(:disabled):not(.disabled).active, .btn-secondary:not(:disabled):not(.disabled):active, .show>.btn-secondary.dropdown-toggle{
color: #fff;
    background-color: #E82127;
    border-color: #E82127;
}

/*scrollbar*/
.custom-scrollbar::-webkit-scrollbar{width: 8px;height: 8px;}
.custom-scrollbar::-webkit-scrollbar-track{background:#E5E5E5;position: absolute;right: 0;border-radius: 0px;}
.custom-scrollbar::-webkit-scrollbar-thumb{background:#0068B3;border-radius: 10px;}
.custom-scrollbar::-webkit-scrollbar-thumb:hover{background: #0068B3;}
/*scrollbar end*/

/* Fix for Bootstrap 5 Speciality Hover Effect */
.border-hover-effect {
    position: relative;
    z-index: 2;
}

.border-hover-effect > * {
    position: relative;
}

/* Ensure hover dropdowns appear below the item */
.border-hover-effect .dropdown-content,
.border-hover-effect .hover-content,
.border-hover-effect [class*="hover"] {
    position: absolute;
    top: 100% !important;
    left: 0;
    z-index: 1050;
    margin-top: 0;
}

/* Ensure slider section has lower z-index */
.webstory-section,
.homepg-slider,
[class*="slider"] {
    position: relative;
    z-index: 0;
}

/* Fix for speciality items */
#specialityModule11 > div,
#specialityModule11 > .col-md-3,
#specialityModule11 > [class*="col-"] {
    position: relative;
    overflow: visible;
}

#specialityModule11 > div a,
#specialityModule11 > [class*="col-"] a {
    text-decoration: none !important;
}
