@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: #00705d; padding: 16px 38px; color: #fff !important; transition: all .2s ease;
}

a.ds-next-month-btn:hover, .ds-next-month-btn:hover {
    background-color: #00705d80; 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;
    justify-content: space-between;
    height: 100%;
    overflow: hidden;
    font-family: 'Roboto', sans-serif !important;
}

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

.event-card-container img {
    width: 100%;
    margin: 0 0 35px 0;
    object-position: center;
    min-height: 232px;
    background-color: #000000;
    border: 1px solid #656565 !important;
    box-sizing: border-box;
    object-position: center;
    object-fit: contain;
    min-height: 226px;
    max-height: 228px;
}

.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: #00705d;
    color: #fff !important;
    text-decoration: none;
    transition: all .2s ease;
}

.event_btn:hover {
    background-color: #00705d80 !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: 160px;
    height: 160px;
    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;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    user-select: none;
    z-index: 2;
}

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

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

.ds-va-eventShortList-wrapper .arrow {
    position: absolute;
    z-index: 2;
    text-align: right;
    bottom: 0;
    right: 0;
}

.ds-va-eventShortList-wrapper .arrow a {
    font-size: 1.8rem;
    color: #00705d;
    text-decoration: none;
}

.ds-va-eventShortList-wrapper .arrow a:hover {
    color: #004437;
}

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

.ds-va-eventShortList-cta a {
    background-color: #00705d;
    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: #004437;
}

@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: #00705d !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: #00705d80; transform: scale(.95);
    }

    .eventIMG-wrap{ position: relative; width: 100%; height: 525px; margin-bottom: 40px; overflow: hidden;}
        .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;
    }

    .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: #00705d !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: #00705d80; 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: #00705d; 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: #00705d80;
        transform: scale(.95);
    }
    
    .eventForm form input:focus, .eventForm form .checkbox-container input[type="checkbox"]:hover {
        border-color: #00705d !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: 90%;
    }
    
    .custom-alert-content p {
        margin: 0 0 20px;
        font-size: 1.2rem;
        color: #333;
    }


/*  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;
    }
}