/*
 * Theme Name: Imaginal Marketing Group
 * Description: Imaginal Marketing Group's custom theme based on Tailwind
 * Author: IMPP
 * Author URI: https://www.imaginalmarketing.com
 * Version: 1.01
*/

.archive.category #headerimage {
background-position: center !important;
}
.services-sub {
max-width:70%;
text-align: center;
    margin-bottom: 2rem;
	margin-left:auto;
	margin-right:auto;
}

#heroimage .slider-subtitle {
font-size: 3rem;
display: inline-block;
}

header #heroimage .swiper-slide .slide_text h2, header #heroimage .swiper-slide .slide_text p, header #heroimage .swiper-slide .slide_text a.button, header #heroimage .swiper-slide .slide_text a.button:visited{
	color: #DFDBD2;
	
}
header #heroimage .swiper-slide .slide_text a.button, header #heroimage .swiper-slide .slide_text a.button:visited{
  border: 2px solid #dfdbd2;
}

@media screen and (max-width: 1440px) {
#heroimage .slider-subtitle {
font-size: 2rem;
}

.services-sub {
max-width:95%;
}
}
@media screen and (max-width: 1024px) {
#heroimage .slider-subtitle {
font-size: 2rem;
}

}

@media screen and (max-width: 768px) {
#heroimage .slider-subtitle {
font-size: 1.2rem;
}

.services-sub{
max-width:100%;
}

header #heroimage .swiper-slide .slide_text {
    bottom: 1rem;

}


    header #heroimage .swiper-slide .slide_text .button {
        margin-top: 0.5rem;

    }
	
	header #heroimage .swiper-slide .slide_text h2 {
    max-width: 100%;
    margin: 0.2rem auto;
}

}

/*header #heroimage .swiper-slide .slide_text .button {
margin-top:0.8rem;
} */




.home p {
    font-size: 1.2rem;
}

#mobile-nav {
justify-content:center;
align-items:center;
background-color: #5C4C48;
color: #fff;
}

#mobile-subnav {
background-color: #fff;
}

#mobile-subnav ul {
padding:1rem 0;
}

#mobile-subnav ul > li {
text-align: center;
padding:0.5rem 0;
}

#mobile-subnav ul > li > a {
color: #5C4C48;
}

#sidenav ul li {
text-align: right;
}

#sidenav ul li a {
  text-transform: uppercase;
	font-size: 1.125rem;
	text-align: right;
	justify-content: flex-end;
}

#sidenav ul.is_sidenav li a {
align-items:baseline;
}

#sidenav ul.is_sidenav li a:hover {
color: #5C4C48 !important;
}

/* sidenav blog */
#sidenav .blog-sidebar-item ul li{
	text-align:center !important;
}

#nav-main .button.nav-cta > a,
#mobile-menu .button.nav-cta > a{
	background-color: rgba(173, 175, 170, 0.1);
    color: rgb(29, 29, 29);
    display: inline-block;
    text-transform: uppercase;
    font-size: 1.125rem;
    font-weight: normal;
    letter-spacing: 0.1rem;
    cursor: pointer;
    width: 100%;
    border-width: 2px;
    border-style: solid;
    border-color: #ADAFAA;
    border-image: initial;
    padding: 0.5rem 1rem !important;
    margin: 0.7rem 0px;
    text-decoration: none;
    border-radius: 3rem;
    text-align:center;
}

#nav-main .button.nav-cta > a:hover,
#mobile-menu .button.nav-cta > a:hover {
	background-color: #ADAFAA;
    color: #fff !important;
}

#blog-posts .entry-content > div > a.button {
display:inline-block;
margin-top: 2rem;
}

h2,h3,h4,h5,h6 {
text-transform: uppercase;
}

/* p {letter-spacing: normal;} */
.serv_wrapper .serv_subcat_disclaimer {
    margin-top: 50px;
    margin-bottom: 50px;
}

   .reveal-image {
        display: block;
       max-width: 100%; 
       height: auto;
       clip-path: inset(50% 0% 50% 0%); 
       transition: clip-path 1.5s ease-out; 
     }
    
  .reveal-image.is-visible {
        clip-path: inset(0% 0% 0% 0%); 
   }

.promo_title {
  transform: translate(2em, 0);
}

#sub-footer-title {
  transform: translate(-2em, 0);
}

 .slide_text_inner,
 #intro-title,
 .promo_title,
 #sub-footer-title,
 #intro-sub{
    font-size: 3rem;
    /* white-space: nowrap; */
    overflow: visible;
    opacity: 1;
    padding: 0 2em; /* padding to allow gradient fade outside */
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 15%,
      black 85%,
      transparent 100%
    );
    mask-image: linear-gradient(
      to right,
      transparent 0%,
      black 15%,
      black 85%,
      transparent 100%
    );
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 0% 100%;
    mask-size: 0% 100%;
    animation-fill-mode: forwards;
    transition: padding 0.3s ease;
  }

  .slide_text_inner.is-visible,
  #intro-title.is-visible,
  .promo_title.is-visible,
  #sub-footer-title.is-visible,
  #intro-sub{
    animation: maskwipe 3s steps(60, end) forwards;
  }

  /* Remove mask and padding after animation ends */
.slide_text_inner.is-visible.final,
#intro-title.is-visible.final,
.promo_title.is-visible.final,
#sub-footer-title.is-visible.final,
#intro-sub{
  -webkit-mask-image: none;
  mask-image: none;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  opacity: 1;
  padding-left: 2em;
  padding-right: 2em;
}

  @keyframes maskwipe {
    from {
      -webkit-mask-size: 0% 100%;
      mask-size: 0% 100%;
    }
    to {
      -webkit-mask-size: 120% 100%;
      mask-size: 120% 100%;
    }
  }


.photo-gallery > .columns {
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background-color: #000;}
.photo-gallery > .columns a img {
    aspect-ratio: 1/1;
    object-fit: cover;
    width: 100%;
    transition: all 0.4s ease;
    opacity: 0.75;
  }
.photo-gallery > .columns:hover a img {
      transform: scale(1.1);
      opacity: 1;
    }
	
body.blog article.tease-post{
  margin-bottom: 2.5rem;
}

article.post-type-post > img{
	width: 100% !important;
	height: auto!important;
}

 .gform_fileupload_rules{ font-weight: bold; }
 
.gform_wrapper.gravity-theme .gform_drop_area{
    display: flex;
    justify-content: center;
    align-items: center;
		flex-direction:column;
    width: 100%;
    padding: 2rem;
    text-align: center;
    background-color: #A3BD00;
	background-color: #fff;
    border: 1px dashed #888;
    border-radius: 4px;
    margin: 0!important;
 }


#sidebar h4{
  text-align: center !important;
}

body.single img.featured-img{
	max-width: 600px;
}


#lastMinute h1 {
	font-size:15px!important;
}

@media screen and (max-width: 39.9375em){
  #sidebar ul, #sidebar ul li{ margin-left: 0; }
}


@media screen and (max-width: 768px){
  #heroimage .slide_text_inner {
  	padding:0!important;
  }
  
  h1{
	line-height: 5.2rem;
	font-size:5rem;
	}

  .promo_title {
    transform: translate(0em, 0);
  }
  
  #sub-footer-title {
    transform: translate(0em, 0);
  }
}


@media screen and (max-width: 1024px){
  #sub-footer-title {
  	padding:0!important;
	white-space:wrap;
	width:100%;
  }
  
  #sub-footer-title h2 {
  	font-size: 3rem !important;
    text-align: left;
    display: block;
    width: 100%;
  }
}

 @media screen and (max-width: 480px) {
	 #lastMinute {bottom:100px !important;}
	 #im-sms-wrap {height:100px !important;}
}

@media (min-width: 480px) {
	#lastMinute {
	  /* left: unset !important; */
	   /*right: 24px !important; */
	  /* bottom: 130px !important; */
	  left: 24px;
	  bottom: 5px !important;
	}
	
	.close-btn {
        display: block !important;
        position: absolute;
        left: 5px;
        top: 5px;
        color: #fff;
		cursor: pointer;
    }
}



@media (min-width: 1024px) {
    main#content:not(.home) article {
        width: 70%;
    }
	
	    main#content:not(.home) aside {
        width: 25%;
    }
	

    #intro .intro-inner .section__line {
        height: 7%;
    }

}

@media screen and (min-width: 1441px) {
    #subfooter #subfooter-inner h2 {
        font-size: 5rem !important;
        line-height: 5.3rem;
    }
}

@media screen and (min-width: 1500px) {
    #intro .intro-inner .section__line-after {
        height: 10%;
    }
}




/*To replace blog header
body.blog header.header #headerimage , body.single-post header.header #headerimage, body.category header.header #headerimage, body.search header.header #headerimage, body.archive header.header #headerimage  {
    background-position: center;
	background-image: url() !important;
}*/