/*
Theme Name: Hero Theme
Theme URI: hero-print.co.za
Author: Russel Nagel
Author URI: https://lionmarketing.co.za
Description: A simple custom theme.
Version: 1.0
License: GNU General Public License v2 or later
*/


/* Main CSS START */
body {
  overflow-x: hidden !important;
}
.bottom-spacer {padding: 30px;}
.overflow-left {
  top: 0;
  bottom: 0;
  left: -15vw;
  right: 0;
}
hr{
  width: 100%;
  opacity: 1;
  border: 1px solid #aec936;
}
h1,h2,h3,h4,h5,h6,html,a,p{
  font-family: "Montserrat", sans-serif;
}

img{
  max-width: 100%;
  height: auto;
}

.bg-green{background-color: #aec936 !important;}
.bg-grey{background-color: #575756 !important;}

.text-green{color: #aec936 !important;}
.text-grey{color: #575756 !important;}
.text-white{color: white !important;}

.green-block{
  width: 200px;
  margin: auto;
  max-height: 50px;
  margin-top: -50px;
  z-index: 99;
  position: relative;
  
}
.padded{padding: 20vh 10px !important;}
.sm-padded{padding: 8vh 5px !important;}

#mainBanner .row{min-height: 75vh;}

.right-hover-icon,
.left-hover-icon{
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}


/* #contact-page .frm_button_submit {
  width: 100%;
  border-radius: 0;
  background: #aec936;
  border: 2px solid white;
  font-size: 20px;
  font-weight: bold;
}
#contact-page .frm_button_submit:hover {
  background: #575756;
  border: 2px solid white;
} */


.green-floating-block{
  width: 210px;
  height: 50px !important;
}
.green-floating-block-side{
  width: 50px;
  height: 210px !important;
}
.bottom-right-block{
  right: 0;
  bottom: -25px;
}

.top-left-block{
  left: 0;
  top: 0
}
.top-fifty-block{
  left: -105px;
  top: -25px;
}

/* Main CSS END */

/* Header Start */

#mainMenu li a{
  color: white !important;
  text-decoration: none;
  font-weight: bold;
  padding: 5px 10px;
  position: relative;
  transition: color 500ms ease;
}
#mainMenu .current-menu-item a,
#mainMenu li a:hover,
#mainMenu li a:active{
  color: #575756 !important;
}
#mainMenu li a::after{
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: white;
  width: 0;
  transition: all 500ms ease;
  margin: auto;
}
#mainMenu .current-menu-item a::after, 
#mainMenu li a:hover::after{
  width: 80%;
  background: #575756;
}
#mainBanner{
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

#mainBanner .banner-icon img{
  position: absolute;
  top: -10vh;
  right: -60vh;
  max-height: 100vh;
}

#mainBanner .row{
  position: relative;
  z-index: 9;
}

/* Sub menu parent */
#mainMenu li {
  position: relative;
}

/* Hide submenu by default */
#mainMenu li ul.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: white;
  padding: 0 0;
  margin: 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 300ms ease;
  z-index: 9999;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Show submenu on hover */
#mainMenu li:hover > ul.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Submenu links */
#mainMenu li ul.sub-menu li a {
  display: block;
  color: #575756 !important;
  background: white;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  white-space: nowrap;
  transition: all 300ms ease;
}

#mainMenu li ul.sub-menu li a::after {
  display: none;
}

#mainMenu li ul.sub-menu li a:hover,
#mainMenu li ul.sub-menu .current-menu-item a {
  background: #aec936;
  color: white !important;
}

#mainMenu li ul.sub-menu li {
  position: relative;
}

#mainMenu li ul.sub-menu li ul.sub-menu {
  top: 0;
  left: 100%;
  transform: translateX(10px);
}

#mainMenu li ul.sub-menu li:hover > ul.sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Header End */

/* Front Page Start */
#font-service img{
  max-width: 450px;
  width: 100%;
}
#font-service .single-service:nth-child(2) .service-image::after,
#font-service .single-service:nth-child(3) .service-image::after{
  content: "";
  width: 5px;
  background:#aec936;
  position: absolute;
  right: -30px;
  top: 10px;
  bottom: 10px;
}

/* #fp-gallery .left-hover-icon{
  left: 0;
  position: absolute;
  top: 0;
  bottom: 0;
  width: 20vw;
  z-index: -1;
}
  */
#fp-gallery .slider .vp-portfolio{
  margin-right: -15vw;
  margin-left: 100px;
  margin-bottom: -1.4rem;
} 
 
.left-hover-icon {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 1;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  z-index: -1;
}




#fp-link .single-link a{
  text-decoration: none;
  color: #575756;
  font-weight: bold;
}
.single-service a:hover img, #fp-link .single-link a:hover img{
  transform: scale(1.05);
}
.single-service a img, #fp-link .single-link a img{
  transition: transform 500ms ease;
}
/* Front Page End */

/* Service Page Start */

.service-icon img{
  max-width: 120px !important;
  margin-right: 10px;
}

.service-bg-image{
  position: absolute;
  top: 0;
  bottom: 0;
  left: -20vw;
  right: 0;
  background-size: cover;
  background-position: center;
  z-index: 0;
}
#large-format-printing .service-icon{margin-left: -5rem;}
#large-format-printing .image-left{  margin-bottom: 10vh !important;}
.service-icon{
  position: relative;
  z-index: 9;
}

#branding .right-hover-icon{
  right: 0;
  top: 0;
  bottom: 0;
  position: absolute;
  /* z-index: -1; */
  left: 0;
  margin-right: -15vw;
}
#branding .wp-block-gallery {
  margin-left: -18vw;
  margin-bottom: -1.5rem;
  margin-right: -1.5rem;
}


/* WHY Section Start */

#why-points .right-hover{
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: -15vw;
  background-position: center left;
}

div.col-10:nth-child(1) > hr:nth-child(12) {
  display: none;
}

#why-commitments .image-banner .floating-bg{
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: -20vw;
  z-index: -1;
}

.commitment-banner-left{
  top: 0;
  bottom: 80vh;
  right: 0;
  left: -16vw;
  background-size: cover;
  background-position:center;
  background-repeat: no-repeat;
}

/* WHY Section End */

/* Contact Page Start */
#contact-page .overflow-left{
  background-image: url("https://lion-test-sites.co.za/hero-print/wp-content/uploads/2025/04/circle-icon.png") !important;
  background-position: center right;
  background-size: cover;
}


#contact-page .image-banner img{
  position: absolute;
  bottom: 0;
  right: -10vw;
  width: auto !important;
  transform: scale(1.8);
  transform-origin: bottom right;
  z-index: 0;
}

#contact-page .contact-info{
  position: relative;
  z-index: 9;
}
#contact-page input, #contact-page textarea{
  background-color: rgba(255,255,255,0.4);
}

#contact-page a{
  color: #575756 !important;
  text-decoration: none;
}
#contact-page a:hover{text-decoration: underline;}

/* Contact Page End */

/* RESPONSIVE STYLES */

@media (min-width: 1400px) {
  .left-hover-icon {width: calc((100vw - 1120px) / 2);}
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  .left-hover-icon {
    width: calc((100vw - 940px) / 2 );
  }
}

@media only screen and (max-width: 1200px)  {
  #fp-gallery .left-hover-icon{width: 120px;}
  #fp-gallery .slider .vp-portfolio{
    margin-right: -1.4rem;
    margin-left: 90px;
    margin-bottom: -1.4rem;
  } 
  
}

@media only screen and (max-width: 991px)  {
  #fp-gallery .left-hover-icon{ width: 114px; }
  #serivces-layou-b .right-hover-icon{margin-right: 0 !important;}
  #serivces-layou-b .wp-block-gallery {margin-left: 0 !important;}
  .offcanvas-body li a{
    font-size: 1.2rem;
    padding: 10px 5px !important;
    display: block;
  }
  .main-logo {
    max-width: 70vw;
    margin-right: auto;
  }
  .main-logo img{width: 350px;}
  #mainHeader .navbar {
    position: absolute;
    right: 0;
    justify-content: end;
    max-width: 20vw;
  }
  #mainBanner .row{min-height: 50vh;}
  #contact-page .image-banner img {
    position: relative;
    transform: scale(1.1);
    right: 0;
  }
  #contact-page .contact-form{width: 100%;}
}
@media only screen and (max-width: 767px)  {
  #large-format-printing .service-icon{margin-left: 0;}
  #tips-icon{max-width: 150px !important;}
  .sm-padded{padding: 0 !important;}
  h2.display-2{ text-align: center !important; }
  #font-service .single-service:nth-child(2) .service-image::after,
  #font-service .single-service:nth-child(3) .service-image::after{
    display: none;
  }
  #large-format-printing .image-left{
    min-height: 350px;
    margin-bottom: 0 !important;
  }
  
}
@media only screen and (max-width: 599px)  {
  #mainBanner .banner-icon img {
    right: -40vh;
    max-height: 60vh
  }
}

@media only screen and (max-width: 575px)  {
	.service-icon img {max-width: 90px !important;}
	#why-commitments .service-heading{
		flex-direction: column;
		align-items: start !important;
	}
	#why-commitments .service-heading h2{
		padding-left: 0 !important;
		padding-top: 10px;
	}
	#why-commitments .service-heading{max-width: 70px;}

}