/*
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 STYLES */
/* ************ */

/* ************** */
/* HEADER STYLES */
/* ************ */

/* ************** */
/* FOOTER STYLES */
/* ************ */
.fusion-breadcrumbs,
.fusion-breadcrumbs a {
  color: white !important;
}

.fusion-page-title-row {
  position: relative;
  z-index: 9999999;
}

h4.fusion-rollover-title {
  font-size: 1rem !important;
}

.fusion-portfolio {
  margin-bottom: 0;
}

.tfs-slider .background-image::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  background: #1414148c;
  left: 0;
  top: 0;
  opacity: 1;
}

.avada-page-titlebar-wrapper {
  position: relative;
}

.tfs-slider .background-image::after,
.avada-page-titlebar-wrapper::after {
  background: linear-gradient(
    130deg,
    #00000045 51%,
    #00000045 71%,
    #00000045 71%,
    #00000017 71.8%
  );
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  opacity: 0.6;
}

.avada-page-titlebar-wrapper::after {
  background: linear-gradient(
    130deg,
    #00000094 51%,
    #00000094 71%,
    #00000094 71%,
    #00000017 71.8%
  );
}

.heading h1,
.heading h2 {
  color: white;
  font-size: 3rem !important;
  line-height: 4rem !important;
}

.tfs-slider.main-flex {
  overflow: visible !important;
}

.flex-nav-prev,
.flex-nav-next {
  position: absolute;
  bottom: 46px;
  right: 230px;
  z-index: 999999;
}
.flex-nav-next {
  right: 25px;
}

.tfs-slider .flex-direction-nav a {
  display: block !important;
  opacity: 1;
}

.tfs-slider .flex-direction-nav a {
  transform: translateY(-50%) skewX(-14deg);
}

.main-flex .flex-next,
.main-flex .flex-prev {
  background-color: #dda429;
  opacity: 1 !important;
}

.main-flex .flex-next:hover,
.main-flex .flex-prev:hover {
  background-color: #696969;
  color: #fff;
}

.tfs-slider .flex-direction-nav a {
  width: 93px !important;
  height: 93px !important;
  line-height: 93px !important;
  font-size: 35px;
}

#reference h2 {
  max-width: 1200px;
  margin: 0 auto !important;
}

#o-nas::before {
  background: linear-gradient(
    130deg,
    #ffffffcc 21%,
    #ffffffcc 51%,
    #ffffffcc 51%,
    transparent 51.8%
  );
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
}

.sluzbaBox .fusion-column-wrapper {
  background: white;
  min-height: 570px;
}

.imgRight::before,
.imgLeft::before {
  content: "";
  background: url(/wp-content/uploads/2022/02/shape-right.svg) no-repeat;
  width: 300px;
  height: 225px;
  position: absolute;
  right: -130px;
  bottom: -40px;
  background-position: right bottom;
}

/* co nabizime */

#logoBG {
  position: absolute;
  opacity: 0.04;
  left: -20%;
  width: 70%;
}
#co-nabizime::before {
  background: linear-gradient(
    120deg,
    #f4f4f4 31%,
    #f4f4f4 51%,
    #f4f4f4 51.3%,
    #ffffff17 51.8%
  );
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

.fusion-lottie {
  max-width: 80px;
  margin: 0 auto;
  margin-bottom: -25px !important;
}

.sluzbaBox .fusion-column-wrapper {
  position: relative;
  transition: filter ease-in 0.2s;
}

.sluzbaBox .fusion-column-wrapper::before {
  content: "";
  background: #2b2b2bab;
  position: absolute;
  width: 100%;
  height: 100%;
  transition: background ease-in 0.2s;
}

.sluzbaBox:hover .fusion-column-wrapper::before {
  background: #535353d4;
  transition: background ease-in 0.2s;
}

.sluzbaBox:hover .fusion-column-wrapper {
  filter: saturate(0);
  transition: filter ease-in 0.2s;
}

.sluzbaBox .fusion-title {
  padding: 0 30px;
}

.sluzbaBox .fusion-text {
  padding: 0 30px;
  max-height: 0;
  overflow: hidden;
  transition: max-height ease-in 0.2s;
  z-index: 999;
}

.sluzbaBox:hover .fusion-text {
  max-height: 100%;
  transition: max-height ease-in 0.2s;
}

/* reference */

/* #reference::before {
    content: "";
    background: #dda429;
    width: calc( 50% - 500px );
    height: 100%;
    position: absolute;
    left: -290px;
    top: 40px;
}*/

#reference {
  background: linear-gradient(
    120deg,
    #f4f4f4 11%,
    #f4f4f4 31%,
    #f4f4f4 31.3%,
    #ffffff17 31.8%
  );
}

.fusion-content-boxes {
  margin-bottom: 0;
}

.fusion-content-boxes .fusion-column,
.fusion-content-boxes .heading {
  margin-bottom: 5px !important;
}

.fusion-content-boxes.content-boxes-icon-with-title
  .content-icon-wrapper-yes
  .heading-with-icon
  .icon
  span {
  margin-right: 15px;
}

h3.content-box-heading {
  font-family: "Play";
  text-transform: uppercase;
  font-size: 1.3rem !important;
}

.imgLeft::before {
  background: url(/wp-content/uploads/2022/02/shape-left.svg) no-repeat;
  right: unset;
  left: -130px;
}

.fusion-grid-column {
  height: 270px !important;
  overflow: hidden !important;
}

.fusion-grid-column a,
.fusion-gallery-image {
  height: 100% !important;
}

.fusion-grid-column img {
  height: 100% !important;
  object-fit: cover;
}

/* kontakt */

#kontakt h3,
#kde-nas-najdete h3 {
  font-size: 1.7rem !important;
}

#kontakt h4,
#kontakt h5 {
  font-size: 1.1rem;
}

.yellowBox div.fusion-column-wrapper {
  z-index: 999;
  color: white !important;
  padding: 30px !important;
}
.yellowBox {
  position: relative;
}

.yellowBox a {
  color: white;
}

.yellowBox::before,
.yellowBox::after {
  content: "";
  background: #dda429;
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 0;
  transform: skew(-30deg, 0deg);
  right: 124px;
}

.yellowBox::after {
  transform: none !important;
  right: 23px;
}

#kontakt .fusion-builder-row-inner {
  justify-content: space-between;
}

.fusion-copyright-notice a:first-of-type {
  margin-right: 10px;
}

/* RESPO */
@media (min-width: 1101px) and (max-width: 1635px) {
  .flex-nav-prev,
  .flex-nav-next {
    bottom: 183px;
  }
}

@media (max-width: 1100px) {
  .imgRight {
    margin-top: 0 !important;
    align-items: center;
  }

  .yellowBox::before {
    right: 150px;
  }

  .yellowBox div.fusion-column-wrapper {
    padding-left: 0 !important;
  }
}

@media (min-width: 801px) and (max-width: 1100px) {
  .content-box-column-7,
  .content-box-column-8,
  .content-box-column-9,
  .content-box-column-10,
  .content-box-column-11,
  .content-box-column-12 {
    display: none;
  }
}

@media (max-width: 800px) {
  .flex-nav-prev,
  .flex-nav-next {
    display: none;
  }

  header.fusion-header-wrapper {
    z-index: 999999999;
  }

  .single-avada_portfolio main {
    padding: 30px !important;
  }

  #o-nas::before {
    display: none;
  }

  h1,
  h2,
  .heading h1,
  .heading h2 {
    font-size: 2rem !important;
    line-height: 2.8rem !important;
  }

  .tfs-slider,
  .tfs-slider li,
  .tfs-slider ul,
  .tfs-slider .background,
  .fusion-slider-container {
    min-height: 500px;
  }

  .home .fusion-fullwidth {
    padding: 30px !important;
  }
}
/* 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;
}

/* ***************** */
/* RESPONSIVE STYLES */
/* ***************** */
