* {
    -ms-overflow-style: none;  /* Hide scrollbar for IE and Edge */
    scrollbar-width: none;  /* Hide scrollbar for Firefox */
    margin: 0;
    padding: 0;
    user-select: none;
    font-family: Arial, sans-serif;
    color: white;
}

*::-webkit-scrollbar { /* Hide scrollbar for Chrome, Safari and Opera */
    display: none;
}

::-moz-focus-inner,
::-moz-focus-outer {
    border: none;
    outline: none;
}

body {
    display: grid;
    justify-content: center;
    align-content: start;
    padding: 5px;
    grid-gap: 5px;
    overflow: auto;
    background-color: #34495e;
}
/*--------------------------------------------------------------------------------------------------------------------*/
#blackout {
    z-index: 100;
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.75);
}

#popUp {
    display: grid;
    position: absolute;
    width: 500px;
    height: 350px;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    padding: 25px;
    text-align: center;
    color: white;
    box-shadow: 0 0 25px 3px #0e84b5;
    background-color: #191919;
}

#popUp_header {
    grid-row: 1/2;
    font-weight: normal;
    font-size: 34px;
    color: red;
    background-color: #191919;
}

#popUp_main {
    grid-row: 2/3;
    background-color: #191919;
}

.popUp_option {
    font-size: 24px;
    color: #87ceeb;
    background-color: #191919;
}

.popUp_number {
    font-size: 26px;
    color: gold;
    background-color: #191919;
}

.popUp_key_words {
    font-size: 24px;
    color: #00cc66;
    background-color: #191919;
}

#popUp_close {
    grid-row: 7/8;
    display: block;
    position: relative;
    bottom: 5px;
    justify-self: center;
    width: 114px;
    height: 52px;
    font-size: 22px;
    border-left: 3px solid ghostwhite;
    border-top: 3px solid ghostwhite;
    border-right: 3px solid grey;
    border-bottom: 3px solid grey;
    border-radius: 48px;
    color: white;
    background-color: #191919;
}

#popUp_close:hover, #popUp_close:active {
    transition: 0.1s;
    border-left: 3px solid grey;
    border-top: 3px solid grey;
    border-right: 3px solid ghostwhite;
    border-bottom: 3px solid ghostwhite;
}

/*--------------------------------------------------------------------------------------------------------------------*/
#big_header {
    display: grid;
    grid-row: 1/2;
    grid-column: 1/36;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    padding: 5px 5px 5px 10px;
    min-width: 1345px;
    max-width: 1345px;
    min-height: 70px;
    max-height: 70px;
    overflow: hidden;
    color: white;
    background-color: #191919;
}

#first_header_group {
    display: grid;
    grid-row: 1/2;
    grid-column: 1/2;
    min-width: 454px;
    max-width: 454px;
    padding: 0;
    grid-gap: 10px;
    align-items: center;
    background-color: #191919;
}

#schedule {
    grid-row: 1/2;
    font-size: 25px;
    color: aqua;
    background-color: #191919;
}

#safe_payment {
    display: block;
    grid-row: 1/2;
    width: 163px;
    height: 60px;
    border-radius: 5px;
    background-image: url("/img/yookassa.webp");
    background-size: 163px 60px;
}

#safe_payment:hover, #safe_payment:active {
    border-radius: 5px;
    background-color: black;
}

#second_header_group {
    display: grid;
    grid-row: 1/2;
    grid-column: 2/3;
    position: relative;
    left: -47px;
    align-items: center;
    min-height: 60px;
    max-height: 60px;
    background-color: #191919;
}

h1 {
    grid-row: 1/2;
    position: relative;
    top: -16px;
    font-weight: normal;
    background-color: #191919;
}

#header_span_1 {
    font-size: 40px;
    color: white;
    background-color: #191919;
}

#header_span_2 {
    font-size: 40px;
    color: #2ecc71;
    background-color: #191919;
}

#header_span_3 {
    position: relative;
    top: 5px;
    font-size: 50px;
    color: crimson;
    background-color: #191919;
}

#latin_phrase {
    display: block;
    grid-row: 2/3;
    position: relative;
    top: -22px;
    font-size: 22px;
    color: #3498db;
    background-color: #191919;
}

#ECG {
    grid-row: 1/2;
    grid-column: 3/4;
    width: 272px;
    height: 70px;
    background-image: url("/img/ECG.gif");
    background-size: 272px 70px;
}
/*--------------------------------------------------------------------------------------------------------------------*/
main {
    display: grid;
    grid-row: 2/35;
    grid-column: 2/35;
    grid-template-rows: auto;
    grid-template-columns: repeat(auto-fit, 149px);
    min-width: 820px;
    max-width: 820px;
    height: 634px;
    padding: 10px;
    grid-gap: 4px;
    align-content: start;
    color: white;
    background-color: #191919;
}

.block {
    display: grid;
    position: relative;
    width: 149px;
    height: 99px;
    background-size: 149px 99px;
    background-color: transparent;
}

.block button {
    border: 2px solid #2ecc71;
    background-color: transparent;
}

.block .back {
    position: absolute;
    bottom: 3px;
    left: 2px;
    width: 145px;
    word-break: break-word;
    text-align: center;
    line-height: 100%;
    font-size: 18px;
    color: #2ecc71;
    background-color: #191919;
}

.block button:hover {
    cursor: pointer;
    outline: 1px solid #2ecc71;
    box-shadow: 0 0 15px #2ecc71;
}

.block .progress {
    position: absolute;
    top: 5px;
    right: 3px;
    overflow: hidden;
    font-size: 18px;
    line-height: 80%;
    color: grey;
    background-color: #191919;
}

.block .progress_right_in_block {
    color: grey;
}

.block .progress_all_in_block {
    color: white;
}

#english button {
    border: 2px solid #012169;
}

#english button:hover {
    cursor: pointer;
    outline: 1px solid #012169;
    box-shadow: 0 0 15px #012169;
}

#english .progress {
    background-color: black;
}

#endocrinology button {
    border: 2px solid #00B3FF;
}

#endocrinology button:hover {
    cursor: pointer;
    outline: 1px solid #00B3FF;
    box-shadow: 0 0 15px #00B3FF;
}

#endocrinology .back {
    color: white;
    background-color: black;
}
/*--------------------------------------------------------------------------------------------------------------------*/
#enter {
    display: grid;
    grid-row: 2/35;
    grid-column: 35/36;
    min-width: 250px;
    max-width: 250px;
    height: 634px;
    padding: 10px;
    grid-row-gap: 20px;
    justify-items: center;
    align-content: start;
    text-align: center;
    color: white;
    background-color: #191919;
}

#ent_message {
    grid-row: 1/2;
    grid-column: 1/12;
    margin-bottom: -5px;
    visibility: hidden;
    text-align: center;
    line-height: 1.1;
    font-size: 18px;
    color: red;
    background-color: #191919;
}

#enter h2 {
    grid-row: 2/3;
    grid-column: 1/12;
    position: relative;
    top: -5px;
    text-align: center;
    font-size: 28px;
    font-weight: normal;
    color: white;
    background: none;
}

#enter_form {
    display: grid;
    grid-row: 3/4;
    grid-column: 1/12;
    position: relative;
    top: -10px;
    grid-gap: 5px;
    justify-items: center;
    text-align: center;
    background-color: #191919;
}

#enter_captcha_div {
    grid-row: 1/2;
    grid-column: 2/11;
    width: 190px;
    height: 40px;
    overflow: hidden;
    background-color: transparent;
}

#enter_captcha_img {
    width: 190px;
    height: 40px;
    animation-name: enter_captcha_moving;
    /*animation-duration: random s;*/
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    border: none;
    outline: none;
    background-color: transparent;
}

@keyframes enter_captcha_moving {
    0% {
        transform: translate(-110%, 0%);
    }
    100% {
        transform: translate(+110%, 0%);
    }
}

#enter_captcha_txt {
    grid-row: 2/3;
}

#enter_form input[type = 'email'] {
    grid-row: 3/4;
}

#enter_form input[type = 'password'] {
    grid-row: 4/5;
}

#enter_form input[type = 'text'],
#enter_form input[type = 'email'],
#enter_form input[type = 'password'] {
    display: block;
    grid-column: 1/12;
    max-width: 190px;
    padding: 12px;
    text-align: center;
    font-size: 16px;
    border-radius: 24px;
    transition: 0.25s;
    outline: none;
    border: 2px solid #3498db;
    color: white;
    background: none;
}

#enter_form input[type = 'text']:focus,
#enter_form input[type = 'email']:focus,
#enter_form input[type = 'password']:focus {
    border-color: #2ecc71;
}

#enter_buttons {
    display: grid;
    grid-row: 4/5;
    grid-column: 2/11;
    position: relative;
    top: -25px;
    grid-gap: 5px;
    justify-items: center;
    background-color: #191919;
}

#enter_notes {
    display: grid;
    grid-row: 5/6;
    grid-column: 1/12;
    position: relative;
    top: -10px;
    grid-row-gap: 20px;
    background-color: #191919;
}

#enter_button, #reset_pass_button, #res_button, #res_back_button,
#register_button, #reg_button, #reg_back_button {
    padding: 9px 12px;
    cursor: pointer;
    outline: none;
    font-size: 16px;
    text-decoration: none;
    border-left: 2px solid ghostwhite;
    border-top: 2px solid ghostwhite;
    border-right: 2px solid grey;
    border-bottom: 2px solid grey;
    border-radius: 24px;
    background-color: #191919;
}

#enter_button:hover, #reset_pass_button:hover, #res_button:hover, #res_back_button:hover,
#register_button:hover, #reg_button:hover, #reg_back_button:hover {
    transition: 0.1s;
    border-left: 2px solid grey;
    border-top: 2px solid grey;
    border-right: 2px solid ghostwhite;
    border-bottom: 2px solid ghostwhite;
}

#register_button {
    grid-row: 1/2;
    grid-column: 1/2;
    color: #2ecc71;
}

#enter_button {
    grid-row: 1/2;
    grid-column: 2/3;
    color: white;
}

#reset_pass_button {
    grid-row: 2/2;
    grid-column: 1/3;
    color: darkred;
}

#res_button {
    color: darkred;
}

#reg_back_button, #res_back_button {
    color: #3498db;
}

#reg_button {
    color: #2ecc71;
}

#other {
    grid-column: 1/12;
    text-align: center;
    font-size: 16px;
    background-color: #191919;
}

#terms_of_use {
    grid-column: 1/12;
    color: cornflowerblue;
    background-color: #191919;
}

#terms_of_use:hover, #terms_of_use:active {
    color: #3498db;
}

#help {
    grid-column: 1/12;
}

#help, #help p {
    text-align: center;
    font-size: 16px;
    background-color: #191919;
}

#email {
    display: block;
    grid-column: 1/12;
    width: 240px;
    height: 21px;
    background-image: url("/img/email.webp");
    background-size: 240px 21px;
}

#email:hover, #email:active {
    content: url("/img/email_hover.webp");
}

#social_wrapper {
    grid-column: 1/12;
}

#social_wrapper p {
    text-align: center;
    font-size: 16px;
}

#social {
    display: grid;
    grid-row: 1/2;
    grid-column: 2/2;
    grid-gap: 5px;
    justify-self: center;
    justify-items: center;
    align-items: center;
    width: fit-content;
    height: 45px;
}

#vk_button {
    grid-row: 1/2;
    position: relative;
    left: 10px;
    width: 45px;
    height: 45px;
    text-decoration: none;
    background-image: url('/img/vkontakte.webp');
    background-size: 45px 45px;
    background-color: transparent;
    z-index: 2;
}

#vk_button:hover {
    content: url("/img/vkontakte_hover.webp");
}

#tg_button {
    grid-row: 1/2;
    position: relative;
    right: 10px;
    width: 45px;
    height: 45px;
    text-decoration: none;
    background-image: url('/img/telegram.webp');
    background-size: 45px 45px;
    background-color: transparent;
    z-index: 1;
}

#tg_button:hover {
    content: url("/img/telegram_hover.webp");
}
/*--------------------------------------------------------------------------------------------------------------------*/
#reset {
    display: none;
    grid-row: 2/35;
    grid-column: 35/36;
    min-width: 250px;
    max-width: 250px;
    height: 634px;
    padding: 10px;
    grid-row-gap: 20px;
    justify-items: center;
    align-content: start;
    text-align: center;
    color: white;
    background-color: #191919;
}

#res_message {
    grid-row: 1/2;
    grid-column: 1/12;
    margin-bottom: -5px;
    visibility: hidden;
    text-align: center;
    line-height: 1.1;
    font-size: 18px;
    color: red;
    background-color: #191919;
}

#reset h2 {
    grid-row: 2/3;
    grid-column: 1/12;
    position: relative;
    top: -5px;
    text-align: center;
    font-size: 28px;
    font-weight: normal;
    color: white;
    background: #191919;
}

#res_form {
    display: grid;
    grid-row: 3/4;
    grid-column: 1/12;
    position: relative;
    top: -15px;
    grid-gap: 5px;
    justify-items: center;
    text-align: center;
    background-color: #191919;
}

#res_form #res_captcha_div {
    grid-column: 2/11;
    width: 190px;
    height: 40px;
    overflow: hidden;
    background-color: transparent;
}

#res_form #res_captcha_img {
    width: 190px;
    height: 40px;
    animation-name: res_captcha_moving;
    /*animation-duration: random s;*/
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    border: none;
    outline: none;
    background-color: transparent;
}

@keyframes res_captcha_moving {
    0% {
        transform: translate(-45%, 0%);
    }
    50% {
        transform: translate(+45%, 0%);
    }
    100% {
        transform: translate(-45%, 0%);
    }
}

#res_form input[type = 'text'],
#res_form input[type = 'email'],
#res_form input[type = 'password'] {
    display: block;
    grid-column: 1/12;
    max-width: 190px;
    padding: 12px;
    text-align: center;
    font-size: 16px;
    border-radius: 24px;
    transition: 0.25s;
    outline: none;
    border: 2px solid #3498db;
    color: white;
    background: none;
}

#res_form input[type = 'text']:focus,
#res_form input[type = 'email']:focus,
#res_form input[type = 'password']:focus {
    border-color: #2ecc71;
}

#res_buttons {
    grid-row: 4/5;
    grid-column: 2/11;
    position: relative;
    top: -30px;
    background-color: #191919;
}
/*--------------------------------------------------------------------------------------------------------------------*/
#registration {
    display: none;
    grid-row: 2/35;
    grid-column: 35/36;
    min-width: 250px;
    max-width: 250px;
    height: 634px;
    padding: 10px;
    grid-row-gap: 20px;
    justify-items: center;
    align-content: start;
    text-align: center;
    color: white;
    background-color: #191919;
}

#reg_message {
    grid-row: 1/2;
    grid-column: 1/12;
    margin-bottom: -5px;
    visibility: hidden;
    text-align: center;
    line-height: 1.1;
    font-size: 18px;
    color: red;
    background-color: #191919;
}

#registration h2 {
    grid-row: 2/3;
    grid-column: 1/12;
    position: relative;
    top: -5px;
    text-align: center;
    font-size: 28px;
    font-weight: normal;
    color: white;
    background: #191919;
}

#reg_form {
    display: grid;
    grid-row: 3/4;
    grid-column: 1/12;
    position: relative;
    top: -15px;
    grid-gap: 5px;
    justify-items: center;
    text-align: center;
    background-color: #191919;
}

#reg_form #reg_captcha_div {
    grid-column: 2/11;
    width: 190px;
    height: 40px;
    overflow: hidden;
    background-color: transparent;
}

#reg_form #reg_captcha_img {
    width: 190px;
    height: 40px;
    animation-name: reg_captcha_moving;
    /*animation-duration: random s;*/
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    border: none;
    outline: none;
    background-color: transparent;
}

@keyframes reg_captcha_moving {
    0% {
        transform: translate(-65%, 0%);
    }
    50% {
        transform: translate(+65%, 0%);
    }
    100% {
        transform: translate(-65%, 0%);
    }
}

#reg_form input[type = 'text'],
#reg_form input[type = 'email'],
#reg_form input[type = 'password'] {
    display: block;
    grid-column: 1/12;
    max-width: 190px;
    padding: 12px;
    text-align: center;
    font-size: 16px;
    border-radius: 24px;
    transition: 0.25s;
    outline: none;
    border: 2px solid #3498db;
    color: white;
    background: none;
}

#reg_form input[type = 'text']:focus,
#reg_form input[type = 'email']:focus,
#reg_form input[type = 'password']:focus {
    border-color: #2ecc71;
}

#reg_buttons {
    grid-row: 4/5;
    grid-column: 2/11;
    position: relative;
    top: -30px;
    background-color: #191919;
}
/*--------------------------------------------------------------------------------------------------------------------*/
aside {
    display: grid;
    grid-row: 2/35;
    grid-column: 1/2;
    min-width: 210px;
    max-width: 210px;
    height: 634px;
    padding: 10px 15px 10px 15px;
    grid-gap: 20px;
    justify-items: center;
    align-content: start;
    text-align: center;
    color: white;
    background-color: #191919;
}

aside * {
    text-align: center;
    background-color: #191919;
}

#physician_wrap {}

#physician {
    width: 150px;
    height: 201px;
    background-image: url("/img/physician.webp");
    background-size: 150px 201px;
    border: 1px solid #34495e;
}

#near_physician {
    display: grid;
    position: relative;
    top: 5px;
    grid-gap: 20px;
}

#near_physician * {
    font-size: 24px;
}

/* headers & blocks START*/
#user_name_header {}

#user_name_block {
    word-break: break-word;
    color: grey;
}

#user_level_header {}

#user_level_block {
    word-break: break-word;
    text-decoration: underline;
    color: grey;
}

#user_progress_header {
    display: none;
}

#user_progress_block {
    color: grey;
}
/* headers & blocks END */

/* user_progress_block START */
#user_progress_cat_header {color: #2ecc71;}

#user_progress_cat {}

#right_qs_chapter {color: grey;}

#all_qs_chapter {color: deepskyblue;}

#user_progress_all_header {color: #2ecc71;}

#user_progress_all {}

#right_qs {color: grey;}

#all_qs {color: cornflowerblue;}
/* user_progress_block END */

#div100 {}
/*--------------------------------------------------------------------------------------------------------------------*/
#links {
    grid-row: 35/36;
    grid-column: 1/36;
    min-width: 1345px;
    max-width: 1345px;
    padding: 5px 5px 5px 10px;
    color: white;
}

#links, #links * {
    line-height: 1.3;
    background-color: #191919;
}
/* Links_header_div начало */
#links_header_div {
    display: grid;
    grid-gap: 10px;
    width: fit-content;
}

#links_header_div h1 {
    grid-row: 1/2;
    grid-column: 1/2;
}

#toggle_ads_button {
    grid-row: 1/2;
    grid-column: 2/3;
    width: 25px;
    height: 25px;
    background-image: url('/img/hide_ads_right.webp');
    background-size: 25px 25px;
    background-position: center;
}
/* Links_header_div конец */
/* РЕКЛАМА начало */
#links_promo_div {
    padding: 5px 0;
}

.links_promo_a {
    color: plum;
}

.links_promo_a:hover {
    color: #F8173E;
}

.links_promo_span_out {
    color: cyan;
}

.links_promo_span_in {
    color: #00B3FF;
}
/* РЕКЛАМА конец */
#links_header {
    font-size: 20px;
    font-weight: normal;
}

#links_column_1, #links_column_2 {
    font-size: 18px;
}

#links_column_1 {
    width: 50%;
    float: left;
}

#links_column_2 {
    width: 50%;
    float: left;
}

.links_block a {
    color: #3498db;
}

.links_block a:hover {
    color: white;
}

.links_block span {
    color: #2ecc71;
}

.links_block .links_ENG {
    color: cornflowerblue;
}

#links #author {
    margin-top: 20px;
    float: right;
    width: 610px;
    height: 21px;
    background-image: url("/img/author.webp");
    background-size: 610px 21px;
}
/*  LOCKED  LOCKED  LOCKED  LOCKED  LOCKED  LOCKED  LOCKED  LOCKED  LOCKED  LOCKED  LOCKED  LOCKED  LOCKED  LOCKED  LOCKED  */
.block_locked {
    display: grid;
    position: relative;
    width: 149px;
    height: 99px;
    background-size: 149px 99px;
    background-color: transparent;
}

.block_locked button {
    border: 2px solid grey;
    background-color: transparent;
}

.block_locked .back {
    position: absolute;
    bottom: 3px;
    left: 2px;
    width: 145px;
    word-break: break-word;
    text-align: center;
    line-height: 100%;
    font-size: 18px;
    color: grey;
    background-color: #191919;
}

/* BLOCK IMAGES START */
#general_terminology1 {
    background-image: url("/img/general_terminology.webp");
}

.general_terminology {
    background-image: url("/img/general_terminology_grey.webp");
}

#general_prefixes_and_suffixes1 {
    background-image: url("/img/general_prefixes_and_suffixes.webp");
}

.general_prefixes_and_suffixes {
    background-image: url("/img/general_prefixes_and_suffixes_grey.webp");
}

#english {
    background-image: url("/img/english.webp");
    background-color: black;
}

#endocrinology {
    background-image: url("/img/endocrinology.webp");
    background-color: black;
}
/* BLOCK IMAGES END */

#form100_locked {
    width: 50px;
    height: 50px;
    background-image: url("/img/100_grey.webp");
    background-size: 50px 50px;
}
/*-----------------------------------------------------------------------------------------------------------------------------------*/
#mobile_header, #mobile_buttons, #mobile_reset_pass_button, #mobile_social, #mobile_footer_top, #mobile_footer_bottom {display: none;}
/*-----------------------------------------------------------------------------------------------------------------------------------*/