/*
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
*/
.biela p,
.biela p a {
  color: #ffffff !important;
}

.biela p a:hover,
footer a:hover {
  text-decoration: underline;
}

.fusion-copyright-notice {
  text-align: center;
}
.fusion-secondary-header,
.grecaptcha-badge {
  display: none !important;
}

.fusion-header {
  border-bottom: none !important;
}

/*## rozcestnik*/

.rozcest-box .fusion-column-wrapper {
  min-height: 515px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  overflow: hidden !important;
}

.rozcest-box h2 {
  font-size: 28px !important;
  text-transform: uppercase;
}

.rozcest-box.bgBox {
  width: calc(50% - 5px) !important;
}

/* .rozcest-box.smBox:nth-child(2) {
  width: calc(25% - 10px) !important;
} */

.rozcest-box .boxContent {
  height: 0px;
  display: flex;
  flex-direction: column;
  transition: 0.7s all;
  overflow: hidden;
}

.rozcest-box a {
  color: #fff !important;
  font-weight: 500;
  text-decoration: underline;
  padding: 4px 0;
  width: max-content;
}

.rozcest-box a i {
  font-size: 12px;
  padding-left: 3px;
  transition: 0.3s all;
}

.rozcest-box:hover .boxContent {
  color: #fff;
  height: 100px;
  transition: 0.7s all;
  overflow: visible;
}

.rozcest-box.bgBox:hover .boxContent {
  height: 150px;
}

.rozcest-box:hover #ConBox2 {
  height: 130px !important;
}

.hover-box:hover .fusion-column-inner-bg-image {
  background-color: #1e539c !important;
  transition: 0.5s all;
}

.hover-box .fusion-column-inner-bg-image {
  transition: 0.5s all;
}
.hover-box:hover h2 {
  color: #fff !important;
}

.background-dieselagregaty::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 100px;
  background-image: url("/wp-content/uploads/2020/08/background-dieselagregaty.png");
  background-repeat: no-repeat;
  z-index: -1;
  border-radius: 4px;
  height: 400px;
  width: 600px;
  background-size: 100%;
}

.background-elektrocentraly::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 100px;
  background-image: url("/wp-content/uploads/2020/08/elektrocentraly-background.png");
  background-repeat: no-repeat;
  z-index: -1;
  border-radius: 4px;
  height: 400px;
  width: 400px;
  background-size: 200%;
}

.background-dieselmotory::before {
  content: "";
  position: absolute;
  top: 0px;
  left: 100px;
  background-image: url("/wp-content/uploads/2020/08/dieselmotory-background.png");
  background-repeat: no-repeat;
  z-index: -1;
  border-radius: 4px;
  height: 400px;
  width: 400px;
  background-size: 200%;
}

@media only screen and (max-width: 1300px) {
  .rozcest-box .boxContent {
    height: unset !important;
    overflow: visible;
    color: #fff;
  }
  #post-2
    > div
    > div.fusion-fullwidth.fullwidth-box.fusion-builder-row-4.fusion-flex-container.nonhundred-percent-fullwidth.non-hundred-percent-height-scrolling {
    padding-right: 0;
  }
  #post-2
    > div
    > div.fusion-fullwidth.fullwidth-box.fusion-builder-row-4.fusion-flex-container.nonhundred-percent-fullwidth.non-hundred-percent-height-scrolling
    > div {
    flex-direction: column-reverse;
  }
  #post-2
    > div
    > div.fusion-fullwidth.fullwidth-box.fusion-builder-row-4.fusion-flex-container.nonhundred-percent-fullwidth.non-hundred-percent-height-scrolling
    > div
    > div.fusion-layout-column.fusion_builder_column.fusion-builder-column-7.fusion_builder_column_1_3.\31
    _3.fusion-flex-column
    > div {
    padding: 0 30px 50px 30px !important;
  }
  #reference > div {
    margin-top: 0 !important;
  }
  #post-2
    > div
    > div.fusion-fullwidth.fullwidth-box.fusion-builder-row-4.fusion-flex-container.nonhundred-percent-fullwidth.non-hundred-percent-height-scrolling
    > div
    > div.fusion-layout-column.fusion_builder_column.fusion-builder-column-6.fusion_builder_column_2_3.\32
    _3.fusion-flex-column {
    margin-bottom: 0 !important;
  }
  #wpcf7-f144-p2-o1 > form {
    padding-left: 18px;
    padding-right: 18px;
  }
}
