:root {
    --primary: #2B3F14;
    --secondary: #016e9a ;
    --third: #33c5d6;
    --fourth: #D3949B;
    --bgprimary: #f9f7f4;
    
}
*{
    box-sizing: border-box;
}
.custom-box-shadow{
  transition: all .3s cubic-bezier(0.17, 0.67, 0.35, 0.95);
}
.custom-box-shadow:hover{
  box-shadow: 0px 0px 14px 0px var(--secondary);
}
/* top menu kontakt */
.site-header-top-section-right #secondary-menu {
  padding-top:3px;
}
.topmenu-icon-phone{
  margin-left:20px;
}
.topmenu-icon-envelope a, .topmenu-icon-phone a{
  position:relative;
}
.topmenu-icon-envelope a::before {
  content: url('../img/envelope.svg');
  position: absolute;
  left:-14px;
}
.topmenu-icon-phone a::before {
content: url('../img/phone.svg');
position: absolute;
left:-12px;
margin-right: 10px;
}
.menu-btn{
  border-radius: 20px;
  padding: 3px 10px 3px 10px;
  /* background:var(--secondary); */
  background: linear-gradient(135deg, #33c5d6, #016e9a);
  padding-bottom:0;
}
.menu-btn:hover{
  background: linear-gradient(45deg, #016e9a, #33c5d6);
}
.menu-btn:hover a{
 color:#fff;
}
.main-navigation .primary-menu-container > ul > li.menu-item.menu-btn a,
.main-navigation .primary-menu-container > ul > li.menu-item.menu-btn a:hover{
  color:#fff;
}

/* galery */
.custom-home-gallery .kb-gallery-type-slider{
  border:5px solid var(--secondary);
  border-radius:80px;
}
.custom-home-gallery .kt-blocks-carousel{
  overflow:visible;
}
.custom-home-gallery .kb-splide .splide__arrow{
  border:none;
  font-size:60px;
  opacity:1;
}
.custom-home-gallery .kb-splide .splide__arrow--next{
  right:-100px;
  z-index:99;
}
.custom-home-gallery .kb-splide .splide__arrow--prev{
  left:-100px;
  z-index:99;
}
.custom-home-gallery .splide__pagination{
  display:none;
}
/* animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(200px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}
.animate-on-scroll.animate-visible {
  opacity: 1;
  transform: translateY(0);
}
 
.fade-in-left {
  opacity: 0; 
  transform: translateX(-100px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.animate-fade-in-left {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(100px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.animate-fade-in-right {
  opacity: 1;
  transform: translateX(0); 
}

.fade-in{
  opacity: 0;
  transition: opacity 2s ease-out;  
}

.animate-fade-in {
  opacity: 1;
}

@media only screen and (max-width: 991px) {
/* grid */
.content-area .custom-mobile-grid-column .kt-row-column-wrap{
  grid-template-columns: repeat(2, minmax(0, 1fr));
  }
.content-area .kb-row-layout-wrap.custom-section3{
   margin-top:0 !important;
}
.content-area .custom-img-section {
  margin-top:80px;
}
.menu-btn{
  width:fit-content;
  padding:0px 50px;
  margin-top:16px;
}
}
@media only screen and (max-width: 768px) {
.custom-home-gallery .kb-splide ul.splide__pagination{
  display:flex;
  margin-top:40px;
  bottom:-35px;
  }
.custom-home-gallery .kb-splide .splide__arrow--prev,
.custom-home-gallery .kb-splide .splide__arrow--next{
  display:none;
  }
/* testimonial */
.custom-testimonials .splide__arrows{
  display:none;
}
}
@media only screen and (max-width: 600px) {
.content-area .custom-img-section {
  margin-top:0px;
}
/* grid */
.content-area .custom-mobile-grid-column .kt-row-column-wrap{
  grid-template-columns: 1fr;
  }
.custom-form .kb-advanced-form .kb-submit-field{
  justify-content: center;
}
}