/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

:root {
	--primary: #3c2313;
	--secondary: #f2be49;
	--white: #ffffff;
}

body {
	background: var(--white);
}

p {
	margin-bottom: 0;
}

a {
	text-decoration: none;
	transition: ease 0.3s;
}

.archive-header {
	justify-content: center;
    display: grid;
    background: rgba(0,0,0,.2);
    border-radius: 5px;
    padding: 2.5rem;
}

.archive-header .page-title {
	font-size: 2rem;
	font-weight: 700;
}

.breadcrumbs {
	font-size: 1rem;
	font-weight: 500;
	color: rgba(0,0,0,0.7);
	display: flex;
	justify-content: center;
	gap: 0.5rem;
}

.breadcrumbs a {
	color: var(--primary);
}

.breadcrumbs a:hover {
	color: var(--secondary);
}

.wpcf7-not-valid-tip {
	font-size: 0.9rem;
	position: relative;
	top: -0.8rem;
	left: 0.5rem;
}

.wpcf7 form .wpcf7-response-output {
    font-size: 0.9rem;
    color: #dc3232;
    text-align: center;
    margin: 0em 0em 1em;
    padding: 0.2em 1em;
	border: none;
}
.creds a:hover {
	color: var(--secondary) !important;
}
/* Topbar */

.main-navigation {
	background: #373737;
}

.main-navigation .menu-toggle, button.menu-toggle:hover, button.menu-toggle:focus {
	color: var(--white);
}

.main-navigation .main-nav ul li a {
	color: var(--white);
	font-weight: 700;
	text-transform: uppercase;
}

/* Header */

.header-widget {
	display: flex;
	justify-content: space-between;
	width: 100%;
}

.search-form {
	font-size: 15px;
	max-width: 700px;
	background: var(--secondary);
	border-radius: 50px;
	height: 40px;
	margin: auto;
}

.search-form label {
	width: 100%;
}

.search-form input {
	font-size: 15px;
	width: 100%;
	background: transparent;
	border: none;
	border-radius: 50px;
	outline: none;
	height: 40px;
	padding: 0 1rem;
}

.search-submit, 
.search-submit:hover, 
.search-submit:focus {
	color: var(--primary);
	background: none;
}

#block-13 {
	width: 100%;
}

#block-14 {
	display: none;
}

.main-navigation .main-nav ul li[class*="current-menu-"] > a, .main-navigation .main-nav ul li:not([class*="current-menu-"]):hover > a, .main-navigation .main-nav ul li:not([class*="current-menu-"]):focus > a, .main-navigation .main-nav ul li.sfHover:not([class*="current-menu-"]) > a, .main-navigation .menu-bar-item:hover > a, .main-navigation .menu-bar-item.sfHover > a {
	color: var(--secondary) !important;
}

/* Footer */

.site-footer {
	color: var(--white);
	background: #373737;
}

.footer-widgets a {
	color: var(--white);
}

.footer-widgets a:hover {
	color: var(--secondary);
}

.footer-widgets {
	background: none;
}

.site-info {
	background: rgba(0,0,0,0.2);
}

.footer-about img {
	width: 210px;
	margin-bottom: 1rem;
}

.footer-about p {
	font-size: 1rem;
	margin-bottom: 1rem;
}

.footer-about i {
	font-size: 1.5rem;
}

.footer-site-extra {
	margin-top: 1rem;
}

.footer-site-extra img {
	height: 120px;
	margin-bottom: 0.5rem;
}

/* Featured Banner */

.featured-banners {
	overflow: hidden;
}

.featured-banner img {
	width: 100%;
	overflow: hidden;
	aspect-ratio: 1883/350;
	object-fit: cover;
	max-height: 350px;
}

.featured-banners .slide-arrow {
	padding: 30px 10px;
    background: #fff !important;
    color: #000;
	font-size: 2rem;
}

/* Hero */

.hero-banner {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
  }


.banner {
	height: 250px;
	background-size: cover;
	background-position: center;
	padding: 2rem 3rem;
	display: grid;
    place-content: space-between;
	transition: 0.3s ease;
}

.banner-1, .banner-2, .banner-3 {
	overflow: hidden;
}

.banner h2 {
	color: var(--white);
	font-weight: 600;
	font-size: 1.5rem;
}

.banner-1 .banner, .banner-2 .banner, .banner-3 .banner {
	justify-content: end;
}

.banner-1, .banner h2 {
	color: var(--white);
}

.banner a {
	font-size: 0.9rem;
	color: #fff;
	font-weight: 600;
	background: rgba(0,0,0,0.5);
    width: fit-content;
    margin-left: auto;
	display: flex;
	padding: .8rem 2rem;
	border-radius: 50px;
	transition: ease 0.3s;
}

.banner a:hover {
	color: #000;
	background: var(--secondary);
} 
	
.banner h2 {
	max-width: 180px;
	text-align: right;
	line-height: 1.5;
}

.hero-banner {
	display: none;
}

/* Hero Slider - Mobile */

.slide-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 99;
	background: none;
}

.slide-arrow:hover, .slide-arrow:focus {
	background: none;
}

.next-arrow {
	right: 0;
}

.slick-list {
    margin: 0;
}
	
.banner-1, .banner-2, .banner-3 {
	margin: 0 1rem;
}

/* Services */

.service-image  {
	position: relative;
	overflow: hidden;
}

.service-image img {
	aspect-ratio: 7/4 !important;
	object-fit: cover;
	transition: 0.3s ease;
}

.service-overlay {
	position: absolute;
	bottom: 0;
	width: 100%;
	padding: 1rem;
}

.service-overlay a {
	color:var(--black);
	font-size: 1.3rem;
	font-weight: 600;
	background: rgba(255,255,255,0.9);
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem;
}

.service-overlay a i {
	font-size: 1.8rem;
	width: 2.5rem;
	height: 2.5rem;
	background: rgba(0,0,0,0.1);
	border-radius: 50px;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: 0.3s ease;
}

.bi-arrow-right-short::before {
	line-height: 0;
}

.service-item:hover .service-overlay i {
	background: var(--secondary);
}

.service-item:hover .service-image img {
	transform: scale(105%);
}

/* Products grid */

.product-item {
	padding: 0.3rem;
}

.product-item a {
	color: var(--black);
	display: block;
	padding: 0.3rem;
	background: var(--white);
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px !important;
	transition: ease 0.3s;
	border: 2px solid rgba(255,255,255,0);
}

.product-image {
	overflow: hidden;
}

.product-item a:hover {
	border: 2px solid var(--secondary);
}

.product-item .product-image img {
	max-height: 180px;
	transition: ease 0.3s;
	object-fit: cover;
	aspect-ratio: 1/1;
}

.product-item a:hover img {
	transform: scale(1.05);
}

.product-item .product-details {
	margin-top: 1rem;
}

.product-item .cat {
	font-size: 0.5rem;
	font-weight: 500;
	background: #d9d9d9;
	padding: 0.3rem 1rem;
	width: fit-content;
	max-width: 100%;
	white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.product-item .cat p {
	white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-item h4 {
	margin: 1rem 0;
	font-size: .9rem;
	white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-item p.price {
	font-size: 1rem;
}

.product-item .bi-whatsapp {
	font-size: 1rem;
	color: #fff;
	width: 2rem;
	height: 2rem;
	background: green;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 50px;
}

/* Products grid */

/* Testimonials */

.testimonial-slider {
	margin-top: 1rem;
}

.testimonial-item {
	background: #d9d9d966;
	padding: 1rem;
	margin: 1rem;
    position: relative;
}

.testimonial-item i {
	color: #f2be49;
}

.testimonial-item .testimonial-content {
	font-size: 0.9rem;
}

.testimonial-item h4 {
	font-weight: 600;
	font-size: 1.3rem;
}

.slick-dots {
	list-style: none;
    margin: 0;
	margin-top: 1rem;
    display: flex;
	justify-content: center;
	align-items: center;
}

.slick-dots button {
	display: flex;
	background: #d9d9d966;
	text-indent: -9999px;
	padding: 0;
    width: 2rem;
    height: 6px;
}

.slick-dots .slick-active button {
	background: var(--primary);
}

.contact-form p {
	width: 100%;
	text-align: center;
}

.contact-form p input {
	font-size: 0.9rem;
	width: 100%;
	margin-bottom: 1.5rem;
	border-radius: 50px;
}

.contact-form p textarea {
	font-size: 0.9rem;
	margin-bottom: 1.5rem;
	border-radius: 15px;
}

.contact-form input[type="submit"] {
	width: fit-content;
	margin: auto;
	background: var(--secondary);
	color: var(--primary);
	font-weight: 600;
	border: 2px solid var(--secondary);
	transition: 0.3s ease;
}

.contact-form input[type="submit"]:hover {
	background: none;
	border: 2px solid var(--secondary);
}

.contact-form .wpcf7-spinner {
	display: none !important;
}

.contact-wrap .elementor-widget-wrap div, 
.contact-wrap iframe {
	height: 100% !important;
	border-radius: 15px;
	overflow: hidden;
}

/* Single Item Page */

.service-gallery img {
	aspect-ratio: 4/3;
	object-fit: cover;
  object-position: center;
	border-radius: 10px;
}

.product-gallery img {
	background: #f2f2f2;
	 aspect-ratio: 1/1;
  object-fit: cover;
  object-position: center;
	border-radius: 10px;
	margin: 0 1rem;
}

.product-gallery .slide-arrow {
	font-size: 2.5rem;
    color: var(--primary);
    top:50%;
    transform: translateY(-50%);
}

.product-cat {
	display: flex;
	gap: 1rem;
}

.product-cat a {
	color: var(--primary);
	display: flex;
	padding: 0.6rem 2rem;
	background: #f6f2f2;
	width: fit-content;
	margin-bottom: 3rem;
}
.product-cat a:hover {
	background: #3c231333;
}

.product-content h1 {
	font-size: 2rem;
	font-weight: 700;
}

.product-content p {
	font-size: 1rem;
}

.product-content .price {
	font-size: 1.5rem;
	margin-bottom: 1rem;
}

.product-content .getquote-btn {
	color: var(--primary);
	font-weight: 700;
	background: var(--secondary);
	display: flex;
	padding: 0.7rem 1.9rem;
	border-radius: 50px;
	border: 2px solid var(--secondary);
}

.product-content .getquote-btn:hover {
	background: none;
	border: 2px solid var(--secondary);
}

.product-content a .bi-whatsapp {
	display: flex;
	font-size: 1.5rem;
	color: #fff;
	width: 3rem;
	height: 3rem;
	justify-content: center;
	align-items: center;
	background: green;
	border-radius: 100px;
}
.product-content a .bi-whatsapp:hover {
	transform: scale(1.05);
}

/* Products Archive */


/* The sidepanel menu */

#mySidepanel {
	height: 100%;
	width: 100%;
	display: none;
	justify-content: center;
	align-items: center;
  position: fixed; /* Stay in place */
  z-index: 1; /* Stay on top */
  top: 0;
  left: 0;
}

#mySidepanel > div {
	position: relative;
  height: fit-content; /* Specify a height */
  width: 90vw;
  background-color: #f0f0f0; /* Black*/
  overflow-x: hidden; /* Disable horizontal scroll */
  padding: 2rem; /* Place content 60px from the top */
  transition: 0.5s; /* 0.5 second transition effect to slide in the sidepanel */
	border-radius: 25px;
}

/* The sidepanel links */
.categories-collapse a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  font-size: 25px;
  color: #818181;
  display: block;
  transition: 0.3s;
}

/* When you mouse over the navigation links, change their color */
.categories-collapse a:hover {
  color: #f1f1f1;
}

/* Position and style the close button (top right corner) */
.categories-collapse .closebtn {
  position: absolute;
  top: 0;
  right: 25px;
  font-size: 36px;
  margin-left: 50px;
}

/* Style the button that is used to open the sidepanel */
.openbtn {
  font-size: 1rem;
  cursor: pointer;
  background-color: var(--secondary);
  opacity: 0.9;
  color: white;
  padding: 10px 15px;
  border: none;
  margin-bottom: 1.5rem;
  border-radius: 10px;
}

.openbtn:hover {
  background: var(--secondary);
  opacity: 1;
}

#mySidepanel ul li button {
	padding: 0;
	background: none;
	color: currentcolor;
}

#mySidepanel ul li button i {
	margin-left: 1rem;
	transition: 0.3s ease;
}

#mySidepanel ul li button[aria-expanded="true"] i {
	transform: rotate(180deg);
}

#mySidepanel ul {
	margin: 0;
}

#mySidepanel ul li {
	margin-bottom: 1rem;
}

#mySidepanel ul li > ul {
	margin-left: 1.5rem;
}

#mySidepanel ul li.category-item:hover {
	color: var(--secondary);
}

#mySidepanel ul li.categories:hover button {
	color: var(--secondary);
}

#mySidepanel ul li.categories ul li {
	font-size: 0.9rem;
}

/* Hide Product categories */
	  .categories-sidebar {
    display: none;
	position: sticky;
    top: 2rem;
  }

.categories-sidebar {
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px !important;
}

.categories-sidebar h4 {
	color: var(--white);
	font-size: 1.3rem;
	text-transform: uppercase;
	font-weight: 600;
	padding: 1rem;
	background: var(--secondary);
}

.categories-sidebar .categories-list {
	padding: 1rem;
}

.categories-sidebar ul {
	list-style: none;
	background: #ebeaea;
	margin: 0;
}

.categories-sidebar ul li {
	color: var(--primary);
	font-size: 1rem;
	font-weight: 500;
	padding: 0.8rem 1rem;
	border-bottom: 1px solid rgba(0,0,0,0.1);
}

/* .categories-sidebar ul li.category-item:hover {
	background: rgba(248, 192, 41, 0.3);
} */

.categories-sidebar ul li:last-child {
	border-bottom: none;
}

.categories-sidebar ul li button i {
	transition: 0.3s ease;
} 


.categories-sidebar ul li button[aria-expanded="true"] i {
	transform: rotate(180deg);
}

.categories-sidebar ul li button {
	color: var(--primary);
	font-size: 1rem;
	background: none;
	font-weight: 500;
	padding: 0;
	width: 100%;
}

			  #modal-overlay {
				position: fixed;
				z-index: 9999;
				top: 0;
				left: 0;
				width: 100%;
				height: 100%;
				background-color: rgba(0,0,0,0.8);
			  }

			  #modal {
				position: absolute;
				z-index: 10000;
				top: 50%;
				left: 50%;
				transform: translate(-50%, -50%);
				min-width: 350px;
				max-height: 90%;
				overflow-y: auto;
				background-color: #f0f0f0;
				border-radius: 5px;
				padding: 3rem 3rem;
			  }
				  .quote-form h2 {
					  text-align: center;
					  font-size: 1.8rem;
					  font-weight: 700;
					  margin-bottom: 1.5rem;
				  }
				  .quote-form input, .quote-form textarea {
					  background: rgba(248, 192, 41, 0.3);
					  border-color: rgba(248, 192, 41, 0.3);
					  outline: none;
					  border-radius: 50px;
					  width: 100%;
					  margin-bottom: 1rem;
				  }
				  .quote-form textarea {
					  border-radius: 15px;
					  resize: none;
				  }
				  .quote-form button {
					  background: var(--secondary);
					  border-radius: 50px;
					  display: flex;
					  gap: .5rem;
					  align-items: center;
					  margin-bottom: 1rem;
					  border: 2px solid var(--secondary);
				  }
					.quote-form button:hover {
						color: var(--primary);
						background: none;
					}
				  .quote-form button i {
					  color: green;
				  }
				  #whatsapp-link {
					  display: flex;
					  justify-content: center;
					  color: var(--primary);
					  font-size: 1rem;
					  text-decoration: underline;
				  }
				  #whatsapp-link:hover {
					  opacity: 0.9;
					  text-decoration: none;
				  }
				  #close-modal-btn {
					  position: absolute;
						right: 1rem;
						top: 1rem;
						padding: 0;
						background: none;
						color: var(--primary);
					  opacity: 0.8;
						font-size: 1.5rem;
				  }
				  #close-modal-btn:hover {
					  opacity: 0.6;
				  }

/* 768px and Above */

@media only screen and (min-width: 768px) {
	
.archive-header {
    padding: 3rem;
}
	
	.archive-header .page-title {
		font-size: 2.5rem;
	}

.breadcrumbs {
	font-size: 1rem;
}

/* Header */
.header-contact {
	font-size: 1.5rem;
	font-weight: 700;
	display: flex;
    align-items: center;
}
	.header-contact a {
		color: #000;
	}
	.header-contact a:hover {
		color: var(--secondary);
	}
	
.header-search {
	width: 500px;
}
	
.header-widget {
	width: 70%;
	margin: auto;
}
	
#block-13 {
	width: inherit;
}
	
#block-14 {
	display: flex;
}
	
/* Hero */
	
.hero-banner {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1rem;
}

.banner {
	margin-bottom: 0;
}
	
.banner:hover {
	transform: scale(1.03);
}

.banner-1, .banner-2, .banner-3 {
	margin: 0;
}
	
.banner-1 .banner h2, .banner-2 h2, .banner-3 h2 {
	font-size: 1.3rem;
}
	
.hero-banner {
	display: grid;
}
	
.hero-banner-mobile {
	display: none;
}
	
	/* Products grid */

.product-item {
	padding: 0.3rem 0.5rem;
}

.product-item a {
	color: var(--black);
	display: block;
	padding: 0.5rem;
	background: var(--white);
	box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px !important;
}

.product-item .product-image img {
	max-height: 200px;
	object-fit: cover;
}

.product-item .product-details {
	margin-top: 1rem;
}

.product-item .cat {
	font-size: 0.6rem;
	font-weight: 500;
	background: #d9d9d9;
	padding: 0.3rem 1rem;
	width: fit-content;
}

.product-item h4 {
	margin: 0.8rem 0;
	font-size: 0.9rem;
	white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-item p.price {
	font-size: 1.1rem;
}

.product-item .bi-whatsapp {
	font-size: 1.2rem;
	color: #fff;
	width: 2.2rem;
	height: 2.2rem;
	background: green;
	display: flex;
	justify-content: center;
	align-items: center;
	border-radius: 50px;
}

/* Products grid */
	
/* Hide Select categories and show sidebar */
	  .categories-sidebar {
    display: block;
  }
  .categories-collapse, .openbtn {
    display: none;
  }

}