@font-face {
    font-family: "Inter-Bold";
    src: url("/fonts/Inter_18pt-Bold.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}
@font-face {
    font-family: "Inter-Light";
    src: url("/fonts/Inter_18pt-Light.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}
@font-face {
    font-family: "Inter-Regular";
    src: url("/fonts/Inter_18pt-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: bold;
}
* {
    user-select: none;
    box-sizing: border-box;
}

html {
    scrollbar-gutter: stable;
}

::-webkit-scrollbar {
    width: 10px;
    background-color: #f9f9fd;
}

::-webkit-scrollbar-thumb {
    /*border-radius: 10px;*/
    background-color: brown;
  }

::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.2);
    border-radius: 10px;
    background-color: #f9f9fd;
  }

body {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: 'Segoe UI', 'Inter-Light', Tahoma, Geneva, Verdana, sans-serif;
    color: #444444;
    background: url(/images/back01.jpg);
    background-repeat: repeat-x;
    background-size: cover;
    background-attachment: fixed;
    animation: gradient 300s ease infinite;
}

a {
    color: brown;
    text-decoration: none;
    border-bottom: 1px dashed brown;
    transition: all 0.3s;
}
a:hover {
    color: #444;
    border-bottom: none;
}

#iCookieUsageNotification {
    z-index: 1000;
    align-items: end;
    top: auto;
    position: fixed;
}
#iCookieUsageNotification a {
    color: white;
    font-weight: 600;
    border: none;
}
#iCookieUsageNotification a:hover {
    color: orange;
}
#iCookieUsageNotification .popup-dialog {
    width: 100%;
    box-shadow: none;
    border-radius: 0;
    border-left: none;
    border-right: none;
    justify-content: center;
    row-gap: 1rem;
    padding: .3rem 1rem;
    color: #eaeaea;
}
#iCookieUsageNotification .popup-message--buttons {
    border: 2px solid white;
    border-radius: 10px;
    padding: 0;
    overflow: hidden;
}
#iCookieUsageNotification .popup-message--buttons:hover {
    background-color: orange;
    color: white;
}
#iCookieUsageNotification .popup-close-btn {
    background-color: transparent;
    color: white;
    margin: 0;
    width: 150px;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.body-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    min-height: 100vh;
}

.header {
    width: 915px;
    border-radius: 0 0 10px 10px;
    border: 4px solid brown;
    border-top: 0;
    background-color: rgb(228, 228, 228);
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px,
                rgba(0, 0, 0, 0.12) 0px -12px 30px,
                rgba(0, 0, 0, 0.12) 0px 4px 6px,
                rgba(0, 0, 0, 0.17) 0px 12px 13px,
                rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

.footer-wrapper {
    margin-top: auto;
    min-height: 60px;
    display: flex;
}
.footer{
    width: 915px;
    padding: 10px;
    margin-top: auto;
    border: 4px solid brown;
    border-bottom: 0;
    background-color: rgb(228, 228, 228);
    border-radius: 10px 10px 0 0;
    margin-bottom: 0;
    text-align: center;
    box-shadow: rgba(0, 0, 0, 0.25) 0 54px 55px,
                rgba(0, 0, 0, 0.12) 0 -12px 30px,
                rgba(0, 0, 0, 0.12) 0 4px 6px,
                rgba(0, 0, 0, 0.17) 0 12px 13px,
                rgba(0, 0, 0, 0.09) 0 -3px 5px;
}

.header__login-block {
    color: brown;
    text-align: center;
    padding: 10px;
}

.sticker {
    position: relative;
    min-height: 200px;
    width: 100%;
    display: flex;
    justify-content: center;
}
.fixed {
    position: fixed;
    z-index: 100;
}

.header__caption{
    font-size: 27px;
    text-align: center;
    text-transform: uppercase;
    padding-top: 10px;
    color:brown;
    font-weight: bold;
}

.header__nav-menu-option {
    display: inline-block;
    margin: 0 10px;
    cursor: pointer;
    user-select: none;
    border-bottom: 0;
}

.header__nav-menu-option:hover {
    transform: scale(1.07);
    transition: all 0.3s;
}

.header__hr-delimiter {
    margin: 10px 1rem 0;
}
.header__nav-menu {
    text-align: center;
    margin-top: 10px;
}

.header__nav-menu-icon {
    width: 108px;
    height: 75px;
    border: 1px solid #d7d7d7;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header__nav-menu-icon img{
    width: 75%;
}

.header__nav-menu-title {
    margin-top: 5px;
    color: brown;
    font-weight: bold;
}

.header--nav-menu-mobile {
    display: none;
    border-bottom: 2px solid brown;
    position: fixed;
    width: 100%;
    top: 0;
    height: 0;
    transition: all .3s linear;
    align-items: center;
    column-gap: 1rem;
    background-color: var(--x-body-bg-color);
}
.nav-menu-mobile--caption {
    font-size: 24px;
    /*text-align: left;*/
    text-transform: uppercase;
    color:brown;
    font-weight: bold;
    /*margin-left: 1rem;*/
}
.nav-menu-mobile--burger {
    margin-left: 10px;
    align-items: center;
    justify-content: center;
    overflow: hidden;

    display: none;

    padding: 10px 16px;
    font-size: 18px;
    background-color: brown;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    width: 80px;
    height: 60px;
}
.nav-menu-mobile--title,
.nav-menu-mobile--sub-title {
    white-space: nowrap;
}

.nav-menu-mobile--burger > svg {
    height: 100%;
    width: auto;
}

.mainblock-wrapper::after{
    content: '';
    display: block;
    margin: 0 auto;
    width: 20px;
    height: 25px;
    background-color: brown;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 15px 25px, rgba(0, 0, 0, 0.05) 0px 5px 10px;
    z-index: 999;
}

.mainblock-wrapper:last-child::after{
    display: none;
}

.jumper{
    content: '';
    display: block;
    margin-left: 540px;
    width: 20px;
    height: 25px;
    background-color: brown;
    box-shadow: rgba(0, 0, 0, 0.15) 0px 15px 25px, rgba(0, 0, 0, 0.05) 0px 5px 10px;
    z-index: 999;
}

.trainings-container {
    width: 915px;
    margin: 0 auto;
}

.mainblock {
    max-width: 764px;
    --x-main-color: brown;
    border-radius: 10px 10px 0 0;
    border: 5px solid var(--x-main-color);
    background-color: rgb(228, 228, 228);
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}



.mainblock-wrapper{
    position: relative;
    width: 915px;
}

.mainblock-wrapper:nth-child(2n+1){
    padding-left: 150px;
}

.mainblock-wrapper:nth-child(2n){
    padding-right: 150px;
}

/* БЛОК С КУБКОМ */
.main-block--cup {
    position: absolute;
    top: 25px;
}
.main-block--cup-img-wrapper {
    width: 140px;
    height: 200px;
    overflow: hidden;
    border: 3px solid var(--x-main-color);
    border-radius: 10px;
    box-sizing: border-box;
    transition: all 0.3s
}
.main-block--cup-img {
    background: url("../images/kubok0.png") no-repeat, #ebecec;
    width: 100%;
    height: 100%;
}
.main-block--cup:before {
    background-color: var(--x-main-color);
    content: '';
    position: absolute;
    width: 85px;
    height: 4px;
}
.main-block--cup::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 20px;
    top: -20px;
    left: 50%;
    cursor: default;
    background-color: var(--x-main-color);
}
.mainblock-wrapper:nth-child(2n) .main-block--cup {
    top: 43px;
    right: 0;
}
.mainblock-wrapper:nth-child(2n) .main-block--cup::before {
    left: -15px;
    top: -20px;
    cursor: default;
}
.mainblock-wrapper:nth-child(2n+1) .main-block--cup {
    top: 43px;
    left: 0;
}
.mainblock-wrapper:nth-child(2n+1) .main-block--cup::before{
    content: '';
    position: absolute;
    width: 95px;
    height: 4px;
    background-color: var(--x-main-color);
    z-index:0;
    top: -20px;
    left: 50%;
    cursor: default;
}
/* Цвета стилистики блока вопросов */
.mainblock.main-block--no-cup .main-block--cup-img-wrapper:hover {
    filter: drop-shadow(0px 0px 10px var(--x-main-color));
}
.mainblock.main-block--bronze {
    /*--x-main-color: rgb(35, 174, 135);*/
}
.mainblock.main-block--bronze .main-block--cup {
    filter: drop-shadow(0px 0px 10px var(--x-main-color));
}
.mainblock.main-block--bronze .main-block--cup-img {
    background: url("../images/kubok3.png") no-repeat, #ebecec;
}
.mainblock.main-block--silver {
    --x-main-color: rgb(78 159 255);
}
.mainblock.main-block--silver .main-block--cup {
    filter: drop-shadow(0px 0px 10px var(--x-main-color));
}
.mainblock.main-block--silver .main-block--cup-img {
    background: url("../images/kubok2.png") no-repeat, #ebecec;
}
.mainblock.main-block--gold {
    --x-main-color: rgb(35, 174, 135);
}
.mainblock.main-block--gold .main-block--cup {
    filter: drop-shadow(0px 0px 10px var(--x-main-color));
}
.mainblock.main-block--gold .main-block--cup-img {
    background: url("../images/kubok1.png") no-repeat, #ebecec;
}
.cup-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.cup-container--img {
    background-repeat: no-repeat;
    background-size: contain;
    height: 200px;
    width: 140px;
    border: 3px solid white;
    border-radius: 10px;
    box-sizing: border-box;
    background-color: #ebecec;
    margin-top: .5rem;
}
.cup-container--img.bronze-cup {
    background-image: url("../images/kubok3.png");
}
.cup-container--img.silver-cup {
    background-image: url("../images/kubok2.png");
}
.cup-container--img.gold-cup {
    background-image: url("../images/kubok1.png");
}

.mainblock-wrapper:nth-child(2n) .mainblock__achiev1{
    position: absolute;
    top: 0;
    right: -160px;
    width: 150px;
    text-align: center;
}

.mainblock-wrapper:nth-child(2n+1) .mainblock__achiev1{
    position: absolute;
    top: 0;
    left: 0px;
    width: 150px;
    text-align: center;
}

.mainblock__achiev1::after{
    content: '';
    position: absolute;
    width: 4px;
    height: 20px;
    background-color: brown;
    top: -20px;
    left: 50%;
    cursor: default;
}

.mainblock-wrapper:nth-child(2n+1) .mainblock__achiev1::before{
    content: '';
    position: absolute;
    width: 95px;
    height: 4px;
    background-color: brown;
    z-index:0;
    top: -20px;
    left: 50%;
    cursor: default;
}

.mainblock-wrapper:nth-child(2n) .mainblock__achiev1::before{
    content: '';
    position: absolute;
    width: 85px;
    height: 4px;
    background-color: brown;
    z-index:0;
    top: -20px;
    left: -10px;
    cursor: default;
}









.mainblock-wrapper:nth-child(2n) .mainblock__achiev2{
    position: absolute;
    top: 0;
    right: -160px;
    width: 150px;
    text-align: center;
}

.mainblock-wrapper:nth-child(2n+1) .mainblock__achiev2{
    position: absolute;
    top: 0;
    left: 0px;
    width: 150px;
    text-align: center;
}

.mainblock__achiev2::after{
    content: '';
    position: absolute;
    width: 4px;
    height: 20px;
    background-color: brown;
    top: -20px;
    left: 50%;
    cursor: default;
}

.mainblock-wrapper:nth-child(2n+1) .mainblock__achiev2::before{
    content: '';
    position: absolute;
    width: 95px;
    height: 4px;
    background-color: brown;
    z-index:0;
    top: -20px;
    left: 50%;
    cursor: default;
}

.mainblock-wrapper:nth-child(2n) .mainblock__achiev2::before{
    content: '';
    position: absolute;
    width: 85px;
    height: 4px;
    background-color: brown;
    z-index:0;
    top: -20px;
    left: -10px;
    cursor: default;
}










.mainblock-wrapper:nth-child(2n) .mainblock__achiev3{
    position: absolute;
    top: 0;
    right: -160px;
    width: 150px;
    text-align: center;
}

.mainblock-wrapper:nth-child(2n+1) .mainblock__achiev3{
    position: absolute;
    top: 0;
    left: 0px;
    width: 150px;
    text-align: center;
}

.mainblock__achiev3::after{
    content: '';
    position: absolute;
    width: 4px;
    height: 20px;
    background-color: brown;
    top: -20px;
    left: 50%;
    cursor: default;
}

.mainblock-wrapper:nth-child(2n+1) .mainblock__achiev3::before{
    content: '';
    position: absolute;
    width: 95px;
    height: 4px;
    background-color: brown;
    z-index:0;
    top: -20px;
    left: 50%;
    cursor: default;
}

.mainblock-wrapper:nth-child(2n) .mainblock__achiev3::before{
    content: '';
    position: absolute;
    width: 85px;
    height: 4px;
    background-color: brown;
    z-index:0;
    top: -20px;
    left: -10px;
    cursor: default;
}


.mainblock .mainblock__header {
    padding-bottom: 10px;
    padding-top: 4px;
    background-color: var(--x-main-color);
    border-radius: 4px 4px 0 0;
    text-align: center;
    color: white;
    position: relative;
    /*height: 39px;*/
}

.mainblock .mainblock__training {
    border-top: 1px solid #7d7d7d;
    background-color: rgb(218, 218, 218);
    padding: 10px;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    display: flex;
    align-items: center;
}

.mainblock .mainblock__training:hover{
    background-color: antiquewhite;
}

.mainblock .mainblock__training::before{
    content: '▶';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px;
    padding-left: 5px;
    margin-right: 10px;
    border: 1.5px solid var(--x-main-color);
    color: var(--x-main-color);
    width: 18px;
    height: 20px;
    border-radius: 50% 50% 50% 50%;
    transition: all 0.3s;
}

.mainblock .mainblock__training:hover::before{
    transform: rotate(360deg);
}

.mainblock .spollers__title:last-child{
    border-radius: 0 0 0 0;
}

.mainblock--green{
    width: 800px;
    margin: 0 auto;
    border-radius: 20px 20px 0 0;
    border: 5px solid rgb(35, 174, 135);
    background-color: rgb(228, 228, 228);
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

.mainblock--green .mainblock__header{
    padding: 10px;
    border: 5px solid rgb(35, 174, 135);
    background-color: rgb(35, 174, 135);
    border-radius: 13px 13px 0 0;
    text-align: center;
    color: white;
}

.mainblock--green .mainblock__training{
    border-top: 1px solid #7d7d7d;
    background-color: rgb(218, 218, 218);
    padding: 10px;
    cursor: pointer;
    transition: all 0.2s;
}

.mainblock--green .mainblock__training::before{
    content: '▶';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 3px;
    padding-left: 5px;
    margin-right: 10px;
    border: 1.5px solid rgb(35, 174, 135);
    color: rgb(35, 174, 135);
    width: 18px;
    height: 20px;
    border-radius: 50% 50% 50% 50%;
    transition: all 0.3s;
}

.mainblock--green .mainblock__training:hover::before{
    transform: rotate(90deg);
}

.mainblock--green .spollers__title:last-child{
    border-radius: 0 0 0 0;
}

.mainblock--green .mainblock__training:hover{
    background-color: antiquewhite;
}

.training-element {
    display: flex;
    align-items: center;
    margin-left: .25rem;
    flex: 1;
}
.training-description {
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}
.training-description--example {
    font-size: 13px;
}
.training-progress {
    font-size: 13px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 120px;
    color: brown;
}
.training-progress--stats {

}
.training-progress--stars {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 2px;
}
.training-progress--stars > img {
    height: 15px;
    width: auto;
    display: none;
}
.training-progress--stars.stars-0:before {
    content: "Звёзд: 0 из 5";
    height: 20px;
    text-align: center;
    color: brown;
}
.training-progress--stars.stars-1 > img:first-child {
    display: inline-block;
}
.training-progress--stars.stars-2 > img:nth-child(-n + 2) {
    display: inline-block;
}
.training-progress--stars.stars-3 > img:nth-child(-n + 3) {
    display: inline-block;
}
.training-progress--stars.stars-4 > img:nth-child(-n + 4) {
    display: inline-block;
}
.training-progress--stars.stars-5 > img:nth-child(-n + 5) {
    display: inline-block;
}

.stars0{
    position: absolute;
    top: calc(50%);
    bottom: 0;
    right: 10px;
    width: 120px;
    text-align: center;
}

.stars0::after{
    content: 'Звёзд: 0 из 5';
    position: absolute;
    width: 117px;
    text-align: center;
    font-size: 13px;
    color: brown;
    top: -15px;
    right: 0;
}

.loader--place-holed {
    position: absolute;
    bottom: 0;
    top: 0;
    width: 100%;
    z-index: 100;
    color: brown;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding-bottom: 1rem;
    background: white;
}
.loader--icon {
    font-size: 1.5rem;
}
@keyframes flickerAnimation {
    0%   { opacity:1; }
    50%  { opacity:0; }
    100% { opacity:1; }
}
@-o-keyframes flickerAnimation{
    0%   { opacity:1; }
    50%  { opacity:0; }
    100% { opacity:1; }
}
@-moz-keyframes flickerAnimation{
    0%   { opacity:1; }
    50%  { opacity:0; }
    100% { opacity:1; }
}
@-webkit-keyframes flickerAnimation{
    0%   { opacity:1; }
    50%  { opacity:0; }
    100% { opacity:1; }
}
.flicker-animation {
    -webkit-animation: flickerAnimation 1s infinite;
    -moz-animation: flickerAnimation 1s infinite;
    -o-animation: flickerAnimation 1s infinite;
    animation: flickerAnimation 1s infinite;
}


.popupTrain__stars {
    position: absolute;
    left: 10px;
    top: 0;
}
.popupTrain__stars::after {
    font-family: sans-serif;
    font-weight: lighter;
    content: '☆☆☆☆☆';
    font-size: 25px;
    color: rgb(255, 255, 255);
}
.popupTrain__stars.stars-1::after {
    content: '★☆☆☆☆';
}
.popupTrain__stars.stars-2::after {
    content: '★★☆☆☆';
}
.popupTrain__stars.stars-3::after {
    content: '★★★☆☆';
}
.popupTrain__stars.stars-4::after {
    content: '★★★★☆';
}
.popupTrain__stars.stars-5::after {
    content: '★★★★★';
}

.trainmenu{
    margin: 0;
    margin-top: 10px;
    padding: 0;
    text-align: center;
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.trainmenu__item{
    list-style: none;
    margin: 0 5px;
}

.trainmenu__item a{
    color: brown;
    text-decoration: none;
    border-top: 1px dashed brown;
    border-bottom: 1px dashed brown;
    transition: all 0.3s;
    display: block;
    padding: 5px 10px;
}

.trainmenu__item a:hover{
    color: white;
    background-color: brown;
}

.traintext{
    padding: 10px;
    line-height: 1.5;
}

.traintext a{
    color: brown;
    text-decoration: none;
    border-bottom: 1px dashed brown;
    transition: all 0.3s;
}

.traintext a:hover{
    border: 0;
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 0.6;
    }
}

.info-note {
    display: flex;
}
.info-note--sign svg {
    width: 30px;
    color: brown;
    margin-right: .5rem;
}
.info-note--text {
    text-align: left;
    line-height: 1rem;
    flex-grow: 1;
    font-size: .9em;
}

.report-error-found {
    display: flex;
    flex-direction: column;
    row-gap: .5rem;
    margin: 0;
    border-radius: 5px;
    position: relative;
    text-align: right;
    padding: .5rem;
}
.report-error-found--data {
	text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 0 1rem;
    column-gap: 1rem;
}
.report-error-found--data-title {
    width: 85px;
}
.report-error-found--data-values {
    color: brown;
    font-size: 1.3rem;
    font-weight: 600;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 1rem;
}
.checkbox-label {
    cursor: pointer;
}
.form-group {
    position: relative;
    box-sizing: border-box;
}
.form-group-buttons {
    display: flex;
    column-gap: 1rem;
    align-items: center;
    justify-content: flex-end;
}
.form-field-labeled,
.form-field {
    font-size: 16px;
    padding: 8px;
    width: 100%;
    border-radius: 5px;
    margin: 5px 0 2px;
    outline: none;
    border: 1px solid brown;
    box-sizing: border-box;
}
.form-field-labeled {
    margin-top: 10px;
    padding-top: .75rem;
}
.form-field-label {
    border: 1px dashed brown;
    border-radius: 10px;
    font-size: 12px;
    padding: 1px 10px 3px;
    text-align: center;
    left: 5px;
    top: 0;
    position: absolute;
    background: white;
}
.form-field-password {
    display: flex;
    align-items: center;
    position: relative;
}
.form-field-password > input {
    padding-right: 30px;
}
.form-field-password-show {
    width: 20px;
    height: 20px;
    fill: currentColor;
    position: absolute;
    right: .5rem;
    color: #666666;
    cursor: pointer;
}
.form-field-password-show:hover {
    color: brown;
    transform: scale(1.1);
}
.form-field-password-show.shown {
    color: brown;
}
.form-field-password-show:not(.shown) > use:not(:first-child) {
    display: none;
}
.form-field-password-show.shown > use:not(:last-child) {
    display: none;
}
.field-required:after {
    content: '*';
    color: brown;
}
.form-group-row {
    display: flex;
    column-gap: .5rem;
    align-items: end;
}
.form-validation-error {
    color: brown;
    display: none;
    flex-direction: column;
    line-height: 0.8rem;
}
.form-validation-error.shown {
    display: flex;
}

.report-error-found--question-field {
    text-align: left;
	color: #aaaaaa;
    border: 1px solid brown;
    border-radius: 5px;
    padding: .5rem;
    flex: 1 0 100%;
}

body.popup-shown {
    /*height: 100%;*/
    /*overflow-y: hidden;*/
}

.popup-wrapper {
    width: 100%;
    height: 100%;
    background: #2d3748aa;
    display: none;
    z-index: 1050;
    position: fixed;
    justify-content: center;
    align-items: center;
}

[data-elem-popup]:not(.popup-shown) {
    display: none!important;
}

.popup-message {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;

    box-sizing: content-box;
    background: rgba(161, 130, 44, 0.20);

    z-index: 100;

    display: flex;
    align-items: center;
    justify-content: center;
}
.popup-dialog {
    background: brown;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    border: 2px solid white;
    box-shadow: 0px 5px 10px 2px rgba(34, 60, 80, 0.8);

    /*box-sizing: content-box;*/
    width: 550px;
    min-height: 100px;
    height: max-content;
    padding: 20px;
    color: white;
    font-size: 25px;
    transition: all 0.3s;
}
.popup-message--header {
    text-align: center;
    font-size: 1.25rem;
}
.popup-message--content {
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-direction: column;
}
.popup-message--buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: .25rem;
    margin-top: .25rem;
}
.result-answer--close-btn,
.popup-message--buttons > button {
    margin: 10px 5px;
    font-size: 15px;
    padding: 5px 10px;
    border-radius: 3px;
    border: 0;
    outline: 0;
    cursor: pointer;
    transition: all 0.3s;
}
.result-answer--close-btn:hover,
.popup-message--buttons > button:hover {
    background-color: rgb(246, 155, 36);
}
.popup-message--footer {
    text-align: center;
    font-size: 13px;
}
/* Оповещение на белом фоне */
.popup-modal--dialog.popup-white,
#iPopupBlankConfirmMessage .popup-dialog {
    background: white;
    padding: 20px 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    min-width: 300px;
    width: auto;
    color: #0a0a0a;
}
.popup-modal--dialog.popup-white .popup-btn,
#iPopupBlankConfirmMessage .popup-btn {
    border: 1px solid brown;
    border-radius: 5px;
    padding: 3px 10px;
    background: brown;
    color: white;
    transition: all 0.3s;
    font-size: 15px;
    height: 35px;
}
.popup-modal--dialog.popup-white .popup-btn:hover,
#iPopupBlankConfirmMessage .popup-btn:hover {
    background-color: #ffe8c6;
    color: brown;
    cursor: pointer;
}

.text-center {
    text-align: center;
}
.text-nowrap {
    white-space: nowrap;
}
.text-truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}
.text-muted {
    color: #888888;
}

.flex-center {
    justify-content: center;
    align-items: center;
}

.errorMsgLink{
    position: absolute;
    font-size: 12px;
    bottom: -7px;
    right: -7px;
    cursor: pointer;
    transition: all 0.3s;
}

.errorMsgLink:hover{
    text-decoration: underline;
}

.socials-login--section {
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
}
.btn-socials-group {
    display: flex;
    flex-direction: column;
    row-gap: .5rem;
    align-items: center;
}
.btn-socials {
    width: 85%;
    height: 48px;
    padding: .5rem 1rem;
    border: 1px solid brown;
    border-radius: 8px;
    cursor: pointer;
    background-color: brown;
    color: white;
    font-size: .9rem;
    column-gap: 1rem;
    display: flex;
    align-items: center;
    position: relative;
}
.btn-socials--icon {
    width:35px;
    height:30px;
    flex-basis: 50px;
}
.btn-socials:hover {
    background-color: white;
}
.btn-socials--text {
    white-space: nowrap;
}
.btn-socials:hover .btn-socials--text {
    color: #444;
}
.btn-socials:hover .social-icon--vk {
    color: #0077FF;
}
.btn-socials:hover .social-icon--yandex {
    color: red;
    stroke: brown;
}
#yaButtonLoginHidden {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    /*opacity: 0; todo: почему-то не работает если скрыта разобраться */
}

.login-popup--form-section {
    position: relative;
    box-sizing: border-box;
    margin-top: 2rem;
    border: 1px solid brown;
    border-radius: 5px;
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1rem 1rem;
    row-gap: .5rem;
}
.form-section--title {
    position: absolute;
    left: 0;
    right: 0;
    top: -12.5px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.form-section--title span {
    line-height: 1.75rem;
    color: white;
    border-radius: 5px;
    background-color: brown;
    text-align: center;
}


.form-vertical {
    display: flex;
    flex-direction: column;
    row-gap: .5rem;
}
.form-button {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border-radius: 4px;
    border: 1px solid brown;
    background-color: white;
    padding: 10px 20px;
    color: brown;
    cursor: pointer;
    transition: all 0.3s;
    height: 37px;
}
.form-button:hover {
    background-color: brown;
    color: white;
}
.form-submit {
    text-align: center;
    background-color: brown;
    border: 1px solid brown;
    border-radius: 5px;
    font-size: 1rem;
    padding: .5rem 1.5rem;
    color: white;
    height: 37px;
    cursor: pointer;
    transition: all 0.3s;
}
.form-submit:hover {
    background-color: white;
    color: brown;
    border-color: brown;
}

.jumper--centered {
    z-index: 1;
    margin-left: auto;
    margin-right: auto;
}
/* Стили панелей с контентом в красной рамке */

.content-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.content-holder {
    max-width: 915px;
    min-height: 100px;
    display: flex;
    width: 100%;
    flex-direction: column;
}
.main-block--header {
    padding-bottom: 12px;
    padding-top: 6px;
    background-color: brown;
    border-radius: 4px 4px 0 0;
    text-align: center;
    color: white;
    position: relative;
}
.main-block--header h3 {
    margin: 0;
    font-weight: 400;
    font-size: 17px;
}
.main-block--theme-name {
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
}
.main-block--body {
    padding: .5rem 1.25rem 1.25rem;
}
.main-block--footer {
    display: flex;
    justify-content: center;
}

.back-to-home {
    color: white;
    background-color: brown;
    border: 1px dashed brown;
    cursor: pointer;
    transition: all 0.3s;
    border-radius: 20px;
    padding: 5px 15px;
    margin-top: 5px;
    display: inline-block;
}
.back-to-home:hover {
    background-color: white;
    color: brown;
    border: 1px dashed brown;
}

/* SVG иконка звезды в showNewStarAchieved */
.achievement-message-stars {
    display: flex;
    justify-content: center;
    column-gap: 10px;
    margin: 5px 0 .75rem;
}
.i-star {
    height:50px;
    width:50px;
    display:none;
}
.training-history-link {
    text-decoration: none!important;
    border-bottom: 1px dashed white;
    font-size: 0.9rem;
}
.training-history-link:hover,
.training-history-link:focus {
    border-bottom-color: transparent;
}
.training-tutor-btn {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 4px;
    color: brown;
    padding: 5px 10px;
    border-radius: 0 7px 0 7px;
    background: rgb(218, 218, 218);
    font-size: 14px;
    width: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1rem;
    transition: all 0.3s;
}
.training-tutor-btn:hover {
    background-color: antiquewhite;
}

#iAnswerMessagePopup .popup-dialog {
    min-height: auto;
    width: max-content;
    padding: 20px 50px;
    border-radius: 10px;
}
#iAnswerMessagePopup .popup-message--content {
    min-height: 120px;
    min-width: 420px;
}
.result-answer--close-btn {
    width: max-content;
}
.result-answer {
    display: flex;
    column-gap: 1rem;
    align-items: center;
}
.result-answer-emoji {
    display: flex;
    font-size: 50px;
}
.result-answer--text{
    font-size: 25px;
}
.result-answer--block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

[data-action] {
    cursor: pointer;
}
.link-like {
    border-bottom: 1px dashed brown;
    cursor: pointer;
    color: brown;
}
.link-like:hover {
    color: #444;
    border-bottom-color: transparent;
}
.not-link {
    cursor: default;
    border-bottom-color: transparent;
}

.index-theme__container{
    max-width: 100%;
    margin: 0 auto 2rem;
}

.index-theme__header{
    background: linear-gradient(135deg, brown, brown);
    border-left: 5px solid brown;
    font-size: 1.4rem;
    padding: 0.8rem 1.2rem;
    margin: 0 0 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    border-radius: 8px;
    font-weight: 400;
    color: white;
}

.index-theme__card-container{
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}
.index-theme__card-link {
    flex-basis: calc(100% / 3 - 1rem);
}
.index-theme__card-link:hover h3{
    color: white;
}

.index-theme__card-link h3{
    margin: 0 0 0.4rem;
    color: brown;
}

.index-theme__card-link p{
    margin: 0;
    color: inherit;
}

.index-theme__card-link {
    background-color: #fff8e1;
    border: 1px solid brown;
    border-left: 5px solid brown;
    border-radius: 10px;
    padding: 1rem;
    flex: 1 1 220px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: background-color 0.3s, color 0.3s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    display: block;
    flex: 1 1 220px;
}

.index-theme__card-link:hover {
    text-decoration: none;
    background-color: brown;
    color: white;
    border: 1px solid brown;
    border-left: 5px solid brown;
}

.main-block--trainings-title-index{
    margin: 0;
    font-weight: 400;
    font-size: 1.5rem;
}

@media (max-width: 670px) {
    body {
        --x-nav-menu-height: 82px;
        --x-drop-menu-height: 60px;
    }
    .header {
        margin-bottom: 0!important;
    }
    .header__caption {
        margin-bottom: 0;
    }
    .header__caption,
    .header__nav-menu:not(.shown) {
        display: none!important;
    }
    .header__nav-menu {
        transition: all .3s linear;
    }
    .header__nav-menu.shown {
        z-index: 105;
        position: fixed;
        top: var(--x-nav-menu-height);
        height: 60px;
    }
    .header__login-block {
        min-height: var(--x-drop-menu-height);
        margin-top: var(--x-nav-menu-height);
        display: flex;
        flex: 1;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        row-gap: .25rem;
        padding-bottom: 10px!important;
    }
    .header__nav-menu-option {
        width: calc((100% / 6) - 5px);
    }
    .header__nav-menu-title {
        display: none;
    }
    .header__nav-menu-icon > img {
        width: 100%!important;
    }

    .header--nav-menu-mobile {
        display: flex;
        height: var(--x-nav-menu-height);
        /*z-index: 110;*/
    }
    .nav-menu-mobile--burger {
        display: flex;
    }

    .main-block--content.block-content--header {
        line-height: 1rem;
    }
    .index-theme__header,
    .index-theme__container {
        margin-top: 0;
    }
    .index-theme__card-container {
        row-gap: .5rem;
    }
    .index-theme__card-link {
        flex-basis: 100% !important;
    }

    /*.footer-wrapper {*/
    /*    position: fixed;*/
    /*    bottom: 0;*/
    /*    width: 100%;*/
    /*    z-index: 105;*/
    /*}*/
    /*#iMobilePageShader {*/
    /*    display: flex!important;*/
    /*}*/
}
@media (max-width: 430px) {
    .header--nav-menu-mobile {
        column-gap: 10px;
    }
    .nav-menu-mobile--caption {
        font-size: 18px;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        row-gap: 8px;
        padding-right: 10px;
        flex: 1;
    }
    .nav-menu-mobile--title {
        font-size: 1.2em;
        font-weight: 700;
        flex: 1;
        text-align: center;
    }
    .nav-menu-mobile--sub-title {
        font-size: .9em;
        flex: 1 0 100%;
        text-align: center;
    }
    .nav-menu-mobile--sub-title {
        display: none;
    }
}

katex-element {
    display: inline-block;
}
