/* 
Theme Name: Dejmo se videt
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


/* ------------------------------------- */

:root {
  --safe-top: env(safe-area-inset-top, 0px);
  --vv-offset-top: 0px; /* set by JS */
}

/* Hidden by default */
.header-sticky {
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

/* Show when Elementor marks it sticky */
.header-sticky.elementor-sticky--active,
.header-sticky.elementor-sticky--effects {
  opacity: 1;
  pointer-events: auto;
}

/* Hide main header when sticky is active */
.header-main.elementor-sticky--active,
.header-main.elementor-sticky--effects {
  opacity: 0;
  pointer-events: none;
}

/* Fixed header that sits below URL bar + notch */
.header-sticky.elementor-sticky--active,
.header-sticky.elementor-sticky--effects {
  position: fixed !important;
  top: calc(var(--safe-top) + var(--vv-offset-top));
  left: 0;
  width: 100%;
  z-index: 9990 !important;
  background: inherit; /* or a solid color */
  transform: translateZ(0); /* avoids repaint glitches */
}

/* 2) Ensure Elementor Popup (overlay + content) is above everything */
.dialog-widget.dialog-lightbox,
.dialog-widget.dialog-lightbox .dialog-overlay,
.dialog-widget.dialog-lightbox .dialog-widget-content,
.elementor-popup-modal,
.elementor-popup-modal .dialog-widget-content {
  z-index: 100000 !important;
}

/* Make sure no ancestor blocks layering */
.elementor-location-header { overflow: visible !important; }

/* -------------------------- */

/* hover za close, itak ne dela */
.dialog-close-button:hover {
  fill: #DFFF1E!important;
}

/* oblaček margin spodaj */
.oblacek-sem-vid p {
  margin-bottom: 0;
}

html.elementor-popup-open {
  overflow: hidden !important;
  position: fixed !important;
  width: 100% !important;
  height: 100% !important;
}


/* odstavek brez margin bottom */

.odstavek-brez p {
  margin-bottom: 0 !important;
}
