body {
    background-image: none;
    background-color: #484849;
}

.btn-danger {
    --bs-btn-bg: rgb(215, 4, 4);
}
.bg-grey-1 {
    background-color: #484849;
}

.bg-grey-2 {
    background: rgb(182,183,182);
    background: linear-gradient(90deg, rgba(182,183,182,1) 0%, rgba(157,157,156,1) 50%, rgba(134,131,130,1) 100%);
}

.bg-warning-1 {
    background-color: #D00011;
}

.text-white {
	color: azure;
}

.fullstory-text {
	color: azure;
   font-size: 22px;
}

.fullstory-text a {
    color: rgb(182,183,182);
    text-decoration: none;
    border-bottom: 1px dashed;
}

.technical a {
    color: azure;
}
.info a {
    color: azure;
    text-decoration: none;
}

.fullstory-text img {
	text-align: center;
	max-width: 100%;
    margin-bottom: 10px;
    max-height: fit-content;
}

/* ============================================================== */
/* Кадрирование изображений https://tpverstak.ru/cropping-images-css-svg/ */
/* ============================================================== */
.crop-box-h80 {
    position: relative;
    overflow:hidden;
    min-height: 80px;
}
.crop-box-h80 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}
.crop-box-h120 {
    position: relative;
    overflow:hidden;
    min-height: 120px;
}
.crop-box-h120 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.crop-box-h150 {
    position: relative;
    overflow:hidden;
    min-height: 150px;
}
.crop-box-h150 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}
.crop-box-h195 {
    position: relative;
    overflow:hidden;
    min-height: 195px;
}
.crop-box-h195 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.crop-box-h195-contain {
    position: relative;
    overflow:hidden;
    min-height: 195px;
}
.crop-box-h195-contain img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
}

.crop-box-h230 {
    position: relative;
    overflow:hidden;
    min-height: 230px;
}
.crop-box-h230 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.crop-box-h270-cover {
    position: relative;
    overflow:hidden;
    min-height: 270px;
}
.crop-box-h270-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.crop-box-h270-contain {
    position: relative;
    overflow:hidden;
    min-height: 270px;
}
.crop-box-h270-contain img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: absolute;
    top: 0;
    left: 0;
}

.crop-box-h350 {
    position: relative;
    overflow:hidden;
    min-height: 350px;
}
.crop-box-h350 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.crop-box-h390 {
    position: relative;
    overflow:hidden;
    min-height: 390px;
}
.crop-box-h390 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.img-gradient .h-100 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.box-h80 {
    overflow:hidden;
    height: 80px;
}
.box-h100 {
    overflow:hidden;
    height: 100px;
}


/* ============================================================== */
/* исправления исходников */
/* ============================================================== */
.technical>ol>li>p {
    width: 50%;
}

.row.main-gryd {
    color: #fff;
}

.main-gryd-item a.card {
    --bs-card-inner-border-radius: 0;
    --bs-card-bg: transparent;
}

.row.main-gryd a {
    color: #fff;
    text-decoration: none;
}
.row.main-gryd a:hover {
    color: #fff;
    text-decoration: underline;
}

.row.main-gryd .gryd-block {
    padding-left: 0;
    padding-right: 0;
}
.row.main-gryd .gryd-block:nth-child(odd) {
    background-color: #7F7B7E; /* Нечетные блоки */
}
.row.main-gryd .gryd-block:nth-child(even) {
    background-color: #BB0404; /* Четные блоки */
}
.bg-main-gryd-1 {
    background-color: #7F7B7E;
}
.bg-main-gryd-2 {
    background-color: #BB0404;
}

.main-gryd-item {
    min-height: 200px;
    height: 100%;
    max-height: 240px;
    width: 100%;
    font-size: 2rem;
}

.bg-main-slide {
    background-image: url(../images/slide-002.png); 
    background-position: center top;
    background-size: cover;
    margin-top: -120px;
}

.main-gryd-item .crop-box-h230 img {
   opacity: 0.3;
}

.catalog-main-menu a {
    color: #fff;
    text-decoration: none;
}
.catalog-main-menu a:hover {
    color: #fff;
    text-decoration: underline;
}

.nav-alter {
    display: flex;
    width: 100%;
/*    max-width: 1300px;*/
    justify-content: center;
}
.nav-alter > a {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 55px;
    /* width: 100%; */
/*    min-width: 110px;*/
    padding-inline: 20px;
    /* width: 100%; */
    background: rgb(215, 4, 4);
    border: 0px solid rgb(151, 28, 0);
    border-top: none;
    /* border-left: none; */
    text-decoration: none;
    color: azure;
    font-size: 23px;

}
.nav-alter > a:hover {
    background: white;
    color: black;
    border: 1px solid white;
    border-top: none;
}
.nav-alter #navright {
    clip-path: polygon(0 0, 100% 0, 70% 100%, 0% 100%);
    padding-right: 80px;
}

.nav-alter #navleft {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 30% 100%);
    padding-left: 80px;
}


nav.menu-3 ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}
nav.menu-3 li {
    display: inline-block;
    margin: 0 5px;
    transition: all 0.3s;
}
nav.menu-3 a {
    display: block;
    color: rgb(215, 4, 4);
    transition: all 0.3s;
    text-decoration: none;
}
nav.menu-3 a:hover {
    color: rgb(151, 28, 0);
}
nav.menu-3 span {
    display: block;
}

nav.menu-4 ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}
nav.menu-4 li {
    display: inline-block;
    margin: 0 5px;
    transition: all 0.3s;
}
nav.menu-4 a {
    display: block;
    color: rgb(215, 4, 4);
    transition: all 0.3s;
    text-decoration: none;
}
nav.menu-4 a:hover {
    color: rgb(151, 28, 0);
}
nav.menu-4 span {
    display: block;
}


 
@media all and (min-width: 690px) {
    nav.menu-3 li {
        margin: 0;
        transform: skewX(-10deg);
    }
    nav.menu-3 a {
        padding: 10px 20px;
        color: #fff;
        background-color: rgb(215, 4, 4);
    }
    nav.menu-3 a:hover {
        color: #fff;
        background-color: rgb(151, 28, 0);
    }
    nav.menu-3 span {
        transform: skewX(10deg);
    }

    nav.menu-4 li {
        margin: 0;
        transform: skewX(10deg);
    }
    nav.menu-4 a {
        padding: 10px 20px;
        color: #fff;
        background-color: rgb(215, 4, 4);
    }
    nav.menu-4 a:hover {
        color: #fff;
        background-color: rgb(151, 28, 0);
    }
    nav.menu-4 span {
        transform: skewX(-10deg);
    }
}

@media (max-width: 1155px) {
    .menu-pc {
        display: none;
    }
}

nav.menu-3 li,
nav.menu-4 li {
    width: 150px;
    overflow: hidden;
}

@media (max-width: 1280px) {
    nav.menu-3 li,
    nav.menu-4 li {
        width: 140px;
    }
}
@media (max-width: 1200px) {
    nav.menu-3 li,
    nav.menu-4 li {
        width: auto;
    }
}

.catalog-card {
    background-color: transparent;
    border: 0;
}
.catalog-btn {
    transform: skewX(-10deg);
    background-color: rgb(215, 4, 4);
    border-radius: 0;
}

.catalog-btn-2 {
    transform: skewX(-10deg);
    background-color: #fff;
    border-radius: 0;
}

.catalog-main-menu img:hover {
    filter: grayscale(1);
}

.fullstory > h1 {
    color: azure;
    font-size: 47px;
    margin: 0;
    font-weight: 600;
}
@media (max-width: 440px) {
    .fullstory > h1 {
        font-size: 20px;
    }
    .fullstory-text {
        font-size: 18px;
    }
}

.name > .speedbar {
    color: azure;
    padding: 10px 5px;
}
.name > .speedbar a {
    color: azure;
}

iframe {
    width: 640px;
    height: 480px; /* Высота на весь экран */
    border: none; /* Убираем рамку */
}

a.archives {
   color: azure;
   text-decoration: none; 
}

.fullstory-sidebar ul.topnews {
    font-size: 14px;
}
ul.topnews li a {
    color: #fff;
    text-decoration: none; 
    font-size: 14px;
    text-transform: lowercase;
}
ul.topnews li {
    margin-bottom: 10px;
}

.social-widgets {
    position: fixed;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-widgets a {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}
@media (max-width: 440px) {
    .social-widgets a {
        width: 25px;
        height: 25px;
    }
}

.social-widgets img {
    width: 100%;
    height: 100%;
}

.quote {
    font-size: 1.5rem;
    padding: 10px;
    background: transparent; 
    border: 0px solid #dde4ea; 
    border-left: 5px solid rgb(215, 4, 4);
}

/* ============================================================== */
/* Фиксированные блоки для ленты новостей */
/* ============================================================== */
.box-h80 {
    height: 80px; 
    overflow:hidden;
}
.box-h120 {
    height: 120px; 
    overflow:hidden;
}
.box-h160 {
    height: 160px; 
    overflow:hidden;
}

/* ============================================================== */
/* выпадающие списки главного меню */
/* ============================================================== */
.menu-pc-dropdown-menu {
    display: none; /* Скрываем меню по умолчанию */
    position: relative; /* Позиционируем его относительно родителя */
    background-color: white; /* Устанавливаем фон */
    z-index: 10; /* Убедитесь, что меню выше других элементов */
    transform: skewX(0deg);
}

.menu-pc-dropdown:hover .menu-pc-dropdown-menu {
    display: block; /* Показываем меню при наведении на родительский элемент */
}

/* ============================================================== */
/* блог с широкими фотками */
/* ============================================================== */

.w-1400 {max-width: 1400px !important;}
/*#w-1400 .contentt{max-width: 1400px !important;}*/


/* Стили для контейнера с текстом и изображениями */
.blogstory-text {
    max-width: 1200px; /* Ограничиваем максимальную ширину контейнера */
    margin: 0 auto; /* Центрируем контейнер на странице */
    padding: 20px;
    line-height: 1.6;
    color: azure;
    font-size: 22px;
}



/* Стилизация параграфов с текстом */
.blogstory-text p {
    width: 75%;
    margin: 10px auto; /* Центрирование текста */
}

/* Стилизация параграфов с изображениями */
.blogstory-text p img {
    max-width: 100%;
    display: block;
}

/* Убираем отступы и поля у параграфов с изображениями */
.blogstory-text p:has(img) {
    width: 100%;
    margin: 0;
    padding: 10px 0;
}


/* Стилизация параграфов с изображениями */
.blogstory-text p img.image-padded {
    width: 75%;
    display: block;
    margin: 0 auto; /* Центрирование текста */
}

.blogstory-text a {
    color: rgb(182,183,182);
    text-decoration: none;
    border-bottom: 1px dashed;
}

/* ============================================================== */
/* Пагинация */
/* ============================================================== */
.pagination:hover {
    background-color: transparent;
}
.page-link:hover {
    background-color: transparent;
}
.pagination a {
    color: var(--bs-gray-dark);
}
.page-link {
    border: 0px solid var(--bs-gray-dark);
     background-color: transparent;
}
li.page-link a,
li.page-link span {
    border: 1px solid var(--bs-gray-dark);
    padding: 10px;
}
li.page-link span {
    background-color: var(--bs-secondary);  
    color: var(--bs-light);
}
li.page-link span.nav_ext {
    background-color: #484849;  
    color: var(--bs-gray-dark);
}
li.page-link a:hover {
    background-color: transparent;
    color: var(--bs-secondary);
    border: 1px solid var(--bs-secondary);
}

li.navigation-prev-link a,
li.navigation-next-link a {
   background-color: var(--bs-white); 
   color: var(--bs-secondary);
   border: 1px solid var(--bs-secondary);
   text-decoration: none;
}
li.navigation-prev-link a:hover,
li.navigation-next-link a:hover {
   background-color: var(--bs-secondary);
   color: var(--bs-light);
   border: 1px solid var(--bs-secondary);
}

li.page-link a {
    background-color: var(--bs-white); 
   color: var(--bs-secondary);
   border: 1px solid var(--bs-secondary);
   text-decoration: none;
}

/* ============================================================== */
/* Каталог продукции */
/* ============================================================== */

.catalog-card img:hover{
    filter: grayscale(80%);
}
.catalog-card a{
    color: #000;
    text-decoration: none;
}
.catalog-card a:hover{
    color: azure;
    text-decoration: underline;
}


.bg-catalog-top {
    background-image: url(/templates/pozhsnab2025/assets/offline/images/bg-top.png);
    background-repeat: no-repeat;
}

summary {color: azure;}

a.news-title-link {
    color: #222;
    text-decoration: none;
}


/* ============================================================== */
/* фикс слик слайдера */
/* ============================================================== */
.slick-slide[aria-hidden="true"] {
  visibility: hidden !important;
}
.slick-slide[aria-hidden="true"] * {
  visibility: hidden !important;
}


.swiper-slide {
    position: relative; /* Обеспечивает правильное позиционирование дочерних элементов */
    width: 100%; /* Ширина слайда */
    height: auto; /* Высота подстраивается под содержимое */
}

.my-yt-vi {
    display: block;
    position: relative; /* Позволяет размещать псевдоэлементы относительно ссылки */
    overflow: hidden; /* Скрывает выходящие за границы элементы */
    text-decoration: none; /* Убирает подчеркивание ссылки */
}

.my-yt-vi img {
    display: block;
    width: 100%; /* Изображение занимает всю ширину контейнера */
    height: auto; /* Сохраняет пропорции изображения */
    border-radius: 8px; /* Закругление углов изображения */
}

.my-yt-vi::before {
    content: ""; /* Пустой контент, так как используется фоновая картинка */
    background-image: url("/templates/pozhsnab2025/assets/youtubepopup/videoplay.png"); /* Путь к иконке проигрывателя */
    background-size: contain; /* Масштабирует иконку, чтобы она помещалась в контейнер */
    background-repeat: no-repeat; /* Отключает повторение фона */
    background-position: center; /* Центрирует иконку */
    width: 60px; /* Ширина иконки */
    height: 60px; /* Высота иконки */
    position: absolute; /* Абсолютное позиционирование */
    top: 50%; /* Позиционирование по центру по вертикали */
    left: 50%; /* Позиционирование по центру по горизонтали */
    transform: translate(-50%, -50%); /* Центрирование иконки */
    z-index: 2; /* Размещает иконку поверх изображения */
    pointer-events: none; /* Отключает взаимодействие с иконкой */
}

/* ============================================================== */
/* swiper-slide */
/* ============================================================== */

/* Стили для контейнера слайда */
.swiper-slide {
    height: 440px; /* Фиксированная высота слайда */
    display: flex; /* Используем flexbox для центрирования содержимого */
    align-items: center; /* Вертикальное центрирование */
    justify-content: center; /* Горизонтальное центрирование */
    overflow: hidden; /* Обрезаем содержимое, выходящее за пределы слайда */
    background-color: transparent; /* Фон слайда (можно изменить на любой другой цвет) */
}

/* Стили для изображений внутри слайда */
.swiper-slide img {
    max-width: 100%; /* Ограничиваем ширину изображения */
    max-height: 100%; /* Ограничиваем высоту изображения */
    width: auto; /* Автоматическая ширина */
    height: auto; /* Автоматическая высота */
    object-fit: contain; /* Сохраняем пропорции изображения */
}

/* Стили для контейнера Swiper */
.reviews-swiper {
    position: relative; /* Обязательно для позиционирования кнопок */
}

/* Общие стили для кнопок */
.swiper-button-next,
.swiper-button-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px; /* Ширина кнопки */
    height: 40px; /* Высота кнопки */
    background-color: transparent; /* Прозрачный фон */
    border: none; /* Убираем рамку */
    cursor: pointer; /* Курсор указывает, что это интерактивный элемент */
    z-index: 10; /* Убедимся, что кнопки выше других элементов */
}

/* Стили для кнопки "Следующий слайд" */
.swiper-button-next {
    right: 0px; /* Отступ справа */
}

/* Стили для кнопки "Предыдущий слайд" */
.swiper-button-prev {
    left: 0px; /* Отступ слева */
}

/* Стили для изображений внутри кнопок */
.swiper-button-next img,
.swiper-button-prev img {
    display: block;
    width: 100%; /* Изображение занимает всю ширину кнопки */
    height: auto; /* Сохраняем пропорции */
}

.swiper-button-next::after, .swiper-rtl .swiper-button-prev::after {
  content: '';
}
.swiper-button-prev::after, .swiper-rtl .swiper-button-next::after {
  content: '';
}

/* ============================================================== */
/* подписи под фото */
/* ============================================================== */
.image-description {
    margin-top: 10px; /* Отступ между картинкой и описанием */
    font-style: italic; /* Курсив для описания */
    color: azure; /* Цвет текста */
    font-size: 20px;
    font-weight: 200;
    text-align: center; /* Выравнивание по центру */
}
