:root,
[data-bs-theme="light"] {
  --bs-link-color: #f64e60;
  --bs-link-color-rgb: 246, 78, 96;
  --bs-link-hover-color: #a30819;
  --bs-link-hover-color-rgb: 163, 8, 25;
  --swiper-theme-color: #f64e60!important;
}

.bg-orange {
  --bs-bg-opacity: 1;
  background-color: #fd7e14;}

.bg-red {
  --bs-bg-opacity: 1;
  background-color: #b60026;}

.bg-blue {
  --bs-bg-opacity: 1;
  background-color: #1a3383;}

.bg-grey {
  --bs-bg-opacity: 1;
  background-color: #c5caca;}

.w-5 {
  width: 5% !important; }
.w-10 {
  width: 10% !important; }
.w-15 {
  width: 15% !important; }
.w-20 {
  width: 20% !important; }
.w-40 {
  width: 40% !important; }

.link-muted-hover,
.link-muted:hover {
  color: #a30819;
  border-bottom-style: dotted;
  border-bottom: 1px dashed #aaaaaa !important;
}

.navbar {
  --bs-navbar-brand-padding-y: 0;
  --bs-navbar-brand-margin-end: 1rem;
  --bs-navbar-brand-font-size: 1.25rem;
  --bs-navbar-brand-color: rgba(var(--bs-emphasis-color-rgb), 1);
  --bs-navbar-brand-hover-color: rgba(var(--bs-emphasis-color-rgb), 1);
  --bs-navbar-brand-padding-y: 0;
  --bs-navbar-brand-margin-end: 1rem;
}

.navbar-brand {
  padding-top: var(--bs-navbar-brand-padding-y);
  padding-bottom: var(--bs-navbar-brand-padding-y);
  margin-right: var(--bs-navbar-brand-margin-end);
  font-size: var(--bs-navbar-brand-font-size);
  color: var(--bs-navbar-brand-color);
  white-space: nowrap; 
}
  .navbar-brand:hover, .navbar-brand:focus {
    color: var(--bs-navbar-brand-hover-color); 
}

.navbar-dark,
.navbar[data-bs-theme="dark"] {
  --bs-navbar-brand-color: #fff;
  --bs-navbar-brand-hover-color: #fff;
}

  /* logo / .navbar-brand */
  .navbar-xs > .navbar-brand {
    min-height: 70px;
    line-height: 70px; 
}
  .navbar-xs > .navbar-brand > img {
    max-height: 70px !important; 
}
  .navbar-xs > .navbar-brand {
    margin: 0 15px; 
}
  /* styling main links */
  .navbar-nav .nav-item.dropdown > .nav-link {
    font-weight: 500;
    font-size: 18px; 
}
  /* links with dropdown only */
  .navbar-nav .nav-item.dropdown > .nav-link.dropdown-toggle {
    color: #b7bcc2; 
}
  /* hide dropdown icon indicator */
  .navbar-nav .nav-item.dropdown > .nav-link:before {
    display: none !important; 
}
  /* 
			first level open by default
			add `.dropdown-collapsible` to not open by default 
		*/





/**

    HEADER : NAV BRAND

**/
.navbar-brand > img:last-child {
  display: none; 
}

.navbar-brand > img:first-child {
  display: inherit; 
}

.navbar-brand > img {
  position: absolute;
  top: -2.8rem;
  max-width: 190px;
  max-height: 160px; 
}
              
body:not(.user-scrolled-down) .navbar-brand > img:first-child {
  display: none; 
}

body:not(.user-scrolled-down) .navbar-brand > img:last-child {
  display: inline-block; 
}

body:not(.layout-admin) .navbar-brand {
  margin-right: 200px; 
}






/**

	DEFAULT BOOTSTRAP NAVIGATION

**/
/*:not(nav.navbar-dark) a.nav-link:not(.active):not(:hover) {*/
nav.navbar-light a.nav-link:not(.active):not(:hover) {
  color: #500918; 
}

.navbar-light .navbar-nav .nav-item:hover > .nav-link,
.navbar-light .navbar-nav .nav-link[aria-expanded="true"] {
  color: #fb183d !important; 
}

.bg-gradient-default {
  background: linear-gradient(180deg, #313131 0, #7d7d7d); 
}

@media only screen and (min-width: 992px) {
  body.layout-admin #middle.mx-auto {
    max-width: 1655px !important; }
  /* logo width on aside-focus */
}

.table-group-divider {
  border-top: calc(1px * 2) solid #c1c4c8; }


.btn-hover-text {
    position: relative;
}
.btn-hover-text .btn-hover-label.label-default {
    display: block;
    transition: transform 0.5s cubic-bezier(0.5, 0, 0, 1), opacity 0.5s cubic-bezier(0.5, 0, 0, 1);
    transition-delay: 0.1s;
}
.btn-hover-text .btn-hover-label.label-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(1vw);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.5, 0, 0, 1), opacity 0.5s cubic-bezier(0.5, 0, 0, 1);
    transition-delay: 0s;
}
.btn-hover-text:hover .btn-hover-label.label-default {
    transform: translateY(-1vw);
    opacity: 0;
    transition-delay: 0s;
}
.btn-hover-text:hover .btn-hover-label.label-hover {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.1s;
}

.swiper-pagination-bullet-active-2 {
  background: #00ff00 !important;
  color: #ff00ff !important;
}

/* Тултип кастомный*/
.custom-tooltip .tooltip-inner {
  background-color: #efefef;
  color: #fff;
  font-weight: normal;
  padding: 8px;
  border-radius: 8px;
}

.custom-tooltip.bs-tooltip-end .tooltip-arrow::before,
.custom-tooltip.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow::before {
  border-right-color: #efefef;  /* Стрелочка справа */
}

/* Иконки соц. сетей */
.si {
    display: inline-block;
    position: relative;
    overflow: hidden;
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
    color: var(--bs-body-color);
}
.si > i {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s, transform 0.45s cubic-bezier(0.19, 1, 0.22, 1);
    line-height: 1;
}
.si > i:last-child {
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
}
.si:hover > i:first-child {
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
}
.si:hover > i:last-child {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}
.si.si-border {
    border: 1px solid var(--bs-border-color);
}
.si-list-inline li .si + .si {
    margin-left: 0.25rem;
}
.si-circle {
    border-radius: 100%;
}


.si-colored-vk {
    background-color: #0077b5 !important;
    border-color: #0077b5 !important;
    color: #fff !important;
}
.si-colored-vk:hover {
    background-color: #00537f !important;
    border-color: #00476d !important;
}
.si-hover-vk:hover {
    background-color: #00537f !important;
    border-color: #00537f !important;
    color: #fff !important;
}
.si-colored-rutube {
    background-color: #100943 !important;
    border-color: #100943 !important;
    color: #fff !important;
}
.si-colored-rutube:hover {
    background-color: #8410cb !important;
    border-color: #8410cb !important;
}
.si-hover-rutube:hover {
    background-color: #100943 !important;
    border-color: #100943 !important;
    color: #fff !important;
}
.si-colored-2gis {
    background-color: #19aa1d !important;
    border-color: #19aa1d !important;
    color: #fff !important;
}
.si-colored-2gis:hover {
    background-color: #0173fa !important;
    border-color: #0173fa !important;
}
.si-hover-2gis:hover {
    background-color: #19aa1d !important;
    border-color: #19aa1d !important;
    color: #fff !important;
}

.si-colored-yandex {
    background-color: #333552 !important;
    border-color: #333552 !important;
    color: #fff !important;
}
.si-colored-yandex:hover {
    background-color: #db2f43 !important;
    border-color: #db2f43 !important;
}
.si-hover-yandex:hover {
    background-color: #333552 !important;
    border-color: #333552 !important;
    color: #fff !important;
}
.si-colored-telegram {
    background-color: #29a9eb !important;
    border-color: #29a9eb !important;
    color: #fff !important;
}
.si-colored-telegram:hover {
    background-color: #2187bc !important;
    border-color: #2187bc !important;
}
.si-hover-telegram:hover {
    background-color: #29a9eb !important;
    border-color: #29a9eb !important;
    color: #fff !important;
}
.si-colored-instagram,
.si-colored-instagram:hover,
.si-hover-instagram:hover {
    background-image: radial-gradient(circle at 30% 107%, #fcaf45 0, #f77737 5%, #e1306c 45%, #833ab4 60%, #405de6 90%) !important;
    color: #ffffff !important;
    border-color: transparent;
}

/* Стили для круглой кнопки (остается на месте) */
.si-colored-wb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-image: linear-gradient(0deg, #CB11AB 0%, #990099 35%, #481173 100%);
    color: #ffffff;
    border-radius: 50%;
    border: none;
    position: relative;
    overflow: hidden;
    transition: background 0.3s ease;
    /* Фиксируем позицию */
    __vertical-align: middle;
    __margin: 0;
    __padding: 0;
}
.vk-icon {
    width: 21px;
    height: 21px;
    position: absolute;
    left: 9px; /* Смещение вправо (6px + 3px для центрирования) */
    top: 10px; /* Центрирование по вертикали */
    transition: all 0.4s cubic-bezier(0.5, 1.5, 0.5, 1);
}

/* Анимация при наведении */
.si-colored-vk:hover .vk-icon {
    animation: icon-pop 0.5s ease-out;
}
.rt-icon {
    width: 22px;
    height: 22px;
    position: absolute;
    left: 12px; /* Смещение вправо (6px + 3px для центрирования) */
    top: 8px; /* Центрирование по вертикали */
    transition: all 0.4s cubic-bezier(0.5, 1.5, 0.5, 1);
}

/* Анимация при наведении */
.si-colored-rutube:hover .rt-icon {
    animation: icon-pop 0.5s ease-out;
}
.ya-icon {
    width: 23px;
    height: 23px;
    position: absolute;
    left: 8px; /* Смещение вправо (6px + 3px для центрирования) */
    top: 9px; /* Центрирование по вертикали */
    transition: all 0.4s cubic-bezier(0.5, 1.5, 0.5, 1);
}
/* Анимация при наведении */
.si-colored-yandex:hover .ya-icon {
    animation: icon-pop 0.5s ease-out;
}
.gs-icon {
    width: 24px;
    height: 24px;
    position: absolute;
    left: 8px; /* Смещение вправо (6px + 3px для центрирования) */
    top: 9px; /* Центрирование по вертикали */
    transition: all 0.4s cubic-bezier(0.5, 1.5, 0.5, 1);
}

/* Анимация при наведении */
.si-colored-2gis:hover .gs-icon {
    animation: icon-pop 0.5s ease-out;
}
/* Состояние при наведении */
.si-colored-wb:hover {
    background-image: linear-gradient(0deg, #ef2fce 0%, #b000b0 35%, #5d1694 100%);
}
/* Иконка - изначальное состояние */
.wb-icon {
    width: 27px;
    height: 27px;
    position: absolute;
    left: 6px; /* Смещение вправо (6px + 3px для центрирования) */
    top: 6px; /* Центрирование по вертикали */
    transition: all 0.4s cubic-bezier(0.5, 1.5, 0.5, 1);
}

/* Анимация при наведении для иконок соц. сетей*/
.si-colored-wb:hover .wb-icon {
    animation: icon-pop 0.5s ease-out;
}

@keyframes icon-pop {
    0% {
        transform: translateY(30px);
        opacity: 0;
    }
    80% {
        transform: translateY(-3px);
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}
.si-hover-ok:hover {
    background-color: #EE8208 !important;
    border-color: #EE8208 !important;
    color: #fff !important;
}
.si-hover-whatsapp:hover {
    background-color: #25d366 !important;
    border-color: #25d366 !important;
    color: #fff !important;
}
.si-colored-whatsapp {
    background-color: #25d366 !important;
    border-color: #25d366 !important;
    color: #fff !important;
}
.si-colored-whatsapp:hover {
    background-color: #1a9447 !important;
    border-color: #167f3d !important;
}
.si-hover-youtube:hover {
    background-color: red !important;
    border-color: red !important;
    color: #fff !important;
}
.si-hover-youtube:hover {
    background-color: red !important;
    border-color: red !important;
    color: #fff !important;
}
.si-colored-youtube {
    background-color: red !important;
    border-color: red !important;
    color: #fff !important;
}
.si-colored-youtube:hover {
    background-color: #b30000 !important;
    border-color: #900 !important;
}
.si-hover-rutube:hover {
    background-color: red !important;
    border-color: red !important;
    color: #fff !important;
}

.ratio-9x16 {
  --bs-aspect-ratio: calc(16 / 9 * 100%); }
