:root {
  --color-black: #000000;
  --color-accent: #f5deb3;
  --opacity: 1;
}

@keyframes fadeInLeftCustom {
    0% {
        opacity: 0;
		transform: translatex(-20vw);
    }
    100% {
        opacity: 1;
		transform: translatex(0);
    }
}

@keyframes fadeOff {
    0% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.home-hero__text,
.home-hero__btns,
.home-hero__details {
	opacity: 0;
	animation: fadeInLeftCustom ease-in-out 0.5s;
	animation-iteration-count: 1;
	animation-fill-mode: forwards;
}

.home-hero__text {
  animation-delay: 0.5s;
}

.home-hero__btns {
  animation-delay: 0.6s;
}

.home-hero__details {
  animation-delay: 0.7s;
}

.site-header img {
  margin: 0 15px;
}

#secondary_menu-site-navigation-desktop .menu-item:last-of-type {
    margin-left: 20px;
}

#single-primary .entry-meta {
  display: none !important;
}

.site-header img,
.main-header-menu > .menu-item {
	display: block;
	animation-name: fadeIn;
	animation-duration: .1s;
}

.home #pg-18-0 {
	max-height: 110vh;
	overflow: hidden;
}

.home-hero {
  position: relative;
  background-image: url(../assets/images/carpenter-parallax.jpg);
  background-repeat: no-repeat;
  height: 105vh;
  overflow: hidden;
  clip-path: polygon(100% 0, 100% 95%, 50% 100%, 0 95%, 0 0);
}

/* .home-hero::after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--color-black);
  animation: fadeOff ease-in-out 0.3s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
  animation-delay: 0.5s;
	
  opacity: var(--opacity);
  opacity: 0;
	
  transition: 0.3s ease-in-out;
} */

.header__bg {
  position: fixed;
  height: 200px;
  width: 100%;
  background-color: var(--ast-global-color-0);
  background-size: cover;
  background-position: center;
  background-image: url(../assets/images/archive-bg.jpg);
  animation-name: fadeIn;
  animation-duration: 1s;
}

.header__bg::before {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: url(../assets/images/fake_brick.png);
  opacity: 0.65;
}

.header__bg::after {
  content: "";
  position: absolute;
  height: 100%;
  width: 200%;
  left: -50%;
  background: linear-gradient(180deg, var(--color-black) 0, transparent 100%);
  opacity: 0.75;
}

.ast-desktop .ast-primary-header-bar .main-header-menu > .menu-item {
  line-height: 42px;
}

body:not(.home) .ast-primary-header-bar {
  position: relative;
  min-height: 200px;
}

@media only screen and (max-width: 921px) {
	#ast-desktop-header {
		display: none;
	}
	
	.ast-mobile-header-wrap .ast-primary-header-bar, .ast-primary-header-bar .site-primary-header-wrap {
		border-bottom: unset !important;
	}
}

.ast-primary-header-bar {
  transition: 0.3s ease-in-out;
/*   padding: 0 20px !important; */
}

.ast-desktop .submenu-with-border .astra-full-megamenu-wrapper {
    border: none !important;
}

body:not(.ast-theme-transparent-header) .ast-primary-header-bar::after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: 100px;
  bottom: -50px;
  left: 0;
  background-image: url(../assets/images/border-bottom.svg);
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 1;
  animation-name: fadeIn;
} 

.ast-builder-grid-row.ast-grid-center-col-layout {
  z-index: 2;
}

body:not(.home) .ast-primary-header-bar .site-primary-header-wrap {
  position: relative;
  z-index: 2;
}

.about-us__features .sow-icon-image {
  border-radius: 50%;
}

.ast-single-post.ast-page-builder-template .site-main > article {
  padding: 0 !important;
}

.posts-carousel.owl-carousel {
  margin-left: -20px;
  margin-right: -20px;
  width: calc(100% + 40px);
}

/**************** Responsive ******************/

@media only screen and (max-width: 1024px) {
  .home-hero {
    min-height: 50vh;
  }

  .ast-site-identity .site-logo-img .custom-logo {	  
	animation-duration: 0.3s;
    margin: 0;
  }
}

@media only screen and (max-width: 921px) {
  .home-hero {
    min-height: 75vh;
  }

  body:not(.home) .ast-primary-header-bar {
    position: relative;
    min-height: 185px;
    background-size: 125% auto;
  }
	
  body:not(.home) .site-header .ast-builder-grid-row {
    position: relative;
    margin-bottom: 50px;
    z-index: 2;
  }
	
	.home-hero::after {
		opacity: 0;
	}
}

@media only screen and (max-width: 780px) {
  .home-hero {
    min-height: 75vh;
  }

  body:not(.home) .ast-primary-header-bar {
    background-size: 135% auto;
    min-height: 200px;
  }

  .ast-site-identity .site-logo-img .custom-logo {
    height: 80px;
  }
}

@media only screen and (max-width: 601px) {
  body:not(.home) .ast-primary-header-bar {
    min-height: 185px;
    background-size: 160% auto;
  }

  .astra-logo-svg:not(.sticky-custom-logo .astra-logo-svg,.transparent-custom-logo .astra-logo-svg,.advanced-header-logo .astra-logo-svg) {
    height: 90px;
  }

  .ast-site-identity {
    padding: 20px 0;
  }

  .ast-site-identity .site-logo-img .custom-logo {
    height: 75px;
  }
}

@media only screen and (max-width: 428px) {
  body:not(.home) .ast-primary-header-bar {
    min-height: 150px;
    background-size: 175% auto;
  }

  body:not(.home) .ast-primary-header-bar::after {
    height: 80px;
    bottom: -40px;
  }

  body:not(.home) .site-header .ast-builder-grid-row {
    margin-bottom: 40px;
  }

  .ast-site-identity {
    padding: 15px 0;
  }

  .ast-site-identity .site-logo-img .custom-logo {
    height: 70px;
  }
}

@media only screen and (max-width: 414px) {
  body:not(.home) .ast-primary-header-bar {
    min-height: 130px;
    background-size: 175% auto;
  }

  .ast-site-identity .site-logo-img .custom-logo {
    height: 50px;
  }

	.posts-carousel.owl-carousel {
		margin-left: -10px;
		margin-right: -10px;
		width: calc(100% + 20px);
	}
	
	.posts-carousel.owl-carousel .owl-nav button.owl-prev {
		left: -5px;
	}
	
	.posts-carousel.owl-carousel .owl-nav button.owl-next {
		right: -5px;
	}
}
	

@media only screen and (max-width: 375px) {
  body:not(.home) .site-header .ast-builder-grid-row {
    margin-bottom: 30px;
  }
	
  body:not(.home) .ast-primary-header-bar {
    min-height: 100px;
    background-size: 175% auto;
  }

  body:not(.home) .ast-primary-header-bar::after {
    height: 70px;
  }
}

@media only screen and (max-width: 340px) {
  .ast-site-identity .site-logo-img .custom-logo {
    height: 40px;
  }
}