/**
 * Theme Name:     Oaklands Theme
 * Author:         Website Energizerrs
 * Template:       Divi
 * Text Domain:	   oaklands-theme
 * Description:    Divi Child Theme for Oaklands
 */

/* Inline buttons - Used on product pages */
.inline-buttons .et_pb_button_module_wrapper {
	display: inline-block;
}

button:hover:not(.et-fb-button):not(.et_pb_menu__search-button):not(.et_pb_menu__close-search-button), .et_pb_button:hover:not(.et-fb-button) {
    background-color: #249146 !important;
}
button.et_pb_menu__search-button:hover, button.et_pb_menu__close-search-button:hover {
	opacity: .7;
}

@media only screen and (max-width: 981px) {
	.product-categories-container {
		flex-direction: column;
	}
}


[aria-haspopup="dialog"]::after {
    font-family: 'FontAwesome';
    content: '\f0d7';
    margin-left: 5px;
    font-size: 1rem;
    vertical-align: middle;
    color: #2ea953;
}

.category-group {
	flex: 1 1 25%;
	box-sizing: border-box;
	padding: 10px;
	padding-top:0px
}

.main-category-menu-link {
	color: #2ea953;
	font-family: 'Square 721 Bold', Helvetica, Arial, Lucida, sans-serif;
	font-weight: bold;
	font-size: 14px;
	line-height: 17px;
	text-transform: uppercase;
}

.main-category-menu-link:hover {
	color: #17301c !important;
}

.sub-category-menu-link {
	color: #17301c !important;
	font-family: 'd-din', Helvetica, Arial, Lucida, sans-serif;
	font-size: 14px;
	line-height: 17px;
}

.sub-category-menu-link:hover {
	text-decoration: underline;
}

.tippy-content.tippy-content-centered-horizontal {
	max-width: 1920px !important;
}

/* .divimegapro-body .et_pb_section {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

.divimegapro-body .et_pb_section .et_pb_row_0 {
	padding-top: 1rem !important;
	padding-bottom: 0 !important;
	padding-left: 1rem !important;
	padding-right: 1rem !important;
	margin: 0 !important;
	width: 100% !important;
}

.divimegapro-body .et_pb_section .et_pb_row_1 {
	background-color: #E6E6E6;
	padding-top: 15px !important;
	padding-bottom: 15px !important;
	width:100% !important; 
} */


/* Product Card Styles */
.product-card-image-container {
	padding:0!important;
	width: 100% !important;
	margin-bottom: -10px !important;
	max-width: 400px !important;
}

.product-card-image-container img {
	background: #e6e6e6;
	margin: 0 !important;
/* 	padding: 10% !important; */
	width:auto;
}

.product-card-image-container .et_pb_module {
	text-align:center !important;
}

.product-card-info-container {
	padding-top: 2rem !important;
	padding-right: 2rem !important;
	padding-bottom: 2rem !important;
	padding-left: 2rem !important;
	background-color: #17301C;
	height: 15rem !important;
	width: 100% !important;
	max-width: 400px !important;
}

.product-card-info-column {
	display: flex;
    height: 100%;
    flex-direction: column;
    justify-content: space-between;
}

.product-features-row {
	padding-top: 2rem !important;
	padding-right: 2rem !important;
	padding-bottom: 2rem !important;
	padding-left: 2rem !important;
	background-color: #516455 !important;
	height: 15rem !important;
	width: 100% !important;
	max-width: 400px !important;
}

@media only screen and (max-width: 410px) {
	.product-card-info-button {
		font-size:16px !important;
	}
}



.product-card-title {
	color: white;
	text-transform: uppercase;
	font-size: 26px !important;
	font-family: 'Square 721 Bold', Helvetica, Arial, Lucida, sans-serif !important;
}

.swiper-pagination-bullet-active {
	background: #17301C !important;
}

/* .swiper-wrapper {
	padding-bottom: 50px;
} */


/* WPFORMS */
/* Centering the form and setting max-width */
.wpforms-form {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Form field container with spacing */
.wpforms-form .wpforms-field-container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    flex-direction: column;
}

/* Styling inputs */
.wpforms-form input[type="text"],
.wpforms-form input[type="email"],
.wpforms-form input[type="tel"] {
    width: calc(50% - 10px); /* Two-column layout for inputs */
    padding: 10px 15px;
    margin-bottom: 10px;
    border: none;
    border-radius: 8px;
    background-color: #FFF;
    color: #17301C;
    box-sizing: border-box;
    font-family: 'Square 721 Bold', Helvetica, Arial, Lucida, sans-serif;
    font-size: 16px;
    flex: 1 1 calc(50% - 10px);
}
.wpforms-uploader {
	font-family: 'd-din', Helvetica, Arial, Lucida, sans-serif !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	border-radius: 8px !important;
	background-color: #E6E6E6 !important;
	border-style: none !important;
	padding: 25px !important;
}
.wpforms-form textarea, .wpforms-uploader {
    width: 100%;
    padding: 10px 15px;
    margin-bottom: 10px;
    border: none;
    border-radius: 8px;
    background-color: #FFF;
    color: #17301C;
    box-sizing: border-box;
    font-family: 'Square 721 Bold', Helvetica, Arial, Lucida, sans-serif;
    font-size: 16px;
    resize: vertical;
    flex-basis: 100%;
    margin-top: 10px;
    order: 1;
}

/* Submit button styles */
.wpforms-form button[type="submit"],
.wpforms-form input[type="submit"] {
    padding: 9px 18px !important;
    font-size: 18px;
    background-color: #2ea953;
    border: none !important;
    border-radius: 8px;
    font-family: 'Square 721 Bold', Helvetica, Arial, Lucida, sans-serif;
    text-transform: uppercase;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: block;
    margin: 20px auto 0 auto;
}

/* Button hover effect */
.wpforms-form button[type="submit"]:hover,
.wpforms-form input[type="submit"]:hover {
    background-color: #249146;
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .wpforms-form input[type="text"],
    .wpforms-form input[type="email"],
    .wpforms-form input[type="tel"],
    .wpforms-form textarea {
        width: 100%;
        flex-basis: 100%;
    }

    .wpforms-form .wpforms-field-container {
        flex-direction: column;
    }
}


.wpforms-recaptcha-container {
	text-align: center;
}

/* WPFORMS END */


.swiper-container .swiper-button-next, .swiper-container .swiper-button-prev {
    background: #2EA953 !important;
    width: 37px !important;
    height: 37px !important;
    padding: 27px !important;
    border-radius: 50% !important;
}
.swiper-container .swiper-button-prev:after {
	content: '\F30A';
	left: 10%;
}
.swiper-container .swiper-button-next:after {
	content: '\F30B';
	
}

.swiper-container .swiper-button-next {
	right: 10%;
}

.swiper-container .swiper-button-prev {
	left: 10%;
}

.swiper-container .swiper-button-next:after, .swiper-container .swiper-button-prev:after {
	font-family: FontAwesome !important;
    font-weight: 900 !important;
	color: #FFFFFF !important;
    font-size: 37px !important;
	display: block;
}

.grid-posts.datasheets-grid, .grid-posts.accessories-grid {
	display: grid;
	grid-gap: 75px;
	list-style: none;
	grid-template-columns: repeat(1, minmax(0, 1fr));
}

.grid-posts.accessories-grid .accessory-features {
	color: white;
	padding-bottom: 0 !important;
}

.grid-posts.accessories-grid .accessory-features li{
	padding-bottom:8px !important;
}

@media (min-width: 980px) {
    .grid-posts.datasheets-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (min-width: 768px) and (max-width: 979px){
    .grid-posts.datasheets-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (min-width: 1200px) {
    .grid-posts.accessories-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (min-width: 768px) and (max-width: 1200px){
    .grid-posts.accessories-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

.et_pb_button {
	text-transform:uppercase !important;
}

.header-tel-link a {
	color: #17301c !important;
/* 	font-size: 24px !important; */
	font-size: clamp(16px, 0.9vw, 24px);
	font-family: 'Square 721 Bold', Helvetica, Arial, Lucida, sans-serif;
	text-transform: uppercase;
}
.get-a-quote-header-button a{
	color: white !important;
}

/* Datasheets Table */
.datasheet-table, .size-options-table {
	width:100%;
	border: 1px solid #17301C;
}

.datasheet-table thead, .size-options-table thead {
	background:#17301C;
}

.datasheet-table td.datasheets-product-name {
	border-right: 1px solid #17301C;
	border-top: 1px solid #17301C;
	padding:1rem;
/* 	text-transform:uppercase; */
	font-size:24px;
}


@media screen and (max-width: 750px) {
	.datasheet-table td.datasheets-product-name {
		border-right: none !important;
	}
	
	.datasheet-table {
		border-top: none !important;
	}
	.datasheet-accordion-first {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
	.datasheet-accordion {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
	.datasheets-product-name {
		background:#17301C;
		color: white;
		font-weight: bold;
		font-size: 18px !important;
		font-family: 'Square 721 Bold', Helvetica, Arial, Lucida, sans-serif;
	}
}

@media screen and (max-width: 460px) {
	.datasheet-table td.datasheets-product-datasheet div {
		flex-direction: column;
	}
	.datasheet-table td.datasheets-product-datasheet div a.et_pb_button {
		margin-left: 0 !important;
		margin-top: 2rem;
	}
}

.datasheet-table td.datasheets-product-datasheet {
	border-top: 1px solid #17301C;
}

.datasheet-table td.datasheets-product-datasheet div{
	display: flex;
	justify-content: space-between;
	align-items: center;
	width:100%;
	height:100%;
	padding:1rem;
	font-size:24px;
}

.datasheet-table td.datasheets-product-datasheet div a.et_pb_button {
	text-transform:uppercase;
	margin-left:2rem;
}


.data-sheets-table-header, .size-options-table-header {
	text-transform: uppercase;
	text-align:left;
	color:white;
	width:70%;
	padding:1rem;
	font-size:18px;
	font-weight: bold;
	font-family: 'Square 721 Bold', Helvetica, Arial, Lucida, sans-serif;
}

.datasheet-accordion {
	background: none;
	border:none;
	border-top: 1px solid #bdbdbd;
	padding-top: 40px;
    padding-bottom: 30px;
}

.datasheet-accordion-first {
	background: none; border:none;    padding-top: 40px;
    padding-bottom: 30px;
}

a.technical-datasheet-button {
	background: #17301c !important;
}

.et_pb_toggle_close .data-sheets-category-title:before {
	font-family: ETmodules !important;
    font-weight: 700 !important;
    content: "\4c" !important;
	color: #2ea953 !important;
}

.et_pb_toggle_open .data-sheets-category-title:after {
	font-family: ETmodules !important;
    font-weight: 700 !important;
    content: "\4b" !important;
	color: #2ea953 !important;
	cursor: auto;
	position: absolute;
    right: 0;
    font-size: 16px;
    color: #ccc;
    top: 50%;
    margin-top: -.5em;
}

.et_pb_toggle_open .et_pb_toggle_title, .et_pb_toggle_open h5.et_pb_toggle_title {
	color: #17301C !important;
}

.size-options-table {
	width: 100%;
	border-collapse: collapse;
	table-layout: fixed; /* Ensures all columns have the same width */
}

.size-options-table td.size-options-table-product-size {
	border-right: 1px solid #17301C;
	border-top: 1px solid #17301C;
	padding:1rem;
	font-size:24px;
	font-family: 'd-din', Helvetica, Arial, Lucida, sans-serif;
	font-weight: 500 !important;
}

/* @media (max-width: 1156px) { */
@media (max-width: 1328px) {
	.get-quote-header {
		display:none !important;
	}
	.et_pb_section--with-menu {
		padding-top: 0 !important;
	}
	.navigation-bar .et-menu-nav {
		display:none !important;
	}
	.mobile-navigation-container.et_pb_section_1_tb_header {
		display:block !important;
	}
	
	.mobile-navigation-container .et-menu-nav {
		display: none !important;
	}
	.mobile-navigation-container .et_mobile_menu {
		padding-left: 0 !important;
	}
	.tippy-popper.dmp-112516 {
		width:89% !important;
	}
	.tippy-content {
		width:100% !important;
	}
	.mobile-navigation-container .et_mobile_nav_menu {
		display: block !important;
	}
	
	.mobile-navigation-container .et_pb_menu__wrap {
		justify-content: flex-end !important;
	}
	
	.mobile-navigation-container .menu-item::marker {
		display:none !important;
	}
	.mobile-navigation-container li {
		list-style: none;
	}
	.mobile-navigation-container img {
		max-width: 225px;
	}
	
	.et_pb_menu__logo {
		margin-right: 0 !important
	}

/*     .et-db #et-boc .et-l .et_pb_menu .et_mobile_nav_menu {
        float: none;
        margin: 0 6px;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }
	
	.et-db #et-boc .et-l .et_pb_menu .et_pb_menu__menu {
        display: none;
    }
	
	.navigation-bar {
		display:none !important;
	}
	
	.et_pb_menu_0_tb_header .mobile_nav .mobile_menu_bar:before {
		color:#17301C !important;
	} */
}

@media (max-width: 1579px) {
	/* Show only 2 columns */
	.news-insights-preview .grid-posts, .news-archive .grid-posts, .datasheets-grid.grid-posts {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
	
	.news-insights-preview .grid-col:last-child {
		display:none;
	}
}

@media (max-width: 1080px) {
	/* Show only 2 columns */
	.news-insights-preview .grid-posts, .news-archive .grid-posts, .grid-posts, .datasheets-grid.grid-posts {
		grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
	}
	
	.news-insights-preview .grid-col:nth-last-child(-n+2) {
		display: none;
	}
}

@media (min-width: 3500px) {
	.left-aligned-cover-image, .left-aligned-cover-image-about-us {
		transform: translate(0, 0px) !important;
	}
}

.left-aligned-cover-image {
	transform: translate(25%, 0px);
}
.left-aligned-cover-image-about-us {
	transform: translate(31%, 0px);
}

/* Ensure the table layout stays horizontal on desktop */
.size-options-table {
    width: 100%; /* Full width table */
    border-collapse: collapse; /* Ensure cells don’t have gaps */
}

.size-options-table th, .size-options-table td {
    text-align: center; /* Center content */
    padding: 10px; /* Add padding for better readability */
    border: 1px solid #17301C; /* Optional: adds visible borders */
    box-sizing: border-box;
}
.size-options-table td {
	font-family: 'd-din', Helvetica, Arial, Lucida, sans-serif !important;
    font-size: 24px !important;
    color: #17301C !important;
    line-height: 28px !important;
	font-weight:normal !important;
}
.size-options-table td.size-options-table-header {
	font-family: 'Square 721 Bold', Helvetica, Arial, Lucida, sans-serif !important;
	font-weight: bold !important;
	color: #fff !important;
}


.size-options-table th {
    background-color: #17301C; /* Optional: header styling */
    color: #fff; /* Optional: white text for contrast */
    font-weight: bold;
}

/* Hide the mobile table by default */
.size-options-table-mobile {
    display: none;
}

/* Show the desktop table by default */
.size-options-table-desktop {
    display: table;
}

.product-icons img {
    width:80px;
}

.product-icons.table-is-single-col img {
    width:160px;
}

/* On smaller screens, hide the desktop table and show the mobile table */
@media only screen and (max-width: 926px) {
    .product-icons {
        margin-top:1rem;
    }
    
    .product-icons img {
        width:80px !important;
    }
    
    .product-size-options-table-container .et_pb_text_inner{
        flex-direction: column-reverse;
    }
    .size-options-table-mobile {
        display: table;
    }

    .size-options-table-desktop {
        display: none;
    }
}

#wpforms-113601-field_8 {
	display: none !important;
}