/* BEGIN THEME CSS */

:root {
    --themePrimaryFontFamily: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, Ubuntu, "Helvetica Neue", sans-serif;
    --themeSecondaryFontFamily: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont,
        "Segoe UI", Roboto, Ubuntu, "Helvetica Neue", sans-serif;
    --themePrimaryColor: #1890ff;
    --themeRedColor: #ff4d4f;
    --themeSecondaryColor: #e6f7ff;
    --themeContainerBackgroundColor: #f7f7f8;
    --themeTextColor: #000000;
    --themeWhiteColor: #ffffff;
    --themeBlackColor: #000000;
    --themeBorderColor: #ededed;
}

html,
body,
.gevme-template-container {
    height: 100%;
    width: 100%;
    margin: 0px;
    padding: 0px;
    color: var(--themeTextColor);
    background-color: var(--themeWhiteColor);
    font-family: var(--themePrimaryFontFamily);
    font-size: 14px;
}

.gevme-button {
    font-family: var(--themeSecondaryFontFamily);
}

.gevme-button-primary,
.gevme-button-primary:hover,
.gevme-button-primary:focus,
.gevme-button-primary:active {
    color: var(--themeWhiteColor);
    background-color: var(--themePrimaryColor);
    border-color: var(--themePrimaryColor);
    outline: none;
}

/* gevme-nav-menu,
gevme-header {
	height: 56px;
	width: 100%;
	display: block;
} */

.active-menu .gevme-header-container {
    height: 100vh;
}

.gevme-template-main {
    height: 100%;
    width: 100%;
    padding: 0px;
    display: flex;
    background-color: var(--themeContainerBackgroundColor);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

/* gevme-header.active + .gevme-template-main {
	height: calc(100% - 56px);
} */

.gevme-template-main .gevme-template-content,
.gevme-template-main .gevme-template-chat {
    height: 100%;
}

.gevme-template-main .gevme-template-content {
    flex: 1 1 auto;
    overflow: auto;
    position: relative;
}

.two-col-container {
    display: flex;
    justify-content: center;
}

@media screen and (min-width: 768px) {
    .gevme-template-main .gevme-template-chat {
        flex: 0 0 60px;
        border-left: 1px solid var(--themeBorderColor);
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0px;
    }
}

@media screen and (max-width: 767px) {
    .gevme-template-main {
        flex-direction: column;
    }

    .gevme-template-main.livebar-left {
        flex-direction: column-reverse;
    }

    .gevme-template-main .gevme-template-chat {
        height: 80px;
        width: 100%;
        display: block;
        flex: 0 0 80px !important;
    }

    .gevme-template-chat~.gevme-template-content {
        height: calc(100% - 80px);
        width: 100%;
        display: block;
    }
}

.gevme-content-blocks-banner .gevme-content-blocks-banner-image {
    height: 100%;
    width: 100%;
}

.gevme-404-container {
    height: 100%;
    width: 100%;
    max-width: 992px;
    margin: 0px auto;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.gevme-404-container .gevme-404-logo {
    height: 72px;
    width: 60px;
    object-fit: contain;
}

.gevme-404-container .gevme-404-title {
    margin-top: 12px;
    margin-bottom: -12px;
    font-size: 96px;
    font-weight: 700;
    font-family: var(--themeSecondaryFontFamily);
}

.gevme-404-container .gevme-404-description {
    margin-top: 0px;
    margin-bottom: 0px;
    font-size: 20px;
    font-weight: 600;
    font-family: var(--themeSecondaryFontFamily);
}

.gevme-content-blocks-container {
    position: relative;
    padding: 0px;
    max-width: 1200px;
    margin: 0px auto;
}

.gevme-content-blocks-container.with-vertical-cover-image {
    display: flex;
    height: 100%;
    max-width: 100%;
    overflow: hidden;
}

.gevme-content-blocks-container.with-vertical-cover-image .vertical-cover-image-container {
    flex: 0 0 auto;
}

.gevme-content-blocks-container.with-vertical-cover-image .vertical-cover-image-container gevme-content-block[name="vertical-cover-image"] .gevme-content-blocks-row,
.gevme-content-blocks-container.with-vertical-cover-image .vertical-cover-image-container gevme-content-block[name="vertical-cover-image"] .gevme-content-blocks-row .gevme-content-blocks-column {
    height: 100%;
    width: 100%;
    padding: 0px;
    margin: 0px;
}

.gevme-content-blocks-container.with-vertical-cover-image .vertical-cover-image-container gevme-content-block[name="vertical-cover-image"] .gevme-content-blocks-row .gevme-content-blocks-column .gevme-image-block {
    border-radius: 0px;
}

.gevme-content-blocks-container.with-vertical-cover-image .vertical-cover-image-container gevme-content-block[name="vertical-cover-image"] .gevme-image-block .gevme-image-block-flex-container .gevme-image-block-flex-image,
.gevme-content-blocks-container.with-vertical-cover-image .vertical-cover-image-container gevme-content-block[name="vertical-cover-image"] .gevme-imagelist-block .gevme-imagelist-block-flex-container .gevme-imagelist-block-flex-image,
.gevme-content-blocks-container.with-vertical-cover-image .vertical-cover-image-container gevme-content-block[name="vertical-cover-image"] .gevme-imageslideshow-block .gevme-imageslideshow-block-flex-container .gevme-imageslideshow-block-flex-image {
    border-radius: 0px;
}

.gevme-content-blocks-container.with-vertical-cover-image gevme-content-block[exclude="vertical-cover-image"] {
    flex: 1 1 auto;
    margin: 0 auto;
}

.gevme-content-blocks-container.with-vertical-cover-image gevme-content-block[exclude="vertical-cover-image"],
.gevme-content-blocks-container.with-vertical-cover-image gevme-content-block[exclude="vertical-cover-image"] .gevme-content-blocks-row {
    overflow: auto;
}

@media screen and (max-width: 991px) {
    .gevme-content-blocks-container.with-vertical-cover-image .vertical-cover-image-container {
        display: none;
    }

    .gevme-content-blocks-container.with-vertical-cover-image gevme-content-block {
        max-width: 1200px;
    }

    /* FIX FOR AGENDA BLOCK HEIGHT ISSUE IN MOBILE */
    .flat-3d .gevme-agenda-block .gevme-agenda-block-content iframe {
        height: 100% !important;
    }
}

.gevme-content-blocks-container.with-horizontal-cover-image {
    max-width: 100%;
}

.gevme-content-blocks-container.with-horizontal-cover-image .horizontal-cover-image-container {
    height: 216px;
    width: 100%;
    margin-bottom: 64px;
    padding: 0px;
    position: relative;
    display: inline-block;
}

.gevme-content-blocks-container.with-horizontal-cover-image .horizontal-cover-image-container gevme-content-block[name="horizontal-cover-image"] {
    position: absolute;
    top: 0px;
    left: 0px;
    right: 0px;
    bottom: 0px;
}

.gevme-content-blocks-container.with-horizontal-cover-image .horizontal-cover-image-container gevme-content-block[name="horizontal-cover-image"] .gevme-content-blocks-row,
.gevme-content-blocks-container.with-horizontal-cover-image .horizontal-cover-image-container gevme-content-block[name="horizontal-cover-image"] .gevme-content-blocks-row .gevme-content-blocks-column {
    height: 100%;
    max-height: 100%;
    width: 100%;
    max-width: 100%;
    padding: 0px;
    margin: 0px;
}

.gevme-content-blocks-container.with-horizontal-cover-image .horizontal-cover-image-container gevme-content-block[name="horizontal-cover-image"] .gevme-content-blocks-row .gevme-content-blocks-column:after {
    content: "";
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    display: inline-block;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 35.87%, rgba(24, 24, 24, 0.22) 100%),
        linear-gradient(360deg, rgba(0, 0, 0, 0.43) 0%, rgba(196, 196, 196, 0) 100%);
}

.gevme-content-blocks-container.with-horizontal-cover-image .horizontal-cover-image-container gevme-content-block[name="horizontal-cover-image"] .gevme-image-block .gevme-image-block-flex-container .gevme-image-block-flex-image,
.gevme-content-blocks-container.with-horizontal-cover-image .horizontal-cover-image-container gevme-content-block[name="horizontal-cover-image"] .gevme-imagelist-block .gevme-imagelist-block-flex-container .gevme-imagelist-block-flex-image,
.gevme-content-blocks-container.with-horizontal-cover-image .horizontal-cover-image-container gevme-content-block[name="horizontal-cover-image"] .gevme-imageslideshow-block .gevme-imageslideshow-block-flex-container .gevme-imageslideshow-block-flex-image {
    object-fit: cover;
}

.gevme-content-blocks-container.with-horizontal-cover-image .horizontal-cover-image-container .horizontal-logo-image-group {
    width: 100%;
    max-width: calc(100% - 72px);
    position: absolute;
    bottom: -32px;
    left: 36px;
    z-index: 1;
    display: grid;
    gap: 16px;
    grid-template-columns: 178px 1fr;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gevme-content-blocks-container.with-horizontal-cover-image .horizontal-cover-image-container .horizontal-logo-image-group gevme-content-block[name="horizontal-logo-image"] {
    height: 128px;
    width: 178px;
}

.gevme-content-blocks-container.with-horizontal-cover-image .horizontal-cover-image-container .horizontal-logo-image-group gevme-content-block[name="horizontal-logo-image"] .gevme-content-blocks-row {
    height: 100%;
    max-height: 100%;
    width: 100%;
    max-width: 100%;
    padding: 0px;
    margin: 0px;
}

.gevme-content-blocks-container.with-horizontal-cover-image .horizontal-cover-image-container .horizontal-logo-image-group gevme-content-block[name="horizontal-logo-image"] .gevme-content-blocks-row .gevme-content-blocks-column {
    height: 100%;
    max-height: 100%;
    padding: 0px;
    margin: 0px;
}

.gevme-content-blocks-container.with-horizontal-cover-image .horizontal-cover-image-container .horizontal-logo-image-group gevme-content-block[name="horizontal-logo-image"] .gevme-image-block .gevme-image-block-flex-container .gevme-image-block-flex-image,
.gevme-content-blocks-container.with-horizontal-cover-image .horizontal-cover-image-container .horizontal-logo-image-group gevme-content-block[name="horizontal-logo-image"] .gevme-imagelist-block .gevme-imagelist-block-flex-container .gevme-imagelist-block-flex-image,
.gevme-content-blocks-container.with-horizontal-cover-image .horizontal-cover-image-container .horizontal-logo-image-group gevme-content-block[name="horizontal-logo-image"] .gevme-imageslideshow-block .gevme-imageslideshow-block-flex-container .gevme-imageslideshow-block-flex-image {
    object-fit: cover;
}

.gevme-content-blocks-container.with-horizontal-cover-image .horizontal-cover-image-container .horizontal-logo-image-group gevme-content-block[name="horizontal-logo-text"] {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.gevme-content-blocks-container.with-horizontal-cover-image .horizontal-cover-image-container .horizontal-logo-image-group gevme-content-block[name="horizontal-logo-text"] .gevme-content-blocks-row,
.gevme-content-blocks-container.with-horizontal-cover-image .horizontal-cover-image-container .horizontal-logo-image-group gevme-content-block[name="horizontal-logo-text"] .gevme-content-blocks-row .gevme-content-blocks-column {
    width: 100%;
    max-width: 100%;
    padding: 0px;
    margin: 0px;
}

.gevme-content-blocks-container.with-horizontal-cover-image .horizontal-cover-image-container .horizontal-logo-image-group gevme-content-block[name="horizontal-logo-text"] .gevme-richtext-block .gevme-richtext-block-content p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

gevme-content-block .gevme-content-blocks-row {
    height: fit-content;
    max-height: 100%;
    max-width: 1200px;
    padding: 0px 8px 16px 8px;
    margin: 0px auto;
}

gevme-content-block .gevme-content-blocks-row .gevme-content-blocks-column {
    height: auto;
    max-height: 100%;
    position: relative;
    padding-right: 8px;
    padding-left: 8px;
    margin-top: 16px;
}

/* CSS TO FIX IMAGE SLIDESHOW BLOCK IMAGES BEING BLOWN UP IN POP UP */
.gevme-imageslideshow-block .gevme-carousel .gevme-carousel-track .gevme-carousel-list .gevme-carousel-slide .gevme-carousel-image {
    object-fit: contain;
}

/* OVERRIDING CSS FOR 3D FLAT VENUES */
.flat-3d .gevme-template-container .gevme-content-blocks-container {
    max-width: initial;
    height: 100%;
}

.flat-3d .gevme-template-container .gevme-content-blocks-container .page-container {
    height: 100%;
}

.flat-3d .gevme-template-container gevme-content-block {
    position: absolute;
    top: 0;
}

.flat-3d .gevme-template-container gevme-content-block .gevme-content-blocks-row {
    height: 100%;
    max-width: 100%;
    padding: 0;
}

.flat-3d .gevme-template-container .flat-3d-bg img {
    display: block;
    width: 100%;
}

.flat-3d .gevme-template-container gevme-content-block .gevme-content-blocks-row .gevme-content-blocks-column {
    padding: 0;
    position: absolute;
}

.flat-3d .gevme-template-container .gevme-content-block-fallback[data-content-fallback] {
    object-fit: fill;
}

/* CSS SO COVER IMAGE OF CONTENT BLOCK THAT HAS FIT-CONTENT TO RESPECT HEIGHT OF PARENT */
.flat-3d .gevme-template-container .gevme-template-showcase-block {
    height: 100% !important;
}


/* CSS TO MAKE CONTENT AREA OVERLAPPED BY LIVEBAR. REMOVE IF OVERLAPPING IS NOT INTENDED */
/* .flat-3d .gevme-template-container .gevme-content-blocks-container {
	width: calc(100vw - 70px);
  }
  
  .flat-3d .gevme-template-container .gevme-template-content {
	overflow-x: hidden;
  } */
/* END CSS TO MAKE CONTENT AREA OVERLAPPED BY LIVEBAR. REMOVE IF OVERLAPPING IS NOT INTENDED */

/* REMOVES UNNECESSARY VERTICAL SCROLL INSIDE MODAL WHEN CONTENT BLOCK HEADING IS VISIBLE */
.gevme-modal.visible .gevme-content-block-wrapper {
    display: flex !important;
    flex-direction: column;
}

/* FIX TO APPLY CONTENT BLOCK PADDING ONLY IN MODAL AND NOT INTO 3D FLAT COVER IMAGES */
.flat-3d .gevme-template-container .gevme-with-cover-image {
    padding: 0 !important;
}

/* END OVERRIDING CSS FOR 3D FLAT VENUES */

/* DEFAULT MODAL BG */
/* .gevme-modal .gevme-modal-container .gevme-modal-content {
    background: #2d3848;
} */

/* DEFAULT MODAL BG FOR RESOURCES BLOCK */
/* .gevme-modal.visible .gevme-resources-block .gevme-resources-block-card {
    background: #2d3848;
} */

/* FULL WIDTH BLOCK */
.gevme-content-full-width-container gevme-content-block .gevme-content-blocks-row,
.gevme-content-full-width-container {
	height: 100%;
}

.gevme-content-full-width-container gevme-content-block .gevme-content-blocks-row {
	flex-flow: column;
}

.gevme-content-full-width-container gevme-content-block .gevme-content-blocks-row .gevme-content-blocks-column {
	flex: 0 0 auto!important;
}




@media screen and (min-width: 575px) {
    /* CSS SO LIVESTREAM CONTENT BLOCK THAT HAS FIT-CONTENT TO RESPECT HEIGHT OF PARENT */
    .flat-3d .gevme-template-container .gevme-livestream-block-content {
        padding-top: unset;
    }

    .flat-3d .gevme-template-container .gevme-livestream-block-content .gevme-video-block {
        position: unset;
    }
}


@media screen and (min-width: 992px) and (max-height: 767px) {
    .gevme-modal.visible {
        height: 100% !important;
    }
    .gevme-modal.visible[data-content-block-modal-type="Resources"] {
        height: fit-content!important;
    }
}

@media screen and (max-width: 991px) and (max-height: 698px) {
    .gevme-modal.visible {
        height: 100% !important;
    }

    .gevme-modal.visible[data-content-block-modal-type="Resources"] {
        height: fit-content!important;
    }
}

/* CSS FOR ROTATE DEVICE OVERLAY */
#rotate-device {
    display: none;
}

@media screen and (min-width: 576px) and (orientation: portrait) and (pointer: coarse) {
    .flat-3d #rotate-device {
        display: flex;
        position: fixed;
        top: 0;
        background: #000;
        width: 100%;
        height: 100%;
        z-index: 9999999;
        justify-content: center;
        align-items: center;
    }

    .flat-3d #rotate-device>img {
        width: 60%;
    }
}

@media screen and (max-width: 767px) {

    /* FIX FOR EXTRA HEIGHT OF LIVEBAR WHEN IN MOBILE */
    .gevme-template-main .gevme-template-chat {
        height: 60px;
        flex: 0 0 60px !important;
    }

    /* FIX FOR MODAL BEING OVERLAPPED BY LIVEBAR IN MOBILE */
    .gevme-modal.visible {
        z-index: 999999999;
    }

    /* CSS TO MAKE CONTENT AREA OVERLAPPED BY LIVEBAR. REMOVE IF OVERLAPPING IS NOT INTENDED */
    /* .flat-3d .gevme-template-container .gevme-content-blocks-container {
	  width:100%;
	}
	.flat-3d .gevme-template-container .gevme-template-content {
	  overflow-x: auto;
	} */
}

@media screen and (max-width: 575px) {

    /*  COMMENTED AS NOT SURE WHAT THIS DOES IN THIS THEME
    .flat-3d .gevme-template-content {
        background: none !important;
    } */

    .flat-3d .gevme-template-container .flat-3d-bg {
        display: none;
    }

    .flat-3d .gevme-template-container gevme-content-block {
        position: static;
    }

    .flat-3d .gevme-template-container gevme-content-block .gevme-content-blocks-row .gevme-content-blocks-column:not([data-content-block-container-name*=floater]) {
        position: static !important;
        width: 100% !important;
        height: auto !important;
        transform: none !important;
        left: auto !important;
        top: auto !important;
    }

    .gevme-modal.visible {
        width: 100% !important;
    }

    /* CSS TO MAKE LIVESTREAM BLOCK FILL ENTIRE WIDTH BUT RESPECTING MARGIN ON SIDES */
    .flat-3d .gevme-template-container div[data-content-block-container-type="LiveStream"],
    .flat-3d .gevme-template-container div[data-content-block-container-type="Html"] {
        max-width: -moz-available !important;
        max-width: -webkit-fill-available !important;
        max-width: fill-available !important;
    }

    /* CSS TO REMOVE WHITE LINE BELOW LIVESTREAM BLOCK */
    .flat-3d .gevme-template-container .gevme-livestream-block-content .gevme-video-block-card {
        background: none;
    }
}

.gevme-content-blocks-column.gevme-column:has( div[class*="gevme-with-cover-image"]) {
    align-self: unset;
}

/* END THEME CSS */
/* END TEMPLATE SPECIFIC CSS */

/* welcome video */

/* .vjs-has-started.vjs-user-inactive.vjs-playing .vjs-control-bar,
.gevme-video-block .gevme-video-block-card .video-js .vjs-control-bar {
    visibility: hidden;
} */

.gevme-modal.visible[data-content-block-modal-name*="welcomevideo"] .vjs-has-started.vjs-user-inactive.vjs-playing .vjs-control-bar,
.gevme-modal.visible[data-content-block-modal-name*="welcomevideo"] .gevme-video-block .gevme-video-block-card .video-js .vjs-control-bar {
    visibility: hidden;
}

/* video,
.gevme-modal.visible iframe {
    pointer-events: none;
} */

.gevme-modal.visible .gevme-with-shadow {
    padding: 0 !important;
}

[data-content-block-modal-name*="welcomevideo-"] .gevme-modal-container .gevme-modal-header .gevme-modal-close,
[data-content-block-modal-name*="welcomevideo-"] .gevme-modal-container .gevme-modal-header .gevme-modal-action-button {
    display: none;
}

.gevme-modal[data-content-block-modal-name*="welcomevideo"] .gevme-modal-container .gevme-modal-header {
    height: 0;
}

[data-content-block-modal-name*="welcomevideo-"] .gevme-modal-container .gevme-modal-header.video-ended .gevme-modal-close,
[data-content-block-modal-name*="welcomevideo-"] .gevme-modal-container .gevme-modal-header.video-ended .gevme-modal-action-button {
    display: block;
}

.gevme-modal[data-content-block-modal-name*="welcomevideo"] .gevme-modal-container .gevme-modal-header.video-ended {
    height: 48px;
}

[data-content-block-modal-name*="welcomevideo-"] video::-webkit-media-controls-panel {
    display: none !important;
    opacity: 1 !important;
}

[data-content-block-container-name*="welcomevideo"] {
    position: absolute!important;
    left: -5000px;
}

.gevme-modal.visible [data-content-block-container-name*="welcomevideo"] {
    position: relative!important;
    left: 0;
}