* {
    -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: 4/5;
    display: block;
    position: relative;
    bottom: 17px;
    justify-self: center;
    align-self: end;
    padding: 10px 15px;
    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;
    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;
    grid-gap: 10px;
    min-width: 1255px;
    max-width: 1255px;
    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;
    padding: 0;
    grid-gap: 10px;
    align-items: center;
    min-width: 480px;
    max-width: 480px;
    background-color: #191919;
}

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

#safe_payment {
    display: block;
    grid-row: 1/2;
    width: 150px;
    background-color: #191919;
}

#safe_payment img {
    display: block;
    width: 150px;
    border-radius: 5px;
    background-color: #191919;
}

#safe_payment img:hover, #safe_payment img:active {
    background-color: black;
}

#second_header_group {
    display: grid;
    grid-row: 1/2;
    grid-column: 2/3;
    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 {
    display: block;
    grid-row: 1/2;
    grid-column: 5/6;
    width: 272px;
    height: 70px;
}
/*--------------------------------------------------------------------------------------------------------------------*/
#mobile_header, #mobile_buttons {display: none;}
/*--------------------------------------------------------------------------------------------------------------------*/
main {
    display: grid;
    grid-row: 2/35;
    grid-column: 2/35;
    grid-template-rows: auto;
    grid-template-columns: repeat(auto-fit, 135px);
    min-width: 730px;
    max-width: 730px;
    padding: 10px 5px 10px 15px;
    grid-gap: 9px;
    justify-content: left;
    align-content: start;
    color: white;
    background-color: #191919;
}

.block {
    display: grid;
    position: relative;
    width: 135px;
    height: 87px;
    justify-content: right;
}

.block img {
    width: 135px;
    height: 87px;
    background-color: #191919;
}

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

.block .progress {
    position: absolute;
    top: 5px;
    right: 3px;
    font-size: 18px;
    line-height: 70%;
    color: white;
    background-color: black;
    z-index: 1;
}

.block .back {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 131px;
    word-break: break-word;
    text-align: center;
    line-height: 100%;
    font-size: 17px;
    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 {
    cursor: pointer;
    outline: 1px solid #2ecc71;
    box-shadow: 0 0 15px #2ecc71;
}

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

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

#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;
}

#english *, #endocrinology * {
    background-color: black;
}
/*--------------------------------------------------------------------------------------------------------------------*/
aside {
    display: grid;
    grid-row: 2/35;
    grid-column: 1/2;
    min-width: 210px;
    max-width: 210px;
    align-content: start;
    justify-items: center;
    text-align: center;
    grid-gap: 20px;
    padding: 20px 15px;
    color: white;
    background-color: #191919;
}

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

#physician {
    border: 1px solid #34495e;
}

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

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

#near_physician div div {
    margin-top: 5px;
    font-size: 22px;
}

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

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

#allQuestions2 {
    color: gold;
}
/*--------------------------------------------------------------------------------------------------------------------*/
#enter_aside {
    display: grid;
    grid-row: 2/35;
    grid-column: 35/36;
    min-width: 250px;
    max-width: 250px;
    min-height: 570px;
    padding: 10px;
    grid-row-gap: 20px;
    align-content: start;
    justify-items: center;
    text-align: center;
    color: white;
    background-color: #191919;
}

#enter_aside #message {
    position: relative;
    top: 5px;
    grid-row: 1/2;
    grid-column: 1/12;
    visibility: hidden;
    text-align: center;
    font-size: 18px;
    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: 3/4;
    grid-column: 1/12;
    margin-top: -15px;
    grid-gap: 5px;
    justify-items: center;
    text-align: center;
    background-color: #191919;
}

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

#enter_form #captcha_enter {
    width: 190px;
    height: 40px;
    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 #captcha_enter_text {
    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 {
    grid-row: 4/5;
    grid-column: 2/11;
    margin-top: -15px;
    background-color: #191919;
}

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

#enter_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, #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, #reg_button {
    color: #2ecc71;
}

#reg_back_button {
    color: #3498db;
}

#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: 2/35;
    grid-column: 35/36;
    min-width: 250px;
    max-width: 250px;
    min-height: 570px;
    padding: 10px;
    grid-row-gap: 20px;
    align-content: start;
    justify-items: center;
    text-align: center;
    color: white;
    background-color: #191919;
}

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

#registration h2 {
    grid-row: 2/3;
    grid-column: 1/12;
    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;
    margin-top: -15px;
    grid-gap: 5px;
    justify-items: center;
    text-align: center;
    background-color: #191919;
}

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

#reg_form #captcha_reg {
    width: 190px;
    height: 40px;
    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 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;
    background-color: #191919;
}

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

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

#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 span {
    color: #2ecc71;
}

.links_block a {
    color: #3498db;
}

.links_block a:hover {
    color: white;
}

.links_block .links_ENG {
    color: cornflowerblue;
}

#links #author {
    margin-top: 20px;
    float: right;
    width: 560px;
}
/*--------------------------------------------------------------------------------------------------------------------*/
#mobile_footer_top, #mobile_footer_bottom {display: none;}
/*--------------------------------------------------------------------------------------------------------------------*/