* {
    -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: 4px;
    grid-gap: 4px;
    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: 440px;
    height: 320px;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    padding: 25px 10px;
    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: 32px;
    color: red;
    background-color: #191919;
}

#popUp_main {
    grid-row: 3/4;
    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: 5/6;
    display: block;
    position: relative;
    bottom: 5px;
    justify-self: center;
    align-self: end;
    padding: 9px 14px;
    cursor: pointer;
    outline: none;
    font-size: 24px;
    text-decoration: none;
    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: none;}
/*--------------------------------------------------------------------------------------------------------------------*/
#mobile_header {
    display: grid;
    grid-row: 1/2;
    grid-column: 1/36;
    justify-content: center;
    align-content: center;
    text-align: center;
    padding: 4px 4px 4px 40px;
    grid-gap: 25px;
    width: calc(100vw - 52px);
    min-height: 52px;
    max-height: 52px;
    overflow: hidden;
    color: white;
    background-color: #191919;
}

#mobile_header_group {
    display: grid;
    grid-row: 1/2;
    grid-column: 1/2;
    min-height: 52px;
    max-height: 52px;
    align-items: center;
    background-color: #191919;
}

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

#mobile_header_span_1 {
    font-size: 34px;
    color: white;
    background-color: #191919;
}

#mobile_header_span_2 {
    font-size: 34px;
    color: #2ecc71;
    background-color: #191919;
}

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

#mobile_latin_phrase {
    display: block;
    grid-row: 2/3;
    position: relative;
    top: -21px;
    font-size: 16px;
    color: #3498db;
    background-color: transparent;
}

#mobile_ECG {
    display: block;
    grid-row: 1/2;
    grid-column: 2/3;
    width: 210px;
    height: 52px;
}
/*--------------------------------------------------------------------------------------------------------------------*/
#mobile_buttons {
    display: grid;
    grid-row: 2/3;
    grid-column: 1/36;
    justify-content: space-between;
    align-items: center;
    grid-gap: 4px;
    padding: 4px;
    width: calc(100vw - 16px);
    min-height: 52px;
    max-height: 52px;
    background-color: #191919;
}

#mobile_links_button {
    grid-column: 5/9;
    width: 45px;
    height: 45px;
    border: none;
    background-image: url("/img/links.png");
    background-size: cover;
    background-color: #191919;
}

#mobile_links_button:hover, #mobile_links_button:active {
    background-image: url("/img/links_hover.png");
}

#mobile_social_button {
    grid-column: 9/25;
    width: 50px;
    height: 50px;
    background-color: #191919;
}

#mobile_social_button img {
    width: 50px;
    height: 50px;
    background-color: #191919;
}

#mobile_social_button img:active, #mobile_social_button img:hover {
    content: url("/img/vkontakte_hover.png");
    background-color: #191919;
}

#mobile_register_button {
    grid-column: 31/33;
    min-width: 170px;
    max-width: 170px;
    color: #2ecc71;
}

#mobile_enter_button {
    grid-column: 33/36;
    min-width: 110px;
    max-width: 110px;
}

#mobile_register_button, #mobile_enter_button {
    padding: 10px;
    cursor: pointer;
    outline: none;
    font-size: 22px;
    text-decoration: none;
    border-left: 3px solid ghostwhite;
    border-top: 3px solid ghostwhite;
    border-right: 3px solid grey;
    border-bottom: 3px solid grey;
    border-radius: 48px;
    background-color: #191919;
}

#mobile_register_button:active, #mobile_enter_button:active,
#mobile_register_button:hover, #mobile_enter_button:hover {
    transition: 0.1s;
    border-left: 3px solid grey;
    border-top: 3px solid grey;
    border-right: 3px solid ghostwhite;
    border-bottom: 3px solid ghostwhite;
}
/*--------------------------------------------------------------------------------------------------------------------*/
aside {
    display: grid;
    grid-row: 3/6;
    grid-column: 1/36;
    align-content: center;
    justify-content: center;
    text-align: center;
    padding: 4px;
    grid-gap: 4px;
    width: calc(100vw - 16px);
    min-height: 170px;
    max-height: 170px;
    color: white;
    background-color: #191919;
}

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

#physician {
    grid-row: 1/2;
    grid-column: 1/2;
    width: 130px;
    height: 168px;
    border: 1px solid #34495e;
}

#physician img {
    width: 130px;
    height: 168px;
}

#near_physician {
    display: grid;
    grid-row: 1/2;
    grid-column: 2/3;
    margin-top: 0;
    padding: 5px;
    grid-gap: 10px;
    border: 1px solid #34495e;
}

#near_physician div {
    font-size: 18px;
}

#near_physician div div {
    margin-top: 1px;
    font-size: 20px;
}

#hello2 {
    text-decoration: underline;
    color: gold;
}

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

#allQuestions2 {
    color: gold;
}
/*--------------------------------------------------------------------------------------------------------------------*/
main {
    display: grid;
    grid-row: 6/10;
    grid-column: 1/36;
    grid-template-rows: auto;
    grid-template-columns: repeat(auto-fit, 109px);
    justify-content: left;
    align-content: start;
    padding: 4px 3px 4px 5px;
    grid-gap: 8px;
    width: calc(100vw - 16px);
    min-height: 126px;
    height: calc(100vh - 454px);
    overflow-x: hidden;
    overflow-y: scroll;
    color: white;
    background-color: #191919;
}

.block {
    display: grid;
    position: relative;
    width: 109px;
    height: 75px;
}

.block img {
    width: 109px;
    height: 75px;
    background-color: #191919;
}

.block button {
    width: 114px;
    height: 80px;
    border: 2px solid grey;
    background-color: #191919;
}

.block .progress {
    position: absolute;
    top: 6px;
    right: -1px;
    font-size: 17px;
    line-height: 70%;
    color: white;
    background-color: #191919;
}

.block .back {
    position: absolute;
    bottom: 0;
    left: 5px;
    width: 105px;
    word-break: break-word;
    text-align: center;
    line-height: 90%;
    font-size: 16px;
    color: grey;
    background-color: #191919;
}

#terminology1 button,
#prefixes_and_suffixes1 button {
    border: 2px solid #2ecc71;
}

#terminology1 .back,
#prefixes_and_suffixes1 .back {
    color: #2ecc71;
}

#terminology1 button:hover,
#prefixes_and_suffixes1 button:hover {
    box-shadow: 0 0 15px #2ecc71;
}

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

#english button:hover {
    box-shadow: 0 0 15px #012169;
}

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

#endocrinology button:hover {
    box-shadow: 0 0 15px #00B3FF;
}

#endocrinology .back {
    color: white;
}

#english *, #endocrinology * {
    background-color: black;
}
/*--------------------------------------------------------------------------------------------------------------------*/
#enter_aside {
    display: none;
    grid-row: 3/6;
    grid-column: 1/36;
    padding: 4px;
    grid-gap: 4px;
    justify-items: center;
    align-content: center;
    text-align: center;
    width: calc(100vw - 16px);
    min-height: 280px;
    max-height: 280px;
    color: white;
    background-color: #191919;
}

#enter_notes, #register_button {
    display: none;
}

#enter_aside #message {
    grid-row: 1/2;
    grid-column: 1/12;
    position: relative;
    top: -15px;
    visibility: hidden;
    text-align: center;
    font-size: 20px;
    color: red;
    background-color: #191919;
}

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

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

#enter_form #captcha_enter_div {
    grid-row: 1/2;
    grid-column: 1/2;
    width: 220px;
    height: 55px;
    overflow: hidden;
    background-color: transparent;
}

#enter_form #captcha_enter {
    width: 220px;
    height: 55px;
    animation-name: captcha_enter_moving;
    /*animation-duration: random s;*/
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    border: none;
    outline: none;
    background-color: transparent;
}

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

#enter_form input[type = 'text'] {
    grid-row: 2/3;
    grid-column: 1/2;
}

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

#enter_form input[type = 'password'] {
    grid-row: 2/3;
    grid-column: 2/3;
}

#enter_form input[type = 'text'],
#enter_form input[type = 'email'],
#enter_form input[type = 'password'] {
    min-width: 220px;
    max-width: 220px;
    padding: 11px;
    text-align: center;
    font-size: 22px;
    border-radius: 48px;
    transition: 0.25s;
    outline: none;
    border: 2px solid #3498db;
    color: white;
    background: none;
}

#enter_form input[type = 'text']::placeholder,
#enter_form input[type = 'email']::placeholder,
#enter_form input[type = 'password']::placeholder {
    font-size: 22px;
}

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

#enter_buttons {
    grid-row: 11/12;
    grid-column: 2/11;
    margin-top: -25px;
    background-color: #191919;
}

#enter_notes {
    display: none;
}


#enter_button {
    min-width: 120px;
    max-width: 120px;
}

#reg_button {
    min-width: 170px;
    max-width: 170px;
    color: #2ecc71;
}

#enter_button, #reg_button {
    padding: 10px;
    cursor: pointer;
    outline: none;
    font-size: 22px;
    text-decoration: none;
    border-left: 3px solid ghostwhite;
    border-top: 3px solid ghostwhite;
    border-right: 3px solid grey;
    border-bottom: 3px solid grey;
    border-radius: 48px;
    background-color: #191919;
}

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

#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 {
    grid-column: 1/12;
    width: 240px;
    height: 20px;
    background-color: transparent;
}

#email img {
    width: 240px;
    height: 20px;
    background-color: transparent;
}

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

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

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

#social {
    grid-column: 1/12;
    position: relative;
    top: 3px;
    width: 45px;
    height: 45px;
    background-color: #191919;
}

#social img {
    width: 45px;
    height: 45px;
    background-color: #191919;
}

#social img:hover {
    content: url("/img/vkontakte_hover.png");
}

/*--------------------------------------------------------------------------------------------------------------------*/
#registration {
    display: none;
    grid-row: 3/6;
    grid-column: 1/36;
    padding: 4px;
    grid-row-gap: 20px;
    justify-items: center;
    align-content: center;
    text-align: center;
    width: calc(100vw - 16px);
    min-height: 280px;
    max-height: 280px;
    color: white;
    background-color: #191919;
}

#reg_back_button {
    display: none;
}

#reg_message {
    grid-row: 1/2;
    grid-column: 1/12;
    position: relative;
    top: 0;
    visibility: hidden;
    text-align: center;
    font-size: 20px;
    color: red;
    background-color: #191919;
}

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

#reg_form {
    display: grid;
    grid-row: 3/4;
    grid-column: 1/12;
    grid-template-columns: repeat(2, max-content);
    margin-top: -15px;
    grid-gap: 5px;
    justify-items: center;
    text-align: center;
    background-color: #191919;
}

#reg_form #captcha_reg_div {
    grid-row: 1/2;
    grid-column: 1/2;
    width: 220px;
    height: 55px;
    overflow: hidden;
    background-color: transparent;
}

#reg_form #captcha_reg {
    width: 220px;
    height: 55px;
    animation-name: captcha_reg_moving;
    /*animation-duration: random s;*/
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    border: none;
    outline: none;
    background-color: transparent;
}

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

#reg_form #captcha_reg_text {
    grid-row: 2/3;
    grid-column: 1/2;
}

#reg_form #name_text {
    grid-row: 3/4;
    grid-column: 1/2;
}

#reg_form #email_text {
    grid-row: 1/2;
    grid-column: 2/3;
}

#reg_form #password_text {
    grid-row: 2/3;
    grid-column: 2/3;
}

#reg_form #cPassword_text {
    grid-row: 3/4;
    grid-column: 2/3;
}

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

#reg_form input[type = 'text']::placeholder,
#reg_form input[type = 'email']::placeholder,
#reg_form input[type = 'password']::placeholder {
    font-size: 22px;
}

#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;
    margin-top: -15px;
    background-color: #191919;
}

/*--------------------------------------------------------------------------------------------------------------------*/
#links {
    display: none;
    grid-row: 3/10;
    grid-column: 1/36;
    padding: 4px;
    width: calc(100vw - 16px);
    min-height: 126px;
    height: calc(100vh - 272px);
    overflow: scroll;
    color: white;
}

#links, #links * {
    line-height: 1;
    background-color: #191919;
}

#links_header {
    margin: 0 0 5px;
    font-size: 24px;
    font-weight: normal;
}

#links_column_1, #links_column_2 {
    float: left;
    width: 100%;
    word-break: break-word;
}

.links_block {
    margin: 0 0 10px;
}

.links_block * {
    font-size: 20px;
}

.links_block span {
    color: #2ecc71;
}

.links_block a {
    color: #3498db;
}

.links_block .links_ENG {
    color: cornflowerblue;
}

#links #author {
    display: none;
}
/*--------------------------------------------------------------------------------------------------------------------*/
#mobile_footer_top {
    display: grid;
    grid-row: 10/11;
    grid-column: 1/36;
    align-items: center;
    justify-content: space-between;
    padding: 4px 14px;
    width: calc(100vw - 36px);
    min-height: 52px;
    max-height: 52px;
    background-color: #191919;
}

#mobile_schedule {
    grid-column: 1/9;
    text-align: center;
    font-size: 20px;
    color: aqua;
    background-color: #191919;
}

#mobile_safe_payment {
    display: block;
    grid-column: 22/36;
    width: 125px;
    height: 50px;
    background-color: #191919;
}

#mobile_safe_payment img {
    width: 125px;
    height: 50px;
    background-color: #191919;
}

#mobile_safe_payment img:hover, #mobile_safe_payment img:active {
    border-radius: 48px;
    background-color: black;
}
/*--------------------------------------------------------------------------------------------------------------------*/
#mobile_footer_bottom {
    display: grid;
    grid-row: 11/12;
    grid-column: 1/36;
    align-items: center;
    justify-content: space-between;
    padding: 4px 14px;
    width: calc(100vw - 36px);
    min-height: 52px;
    max-height: 52px;
    background-color: #191919;
}

#mobile_terms_of_use {
    display: block;
    grid-column: 1/18;
    text-align: center;
    font-size: 20px;
    color: cornflowerblue;
    background-color: #191919;
}

#mobile_terms_of_use:hover, #mobile_terms_of_use:active {
    color: #2ecc71;
    background-image: none;
    background-color: transparent;
}

#mobile_email {
    display: block;
    grid-column: 33/36;
    width: 270px;
    height: 40px;
    background-color: transparent;
}

#mobile_email img {
    width: 270px;
    height: 40px;
    background-color: transparent;
}

#mobile_email img:hover, #mobile_email img:active {
    content: url("/img/email_mobile_hover.png");
}