html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

.d-contents {
    display: contents;
}

.event-btn-link {
    background: none;
    border: none;
    padding: 0;
    /*input has OS specific font-family*/
    color: #069;
    cursor: pointer;
}

.btn_black {
    border: 1px solid #1A2442;
    color: #1A2442;
}

.events-page {
    color: #1A2442;
}

.events-page .theme-top-cover {
    height: 194px;
    padding: 0 0 40px 0;
}

.events-page .title {
    font-family: "Inter";
    font-weight: 400;
}

.events-page input {
    color: #1A2442;
    font-family: "Inter";
    font-size: 14px;
    font-weight: 400;
    line-height: 16.94px;
}

.events-page .btn:not(.theme-btn) {
    background-color: transparent;
}

.events-main {
    gap: 30px 50px;
}

.events-page_main .events-main_account {
    padding-bottom: 30px;
    border-bottom: 1px solid #CFD6E9;
}

.events-main_account__name {
    font-family: "Inter SemiBold";
    font-size: 14px;
    font-weight: 600;
    line-height: 14.52px;
    text-align: left;
    color: #2E4A97;
}

.events-main__contacts-title {
    font-family: "Inter SemiBold";
    font-size: 18px;
    font-weight: 600;
    line-height: 21.78px;
    margin-bottom: 15px;
}

.events-main__contact-items {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 50px;
}

.events-main__col:last-child {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.events-main_account .events-main__col:last-child {
    display: flex;
    gap: 20px;
}

.link-phone,
.link-email {
    padding-left: 36px;
    background-size: contain;
    font-family: "Inter";
    font-size: 16px;
    font-weight: 400;
    line-height: 19.36px;
    color: #1A2442;
}

.link-phone {
    background: url(../images/icons/phone_black.svg) left no-repeat;
}

.link-email {
    background: url(../images/icons/email_black.svg) left no-repeat;
}

.events__filter-wrap {
    margin-top: 30px;
    padding: 25px 40px;
    background-color: #F0F3FA;
    gap: 20px;
    border-radius: 6px;
}

.events__filter-item {
    font-family: "Inter";
    font-size: 14px;
    font-weight: 400;
    line-height: 16.94px;
    position: relative;
    height: fit-content;
    border-radius: 6px;
}

.events__filter-item input {
    padding: 20px;
}

.events__filter-search {
    width: calc(100% - 630px);
    min-width: 340px;
    height: 56px;
}

input.events__filter-search {
    background-color: #ffffff;
    border: 1px solid #CFD9EC;

}

input.events__filter__search-btn {
    padding: 0;
    position: absolute;
    right: 20px;
    top: 15px;
    display: block;
    width: 25px;
    height: 25px;
    background-color: transparent;
    background: url(../images/icons/search_black.svg) center no-repeat;
    background-size: 80%;
    outline: none;
    cursor: pointer;
}

.events-page input::placeholder {
    color: #1A2442;
}

/* select */
.events__filter-item .select {
    border: none;
    padding: 0;
}

.new-select {
    height: 56px;
    position: relative;
    cursor: pointer;
    user-select: none;
    border: 1px solid #CFD9EC;
    background-color: #ffffff;
    border-radius: 6px;
    width: 190px;
    padding: 20px 30px 20px 20px;
    font-family: "Inter";
    font-size: 14px;
    font-weight: 400;
    line-height: 16.94px;
    color: #1A2442;
    text-overflow: ellipsis;
    -webkit-line-clamp: 1;
    overflow: hidden;
    white-space: nowrap;
}

.new-select__list {
    position: absolute;
    left: 0;
    top: 92%;
    border: 1px solid #CFD9EC;
    border-radius: 0 0 6px 6px;
    border-top: none;
    cursor: pointer;
    width: 100%;
    max-height: 390px;
    text-align: center;
    z-index: 2;
    background: #fff;
    user-select: none;
    padding: 10px 20px;
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: #2e4a97 #fff;
}

.new-select:after {
    content: "";
    display: block;
    position: absolute;
    right: 20px;
    top: calc(50% - 6px);
    border: solid #1A2442;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    opacity: 0.6;
    -webkit-transition: opacity 0.27s ease-in-out;
    -o-transition: opacity 0.27s ease-in-out;
    transition: opacity 0.27s ease-in-out;
}

.new-select.on:after {
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
    top: 25px;
}

.new-select__item {
    padding: 10px 0;
    position: relative;
    font-family: "Inter";
    font-size: 12px;
    font-weight: 400;
    line-height: 14.52px;
    text-align: left;
    position: relative;
    color: #1A2442;
}

.new-select__item:first-child:before {
    position: absolute;
    content: "";
    top: -8px;
    right: 0px;
    height: 1px;
    width: 100%;
    background-color: #CFD9EC;
}

/* select with checkboxes  */
.events__filter-item.select-with-checkboxes-wrap input {
    position: absolute;
    z-index: -1;
    opacity: 0;
    padding: 0;
}

.events__filter-item.select-with-checkboxes-wrap .input-item__label {
    position: relative;
    top: 0;
    left: 0;
    padding-left: 36px;
    height: 26px;
    display: flex;
    align-items: center;
}

.events-wrap-external {
    margin-top: 40px;
    border-radius: 6px;
    padding: 40px;
    background-color: #F0F3FA;
}


.events-wrap-external .event-card {
    width: calc((100% - 30px) / 2);
}

@media only screen and (max-width: 640px) {
    .events-wrap-external {
        padding: 20px;
    }
}


.events-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 40px 30px;
}

.event-card {
    width: calc((100% - 60px) / 3);
}

.event-card__info {
    margin-top: 25px;
}

.event-card__pic-wrap {
    height: 306px;
    position: relative;
}

.event-card__date {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 10px 15px 10px 45px;
    font-family: "Inter";
    font-size: 14px;
    font-weight: 400;
    line-height: 16.94px;
    background: #ffffff url(../images/icons/calendar_black.svg) 15px no-repeat;
}

.event-card__date-icon {
    position: absolute;
    padding: 10px;
    width: 30px;
    height: 30px;
    top: 25px;
    right: 20px;
    border-radius: 50%;
    background: #ffffff url(../images/icons/online.svg) center no-repeat;
}


.event-card__pic-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-card__type,
.event-card__participant {
    font-family: "Inter";
    font-size: 14px;
    font-weight: 400;
    line-height: 16.94px;
    padding-left: 30px;
}

.event-card__type {
    background: url(../images/icons/event-type_black.svg) left no-repeat;
    padding-right: 20px;
    margin-right: 20px;
    position: relative;
}

.event-card__type::after {
    position: absolute;
    content: "";
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    width: 1px;
    height: 10px;
    background-color: #CFD9EC;
}

.event-card__participant {
    background: url(../images/icons/person_black.svg) left no-repeat;
}

.event-title {
    font-family: "Inter SemiBold";
    font-size: 18px;
    font-weight: 400;
    line-height: 21.78px;
    text-align: left;
    margin-top: 15px;
}

.event-card:hover .event-title {
    color: #2E4A97;
}

/*============================ popup ==============================*/
@-webkit-keyframes slideDown {
    0% {
        -webkit-transform: translateY(-110%);
        transform: translateY(-110%);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideDown {
    0% {
        -webkit-transform: translateY(-110%);
        transform: translateY(-110%);
        opacity: 0;
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        opacity: 1;
    }
}

.popup_event {
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    background-color: #000000d1;
    backdrop-filter: blur(4px);
    width: 100%;
    height: 100%;
    overflow: auto;
    pointer-events: none;
    opacity: 0;
    visibility: visible;
}

.popup_event.opened {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
}

.popup_event.opened .popup_event__content {
    -webkit-animation-name: slideDown;
    animation-name: slideDown;
    -webkit-animation-duration: 0.3s;
    animation-duration: 0.3s;
    -webkit-animation-timing-function: linear;
    animation-timing-function: linear;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
}

.event__pic-wrap {
    /* height: 689px; */
    height: fit-content;
}

.popup_event__wrapper {
    display: table;
    width: 100%;
    height: 100%;
}

.popup_event__inner {
    display: table-cell;
    vertical-align: middle;
    padding: 50px 0;
}

.popup_event__content {
    background: #FAFBFE;
    padding: 50px 112px;
    border-radius: 10px;
    max-width: 874px;
    margin: 0 auto;
    position: relative;
}

.btn-close {
    position: absolute;
    top: 58px;
    right: 108px;
    border: none;
    cursor: pointer;
    background: none;
    padding: 0;
    width: 30px;
    height: 30px;
    display: inline-block;
}

.btn-close::before,
.btn-close::after {
    content: "";
    background: #1A2442;
    height: 20px;
    width: 3px;
    position: absolute;
    border-radius: 10px;
    top: 50%;
}

.btn-close::before {
    -webkit-transform: translateY(-50%) rotate(45deg);
    transform: translateY(-50%) rotate(45deg);
}

.btn-close::after {
    -webkit-transform: translateY(-50%) rotate(-45deg);
    transform: translateY(-50%) rotate(-45deg);
}

/* popup text styles */
.popup_event__title {
    font-family: "Inter";
    font-size: 30px;
    font-weight: 400;
    line-height: 36.31px;
    text-align: left;
    color: #1A2442;
}

.popup_event__form {
    margin-top: 30px;
}

.popup_event .form-enter__btns-wrap {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.popup_event__form-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.popup_event__form-inner input::placeholder,
.popup_event__form-inner input {
    color: #1A2442;
    font-family: "Inter";
    font-size: 14px;
    font-weight: 400;
    line-height: 16.94px;
    text-align: left;
}

.input-wrap_event {
    width: 100%;
}

.input-wrap_event input {
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #CFD9EC;
    border-radius: 6px;
    padding: 20px 20px 20px 70px;
}

.input-wrap_email input {
    background: #ffffff url(../images/icons/email_blue.svg) 20px 16px no-repeat;
}

.input-wrap_password input {
    background: #ffffff url(../images/icons/password_blue.svg) 20px 16px no-repeat;
}

.input-wrap_name input {
    background: #ffffff url(../images/icons/person_blue.svg) 20px 16px no-repeat;
}

.input-wrap_login {
    display: none;
}

.popup_event__form-link {
    display: block;
    font-family: "Inter";
    font-size: 14px;
    font-weight: 400;
    line-height: 16.94px;
    text-align: left;
    color: #2E4A97;
    margin: 20px auto 0;
    width: fit-content;
}

.popup_event .btn {
    padding: 15px 30px;
}

/* password */
.password {
    position: relative;
}

.password-control {
    cursor: pointer;
    position: absolute;
    top: 4px;
    right: 24px;
    display: inline-block;
    width: 24px;
    height: 24px;
    background: url(../images/icons/view.svg) 0 0 no-repeat;
}

.password-control.view {
    background: url(../images/icons/view-close.svg) 0 0 no-repeat;
}

/*============================ detail-page ==============================*/

.event__nav-wrap {
    background-color: #F0F3FA;
    border-radius: 10px;
    margin-top: 30px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.event__nav li a {
    display: block;
    padding: 25px 40px;
    border-radius: 6px;
    font-family: "Inter";
    font-size: 18px;
    font-weight: 400;
    line-height: 21.78px;
    text-align: center;
    color: #2E4A97;
    position: relative;
}

.event__nav li:not(:last-child) a::after {
    position: absolute;
    content: "";
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    width: 1px;
    height: 14px;
    background-color: #CFD6E9;
}

.event__pic-wrap img {
    width: 100%;
    height: 100%;
    /* object-fit: cover; */
    object-fit: contain;
}

.event-about {
    background-color: #FAFBFE;
    border-radius: 10px;
    padding: 50px;
}

.event-about__inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px 40px;
}

.event-about-item {
    padding-left: 75px;
    min-height: 62px;
    display: flex;
    align-items: center;
}

.event-about-item_date {
    background: url(../images/events/icon_date.svg)left no-repeat;
    background-size: 62px;
}

.event-about-item_place {
    background: url(../images/events/icon_place.svg)left no-repeat;
    background-size: 62px;
}

.event-about-item_duration {
    background: url(../images/events/icon_duration.svg)left no-repeat;
    background-size: 62px;
}

.event-about-item_organizers {
    background: url(../images/events/icon_organization.svg)left no-repeat;
    background-size: 62px;
}

.event-about-item_type {
    background: url(../images/events/icon_type.svg)left no-repeat;
    background-size: 62px;
}

.event-about-item_format {
    background: url(../images/events/icon_format.svg)left no-repeat;
    background-size: 62px;
}

.event-about-item_participants {
    background: url(../images/events/icon_part.svg)left no-repeat;
    background-size: 62px;
}

.event-about__btn-wrap {
    padding-top: 40px;
    margin-top: 40px;
    border-top: 1px solid #CFD6E9;
    display: flex;
    justify-content: center;
}

.event-about-item__title {
    font-family: "Inter SemiBold";
    font-size: 16px;
    font-weight: 600;
    line-height: 19.36px;
}

.event-about-item__text {
    margin-top: 6px;
    font-family: "Inter";
    font-size: 16px;
    font-weight: 400;
    line-height: 19.36px;
}

.event-contacts {
    padding: 50px 50px 50px 150px;
    background: #FAFBFE url(../images/events/contacts-icon.svg) 50px 40px no-repeat;
    display: flex;
    justify-content: center;
    flex-direction: column;
    height: fit-content;
    ;
}

.event-contacts__title {
    font-family: "Inter SemiBold";
    font-size: 16px;
    font-weight: 600;
    line-height: 19.36px;
    text-align: left;
}

.event-contacts__text {
    margin-top: 7px;
    font-family: "Inter";
    font-size: 16px;
    font-weight: 400;
    line-height: 19.36px;
}

.title_event {
    margin-bottom: 30px;
    font-family: "Inter";
    font-size: 30px;
    font-weight: 400;
    line-height: 36.31px;
    text-align: left;
}

.event-block {
    margin-top: 50px;
}

.event-desc__text-wrap p {
    font-family: "Inter";
    font-size: 16px;
    font-weight: 400;
    line-height: 25px;
    text-align: justify;
    color: #1A2442;
}

.event-desc__text-wrap p:not(:first-child) {
    margin-top: 20px;
}

.event-speakers__inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
}

.event-speakers-item {
    padding: 40px;
    border: 1px solid #CFD6E9;
    align-items: center;
    margin-left: -1px;
    margin-top: -1px;
}

.event-speakers-item__pic-wrap {
    width: 156px;
}

.event-speakers-item__col:not(.event-speakers-item__pic-wrap) {
    width: calc(100% - 156px);
    padding-left: 40px;
}

.event-speakers-item__name {
    font-family: "Inter SemiBold";
    font-size: 18px;
    font-weight: 600;
    line-height: 21.78px;
}

.event-speakers-item__text {
    margin-top: 15px;
    font-family: "Inter";
    font-size: 13px;
    font-weight: 400;
    line-height: 15.73px;
}


.event-speakers__inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(540px, 1fr));
}

.event-program-section:not(:first-child) {
    margin-top: 40px;
}

.event-program-section__num {
    /* margin-top: 50px; */
    /* margin-bottom: 15px; */
    width: fit-content;
    font-family: "Inter";
    font-size: 12px;
    font-weight: 600;
    line-height: 14.52px;
    color: #ffffff;
    padding: 5px 15px;
    background-color: #2E4A97;
}

.event-program-section__title {
    font-family: "Inter";
    font-size: 25px;
    font-weight: 600;
    line-height: 30.26px;
    text-align: left;
}

.event-program-section__place {
    font-size: 20px;
}

.event-program-section__title:not(:first-child) {
    margin-top: 20px;
}

.event-program-section__moderators-wrap {
    margin-top: 20px;
    border-bottom: 2px solid #2E4A97;
    border-radius: 10px;
    background-color: #FAFBFE;
    padding: 30px 50px;
    gap: 30px 50px;
}

.event-program-section__moderators-title {
    font-family: "Inter";
    font-size: 14px;
    font-weight: 600;
    line-height: 16.94px;
    text-align: left;
    text-transform: uppercase;
    color: #2E4A97;
}

.moderator-items {
    gap: 30px;
}

.moderator-item {
    font-family: "Inter SemiBold";
    font-size: 14px;
    font-weight: 600;
    line-height: 16.94px;
    text-align: left;
}

.section-item {
    margin-top: 30px;
}

.section-item {
    padding: 30px 50px;
    background-color: #FAFBFE;
    border-radius: 10px;
}

.section-item:not(:first-child) {
    margin-top: 10px;
}

.section-item__time {
    padding-left: 22px;
    font-family: "Inter";
    font-size: 14px;
    font-weight: 400;
    line-height: 16.94px;
    text-align: left;
    background: url(../images/icons/clock_blue.svg) left no-repeat;
    background-size: 16px;
}

.section-item__row {
    gap: 20px;
}

.section-item__title {
    font-family: "Inter SemiBold";
    font-size: 20px;
    font-weight: 600;
    line-height: 24.2px;
    text-align: left;
    color: #2E4A97;
}

.section-item__speakers-wrap {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px 50px;
}

.speaker {
    display: flex;
    align-items: center;
}

.speaker__pic-wrap {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
}

.speaker__pic-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain
}

.speaker__name {
    width: calc(100% - 70px);
    padding-left: 20px;
}

.event-price__inner {
    border-radius: 10px;
    background-color: #FAFBFE;
    padding: 30px 50px;
}

.event-price__inner {
    gap: 30px;
}

.event-price__text,
.event-price__text a {
    font-family: "Inter";
    font-size: 16px;
    font-weight: 400;
    line-height: 19.36px;
    text-align: left;
    color: #2E4A97;
}

.event-price__num {
    font-family: "Inter Bold";
    font-size: 30px;
    font-weight: 700;
    line-height: 36.31px;
}

.event__btn-wrap {
    margin: 40px auto 0;
    width: fit-content;
}

/*============================ registration-page ==============================*/
.form-registration_event-wrap {
    max-width: 874px;
    margin: 0 auto;
    padding: 50px 113px;
    border-radius: 10px;
    background-color: #FAFBFE;
}

.form-registration__inner .input-wrap_event {
    margin-top: 10px;
}

.form-consent {
    margin-top: 30px;
    position: relative;
}

.form__checkeboxes .input-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.form__checkeboxes .input-item input {
    display: none;
}

.form__checkeboxes .input-item__label {
    width: calc(100% - 34px);
    font-family: "Inter";
    font-size: 13px;
    font-weight: 400;
    line-height: 15.73px;
    text-align: left;
    padding-left: 34px;
    height: 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    cursor: pointer;
}

.form__checkeboxes .input-item__label {
    cursor: pointer;
    width: fit-content;
}

.form__checkeboxes .input-item__label a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.custom-checkbox>span::before {
    content: '';
    position: absolute;
    display: block;
    width: 24px;
    height: 24px;
    left: 0;
    top: 0;
    border-radius: 4px;
    border: 1px solid #CFD9EC;
    margin-right: 10px;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: 50% 50%;
}

.custom-checkbox>input:checked+span::before {
    background: url(../images/icons/checked.svg) center no-repeat;
}

.custom-checkbox>input[type=checkbox]:invalid+span::before {
    border: red solid 1px;

}

.form-registration__btns-wrap {
    width: fit-content;
    margin: 40px auto 0;
}

/*============================ account-page ==============================*/
.account-tabs {
    gap: 25px;
}

.account-tabs-wrap {
    width: 310px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.account-tabs-content-wrap {
    width: calc(100% - 335px);
}

.account-tab {
    cursor: pointer;
    padding: 25px;
    background-color: #FAFBFE;
    color: #1A2442;
    border-radius: 10px;
    display: flex;
    align-items: center;
}

.account-tab svg {
    margin-right: 20px;
    fill: #2E4A97;
}

.account-tab.active svg {
    fill: white;
}

.account-tab.active {
    background-color: #2E4A97;
    color: #ffffff;
}

.event-list-item {
    padding: 30px 50px;
    border: 1px solid #CFD9EC;
    gap: 30px;
}

.event-list-item:not(:first-child) {
    margin-top: -1px;
}

.event-list-item:first-child {
    border-radius: 10px 10px 0 0;
}

.event-list-item:last-child {
    border-radius: 0 0 10px 10px;
}

.event-list-item__date {
    font-family: "Inter";
    margin-bottom: 2px;
    font-size: 14px;
    font-weight: 400;
    line-height: 16.94px;
}

.event-list-item__title {
    font-family: "Inter SemiBold";
    font-size: 14px;
    font-weight: 600;
    line-height: 16.94px;
}

.event-list-item__link,
.test-link {
    font-family: "Inter SemiBold";
    font-size: 12px;
    font-weight: 600;
    line-height: 14.52px;
    padding-left: 34px;
    background: url(../images/icons/test.svg) left no-repeat;
    min-height: 25px;
    color: #2E4A97;
    display: flex;
    align-items: center;
}

.event-list-item__col:first-child {
    width: calc(100% - 244px);
}

.event-list-item__col:last-child {
    width: 214px;
    display: flex;
    justify-content: end;
}

.event-list-item__btn.btn,
.sertificate__btn.btn {
    font-family: "Inter SemiBold";
    font-size: 12px;
    font-weight: 600;
    line-height: 14.52px;
}

.form-account_event-wrap {
    background-color: #FAFBFE;
    border-radius: 20px;
    padding: 50px 113px;
}

.form-account__inner .input-wrap_event {
    margin-top: 10px;
}

.form-account__btns-wrap {
    width: fit-content;
    margin: 40px auto 0;
}

/*============================ questions-page ==============================*/
form {
    margin: 0;
}

.question-form-wrap {
    max-width: 874px;
    margin: 0 auto;
    background-color: #FAFBFE;
    border-radius: 10px;
    padding: 50px;
}

.question__num {
    font-family: "Inter";
    font-size: 20px;
    font-weight: 700;
    line-height: 24.2px;
    text-align: center;
    color: #ffffff;
    background-color: #2E4A97;
    width: 53px;
    height: 53px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.question__title {
    font-family: "Inter";
    font-size: 20px;
    font-weight: 600;
    line-height: 24.2px;
    color: #000000;
}

.question {
    font-family: "Inter SemiBold";
    font-size: 20px;
    font-weight: 600;
    line-height: 24.2px;
    color: #000000;
    margin-top: 30px;
}

.question__answers-list {
    margin-top: 30px;
}

.form__radio-btn {
    display: block;
}

.form__radio-btn:not(:first-child) {
    margin-top: 20px;
}

.form__radio-btn input[type=radio] {
    display: none
}

.form__radio-btn label {
    display: inline-block;
    cursor: pointer;
    font-family: "Inter";
    font-size: 18px;
    font-weight: 400;
    line-height: 21.78px;
    text-align: left;
    color: #000000;
    position: relative;
    padding-left: 40px;
    min-height: 25px;
    display: flex;
    align-items: center;
}

.form__radio-btn label:before {
    position: absolute;
    content: "";
    width: 25px;
    height: 25px;
    top: 0;
    left: 0;
    border: 1px solid #1A2442;
    border-radius: 50%;
}

.form__radio-btn input[type=radio]:checked+label:before {
    background: url(../images/icons/radio-btn.svg) center no-repeat;
}

.form__radio-btn input[type=checkbox]:checked+label:before {
    background: url(../images/icons/radio-btn.svg) center no-repeat;
}

.btn-step-wrap {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #CFD9EC;
}

.step-error__inner,
.step-success__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px 76px
}

.step-success__text,
.step-error__text {
    padding-left: 130px;
    background-size: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    font-family: "Inter SemiBold";
    font-size: 20px;
    font-weight: 600;
    line-height: 24.2px;
}

.step-success__text {
    background: url(../images/icons/step-success.svg) left no-repeat;
}

.step-error__text {
    background: url(../images/icons/step-error.svg) left no-repeat;
}

.step-success__col:last-child,
.step-error__col:last-child {
    width: 214px;
    display: flex;
    justify-content: end;
}

.step-success__col:first-child,
.step-error__col:first-child {
    width: calc(100% - 290px)
}

.step,
.step-result {
    display: none;
}

@media only screen and (max-width: 1100px) {
    .event-card {
        width: calc((100% - 60px) / 2);
    }

    .account-tabs-wrap,
    .account-tabs-content-wrap {
        width: 100%;
    }

    .account-tabs-wrap {
        flex-direction: row;
    }
}

@media only screen and (max-width: 980px) {
    .event-title {
        font-size: 16px;
        line-height: 20px;
    }

    .popup_event__content {
        padding: 50px;
        max-width: 96%;
    }

    .btn-close {
        right: 50px;
    }

    /* .event__pic-wrap {
        height: 400px;
    } */

    .title_event {
        font-size: 26px;
        line-height: 30px;
    }

    .event-program-section__title {
        font-size: 20px;
        line-height: 26px;
    }

    .event-program-section__place {
        font-size: 16px;
    }

    .section-item__time {
        width: 100%;
    }

    .section-item__title {
        width: 100%;
    }

    .section-item__speakers-wrap {
        gap: 30px;
    }
}

@media only screen and (max-width: 800px) {

    .event-list-item__col,
    .event-list-item__col:first-child {
        width: 100%;
    }

    .event-list-item__col:last-child {
        justify-content: start;
    }

    .form-registration_event-wrap,
    .form-account_event-wrap {
        padding: 30px 20px;
    }

    .step-success__col:last-child,
    .step-error__col:last-child,
    .step-success__col:first-child,
    .step-error__col:first-child {
        width: 100%;
        justify-content: start;
    }

    .step-error__text,
    .step-success__text {
        background-size: 60px;
        padding-left: 80px;
    }
}

@media only screen and (max-width: 640px) {

    html {
        scroll-padding-top: 10px;
    }

    .events__filter-wrap {
        padding: 20px;
    }

    .events__filter-item {
        width: 100%;
    }

    .events__filter-item .select,
    .events__filter-item .new-select {
        width: 100%;
    }

    .events__filter-search {
        min-width: 100%
    }

    .event-title {
        font-size: 14px;
        line-height: 18px;
    }

    .event-card__date {
        top: 10px;
        left: 10px;
    }

    .event-card__date-icon {
        top: 14px;
        right: 10px;
    }

    .popup_event__content {
        padding: 30px 20px;
    }

    .btn-close {
        right: 30px;
        top: 36px;
    }

    .popup_event .form-enter__btns-wrap {
        margin-top: 30px;
    }

    .popup_event__title {
        font-size: 26px;
        line-height: 34px;
        max-width: 80%;
    }

    .title_event {
        font-size: 22px;
        line-height: 26px;
    }

    .event-program-section__title,
    .section-item__title {
        font-size: 19px;
        line-height: 25px;
    }

    .event__nav li a {
        display: block;
        padding: 16px 20px;
        width: 100%;
        text-align: left;
    }

    .event__nav li:not(:last-child) a::after {
        display: none;
    }

    .event__nav li {
        width: 100%;
    }

    .event-block {
        margin-top: 30px;
    }

    .event-about__inner {
        gap: 20px 40px;
    }

    .event-about {
        padding: 30px 20px;
    }

    .event-about__btn-wrap {
        padding-top: 30px;
        margin-top: 30px;
    }

    .event-contacts {
        padding: 30px 30px 30px 110px;
        background: #FAFBFE url(../images/events/contacts-icon.svg) 20px 30px no-repeat;
    }

    .event__nav-wrap {
        position: static;
    }

    .event-program-section:not(:first-child) {
        margin-top: 30px;
    }

    .event-program-section__moderators-wrap,
    .section-item,
    .event-price__inner {
        padding: 30px 20px;
    }

    .event-speakers__inner {
        grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    }

    .event-speakers-item {
        padding: 30px 20px;
    }

    .event-speakers-item__col,
    .event-speakers-item__col:not(.event-speakers-item__pic-wrap) {
        width: 100%;
    }

    .event-speakers-item__col img {
        width: 100%;
    }

    .event-speakers-item__col:last-child {
        margin-top: 30px;
    }

    .event-speakers-item__col:not(.event-speakers-item__pic-wrap) {
        padding-left: 0;
    }

    .event__btn-wrap {
        margin: 30px auto 0;
    }

    .account-tabs-wrap {
        flex-direction: column;
    }

    .event-list-item {
        padding: 30px 20px;
    }

    .event-price__num {
        font-size: 26px;
        line-height: 30px;
    }

    .input-wrap_event input {
        padding: 20px 20px 20px 60px;
    }

    .question-form-wrap {
        padding: 30px 20px;
    }

    .question {
        font-size: 18px;
        line-height: 22px;
    }
}

.events-page .btn:not(.theme-btn):hover {
    border: 1px solid #2e4a97;
    background-color: #2e4a97;
    color: #fff;
}

.events-page .btn_black:hover {
    border: 1px solid #1A2442 !important;
    background-color: #1A2442 !important;
    color: #fff;
}

.events-page .theme-btn:hover {
    background-color: #ffffff;
    color: #2e4a97;
}

.auth-message {
    width: 100%;
    background-color: #fff;
    border-radius: 6px;
    padding: 20px;
    text-align: center;
    font-weight: bold;
}

.auth-error-message {
    border: 1px solid #f00;
}

.auth-success-message {
    border: 1px solid #008000;
}

@media screen and (max-width: 870px) {
    .event iframe {
        width: 100% !important;
        height: 300px !important;
    }
}

@media screen and (max-width: 760px) {
    .event-card__pic-wrap {
        height: fit-content;
    }

    .event-card__pic-wrap img {
        object-fit: contain;
    }
}

@media screen and (max-width: 450px) {
    .event iframe {
        width: 100% !important;
        height: 250px !important;
    }
}

.event-program-section-content__wrap {
    display: none;
}

.event-program-section-content__title {
    margin-top: 50px;
    position: relative;
    padding-right: 20px;
}

.event-program-section-content__title.active+.event-program-section-content__wrap {
    display: block;
}

.event-program-section-content__title:after {
    content: "";
    border: solid #1a2442;
    border-width: 0 1px 1px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    font-size: 13px;
    color: #777;
    /* float: right; */
    margin-left: 5px;
    position: absolute;
    right: 10px;
    top: 50%;
}

.event-program-section-content__title.active:after {
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
}