:root {
    --C0: #9a77c9;
    --C1: #7c7c7c;
    --C2: #c5ba59;
    --C3: #a14a2e;
    --C4: #779953;
    --C5: #537299;
    --C6: #bb4444;
    --C7: #539974;
    --C8: #537299;
}

.c0 {
    background: var(--C0) !important;
    color: #ffffff !important;
}

.c1 {
    background: var(--C1) !important;
    color: #ffffff !important;
}

.c2 {
    background: var(--C2) !important;
    color: #ffffff !important;
}

.c3 {
    background: var(--C3) !important;
    color: #ffffff !important;
}

.c4 {
    background: var(--C4) !important;
    color: #ffffff !important;
}

.c5 {
    background: var(--C5) !important;
    color: #ffffff !important;
}

.c6 {
    background: var(--C6) !important;
    color: #ffffff !important;
}

.c7 {
    background: var(--C7) !important;
    color: #ffffff !important;
}

.c8 {
    background: var(--C8) !important;
    color: #ffffff !important;
}

.page-schedule-list {
    width: calc(100% - 40px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin: 20px 20px 0 20px;
}

.page-schedule-list>.buttons-list {
    padding: 10px;
    margin-bottom: 40px;
    background: var(--ColorThemes1);
    color: var(--ColorThemes3);
    border: 1px solid var(--ColorThemes2);
    box-shadow: var(--shadow-l1);
    border-radius: var(--border-radius);
    overflow: auto;
    display: none;
}

.page-schedule-list>.buttons-list>button,
.page-schedule-list>.buttons-list>a {
    cursor: pointer;
    border-radius: calc(var(--border-radius) - 5px);
    padding: 0 10px;
    margin-right: 20px;
    min-width: fit-content;
    min-height: 40px;
    background: var(--PrimaryColor);
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-schedule-list>.buttons-list>button>span,
.page-schedule-list>.buttons-list>a>span {
    color: var(--PrimaryColorText);
    font-size: var(--FontSize3);
    font-weight: normal;
}

.page-schedule-list>.buttons-list>button>svg,
.page-schedule-list>.buttons-list>a>svg {
    width: 20px;
    height: 20px;
    fill: var(--PrimaryColorText);
    margin-right: 10px;
}

.page-schedule-list>.list-controls {
    padding: 10px;
    margin: 0px 0 10px 0;
    background: var(--ColorThemes1);
    color: var(--ColorThemes3);
    border: 1px solid var(--ColorThemes2);
    box-shadow: var(--shadow-l1);
    border-radius: var(--border-radius);
    overflow: auto;
    display: flex;
}

.page-schedule-list>.list-controls>select {
    min-width: 140px;
    height: 30px;
    background-color: var(--ColorThemes2);
    border: 1px solid var(--ColorThemes0);
    box-shadow: var(--shadow-l1);
    color: var(--ColorThemes3);
    font-size: var(--FontSize1);
    cursor: pointer;
    padding: 0 5px;
    margin-right: 10px;
    border-radius: calc(var(--border-radius) - 5px - 2px);
}

.page-schedule-list>div {
    border-radius: var(--border-radius);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin-bottom: 10px;
    background: var(--ColorThemes1);
    color: var(--ColorThemes3);
    border: 1px solid var(--ColorThemes2);
    box-shadow: var(--shadow-l1);
}

.page-schedule-list>div>span {
    width: calc(100% - 40px);
    color: var(--ColorThemes3);
    border-radius: var(--border-radius);
    font-size: var(--FontSize5);
    padding: 20px 20px 10px 20px;
    position: relative;
    font-weight: 500;
}

.page-schedule-list>div>#list {
    width: 100%;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-content: flex-start;
    justify-content: center;
    overflow-y: auto;
    align-items: flex-start;
    transition: .3s ease;
}


.page-schedule-list>div>#list>.mess-list {
    height: 200px;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: space-evenly;
}

.page-schedule-list>div>#list>.mess-list[data-visible="true"] {
    display: flex;
}

.page-schedule-list>div>#list>.mess-list>svg {
    width: 100px;
    height: 100px;
    fill: var(--ColorThemes3);
    opacity: 0.7;
}

.page-schedule-list>div>#list>.mess-list>h3 {
    font-size: var(--FontSize5);
    color: var(--ColorThemes3);
    opacity: 0.7;
}

.page-schedule-list>div>#list>.card {
    position: relative;
    width: 100%;
    height: fit-content;
    background-color: var(--ColorThemes2);
    margin: 10px;
    overflow: auto;
    border-radius: calc(var(--border-radius) - 5px);
}

.page-schedule-list>div>#list>.card>summary {
    width: calc(100% - 40px);
    cursor: pointer;
    color: var(--ColorThemes3);
    border-radius: var(--border-radius);
    font-size: var(--FontSize5);
    padding: 20px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-schedule-list>div>#list>.card>summary>span {
    font-weight: 500;
    width: 100%;
}

.page-schedule-list>div>#list>.card>div {
    border: 2px solid var(--ColorThemes3);
    margin: 10px;
    border-radius: calc(var(--border-radius) - 5px);
    width: calc(100% - 24px);
    min-width: fit-content;
}

.page-schedule-list .column {
    background: var(--ColorThemes1);
    border-radius: calc(var(--border-radius) - 5px - 2px);
    margin: 10px;
    text-align: left;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.page-schedule-list hr {
    margin: 10px;
}

.page-schedule-list .column>span {
    font-size: var(--FontSize5);
    color: var(--ColorThemes3);
    background: var(--ColorThemes0);
    width: calc(100% - 10px);
    padding: 5px 0;
    text-align: center;
    margin: 5px;
    border-radius: calc(var(--border-radius) - 5px - 5px);
}

.page-schedule-list .block_info {
    display: flex;
    flex-direction: row;
    width: 100%;

}

.page-schedule-list .column .block_info>p {
    font-size: var(--FontSize4);
    color: var(--ColorThemes3);
    background: var(--C0);
    padding: 5px 10px;
    min-width: 110px;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5px;
    border-radius: calc(var(--border-radius) - 5px - 5px);
    text-align: center;
}

.page-schedule-list .column .block_info>h2 {
    font-size: var(--FontSize3);
    color: var(--ColorThemes3);
    background: var(--ColorThemes0);
    width: 100%;
    min-width: 150px;
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5px;
    border-radius: calc(var(--border-radius) - 5px - 5px);
}

.page-schedule-list .column .block_separator {
    display: flex;
    flex-direction: row;
    width: 100%;
}

.page-schedule-list .column .block_separator>p {
    font-size: var(--FontSize5);
    color: var(--ColorThemes3);
    background: var(--C1);
    width: 100%;
    padding: 5px 10px;
    min-width: 110px;
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5px;
    border-radius: calc(var(--border-radius) - 5px - 2px);
    text-align: center;
}

.page-schedule-list .column .block_separator>h2 {
    font-size: var(--FontSize3);
    color: var(--ColorThemes3);
    background: var(--ColorThemes0);
    width: 100%;
    padding: 5px 10px;
    min-width: 200px;
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5px;
    border-radius: calc(var(--border-radius) - 5px - 2px);
    text-align: center;
}

@media (min-width: 800px) {
    .page-schedule-list .column>.row {
        display: flex;
        justify-content: space-between;
        flex-direction: row;
    }

    .page-schedule-list .column>.row>.block_info:nth-child(2n) {
        margin-left: 10px;
    }
}