

/* Start:/local/templates/metaznaniya/css/template.css?177088352319815*/
@font-face {
    font-family: "ALS Sirius";
    src: url("/local/templates/metaznaniya/css/../fonts/ALS_Sirius_Regular_0.95.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    --font-fam-base: "ALS Sirius";

    --margin-section: 80px;

    --color-white-70: rgba(255, 255, 255, 0.7);
    --color-bg: rgba(248, 248, 248, 1);
    --color-header-bg: rgba(255, 255, 255, 1);
    --color-white: rgba(255, 255, 255, 1);
    --color-basic-50: rgba(248, 248, 248, 1);
    --color-basic-100: rgba(241, 241, 241, 1);
    --color-basic-200: rgba(210, 210, 210, 1);
    --color-basic-300: rgba(171, 171, 171, 1);
    --color-basic-400: rgba(133, 133, 133, 1);
	--color-basic-500: rgba(97, 97, 97, 1);
    --color-basic-600: rgba(64, 64, 64, 1);
    --color-basic-700: rgba(33, 33, 33, 1);

    --color-green-50: rgba(238, 251, 242, 1);
    --color-green-200: rgba(85, 212, 121, 1);
    --color-green-300: rgba(66, 169, 95, 1);
    --color-green-400: rgba(48, 128, 71, 1);
    --color-green-500: rgba(31, 89, 48, 1);

    --color-blue: rgba(101, 115, 255, 1);
    --color-blue-10: rgba(101, 115, 255, 0.1);
    --color-blue-30: rgba(209, 213, 255, 1);

    --color-red: rgba(255, 68, 96, 1);
    --color-red-10: rgba(255, 237, 240, 1);
    --color-red-30: rgba(255, 68, 96, 0.3);
    --color-red-70: rgba(255, 68, 96, 0.7);

    --color-yellow-10: rgba(255, 248, 230, 1);
	--color-yellow: rgba(255, 182, 0, 1);
	--color-yellow-60: rgba(255, 182, 0, 0.6);
}


html {
    box-sizing: border-box;
    scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

body {
    margin: 0;
    font-family: var(--font-fam-base);
    background: var(--color-bg);
}

/* СКРОЛЛБАР */
.cm-scrl {
    /* Firefox */
    scrollbar-width: thin;
    scrollbar-color: var(--color-basic-200) var(--color-basic-50);
    
    /* Edge/IE */
    -ms-overflow-style: auto;
}
/* Chrome/Safari/Edge */
.cm-scrl::-webkit-scrollbar {
    width: 12px;    /* вертикальный */
    height: 12px;   /* горизонтальный */
}
.cm-scrl::-webkit-scrollbar-track {
    background: var(--color-basic-50);
    border-radius: 6px;
}
.cm-scrl::-webkit-scrollbar-thumb {
    background: var(--color-basic-200);
    border-radius: 6px;
    border: 3px solid var(--color-basic-50); /* имитация отступа */
    min-height: 44px; /* не пропадает thumb */
    transition: background 0.2s ease;
}
.cm-scrl::-webkit-scrollbar-thumb:hover {
    background: var(--color-basic-300);
}
.cm-scrl::-webkit-scrollbar-corner {
    background: var(--color-basic-50);
}

button {
  all: unset;          /* сбросить почти все стили браузера */
  cursor: pointer;     /* вернуть курсор */
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
/* важно: явно задать фокус, чтобы не убить доступность */
button:focus-visible {
  outline: 2px solid #4f46e5;
  outline-offset: 2px;
}

/* BUTTONS */
button.delete {
    padding: 12px;
    border-radius: 8px;
    fill: var(--color-red);
    background-color: var(--color-white);
    transition: 200ms ease-out;
}
button.delete:hover {
    background-color: var(--color-red-10);
}
button.delete:active {
    background-color: var(--color-red-30);
}
button.delete > svg {
    width: 16px;
    height: 16px;
}

button.action, a.green {
    display: flex;
    gap: 4px;
    padding: 10px 12px 10px 8px;
    border-radius: 8px;

    font-size: 16px;

    justify-content: center;
    text-decoration: none;
}
button.action > svg, a.green > svg {
    width: 16px;
    height: 16px;
}

button.action {
    transition: 200ms ease-out;
}

button.red {
    background-color: var(--color-red);
    fill: var(--color-white);
    color: var(--color-white);
    stroke: none;
}
button.red:hover {
    background-color: var(--color-red-30);
}
button.red:active {
    background-color: var(--color-red-70);
}

button.green, a.green {
    background-color: var(--color-green-300);
    fill: var(--color-white);
    color: var(--color-white);
    stroke: none;
}
button.green:hover, a.green:hover {
    background-color: var(--color-green-200);
}
button.green:active, a.green:active {
    background-color: var(--color-green-400);
}

button.light-green {
    background-color: var(--color-green-50);
    border: 1px solid var(--color-green-300);
    fill: var(--color-green-300);
    color: var(--color-green-300)
}
button.light-green:hover {
    border: 1px solid var(--color-green-200);
    fill: var(--color-green-200);
    color: var(--color-green-200)
}
button.light-green:active {
    border: 1px solid var(--color-green-400);
    fill: var(--color-green-400);
    color: var(--color-green-400)
}

button.action:disabled {
    background-color: var(--color-white);
    border: 1px solid var(--color-basic-200);
    fill: var(--color-basic-200);
    color: var(--color-basic-200);
    cursor: default;
}
/* END BUTTONS */


/* MODAL */

.modal-overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}
.modal-overlay.is-open {
    display: flex;
}
.modal {
    position: relative;
    width: 380px;
    max-width: 100%;
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.22);
}
body.modal-open {
    /* overflow: hidden; */
}
.modal__close {
    position: absolute;
    top: 25px;
    right: 20px;
}
.modal-content {
    display: none;
    flex-direction: column;
    gap: 20px;
}
.modal-content h2 {
    color: var(--color-basic-600);
    font-size: 20px;
    font-weight: 400;
}
.modal-content p {
    color: var(--color-basic-700);
    font-size: 14px;
}
.modal-content .notify {
    display: flex;
    flex-direction: row;
    gap: 4px;
    align-items: center;

    color: var(--color-basic-600);
    font-size: 14px;
}
.modal-content .notify svg {
    fill: var(--color-red);
}
.modal-content .notify.success svg {
    fill: var(--color-green-300);
}

.modal .select {
    position: relative;
    font-size: 14px;
    width: 100%;
}
.modal .add_form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.modal .inline {
    display: flex;
    justify-content: center;
    gap: 16px;
}
.modal .select__toggle {
    width: 100%;
    padding: 10px 12px;
    border-radius: 8px;
    border: 1px solid var(--color-basic-200);
    background-color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;

    color: var(--color-basic-700);
    fill: var(--color-basic-700);

    box-sizing: border-box;
}
.modal .select__toggle svg {
    height: 20px;
    width: 20px;
}
.select__option:disabled {
    color: var(--color-basic-200);
    cursor: default;
}
.select.is-open .select__toggle svg {
    transform: rotate(180deg);
}
.modal .select__dropdown {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 4px);
    border-radius: 8px;
    border: 1px solid var(--color-basic-200);
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    max-height: 220px;
    overflow-y: auto;
    padding: 4px 0;
    display: none;
    z-index: 20;
}
.modal .select__dropdown.is-open {
    display: block;
}
.modal .select__option {
    width: 100%;
    padding: 8px 12px;
    background: none;
    border: 0;
    justify-content: flex-start;
    cursor: pointer;
    box-sizing: inherit;
}
.modal .select__arrow {
    width: unset;
}
.modal .select__option:hover {
    background-color: var(--color-basic-100);
}
.modal .select__option.selected {
    font-weight: 600;
}
#add_class_notify {
    display: none;
}
#add_class_notify.is-visible {
    display: flex;
}

/* END MODAL */


/* HEADER */

.main-header {
    height: 74px;

    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 16px var(--margin-section);

    background: var(--color-header-bg);

    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05);
}

.header-left {
    display: flex;
    flex-direction: row;
    font-size: 12px;
    color: #184449;
    align-items: center;
    text-decoration: none;
    gap: 8px;
}
.header-left>img {
    width: 44px;
    height: 37px;
}
.header-left>div {
    background: linear-gradient(90deg, #47C2C7 0%, #4BBFA7 23.08%, #48B78D 52.88%, #42A95F 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}
.header-left p {
    font-size: 18px;
    font-weight: 700;
}
.header-left p {
    font-size: 18px;
    font-weight: 700;
}

.header-center {}

.nav-menu {
    display: flex;
    flex-direction: row;
    gap: 40px;

    list-style: none;
    padding-left: 0;
}
.nav-menu a {
    font-size: 16px;
    color: var(--color-basic-400);
    text-decoration: none;
}
.nav-menu a:hover {
    color: var(--color-green-300);
}
.nav-menu a.active {
    color: var(--color-green-300);
    border-bottom: 2px solid var(--color-green-300);
    padding-bottom: 2px;
}

.header-right {
    display: flex;
    align-items: center;

    color: var(--color-basic-400);
}
.header_wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-right: 16px;
    position: relative;
}
.header_wrap button {
    fill: var(--color-basic-400);
}
.header_wrap button:hover {
    fill: var(--color-green-300);
}
.header_wrap button.active {
    fill: var(--color-green-300);
}
.mobile-menu_button {
    display: none;
}
.mobile-menu__dropdown-menu {
    width: auto;

    top: 57px;
    right: -16px;

    position: absolute;
    background-color: var(--color-white);
    border-radius: 8px;
    z-index: 999;
    box-shadow: 0px 10px 32px -4px rgba(24, 39, 75, 0.1), 0px 6px 10.8px -6px rgba(18, 18, 18, 0.0706);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
}
.mobile-menu__dropdown-menu a {
    font-size: 16px;
    color: var(--color-basic-400);
    text-decoration: none;
}
.mobile-menu__dropdown-menu a:hover {
    color: var(--color-green-300);
}
.mobile-menu__dropdown-menu a.active {
    color: var(--color-green-300);
    border-bottom: 2px solid var(--color-green-300);
    padding-bottom: 2px;
}
.mobile-menu__dropdown-menu[hidden] {
    max-height: 0;
    opacity: 0;
}
#but_kabinet_m {
    fill: var(--color-basic-400);
    display: none;
}
#but_notify {
    padding: 0px;
    height: 20px;
    width: 20px;
}
.profile {
    display: flex;
    flex-direction: row;

    position: relative;

    padding-left: 16px;
    border-left: 1px solid rgba(229, 231, 235, 1);
}
.profile-img {
    height: 40px;
    width: 40px;

    border-radius: 50%;
    object-fit: cover;
    object-position: center;
    display: block;
}
.profile-text {
    margin-left: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.profile-text > span {
    font-size: 16px;
    color: var(--color-basic-700);
}
.profile-text > button {
    font-size: 12px;
    color: var(--color-basic-400);
    fill: var(--color-basic-400);

    gap: 4px;

    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}
.profile-text > button:hover {
    color: var(--color-green-300);
    fill: var(--color-green-300);
}
.profile-text > button.active {
    color: var(--color-green-300);
    fill: var(--color-green-300);
}
.profile-text > button.active > svg {
    color: var(--color-green-300);
    fill: var(--color-green-300);
    transform: rotate(180deg);
}
.profile__dropdown {
    width: 100%;
    top: 52px;
    right: 0;
    position: absolute;
    background-color: var(--color-white);
    border-radius: 8px;
    padding: 12px 0;
    z-index: 999;
    box-shadow: 
        0px 10px 32px -4px rgba(24, 39, 75, 0.1),
        0px 6px 10.8px -6px rgba(18, 18, 18, 0.0706);

    overflow: hidden;

    max-height: 226px;
    opacity: 1;

    transition:
        max-height 0.2s ease,
        opacity 0.2s ease;
}
.profile__dropdown[hidden] {
    max-height: 0;
    opacity: 0;
}
.profile__dropdown-info {
    border-bottom: 1px solid var(--color-basic-100);
    padding: 12px 16px;
}
.profile__dropdown-info p {
    font-size: 14px;
    color: var(--color-basic-700);
}
.profile__dropdown-info span {
    margin-top: 6px;
    font-size: 12px;
    color: var(--color-basic-400);
}
.profile__dropdown-menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.profile__dropdown-menu__elem {
    gap: 10px;
    fill: var(--color-basic-400);
    color: var(--color-basic-700);
    padding: 10px 16px 10px 10px;
    border-bottom: 1px solid var(--color-basic-100);
    justify-content: flex-start;
    text-decoration: none;

    display: flex;
    align-items: center;
}
.profile__dropdown-menu__elem:hover {
    background-color: var(--color-green-50);
    fill: var(--color-green-300);
}

/* END HEADER */

.hero-section {
    margin: 60px var(--margin-section) 0;
}
.hero_title {
    max-width: 60%;
}
.hero-section h1 {
    font-size: 32px;
    font-weight: 400;
    color: var(--color-basic-700);
}
.hero-section p {
    font-size: 16px;
    color: var(--color-basic-400);
    margin-top: 12px;
}

.hero-section {
    display: flex;
    justify-content: space-between;
}
.hero_buttons {
    /* max-width: 25%; */
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    align-content: center;
    align-items: flex-end;
}
.hero_buttons_row {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.hero_buttons_elem {
    height: 32px;
    padding: 6px 16px;
    text-decoration: none;
    font-size: 14px;
    color: var(--color-basic-600);
    background: var(--color-white);

    border: 1px solid var(--color-basic-200);
    border-radius: 55px;
    white-space: nowrap;

    display: flex;
    align-items: center;

    transition: all 0.3s;
}
.hero_buttons_elem:hover {
    color: var(--color-green-300);
    border: 1px solid var(--color-green-200);
    background: var(--color-green-50);
}
.hero_buttons_elem:active {
    color: var(--color-green-300);
    border: 1px solid var(--color-green-300);
    background: var(--color-green-50);
}

/* FOOTER */

footer {
    margin-top: 60px;
    padding: 48px var(--margin-section);
    background-color: var(--color-basic-700);
}
.footer__top {
    display: flex;
    justify-content: space-between;
}
.footer__info {
    width: 280px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.footer__info__logo {
    width: 108px;
}
.footer__info__text {
    font-size: 12px;
    color: var(--color-white);
}

.footer__blocks {
    display: flex;
    gap: 40px;
}
.footer__blocks-elem {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.footer__blocks-elem__h {
    font-size: 16px;
    color: var(--color-white);
}
.footer__blocks-elem__list {
    font-size: 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer__blocks-elem__list > a {
    text-decoration: none;
    color: var(--color-basic-400);
}
.footer__blocks-elem__list > a:hover {
    color: var(--color-white);
}
.footer__bot {
    margin-top: 32px;
    padding-top: 32px;
    display: flex;
    border-top: 1px solid var(--color-basic-600);
    justify-content: space-between;
    align-items: center;
}
.copyright {
    font-size: 12px;
    color: var(--color-basic-200);
}

.footer__bot .buttons {
    display: flex;
    gap: 16px;
    flex-direction: row-reverse;
    align-items: center;
}
.footer__bot a:not(.sibteh_b) {
    padding: 10px 12px 10px 8px;
    display: flex;
    gap: 4px;
    border: 1px solid var(--color-basic-100);
    border-radius: 8px;
    color: var(--color-basic-100);
    fill: var(--color-basic-100);

    font-size: 16px;

    align-items: center;
    text-decoration: none;
}
.sibteh_b {
    height: 32px;
}

/* END FOOTER */

@media (max-width: 1920px) and (min-width: 1281px) {
    
}
@media (max-width: 1280px) and (min-width: 1025px) {
    :root {
        --margin-section: 48px;
    }
}
@media (max-width: 1024px) and (min-width: 769px)  {
    :root {
        --margin-section: 24px;
    }
    .nav-menu {
        gap: 20px;
    }
    .hero_buttons {
        align-content: center;
    }

    .footer__info {
        width: auto;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .footer__top {
        gap: 24px;
        flex-direction: column;
    }
}
@media (max-width: 900px) and (min-width: 769px)  {
    .nav-menu {
        display: none;
    }
    .header_wrap {
        gap: 16px;
    }
    .mobile-menu_button {
        display: flex;
    }
}
@media (max-width: 768px) and (min-width: 701px)  {
    :root {
        --margin-section: 16px;
    }

    .nav-menu {
        display: none;
    }
    .header_wrap {
        gap: 16px;
    }
    .mobile-menu_button {
        display: flex;
    }

    .hero-section {
        margin: 40px var(--margin-section) 0;
    }

    .hero-section {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        flex-direction: row;
    }
    .hero_title {
        max-width: unset;
    }
    .hero_buttons {
        max-width: 100%;
        margin-top: 16px;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: flex-start;
    }


    footer {
        margin-top: 40px;
        padding: 28px var(--margin-section);
    }
    .footer__top {
        flex-direction: column;
        gap: 24px;
    }
    .footer__blocks {
        gap: 24px;
        flex-direction: row;
        flex-wrap: wrap;
    }
}
@media (max-width: 700px)  {
    :root {
        --margin-section: 16px;
    }

    .header-left > div {
        display: none;
    }
    .nav-menu {
        display: none;
    }
    .mobile-menu_button {
        display: flex;
    }

    .profile-text {
        display: none;
    }
    #but_kabinet_m {
        display: flex;
    }
    .profile__dropdown {
        width: auto;
        max-height: fit-content;
    }
    #but_kabinet_m:hover {
        color: var(--color-green-300);
        fill: var(--color-green-300);
    }
    #but_kabinet_m.active {
        color: var(--color-green-300);
        fill: var(--color-green-300);
    }
    #but_kabinet_m.active > svg {
        color: var(--color-green-300);
        fill: var(--color-green-300);
        transform: rotate(180deg);
    }

    .hero-section {
        margin: 40px var(--margin-section) 0;
    }
    .hero_title {
        max-width: unset;
    }
    .hero-section h1 {
        font-size: 20px;
    }
    .hero-section p {
        font-size: 14px;
    }

    .hero-section {
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
        flex-direction: row;
    }
    .hero_buttons {
        max-width: 100%;
        margin-top: 16px;
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: flex-start;
    }


    footer {
        margin-top: 40px;
        padding: 28px var(--margin-section);
    }
    .footer__top {
        flex-direction: column;
        gap: 24px;
    }
    .footer__blocks {
        gap: 24px;
        flex-direction: column;
    }
    .footer__bot {
        gap: 16px;
        flex-direction: column;
    }
    .footer__bot .buttons {
        flex-direction: column;
        width: 100%;
        align-items: flex-start;
    }
    .footer__bot img {
        height: 32px;
    }
    .footer__bot a {
        width: 100%;
        justify-content: center;
    }
}
/* End */
/* /local/templates/metaznaniya/css/template.css?177088352319815 */
