/*
Theme Name: Astra Child
Author: Muffin group
Author URI: 
Description: Child Theme for Astra
Template: astra
Version: 1.6.2
*/



.clear {
    clear: both;
}
a {
    outline: none!important;
}
textarea {
  resize: none;
}



.page > .entry-header {
  display: none!important;
}


.btn {
  background: #E41618;
  color: #ffffff;
  font-size: 16px;
  font-weight: bold!important;
  text-transform: uppercase;
  border-radius: 10px;
  border: 2px solid #E41618;
  padding: 10px 45px;
  display: inline-block;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.btn:hover {
  background: #ffffff;
  color: #E41618;
}

.ast-theme-transparent-header .main-header-menu .menu-link {
  font-size: 16px;
}
.ast-theme-transparent-header .main-header-menu .current-menu-item > .menu-link {
  font-weight: bold;
}

.page-id-5.ast-theme-transparent-header .main-header-menu .menu-link,
.page-id-5 .ast-header-html-1 p,
.page-id-88.ast-theme-transparent-header .main-header-menu .menu-link,
.page-id-88 .ast-header-html-1 p {
  color: #ffffff!important;
}
.ast-theme-transparent-header .main-header-menu .menu-link,
.ast-header-html-1 p,
#ast-hf-mobile-menu .menu-link {
  color: #151515!important;
}
#ast-hf-mobile-menu .menu-item.current_page_item::after {
  display: none;
}
.ast-theme-transparent-header .main-header-menu .menu-link:hover,
.ast-theme-transparent-header .main-header-menu .current_page_item .menu-link {
  color: #E41618!important;
}
[data-section="section-header-mobile-trigger"] .ast-button-wrap .mobile-menu-toggle-icon .ast-mobile-svg {
  width: 30px;
  height: 30px;
  fill: #151515;
}
.page-id-5 [data-section="section-header-mobile-trigger"] .ast-button-wrap .mobile-menu-toggle-icon .ast-mobile-svg,
.page-id-88 [data-section="section-header-mobile-trigger"] .ast-button-wrap .mobile-menu-toggle-icon .ast-mobile-svg {
  fill: #ffffff;
}




.offer-box .uabb-image .uabb-image-content,
.offer-box .uabb-image .uabb-image-content img {
  width: 100%;
}
.offer-box .uabb-image .uabb-image-content img {
  border-radius: 10px 10px 0 0;
}

.offer-box .btn {
  margin-top: 25px;
}
.offer-box .uabb-infobox {
  margin-bottom: 8px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.offer-box .uabb-infobox:hover {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
  box-shadow: 0px 0px 26px #00000033;
  border-bottom: 8px solid #E41618;
  margin-bottom: 0;
}

.agro-list ul {
  margin: 0;
}
.agro-list ul .fl-list-item-content-icon {
  display: none!important;
}
.agro-list ul li {
  padding-left: 19px;
  background-image: url("img/input.svg");
  background-repeat: no-repeat;
  background-position: 0 11px;
}
.agro-list ul li .fl-list-item-content-text strong {
  font-weight: bold!important;
}


.step-box {
  position: relative;
}
.step-box:after {
  position: absolute;
  display: block;
  content: "";
  right: -43px;
  width: 92px;
  height: 36px;
  top: 60px;
  background: url("img/next.svg") 0 0 no-repeat;
}

.uabb-blog-posts.uabb-blog-posts-grid {
  height: auto!important;
  overflow: visible!important;
}
.uabb-blog-posts .uabb-post-wrapper {
  position: relative!important;
  top: 0!important;
  left: 0!important;
}

#main .uabb-masonary-filters {
  margin-left: 0;
}

#main .uabb-masonary-filters li {
  font-size: 16px;
  color: #151515;
  background: transparent;
  font-weight: normal;
  position: relative;
  transition: all 0.3s;
}
#main .uabb-masonary-filters li:hover {
  color: #E41618;
}
#main ul.uabb-masonary-filters > li.uabb-masonary-current {
  background: transparent;
  font-weight: bold;
  color: #E41618;
}
.main-header-menu .menu-item.current_page_item:after,
#main ul.uabb-masonary-filters > li.uabb-masonary-current:after {
  width: 14px;
  height: 7px;
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  content: "";
  display: block;
  margin: 0 auto;
  background: url("img/wybrane.svg") 0 0 no-repeat;
}
#main ul.uabb-masonary-filters > li.uabb-masonary-current:after {
  bottom: 5px;
}




.uabb-post-wrapper .uabb-blog-posts-shadow {
  box-shadow: none!important;
  border-radius: 10px;
}
.uabb-post-wrapper .uabb-blog-post-content {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: end;
}
.uabb-post-wrapper .uabb-post-heading {
  color: #fff;
  font-size: 18px;
  line-height: 1.4em;
  font-weight: bold;
}
.uabb-post-wrapper .uabb-blog-posts-description {
  color: #fff;
  font-size: 14px;
  line-height: 1.4em;
  padding-top: 12px;
}
.uabb-post-wrapper .uabb-post-heading,
.uabb-post-wrapper .uabb-blog-posts-description {
  width: 80%;
  float: left;
}
.uabb-post-wrapper .uabb-read-more-text {
  float: right;
  padding-top: 15px;
  float: right;
  width: 15%;
  text-align: right;
}
.uabb-post-wrapper .uabb-read-more-text a {
  font-size: 0;
  background: #E41618;
  width: 20px;
  height: 20px;
  display: inline-block;
}
.uabb-blog-post-section .uabb-button-wrap {
  padding: 0;
}

.uabb-blog-post-section .uabb-creative-button {
  background: transparent!important;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}
.uabb-blog-post-section .uabb-creative-button span {
  display: none;
}


.post-container {
  clear: both;
  display: none;
  width: 100%;
  box-shadow: 0px 0px 26px #0000001F;
  border: 1px solid #E8E8E8;
  border-radius: 10px;
  padding: 60px;
  margin-top: 10px;
  margin-bottom: 50px;
}


#project-content {
  width: 100%;
  text-align: center;
}

#project-content h1 {
  color: #151515;
  font-weight: bold;
  font-size: 60px;
  text-transform: uppercase;
  padding: 10px 0 25px;
}
#project-content p {
  color: #151515;
  font-size: 16px;
  font-weight: normal;
  line-height: 1.4em;
}
#project-content h4 {
  font-weight: bold;
  font-size: 24px;
  margin-bottom: 1.6em;
}

.uabb-post-wrapper {
  transition: all 0.5s;
}

.uabb-post-wrapper.post-active .uabb-post-thumbnail {
  border-radius: 10px;
}

/* .uabb-post-wrapper.post-active {
  transform: scale(1.02);
} */
.uabb-post-wrapper.post-active .uabb-blog-posts-shadow {
  box-shadow: 0px 0px 21px #0000005E!important
}
.uabb-post-wrapper.post-active .uabb-blog-posts-shadow:after {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 24px 30px 0 30px;
  border-color: #E41618 transparent transparent transparent;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  content: "";
  display: block;
  margin: 0 auto;
}

.uabb-post-wrapper .uabb-post-thumbnail:before {
  position: absolute;
  bottom: 0;
  left: 0;
  content: "";
  display: block;
  height: 100%;
  background: #000000;
  opacity: 0;
  width: 100%;
  border-radius: 10px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.uabb-post-wrapper:hover .uabb-post-thumbnail:before,
.uabb-post-wrapper.post-active .uabb-post-thumbnail:before {
  opacity: 0.2;
}
.uabb-post-wrapper .uabb-post-thumbnail:after {
  position: absolute;
  bottom: 0;
  left: 0;
  content: "";
  display: block;
  height: 9px;
  width: 100%;
  background: #E41618;
  opacity: 0;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.uabb-post-wrapper.post-active .uabb-post-thumbnail:after {
  opacity: 1;
}

#project-content .wonderplugingallery-container a,
.wonderplugingallery-container a {
  display: none!important;
  position: absolute;
  top: -100%;
}

.uabb-post-wrapper .uabb-button:after {
  position: absolute;
  bottom: 22px;
  right: 22px;
  content: "";
  display: block;
  height: 38px;
  width: 38px;
  border-radius: 10px;
  background-color: #E41618;
  background-image: url("img/arrow1.svg");
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.uabb-post-wrapper:hover .uabb-button:after,
.uabb-post-wrapper.post-active .uabb-button:after {
  opacity: 1;
}


.html5gallery-elem-1,
.html5gallery-tn-1 > div > div,
.html5gallery-elem-2,
.html5gallery-tn-2 > div > div, 
.html5gallery-elem-3,
.html5gallery-tn-3 > div > div, 
.html5gallery-elem-4,
.html5gallery-tn-4 > div > div, 
.html5gallery-elem-5,
.html5gallery-tn-5 > div > div, 
.html5gallery-elem-6,
.html5gallery-tn-6 > div > div, 
.html5gallery-elem-7,
.html5gallery-tn-7 > div > div, 
.html5gallery-elem-8,
.html5gallery-tn-8 > div > div, 
.html5gallery-elem-9,
.html5gallery-tn-9 > div > div, 
.html5gallery-elem-10,
.html5gallery-tn-10 > div > div, 
.html5gallery-elem-11,
.html5gallery-tn-11 > div > div, 
.html5gallery-elem-12,
.html5gallery-tn-12 > div > div, 
.html5gallery-elem-13,
.html5gallery-tn-13 > div > div, 
.html5gallery-elem-14,
.html5gallery-tn-14 > div > div, 
.html5gallery-elem-15,
.html5gallery-tn-15 > div > div 
{
  border-radius: 10px;
}
.html5gallery-tn-selected-1 > div > div:after,
.html5gallery-tn-selected-2 > div > div:after,
.html5gallery-tn-selected-3 > div > div:after,
.html5gallery-tn-selected-4 > div > div:after,
.html5gallery-tn-selected-5 > div > div:after,
.html5gallery-tn-selected-6 > div > div:after,
.html5gallery-tn-selected-7 > div > div:after,
.html5gallery-tn-selected-8 > div > div:after,
.html5gallery-tn-selected-9 > div > div:after,
.html5gallery-tn-selected-10 > div > div:after,
.html5gallery-tn-selected-11 > div > div:after,
.html5gallery-tn-selected-12 > div > div:after,
.html5gallery-tn-selected-13 > div > div:after,
.html5gallery-tn-selected-14 > div > div:after,
.html5gallery-tn-selected-15 > div > div:after
 {
  position: absolute;
  bottom: 0;
  left: 0;
  content: "";
  display: block;
  height: 5px;
  background: #E41618;
  width: 100%;
}
.html5gallery-tn-img-play-1:after,
.html5gallery-tn-img-play-2:after,
.html5gallery-tn-img-play-3:after,
.html5gallery-tn-img-play-4:after,
.html5gallery-tn-img-play-5:after,
.html5gallery-tn-img-play-6:after,
.html5gallery-tn-img-play-7:after,
.html5gallery-tn-img-play-8:after,
.html5gallery-tn-img-play-9:after,
.html5gallery-tn-img-play-10:after,
.html5gallery-tn-img-play-11:after,
.html5gallery-tn-img-play-12:after,
.html5gallery-tn-img-play-13:after,
.html5gallery-tn-img-play-14:after,
.html5gallery-tn-img-play-15:after
 {
  display: none!important;
}

.html5gallery-car-left-1,
.html5gallery-car-right-1,
.html5gallery-car-left-2,
.html5gallery-car-right-2,
.html5gallery-car-left-3,
.html5gallery-car-right-3,
.html5gallery-car-left-4,
.html5gallery-car-right-4,
.html5gallery-car-left-5,
.html5gallery-car-right-5,
.html5gallery-car-left-6,
.html5gallery-car-right-6,
.html5gallery-car-left-7,
.html5gallery-car-right-7,
.html5gallery-car-left-8,
.html5gallery-car-right-8,
.html5gallery-car-left-9,
.html5gallery-car-right-9,
.html5gallery-car-left-10,
.html5gallery-car-right-10,
.html5gallery-car-left-11,
.html5gallery-car-right-11,
.html5gallery-car-left-12,
.html5gallery-car-right-12,
.html5gallery-car-left-13,
.html5gallery-car-right-13,
.html5gallery-car-left-14,
.html5gallery-car-right-14,
.html5gallery-car-left-15,
.html5gallery-car-right-15
{
  background: url("img/arrow2.svg") 0 0 no-repeat!important;
  width: 9px!important;
  height: 16px!important;
}
.html5gallery-car-left-1,
.html5gallery-car-left-2,
.html5gallery-car-left-3,
.html5gallery-car-left-4,
.html5gallery-car-left-5,
.html5gallery-car-left-6,
.html5gallery-car-left-7,
.html5gallery-car-left-8,
.html5gallery-car-left-9,
.html5gallery-car-left-10,
.html5gallery-car-left-11,
.html5gallery-car-left-12,
.html5gallery-car-left-13,
.html5gallery-car-left-14,
.html5gallery-car-left-15
 {
  -webkit-transform: rotate(180deg);
  transform: rotate(180deg);
}


.contact-form-container > .fl-col-content {
  max-width: 620px;
  float: right;
  padding-left: 3%;
}



.uabb-creative-menu-vertical .menu-item a:hover span {
  text-decoration: underline;
}


.lds-ring {
  display: inline-block;
  position: absolute;
  width: 80px;
  height: 80px;
  top:0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
  opacity: 0.7;
}
.lds-ring div {
  box-sizing: border-box;
  display: block;
  position: absolute;
  width: 64px;
  height: 64px;
  margin: 8px;
  border: 8px solid #fff;
  border-radius: 50%;
  animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  border-color: #fff transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
  animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
  animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
  animation-delay: -0.15s;
}
@keyframes lds-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}



@media only screen and (max-width: 992px) {
  .contact-form-container > .fl-col-content {
    max-width: 100%;
    float: none;
  }
  .fl-module-blog-posts .uabb-blog-posts-col-3 {
    width: 33.33%;
  }
}
@media only screen and (max-width: 768px) {
  .step-box:after {
    display: none;
  }
  .post-container {
    padding: 20px;
  }
  #project-content h1 {
    font-size: 32px;
  }
  .uabb-blog-posts-shadow {
    height: auto!important;
  }
}
@media only screen and (max-width: 480px) {
  #main .uabb-masonary-filters li {
    width: 100%;
  }
  #project-content h1 {
    font-size: 30px;
  }
}