/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/

/* Video Popup Modal */
.video-popup {
  display: flex;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 9999;
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.5s ease forwards;


/* pointer-events: none; */
  padding: 20px;
}
 


.video-popup-content {
  position: relative;
  background: #000;
  border-radius: 12px;
  max-width: 800px;
  width: 90%;
  max-height: 90vh;     /* ✅ fit within screen height */
  animation: slideUp 0.5s ease forwards;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
pointer-events: auto;


  display: flex;        /* ✅ make video auto-center */
  justify-content: center;
  align-items: center;
}




.video-popup-video {
  width: 100%;
  height: auto;
  max-height: 90vh;     /* ✅ shrink video if too tall */
  border-radius: 12px;
  object-fit: contain;  /* ✅ ensures full video stays visible */
}
.video-popup-close {
  position: absolute;
    top: 10px;
    right: 10px;
    background: #f7a100;
  color: #fff;
  font-size: 22px;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  cursor: pointer;
}
.video-popup-close:hover { background: #fff; color: var(--secColor); }




/* PiP Floating Thumbnail */
.video-pip {
  display: none;
  position: fixed;
  bottom: 150px;
  right: 20px;
  z-index: 1000;
  animation: slideIn 0.6s ease forwards;
}
.video-pip-video {
  width: 220px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  cursor: pointer;
}
.video-pip-close {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--secColor);
  color: #fff;
  font-size: 18px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  cursor: pointer;
}
.video-pip-close:hover { background: #fff; color: red; }




/* Animations */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { transform: translateY(40px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes slideIn { from { transform: translateY(80px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }




@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}