.slider-4w {
  overflow: hidden !important;
}
.slider-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.slider-4w .fusion-builder-row {
  position: static !important;
}

.slide-4w {
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 0;
  opacity: 0;
  -webkit-transition: 0.8s ease-in-out;
  -o-transition: 0.8s ease-in-out;
  transition: 0.8s ease-in-out;
  margin: 0 !important;
}

.slider-4w .slide-4w .fusion-column-wrapper > div,
.slider-4w .slide-4w .fusion-column-wrapper > div > span,
.slider-4w .slide-4w .fusion-column-wrapper div > span > img {
  width: var(--site_width) !important;
  height: 100% !important;
}

.slider-4w .slide-4w .fusion-column-wrapper div > span > img {
  -o-object-fit: cover !important;
  object-fit: cover !important;
}

.slider-4w .slide-4w.active {
  z-index: 10;
  opacity: 1;
}

.slider-4w .slide-4w .fusion-column-wrapper {
  margin: 0 !important;
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-orient: horizontal !important;
  -webkit-box-direction: normal !important;
  -ms-flex-direction: row !important;
  flex-direction: row !important;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  /* background-attachment: fixed; */
  /* odkomentovat, pokdu chceme parallax efekt */
}

.controls {
  position: absolute !important;
  right: 0 !important;
  bottom: 0px !important;
  z-index: 100 !important;
  margin: 0;
  padding: 0;

  /* margin: 0rem 13.826rem !important; */
}
.controls > div,
.controls > div > div {
  margin: 0 auto !important;
}
.arrows {
  position: relative;
  max-width: var(--site_width);
  width: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  justify-content: end;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-flow: row wrap;
  flex-flow: row wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  margin: 0 auto !important;
}
.arrow-prev {
  background-color: var(--awb-color5);
  color: white;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.arrow-next {
  background-color: white;
  color: var(--awb-color5);
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.arrow-prev i,
.arrow-next i {
  width: 22px !important;
  height: 22px !important;
  /* velikost �ipek */
  cursor: pointer;
  -webkit-transition: 0.25s ease all;
  -o-transition: 0.25s ease all;
  transition: 0.25s ease all;
  /* barva �ipek */
}

.arrow-prev:hover {
  background-color: #292c35;
}
.arrow-next:hover {
  background-color: var(--awb-color3);
}

.slider-content-4w {
  position: absolute !important;
  top: 50%;
  -webkit-transform: translateY(-50%) translateX(-50%);
  -ms-transform: translateY(-50%) translateX(-50%);
  transform: translateY(-50%) translateX(-50%);
  width: 100%;
  max-width: calc(var(--site_width) - 100px);
  left: 50%;
  z-index: 110;
}
.slider-content p {
  width: 60%;
}

@media only screen and (max-width: 1024px) {
  /* nastavit ���ku layoutu pro tablet !!!! */
  .slider-content-4w h1 {
    font-size: 30px !important;
  }
}

/*SLIDER custom css*/
.slide-4w span {
  margin: 0;
}

div.controls {
  display: flex !important;
}

.arrow-prev,
.arrow-next {
  cursor: pointer;
}

/* overlay při střídání slidu - aby nechyběl kus overlay, tím, že sekce hned pod sliderem má margin negative */
.post-content > div:first-child {
  z-index: 99;
}

.post-content > div:nth-child(2) > div {
  z-index: 100;
}

/* END fix overlay */

.slider-heading > h1,
.slider-heading > h2,
.slider-heading > h3,
.slider-heading > h4,
.slider-heading > h5,
.slider-heading > h6 {
  max-width: var(--site_width) !important;
  margin: 0 auto !important;
}

/*end SLIDER*/
div.controls {
  display: flex !important;
}
.arrow-prev,
.arrow-next {
  cursor: pointer;
}
/* RESPO */
@media only screen and (max-width: 1425px) {
  .custom-slider {
    padding: 30px !important;
  }
  .custom-slider-content {
    width: 70% !important;
  }

  .slide > .fusion-column-wrapper {
    align-items: flex-start !important;
  }
  .slider-content {
    margin: 30px;
  }
  .slider-content {
    max-height: 55%;
  }
}
@media only screen and (max-width: 1149px) {
  .tisk-zprava-postcard li {
    width: 50% !important;
  }
}
@media only screen and (max-width: 1024px) {
  .stred {
    display: flex;
    justify-content: center;
  }
  .footer-qr .fusion-image-element {
    text-align: left !important;
  }
  div.controls {
    left: 30px !important;
    bottom: 0 !important;
  }
  .slider-heading > h1,
  .slider-heading > h2,
  .slider-heading > h3,
  .slider-heading > h4,
  .slider-heading > h5,
  .slider-heading > h6 {
    padding-top: 0 !important;
  }
}
@media (max-width: 640px) {
  .custom-slider-content {
    width: 100% !important;
  }
}
