*, *::before, *::after {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
}

html {
    height: 100%;
    width: 100%;
}

a {
    text-decoration: none;
}

/* Скролбар */

body {
    --sb-track-color: #ffffff;
    --sb-thumb-color: #808080;
    --sb-size: 7px;
}

    body::-webkit-scrollbar {
        width: var(--sb-size);
    }

    body::-webkit-scrollbar-track {
        background: var(--sb-track-color);
        border-radius: 8px;
    }

    body::-webkit-scrollbar-thumb {
        background: var(--sb-thumb-color);
        border-radius: 8px;
    }

/* Подключение шрифта */

@font-face {
    font-family: "Styrene A Web";
    src: url("/lcp/fonts/StyreneAWeb-Bold.woff2") format("woff2");
    src: url("/lcp/fonts/StyreneAWeb-Bold.woff") format("woff");
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: "Styrene A Web";
    src: url("/lcp/fonts/StyreneAWeb-Medium.woff2") format("woff2");
    src: url("/lcp/fonts/StyreneAWeb-Medium.woff") format("woff");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "Styrene A Web";
    src: url("/lcp/fonts/StyreneAWeb-Regular.woff2") format("woff2");
    src: url("/lcp/fonts/StyreneAWeb-Regular.woff") format("woff");
    font-weight: normal;
    font-style: normal;
}

/* Цвета шрифтов */

.c1 {
    color: #FFFFFF;
}

.c2 {
    color: #231F20;
}

.c3 {
    color: #00513D;
}

.c4 {
    color: #656363;
}

.c5 {
    color: #808080;
}

/* Цвета заднего фона */

.bc0 {
    background-color: #F1F1F1;
}

.bc1 {
    background-color: #FFFFFF;
}

.bc2 {
    background-color: #511600;
}

.bc3 {
    background-color: #00513D;
}

/* Шрифты */

.t0 {
    font-family: "Styrene A Web";
    font-weight: bold;
    font-size: 14px;
}

.t1 {
    font-family: "Styrene A Web";
    font-weight: 500;
    font-size: 14px;
}

.t2 {
    font-family: "Styrene A Web";
    font-weight: bold;
    font-size: 16px;
}

.t3 {
    font-family: "Styrene A Web";
    font-weight: 500;
    font-size: 20px;
}

.t4 {
    font-family: "Styrene A Web";
    font-weight: 500;
    font-size: 14px;
}

.t5 {
    font-family: "Styrene A Web";
    font-weight: bold;
    font-size: 32px;
}

.t6 {
    font-family: "Styrene A Web";
    font-weight: normal;
    font-size: 18px;
}

.t7 {
    font-family: "Styrene A Web";
    font-weight: bold;
    font-size: 22px;
}

.t8 {
    font-family: "Styrene A Web";
    font-weight: 500;
    font-size: 12px;
}

/* Классы CSS для десктопной версии */

/* Страница авторизации */

body {
    margin: 0;
    padding: 0;
    border: 0;
    font-family: "Styrene A Web", sans-serif;
    font-weight: normal;
    font-size: 24px;
    width: 100%;
}

.body_a {
    height: 100vh;
    width: 100%;
    padding: 15px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
}

.body_a_cont_mn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.body_a_cont {
    display: flex;
}

.auth_left {
    display: flex;
    align-items: center;
    margin-right: 140px;
}

.form_a {
    width: 330px;
    height: 442px;
    border-radius: 14px;
    box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.form_a_cont {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.inp_a {
    display: flex;
    align-items: center;
    width: 100%;
    height: 40px;
    border-radius: 10px;
    border: 0;
    padding: 0 15px;
}

.btn_a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 40px;
    border-radius: 10px;
    border: 0;
    margin-top: 20px;
}

.made_a {
    margin: 15px 0 ;
    display: flex;
    align-items: center;
}

/* Окно ошибки авторизации */

.made_s {
    margin: 15px 0;
    display: flex;
    align-items: center;
}

.error_a {
    display: none;
    /* display: flex; */
    align-items: center;
    justify-content: center;
    height: 50px;
    width: 330px;
    color: #511600;
    box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.25);
    border-radius: 14px;
    margin-bottom: 15px;
}

/* Главная страница */

.body_mn {
    display: flex;
    flex-direction: column;
    align-items: center;
}

header {
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 90px;
    position: absolute;
    top: 0;
    left: 0;
}

.header_r {
    display: flex;
    align-items: center;
}

.header_r_txt {
    display: flex;
    flex-direction: column;
    margin-left: 15px;
}

.header_l_txt {
    display: flex;
    flex-direction: column;
    margin-right: 15px;
    align-items: self-end;
}

main {
    margin-top: 105px;
    width: 1200px;
    border-radius: 14px;
    box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.25);
    min-height: calc(100vh - 165px);
    display: flex;
    flex-direction: column;
}

.checkbox_cont {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100px;
    padding: 0 30px;
}

input[type="checkbox"] {
    accent-color: #231F20;
    width: 20px;
    height: 20px;
    border: 0;
    margin: 0;
}

.checkbox {
    display: flex;
    align-items: center;
}

.message {
    display: flex;
    flex-direction: column;
}

.message_cont {
    display: flex;
    justify-content: space-between;
    border-top: 3px #F1F1F1 solid;
    padding: 15px 30px;
    width: 100%;
    height: auto;
}

.message_cont_left {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 400px;
}

.calendar_cont {
    display: flex;
    align-items: center;
}

.message_cont_right {
    width: 800px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.button_cont {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    padding: 0 30px 15px 30px;
}

.btn_mn {
    width: auto;
    height: 34px;
    border-radius: 6px;
    padding: 0 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
}

footer {
    display: flex;
    justify-content: space-between;
    width: 1200px;
    margin: 15px 0;
    height: 30px;
}

.made_mn {
    display: flex;
    align-items: center;
}

.pages_cont {
    display: flex;
    gap: 10px;
}

.pages_btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    width: 40px;
    border: 0;
    border-radius: 6px;
}

.pages_txt {
    display: flex;
    width: auto;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    padding: 0 10px;
}

.pages_txt_items {
    gap: 5px;
    display: flex;
    align-items: end;
}

/* Кнопка выхода пользователя */

.btn_exit_cont {
    display: none;
    /* display: flex; */
    flex-direction: column;
    align-items: end;
    position: absolute;
    top: 76px;
    right: 104px;
}

.btn_exit {
    display: flex;
    gap: 6px;
    align-items: center;
    width: auto;
    height: 34px;
    padding: 0 25px;
    border: 0;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
}

/* Окно ответа на сообщение */

.reply_cont {
    display: none;
    /* display: flex; */
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(183.81, 183.81, 183.81, 0.60);
    backdrop-filter: blur(3px);
}

.reply_form {
    width: 830px;
    height: auto;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    border-radius: 14px;
}

.reply_textarea {
    height: 230px;
    width: 100%;
    padding: 15px;
    border-radius: 14px;
    border: 4px #F1F1F1 solid;
}

textarea {
    --sb-track-color: #ffffff;
    --sb-thumb-color: #808080;
    --sb-size: 7px;
}

    textarea::-webkit-scrollbar {
        width: var(--sb-size);
    }

    textarea::-webkit-scrollbar-track {
        background: var(--sb-track-color);
        border-radius: 8px;
    }

    textarea::-webkit-scrollbar-thumb {
        background: var(--sb-thumb-color);
        border-radius: 8px;
    }

.reply_btn_cont {
    display: flex;
    gap: 15px;
    justify-content: end;
    width: 100%;
}

.reply_btn {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 30px;
    width: auto;
    padding: 0 25px;
    border-radius: 6px;
    border: 0;
}

/* Окно просмотра сообщения */

.preview_cont {
    display: none;
    /* display: flex; */
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(183.81, 183.81, 183.81, 0.60);
    backdrop-filter: blur(3px);
}

.preview_mes {
    overflow-x: hidden;
}

.preview_mes {
    --sb-track-color: #ffffff;
    --sb-thumb-color: #808080;
    --sb-size: 7px;
}

    .preview_mes::-webkit-scrollbar {
        width: var(--sb-size);
    }

    .preview_mes::-webkit-scrollbar-track {
        background: var(--sb-track-color);
        border-radius: 8px;
    }

    .preview_mes::-webkit-scrollbar-thumb {
        background: var(--sb-thumb-color);
        border-radius: 8px;
    }

/* Страница студента */

.body_s {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
}

.logo_s_cont {
    margin: 15px 0;
    padding: 0 30px;
    width: 100vw;
    display: flex;
    align-items: center;
    gap: 10px;
}

.error_s {
    /* display: none;  */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    width: 1000px;
    color: #511600;
    box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.25);
    border-radius: 14px;
    margin-bottom: 15px;
    margin-top: 0;
    padding: 0;
}

.form_s {
    width: 1000px;
    height: auto;
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    box-shadow: 0px 8px 30px rgba(0, 0, 0, 0.25);
    padding: 0 20px;
    margin: 15px 0;
}

.form_top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 15px 0;
}

.form_item {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 15px;
}

.checkbox_s {
    width: 100%;
    justify-content: center;
    padding-bottom: 15px;
}

.ss-search {
    width: 100%;
}

.ss-content .ss-search input:focus {
    box-shadow: none !important;
}

.ss-list {
    width: 100%;
}

.ss-content .ss-search input {
    border-radius: 10px !important;
    background-color: #F1F1F1 !important;
}

.ss-main {
    border-radius: 10px !important;
    background-color: #F1F1F1 !important;
}

.ss-content.ss-open-below {
    padding: 15px;
}

.ss-content .ss-list {
    --sb-track-color: #ffffff;
    --sb-thumb-color: #808080;
    --sb-size: 7px;
}

    .ss-content .ss-list::-webkit-scrollbar {
        width: var(--sb-size);
    }

    .ss-content .ss-list::-webkit-scrollbar-track {
        background: var(--sb-track-color);
        border-radius: 8px;
    }

    .ss-content .ss-list::-webkit-scrollbar-thumb {
        background: var(--sb-thumb-color);
        border-radius: 8px;
    }

    .ss-content .ss-list .ss-option.ss-highlighted, .ss-content .ss-list .ss-option:not(.ss-disabled).ss-selected {
        color: var(--ss-bg-color);
        background-color: #00513D !important;
    }

:root {
    --ss-primary-color: #00513D !important;
}

.ss-option {
    line-height: 30px;
    margin-bottom: 1px;
}

.ss-content {
    height: 252px !important;
    padding-bottom: 0 !important;
}

.made_mn_img {
    margin-left: 6px;
}

.made_mn_img_mobile {
    margin-left: 6px;
    display: none;
}



/* Мобилка */
@media screen and (max-width: 1000px) {

    .t0 {
        font-family: "Styrene A Web";
        font-weight: bold;
        font-size: 14px;
    }

    .t2 {
        font-family: "Styrene A Web";
        font-weight: bold;
        font-size: 14px;
    }

    .t3 {
        font-family: "Styrene A Web";
        font-weight: 500;
        font-size: 18px;
    }

    .t5 {
        font-family: "Styrene A Web";
        font-weight: bold;
        font-size: 24px;
    }

    .t6 {
        font-family: "Styrene A Web";
        font-weight: normal;
        font-size: 16px;
    }

    .t7 {
        font-family: "Styrene A Web";
        font-weight: bold;
        font-size: 18px;
    }

    .t8 {
        font-family: "Styrene A Web";
        font-weight: 500;
        font-size: 10px;
    }


    /* Страница студента */
    .body_s {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        width: 100vw;
        height: 100%;
        padding: 15px 10px;
    }

    .logo_s_cont {
        padding: 0 10px;
        margin: 15px 0 ;
    }

    .error_s {
        width: 100%;
        padding: 10px 0;
        margin-top: 15px;
        min-height: auto;
    }

    .body {
        width: 100vw;
        height: auto;
    }

    .form_s {
        width: 100%;
        padding: 10px;
    }


    /* Страница преподавателя */

    .body_mn {
        width: 100vw;
        height: 100%;
        padding: 0 10px;
    }

    /* Страница авторизации */

    .body_a {
        padding: 15px 10px;
        width: 100vw;
        height: 100%;
    }

    .body_a_cont {
        flex-direction: column;
    }

    .auth_left {
        display: none;
    }

    .form_a {
        width: 100vw;
    }

    .form_a {
        width: 100%;
    }

    .body_a_cont {
        width: 100%;
    }

    .form_a_cont {
        width: 100%;
    }

   



}
