/* 
 Theme Name:   Zeald Website Theme
 Theme URI:    
 Description:  Divi child theme containing any special customisations for this website
 Author:       Zeald
 Author URI:   http://www.zeald.com
 Template:     Divi
 Version:      3.0

 /* == Add your own styles below this line ==
--------------------------------------------*/

#breadcrumbs {
	display: none;
    margin-top: 20px;
    margin-bottom: 40px;
	font-size: 13px;
}

.woocommerce .woocommerce-breadcrumb {
	font-size: 15px; 
	color: #444444;
	margin-bottom: 60px;
}

.woocommerce .woocommerce-breadcrumb a {
	color: #5C8727;
}

.search-results #breadcrumbs { display: none; }

#et_search_icon:before {
	content: url(/wp-content/uploads/2023/07/tabler_search.png);
	top: -9px;
}

.displayflex {
	display: flex;
}

.marginauto {
	margin-top: auto;
	margin-bottom: auto;
}

body, #et-top-navigation {
	font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 600 !important;
}

#main-header .nav li ul a {
	font-size: 16px;
	line-height: 160%;
}

#main-header .nav li ul a:hover {
	color: #5c8727;
}

.et_pb_button, .et_button_no_icon .et_pb_button,
.woocommerce .button {
	display: inline-flex !important;
	min-height: 52px;
	align-items: center;
	justify-content: center;
	letter-spacing: 1.6px;
}

.et_pb_button, .et_button_no_icon .et_pb_button,
.et_pb_button:hover, .et_button_no_icon .et_pb_button:hover {
	padding-left: 30px !important; 
	padding-right: 30px !important;
}

#top-menu li {
	padding-right: 32px;
}

#et_top_search {
	margin-left: 34px;
}

.slider_content-styles .et_pb_slides .et_pb_slide_title {
	padding-bottom: 36px;
}

.slider_content-styles .et_pb_slides .et_pb_button {
	margin-bottom: 36px;
	margin-top: 16px;
	font-size: 20px;
	min-height: 60px;
}

.slider_content-styles .et_pb_slides .et_pb_slide_content h3 {
	font-size: 30px;
}

.testimonial_dotnavigation-style .et-pb-controllers a {
	width: 10px; 
	height: 10px;
	background-color: #CCC;
}

.testimonial_dotnavigation-style .et-pb-controllers a.et-pb-active-control {
	background-color: #5C8727;
}

.category_column-box .et_pb_column,
.category_column-box .et_pb_column .et_pb_promo {
	display: flex; 
	flex-direction: column;
	justify-content: end;
}

.category_column-box .et_pb_column .et_pb_promo_description {
	padding-bottom: 0;
}

.category_column-box.et_pb_column.et_pb_column_single:hover {
	background-color: rgba(92,135,39,0.9);
}

.category_column-box.et_pb_column.et_pb_column_single .et_pb_promo {
    display: flex;
    align-items: stretch;
    height: 100%;
}

.category_column-box.et_pb_column.et_pb_column_single .et_pb_promo:hover:after,
.category_column-box .et_pb_column .et_pb_promo:hover:after {
	content:url(/wp-content/uploads/2023/07/gg_chevron-up-o.png);
	width: 48px;
	height: 48px; 
	display: block;
	position: absolute;
	z-index: 0;
}

.category_column-box.et_pb_column.et_pb_column_single .et_pb_promo:hover:after {
	bottom: 50px;	
}

.category_column-box .et_pb_column:hover:after,
.category_column-box .et_pb_column .et_pb_promo:hover:after {
	right: 30px;
	bottom: 40px;
}

.category_column-box.et_pb_column.et_pb_column_single .et_pb_promo .et_pb_module_header:after,
.category_column-box .et_pb_promo .et_pb_module_header:after {
	content: "";
    border-bottom: 3px solid #FFF;
    width: 24px;
    height: 3px;
    display: flex;
    margin-top: 10px;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
	text-align: center;
}

.woocommerce ul.products li.product .price, 
.woocommerce-page ul.products li.product .price, 
.woocommerce ul.products li.product .price del, 
.woocommerce-page ul.products li.product .price del {
	font-size: 18px;
}

.woocommerce div.product p.price, .woocommerce div.product span.price,
.entry-summary p.price span {
	font-size: 30px !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.product .related .products h2 {
	font-size: 19px !important;
}

.woocommerce ul.products li.product .price {
	font-size: 18px !important;
}

.woocommerce-product-details__short-description {
	margin-top: 30px;
}

.woocommerce div.product form.cart .variations td,
.woocommerce div.product form.cart .variations th {
	vertical-align: baseline;
}

.woocommerce div.product form.cart .variations td select {
	min-height: 52px;
}

#footer-widgets .title {
	padding-bottom: 20px;
}

#footer-widgets .footer-widget li {
	padding-left: 0;
}

#footer-widgets .footer-widget li:before {
	display: none;
}

#footer-widgets .footer-widget:first-child a,
#footer-widgets .ft-phone {
	color: #5C8727 !important;	
}

#footer-widgets .ft-phone {
	font-family: 'Figtree',Helvetica,Arial,Lucida,sans-serif;
	font-size: 30px; 
}

#footer-widgets .footer-widget:last-child ul {
	display: flex;
	margin-top: 10px;
	margin-bottom: 20px;
}

#footer-widgets .footer-widget:last-child ul li:first-child {
	margin-right: 50px;
}

#footer-bottom .bottom-nav {
	padding: 0;
}

#footer-bottom .bottom-nav li {
	font-size: 13px;
	text-transform: uppercase;
	padding-right: 18px;
	line-height: 100%;
}

#footer-bottom .bottom-nav a {
	color: #444444;
}

/* Media Queries */
@media (min-width:981px) {
	.home #main-header, 
	.home #main-header.et-fixed-header {
		background-color: transparent;
		position: absolute;
		top: 44px;
		box-shadow: none;
	}
	
	.home.admin-bar #main-header,
	.home.admin-bar #main-header.et-fixed-header {
		top: 76px;
	}
	
	#et-secondary-menu {
		float: none;
	}
	
	#top-header .container {
		padding-top: 16px;
	}
	
	#et-info, #et-secondary-menu>ul>li a {
		padding-bottom: 16px;
	}

	#top-header .et-cart-info {
		margin-left: 26px;
	}
	
	#top-header .et-cart-info,
	.account-cart {
		float: right;
	}
	
	.slider_content-styles .et_pb_slides .et_pb_text_overlay_wrapper {
		padding: 60px 50px;
	}
	
	.slider_content-styles .et_pb_slides .et_pb_button {
		min-width: 280px;
		justify-content: center;
	}
	
	.logo_carousel-display .sp-logo-carousel {
		padding-bottom: 0 !important;
	}
	
	.logo_carousel-display .sp-lc-pagination.swiper-pagination {
		display: none;
	}
	
	.category_column-box.et_pb_column.et_pb_column_single,
	.category_column-box .et_pb_column {
		width: 51% !important;
		margin-right: 10px !important;
	}
	
	#footer-widgets {
		padding-top: 4.7%;
		padding-bottom: 2%;
	}
	
	#footer-bottom {
		padding-top: 6px;
	}
	
	#footer-bottom .container {
		display: flex; 
		align-items: center;
	}
	
	#footer-bottom .bottom-left {
		width: 75%;
	}
	
	#footer-bottom .bottom-right {
		width: 25%;
		display: flex; 
		justify-content: right;
	}
}

@media (max-width: 980px) {
	.et_secondary_nav_only_menu #top-header,
	#et-secondary-menu {
		display: inherit !important;
	}
	
	.account-cart {
		padding: 16px 0;
	}
	
	#top-header .container {
		display: flex; 
		justify-content: center;
	}
	
	#top-header .et-cart-info {
		margin-left: 26px;
	}
	
	#et_top_search {
		float: right;
		margin-right: 60px;
	}
	
	#et_search_icon:before {
		top: 8px;
	}
	
	.et_header_style_left #et-top-navigation {
		padding-top: 23px;
	}
	
	.et_header_style_left #et-top-navigation .mobile_menu_bar {
		padding-bottom: 23px;
	}
	
	.mobile_menu_bar:before {
		color: #FFF !important;
		font-size: 44px;
	}
	
	.slider_content-styles .et_pb_slides .et_pb_slide {
		padding: 0;
	}
	
	.slider_content-styles .et_pb_slides .et_pb_slide_content h3 {
		font-size: 25px;
	}
	
	.slider_content-styles .et_pb_slides .et_pb_slide_description {
		padding-top: 10px; 
		padding-bottom: 10px;
	}
	
	.category_column-box.et_pb_column.et_pb_column_single,
	.category_column-box .et_pb_column {
		margin-bottom: 10px;
	}
	
	.category_column-box.et_pb_column.et_pb_column_single .et_pb_promo:hover:after {
		bottom: 40px;
	}
	
	.woocommerce .woocommerce-breadcrumb { 
		margin-bottom: 40px; 
	}
	
	#footer-bottom .bottom-right {
		display: flex; 
		justify-content: center;
	}
}


@media (max-width: 479px) {
	.category_column-box .et_pb_column.et_pb_column_inner {
		margin-bottom: 10px;
	}
	
	.featured_products-column .woocommerce ul.products li.product,
	.featured_products-column .woocommerce-page ul.products li.product {
		width: 100% !important; 
		margin-right: 0 !important;		
	}
	
	.woocommerce-page table.cart td.actions .coupon .button {
		width: 100%;
	}
}

/*Order Invoice*/
.woocommerce-order
.woocommerce-bacs-bank-details {
	margin-top: 2.5em !important;
	padding-top: 0px !important;
}

.wc-bacs-bank-details-heading {
	margin-bottom: 20px !important;
}

.woocommerce-order ul.order_details {
	margin-bottom: 0px !important;
}

.wc-bacs-bank-details.order_details.bacs_details {
	padding-bottom: 50px !important;
}

/*Product Page Enhancement*/
body.single-product 
.single_variation_wrap {
	display: flex;
}

body.single-product 
.woocommerce-variation-add-to-cart {
	margin-left: auto;
}

body.single-product 
#sidebar {
	display: none;
}

body.single-product 
table.variations
td.value {
	display: flex;
    flex-direction: column;
}

body.single-product 
table.variations
td.value a {
	text-align: right;
	padding-top: 33px !important;
}

.woocommerce div.product form.cart .variations td {
	padding: 0 20px 0px 0 !important;
}

body.woocommerce div.product .woocommerce-tabs 
ul.tabs li.active a, body.woocommerce 
#content-area div.product .woocommerce-tabs 
ul.tabs li.active a,
body.woocommerce div.product .woocommerce-tabs ul.tabs 
li a, 
body.woocommerce #content-area div.product 
.woocommerce-tabs ul.tabs li a {
    font-family: 'Sarabun';
    font-size: 15px;
    font-weight: 700;
    line-height: 160%;
    text-transform: uppercase;
}

body.woocommerce 
#content-area div.product .woocommerce-tabs 
ul.tabs li.active a {
	color: #5C8727 !important;
}

body.single-product
.woocommerce-Tabs-panel h2 {
	font-size: 19px !important;
}

body.single-product
.up-sells.upsells h2,
body.single-product .related h2 {
	font-family: 'Figtree';
	font-size: 30px !important;
	font-weight: 600 !important;
	line-height: 100%;
	padding-bottom: 30px !important;
}

body.single-product
.variations label {
	font-family: 'Sarabun';
	font-size: 18px !important;
	font-weight: 400 !important;
	line-height: 150%; 
}

body.single-product
.et_pb_wc_add_to_cart form.cart .variations td select {
	border: 1px solid #CCC !important;
	background: #FFF !important;
	border-radius: 0px !important;
	padding: 15px !important;
    font-family: 'Sarabun' !important;
    font-size: 15px;
    font-weight: 400;
    line-height: 160%;
    color: #888 !important;
}

body.single-product
.et_pb_wc_add_to_cart form.cart .variations 
td.value span:after {
	top: 40px !important;
}

body.single-product
.et_pb_wc_title {
	margin-bottom: 10px !important;
}

body.single-product
.et_pb_wc_price .price {
	color: #5C8727;
	font-family: 'Sarabun';
	font-size: 30px !important;
	font-weight: 400 !important;
	line-height: 150%; 
}

body.single-product
.et_pb_wc_price {
	margin-bottom: 20px !important;
}

body.single-product
.et_pb_module.et_pb_wc_description p {
	font-family: 'Sarabun';
    font-size: 18px !important;
    font-weight: 400 !important;
    line-height: 150%;
    color: #444;
}

body.single-product
.et_pb_wc_add_to_cart .quantity input.qty {
	max-width: 6em !important;
}

body.single-product
.et_pb_wc_add_to_cart .quantity input.qty {
	border: 1px solid #D4D4D4 !important;
	background: #F4F4F4 !important;
	max-width: 4em !important;
    font-family: 'Sarabun' !important;
    font-size: 18px;
    font-weight: 400;
    line-height: 150%;
    color: #444;
	padding: 12.5px;
}

body.single-product .woocommerce-variation-add-to-cart .quantity
button.single_add_to_cart_button,
.woocommerce-page.et_pb_button_helper_class button.button.alt, .woocommerce-page.et_pb_button_helper_class.et-db #et-boc .et-l button.button.alt {
	padding: 14px 16.75px !important;
    font-family: 'Sarabun' !important;
    font-size: 16px !important;
    font-weight: 700;
    line-height: 120% !important;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.et_pb_accordion.cprodaccord
.et_pb_toggle_content h3 {
	font-family: 'Figtree';
	font-size: 19px !important;
	font-weight: 600;
	line-height: 100%;
	padding-bottom: 15px !important;
}


.et_pb_accordion.cprodaccord
.et_pb_toggle_open,
.et_pb_accordion.cprodaccord
.et_pb_toggle_close  {
    padding: 0px !important;
}

.et_pb_accordion.cprodaccord
.et_pb_toggle_close h2 {
    padding: 16px 20px !important;
	margin-right: 20px;
}

.et_pb_accordion.cprodaccord
.et_pb_toggle_open .et_pb_toggle_title {
	padding: 15px 20px !important;
    background: #E1E1E1;
}

.et_pb_accordion.cprodaccord
.et_pb_toggle_content {
	padding-left: 20px !important;
    padding-right: 20px !important;
    padding-bottom: 28px !important;
}

.et_pb_accordion.cprodaccord
.et_pb_toggle_content 
.et-dynamic-content-woo--product_description,
.et_pb_accordion.cprodaccord
.et_pb_toggle_content 
.et-dynamic-content-woo--product_additional_information h2,
.et_pb_accordion.cprodaccord
.et_pb_toggle_content
.et-dynamic-content-woo--product_reviews h2{
	font-family: 'Sarabun';
    font-size: 18px !important;
    font-weight: 400;
    line-height: 150%;
}

@media (min-width: 981px) {
	body.single-product 
	.product {
		display: flex;
		flex-direction: column;
	}
	
	body.single-product 
	.woocommerce-tabs {
		margin-left: auto;
    	width: 50%;
	}
	
	body.single-product
	.woocommerce-product-gallery__wrapper
	img.wp-post-image {
		width: 100%;
		height: 100%!important;
		max-height: 520px!important;
		object-fit: contain !important;
	}
	
	.woocommerce ul.products li.product a img {
		max-width: 298px;
    	max-height: 298px;
		object-fit: contain;
	}
	
	body.single-product
	.variations .label {
		width: 30% !important;
	}

}


body.single-product
.et_pb_wc_price .price,
.et-db #et-boc .et-l .et_pb_wc_price .price {
    font-size: 30px !important;
}

body.single-product
.product_meta {
	color: #444 !important;
}

.et_pb_module.cprodaccord
.et_pb_toggle.et_pb_module {
	margin-bottom: 10px !important;
}

body.single-product
.related.products ul.products li.product .woocommerce-loop-product__title {
	padding-top: 24px !important;
	padding-bottom: 10px !important;
}

body.single-product
.et_pb_section .et_pb_row.et_pb_row_2 {
	padding-bottom: 0px !important;
}

body.single-product
.et_pb_section .et_pb_row.et_pb_row_3 {
	padding-top: 0px !important;
	margin-top: 60px !important;
}

body.single-product
table.variations tbody {
	background: rgba(92, 135, 39, 0.06);
}

body.single-product
table.variations tbody
tr {
	padding: 30px !important;
}

body.single-product
table.variations {
	margin-bottom: 45px !important;
}

body.single-product
table.variations tbody
tr:first-child th {
	padding: 40px 30px 0px 30px !important;
}

body.single-product
table.variations tbody
tr:last-child th {
	padding: 25px 30px 40px 30px !important;
}

body.single-product
.et_pb_wc_add_to_cart form.cart .variations td.value {
	padding-right: 30px !important;
}

body.single-product
.et_pb_wc_add_to_cart form.cart .variations td.value span:after {
	right: 45px !important;
}

body.single-product
.et_pb_wc_add_to_cart form.cart .variations 
td.value .reset_variations {
	position: absolute;
    margin-top: 60px !important;
    right: 0;
}

#et-boc .et-l .et_pb_wc_meta_1:not(.et_pb_wc_no_categories).et_pb_wc_meta_layout_inline .sku_wrapper:after, .et-db #et-boc .et-l .et_pb_wc_meta_1:not(.et_pb_wc_no_tags).et_pb_wc_meta_layout_inline .sku_wrapper:after {
	display: none !important;
}

body.single-product
.product_meta .sku_wrapper {
	margin-right: 20px !important;
}

.et_pb_widget_area_left {
    border-right: 0px solid rgba(0,0,0,.1) !important;
}

.et_pb_widget.widget_categories ul li a:hover {
	color: #6BA81F !important;
}

/*Blog Page*/
.blogp .container {
	padding-top: 40px !important;
} 

.blogp
h1.bpost-title {
	padding-bottom: 0px !important;
	margin-bottom: 40px;
	font-family: 'Figtree';
    font-size: 44px;
    font-weight: 600 !important;
    line-height: 100%;
}

.blogp #left-area {
	display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 40px;
    height: auto;
}

.blogp .et_pb_post {
    width: 47.5%;
    word-wrap: break-word;
    padding: 30px;
    border: 1px solid #E1E1E1;
    background: #FFF;
	height: auto;
	margin-bottom: 0px !important;
	font-family: 'Sarabun';
	font-size: 18px;
	font-weight: 400;
	line-height: 150%;
	color: #444;
}

.blogp
.et_pb_post a img {
    width: 395px;
    height: 297px;
    min-height: auto;
    object-fit: cover;
    margin-bottom: 20px;
}

.blogp
.et_pb_post h2 {
	color: #000;
    font-family: Figtree;
    font-size: 25px;
    font-weight: 600 !important;
    line-height: 120%;
}

.blogp .et_pb_post  
.bpost-meta {
	display: flex;
	margin-bottom: 20px;
}

.blogp .et_pb_post  
.bpost-meta p {
	font-family: 'Figtree';
    font-size: 14px;
    font-weight: 400;
    line-height: 120%;
    color: #444;
	padding-right: 3px;
}

.blogp .et_pb_post  
.bpost-meta .bpostmeta-item,
.blogp .et_pb_post  
.bpost-meta .bpostmeta-item a {
	font-family: 'Figtree';
    font-size: 14px;
    font-weight: 400;
    line-height: 120%;
    color: #5C8727;
}

.blogp .pagination {
    width: 100%;
}

/*Blog Sidebar*/
.blogp #sidebar
#searchsubmit {
	background: #5C8727;
    color: #fff;
	background-image: url('/wp-content/uploads/2023/08/Vector-1.png') !important;
	background-repeat: no-repeat;
	background-position: center;
}

.blogp
#sidebar .et_pb_widget {
    margin-bottom: 60px !important;
}

.blogp .et_pb_widget 
h4.widgettitle {
	color: #000;
    font-family: 'Figtree';
    font-size: 19px;
    font-weight: 600 !important;
    line-height: 100%;
    text-transform: uppercase;
	padding-bottom: 40px;
}

.blogp
.et_pb_widget ul li a {
    color: #444;
    font-family: 'Sarabun';
    font-size: 18px;
    font-weight: 400;
    line-height: 150%;
}

.blogp
.et_pb_widget ul li a:hover { 
	color: #6BA81F !important;
}

.blogp
 .et_pb_widget ul li {
    margin-bottom: 0.75em;
}

.blogp
.widget_search input#s {
	padding: 25px 15px;
}

.blogp
.widget_search input#searchsubmit {
	height: 52px !important; 
}

@media (max-width: 1346px) {
	.blogp .et_pb_post {
   	 	width: 46.5% !important;
	}
	
	.blogp .et_pb_post .bpost-meta {
    	flex-wrap: wrap;
    	flex-direction: column;
	}
}

@media (max-width: 713px) {
	.blogp .et_pb_post,
	.blogp .et_pb_post a img {
    	width: 100% !important;
	}
	
	.blogp .et_pb_post {
	    padding: 15px;
	}
}

@media (max-width: 480px) {
	.blogp .et_pb_post .bpost-meta {
		margin-top: 10px;
	}
}

/*Search Icon*/
/* Hide search button text */ 
.blogp #sidebar
input[type="submit"] { 
   text-indent: -9999px; 
   width: 40px; 
   height: 40px;
   background-color: transparent; 
   border: none; 
   padding: 0; 
} 