﻿.retraining-section-header{
    border: none;
}

.page .sections-list {
    padding-left: 0;
}

.page .section-item {
    margin: 0;
    margin-bottom: 48px;
}

.page .section-header {
    margin-bottom: 16px;
    color: #2E2E2E;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.3; /* 62.4px */ 
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.page .section-item.active .section-header {
    color: #004677;
}

.page .section-header:hover {
    color: #2380C3!important;
}

    .page .section-header:after {
        display: block;
        content: "";
        background-image: url("/Content/img/icons.svg#icon-arrow");
        background-repeat: no-repeat;
        background-size: 10px 6px;
        width: 10px;
        height: 6px;
        flex-shrink: 0;
        transform: scale(2);
    }

.page .section-item.active .section-header:after {
    transform: scale(2) rotate(180deg);
}

.section-item-content {
    display: none;
}

.section-item.active .section-item-content {
    display: block;
    padding-bottom: 0.875rem;
}

.page .sections-block-list {
    padding-left: 0;
}

.js-section-block{
    display: none;
}

.js-section-block.active {
    display: block;
}

.sections-block-all-list .schedule-item {
   display: none;
}

    .sections-block-all-list .schedule-item:nth-child(-n+4) {
        display: grid;
    }

.js-show-all .sections-block-all-list .schedule-item {
    display: grid !important;
}

.courses-link-more a {
    font-weight: 600;
    font-size: 0.875rem;
    background: #2580C3;
    color: white !important;
    padding: 5px 15px;
    text-transform: uppercase;
    border-radius: 3px;
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    transition: all, 300ms;
}

    .courses-link-more a::after {
        display: inline;
        content: "";
        width: 10px;
        height: 6px;
        background-image: url("/Content/img/icons.svg#icon-arrow-white");
        background-repeat: no-repeat;
        background-size: 10px 6px;
        flex-shrink: 0;
    }

    .js-show-all .courses-link-more a::after {
        transform: rotate(180deg);
    }

    .courses-link-more a:hover, .courses-link-more a:focus {
        background: #004677;
        transition: all, 300ms;
    }

.section-filters-block{
    display: none;
    gap:6px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.section-item.active .section-filters-block {
    display: flex;
}

.filter-button {
    display: block;
    border-radius: 10px;
    border: 1px solid #6B7786;
    padding: 12px 24px;
    color: #2E2E2E;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2; /* 20.8px */
    background: transparent;
    cursor: pointer;
}

    .filter-button:hover {
       background: rgba(52, 108, 228, .5);
    }
    .filter-button.active {
        background: #346CE4;
        color:#fff;
        border-color: #346CE4 ;
    }

@media (max-width: 500px) {
    .page .section-header {
        font-size: 16px;
    }

    .section-filters-block {
        gap: 10px 6px;
    }

    .filter-button {
        border-radius: 5px;
        padding: 6px 12px;
        font-size: 12px;
        line-height: 1.2;
    }

    .page .section-header:after {
        transform: scale(1.3);
    }

    .page .section-item.active .section-header:after {
        transform: scale(1.3) rotate(180deg);
    }

}
