:root {
    --blue: rgb(59, 116, 179);
    --gray: rgb(112, 113, 115);
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: Calibri, serif;
}

body {
    background: #e7f4fb url("./img/body.jpg") top center no-repeat;
    font: 12px/18px Arial, Helvetica, sans-serif;
}

ul {
    padding: 0;
}

#header-top{
    height: 470px;
    width: 960px;
    position: relative;
    margin: 0 auto;
}

header #header-top #logo {
    display: block;
    width: 418px;
    height: 136px;
    overflow: hidden;
    text-indent: -338px;
    position: absolute;
    top: 11px;
    left: 18px;
    background: url("./img/logo.png") top left no-repeat;
}

header #header-top #phones {
    padding: 3px 19px 0 0;
    position: absolute;
    top: 43px;
    right: 0;
    text-align: right;
    width: 348px;
    height: 100px;
    background: url("./img/phones.png") top right no-repeat;
    color: #22519c;
    font: normal 14px/33px "Century Gothic", Tahoma, Arial, Helvetica, sans-serif;
    text-transform: uppercase;
}

header #header-top #phones span {
    font-size: 24px;
}

#skip_link {
    display: none;
}

header #header-top #phones .phone-link {
    text-decoration: none;
    line-height: inherit;
    cursor: inherit;
    color: inherit;
}

header #header-top #phones .phones-mails {
    font-size: 12px;
    position: relative;
    top: -6px;
    display: block;
}

header #header-top #phones .phones-mails a {
    text-decoration: none;
    line-height: 21px;
}

header #header-menu {
    position: absolute;
    top: 157px;
    left: 0;
    right: 0;
    height: 306px;
    background: url("./img/header_menu_bg.jpg") center top repeat-x;
    font-size: 0;
}

/*header #header {
    background: url("./img/banner.png") top center no-repeat;
}*/

header #header, #header-wrapped, header #header_faux {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 306px;
    z-index: 10;
}

#header_faux {
    background: url("./img/menu_level_sub_wrapper.jpg") top center no-repeat;
}

header nav {
    display: block;
    unicode-bidi: isolate;
}

#menu_main.menu_level_main {
    margin: 0 auto;
    max-width: 1284px;
    min-width: 960px;
    background: url("./img/menu_level_main.png") top center no-repeat;
    position: relative;
    text-align: center;
    z-index: 20;
}

#menu_main.menu_level_main > li:first-child {
    background: none;
}

#menu_main.menu_level_main > li {
    padding: 0 11px;
    display: inline-block;
    height: 40px;
    background: url("./img/menu_level_main_separator.png") left no-repeat;
    text-align: center;
    line-height: 40px;
}

#menu_main.menu_level_main > li > button {
    all: unset;
}

#menu_main.menu_level_main > li > button,
#menu_main.menu_level_main > li > a:link,
#menu_main.menu_level_main > li > a:visited,
#menu_main.menu_level_main > li > span {
    font: normal 16px / 40px "Century Gothic", Tahoma, Arial, Helvetica, sans-serif;
    color: #22519c;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
}

#menu_main.menu_level_main > li > button {
    padding-right: 16px;
}

#menu_main.menu_level_main > li > button::after {
    content: "▼";
    padding-left: 8px;
    font-size: 8px;
    color: #285faf;
    position: absolute;
}

.menu_level_sub_wrapper {
    margin: 0;
    display: none;
    position: absolute;
    top: 40px;
    right: 0;
    left: 0;
    height: 270px;
}

@keyframes menu-show {
    from {
        opacity: 0;
    } to {
        opacity: 1;
    }
}

@keyframes menu-hide {
    from {
        opacity: 1;
    } to {
          opacity: 0;
      }
}

.active_wrapper {
    display: block;
    animation: menu-show 0.9s ease-in;
}

.active_wrapper:hover {
    display: block;
}

.default_wrapper {
    animation: menu-hide 0.6s ease-in;
}

.menu_level_sub_wrapper li {
    list-style: none;
}

.menu_level_sub_wrapper > li {
    margin: 0 auto;
    padding: 0;
    width: 960px;
    height: 306px;
    text-align: left;
}

#menu_main.menu_level_main > li:hover .menu_level_sub_wrapper {
    /*display: block;*/
}

.menu_level_sub_wrapper .menu_level_sub_info SPAN {
    display: block;
    width: 217px;
}

.menu_level_sub_info {
    margin-top: 18px;
    margin-right: 35px;
    margin-left:  16px;
    display: block;
    float: left;
    width: 217px;
}

.menu_level_sub_title {
    margin-bottom: 16px;
    font: normal 22px/28px "Century Gothic", Tahoma, Arial, Helvetica, sans-serif;
    color: #285faf;
    text-transform: uppercase;
}

.menu_level_sub_text {
    line-height: 15px;
    color: #666;
}

.menu_level_sub_image {
    margin-bottom: 6px;
    padding-top: 2.5px;
    width: 217px;
    height: 82.5px;
    background: url("./img/menu_level_sub_image_bg.png") left no-repeat;
}

.menu_level_sub_image span {
    display: block;
    width: 217px;
    height: 80px;
    background: url("./img/menu_level_sub_image.jpg") left no-repeat;
}

.menu_level_sub {
    margin: 25px 27px 0 0;
    float: left;
    width: 270px;
}

.menu_level_sub li {
    margin: 0 0 3px 0;
    padding: 5px 10px;
    background: rgba(255,255,255,0.8);
    width: 250px;
    line-height: 0;
}

.menu_level_sub img {
    margin: 4px auto 0;
}

.menu_level_sub_sub {
    margin: 2px 0 0 0;
}

.menu_level_sub_sub li {
    margin: 0 0 0 18px;
    padding: 4px 10px;
    background: none;
    width: 230px;
    font-size: 11px;
    line-height: 14px;
}

.menu_level_sub li a:link,
.menu_level_sub li a:visited,
.menu_level_sub li span {
    font: normal 12px/16px "Century Gothic", Tahoma, Arial, Helvetica, sans-serif;
    color: #285faf;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
}

.menu_level_sub li a:hover, .menu_level_sub li a:active {
    color: #707173;
}

.menu_level_sub_sub li a:link,
.menu_level_sub_sub li a:visited {
    color: #707173;
    font-size: 11px;
    line-height: 14px;
}

#menu_kep {
    background: url("./img/menu_kep_1.jpg") top center no-repeat;
}

.menu_level_sub_sub li a:hover,
.menu_level_sub_sub li a:active {
    color: #285faf;
}

.submenu-button-blue {
    color: var(--blue);
    border: 1px solid var(--blue);
}

.submenu-button-blue:hover {
    color: #fff;
    background-color: var(--blue);
}

.card-button {
    color: #fff;
    background-color: var(--blue);
}

.card-button:hover {
    color: #fff;
    background-color: var(--blue);
}

#header_slider {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 306px;
    background: url('./img/banner.png') top center no-repeat;
}

/*#header_slider {
    position: absolute;
    top: -159.5%;
    left: 0;
    right: 0;
    height: 1284px;
    overflow: hidden;
    border-radius: 50%;
    display: flex;
    width: 1284px;
    margin: 0 auto;
}

#circle {
    background: url("./img/banner.png") top center no-repeat;
    width: 100%;
    height: 306px;
    margin: auto 0;
}*/

#ad-logo {
    width: 150px;
    height: 150px;
    object-fit: contain;
}

#ad-sublogo {
    width: 300px;
    object-fit: contain;
    position: absolute;
    top: -95px;
    left: -45px;
}

#ad-subtitle {
    padding: 20px 20px 20px 10px;
    background-color: var(--blue);
    font-weight: 700;
    color: #fff;
    border-radius: 0 40px 40px 0;
    width: inherit;
}

#ad-subtitle > p a {
    color: #fff;
}

#ad-subtitle > p {
    margin: 0;
}

#ad-title {
    padding: 20px 20px 20px 10px;
    background-color: var(--blue);
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    border-radius: 0 40px 40px 0;
    line-height: 1.5;
}

.ad-group {
    color: var(--blue);
    font-weight: 700;
    font-size: 1.1rem;
}

.ad-group-list {
    color: var(--blue);
    margin-left: 5%;
    text-align: justify;
}

.ad-group-list li {
    font-size: 0.9rem;
    line-height: 1.5;
}

.ad-group-list li::marker {
    font-size: 1.2rem;
}

.modal-body {
    padding: 1rem 0 !important;
}

#registration-form-title {
    font-size: 1.3rem;
    font-weight: bold;
    margin: 2rem 0 0.5rem 0;
    padding-bottom: 5px;
    color: var(--blue);
    text-transform: uppercase;
}

#registration-form-subtitle {
    font-weight: bold;
    font-size: 0.8rem;
    color: var(--blue);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.registration-form-block-title {
    color: var(--blue);
    font-size: 1.1rem;
    font-weight: bold;
}

.registration-form-country {
    font-size: 1.1rem;
    font-weight: bold;
    margin: 2rem 0 0.5rem 0;
    padding-bottom: 5px;
    color: var(--blue);
    text-transform: uppercase;
}

.p-description, .ul-description {
    font-size: 1rem;
    text-align: justify;
}

.ul-description {
    margin-left: 1rem;
}

.ul-description > li {
    padding: 5px 0;
}

.success-registration,
.failed-registration {
    padding: 20px 10px;
    color: #fff;
    border-radius: 5px;
    font-size: 1rem;
}

.success-registration {
    background-color: #1a791ab3;
}

.failed-registration {
    background-color: #a5181ab3;
}

#registration-form {
    font-size: 0.9rem;
}

#registration-form label {
    color: var(--blue);
}

#registration-form select, #registration-form input[type="checkbox"], #registration-form input[type="checkbox"] + label {
    cursor: pointer;
}

#registration-form #phone:invalid {
    border: 1px solid red;

}

#registration-form #zip:invalid {
    border: 1px solid red;
}

#captcha img {
    width: 50px;
}

#captcha input {
    width: 100px;
}

#join-text {
    color: var(--blue);
    font-size: 16px;

}

/*------------------------------- MEDIA 1000px -------------------------------*/
@media all and (max-width: 1000px) {
    #ad-logo {
        display: none;
    }

    #ad-sublogo {
        display: none;
    }
}

/*------------------------------- MEDIA 820px -------------------------------*/

@media all and (max-width: 820px) {

    #jump_link:focus {
        top: 38px;
        margin-right: 0;
        left: auto;
    }
    header #header-menu, #header-menu #header, #pg_footer, #pg_content > .group, #pg_content, #pg_footer, #header.menu_level_main_opened {
        border: none;
        position: static;
        background: none;
        background-color: #fff;
        height: auto;
    }
    #header_slider, #header_faux, .menu_level_sub IMG {
        display: none !important;
    }
    #phones {
        background: #22519C;
        color: #FFFFFF;
        left: 0;
        padding: 6px 21px;
        right: 0;
        text-align: left;
        top: 157px;
        height: auto;
        width: auto;
        line-height: 1.2;
    }
    #phones a {
        color: #ffffff;
        line-height: 2.5;
    }

    #phones span.phones-mails{
        top: 0;
        font-size: 14px;
    }

    #header-top {
        height: 155px;
    }

    #pg_content,
    #header-top,
    #pg_footer,
    .menu_level_sub_wrapper > li {
        margin: 0;
        width: 100%;
    }
    .col {
        float: none;
        clear: both;
        width: auto;
        min-height: 0;
    }
    .col_side {
        padding-top: 0;
    }
    .box_side, A.box_side:link, A.box_side:visited {
        margin-right: 10px;
        float: left;
        width: 224px;
    }
    #skip_link {
        background: url("./img/skip_link.png") no-repeat scroll 0 0 transparent;
        border: 2px solid #ffffff;
        display: block !important;
        height: 29px;
        position: absolute;
        right: 0px;
        top: 0px;
        width: 29px;
        z-index: 10;
        box-sizing: unset !important;
    }
    #search {
        right: 40px;
    }
    #fontsize_print {
        display: none;
    }
    #accessable_version{
        left: 0;
    }
    #menu_main.menu_level_main {
        border-top: 2px solid #558ccc;
        min-width: 0;
        width: 100%;
        background: none;
    }
    #menu_main.menu_level_main > li {
        display: block;
        height: auto;
        background: none;
        line-height: 20px;
        text-align: left;
    }
    .menu_level_sub_wrapper {
        height: auto;
        position: static;
    }
    .menu_level_sub_wrapper.opened {
        display: block !important;
    }
    .menu_level_sub_info {
        display: none;
    }
    .menu_level_sub {
        margin: 0;
        float: none;
        width: auto;
    }
    .menu_level_sub LI {
        margin: 0;
        padding: 0;
        width: auto;
        background: none;
        line-height: 40px;
    }
    #menu_main.menu_level_main > li {
        padding: 0;
    }
    #menu_main.menu_level_main > li > BUTTON {
        width: calc(100% - 37px);
    }
    #menu_main.menu_level_main > li > BUTTON, #menu_main.menu_level_main > LI > A:link, #menu_main.menu_level_main > LI > A:visited, #menu_main.menu_level_main > LI > SPAN {
        border-bottom: 1px solid #dfe3e3;
        padding-left: 21px;
        display: block;
        background-color: #f2f6f6;
        color: #22519c;
    }
    #menu_main.menu_level_main > li > BUTTON:hover, #menu_main.menu_level_main > LI > A:hover, #menu_main.menu_level_main > LI > A:active, #menu_main.menu_level_main > LI.active > BUTTON, #menu_main.menu_level_main > LI.active > A, #menu_main.menu_level_main > LI.active > SPAN, #menu_main.menu_level_main > LI > SPAN:hover {
        background-color: #22519c;
        color: #fff;
    }
    #menu_main.menu_level_main > li.active > BUTTON::after,
    #menu_main.menu_level_main > li > BUTTON:hover::after {
        color: #ffffff;
    }
    .menu_level_sub_wrapper > li {
        height: auto;
    }
    .menu_level_sub LI A:link, .menu_level_sub li A:visited, .menu_level_sub li SPAN {
        border-bottom: 1px solid #dfe3e3;
        display: block;
        padding-left: 42px;
        background-color: #fff;
        color: #285faf;
        line-height: 40px;
    }

    .menu_level_sub LI A:hover, .menu_level_sub li A:active, .menu_level_sub LI.active A, .menu_level_sub LI.active SPAN, .menu_level_sub SPAN:hover {
        background-color: #22519c;
        color: #fff;
    }

    .menu_level_sub_sub LI A:link, .menu_level_sub_sub li A:visited {
        border-bottom: 1px solid #dfe3e3;
        display: block;
        padding-left: 63px;
        background-color: #fff;
        color: #707173;
        line-height: 40px;
    }

    .menu_level_sub_sub li A:hover, .menu_level_sub_sub li A:active, .menu_level_sub_sub LI.active A, .menu_level_sub_sub LI.active > SPAN {
        background-color: #22519c;
        color: #fff;
    }
    .menu_level_sub_sub {
        margin: 0;
    }

    #header_slider {
        display: none;
    }

}

/*------------------------------- MEDIA 600px -------------------------------*/

@media all and (max-width: 600px) {
    .image_wrapper img {
        width: 90%;
    }

    #ad-logo {
        width: 100px;
        height: 100px;
        object-fit: contain;
    }

    #ad-sublogo {
        width: 200px;
        object-fit: contain;
        position: absolute;
        top: -7px;
        left: -45px;
    }
}

/*------------------------------- MEDIA 480px -------------------------------*/

@media (max-width: 480px) {
    header #header-top #logo {
        background: url("img/logo_320.png") no-repeat left top;
        height: 94px;
        left: 10px;
        width: 290px;
    }

    #ad-subtitle {
        width: 100%;
    }

    #ad-title {
        width: 100%;
    }
}

/*------------------------------- MEDIA 413px -------------------------------*/

@media all and (max-width: 413px) {
    #header-top {
        height: 155px;
    }
}

/*------------------------------- MEDIA 400px -------------------------------*/

@media all and (max-width: 400px) {
    #header-top {
        height: 155px;
    }
    #phones {
        font-size: 12px;
    }
    #phones SPAN {
        font-size: 16px;
    }

    #phones a {
        line-height: 2;
    }
}