﻿.switcher {
    padding: 4px;
    background: #F4F3F8;
    border-radius: 12px;
    display: inline-flex;
    flex-direction: row;
    align-items: flex-start;
}

.switcher__item {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 8px 20px;
    border-radius: 8px;
    cursor: pointer;
}

.switcher__item_active {
    background: #FFFFFF;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);
    cursor: default;
}

.switcher-item {

}

.switcher-item__link, .switcher-item__link:active, .switcher-item__link:hover {
    font-weight: normal;
    font-size: 16px;
    line-height: 24px;
    color: #181920;
    text-decoration: none;
}

.switcher__item_active .switcher-item__link {
    color: #0C0D10;
    font-weight: 500;
}

.zun-list {
    display: grid;
    grid-gap: 16px;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
}

.zun-list__item:hover {
    background: rgba(254, 251, 244, 0.84);
}

.zun-item {
    background:#fff;
    border-radius: 8px;
    min-height: 92px;
    padding: 24px;
    border: 1px solid #F4F3F8;
    text-decoration: none !important;
    color: black !important;
}

.zun-item__title {
    color: #181920;
    font-size: 20px;
    font-weight:100;
    line-height: 24px;
    font-family: 'Montserrat', sans-serif;

}

.zun-item__counter {
    font-weight: normal;
    font-size: 16px;
    line-height: 24px;
    color: #7B819B;
    margin-top: 8px;
}

.question-list {
}

.question-list__item {
    margin-bottom: 12px;
}

.question-item {
    background: #FFFFFF;
    border-radius: 8px;
    padding: 24px;
    display: flex;
    align-items: center;
}

.question-item__column {
    margin-left: 24px;
}

    .question-item__column:first-child {
        margin-left: 0;
    }

.question-item__column_title {
    flex: 1;
    font-weight: bold;
    font-size: 18px;
    line-height: 24px;
    color: #111111;
}

.question-icon {
    background: url('/dist/static/exam-item.svg');
    width: 24px;
    height: 24px;
    display: inline-block;
    align-items: center;
}

.question-header {
    display: flex;
    margin-bottom: 12px;
    align-items: center;
}

.question-header__column {
    margin-left: 16px;
}

    .question-header__column:first-child {
        margin-left: 0;
    }

.question-header__column_left {
}

.question-header__column_main {
    font-weight: bold;
    font-size: 24px;
    line-height: 28px;
    color: #0C0D10;
}

.back-link {
    background: #E8E8EF;
    width: 40px;
    height: 40px;
    display: inline-block;
    position: relative;
    border-radius: 50%;
}


    .back-link::after {
        content: "";
        background: url(/dist/static/arrow-left-black.svg) center no-repeat;
        height: 24px;
        display: block;
        width: 24px;
        position: absolute;
        top: 8px;
        left: 8px;
    }


.olympiad-list {
    display: grid;
    grid-gap: 16px;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(192px, 1fr);
}

.olympiad-list__item, .olympiad-list__item:hover, .olympiad-list__item:active {
    text-decoration: none;
}

.olympiad-item {
    border-radius: 8px;
    background: #00B9C6;
}

.olympiad-item {
    border-radius: 8px;
    background: #00B9C6;
}

    .olympiad-item:nth-child(4n) {
        background: #00B9C6;
    }

    .olympiad-item:nth-child(4n +1) {
        background: #F2A657;
    }

    .olympiad-item:nth-child(4n +2) {
        background: #4794FF;
    }

    .olympiad-item:nth-child(4n +3) {
        background: #E47B83;
    }


    .olympiad-item__wrapper {
        padding: 24px;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0.01%, rgba(31, 31, 31, 0.15) 100%);
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

.olympiad-item__title {
    font-style: normal;
    font-weight: bold;
    font-size: 32px;
    line-height: 36px;
    color: #FFFFFF;
}

.olympiad-item__counter {
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    line-height: 20px;
    color: #F4F3F8;
    opacity: 0.8;
}
    