

/* Start:/bitrix/components/medigit/conference.event.twolists/templates/.default/style.css?17517403463044*/
.active-past-events *:target {
    scroll-margin-top: 130px;
}

.active-past-events {
    display: flex;
    flex-direction: column;
}

.active-past-events #active ~ .active-past-events__tabs {
    order: 0;
    display: flex;
    align-items: center;
    position: relative;
    width: 60%;
    margin-left: auto;
    font-size: 16px;
    line-height: 20px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    margin-bottom: 24px;
}

.active-past-events__span {
    margin-left: auto;
    color: #CACACA;
}

.active-past-events .active-past-events__tabs > a {
    display: inline-block;
    margin-left: 16px;
    color: var(--project-text-color, #2C2C2C);
    font-size: 16px;
    line-height: 20px;
    text-align: center;
    text-decoration: none;
    transition: color 0.3s;
}

.active-past-events .active-past-events__tabs > a:hover {
    color: var(--project-color, #E52B1E);
}

.active-past-events > #past:target ~ .active-past-events__tabs > a[href="#active"] {
    color: var(--project-text-color, #2C2C2C);
    border: none;
    cursor: pointer;
}

#past:target ~ .active-past-events__tabs > a:not(#past):hover,
#active:target ~ .active-past-events__tabs > a:not(#active):hover {
    color: var(--project-color, #E52B1E);
}

.active-past-events > #active ~ .active-past-events__tabs > a[href="#active"],
.active-past-events > #active:target ~ .active-past-events__tabs > a[href="#active"],
.active-past-events > #past:target ~ .active-past-events__tabs > a[href="#past"] {
    padding: 6px 8px;
    color: var(--project-color, #E52B1E);
    border-bottom: 1px solid var(--project-color, #E52B1E);;
    border-radius: 4px;
    cursor: default;
}

.active-past-events > #past:target ~ .active-past-events__tabs > a[href="#past"] {
    margin-left: 8px;
}

.active-past-events > div:not(.active-past-events__tabs) {
    display: none;
    order: 1;
}

.active-past-events > div:target {
    display: block;
}

.active-past-events > #active,
.active-past-events > #past {
    position: relative;
    z-index: 10;
}

.active-past-events > #past:target ~ #active {
    display: none !important;
}

.active-past-events > div:not(div#past) {
    display: block;
}

@media (max-width: 768px) {
    .active-past-events #active ~ .active-past-events__tabs,
    .active-past-events .active-past-events__tabs > a {
        font-size: 15px;
        line-height: 18px;
    }

    .active-past-events .active-past-events__tabs > a {
        margin-left: 8px;
    }
}

@media (max-width: 576px) {
    .active-past-events #active ~ .active-past-events__tabs {
        flex-wrap: wrap;
        width: 100%;
    }

    .active-past-events__span {
        width: 100%;
        margin-left: 0;
        margin-top: 24px;
    }

    .active-past-events .active-past-events__tabs > a {
        margin-top: 8px;
    }

    .active-past-events .active-past-events__tabs > a:first-of-type {
        margin-left: 0;
    }

    .active-past-events > #active ~ .active-past-events__tabs > a[href="#active"] {
        padding: 6px 0;
    }
}
/* End */


/* Start:/bitrix/components/medigit/conference.event.list/templates/cards/style.css?17517403464728*/

.event-cards {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.event-card {
    position: relative;
    width: 23.5%;
    margin-right: 2%;
    margin-bottom: 2%;
    background-color: #EBEBEB;
    border-radius: 0 0 0 60px;
}

.event-card-top {
    display: block;
    position: relative;
    min-height: 400px;
    padding: 24px;
    text-decoration: none;
    background-color: #fff;
    border-radius: 0 0 0 60px;
    border: 1px solid transparent;
    transition: 0.2s ease-in-out;
    color: #485251;
}

.event-card-bottom {
    padding: 16px 0 32px 25px;
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    color: #A2ABAA;
}

.event-card-bottom a {
    text-decoration: underline;
    color: var(--project-color, #5B8ADE);
}

.event-card:nth-child(4n) {
    margin-right: 0;
}

.event-card.past .event-card-top {
    opacity: 0.7;
}

.event-card-top:hover {
    border: 1px solid #a2abaa;
}

.event-card__date {
    font-weight: 700;
    font-size: 14px;
}

.event-card__specialization {
    color: #a2abaa;
    margin-top: 12px;
}

.event-card__specialization:before {
    display: inline-block;
    content: "";
    -webkit-border-radius: 0.375rem;
    border-radius: 0.375rem;
    height: 8px;
    width: 8px;
    margin-right: 4px;
    margin-bottom: 2px;
    background-color: var(--project-color, #5B8ADE);
}

.event-card__description {
    margin-top: 24px;
    font-size: 18px;
    font-weight: 500;
    height: 115px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
}

.event-card__type {
    margin-top: 24px;
    color: #a2abaa;
    font-weight: 500;
    font-size: 14px;
}

.event-card__nmo {
    margin-top: 8px;
    font-size: 16px;
    font-weight: 700;
    min-height: 21px;

}

.event-card__lectors {
    margin-top: 15px;
    display: flex;
    align-items: center;
}

.more-lectors__note {
    margin-left: -18px;
    font-size: 14px;
    font-weight: 500;
    color: #a2abaa;
}

.event-card__lectors img {
    border: 1px solid #fff;
    border-radius: 50%;
    position: relative;
    width: 72px;
    height: 72px;
}

.event-card__lectors img:nth-child(2) {
    left: -20px;
}

.event-card__lectors img:nth-child(3) {
    left: -40px;
}

.event-card-cert {
    display: block;
    margin-top: 8px;
}

.button-transperent {
    display: block;
    position: relative;
    cursor: pointer;
    outline: none;
    color: var(--project-color, #E41E24);
    border-radius: 12px;
    border: none;
    font-family: inherit;
    font-weight: bold;
    font-size: 18px;
    line-height: 124%;
    font-feature-settings: 'pnum' on, 'lnum' on;
    padding: 17px 36px;
    border: 2px solid var(--project-color, #E41E24);
    -webkit-transition: 0.3s all ease;
    transition: 0.3s ease all;
    margin: 48px auto;
}

.button-transperent span {
    position: relative;
    z-index: 9;
}

.button-transperent::before {
    background-color: var(--project-color, #E41E24);
    border-radius: 9px;
    position: absolute;
    top: 0;
    left: 50%;
    right: 50%;
    bottom: 0;
    opacity: 0;
    content: '';
    z-index: 2;
    -webkit-transition: 0.4s all ease;
    transition: 0.4s all ease;
}

.button-transperent:hover {
    color: #fff;
}

.button-transperent:hover:before {
    -webkit-transition: 0.4s all ease;
    transition: 0.4s all ease;
    left: 0;
    right: 0;
    opacity: 1;
}

@media (max-width: 768px) {
    .event-card-top {
        min-height: 350px;
    }

    .event-card__description {
        height: 65px;
    }
}

@media (max-width: 1400px) {
    .event-card {
        width: 32%;
    }

    .event-card:nth-child(4n) {
        margin-right: 2%;
    }

    .event-card:nth-child(3n) {
        margin-right: 0;
    }

    .event-card-top {
        min-height: 350px;
    }

    .event-card__description {
        height: 65px;
    }
}

@media (max-width: 1100px) {
    .event-card {
        width: 49%;
    }

    .event-card:nth-child(3n) {
        margin-right: 2%;
    }

    .event-card:nth-child(2n) {
        margin-right: 0;
    }
}

@media (max-width: 800px) {
    .event-card:nth-child(3n) {
        margin-right: 0;
    }

    .event-card {
        width: 100%;
        margin-right: 0;
    }
}

@media (max-width: 550px) {
    .event-card {
        width: 100%;
        margin-right: 0;
        border-radius: 0 0 0 30px;
    }

    .event-card-top:hover {
        padding: 24px 16px 16px;
        background-color: #fff;
    }

    .event-card-top {
        padding: 24px 16px 16px;
        border-radius: 0 0 0 30px;
    }

    .event-card-bottom {
        padding: 16px 0 16px 17px;
        font-size: 12px;
        line-height: 15px;
    }


}

/* End */
/* /bitrix/components/medigit/conference.event.twolists/templates/.default/style.css?17517403463044 */
/* /bitrix/components/medigit/conference.event.list/templates/cards/style.css?17517403464728 */
