/*
    Created on : 23.06.2022, 00:56:00
    Author     : Alekhnovich Oleg (https://webplatinum.net)
*/

/* TOPBAR
-------------------------------------------------- */
#topBar {
    color: #666;
}
#topBar a {
    color: #666;
    text-decoration: none;
}
#topBar a:hover {
    color: #CB451B;
}

/* MAIN NAVBAR
-------------------------------------------------- */
.navbar-nav .nav-link {
    text-transform: uppercase;
    font-size: .9rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    padding-left: .5rem;
    padding-right: .5rem;
    margin-left: 1px;
    margin-right: 1px;
}
.navbar-nav .nav-link.active, .navbar-nav .nav-link.show {
    background-color: #ffb901;
    color: #fff;
}

/* CUSTOMIZE THE MAIN CAROUSEL
-------------------------------------------------- */
#mainCarousel .carousel {
    margin-bottom: 4rem;
}
#mainCarousel .carousel-caption {
    bottom: 3rem;
    z-index: 10;
}
#mainCarousel .carousel-item {
    height: 32rem;
}
#mainCarousel .carousel-bg-filter {
    position: absolute;
    left:0;
    right:0;
    top:0;
    bottom:0;
    background: black;
    background: rgba(0, 0, 0, 0.3);
}

/* CAROUSEL FOR ADDITIONAL PRODUCT IMAGES
-------------------------------------------------- */
.additional-carousel-indicator {
    opacity: .5;
    transition: all 0.3s ease;
}
.additional-carousel-indicator:hover {
    opacity: 1;
    transition: all 0.3s ease;
}
.additional-carousel-indicator.active {
    opacity: 1;
    transition: all 0.3s ease;
}

/* CUSTOMIZE THE JUMBOTRON
-------------------------------------------------- */
.jumbotron-bg-filter {
    position: absolute;
    left:0;
    right:0;
    top:0;
    bottom:0;
    background: #e9ecef;
    background: rgba(0, 0, 0, 0.4);
}

/* PAGINATION
-------------------------------------------------- */
.pagination {
    --bs-pagination-color: #333;
    --bs-pagination-active-color: #fff;
    --bs-pagination-active-bg: #003b77;
    --bs-pagination-active-border-color: #003b77;
}

/* CARD
-------------------------------------------------- */
.blog-card-body a {
    color: #CB451B;
}
.blog-card-body:hover {
    background-color: #CB451B;
    color: lightgrey!important;
    transition: all .6s;
}
.blog-card-body a:hover {
    color: #fff!important;
}
.img-square {
    width: 90%;
    margin: auto;
    overflow: hidden; /* clearfix */
}
.img-square:before {
    content: "";
    padding-top: 100%;
    float: left;
}
.img-fluid-square {
    max-width: 100%;
    max-height: 100%;
}

/* MAIN CONTENT
-------------------------------------------------- */
a {
    color: #CB451B;
}
a:hover {
    color: #F17800;
}
.text-darkblue {
    color: #003b77;
}
.text-orange {
    color: #CB451B;
}
.text-orange1 {
    color: #FFA800;
}
.text-orange2 {
    color: #F17800;
}
.bg-darkblue {
    background-color: #003b77;
}
.bg-orange {
    background-color: #CB451B;
}
.bg-orange1 {
    background-color: #FFA800;
}
.bg-orange2 {
    background-color: #F17800;
}
.text-lightgrey {
    color: #eaf0fb;
}
.error404 {
    font-size: 5rem;
}
@media (min-width: 390px) {
    .error404 {
        font-size: 7rem;
    }
}
@media (min-width: 576px) {
    .error404 {
        font-size: 10rem;
    }
}
@media (min-width: 768px) {
    .error404 {
        font-size: 14rem;
    }
}
@media (min-width: 1200px) {
    .error404 {
        font-size: 14rem;
    }
}
.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #003b77;
    --bs-btn-border-color: #003b77;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0b5ed7;
    --bs-btn-hover-border-color: #0a58ca;
    --bs-btn-focus-shadow-rgb: 49,132,253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #003b77;
    --bs-btn-active-border-color: #003b77;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #0d6efd;
    --bs-btn-disabled-border-color: #0d6efd;
}
.dropdown-item.active, .dropdown-item:active {
    background-color: #ffb901;
}
.section-4 {
    position: relative;
    padding-top: 7rem;
    padding-bottom: 7rem;
    background-image: url('../images/all/section-bg.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}
.transparent-bg-2 {
    position: absolute;
    left:0;
    right:0;
    top:0;
    bottom:0;
    background: black;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
}
.home-block-bg-1 {
    min-height: 250px;
    background-image: url('../images/all/boy-with-apple.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.home-block-bg-2 {
    min-height: 250px;
    background-image: url('../images/all/healthy-running.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.home-block-bg-3 {
    min-height: 250px;
    background-image: url('../images/all/doctors-consultation.jpg');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}
/* ICONS */
.icons-rounded-circle {
    width: 128px;
    height: 128px;
}
.icons-rounded-circle-sm {
    width: 88px;
    height: 88px;
}
.icons-rounded-circle-xs {
    width: 48px;
    height: 48px;
}
.counters {
    font-size: 2rem;
}
.modern-line {
    width: 80px;
    border-top: 2px solid #CB451B;
    padding-top: 5px;
    padding-bottom: 5px;
    display: block;
}
.hexagon {
    width: 64px;
    height: 72px;
    background-color: #FFA800;
    position: relative;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
}
/* FOOTER */
footer a {
    text-decoration: none;
    color: #FFA800;
}
footer a:hover {
    text-decoration: underline;
}

/* USER ACCOUNT
-------------------------------------------------- */
@media (min-width: 768px) {
    .sidebar .offcanvas-lg {
        position: -webkit-sticky;
        position: sticky;
        top: 48px;
    }
    .navbar-search {
        display: block;
    }
}
.sidebar .nav-link {
    font-size: .875rem;
}
.sidebar .nav-link.active {
    font-weight: 500;
    color: #e64c16 !important;
}
.sidebar-heading {
    font-size: .75rem;
}

/* 3th LEVEL SUBMENU (BOOTSTRAP 5.x)
-------------------------------------------------- */
.dropdown-submenu, .dropdown-item {
    position: relative;
}
.dropdown-submenu > a.dropdown-toggle::after {
    transform: rotate(-90deg);
    position: absolute;
    right: 3px;
    top: 0px;
    bottom: 0px;
    align-self: center;
}
.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: 0.1rem;
    margin-right: 0.1rem;
}
.dropdown-submenu > .dropdown-menu-end {
    left: auto;
    right: 100%;
    margin-left: 0;
    margin-right: 0.1rem;
}
.dropdown-submenu > a.dropdown-toggle.dropdown-toggle-start::after {
    transform: rotate(90deg);
    right: unset;
    left: 0px;
}

/* BUTTON UP
-------------------------------------------------- */
#btn-back-to-top {
    position: fixed;
    bottom: 7px;
    right: 7px;
    display: none;
}

/* CSS3 EFFECTS
-------------------------------------------------- */
.fade-img {
    -webkit-transition: all 0.3s ease;;
    -moz-transition: all 0.3s ease;;
    -o-transition: all 0.3s ease;;
    transition: all 0.3s ease;
    opacity: 1;
}
.fade-img:hover {
    -webkit-transition: all 0.3s ease;;
    -moz-transition: all 0.3s ease;;
    -o-transition: all 0.3s ease;;
    transition: all 0.3s ease;
    opacity: 0.5;
}

/* MEDIA
-------------------------------------------------- */
/*
@media (min-width: 390px) {

}
@media (min-width: 576px) {

}
@media (min-width: 768px) {

}
@media (min-width: 1200px) {

}
*/
