/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/
.hide {
  display: none;
}
.opacity0 {
  opacity: 0;
}
.relative {
  position: relative;
}
.absolute {
  position: absolute;
}
.flex {
  display: flex;
}
.gap20 {
  gap: 20px;
}
.gap15 {
  gap: 10px;
}
.flex1 {
  flex: 1;
}
.flex3 {
  flex: 3;
}
.j-c-sb {
  justify-content: space-between;
}
.j-c-c {
  justify-content: center;
}
.j-c-e {
  justify-content: end;
}
.a-i-sb {
  align-items: space-between;
}
.a-i-c {
  align-items: center;
}
.a-i-e {
  align-items: end;
}
.col-img-full-height * {
  height: 100%;
  width: auto !important;
}
.col-img-full-height img {
}

/* ************** */
/* GLOBAL STYLES */
/* ************ */
.separator-decoration:before {
  content: "";
  position: absolute;
  display: inline-block;
  left: 0;
  top: -4px;
  height: 10px;
  width: 10px;
  border-radius: 50%;
  background: #c10722;
}
/* ************** */
/* HEADER STYLES */
/* ************ */
.topbar_contacts {
  margin-bottom: 10px !important;
}
.langs {
  margin-left: 30px;
}
.langs .fusion-imageframe {
  border-radius: 4px !important;
}
.langs img {
  width: 28px !important;
  height: auto !important;
}
/* ************** */
/* FOOTER STYLES */
/* ************ */
/* FOOTER - 4ws consent */
.fworks_consent_shortcode {
  display: inline-block !important;
  color: var(--link_color) !important;
  transition: 0.3s ease all;
  text-decoration: underline !important;
  text-underline-offset: var(--awb-link_decoration_underline_offset);
}

.fworks_consent_shortcode:hover {
  color: var(--link_hover_color) !important;
  text-decoration: none !important;
}

.fworks_consent_button_settings {
  text-decoration: none !important;
}
.hero-video-bg video {
  height: 500px !important;
}
.hero-video-bg_container,
.video-wrapper {
  position: relative;
}
.video-wrapper::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 60%;
  left: 0;
  bottom: 0;
  background: linear-gradient(360deg, #431000 0%, rgba(237, 221, 83, 0) 100%);
  z-index: 1;
}
.off-canvas-content .video-wrapper::before {
  content: none;
}
.hero-video-bg_container::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 50%;
  width: 100%;
  background: linear-gradient(360deg, #acb2b76e 0%, rgba(237, 221, 83, 0) 100%);
  z-index: 10;
}
/* 1. The Overlay (Background Dimmer) */
.hero-video-bg .absolute {
  max-width: 100%;
  position: absolute;
  bottom: 0;
  width: 96%;
  height: 94%;
}
.video-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  z-index: 155; /* High z-index, just below video */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease;
  backdrop-filter: blur(5px);
}

/* 2. Active State for Video Container */
body.video-active .hero-video-bg div.absolute {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  width: 80vw !important; /* Use viewport width */
  max-width: 1200px !important;
  height: auto !important;
  aspect-ratio: 16/9 !important;
  z-index: 99999 !important; /* Higher than Avada header */
  transform: translate(-50%, -50%) scale(1) !important; /* Reset scale to 1 for clean display */
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5) !important;
  border-radius: 12px !important;
  margin: 0 !important; /* Remove any theme margins */
  padding: 0 !important; /* Remove any theme padding */
  overflow: hidden !important;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

/* 3. Active State for Overlay */
body.video-active .video-overlay {
  opacity: 1;
  visibility: visible;
  cursor: pointer;
}

/* 4. Ensure Video Fills Container */

/* 5. Hide the play button when video is active */
body.video-active .btn-play {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.btn-play {
  position: absolute !important;
  bottom: 5%;
  right: 5%;
  z-index: 2;
}

/* SERVICES ANCHORS*/
/* .services-items .service-item:first-child {
  margin-left: 20px !important;
}
.services-items .service-item:last-child {
  margin-right: 20px !important;
} */
.service-item .fusion-column-wrapper:hover .fusion-title,
.service-item:hover .fusion-column-wrapper .fusion-title h2 {
  color: white !important;
}
.service-item:hover .fusion-column-wrapper {
  background: linear-gradient(
    360deg,
    rgba(106, 13, 11, 1) 0%,
    rgba(164, 11, 8, 1) 100%
  ) !important;
}
.service-item .fusion-imageframe {
  transition: all ease-in-out 0.4s;
}
.service-item:hover .fusion-imageframe {
  transform: scale(1.1);
}
.quote .fusion-column-wrapper,
.content-box-wrapper {
  position: relative;
}
.quote .fusion-column-wrapper::before,
.quote .fusion-column-wrapper::after {
  position: absolute;
  width: 100%;
  height: 100%;
  color: black;
  font-size: 100px;
  line-height: 100px;
  font-style: italic;
}
.quote .fusion-column-wrapper::before {
  content: '"';
  top: 0;
  left: 0;
}
.quote .fusion-column-wrapper::after {
  content: ",,";
  bottom: 0;
  right: 0;
}
.ups-wrapper {
  display: flex;
  gap: 40px;
}
.ups-item {
  text-align: center;
  font-weight: 900;
  color: var(--awb-color5);
}
.ups-wrapper.eco .ups-item {
  color: #1c4827;
}
.ups-item p {
  margin: 0 !important;
  background: white;
}
.ups-wrapper.intro .ups-item p {
  margin-top: 12px !important;
  font-size: 20px !important;
}
.ups-title {
  font-size: 50px;
  font-weight: 900;
  color: white;
  background-color: white;
  text-shadow: -1px -1px 0 var(--awb-color5), 1px -1px 0 var(--awb-color5),
    -1px 1px 0 var(--awb-color5), 1px 1px 0 var(--awb-color5);
  line-height: 40px;
}
.ups-wrapper.intro .ups-title {
  font-size: 90px;
}
.ups-wrapper.eco .ups-title {
  text-shadow: -1px -1px 0 #14671f, 1px -1px 0 #14671f, -1px 1px 0 #14671f,
    1px 1px 0 #14671f;
}
.eco-content-boxes i {
  background-color: #1c4827 !important;
}
/* SKLADOVE PROSTORY */
.fusion-tabs {
  background-color: white !important;
  border-radius: 12px !important;
}
.fusion-tabs ul.nav-tabs {
  background-color: transparent !important;
}
.fusion-tabs ul.nav-tabs li:hover a {
  background-color: #eeeef0 !important;
}
.fusion-tabs ul.nav-tabs li:hover a * {
  color: var(--awb-title-active-text-color) !important;
}
.tab-pane {
  min-height: 458px;
  border-radius: 12px;
}
.kontaktni-osoby {
  display: flex;
  gap: 40px;
  background-color: #f1f5f9;
  padding: 20px;
  border-radius: 14px;
  flex: 1.5;
  justify-content: center;
  align-items: center;
}
.kontaktni-osoby img {
  width: 70%;
  max-width: 160px;
  height: auto;
  border-radius: 50%;
  margin-bottom: 20px;
}
.kontaktni-osoby .kontakt {
  text-align: center;
}
.kontaktni-osoby .kontakt .person,
.skladovy-prostor-detail .content strong {
  font-weight: 600;
  color: black;
}
.kontaktni-osoby .kontakt p {
  margin-bottom: 4px;
}
/* SKLADOVE PROSTORY */
ul.check-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 0;
  margin: 0;
  list-style: none;
  justify-content: center;
}
ul.check-cards li {
  background-color: #f7f7f71a !important;
  border-radius: 8px;
  padding: 20px !important;
  flex: 1 1 calc(33.333% - 40px);
  box-sizing: border-box;
  text-align: center;
  min-width: 250px;
}
ul.check-cards li p,
ul.check-cards li .fusion-li-item-content {
  text-align: left;
}
/* VAS */
.card-icon svg {
  stroke: white !important;
  margin-bottom: 4px;
}
.card-icon .fusion-column-wrapper {
  justify-content: start !important;
}
.sec-sep {
  position: relative;
}
.sec-sep::before {
  content: "";
  background: url(/wp-content/uploads/2025/12/sep-2.svg) no-repeat;
  position: absolute;
  right: -133px;
  width: 500px;
  height: 120px;
  background-size: contain;
  top: -27px;
  z-index: 50 !important;
  filter: brightness(0.7);
}
.sec-sep.left::before {
  left: -138px !important;
  top: 0 !important;
}
/* ECO */
.eco .ups-item {
  background: linear-gradient(
    90deg,
    rgba(28, 72, 39, 1) 0%,
    rgba(20, 103, 31, 1) 80%
  );

  padding: 10px;
}
.eco .ups-title {
  background-color: transparent;
}
.content-box-wrapper {
  border-left: 4px solid #1c4827;
}
/* .content-box-wrapper::before {
  content: url("/wp-content/uploads/2025/11/planting_256.webp");
  position: absolute;
  width: 256px;
  height: 256px;
  bottom: 0;
  right: 30px;
  transform: scale(1.5);
  opacity: 0.2;
  z-index: 0;
} */
/* ***************** */
/* RESPONSIVE STYLES */
/* ***************** */

.grecaptcha-badge {
  display: none !important;
}

.otgs-development-site-front-end {
  display: none;
}
.lang-switcher ul {
  display: flex;
}
.lang-switcher li img {
  max-width: 28px;
  min-width: 24px;
  border-radius: 3px;
}

.lang-switcher,
.lang-switcher > div {
  display: flex;
  align-items: center;
  animation: slide-bottom 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1s both;
  height: 100%;
}
.lang-switcher > div > div {
  display: flex;
  align-items: center;
  padding: 6px 12px !important;
  /* background-color: #f3f3f4; */
  animation: slide-bottom 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1s both;
  height: 100%;
}
.lang-switcher li {
  width: 100%;
  padding: 6px 12px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  -webkit-animation: slide-bottom 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.5s
    both;
  animation: slide-bottom 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) 1.5s both;
}
.lang-switcher li:hover {
  transform: translateX(0.5rem);
  font-weight: 600 !important;
  color: var(--awb-color5);
}
.lang.active {
  font-weight: 600 !important;
  color: var(--awb-color5);
}
html[lang="de-DE"] .lang-switcher {
  position: absolute;
  right: -60px;
  top: 0%;
}

/* RESPO */
@media (max-width: 749px) {
  .hero-content {
    position: absolute !important;
    top: 0 !important;
  }
  .skladovy-prostor-detail {
    flex-direction: column !important;
    gap: 20px !important;
  }
  .fusion-tabs h3 {
    font-size: 18px !important;
  }
  .checklist-centered li.fusion-li-item {
    display: flex !important;
    justify-content: center !important;
  }
}
/* AUTO */
@media (749px < width <= 930px) {
  .fusion_builder_column_1_2 {
    width: 100% !important;
  }
  .fusion_builder_column_3_5,
  .fusion_builder_column_1_3 {
    width: 50% !important;
  }
  .fusion_builder_column_1_3:nth-child(odd) > .fusion-column-wrapper {
    margin-right: 10px !important;
  }
  .fusion_builder_column_1_3:nth-child(even) > .fusion-column-wrapper {
    margin-left: 10px !important;
  }
}
@media (max-width: 749px) {
  .fusion-woo-product-images,
  .woocommerce-product-gallery,
  .woocommerce-product-gallery__wrapper,
  .woocommerce-product-gallery__wrapper * {
    height: 288px;
  }
  .fusion-woo-product-images img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  .woocommerce-product-gallery {
    justify-content: center;
  }
}
@media (max-width: 500px) {
  .product-items ul.fusion-grid-posts-cards > li.product {
    width: 100% !important;
  }
}
/* AUTO end */
