html { 
    scroll-behavior: smooth
}

#event-deadline-counter {
    display: block;
    text-align: center;
    font-size: 20px;
    margin-top: -5px;
}

.custom-event-deadline {
    color: #222;
    margin-top: 10px;
}

.date-delimiter {
    color: #f4772e;
}

.custom-event-header {
    margin-top: 20px;
    margin-bottom: 150px;
}

.custom-event-header-inside {
    display: flex;
}

.custom-event-header-date {
    width: 30%;
    background: #fff;
    border: 1px solid #ddd;
    border-right: 0;
}

.custom-event-header-date {
    border-radius: 8px 0 0 8px;
}

.custom-event-header-image-banner {
    border-radius: 0 8px 8px 0;
}

.rtl .custom-event-header-date {
    border-radius: 0 8px 8px 0;
}

.rtl .custom-event-header-image-banner {
    border-radius: 8px 0 0 8px;
}

.custom-event-header-image {
    width: 70%;
    position: relative;
}

.custom-event-header-image-banner {
    height: 400px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border: 1px solid #ddd;
    background-color: #fff;
    background-position-x: center;
}

.custom-event-header-image-banner-title {
    font-size: 30px;
    position: absolute;
    bottom: 0;
    background: #fff;
    width: 80%;
    margin-left: 10%;
    padding: 30px 40px;
    line-height: 1.3;
    margin-bottom: -50px;
    box-shadow: 0 0 20px rgba(0, 0, 0, .2);
    border-radius: 8px;
}

.custom-event-header-date-info {
    font-size: 60px;
    color: #5DBBC4;
}

.custom-event-header-date {
    text-align: center;
    padding: 0 40px;
    padding-top: 70px;
    color: #F4772E;
}

.custom-section-prices {
    display: flex;
    align-items: stretch;
    gap: 20px;
    justify-content: center;
}

.custom-section-prices .custom-section-price {
    text-align: center;
}

.custom-section-prices .custom-section-price-number {
    font-size: 3rem;
    font-weight: bold;
    color: #5DBBC4;
}

.custom-section-prices .custom-section-price-number span {
    font-weight: normal;
    font-size: 24px;
    vertical-align: super;
    color: #f78f4c;
}

.custom-section-prices .custom-section-price-description {
    line-height: 1.4;
    font-weight: 300;
    font-size: 1em;
    max-width: 300px;
}

.custom-event-header-date a {
    display: block;
    background: #f4772e;
    margin-top: 20px;
    color: #fff;
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 18px;
    letter-spacing: 2px;
}

.custom-event-navigation {
    text-align: center;
    margin-bottom: 50px;
}

.custom-event-navigation a {
    display: inline-block;
    padding: 5px 30px;
    border: 1px solid #ddd;
    border-radius: 10px;
    margin: 0 10px;
    font-size: 18px;
    color: #555;
    background: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
}

.custom-event-navigation a.active {
    color: #5DBBC4;
    border-color: #f4772e;
    box-shadow: 0 0 10px rgba(244, 119, 46, .2);
}

.custom-event-content {
    margin-bottom: 50px;
    color: #605F5E;
    background: #fff;
    padding: 40px 40px;
    font-size: 1.25rem;
    box-shadow: 0 0 20px rgba(0, 0, 0, .09);
    border-radius: 8px;
    scroll-margin-top: 100px;
}

.custom-event-navigation + .custom-event-content {
    scroll-margin-top: 50px;
}

.custom-event-agenda-item {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 2px dashed #ddd
}

.custom-event-agenda-list .custom-event-agenda-item:last-child {
    border: 0;
    padding: 0;
    margin: 0;
}

.custom-event-agenda-item-title {
    text-align: center;
    color: #5DBBC4;
    max-width: 70%;
    margin: auto;
    padding-bottom: 20px;
    font-size: 30px;
    font-weight: 500;
    border-bottom: 2px solid #F4772E;
}

.custom-event-agenda-item-items {
    margin: 0 0 40px;
}

.sa-selectable-content .custom-event-agenda-item-items li,
.custom-event-agenda-item-items li {
    display: flex;
    align-content: center;
    flex-direction: row;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.sa-selectable-content .custom-event-agenda-item-items li::before {
    display: none;
}

.custom-event-agenda-single-date {
    width: 300px;
    text-align: right;
    border-right: 2px solid #f4772e;
    padding-right: 40px;
    padding-top: 40px;
    position: relative;
}

.custom-event-agenda-item-items li:last-child .custom-event-agenda-single-date:after {
    position: absolute;
    bottom: 0;
    right: -6px;
    content: '';
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 50%;
    border: 2px solid #f4772e
}

.custom-event-agenda-single-description {
    padding-left: 40px;
    padding-top: 40px;
    padding-bottom: 40px;
    width: 70%;
}

.custom-event-agenda-single-description-title {
    color: #5DBBC4;
    font-weight: 400;
    margin-bottom: 10px;
    font-size: 22px;
}

.custom-event-speaker {
    font-size: 17px;
}

.custom-event-speaker-name {
    color: #F4772E;
    font-weight: 300;
    font-size: 18px;
}

.custom-event-people-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 40px;
}

.custom-event-people-item {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0, 0, 0, .2);
}

.custom-event-people-image {
    background: #f8f8f8 no-repeat center center;
    background-size: cover;
    height: 200px;
    margin: -10px -10px 0;
}

.custom-event-people-description {
    margin-top: 10px;
    padding: 0 20px 10px;
}

.custom-event-people-name {
    text-align: center;
    color: #F4772E;
}

.custom-event-people-description .custom-event-people-description {
    font-size: 16px;
    padding: 0;
    margin: 0;
}

.custom-event-images-list {
    display: flex;
    gap: 40px;
    align-content: center;
    justify-content: center;
    align-items: center;
}

.custom-event-single-image {
    width: 200px;
}

.custom-event-single-image img {
    max-width: 100%;
}

.custom-event-agenda-single-description-description {
    font-size: 18px;
    margin-bottom: 30px;
}

.custom-section-title {
    font-size: 40px;
    color: #f68842;
    position: relative;
    margin-bottom: 20px;
    margin-top: 0;
    padding-top: 0;
    line-height: 1;
    padding-bottom: 20px;
}

.custom-event-content p:last-child {
    margin: 0;
}

.custom-event-content#map {
    height: auto;
    background: #fff;
}

.custom-event-content iframe {
    width: 100%;
    min-height: 400px;
    border: 0;
}

.custom-section-title:after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    background: #f6863f;
    height: 5px;
    width: 200px;
    border-radius: 25px;
    opacity: .2;
}

.custom-event-content a {
    color: #f6863f;
}

.custom-event-agenda-single-description-speakers {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.custom-event-speaker {
    width: 40%;
    background: #f8f8f8;
    padding: 10px;
    border-radius: 8px;
}

.custom-event-navigation a:hover {
    background: #eee;
}

.custom-event-navigation.custom-event-navigation-sticky {
    position: fixed;
    top: -100px;
    background: rgba(255, 255, 255, .8);
    padding: 15px 0;
    opacity: 0;
    width: 100%;
    left: 0;
    z-index: 111;
    box-shadow: 0 0 10px rgba(0, 0, 0, .2);
    backdrop-filter: blur(3px);
}

.custom-event-navigation.custom-event-navigation-sticky.active {
    top: 0;
    opacity: 1;
    transition: 1s all ease;
}

.logged-in .custom-event-navigation.custom-event-navigation-sticky.active {
    top: 32px;
}

.custom-line-break {
    display: block;
    line-height: 1;
    font-size: 0;
}

.custom-event-speaker-type {
    color: #5dbbc4;
    font-weight: 300;
    margin: -10px;
    margin-top: 10px;
    background: #fff;
    padding: 5px;
}

.teamBox.teamBox-events {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    justify-content: start;
}

.teamBox.teamBox-events .member-outline {
    display: block;
    width: 100%;
    margin: 0;
    text-align: center;
}

.teamBox-events .member-card {
    text-align: center;
    display: block;
    width: 100%;
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
    padding: 1em;
    margin: 0;
}

.teamBox-events .member-info .name {
    font-weight: normal;
    color: #555;
    font-size: 1.2rem;
}

.teamBox-events .member-pic {
    width: 150px;
    height: 150px;
    display: block;
    margin: auto auto 0.5em;
}

.teamBox-events .member-pic img {
    width: 100%;
}

.custom-event-content.people-content {
    padding-bottom: 20px;
}

@media (max-width: 768px) {
    .teamBox-events .member-pic {
        width: 120px;
        height: 120px;
    }

    .teamBox.teamBox-events .member-card {
        flex: 0 0 50%;
        max-width: 50%;
        width: 50%;
    }

    .custom-event-content.people-content {
        padding-bottom: 0;
    }

    .custom-section-prices {
        flex-wrap: wrap;
        gap: 0;
        margin-top: 30px;
    }

    .logged-in .custom-event-navigation.custom-event-navigation-sticky.active {
        top: 0;
    }

    .custom-section-prices .custom-section-price {
        width: 50%;
        border-right: 1px solid #ddd;
        border-bottom: 1px solid #ddd;
        padding: 10px 10px 30px;
    }

    .custom-section-prices .custom-section-price:nth-child(2n+2) {
        border-right: 0;
    }

    .custom-section-prices .custom-section-price:nth-child(3n),
    .custom-section-prices .custom-section-price:last-child {
        border-bottom: 0;
    }

    .custom-section-prices .custom-section-price-number {
        font-size: 2.5rem;
    }

    .custom-event-header-inside {
        display: block;
    }

    .custom-event-agenda-single-date .custom-line-break {
        display: inline-block;
        font-size: inherit;
        color: #f4772e;
        line-height: inherit;
        margin: 0 10px;
    }

    .custom-event-header-date {
        border: 1px solid #ddd;
        border-bottom: 0;
        width: 100%;
        padding: 20px;
        border-radius: 8px 8px 0 0;
    }

    .custom-event-header-image {
        width: 100%;
    }

    .custom-event-navigation a {
        margin: 0;
    }

    .custom-event-navigation.custom-event-navigation-sticky,
    .custom-event-navigation {
        padding: 0;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 5px;
    }

    .custom-event-navigation.custom-event-navigation-sticky {
        display: flex;
        flex-wrap: wrap;
        gap: 0;
        grid-gap: 0;
    }

    .custom-event-navigation.custom-event-navigation-sticky a {
        min-width: 25%;
    }

    .custom-event-navigation {
        display: none;
    }

    .custom-event-navigation a {
        min-width: auto;
        border-radius: 0;
        padding-left: 0;
        padding-right: 0;
        text-align: center;
        box-shadow: 0 0 0 transparent;
    }

    .custom-event-navigation.custom-event-navigation-sticky a {
        width: 25%;
        border: 0;
        border-right: 1px solid #ddd;
        border-bottom: 1px solid #ddd;
    }

    .custom-event-navigation a:last-child {
        border-right: 1px solid #ddd;
    }

    .custom-event-navigation.custom-event-navigation-sticky a:last-child {
        border: 0;
    }

    .custom-event-navigation a.active {
        background: #f4772e;
        color: #fff;
    }

    .custom-event-agenda-item-title {
        max-width: 100%;
        border: 0;
        line-height: 1.2;
        margin-bottom: 20px;
        padding-right: 30px;
        padding-left: 30px;
    }

    .custom-event-agenda-item-items {
        margin: 0;
        padding-right: 20px;
        padding-left: 20px;
    }

    .custom-event-agenda-item {
        margin-left: -20px;
        margin-right: -20px;
    }

    .custom-event-agenda-single-date {
        padding: 10px 0;
        max-width: 100%;
        width: auto;
        border: 1px solid #f4772e;
        text-align: center;
        background: #f8f8f8;
        margin-bottom: 10px;
        line-height: 1;
        padding-top: 8px;
    }

    .custom-event-agenda-item-items li {
        display: block;
        margin-bottom: 30px;
        padding-bottom: 20px;
        border-bottom: 2px solid #ddd;
        position: relative;
    }

    .custom-event-agenda-item-items li:after {
        position: absolute;
        bottom: -6px;
        right: 50%;
        margin-right: -10px;
        content: '';
        width: 10px;
        height: 10px;
        background: #fff;
        border-radius: 50%;
        border: 2px solid #ddd
    }

    .custom-event-agenda-item-items li:last-child {
        padding-bottom: 0;
        margin-bottom: 0;
        border: 0;
    }

    .custom-event-content {
        padding: 20px;
    }

    .custom-event-content > p:last-child {
        margin: 0;
    }

    .custom-event-agenda-single-description {
        padding: 10px 0;
        width: auto;
    }

    .custom-event-agenda-single-description-speakers {
        display: block;
    }

    .custom-event-agenda-item-items li:last-child .custom-event-agenda-single-date:after {
        display: none;
    }

    .custom-event-speaker {
        width: 100%;
        margin-bottom: 20px;
    }

    .custom-event-agenda-single-description-speakers .custom-event-speaker:last-child {
        margin: 0;
    }

    .custom-event-header-image-banner {
        height: 240px;
        border-radius: 0;
    }

    .custom-event-header-image-banner-title {
        position: relative;
        width: 100%;
        padding: 20px;
        font-size: 22px;
        border-radius: 0 0 8px 8px;
        margin: 0;
        box-shadow: 0 5px 5px 0 rgba(0, 0, 0, .03);
        border: 1px solid #ddd;
        border-top: 0;
    }

    .custom-event-header-date-info {
        font-size: 30px;
    }

    .custom-event-header {
        margin-bottom: 60px;
    }

    .custom-event-agenda-item-items li:last-child:after {
        display: none;
    }

    #attachment_pdf-file {
        margin-bottom: 20px;
    }

    .wysiwyg-content {
        text-align: justify;
    }
}
