/**
 * Theme Name: Blocksy Child
 * Description: Blocksy Child theme
 * Author: Creative Themes
 * Template: blocksy
 * Text Domain: blocksy
 */
 

[data-menu] > ul > li > a::after {
    top: var(--menu-indicator-y-position, 0);
}

.ico-tel {
  background: url('images/ico-tel.png') no-repeat;
  width: 19px;
  height: 19px;
  display: inline-block;
  margin-right: 10px;
  vertical-align: middle;
}

.ico-email {
  background: url('images/ico-email.png') no-repeat;
  width: 18px;
  height: 18px;
  display: inline-block;
  margin-right: 10px;
  vertical-align: middle;
  margin-left: 40px;
}

.contact-header {
  position: relative;
  margin-left: 25px;
}

.contact-header:before {
  content: "";
  width: 15px;
  height: 2px;
  background: #001E6C;
  left: -25px;
  top: 17px;
  position: absolute;
}

.header-line {
    position: relative;
    margin-bottom: 40px;
}

.header-line:before {
    content: '';
    width: 110px;
    height: 4px;
    position: absolute;
    bottom: -30px;
    background: #001D69;
    left: 0;
    right: 0;
    margin: 0 auto;    
}

.main-slider .wp-block-kadence-advancedheading {
  position: relative;
  padding-left: 20px;
}

.main-slider .wp-block-kadence-advancedheading:before {
    content: '';
    height: 100%;
    border-left: 6px solid #fff;
    position: absolute;
    left: 0;
    top: 0;  
}

@media all and (min-width: 1200px) {
  .main-slider .wp-block-kadence-advancedheading {
    padding-left: 50px;
  }  
}

/*about*/

.about-slider .wp-block-media-text__content {
  padding: 20px;
}

.about-slider .wp-block-eedee-block-gutenslider.arrow-position-sides .eedee-gutenslider-prev {
  left: -15px;
  background: #001D69 !important;
  border-radius: 50px;
}

.about-slider .wp-block-eedee-block-gutenslider.arrow-position-sides .eedee-gutenslider-next {
  right: -15px;
  background: #001D69 !important;
  border-radius: 50px;
}

@media all and (min-width: 768px) {
  .about-slider .wp-block-media-text__content {
    padding: 40px;
  }  
}

@media all and (min-width: 1920px) {
  .about-slider .wp-block-media-text__content {
    padding: 60px 80px;
  }  
}

/*produkt*/

.product-gallery .kt-blocks-carousel .slick-dots {
  bottom: 25px;
}

/*footer form*/

.fluentform .ff-el-input--content input {
  font-size: 13px;
  border-radius: 50px;
  padding: 25px 30px;
}

.fluentform .ff-el-input--content textarea {
  font-size: 13px;
  border-radius: 15px;
  padding: 25px 30px;
  min-height: 195px;
}

.ff-el-form-check-label {
  font-size: 11px;
  color: #999;
  line-height: 1.4em;
}

form.fluent_form_3 .wpf_has_custom_css.ff-btn-submit {
  font-size: 14px;
  font-weight: 700;
}

/*mapa*/

.lokalizacja {
  margin-bottom: -115px !important;
}

.lokalizacja p {
  margin: 0;
}

.lokalizacja .kt-highlight {
  border-radius: 7px;
}



/*footer*/

@media all and (min-width: 1000px) {
  .ct-footer {
    margin-top: -100px;
  }
  .ct-footer [data-row] > div {
    padding-bottom: 50px;
  }

}

/* home info box */

@media all and (min-width: 768px) {
  .home-info-box .kt-blocks-info-box-link-wrap {
    justify-content: space-between;
    position: relative;
  }  

  .home-info-box .kt-blocks-info-box-link-wrap:before {
    content: "";
    border-bottom: 1px solid #ccc;
    position: absolute;
    left: 0;
    top: auto;
    width: 100%;
    z-index: 0;
  }

  .home-info-box .kt-infobox-textcontent {
    z-index: 1;
    background: #fff;
  }

  .left-home-box .kt-infobox-textcontent {
    margin-right: 15%;
    padding-right: 30px;
  }

  .right-home-box .kt-infobox-textcontent {
    margin-left: 15%;
    padding-left: 30px;
  }

  .home-info-box .kt-blocks-info-box-media-container {
    position: relative;
    z-index: 1;
    margin-right: 30px;
    margin-left: 30px;
  }
}

@media all and (min-width: 1200px) {
  .left-home-box .kt-infobox-textcontent {
    margin-right: 30%;
  }

  .right-home-box .kt-infobox-textcontent {
    margin-left: 30%;
  }
}


/*product gallery*/

.page-product-gallery {
  display: flex;
  flex-wrap: wrap;
}

@media all and (min-width: 1200px) {
  .page-product-gallery {
    flex-wrap: nowrap;
  }
}

.page-product-gallery .image__product {
    position: relative;
    flex-basis: 100%;
    height: 300px;
}

@media all and (min-width: 576px) {
  .page-product-gallery .image__product {
    flex-basis: 50%;
  }
}

@media all and (min-width: 768px) {
  .page-product-gallery .image__product {
    flex-basis: 33.3333%;
  }
}


@media all and (min-width: 1200px) {
  .page-product-gallery .image__product {
    flex-basis: auto;
  }
}

.page-product-gallery .image__product img {
  height: 300px;
  object-fit: cover;
  display: block;
  width: 100%;
}

@media all and (min-width: 1200px) {
  .page-product-gallery .image__product, .page-product-gallery .image__product img {
    height: 570px;
  }
}

.page-product-gallery .image__product:hover {
  flex-basis: 100%;
}

@media all and (min-width: 576px) {
  .page-product-gallery .image__product:hover {
    flex-basis: 50%;
  }
}

@media all and (min-width: 768px) {
  .page-product-gallery .image__product:hover {
    flex-basis: 33.3333%;
  }
}


@media all and (min-width: 1200px) {
  .page-product-gallery .image__product:hover {
    flex-basis: 70%;
  }
}

.page-product-gallery .image__overlay__default {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,30,108, 0.7);
    opacity: 1;
    transition: opacity 0.25s;
}

.page-product-gallery .image__overlay__default:after {
  content:'';
  position:absolute;
  left:0; top:0;
  width:100%; height:100%;
  display:inline-block;
  background: rgba(0,30,108, 0.7);
}

.page-product-gallery .image__default:hover {
    opacity: 0;
}

.page-product-gallery .image__overlay {
    background: transparent;
    opacity: 0;
    transition: opacity 0.25s;
}

.page-product-gallery .image__overlay:hover {
    opacity: 1;
}

.page-product-gallery .image__gradient {
  position: relative;
  width: 100%;
}

.page-product-gallery .image__gradient:after {
  content:'';
  position:absolute;
  left:0; top:0;
  width:100%; height:100%;
  display:inline-block;
  background: -moz-linear-gradient(top, rgba(255,255,255,0.1) 0%, rgba(0,0,0, 0.5) 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(0,0,0, 0.5)), color-stop(100%,rgba(255,255,255,0.1)));  Chrome,Safari4+ 
  background: -webkit-linear-gradient(top, rgba(255,255,255,0.1) 0%,rgba(0,0,0, 0.5) 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, rgba(255,255,255,0.1) 0%,rgba(0,0,0, 0.5) 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, rgba(255,255,255,0.1) 0%,rgba(0,0,0, 0.5) 100%); /* IE10+ */
  background: linear-gradient(to bottom, rgba(255,255,255,0.1) 0%,rgba(0,0,0, 0.5) 100%); /* W3C */
}

.page-product-gallery .image__title {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 30px;
  text-transform: uppercase;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  z-index: 1;
  color: #fff;
}

.page-product-gallery .image__nr__hover {
  font-size: 310px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  position: absolute;
  bottom: 0;
  right: 20px;
  line-height: 1;
  z-index: 1;
}

@media all and (min-width: 1200px) {
  .page-product-gallery .image__nr__hover {
    font-size: 430px;
  }
}

.page-product-gallery .image__nr {
  font-size: 310px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  position: absolute;
  bottom: 0;
  right: -30px;
  line-height: 1;
}


/*home product gallery*/

.home-product-gallery {
  display: flex;
  flex-wrap: wrap;
}

.home-product-gallery .image {
    position: relative;
    width: 100%;
    overflow: hidden;
}

@media all and (min-width: 576px) {
  .home-product-gallery .image {
    width: 50%;
  }
}

@media all and (min-width: 768px) {
  .home-product-gallery .image {
    width: 33.3333%;
  }
}


@media all and (min-width: 1200px) {
  .home-product-gallery .image {
    width: auto;
    flex: 1;
  }
}

.home-product-gallery .image img {
  height: 470px;
  object-fit: cover;
  display: block;
  width: 100%;
}


.home-product-gallery .image__img__front {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
}

.home-product-gallery .image__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 0.25s;
    z-index: 2;
}


.home-product-gallery .image__img__back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.home-product-gallery .image__overlay:hover {
    opacity: 1;
}

.home-product-gallery .image__title__back {
    font-size: 17px;
    color: #fff;
    z-index: 1;
    background: rgba(0,0,0, 0.7);
    padding: 15px 35px 50px;
    border-radius: 50px;
    bottom: -38px;
    position: absolute;
}

.home-product-gallery .image__title__front {
    font-size: 17px;
    color: #fff;
    z-index: 1;
    position: absolute;
    background: rgba(0,30,108, 0.7);
    padding: 15px 35px 50px;
    border-radius: 50px;
    bottom: -38px;
}

/*product gallery slider*/

.kt-blocks-carousel .slick-next::before {
  left: 7px !important;
}

.kt-blocks-carousel .slick-prev::before {
  left: 11px !important;
}

.wp-block-kadence-rowlayout.alignfull p {
    font-size: 16px;
}

.wp-block-kadence-rowlayout.alignnone p {
    font-size: 16px;
}

p.kt-blocks-info-box-text {
    font-size: 16px;
}