.gf_memlb_hide {display:none !important;}

/** custom carousel */

.gf_carousel {
    position: relative;
    overflow: hidden;
}

.gf_carousel_track {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start !important;
    overflow-x: auto;
    width: auto;
    scroll-snap-type: x mandatory;
    /* scroll-behavior: smooth; */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE */
}

.gf_carousel_track::-webkit-scrollbar {
 display: none;
}

.gf_carousel_item {    
    flex: 0 0 auto;
    width: calc(100% / 4); /* 4 items by default */
    box-sizing: border-box;
    padding: 0.5rem;
    scroll-snap-align: start;
}

.gf_carousel_prev,
.gf_carousel_next {
    padding: 8px;
    width: 34px;
    height: 34px;
    position: absolute;
    top: 35%;
    transform: translateY(-50%);
    border: none;
    cursor: pointer;
    z-index: 2;
}

.gf_carousel_prev { left: 12px;}
.gf_carousel_next { right: 12px;}


@media (max-width: 1023px) {
    .gf_carousel_prev,
    .gf_carousel_next {
      display: none !important;
    }
  }
.gf_carousel_dot {
    opacity: 0.4 !important;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.gf_carousel_dot_active {
    opacity: 1 !important;
}

/* Accordions */
.gf_memlb_ac_content {
    position: absolute;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease;
    max-width: 100%;
    width: 0px;
    z-index: -1;
}
  
.gf_memlb_ac_active .gf_memlb_ac_text_closed {
    display: none;
}
  
.gf_memlb_ac_wrapper.gf_memlb_ac_active .gf_memlb_ac_text_closed {
    display: none;
}
  
.gf_memlb_ac_wrapper:not(.gf_memlb_ac_active) .gf_memlb_ac_text_open {
    display: none;
}
  
/* Rotate icon and reveal content when active */
.gf_memlb_ac_active .gf_memlb_ac_content {
    position: static;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    z-index: auto;
    width:100%;
}
.gf_memlb_ac_icon {
    transition: transform 0.3s ease;
}
.gf_memlb_ac_active .gf_memlb_ac_icon {
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}
.gf_memlb_ac_active .gf_memlb_ac_icon_180 {
    transform: rotate(180deg);
    position:relative;
    top:2px;
}

/* themes and its content */
.gf_memth_content {
    display: none;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.gf_memth_content.gf_memth_active {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.gf_memth_content_true {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* tabs */
.gf_memtb_tab {cursor:pointer;}
.gf_memtb_content {
  position: fixed;
  left: -9999px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.gf_memtb_content_active {
  position: static; /* or relative, depending on your layout */
  left: auto;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.gf_memtb_hidden {
  display: none !important;
}

/* lightboxes */
.gf_memlb_scrollable {
    scrollbar-width: thin;
    scrollbar-color: #d15c296b transparent;
}
  
.gf_memlb_scrollable::-webkit-scrollbar {
width: 6px;
}

.gf_memlb_scrollable::-webkit-scrollbar-thumb {
background-color: #d15c296b;
}

.gf_memlb_trigger {cursor:pointer;}

.gf_memlb_wrapper {
    position: fixed;
    top: -9999px;
    left: -9999px;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: -1;
}
  
.gf_memlb_wrapper.gf_memlb_active {
    top: 0;
    left: 0;
    z-index: 9999;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}
  
.gf_memlb_content {
    transform: scale(0.95);
    transform: scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
   
.gf_memlb_wrapper.gf_memlb_active .gf_memlb_content {
    transform: scale(1);
    opacity: 1;
}

body.gf_memlb_scroll_locked {
    overflow: hidden;
}
  
/* tiny mce */
.mce-container.mce-panel.mce-tinymce {
    border: 1px solid #ccc !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    overflow: hidden;
}
.mce-panel {
    border: none !important;
    border-radius: 4px !important;
    background-color: #fff;
}
  
/* spinner */
.gf_memlb_spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-top: 4px solid #D15C29;
    border-radius: 50%;
    animation: spinner_spin 0.8s linear infinite;
    box-sizing: border-box;
}

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

.gf_memlb_spinner_overlay_non_auto {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    transform: translate(-50%, -50%);
    z-index: 10;
    pointer-events: none;
}

.gf_memlb_spinner_overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    transform: translate(-50%, -50%);
    z-index: 10;
    pointer-events: none;
}  
.gf_memlb_dot_spinner_overlay {
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    pointer-events: none;
}

.gf_memlb_dot_spinner {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: center;
}

.gf_memlb_dot_spinner span {
    width: 6px;
    height: 6px;
    background-color: #4C778D90;
    border-radius: 50%;
    animation: dot_bounce 1.2s infinite ease-in-out;
}

.gf_memlb_dot_spinner span:nth-child(2) {
    animation-delay: 0.2s;
}
.gf_memlb_dot_spinner span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dot_bounce {
    0%, 80%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    40% {
        opacity: 1;
        transform: scale(1.6);
    }
}              

.gf_audio_player {width:100%;}
.mejs-container,
.mejs-embed,
.mejs-embed body,
.mejs-container .mejs-controls {
  width: 100% !important;
  max-width: 100% !important;
}

.mejs-container audio {
  width: 100% !important;
}
.mejs-container {filter:invert(1) opacity(0.75);}
.mejs-container, .mejs-container .mejs-controls, .mejs-embed, .mejs-embed body {
	background: #0000 !important;
}