body {
    font-family: "Roboto", sans-serif;
    color: var(--main-black);
    text-shadow: unset;
}

.container {
    max-width: 1440px !important;
}

div[data-role='page'] {
    padding: 0 !important;
    margin: 0 !important;
}

.ebg-v2 a,
.ebg-v2 p,
.ebg-v2 ul,
.ebg-v2 li,
.ebg-v2 span,
.ebg-v2 div,
.ebg-v2 h1,
.ebg-v2 h2,
.ebg-v2 h3,
.ebg-v2 h4,
.ebg-v2 h5,
.bts5 a,
.bts5 p,
.bts5 ul,
.bts5 li,
.bts5 span,
.bts5 div,
.bts5 h1,
.bts5 h2,
.bts5 h3,
.bts5 h4,
.bts5 h5 {
    font-family: "Roboto", sans-serif !important;
}

#body_container {
    padding-bottom: 16px;
}

.is-mobile,
.ui-mobile-viewport {
    padding: 0 !important;
}

/* modals */
.bts5 .ebg-modal.show.fade {
    background: rgba(6, 15, 29, 0.6);
}
.bts5 .ebg-modal .modal-content {
    border-radius: 16px;
    text-align: left;
}
.bts5 .ebg-modal .modal-header {
    background-color: var(--neutral-2);
    font-size: 18px;
    border: 0;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    padding: 12px 16px;
    color: var(--main-black);
    justify-content: space-between;

    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}
.bts5 .ebg-modal .modal-header .modal-title,
.bts5 .ebg-modal .modal-header h3 {
    color: var(--main-black);
    font-size: 18px;
    font-weight: 700;
    line-height: 22px;
    margin: 0;
}
.bts5 .ebg-modal .modal-header .close {
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE2IDRMNCAxNiIgc3Ryb2tlPSIjNzU3NTc1IiBzdHJva2Utd2lkdGg9IjEuOCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+CjxwYXRoIGQ9Ik00IDRMMTYgMTYiIHN0cm9rZT0iIzc1NzU3NSIgc3Ryb2tlLXdpZHRoPSIxLjgiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8L3N2Zz4K');
    background-repeat: no-repeat;
    background-position: center;
    background-color: transparent;
    border: 0;
    opacity: 1;
}
.bts5 .ebg-modal .modal-header .close span {
    visibility: hidden;
}
.bts5 .ebg-modal .modal-header .close.ui-btn,
.bts5 .ebg-modal .modal-header .close.ui-btn:hover,
.bts5 .ebg-modal .modal-header .close.ui-btn:active,
.bts5 .ebg-modal .modal-header .close.ui-btn:focus {
    background-color: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.bts5 .ebg-modal .modal-dialog-scrollable .modal-body {
    max-height: 80vh;
    overflow-y: auto;
}

.bts5 .ebg-modal .modal-dialog-centered {
    width: 100%;
    max-width: 100%;
    align-items: flex-end;
    margin: 0;
    min-height: 100%;
}
.bts5 .ebg-modal .modal-dialog-centered .modal-header {
    justify-content: space-between;
}
.bts5 .ebg-modal .modal-dialog-centered .modal-header .close {
    background-repeat: no-repeat;
    background-position: center;
    width: 20px;
    height: 20px;
}
.bts5 .ebg-modal .modal-dialog-centered .modal-header .close span {
    visibility: hidden;
}

.bts5 .ebg-modal .modal-dialog-centered .modal-content {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.bts5 .ebg-modal .modal-dialog-centered .ebg-v2-venue-description-block-address,
.bts5 .ebg-modal .modal-dialog-centered .ebg-v2-venue-description-block-seating {
    color: var(--main-black);
    font-size: 14px;
    line-height: 18px;
    font-weight: 400;
}
.bts5 .ebg-modal .modal-dialog-centered .ebg-v2-venue-description-block-address a,
.bts5 .ebg-modal .modal-dialog-centered .ebg-v2-venue-description-block-seating a {
    font-size: 16px;
    font-weight: 700;
}

.bts5 .ebg-modal .modal-body a {
    display: flex;
    text-decoration: underline;
}

.bts5 .ebg-modal .modal-body img {
    margin: 0 auto 24px;
    border-radius: 16px;
    max-height: 336px;
}
.bts5 .ebg-modal .modal-body h3 {
    color: var(--main-black);
    font-size: 16px;
    line-height: 18px;
    font-weight: 700;
    margin-bottom: 14px;
}

/* map modal */
.bts5 .ebg-modal #ebg-map-container,
.bts5 .ebg-modal .ebg-map-container {
    width: 100%;
    height: 341px;
    border-radius: 4px;
    border: 1px solid var(--neutral-1);
    margin-top: 24px;
}
.bts5 .ebg-modal .modal-header button {
    width: auto;
}

.bts5 .ebg-modal .ebg-venue-description-block-address {
    display: flex;
    justify-content: start;
    align-items: start;
    gap: 8px;
    color: var(--main-black);
    font-size: 14px;
    line-height: 16px;
    font-weight: 400;
}
.bts5 .ebg-modal .ebg-venue-description-block-address .ebg-icon.icon-mapmarker {
    height: 16px;
    width: 16px;
    min-width: 16px;
}

.bts5 .ebg-modal .ebg-venue-description-block-address strong {
    font-size: 16px;
}

.bts5 .ebg-modal a {
    color: var(--primary-blue) !important;
    font-size: 16px;
    line-height: 18px;
    font-weight: 700;
    margin-top: 4px;
    display: flex;
    align-items: center;
    text-decoration: none;
}
.bts5 .ebg-modal a span {
    text-decoration: underline;
}
.bts5 .ebg-modal a .icon-arrow-right {
    width: 16px;
    height: 16px;
    min-width: 16px;
}

.bts5 .ebg-modal.ebg-about-modal .modal-dialog,
.bts5 .ebg-modal.ebg-show-more-modal .modal-dialog {
    margin-top: 10px;
}
.bts5 .ebg-modal.ebg-about-modal .modal-content,
.bts5 .ebg-modal.ebg-show-more-modal .modal-content {
    min-height: 70vh;
}

@media screen and (min-width: 768px) {
    .bts5 .ebg-modal .modal-dialog-centered.lg-width {
        max-width: min(calc(100vw - 25%), 1006px);
    }
    .bts5 .ebg-modal .modal-dialog-centered {
        align-items: center;
        min-height: calc(100% - 2rem);
        max-width: 500px;
        margin: auto;
    }
    .bts5 .ebg-modal .modal-dialog-centered .modal-content {
        border-bottom-left-radius: 16px;
        border-bottom-right-radius: 16px;
    }

    .ebg-about-modal .modal-dialog,
    .ebg-show-more-modal .modal-dialog,
    .ebg-about-modal .modal-dialog-centered,
    .ebg-show-more-modal .modal-dialog-centered {
        max-width: 1006px;
    }
    .ebg-about-modal .modal-dialog .modal-content,
    .ebg-show-more-modal .modal-dialog .modal-content,
    .ebg-about-modal .modal-dialog-centered .modal-content,
    .ebg-show-more-modal .modal-dialog-centered .modal-content {
        max-height: 900px;
        min-height: auto;
    }
    .ebg-about-modal .modal-dialog .modal-header .modal-title,
    .ebg-show-more-modal .modal-dialog .modal-header .modal-title,
    .ebg-about-modal .modal-dialog-centered .modal-header .modal-title,
    .ebg-show-more-modal .modal-dialog-centered .modal-header .modal-title {
        width: calc(100% - 50px);
        text-align: center;
    }
    .ebg-about-modal .modal-dialog .modal-header button,
    .ebg-show-more-modal .modal-dialog .modal-header button,
    .ebg-about-modal .modal-dialog-centered .modal-header button,
    .ebg-show-more-modal .modal-dialog-centered .modal-header button {
        width: 50px;
    }

    .ebg-about-modal .modal-dialog .modal-body,
    .ebg-show-more-modal .modal-dialog .modal-body,
    .ebg-about-modal .modal-dialog-centered .modal-body,
    .ebg-show-more-modal .modal-dialog-centered .modal-body {
        padding: 32px;
    }
    .ebg-about-modal .modal-dialog .modal-body h3,
    .ebg-show-more-modal .modal-dialog .modal-body h3,
    .ebg-about-modal .modal-dialog-centered .modal-body h3,
    .ebg-show-more-modal .modal-dialog-centered .modal-body h3 {
        font-size: 18px;
        line-height: 22px;
    }
}

/* modals end */

/* buttons */
.ebg-btn {
    font-family: 'Roboto';
    font-size: 16px;
    font-weight: 700 !important;
    line-height: 14px;
    border-radius: 100px;
    padding: 16px 32px;
    text-decoration: none !important;
    display: inline-block;
}

.ebg-btn-medium {
    font-size: 14px;
    font-weight: 700 !important;
    line-height: 14px;
    padding: 13px 24px;
}

.ebg-btn-small {
    font-size: 12px;
    font-weight: 700 !important;
    line-height: 16px;
    padding: 8px 16px;
}

.ebg-btn-primary {
    color: var(--white) !important;
    background-color: var(--primary-blue);
    text-transform: uppercase;
    white-space: nowrap;
}
.ebg-btn-primary:hover {
    background-color: var(--primary-hover);
}

.ebg-btn-primary.disable,
.ebg-btn-primary:disabled {
    background-color: var(--primary-blue);
    opacity: 0.5;
}

.ebg-btn-primary:active,
.ebg-btn-primary:focus {
    background: var(--primary-click);
}

.ebg-btn-secondary {
    color: var(--primary-blue) !important;
    background-color: var(--white);
    border: 1px solid var(--primary-blue);
    text-transform: uppercase;
    white-space: nowrap;
}

.ebg-btn-secondary:hover {
    color: var(--primary-hover);
    border-color: var(--primary-hover);
    background-color: var(--secondary-btn-hover);
}
.ebg-btn-secondary.disable {
    background-color: var(--white);
    border: 1px solid var(--primary-blue);
    opacity: 0.5;
    cursor: default;
}

/* links */
.ebg-link {
    font-family: 'Roboto' !important;
    font-size: 16px;
    font-weight: 700 !important;
    line-height: 16px;
    color: var(--primary-blue) !important;
    text-decoration: underline;
}
.ebg-link:hover {
    color: var(--primary-hover) !important;
}
.ebg-link.disable {
    opacity: 0.5;
    cursor: default;
}

.ebg-link-small {
    font-size: 12px;
    font-weight: 700 !important;
    line-height: 12px;
}

.ebg-link-more {
    padding-right: 16px;
    background-position: right center;
}

.ebg-link-more span.icon-mask {
    width: 16px;
    height: 16px;
    mask-position: center 2px;
}

.ebg-link-more:hover span.icon-mask {
    background-color: var(--primary-hover);
}

/* scrollbar */
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #f5f5f5;
}

::-webkit-scrollbar {
    width: 6px;
    background-color: #f5f5f5;
}

::-webkit-scrollbar-thumb {
    background-color: var(--silver-sonic);
}

/* related articles from reflektion */
.container.view-event {
    margin-left: auto;
    margin-right: auto;
}

/* Custom Alert Modal */
#custom-alert {
    position: fixed;
    top: 30% !important;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    color: black;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    height: auto !important;
    max-height: 90vh;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    z-index: 9999 !important;
    padding: 0;
}

/* Header section */
.custom-alert-header {
    background: #d32f2f;
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 12px;
    font-size: 16px;
    font-weight: bold;
    height: 38px;
}

/* Ensure the title is left-aligned */
.custom-alert-title {
    flex-grow: 1;
    text-align: left;
    padding: 5px;
}

/* Close button */
.custom-alert-close-btn {
    font-size: 24px;
    color: white !important;
    text-decoration: none;
    cursor: pointer;
}

/* Body content */
.custom-alert-body {
    background: white;
    color: black;
    padding: 17px 10px;
    font-size: 14px;
    text-align: left;
}

/* Footer with buttons */
.custom-alert-footer {
    background: white;
    padding: 15px;
    text-align: center;
}

/* Buttons */
.custom-alert-footer a {
    background: #f44336;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
}

.custom-alert-footer a:hover {
    background: #d32f2f;
}

/* Mobile Styles */
@media (max-width: 480px) {
    #custom-alert {
        max-width: 90%;
        top: 25% !important;
    }

    .custom-alert-header {
        font-size: 14px;
        height: 35px;
        padding: 0px 5px;
    }

    .custom-alert-title {
        font-size: 14px;
    }

    .custom-alert-close-btn {
        font-size: 20px;
        width: 30px;
        height: 30px;
    }

    .custom-alert-body {
        font-size: 13px;
        padding: 12px;
    }

    .custom-alert-footer a {
        padding: 8px 16px;
        font-size: 13px;
    }
}
/* end related articles */
