/*
    Created on : 25.04.2025, 18:31:00
    Author     : Alekhnovich Oleg (https://webplatinum.net)
*/

main {
    min-height: 50vh;
}

/* HEADER & MAIN NAVBAR
-------------------------------------------------- */
#headerContacts a {
    font-size: .8rem;
}
@media (min-width: 576px) {
    #headerContacts a {
        font-size: .9rem;
    }
}
@media (min-width: 768px) {
    #headerContacts a {
        font-size: 1rem;
    }
}

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

/* 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: #003b77;
}
.blog-card-body:hover {
    background-color: #003b77;
    color: lightgrey!important;
    transition: all .6s;
}
.blog-card-body a:hover {
    color: #fff!important;
}
.img-square {
    width: 100%;
    margin: auto;
    overflow: hidden; /* clearfix */
}
.img-square:before {
    content: "";
    padding-top: 100%;
    float: left;
}
.img-fluid-square {
    max-width: 100%;
    max-height: 100%;
}
.aspect-ratio-1x1 {
    aspect-ratio: 1 / 1;
    width: 100%;
    position: relative;
    overflow: hidden;
}
.aspect-ratio-4x3 {
    aspect-ratio: 4 / 3;
    width: 100%;
    position: relative;
    overflow: hidden;
}
.aspect-ratio-16x9 {
    aspect-ratio: 16 / 9;
    width: 100%;
    position: relative;
    overflow: hidden;
}
.aspect-ratio-3x4 {
    aspect-ratio: 3 / 4;
    width: 100%;
    position: relative;
    overflow: hidden;
}

/* HORIZONTAL SCROLLING CARDS
-------------------------------------------------- */
.scroll-wrapper {
    position: relative;
    padding: 1rem 0;
}
.scroll-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 1rem;
    padding: 0 1rem;
}
.scroll-container::-webkit-scrollbar {
    height: 6px;
}
.scroll-container::-webkit-scrollbar-thumb {
    background-color: #057d99;
    border-radius: 3px;
}
.scroll-container {
    scrollbar-width: thin;
    scrollbar-color: #057d99 transparent;
}
.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    display: none;
    z-index: 10;
}
.scroll-btn.left {
    left: 0;
}
.scroll-btn.right {
    right: 0;
}
.scroll-container .col {
    flex: 0 0 auto;
    width: 300px;
    scroll-snap-align: center;
}
.scroll-container {
    scroll-snap-type: x mandatory;
}
@media (max-width: 576px) {
    .scroll-container .col {
        width: 85%;
    }
}
@media (max-width: 768px) {
    .scroll-container .col {
        width: 200px;
    }
}
@media (max-width: 1200px) {
    .scroll-container .col {
        width: 240px;
    }
}
@media (max-width: 1400px) {
    .scroll-container .col {
        width: 280px;
    }
}

/* MAIN CONTENT
-------------------------------------------------- */
.logo {
    width: 160px;
}
a {
    color: #e66761;
}
a:hover {
    color: #057d99;
}
.bg-salmon {
    background-color: #e66761;
}
.text-salmon {
    color: #e66761;
}
.bg-cyan {
    background-color: #057d99;
}
.bg-darkcyan {
    background-color: #09738d;
}
.text-cyan {
    color: #057d99;
}
.text-lightgrey {
    color: #eaf0fb;
}
.error404 {
    font-size: 5rem;
}
@media (min-width: 390px) {
    .error404 {
        font-size: 7rem;
    }
}
@media (min-width: 576px) {
    .error404 {
        font-size: 10rem;
    }
    .logo {
        width: 180px;
    }
}
@media (min-width: 768px) {
    .error404 {
        font-size: 14rem;
    }
    .logo {
        width: 230px;
    }
}
@media (min-width: 992px) {
    .logo {
        width: 250px;
    }
}
@media (min-width: 1200px) {
    .error404 {
        font-size: 14rem;
    }
    .logo {
        width: 270px;
    }
}
#offcanvasCatalogNavbar .nav-link {
    color: #fff;
    padding: .7rem 1rem .7rem 1rem;
    margin-left: 2px;
    margin-right: 2px;
    font-size: .9rem;
    font-weight: bold;
}
#offcanvasCatalogNavbar .nav-link:hover {
    background-color: #09738d;
}
#offcanvasCatalogNavbar .nav-link.active {
    background-color: #09738d;
}
.container-xxl {
    max-width: 1500px !important;
}
.btn-link {
    --bs-btn-font-weight: 400;
    --bs-btn-color: #057d99;
    --bs-btn-bg: transparent;
    --bs-btn-border-color: transparent;
    --bs-btn-hover-color: #09738d;
    --bs-btn-hover-border-color: transparent;
    --bs-btn-active-color: #09738d;
    --bs-btn-active-border-color: transparent;
    --bs-btn-disabled-color: #6c757d;
    --bs-btn-disabled-border-color: transparent;
    --bs-btn-box-shadow: 0 0 0 #000;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    text-decoration: underline;
}
.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: #e64c16;
    --bs-btn-border-color: #e64c16;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #057d99;
    --bs-btn-hover-border-color: #057d99;
    --bs-btn-focus-shadow-rgb: 49,132,253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #09738d;
    --bs-btn-active-border-color: #09738d;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #448b9d;
    --bs-btn-disabled-border-color: #448b9d;
}
.dropdown-item.active, .dropdown-item:active {
    background-color: #057d99;
}
footer a {
    color: rgba(248,249,250 , 1) !important;
    text-decoration: none;
}
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-effect {
    -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-effect: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) {

}
*/
