/*
    Created on : 07.02.2024, 01:06:00
    Author     : Alekhnovich Oleg (https://webplatinum.net)
*/

@font-face {
    font-family: OpenSans;
    src: url('fonts/OpenSans-Regular.ttf');
    font-display: swap;
}
body {
    font-family: OpenSans, sans-serif;
}

/* TOP NAVBAR
-------------------------------------------------- */
#topNavbar a {
    color: #000;
}
#topNavbar a:hover {
    color: #666;
}

/* MAIN NAVBAR
-------------------------------------------------- */
#mainNavbarBlock.navbar-dark .nav-link {
    color: #fff;
}
.fixed-top-none {
    opacity: 0;
}
.fixed-top {
    opacity: 1;
    transition: all .3s ease-in-out;
}
@media (max-width: 990px) {
    /*
    * Добавляет вертикальную прокрутку в зафиксированном выпадающем меню 
    * при уменьшении разрешения экрана.
    * Значение устанавливается в зависимости от значения свойства адвптивностого меню 
    * (navbar-expand-xl или md, sm)
    */
    #mainNavbar .navbar-nav {
        max-height: 70vh;
        overflow-y: auto;
    }
}

/* NAVBAR CATEGORY LIST
-------------------------------------------------- */
#categoryList .nav-link:hover {
    font-weight: bold;
}
#categoryList .nav-link.active {
    font-weight: bold;
}


/* OFFCANVAS
-------------------------------------------------- */
.offcanvas-end {
    --bs-offcanvas-width: 600px;
}
#sidebarMenu .nav-link {
    font-size: .9rem;
}
#sidebarMenu .nav-link.active {
    font-weight: bold;
}

/* CUSTOMIZE THE JUMBOTRON
-------------------------------------------------- */
#jumbotronHome {
    min-height: 100vh;
    padding-top: 10rem;
    padding-bottom: 5rem;
}
#jumbotronHomeContent::first-letter {
    line-height: 1;
    font-size: 450%;
    color: #fff;
    float: left;
    margin-right: 5px;
}
.jumbotron {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.jumbotron-bg-filter {
    position: absolute;
    left:0;
    right:0;
    top:0;
    bottom:0;
    background: gray;
    background: rgba(51, 51, 51, 0.6);
    color: #000;
}

/* PAGINATION
-------------------------------------------------- */
.page-link {
    color: #666;
}
.page-link:hover {
    color: #000;
}
.active>.page-link, .page-link.active {
    background-color: #000;
    border-color: #000;
}

/* MAIN CONTENT
-------------------------------------------------- */
a {
    color: #333;
}
a:hover {
    font-weight: bold;
}
.img-square {
    width: 100%;
    margin: auto;
    overflow: hidden; /* clearfix */
}
.img-square:before {
    content: "";
    padding-top: 107%;
    float: left;
}
.card-img-custom {
    opacity: 1;
    transition: opacity 0.3s ease;
}
.card-img-custom-bg {
    background-repeat:no-repeat;
    background-position: center;
    background-size: 100%;
}
.card-custom-bg {
    opacity: 1;
    transition: opacity 0.5s ease;
}
.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;
    }
}
#offcanvasRight .nav-pills .nav-link {
    color: #000;
    font-size: .9rem;
    border-radius: 0%;
}
#offcanvasRight .nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: #000;
    font-weight: bold;
    background-color: transparent;
    border-bottom: 1px solid #000;
}
.dropdown-item.active, .dropdown-item:active {
    background-color: #000;
}
.nav-tabs .nav-link {
     border: none;
     color: #666;
}
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    border-bottom: 1px solid #666;
}
footer a {
    color: #000;
}
footer a:hover {
    color: #666;
}

/* BOOTSTRAP SUBMENU 3 LEVEL
-------------------------------------------------- */
.dropdown-submenu {
    position: relative;
}
.dropdown-submenu a::after {
    transform: rotate(-90deg);
    position: absolute;
    right: 6px;
    top: .8em;
}
.dropdown-submenu .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: .1rem;
    margin-right: .1rem;
}

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

/* DOUBLE RANGE SLIDER
-------------------------------------------------- */
input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    pointer-events: all;
    width: 24px;
    height: 24px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px #C6C6C6;
    cursor: pointer;
}
input[type=range]::-moz-range-thumb {
    -moz-appearance: none;
    pointer-events: all;
    width: 24px;
    height: 24px;
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 0 0 1px #C6C6C6;
    cursor: pointer;  
}
input[type=range]::-webkit-slider-thumb:hover {
    background: #f7f7f7;
}
input[type=range]::-webkit-slider-thumb:active {
    box-shadow: inset 0 0 3px #387bbe, 0 0 9px #387bbe;
    -webkit-box-shadow: inset 0 0 3px #387bbe, 0 0 9px #387bbe;
}
input[type=number]::-webkit-inner-spin-button, 
input[type=number]::-webkit-outer-spin-button {  
    opacity: 1;
}
input[type="range"] {
    -webkit-appearance: none; 
    appearance: none;
    height: 7px;
    width: 100%;
    position: absolute;
    background-color: #C6C6C6;
    pointer-events: none;
}
#fromSlider {
    z-index: 1;
}
#toSlider {
    z-index: 0;
}

/* CSS 3 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.75;
}
.scale-img img {
    transition: transform 0.5s ease;
}
.scale-img:hover img {
    transform: scale(1.1);
}
.inverted {
    filter: invert(100%);
}
.inverted-none {
    filter: invert(0%);
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
}
input[type='number'],
input[type="number"]:hover,
input[type="number"]:focus {
    appearance: none;
    -moz-appearance: textfield;
}

/* INTERNATIONAL TELEPHONE INPUT
-------------------------------------------------- */
.iti {
    width: 100%;
    --iti-path-flags-1x: url('../images/flags.png');
    --iti-path-flags-2x: url('../images/flags@2x.png');
    --iti-path-globe-1x: url('../images/globe.png');
    --iti-path-globe-2x: url('../images/globe@2x.png');
  }

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

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

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

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

}
*/
