@import url("base.css");



body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    margin: 0;
    padding: 0;
}

body.noscroll {
    overflow-y: hidden;
    overflow-x: hidden;
}

#eventOverview {
    position: relative;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    box-sizing: border-box;
}


.ctrl_btn {
    display: inline-flex;
    padding: 10px 20px;
    box-sizing: border-box;
    background: #e2e2e2;
    user-select: none;
    cursor: pointer;
    transition: transform 0.2s;
}

.ctrl_btn:hover {
    transform: scale(.95);
}

.hidden {
    position: absolute;
    top: -9999px;
    left: -9999px;
    width: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
    padding: 0;
    height: 0px;
    display: none;
}


.filter_wrap {
    position: absolute;
    width: 100%;
    margin-top: 90px;
    z-index: 8;
    display: flex;
    flex-flow: row wrap;
    flex-direction: row;
}


.month_list,
.cat_list {
    max-width: 1375px;
    margin: 10px 0 0 0;
    overflow: hidden;
    background: #fff;
    list-style: none;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
    padding: 20px;
    box-sizing: border-box;
    box-shadow: 0px 10px 20px -5px rgb(0 0 0 / 45%);
}

.month_list li {
    min-width: 12.5%;
    max-width: 180px;
}

.cat_list li {
    min-width: 12.5%;
}

.month-btn,
.category-btn {
    display: inline-flex;
    width: 100%;
    padding: 10px 15px;
    background-color: #ebebeb00;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1em;
    text-decoration: none;
    color: inherit;
    border-bottom: 1px solid #dbdbdb;
}

.month-btn.currentMonth {
    background-color: #a7c0c3;
    font-weight: 600;
}

.month-btn a,
.category-btn a {
    text-decoration: none;
}

.month-btn:hover,
.category-btn:hover {
    background-color: #e2e2e2;
}

.month-btn.active,
.category-btn.active {
    background-color: #e0e0e0;
}


a.ds-next-month-btn,
.ds-next-month-btn {
    background: var(--e-global-color-primary);
    padding: 16px 38px;
    color: #fff !important;
    transition: all .2s ease;
}

a.ds-next-month-btn:hover,
.ds-next-month-btn:hover {
    background-color: hsl(from var(--e-global-color-primary) h s calc(l - 10));
    transform: scale(.95);
}



.grid-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: min-content;
    gap: 20px;
    box-sizing: border-box;
    margin: 0 auto;
}

.ds-wfg-va-preview {
    max-width: 1440px;
}

.event-card {
    display: none;
    max-width: 445px;
    background-color: #fff;
    border: 1px solid #cacaca;
    padding: 20px;
    min-height: 600px;
    box-sizing: border-box;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.event-card-container {
    display: flex;
    flex-direction: column;
    background-color: #FFFFFF !important;
    justify-content: space-between;
    height: 100%;
    overflow: hidden;
    font-family: 'Roboto', sans-serif !important;
}

.event-card:hover {
    transform: translateY(-5px);
}

.event_contentImage {
    position: relative;
    padding: 0;
    margin: 0 0 35px 0;
    padding: 0;
}

.event-card-container .event_contentImage img {
    width: 100%;
    aspect-ratio: 16/9;
    object-position: center;
    min-height: 232px;
    background-color: #656565;
    border: 1px solid #656565 !important;
    box-sizing: border-box;
    object-position: center;
    object-fit: contain;
    min-height: 136px;
}

.congressBubble {
    position: absolute;
    bottom: 16px;
    right: 6px;
    padding: 6px 16px;
    border-radius: 50px;
    text-align: center;
    color: #282828;
    box-sizing: border-box;
    font-weight: bold;
    backdrop-filter: blur(8px);
    border: 2px solid #ffffff57;
    user-select: none;
    background: linear-gradient(220deg, rgb(255 255 255 / 40%) 0%, rgb(68 82 91 / 0%) 36%, rgb(255 255 255 / 12%) 100%);
    box-shadow: 0 8px 5px -5px #00000036;
}

.event_contentWrap {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    height: auto;
    min-height: 200px;
}

.event_contentWrap .eventTitle {
    margin-bottom: 20px;
    font-size: 1em;
    font-weight: bold;
}

.event_contentWrap span {
    display: inline-block;
    margin: 0 0 20px 0;
    color: #222;
}

.event_contentWrap p {
    margin: 0 0 20px 0;
    padding: 0;
}

.event_contentWrap pre {
    font-size: 1em !important;
    line-height: 1.3em !important;
    width: 100%;
    box-sizing: border-box !important;
    text-wrap: wrap;
    text-align: left;
    border: none;
    background: none;
    padding: 0;
    word-break: normal !important;
}

#event_contentWrap a {
    color: #fff !important;
}

.event_btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: var(--e-global-color-primary);
    color: #fff !important;
    text-decoration: none;
    transition: all .2s ease;
}

.event_btn:hover {
    background-color: hsl(from var(--e-global-color-primary) h s calc(l - 10)) !important;
    transform: scale(.95);
}

.evPartner-wrap {
    position: relative;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 1.25em;
    padding: 20px 0;
    box-sizing: border-box;
}

.evPartner-IMG {
    position: relative;
    width: 220px;
    height: 140px;
    display: flex;
    justify-content: center;
    user-select: none;
    opacity: 1;
    overflow: hidden;
    align-items: center;
    background: #00705d5c;
    color: #31343C;
    text-align: center;
    font-weight: 600;
    transition: opacity 1s ease;
}

/* .evPartner-wrap:hover .evPartner-IMG {
        opacity: .2; 
    }
    
    .evPartner-IMG:hover {
        opacity: 1;
    } */




/*  ############################################################
        Event Shortlist
    ############################################################  */

.ds-va-eventShortList-wrapper {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-bottom: 30px;
}

.ds-va-eventShortList-wrapper .event-card {
    position: relative;
    display: flex;
    border: 1px solid #ddd;
    background: #fff;
    width: calc(33.333% - 14px);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    flex-direction: row;
    transition: box-shadow 0.3s ease;
    min-height: 120px;
    max-width: 360px;
    user-select: none;
}

.ds-va-eventShortList-wrapper .event-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.ds-va-eventShortList-wrapper .event-card .full-link {
    position: absolute;
    inset: 0;
    z-index: 10;
    text-indent: -9999px;
    overflow: hidden;
    white-space: nowrap;
}

.event-card-shortimg {
    width: 80px;
    height: 80px;
    background-size: cover;
    background-position: center center;
    background-color: #ccc;
    flex-shrink: 0;
}

.ds-va-eventShortList-wrapper .event-text {
    position: relative;
    padding: 0 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    user-select: none;
    z-index: 2;
}

.ds-va-eventShortList-wrapper .event-text .event-date {
    font-size: 1rem;
    color: #555;
    margin-bottom: 8px;
}

.ds-va-eventShortList-wrapper .event-text .event-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #222;
    line-height: 1.3;
}

.ds-va-eventShortList-wrapper .arrow {
    position: relative;
    z-index: 2;
    text-align: right;
    margin-top: 10px;
}

.ds-va-eventShortList-wrapper .arrow a {
    font-size: 1.8rem;
    color: var(--e-global-color-primary);
    text-decoration: none;
}

.ds-va-eventShortList-wrapper .arrow a:hover {
    color: hsl(from var(--e-global-color-primary) h s calc(l - 10));
}

.ds-va-eventShortList-cta {
    text-align: center;
    margin: 30px auto;
}

.ds-va-eventShortList-cta a {
    background-color: var(--e-global-color-primary);
    color: #fff;
    padding: 12px 24px;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.ds-va-eventShortList-cta a:hover {
    background-color: hsl(from var(--e-global-color-primary) h s calc(l - 10));
}

@media screen and (max-width: 992px) {
    .ds-va-eventShortList-wrapper {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .ds-va-eventShortList-wrapper .event-card {
        min-width: 100px;
        width: 80%;
    }
}

@media screen and (max-width: 600px) {
    .ds-va-eventShortList-wrapper {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .ds-va-eventShortList-wrapper .event-card {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }

    .event-card-shortimg {
        width: 100%;
        height: 180px;
    }

    .ds-va-eventShortList-wrapper .event-text {
        width: 100%;
        text-align: center;
    }

    .ds-va-eventShortList-wrapper .event-text .event-date {
        font-size: 1.2rem;
    }

    .ds-va-eventShortList-wrapper .event-text .event-title {
        font-size: 1.4rem;
    }

    .ds-va-eventShortList-wrapper .arrow {
        text-align: center;
    }
}





/*  ############################################################
        Event-Page
    ############################################################  */


.ds-none {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

.mainwrap {
    position: relative;
    width: 100%;
    max-width: 1440px;
    display: flex;
    flex-direction: row;
    margin: 0 auto;
}

.mainwrap h1 {
    font-size: 1.3em;
    line-height: 1.4em;
}

.mainwrap h3 {
    font-size: 1.5em;
    line-height: 1.4em;
}

a.btn,
.btn {
    display: inline-flex;
    margin-top: 10px;
    padding: 10px 20px;
    max-width: 50%;
    background-color: var(--e-global-color-primary) !important;
    color: #fff !important;
    font-weight: 400;
    text-decoration: none;
    border: none;
    cursor: pointer;
    align-items: center;
    transition: all .2s ease;
    column-gap: .5rem;
    align-items: center;
    text-align: left;
}

a.btn:hover,
.btn:hover {
    background-color: hsl(from var(--e-global-color-primary) h s calc(l - 10));
    transform: scale(.95);
}

.eventIMG-wrap {
    position: relative;
    width: 100%;
    height: 525px;
    margin-bottom: 40px;
    overflow: hidden;
    border: 1px solid #b5b5b5;
}

.eventIMG {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 1;
    background-color: #f1f1f1;
    /* border: 1px solid #cacaca !important; */
}

.eventIMG-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #e5e5e5;
    z-index: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}


.eventDetails,
.eventRef {
    position: relative;
    width: 100%;
    margin-bottom: 40px;
    padding: 20px;
    background-color: #f1f1f1;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

.eventContent-wrap {
    position: relative;
    width: 100%;
    display: flex;
    flex-flow: column wrap;
    flex-direction: column;
    flex-wrap: wrap;
}

.eventContent-wrap pre,
.eventContent-wrap span {
    font-size: 1em !important;
    line-height: 1.3em !important;
    width: 100%;
    box-sizing: border-box !important;
    text-wrap: wrap;
    text-align: justify;
    border: none;
    background: none;
    padding: 0;
    word-break: normal !important;
    white-space: pre-line;
}


.eventDetails>* {
    margin-bottom: 20px;
}

.eventDetails span,
.eventDetails pre {
    font-size: 1em !important;
    line-height: 1.3em !important;
    width: 100%;
    box-sizing: border-box !important;
    text-wrap: wrap;
    text-align: left;
    border: none;
    background: none;
    padding: 0;
    word-break: normal !important;
    color: inherit;
    margin: 4px 0 0 8px !important;
    white-space: break-spaces;
}


.va-waitlist-note {
    background: #fff8e1;
    border: 1px solid #ffd76a;
    border-left: 6px solid #ff9800;
    color: #5c3b00;
    padding: 14px 16px 14px 44px;
    margin-bottom: 40px;
    border-radius: 6px;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
    position: relative;
}

.va-waitlist-note::before {
    content: "";
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 18px solid #ff9800;
}

@media (max-width: 480px) {
    .va-waitlist-note {
        padding: 12px 14px 12px 40px;
        font-size: 0.95rem;
    }

    .va-waitlist-note::before {
        left: 12px;
    }
}



.eventRef>h4 {
    color: #fff;
    font-weight: normal;
    background: #a7c0c3;
    padding: .5rem;
    box-sizing: border-box;
    margin-bottom: 1em;
    margin-top: 0;
}

.eventRef .refItem {
    display: flex;
    margin: 1.2em 0;
    background: #e7e7e7;
    padding: 10px 20px;
    box-sizing: border-box;
}

.eventForm {
    position: relative;
    margin-bottom: 40px;
}

.eventForm form {
    display: flex;
    flex-direction: column;
    margin: 20px 0;
    padding: 20px;
    /* background-color: #f9f9f9; */
    background-color: #f1f1f1;
    box-sizing: border-box;
}


.eventForm form label {
    font-size: .9em;
    color: #555;
    font-family: 'Roboto', sans-serif;
    margin-bottom: 5px;
    display: inline-flex;
}

#final-step label {
    font-size: .9em;
    color: #555;
    font-family: 'Roboto', sans-serif;
    margin-bottom: 5px;
    word-break: normal;
    text-wrap: auto;
    text-align: left;
    width: 350px;
    display: block;
}

.eventForm form label sup {
    color: red;
    height: 10px;
    margin: 10px 0 0 6px;
}

.eventForm form input[type="text"],
.eventForm form input[type="email"],
.eventForm form input[type="tel"] {
    padding: 10px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    width: 100%;
    font-family: 'Roboto', sans-serif;
    background-color: #fcfcfc;
}

.eventForm form select {
    padding: 10px;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    width: 100%;
    font-family: 'Roboto', sans-serif;
    color: #787878;
    background-color: #fcfcfc;
}



button.step-btn,
a.step-btn,
.step-btn {
    display: inline-flex;
    margin-top: 10px;
    padding: 10px 20px;
    max-width: 50%;
    background-color: var(--e-global-color-primary) !important;
    color: #fff !important;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all .2s ease;
    min-height: 80px;
    font-weight: 400;
    align-items: center;
    text-align: left;
}

button.step-btn:hover,
a.step-btn:hover,
.step-btn:hover {
    background-color: hsl(from var(--e-global-color-primary) h s calc(l - 10));
    transform: scale(.95);
}

.invalid-field {
    border: 2px solid red !important;
    background-color: #ffe6e6 !important;
}

#step-1 div,
.additional-person div {
    margin-bottom: 10px;
}

.additional-person {
    position: relative;
    flex-direction: column !important;
}

.additional-person>h4 {
    color: #fff;
    font-weight: normal;
    background: #a7c0c3;
    padding: .5rem;
    box-sizing: border-box;
    margin-bottom: 1rem;
    margin-top: 0;
}

.additional-person>div {
    flex-direction: row !important;
}

.additional-person>div>div {
    flex-direction: column !important;
}

#summary {
    position: relative;
    flex-direction: column;
}

#summary h3 {
    margin-bottom: 2rem;
}

.group-summary {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.group-summary * {
    width: 100%;
}

.group-summary h4 {
    color: #fff;
    font-weight: normal;
    background: #a7c0c3;
    padding: .5rem;
    box-sizing: border-box;
}

.sum-item-block {
    width: 100%;
    position: relative;
    max-width: 100%;
    margin: 1rem 0rem;
    margin: 1rem 0rem;
}

.sum-item {
    margin: .2rem 0;
}

.hidden-field-group {
    position: absolute;
    top: -9999px;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

/* Checkbox Styling */
.eventForm form .checkbox-container {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    font-family: 'Arial', sans-serif;
    margin: 10px 0 40px 0;
}

.eventForm form .checkbox-container input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 3px;
    transform: scale(1.2);
}

.eventForm form .checkbox-container a {
    color: #00705d;
    text-decoration: none;
}

.eventForm form .checkbox-container a:hover {
    text-decoration: underline;
}




.eventForm form input[type="submit"] {
    background-color: var(--e-global-color-primary);
    color: white;
    padding: 10px 15px;
    font-size: 1em;
    border: none;
    cursor: pointer;
    margin-bottom: 20px;
    transition: all 0.2s ease;
}

.eventForm form input[type="submit"]:hover {
    background-color: hsl(from var(--e-global-color-primary) h s calc(l - 10));
    transform: scale(.95);
}

.eventForm form input:focus,
.eventForm form .checkbox-container input[type="checkbox"]:hover {
    border-color: var(--e-global-color-primary) !important;
    outline: none;
    box-shadow: 0 0 8px rgba(76, 175, 80, 0.3) !important;
}


/*  Custom-Alert  */
.custom-alert {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 1000;
}

.custom-alert-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 0;
    border: none;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    max-width: 320px;
    width: 20vw;
}

.custom-alert-content p {
    margin: 0 0 20px;
    font-size: 1.2rem;
    color: #333;
}

.custom-alert-content span {
    display: block;
    margin: 0 0 20px;
    font-size: .75rem;
    line-height: 1.3rem;
    color: #949494;
}



.event_module-card {
    position: relative;
    display: block;
    width: 100%;
    min-height: 158px;
    border: 1px solid #ddd;
    /* border-radius: 8px; */
    overflow: hidden;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
}

.event_module-card:hover {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.event_module-link {
    position: absolute;
    inset: 0;
    display: block;
    text-decoration: none;
    color: inherit;
    outline: none;
}

.event_module-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center center;
    transform: scale(1);
    transition: transform 0.4s ease;
}

.event_module-card:hover .event_module-bg {
    transform: scale(1.05);
}

.event_module-overlay {
    position: absolute;
    inset: 0;
    background: rgb(from var(--e-global-color-primary) r g b / 65%);
    transition: background 0.4s ease;
}

.event_module-card:hover .event_module-overlay {
    background: rgb(from var(--e-global-color-primary) r g b / 85%);
}

.event_module-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    min-height: 158px;
    color: #fff;
}

.event_module-date {
    font-size: 0.85rem;
    width: 100%;
    padding: 12px 8px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 4px;
    display: inline-block;
    margin-top: auto;
    align-self: flex-start;
    backdrop-filter: blur(4px);
    line-height: normal;
}

.event_module-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.3;
    padding: 10px 14px;
}

.event_module-info {
    font-size: 0.95rem;
    line-height: 1.4;
    opacity: 0.95;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 4.2em;
}

.event_module-chevron {
    position: absolute;
    right: 12px;
    bottom: 10px;
    font-size: 2rem;
    line-height: 1;
    color: #fff;
    opacity: 0.9;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.event_module-card:hover .event_module-chevron {
    transform: translateX(4px);
    opacity: 1;
}

/* Focus / Keyboard accessibility */
.event_module-link:focus-visible {
    outline: 3px solid #E9003F;
    outline-offset: 3px;
}

/* Responsive tweaks */
@media (max-width: 992px) {
    .event_module-content {
        min-height: 158px;
    }

    .event_module-title {
        font-size: 1.15rem;
    }
}

@media (max-width: 600px) {
    .event_module-card {
        min-height: 158px;
    }

    .event_module-content {
        min-height: 158px;
    }

    .event_module-info {
        -webkit-line-clamp: 4;
        max-height: 5.6em;
    }
}





/*  Loading Animation   */
.eventloader {
    position: fixed;
    width: 100%;
    max-width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #f0f0f0;
    z-index: 9;
}

.preloader {
    border: 16px solid #f5f5f5;
    border-top: 16px solid #d3d3d3;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}



@media (max-width: 992px) {
    .mainwrap {
        width: 100%;
        flex-direction: column !important;
    }

    .mainwrap>div {
        width: 100% !important;
    }

    .grid-container {
        grid-template-columns: repeat(2, 1fr);
    }

    .event-card-container img {
        /* min-height: 200px; */
    }
}

/* Mobile */
@media (max-width: 600px) {
    .mainwrap {
        width: 100%;
        flex-direction: column !important;
    }

    .mainwrap>div {
        width: 100% !important;
    }

    .eventIMG-wrap {
        height: 300px;
    }

    .grid-container {
        grid-template-columns: repeat(1, 1fr);
    }

    .event-card-container img {
        /* min-height: 180px; */
    }
}