/*
 Theme Name:     Divi Child
 Theme URI:      https://www.elegantthemes.com
 Description:    Child theme for the Divi theme
 Author:         Elegant Themes
 Author URI:     https://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.0
*/
 
/* =Theme customization starts here
------------------------------------------------------- */

/* Global */
.et_pb_button {
  line-height: 1.2em !important;
}

footer a {
	color: #ffffff !important;
}

.et_pb_accordion .et_pb_toggle_open .et_pb_toggle_title:before {
    display: block!important;
    content: "\43" !important;
}

.l-margin {
	padding-left: 10% !important;
}

@media (min-width: 1750px) {
	.l-margin {
		padding-left: calc(50vw - 700px) !important;
	}
}

@media (max-width: 979px) {
	.l-margin {
		padding-left: 0px !important;
	}
	
	.show .et_pb_column_empty {
		display: block !important;
	}
}

/* Grid - push button to bottom */
.grid {
	display: flex;
	align-items: stretch;
}

.grid .et_pb_column {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Stack the modules normally */
	margin-bottom: 3%;
}

.grid .et_pb_column .et_pb_module:last-child {
	margin-top: auto !important;
}

@media (max-width: 979px) {
	.grid .et_pb_column {
		margin-bottom: 50px !important;
		width: 47.5%;
		margin-right: 5%;
	}
}

@media (max-width: 479px) {
	.grid {
		display: block;
	}
	
	.grid .et_pb_column {
		width: 100%;
		margin-right: 0px;
	}
}


@media (min-width: 1750px) {
	.custom-margins .et_pb_column:first-of-type {
		padding-left: calc(50vw - 700px) !important;
	}
	
	.custom-margins .et_pb_column:last-of-type {
		padding-right: calc(50vw - 700px) !important;
	}
}

/* Button pairs */
.button-group a {
	display:inline-block;
	padding: 5px 20px 8px 20px;
	margin-right: 20px;
	margin-bottom: 15px;
	background: #133966;
	border-radius: 50px;
	color: #ffffff !important;
	border: 2px solid #133966;
}

.button-group a:hover {
	padding: 5px 20px 8px 20px;
	background: transparent;
	color: #133966 !important;
}

.inline-btns {
	text-align: center;
}

.inline-btns .et_pb_button_module_wrapper,
.inline-btns-2 .et_pb_button_module_wrapper {
	display: inline-block;
}

.online-btn::before {
	margin-left: -1.5em !important;
}

/* Forms */
.gfield_label {
	font-weight: 400 !important;
}

.gform_button {
	padding: 5px 20px 8px 20px !important;
	font-family: 'Made Tommy Medium',Helvetica,Arial,Lucida,sans-serif !important;
	font-size: 20px !important;
	line-height: 1em !important;
	background: #133966;
	background-color: #133966 !important;
	border-radius: 50px !important;
	color: #ffffff !important;
	border: 2px solid #133966 !important;
}

.gform_button:hover {
	padding: 5px 20px 8px 20px;
	background: transparent;
	background-color: transparent !important;
	color: #133966 !important;
}

.gform_required_legend {
	font-size: 12px;
	padding-bottom: 15px !important;
}

/* Downloads Pages */
.download-menu li {
padding-right: 80px !important;  
}
.download-menu li.current-menu-item a,
.download-menu li a:hover{
  font-family: "Made Tommy Bold" !important;
  opacity: 1 !important;
}

.cvp-customized input ~ div:hover {
	box-shadow: none !important;
}

/* Header */
.header-menu .et_pb_column {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
}
.header-menu .et_pb_module {
	flex-shrink: 0;
	flex-grow: 0;
}
.header-menu .et_pb_menu__menu > nav > ul > li > a {
	padding-bottom: 0px;
	align-items: flex-end;
}

.header-menu .et_pb_menu__wrap {
	justify-content: center;
}

.et_pb_sticky .header-menu {
	padding-top: 15px;
	padding-bottom: 10px;
}

.et_pb_sticky .header-menu .et_pb_image {
	max-width: 200px;
}

@media (max-width: 1350px) {
	.header-menu {
		max-width: 90% !important;
		width: 90% !important;
	}
}
	
/* Home Page Toggle */
.toggle-button-group {
	width: auto !important;
	position: relative;
	display: flex;
	align-items: stretch;
	max-width: max-content;
	border-radius: 50px;
	overflow: hidden;
}

/* Sliding background fill */
.toggle-button-group::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 50%;
	height: 100%;
	background-color: #133966;
	border-radius: 0 50px 50px 0; /* rounded right by default */
	transition: transform 0.3s ease, border-radius 0.3s ease;
	z-index: 1;
}

/* On hover over inactive (right) button */
.toggle-button-group.hover-inactive::before {
	transform: translateX(100%);
	border-radius: 50px 0 0 50px; /* rounded left now */
}

/* Base buttons */
.toggle-button-group .et_pb_button_module_wrapper {
	flex: 1 0 0;
	width: 50%;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 !important;
}

.toggle-button-group .et_pb_button {   
	font-size: 20px;
	padding: 10px 25px !important;
	color: #133966 !important;
	background: transparent !important; /* fully transparent */
	border: none !important;
	position: relative;
	z-index: 2; /* above slider */
	white-space: nowrap;
	transition: color 0.3s ease;
	margin: 0 !important;
}

.toggle-button-group .et_pb_button:hover {
	padding: 10px 25px !important;
	border-radius: 0px  !important;
}

/* Active button text */
.toggle-button-group .et_pb_button.active {
	color: #fff !important;
	pointer-events: none;
}

/* Inactive button text */
.toggle-button-group .et_pb_button:not(.active) {
	color: #133966 !important;
}

/* Hover swap text colors */
.toggle-button-group.hover-inactive .et_pb_button.active {
	color: #133966 !important;
}

.toggle-button-group.hover-inactive .et_pb_button:not(.active) {
	color: #fff !important;
}

/* Border-radius now handled by the background only */
.toggle-button-group .et_pb_button:first-child,
.toggle-button-group .et_pb_button:last-child {
	border-radius: 0; /* reset to avoid conflicts */
}

/* Commercial Toggle Button */
/* Container */
.toggle-button-group-comm {
	width: auto !important;
	position: relative;
	display: flex;
	align-items: stretch;
	max-width: max-content;
	border-radius: 50px;
	overflow: hidden;
}

/* Sliding background fill */
.toggle-button-group-comm::before {
	content: "";
	position: absolute;
	top: 0;
	right: 0; /* start on the right for active button */
	width: 50%;
	height: 100%;
	background-color: #133966;
	border-radius: 50px 0 0 50px; /* rounded left by default now */
	transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), border-radius 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: 1;
}

/* On hover over inactive (left) button */
.toggle-button-group-comm.hover-inactive::before {
	transform: translateX(-100%);
	border-radius: 0 50px 50px 0;
}

/* Base buttons wrapper */
.toggle-button-group-comm .et_pb_button_module_wrapper {
	flex: 1 0 0;
	width: 50%;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 !important;
}

/* Buttons */
.toggle-button-group-comm .et_pb_button {
	font-size: 20px;
	padding: 10px 25px !important;
	color: #133966 !important;
	background: transparent !important;
	border: none !important;
	position: relative;
	z-index: 2;
	white-space: nowrap;
	transition: color 0.35s ease; /* smoother text color transition */
	margin: 0 !important;
}

.toggle-button-group-comm .et_pb_button:hover {
	padding: 10px 25px !important;
	border-radius: 0px  !important;
}

/* Active button text */
.toggle-button-group-comm .et_pb_button.active {
	color: #fff !important;
	pointer-events: none;
}

/* Inactive button text */
.toggle-button-group-comm .et_pb_button:not(.active) {
	color: #133966 !important;
}

/* Hover swap text colors */
.toggle-button-group-comm.hover-inactive .et_pb_button.active {
	color: #133966 !important;
}

.toggle-button-group-comm.hover-inactive .et_pb_button:not(.active) {
	color: #fff !important;
}

/* Remove any default Divi button radius */
.toggle-button-group-comm .et_pb_button:first-child,
.toggle-button-group-comm .et_pb_button:last-child {
	border-radius: 0 !important;
}

/* WPForms - temporary */
.wpforms-field-label {
	font-weight: 400 !important;
}

.wpforms-container input[type="text"],
.wpforms-container input[type="email"],
.wpforms-container input[type="textarea"],
.wpforms-container-full select,
.wpforms-container-full textarea {
	border: 1px #000 solid !important;
	border-radius: 0px !important;
}

.wpforms-container-full button[type="submit"],
.wpforms-container-full button[type="submit"]:not(:hover):not(:active),
.wpforms-container-full button[type="submit"]:focus {
	background: transparent !important;
	padding: 0px !important;
	color: #000 !important;
	border: none !important;
	font-weight: 600 !important;
}

/* Slider */
.testimonials .et_pb_slides {
	background: #ffffff;
	background-color: #ffffff !important;
	border-radius: 25px;
	padding: 50px 10%;
}

.testimonials .et_pb_slide {
	padding: 0px;
}

.et_pb_slide_description {
  text-shadow: none !important;
}

.author {
	font-size: 0.8em;
	line-height: 1.2em;
	font-family: "Made Tommy Medium";
}

.et_pb_testimonial_author {
  margin-top: 0;
}

.testimonials .et-pb-arrow-prev::before {
	content: "\44";
}

.testimonials .et-pb-arrow-next::before {
	content: "\45";
}

.testimonials .et-pb-arrow-prev,
.testimonials .et_pb_slider:hover .et-pb-arrow-prev {
	opacity: 1 !important;
	left: 10px !important;
}

.testimonials .et-pb-arrow-next,
.testimonials .et_pb_slider:hover .et-pb-arrow-next {
	opacity: 1 !important;
	right: 10px !important;
}

.about-test .et_pb_column {
	margin-bottom: 0px !important;
}

.about-test .clearfix::after {
  visibility: visible !important;
}

.about-test .et_pb_testimonial {
  position: relative; 
  overflow: visible !important;
  z-index: 10;
}

.about-test .et_pb_testimonial::after {
  content: '';
  width: 18%; 
  max-width: 100px; 
  position: absolute;
  top: 99%; 
  left: 3%; 
  z-index: 20;
  transform: translateX(0); /* No need to center since it's aligned to the left */
  background: url('/wp-content/uploads/2025/08/bubble-tail-tint.png') no-repeat;
  background-size: contain;
  height: 50px; 
}

/* Tables */
.features td { 
	font-family: 'Made Tommy Medium';
	font-size: 20px;
	padding: 10px 15px !important;
}

.features tr td {
	border-top: 0.5px solid #133966;
	border-right: 0.5px solid #133966;
}

.features tr td { 
	border-top: 0.5px solid #133966;
}

.features tbody { 
	border: 1px solid #133966 !important;
}

.features .column-1 {
	background: #eaebf4;	
}

@media (max-width: 979px) {
	.features td { 
		font-size: 18px;
	}
}

/* Product Content View */
.products .pt-cv-page {
	display: flex;
	align-items: stretch;
	flex-wrap: wrap;
}

.products .pt-cv-content-item {
	display: flex;
	flex-direction: column;
	justify-content: stretch;
	width: 31.333%;
	border: 1px solid #133966;
	border-radius: 20px;
   	margin: 0 1% 4% 1%;
	padding: 0px;
}

.products .pt-cv-ifield {
	display: flex;
    flex-direction: column;
	justify-content: flex-start;
	flex: 1 1 auto;                       
    min-height: 0;                         
    height: 100%;  
}

.products .pt-cv-title {
	margin-bottom: 0px;
	padding-bottom: 0px;
	height: auto !important;
}

.products .pt-cv-thumbnail {
	width: 100%;
	margin-bottom: 30px !important;
}	

.products .pt-cv-content {
	height: auto !important;
	font-size: 16px;
	font-family: "Made Tommy Light";
	padding: 0 20px 20px 20px;
	margin-bottom: 0px;
}

.products .pt-cv-ctf-list {
	margin-top: auto !important;
	padding: 0 20px 20px 20px;
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
	height: auto !important;
}

.products .pt-cv-ctf-column {
	width: auto;
}

.products .pt-cv-ctf-value {
	padding: 3px 20px;
	margin-top: 0px;
	margin-right: 15px;
	background: #133966;
	border-radius: 50px;
	border: 2px solid #133966;
	text-align: center;
}

.products .pt-cv-ctf-value a {
	color: #fff;
	text-align: center;
}

.products .pt-cv-ctf-value:hover {
	background: #fff;
}

.products .pt-cv-ctf-value a:hover,
.products .pt-cv-ctf-value:hover a {
	color: #133966;
}

@media (max-width: 979px) {
	.products .pt-cv-content-item {
		width: 46%;
		border-radius: 20px;
   		margin: 0 2% 6% 2%;
	}	
}

@media (max-width: 600px) {
	.products .pt-cv-content-item {
		width: 100%;
		border-radius: 20px;
   		margin: 0 0 12% 0;
	}	
}

/* Misting Lines Landing Page */
@media (max-width: 1400px) {
  .sub p {
    font-size: 24px;
  }
}

@media (max-width: 1110px) {
  .mist-lines {
    display: block !important;
  }
  .mist-lines .et_pb_column {
    width: 100% !important;
  }
}

/* Misting Fans Page */
.mist .et_builder_inner_content p {
	line-height: 1.25em !important;
}

.mist .product-table-wrapper {
	margin-top: 0px !important;
}

.mist h5 {
	margin-top: 20px;
}

/* Responsive tweak */
@media (max-width: 767px) {
  .product-ribbon .woocommerce-product-gallery::after {
    right: -48px;
    padding: 8px 56px;
    font-size: 11px;
  }
  .product-ribbon .woocommerce-product-gallery::before {
    border-top-width: 28px;
    border-left-width: 28px;
  }
}

/* Product Pages */
.product-template-default .clearfix .catalog-enquiry {
	display: none;
}

.product-btns a {
	color: #ffff;
}

.product-btns:hover {
	background: transparent !important;
	background-color: transparent !important;
}

.product-btns:hover a {
	color: #133966 !important;
}

.cannon-features p {
	padding-bottom: 8px !important;
}

.cannon-features ul {
	border-bottom: 1px solid #000;
	padding-bottom: 10px;
	margin-bottom: 10px;
}

.cannon-specs .spec {
	border-bottom: 1px solid #000;
	padding: 12px 0;
}

/* Product Tables */
.product-table-wrapper {
    width: 100%;
	margin-top: 25px;
    overflow-x: auto; /* horizontal scroll if needed */
	border: none;
  }

.product-table-wrapper .two-col-table {
    width: 100%; 
    border-collapse: collapse;
	table-layout: auto;
	border: none !important;
  }

 .product-table-wrapper .two-col-table td {
    padding: 5px 10px !important;
	font-size: 14px;
	 line-height: 1.2em;
	font-family: "Made Tommy Medium";
    vertical-align: top;
    word-wrap: break-word;
	border: none !important;
  }

  /* Single divider between the columns */
.product-table-wrapper .two-col-table td:first-child {
    border-right: 1px solid #133966;
	padding-left: 0px !important;
  }


/* Brochures */
.cvp-live-filter input[type="radio"]:checked ~ div {
  font-weight: 900 !important;
  text-decoration: underline !important;
}
.cvp-live-filter[data-sid="0e831255xw"].cvp-customized input ~ div:hover, .cvp-live-filter[data-sid="570d618hcm"].cvp-customized input ~ div:focus,
.cvp-live-filter[data-sid="0e831255xw"].cvp-customized input~div:hover {
  border: none !important;
  box-shadow: none !important;
  font-weight: 900 !important;
}
.brochure-download {
  padding: 5px 20px 8px 20px !important;
  font-family: 'Made Tommy Medium',Helvetica,Arial,Lucida,sans-serif !important;
  font-size: 16px !important;
  line-height: 1em !important;
  background: #133966;
    background-color: rgb(46, 41, 130);
  background-color: #133966 !important;
  border-radius: 50px !important;
  color: #ffffff !important;
  border: 2px solid #133966 !important;
}
@media (max-width: 979px) {
  .download-menu  .et_pb_menu__wrap {
    justify-content: flex-start;
  }
  .download-menu .et_pb_menu__menu {
    display: flex !important;
  }
  .download-menu .et_mobile_nav_menu {
    display: none !important;
  }
  .download-menu li {
    padding-right: 11px !important;
  }
}

/* Post */
.posts .pt-cv-wrapper .text-left {
  text-align: center;
}
