

/* Start:/local/templates/kanistra_template_all/components/bitrix/news.list/certificate/style.css?17533566623647*/
.certificates {
    padding: 50px 0 100px 38px;
    border-left: 1px solid #cacaca;
    width: 100%;
}

.certificates_title_arrow {
    display: flex;
    justify-content: space-between;
}

.certificates_arrow {
    display: flex;
    align-items: flex-start;
}

.certificates_left,
.certificates_right {
    padding: 19px 24px;
    border-radius: 4px;
    background: #fff;
    border: 0.78px solid #cacaca;
    cursor: pointer;
    transition: 0.3s;
}

.certificates_left.inactive,
.certificates_right.inactive {
    opacity: 0.4; /* Прозрачность для неактивной кнопки */
    cursor: not-allowed; /* Изменение курсора на "не разрешено" для неактивной кнопки */
}

.certificates_left:hover:not(.inactive),
.certificates_right:hover:not(.inactive) {
    background: #ffb630; /* Подсветка только для активных кнопок */
    border: 0.78px solid #ffb630;
}

.certificates_all {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
}

.certificates_item {
    padding: 13px 17px;
    border: 0.51px solid #cacaca;
    border-radius: 4px;
    filter: grayscale(100%);
    cursor: pointer;
    transition: 0.3s;
    background: #fff;
}

.certificates_item img {
    width: 100%;
    border-radius: 4px;
}

.certificates_item:hover {
    filter: none;
}

.popup_certificates {
    display: none; /* Скрыт по умолчанию */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0); /* Начальная прозрачность фона */
    justify-content: center; /* Центрирование содержимого */
    align-items: center; /* Центрирование содержимого */
    z-index: 1000; /* Устанавливаем уровень */
    transition: 0.3s ease; /* Плавный переход для фона и прозрачности */
}

.popup_certificates.show {
    display: flex; /* Показываем попап в flex режиме */
    background-color: rgba(0, 0, 0, 0.7); /* Затемнение фона */
    opacity: 1; /* Полная непрозрачность при показе */
}

.popup_certificates_content {
    position: relative; /* Относительное позиционирование для содержимого */
    opacity: 0; /* Начальная непрозрачность для попапа */
    transition: 0.3s ease; /* Плавный переход для содержимого */
}

.popup_certificates.show .popup_certificates_content {
    opacity: 1; /* Полная непрозрачность при показе */
}

.popup_certificates img {
    width: 25vw;
    border-radius: 4px;
}

.close {
    position: absolute;
    display: none;
    top: 10px;
    right: 10px;
    font-size: 30px; /* Размер шрифта для кнопки закрытия */
    color: white;
    cursor: pointer; /* Указываем, что это кликабельный элемент */
}

/*АДАПТИВ*/

@media screen and (max-width: 1500px) {
}

@media screen and (max-width: 1250px) {
    .certificates_all {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media screen and (max-width: 950px) {
    .certificates_item {
        padding: 5px;
    }

    .certificates_left,
    .certificates_right {
        padding: 10px 15px;
    }

    .popup_certificates img {
        width: 35vw;
    }
}

/* End */
/* /local/templates/kanistra_template_all/components/bitrix/news.list/certificate/style.css?17533566623647 */
