/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

.instant_popup-front {

    display: none;
}


video#ipb_video_front {
    width: 100%;
    height: 100%;
}
.instant_overlay {
    width: 100%;
    padding: 50px;
    left: 0;
    top: 0;
    z-index: 99;
    display: flex;
    position: fixed;
    /* width: 100%; */
    background: #000000ad;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.intant-popup-type-image i {
    color: black;
}

img#popup_image_front {
    border-radius: 10px;
    z-index: 10000;
    /* height: 80vh; */  /* Height is commented out - FREE */
    width: 100%;          /* Width is 100% - responsive */
    object-fit: cover;     /* Maintains aspect ratio */
}

.intant-popup-type-image .inner_content {
    width: 100%;
}

.intant-popup-type-image.instant-popup-content {
    background: transparent !important;
    padding: 0;           /* No padding - FREE */
    width: fit-content;    /* Width fits content - FREE */
}

.pointer_class {

    pointer-events: auto;
}
.pointer_class i {
    background: red;
    border-radius: 50px;
}

.ql-align-center {
    text-align: center;
}
.ql-align-right {
    text-align: right;
}
.ql-align-left {
    text-align: left;
}
.pointer_rc {
    pointer-events: none;

}

.instant-popup-content {
    scrollbar-width: none;
    top: 20px;
    position: relative;
    background: transparent;
    padding: 20px 25px;
    width: auto;
    min-width: 300px;
    max-width: 80%;
    height: auto;
    min-height: 200px;
    /* margin: 0 auto; */
    border-radius: 10px;
}

.instant-cross {
    z-index: 99999;
    cursor: pointer;
    /* top: -10px; */
    position: absolute;
    /* right: 1px; */
}

.instant-cross i {
    font-size: 32px;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 5;
    }

    70% {
        opacity: 7;
    }

    100% {
        opacity: 1;
    }
}

@-moz-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 5;
    }

    70% {
        opacity: 7;
    }

    100% {
        opacity: 1;
    }
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 5;
    }

    70% {
        opacity: 7;
    }

    100% {
        opacity: 1;
    }
}

@-o-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 5;
    }

    70% {
        opacity: 7;
    }

    100% {
        opacity: 1;
    }
}

@-ms-keyframes fadeIn {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 5;
    }

    70% {
        opacity: 7;
    }

    100% {
        opacity: 1;
    }
}


/* video popup */

  /* Hide the play/pause button in Chrome, Edge, Opera */
  .video_pause_c::-webkit-media-controls-play-button {
    display: none !important;
  }

  /* Hide the play/pause button in Safari (partial support) */
  /* video::-webkit-media-controls {
    display: none !important;
  } */

  /* Ensure volume, seek, and fullscreen controls remain visible */
  /* video::-webkit-media-controls-volume-slider, */
  /* video::-webkit-media-controls-mute-button, */
  video::-webkit-media-controls-timeline,
  video::-webkit-media-controls-fullscreen-button {
    display: block !important;
  }

  .video_mute_c::-webkit-media-controls-mute-button{

        display: none !important;
  }

  .video_vol_c::-webkit-media-controls-mute-button{

    display: none !important;
  }

  /* For Firefox - no granular control over play/pause buttons */
  

/* end video popup */

/* Mobile responsive */


@media (max-width: 767px) {

    img#popup_image_front {
        /* height: 50vh; */
        border: none !important;
    }
    .instant_overlay {
         padding: 0px;
     }
}



/* relative css */
/* Scale all common text elements inside */
.intant-popup-type-text {
  container-type: inline-size;
}

/* Headings */
.intant-popup-type-text h1 {
  font-size: clamp(1.5rem, 6cqw, 3em);
  margin: 0;
}
.intant-popup-type-text h2 {
  font-size: clamp(1.3rem, 5cqw, 2.5em);
  margin: 0;
}
.intant-popup-type-text h3 {
  font-size: clamp(1.1rem, 4cqw, 2em);
  margin: 0;
}
.intant-popup-type-text h4 {
  font-size: clamp(1rem, 3cqw, 1.8em);
  margin: 0;
}
.intant-popup-type-text h5 {
  font-size: clamp(0.9rem, 2.5cqw, 1.5em);
  margin: 0;
}
.intant-popup-type-text h6 {
  font-size: clamp(0.8rem, 2cqw, 1.3em);
  margin: 0;
}

/* Text-based elements */
.intant-popup-type-text p,
.intant-popup-type-text span,
.intant-popup-type-text a,
.intant-popup-type-text ul,
.intant-popup-type-text ol,
.intant-popup-type-text li,
.intant-popup-type-text label {
  font-size: clamp(0.75rem, 1.9cqw, 1.2em);
  line-height: 1.5;
  margin: 0;
}

/* Table elements */
.intant-popup-type-text table,
.intant-popup-type-text th,
.intant-popup-type-text td {
  font-size: clamp(0.8rem, 1.8cqw, 1.3em);
}

/* Forms & buttons */
.intant-popup-type-text input,
.intant-popup-type-text select,
.intant-popup-type-text textarea,
.intant-popup-type-text button {
  font-size: clamp(0.8rem, 1.8cqw, 1.3em);
}

/* Code/Pre elements */
.intant-popup-type-text code,
.intant-popup-type-text pre {
  font-size: clamp(0.7rem, 1.6cqw, 1.1em);
  font-family: monospace;
}

/* Blockquote */
.intant-popup-type-text blockquote {
  font-size: clamp(0.9rem, 2cqw, 1.4em);
  font-style: italic;
}

/* Small text */
.intant-popup-type-text small {
  font-size: clamp(0.6rem, 1cqw, 0.9em);
}

/* Inline emphasis */
.intant-popup-type-text b,
.intant-popup-type-text strong {
  font-size: clamp(0.8rem, 1.6cqw, 1.2em);
  font-weight: bold;
}

.intant-popup-type-text em {
  font-size: clamp(0.8rem, 1.6cqw, 1.2em);
  font-style: italic;
}
