

/* Start:/local/templates/academy_it/components/bitrix/system.pagenavigation/more_navi/style.css?1648821065127*/
@media (max-width: 640px){
    .si4_btn.fc.load_more {
        display: flex !important;
        margin-top: 40px;
    }
}
/* End */


/* Start:/local/templates/academy_it/components/bitrix/system.pagenavigation/courses_main_universal/style.css?1648821065127*/
@media (max-width: 640px){
    .si4_btn.fc.load_more {
        display: flex !important;
        margin-top: 40px;
    }
}
/* End */


/* Start:/local/components/academyit/news.list/templates/courses_main_universal/style.css?17877294652175*/
.si4_blocks_block{
    position: relative;
}

.si4_blocks_isset_b2_blocks {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* всегда 2 колонки */
    grid-auto-rows: auto;           /* строки по контенту */
    gap: 12px 32px; /* вертикальный / горизонтальный отступ — подберите под макет */
}

.si4_blocks_isset_b2_blocks > div {
    /* если .df задаёт display:flex внутренним блокам - это не мешает,
       но justify-content: flex-start (jcfs) на них не влияет на грид-раскладку родителя */
}

.si4_blocks_isset_b2_blocks > div:last-child:nth-child(odd) {
    grid-column: 1 / -1;
}

.si4_blocks_isset_b2_blocks.df {
    display: grid !important;
}

.donabor-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 8px;
    cursor: help;
}

.donabor-icon svg {
    width: 18px;
    height: 18px;
}
.donabor-icon .tooltip-text {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    color: #000;
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 64px;
    border: 1px solid #F47C44 !important;
    white-space: nowrap;
    z-index: 1000;
    margin-bottom: 8px;
    display: none;
    font: 12px Tahoma;
}

.donabor-icon:hover .tooltip-text {
    display: block;
}
.donabor-icon .tooltip-text::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.other-dates-link-text:hover {
    text-decoration: underline;
}

.textPrice .text.normal{
	font-weight:normal!important;
	font-size: 11px!important;;
}

.textPrice .price{
	font-size: 11px!important;;
}

#success_buy {
    position: fixed;
    left: 30%;
    z-index: 20000000;
    background: #fff;
    box-shadow: 0px 2px 4px rgb(53 53 53 / 8%);
    border-radius: 8px;
    padding: 10px 22px 10px 22px;
    color: #000;
    top: 80%;
}
/* End */


/* Start:/local/components/academyit_v1/addCart.success.message/templates/.default/style.css?17607071332396*/
/* Базовые стили для сообщения */
.add-cart-success-message {
    position: fixed;
    z-index: 20000000;
    background: #FFFFFF;
    border: 1px solid #EBEBEB;
    box-shadow: 0px 2px 4px rgb(53 53 53 / 8%);
    border-radius: 8px;
    padding: 16px;
    font-size: 16px;
    line-height: 20px;
    color: #332B2B;
    text-align: center;
    top: 20px;
    width: 320px;
    max-width: 90vw;
    box-sizing: border-box;
}

/* Десктопная версия */
@media (min-width: 768px) {
    .add-cart-success-message {
        right: 20px;
        left: auto;
    }
    
    .message-buttons {
        display: flex;
        gap: 12px;
        justify-content: center;
    }
    
    .message-button {
        width: auto;
        flex: 1;
    }
}

/* Мобильная версия */
@media (max-width: 767px) {
    .add-cart-success-message {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
    
    .message-buttons {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    
    .message-button {
        width: 100%;
    }
}

/* Общие стили для контента и кнопок */
.message-content {
    margin-bottom: 16px;
    font-weight: 500;
}

.message-button {
    padding: 5px;
    font-size: 14px;
    border-radius: 64px;
    border: 1px solid #F47C44;
    flex-shrink: 0;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    font-weight: 500;
    box-sizing: border-box;
    display: block;
}

/* Белая кнопка "Продолжить поиск" */
.message-button.continue {
    background: white;
    color: #F47C44;
    border: 1px solid #F47C44;
}

.message-button.continue:hover {
    background: #F47C44;
    color: white;
    border-color: #F47C44;
}

/* Оранжевая кнопка "В корзину" */
.message-button.cart {
    background: #F47C44;
    color: white;
    border: 1px solid #F47C44;
}

.message-button.cart:hover {
    background: #fff;
    color: #F47C44;
    border-color: #e56930;
}

/* Анимация появления */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.add-cart-success-message.show {
    animation: slideIn 0.3s ease-out forwards;
}
/* End */


/* Start:/local/components/academyit/badges/templates/.default/style.css?17877525431717*/
/* Стили бейджев карточки курса */
.badge {
    cursor: default;
    position: absolute;
    top: 0px;
    right: -1px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 15px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    line-height: 20px;
    border-radius: 0px 16px;
    z-index: 5;
    font-family: 'Lato', sans-serif;
    white-space: nowrap;
}

.badge svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

/* Цвета */
.badge-discount   { background: #F90A01; } /* #E74C3C */
.badge-sale   { background: #F90A01; } /* #E74C3C */
.badge-hit    { background: #4BB89A; } /* #27AE60 */
.badge-new    { background: #5255C9; }
.badge-update { background: #9B59B6; }
.badge-hot    { background: linear-gradient(135deg, #F47C44, #E74C3C); }
.badge-installment { background: #B40434; }

/* ===== СТОПКА БЕЙДЖЕЙ В РЯД ===== */
.badge-stack {
    position: absolute;
    top: 0px;
    right: -1px;
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 0;
    border-radius: 0px 16px;
    overflow: hidden;
    z-index: 5;
}

.badge-stack .badge {
    position: relative;
    top: auto;
    right: auto;
    border-radius: 0;
}

/* Градиентный переход между бейджами */
.badge-stack .badge:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 0;
    bottom: 0;
    width: 10px;
    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,0.45), rgba(255,255,255,0));
    z-index: 2;
    pointer-events: none;
}
@media screen and (max-width: 980px) {
    .badge {
        padding: 4px 20px;
    }
}

/* End */


/* Start:/local/templates/academy_it/components/bitrix/news.list/search_news/style.css?1648821065150*/
div.news-list
{
	word-wrap: break-word;
}
div.news-list img.preview_picture
{
	float:left;
	margin:0 4px 6px 0;
}
.news-date-time {
	color:#486DAA;
}

/* End */
/* /local/templates/academy_it/components/bitrix/system.pagenavigation/more_navi/style.css?1648821065127 */
/* /local/templates/academy_it/components/bitrix/system.pagenavigation/courses_main_universal/style.css?1648821065127 */
/* /local/components/academyit/news.list/templates/courses_main_universal/style.css?17877294652175 */
/* /local/components/academyit_v1/addCart.success.message/templates/.default/style.css?17607071332396 */
/* /local/components/academyit/badges/templates/.default/style.css?17877525431717 */
/* /local/templates/academy_it/components/bitrix/news.list/search_news/style.css?1648821065150 */
