/*

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

*/

/* global */
.d-flex {display: flex} 
.justify-content-end {justify-content: flex-end} 
.align-items-center {align-items: center}

/* header */
header .wpml-ls-legacy-list-horizontal {
  padding: 7px 0px 7px 16px;
}

header .wpml-ls-legacy-list-horizontal a:last-of-type {
  padding: 5px 0px 6px 10px;
}

header .wpml-ls-legacy-list-horizontal ul {
  display: flex;
  justify-content: flex-end;
  flex-wrap: nowrap;
}
/*--*/

.awb-imageframe-style-navin .awb-imageframe-caption .awb-imageframe-caption-title {
  transition: all 0.35s !important;
}

.awb-imageframe-style-navin .awb-imageframe-caption .awb-imageframe-caption-text, .awb-imageframe-style-navin .awb-imageframe-caption .awb-imageframe-caption-title {
  opacity: 0;
}

.awb-imageframe-style-navin:hover .awb-imageframe-caption-text, .awb-imageframe-style-navin:hover .awb-imageframe-caption-title, .awb-imageframe-style-navin:hover img {
  opacity: 1;
}

.awb-imageframe-style-navin img {
  opacity: 1 !important;
  transform: none !important;
}

.img-full-width,
.img-full-width * {
  width: 100% !important;
  max-width: 100% !important;
}

.cerpadla_img img {
  object-fit: contain !important;
}

.checklist-modernizace {
   margin: 0 auto;
  text-align: left; 
  width: fit-content;
}


.loga img {
  max-height: 60px;
  object-fit: contain;
}

.menu-wrapper {

  display: flex;

  align-items: flex-end;

  flex-direction: column;

}




.hlavicka.fusion-sticky-transition {

    box-shadow: 0px 4px 16px 0px rgba(0, 0, 0, 0.1) !important;

}



.col__imgfill .fusion-column-wrapper,

.col__imgfill .fusion-column-wrapper .fusion-image-element,

.col__imgfill .fusion-column-wrapper .fusion-image-element .fusion-imageframe,

.col__imgfill .fusion-column-wrapper .fusion-image-element .fusion-imageframe img  {

    width: 100%;

    height: 100%;

}



.col__imgfill .fusion-column-wrapper .fusion-image-element .fusion-imageframe img {

object-fit: cover;

}



.p_nomargin p:last-of-type {margin-bottom: 0px;}



.col__fw-paddingright.fusion-layout-column > .fusion-column-wrapper { 

  padding-right: calc( ( 100vw - var(--site_width) ) / 2 )



}



/* hero */

.cont__darkgradtop,

.box-linesdec,

.img-linesdec {

  position: relative;

}



.cont__darkgradtop::before {

  position: absolute;

  content: '';

  top: 0;

  left: 0;

  width: 100%;

  height: 50%;

  background: linear-gradient(178deg,rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 70%)


}



/* lines dec */



.box-linesdec::before {

  content: '';

    position: absolute;

    top: -30px;

    width: 80px;

    height: calc(100% + 60px);

    background: url(/wp-content/uploads/2025/05/srafovani-white.webp) center center no-repeat;

    background-size: cover;

    opacity: 0.25;

}



.img-linesdec::before {

  content: '';

  position: absolute;

  background: url(/wp-content/uploads/2025/05/srafovani-white.webp) center bottom;

  background-repeat: repeat-y;

  z-index: 2;

  opacity: 0.5;

  right: 0;

  bottom: 0;

  height: 100%;

  width: 110px;

  background-size: contain

}





/* usp */

.box-usp svg {

  width: 48px;

  height: 48px;

  margin-bottom: 0.5rem;

  fill: var(--awb-color6)

}

/* Ke stažení */


.box-stazeni > div .fb-icon-element {
--awb-iconcolor: #00bbee !important;
}

.box-stazeni > span:hover ~ div .fb-icon-element {
--awb-iconcolor: #fff !important;
}

@media only screen and (max-width: 768px) {
  .fusion-flex-container .fusion-row .fusion-flex-column 
  .fusion-column-wrapper:not(.fusion-flex-column-wrapper-legacy).fusion-content-layout-row {
      flex-wrap: nowrap !important;
  }
}

@media only screen and (max-width: 1280px) {
  .awb-menu.collapse-enabled {
    justify-content: flex-end !important; 
  }
}


@media only screen and (max-width: 776px) {
  .loga .fusion-column-wrapper {
    display: flex !important;
    flex-direction: column !important;
  }
}

@media only screen and (max-width: 500px) {
    header .fusion-image-element  {
      max-width: 140px;
      margin-right: 1rem;
    }
    header .wpml-ls-legacy-list-horizontal {
    padding: 7px 0px 7px 0px;
    }
    header .menu-wrapper {flex: 1;}

    header .fontawesome-icon.fb-icon-element.circle-yes {margin: 0px;}
}

/* Kotvy */

#valce {
  scroll-margin-top: 100px !important; 
}

#rollers {
  scroll-margin-top: 100px !important; 
}
