/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/* Global DL */
.button-icon-left {
	margin-right: 15px;
}
.fusion-page-title-bar-left .fusion-page-title-secondary {
	margin-left: 0;
}
.fusion-page-title-bar .fusion-breadcrumbs .breadcrumb-leaf, .fusion-page-title-bar .fusion-breadcrumbs .awb-breadcrumb-sep:after {
	color: #383838;
}
.add_to_cart_button {
	height: 34px;
	border-radius: 26px;
	background: #ee7e40;
	color: #fff;
	display: flex;
	align-items: center;
	padding: 0 10px;
	
}
.add_to_cart_button:hover {
	background: #757575;
	color: #fff;
}
.product-card.doubled-border > .fusion-column-wrapper {
	border-style: double;
}
.product-card .fusion-builder-row:has(.product-card-info) {
	flex-grow: 1;
}
.product-card .fusion-builder-row .product-card-info {
	height: 100%;
}
.fusion-flex-container .fusion-row .product-card .fusion-builder-row-inner {
	flex-grow: 1;
}
.fusion-flex-container .fusion-row .product-card .fusion-image-element {
	height: 290px;
	width: 290px;
	max-width: 100%;
}
.product-card .fusion-builder-row .product-card-info-title {
	flex-grow: 1;
	max-height: 52px;
	overflow: hidden;
}
.product-card .fusion-image-element {
	margin: auto;
}
.product-card .fusion-image-element .fusion-imageframe {
	height: 100%;
	width: 100%;
}
.product-card .fusion-image-element img {
	max-height: 100%;
	max-width: 100%;
	object-fit: contain;
}
.product_meta span, .fusion-tb-categories a {
	font-weight: bold;
}
.post-content p {
	margin-bottom: 10px;
}

.avada-has-titlebar-bar_and_content .avada-page-titlebar-wrapper .fusion-page-title-bar {
	position: relative;
}

.avada-has-titlebar-bar_and_content .avada-page-titlebar-wrapper .fusion-page-title-bar:before {
	content: "";
	background-image: linear-gradient(90deg, rgba(0,0,0,0.94) 0%, rgba(255,255,255,0) 100%);
	width: 100%;
	height: 100%;
	display: flex;
	position: absolute;
	left: -4%;
}
a.transarmour-link {
	color: #ec1a23;
}
a.transarmour-link:hover {
	color: #646763;
}
.table-1 table th {
	font-weight: bold;
}
.pswp--open {
	z-index: 200001;
}
/* Helpers */

.hide {
	display: none;
}
/* hedaer */
#particle-container {
	position: relative;
}

#particle-container canvas {
	position: absolute;
	top: 0;
}

.awb-menu_expand-right .awb-menu__sub-ul_grand {
	top: 5px;
}

.awb-menu.collapse-enabled.mobile-size-full-absolute .awb-menu__main-ul, .awb-menu.collapse-enabled.mobile-size-full-absolute.expanded .awb-menu__main-ul {
	position: static !important;
}

.awb-menu.collapse-enabled.mobile-size-full-absolute .awb-menu__main-ul {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out; /* Transition for sliding effect */
}

.awb-menu.collapse-enabled.mobile-size-full-absolute.expanded .awb-menu__main-ul {
    max-height: 500px !important; /* Set an appropriate max height that will cover the expanded menu size */
    transition: max-height 0.5s ease-in;
}

.awb-menu__m-toggle {
	position: absolute;
	top: -150px;
	right: 20px;
}

.awb-menu.collapse-enabled a {
	padding: 14px 0 !important;
}

.awb-menu.collapse-enabled .awb-menu__open-nav-submenu_mobile {
	top: 10px;
	border: 0;
}

.fusion-tb-header .fusion-search-element {
	width: 245px;
}

.top-header-link div:has(> a.fusion-button) {
	display: flex;
}

.aws-container .aws-search-field::placeholder {
    color: #c3c3c3;
}

.header-link i {
	font-size: 20px;
}

.awb-menu.collapse-enabled li a {
	padding-top: 14px !important;
	padding-bottom: 14px !important;
}

/* footer */

.footer-link.address {
	max-width: 190px;
}

.footer-link.address .fusion-button-text {
	text-align: left;
}

/* Homepage */

#homepage-top-container .product-category {
	position: relative;
	display: block;
}

#homepage-top-container .fusion-product-wrapper h2 {
	position: absolute;
	bottom: 30px;	
	background: #353535;
	color: white !important;
	font-size: 18px !important;
	padding: 8px 10px;
	left: 50%;
	transform: translate(-50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	width: calc(100% - 30px);
}

#homepage-top-container .fusion-product-wrapper h2:hover {
	background: #ee7e40;
}

#homepage-top-container .fusion-product-wrapper {
	height: 100%;
}

#homepage-top-container .fusion-product-wrapper h2 .product-count {
	padding: 4px;
	opacity: .5;
}

#homepage-top-container .product-category .fusion-product-wrapper {
	background: white;
}

/* About */
.person-content.fusion-clearfix:empty {
	display: none;
}

/* Field Services */
.why-choose-pgs .fusion-builder-row {
	flex-wrap: nowrap !important;
}

/* Request Quote */
#request-quote-inner-wrapper {
	max-width: 100%;
}

#request-quote-inner-wrapper .shop_table_responsive.woocommerce-cart-form__contents tr {
		background-color: #fcfcfc;
}

#request-quote-inner-wrapper table.addify-quote-form__contents .product-remove {
	width: 40px;
}

#request-quote-inner-wrapper table.addify-quote-form__contents .product-thumbnail {
	width: 100px;
	box-sizing: content-box;
	margin-right: 0;
}

#request-quote-inner-wrapper table.addify-quote-form__contents .product-name {
	width: 64%;
}

#request-quote-inner-wrapper table.shop_table a.remove-quote-item {
	float: none;
	color: #a00;
	font-size: 18px;
	border-radius: 100%;
	font-weight: 700;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 24px;
	height: 24px;
}

#request-quote-inner-wrapper table.shop_table a.remove-quote-item:hover {
	color: #fff;
	background-color: #a00;
}

#request-quote-inner-wrapper .shop_table tbody tr:has(.actions) {
	height: auto;
	text-align: right;
}

#request-quote-inner-wrapper .shop_table tbody tr:has(.actions) td {
	padding: 0.875em 0.875em;
}

.addify_checkout_place_quote, #afrfq_update_quote_btn {
	height: 32px;
}

#request-quote-inner-wrapper form.addify-quote-form table.addify-quote-form__contents td.product-name a {
	color: #ee7e40;
	font-size: 16px;
}

#request-quote-inner-wrapper form.addify-quote-form table.addify-quote-form__contents td.product-name a:hover {
	color: #757575;
	text-decoration: underline;
}

#request-quote-inner-wrapper .shop_table tr {
	border-bottom-width: 2px;
}

#request-quote-inner-wrapper form.addify-quote-form table.addify-quote-form__contents th.product-quantity {
	min-width: 110px;
}

#request-quote-inner-wrapper input {
	border-radius: 4px;	
	height: 34px;
	background-color: #fcfcfc;
	color: #383838;
}

#request-quote-inner-wrapper table.shop_table th {
	font-weight: 700;
	font-size: 16px;
}
@media only screen and (max-width: 800px) {
	#request-quote-inner-wrapper .shop_table_responsive.woocommerce-cart-form__contents thead {
		display: table-header-group;
	}
	#request-quote-inner-wrapper .shop_table_responsive.woocommerce-cart-form__contents tbody tr {
		display: table-row;
	}
	#request-quote-inner-wrapper .shop_table_responsive.woocommerce-cart-form__contents tbody td {
		display: table-cell;
	}
	#request-quote-inner-wrapper .shop_table_responsive.woocommerce-cart-form__contents .product-remove {
		display: table-cell;
		position: static;
	}
	#request-quote-inner-wrapper .shop_table_responsive .product-remove {
		background: transparent;		
	}
	#request-quote-inner-wrapper .shop_table_responsive.woocommerce-cart-form__contents .product-remove a {
		position: static;
		transform: none;
		margin-left: 5px;
	}
	#request-quote-inner-wrapper form.addify-quote-form table.addify-quote-form__contents td.product-name {
		width: calc(100% - 40px - 100px - 110px - 50px);
		text-align: left;
	}
	#request-quote-inner-wrapper form.addify-quote-form table.addify-quote-form__contents td.product-name a {
		font-size: 14px;
	}
	#request-quote-inner-wrapper .shop_table_responsive.woocommerce-cart-form__contents .product-thumbnail img {
		max-width: 100px;
	}
	#request-quote-inner-wrapper table.addify-quote-form__contents .product-name {
		width: calc(100% - 40px - 100px - 110px - 50px);
	}
	#request-quote-inner-wrapper .shop_table_responsive.woocommerce-cart-form__contents tbody td.product-quantity {
	min-width: 110px;
}
	#request-quote-inner-wrapper .shop_table tbody tr:has(.actions) td {
		text-align: right;
	}
}

@media only screen and (max-width: 768px) {
	#request-quote-inner-wrapper .shop_table_responsive.woocommerce-cart-form__contents thead {
		display: none;
	}
	#request-quote-inner-wrapper .shop_table_responsive.woocommerce-cart-form__contents tbody tr {
		display: block;
		padding: 0;
	}
	#request-quote-inner-wrapper .shop_table_responsive.woocommerce-cart-form__contents tbody td {
		display: block;
		padding: 0.875em 0.875em 0;
	}
	#request-quote-inner-wrapper .shop_table_responsive.woocommerce-cart-form__contents tbody td.product-thumbnail {
		display: none;
	}
	#request-quote-inner-wrapper .shop_table_responsive.woocommerce-cart-form__contents .product-remove {
		display: table-cell;
		position: static;
	}
	#request-quote-inner-wrapper .shop_table_responsive .product-remove {
		background: transparent;		
	}
	#request-quote-inner-wrapper .shop_table_responsive.woocommerce-cart-form__contents .product-remove a {
		position: static;
		transform: none;
		margin-left: -5px;
		align-items: baseline;
	}
	.woocommerce table.shop_table_responsive tr td.product-name::before, .woocommerce table.shop_table_responsive tr td.product-quantity::before {
		content: attr(data-title) ": ";
		font-weight: 700;
		float: left;
	}
	#request-quote-inner-wrapper form.addify-quote-form table.addify-quote-form__contents td.product-name {
		width: 100%;
		text-align: right;
		border-top: 1px solid rgba(0,0,0,.1);
	}
	#request-quote-inner-wrapper form.addify-quote-form table.addify-quote-form__contents td.product-name a {
		font-size: 14px;
	}
	#request-quote-inner-wrapper .shop_table_responsive.woocommerce-cart-form__contents .product-thumbnail img {
		max-width: 100px;
	}
	#request-quote-inner-wrapper table.addify-quote-form__contents .product-name {
		width: calc(100% - 40px - 100px - 110px - 50px);
	}
	#request-quote-inner-wrapper table.addify-quote-form__contents .product-name p {
		margin-bottom: 10px;
	}
	#request-quote-inner-wrapper .shop_table_responsive.woocommerce-cart-form__contents tbody td.product-quantity {
		min-width: 110px;
		border-top: 1px solid rgba(0,0,0,.1);
	}
	#request-quote-inner-wrapper .shop_table tbody tr:has(.actions) td {
		text-align: right;
	}
	
	#request-quote-inner-wrapper .shop_table .product-quantity .quantity {
		margin: 0 0 10px auto;
	}
	
	#afrfq_update_quote_btn {
		width: 100%;
	}
}

@media only screen and (max-width: 740px) {
	table.quote-fields th {
		text-align: left;
		font-weight: bold
	}
}

/* Request Quote - old style */
.woocommerce table.shop_table td {
	border-top: 0;
}

.woocommerce table.shop_table {
    border: 1px solid rgba(0,0,0,.1);
    margin: 0 -1px 24px 0;
    text-align: left;
    width: 100%;
    border-radius: 5px
}

.woocommerce table.shop_table th {
    font-weight: 700;
    padding: 9px 12px;
    line-height: 1.5em
}

.woocommerce table.shop_table td {
    padding: 9px 12px;
    vertical-align: middle;
    line-height: 1.5em
}

.woocommerce table.shop_table td small {
    font-weight: 400
}

.woocommerce table.shop_table td del {
    font-weight: 400
}

.woocommerce table.shop_table tbody:first-child tr:first-child td,.woocommerce table.shop_table tbody:first-child tr:first-child th {
    border-top: 0
}

/* Shop Page */
.woocommerce-shop #main {
		padding-top: 65px;
}

.woocommerce-shop .fusion-page-title-wrapper {
	display: flex;
	flex-direction: column-reverse;
	gap: 15px;
	align-items: flex-start;
	justify-content: flex-start;
}

.woocommerce-shop .products li.product .fusion-product-wrapper {
	border: 0;
}

.woocommerce-shop .products li.product .fusion-product-wrapper a {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
}

.woocommerce-shop .products li.product .fusion-product-wrapper img {
	border: 1px solid #e6e6e6;
	margin-bottom: 16px;
	flex-grow: 1;
}

.woocommerce-shop #wrapper h2.woocommerce-loop-category__title {
	padding: 8px 0;
	font-size: 15px !important;
	text-align: center;
	min-height: 85px;
}

@media (max-width: 1024px) {
	.woocommerce-shop #main {
		padding-top: 40px;
	}
}

@media (max-width: 768px) {
	.woocommerce-shop #main {
		padding-top: 0;
	}
	.woocommerce-shop .woocommerce-container {
		margin-top: 30px;
	}
	ul.products .product {
		padding: 0 13px;
	}
}

@media (min-width: 769px) {
	.woocommerce-shop #wrapper ul.products .product {
	padding-top: 0;
	padding-bottom: 0;
}
}

/* Product List Page */
.archive.woocommerce-page.has-sidebar #main > .fusion-row {
	display: flex;
	flex-direction: row-reverse;
	gap: 60px;
}

#category-sidebar-container ul.products .product-category {
	padding: 0;
}

#category-sidebar-container ul.products .product-category .fusion-product-wrapper {
	border: 0;
}

#category-sidebar-container ul.products .product-category img {
	display: none;
}

#category-sidebar-container ul.products .product-category h2 {
	font-size: 16px;
	color: #ee7e40;
	padding-bottom: 0;
	line-height: 1.45;
}

span.fusion-tb-sku.product_meta {
	display: flex;
	gap: 2px;
}

.plp-single-product-brands {
	display: flex;
	gap: 4px;
	justify-content: center;
	margin-bottom: 15px;
}

.plp-single-product-brands > span, .plp-single-product-brands a {
	font-size: 13px;
}

.plp-single-product-brands > div {
	display: flex;
	flex-direction: column;
}

#custom-sorting-widget {
	width: 250px;
}


#custom-sorting-widget select {
	width: 100%;
	border-color: black;
	color: black;
	height: 40px;
    padding: 0 10px;
	font-size: 14px;
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) {
    @media only screen and (orientation: portrait) {
        #wrapper .catalog-ordering {
            margin-bottom: 0;
        }
    }
}

/* PDP */
.fusion-woo-product-images {
	justify-content: center;
}

.fusion-woo-product-images .flex-viewport {
	border: 1px solid #e6e6e6;
}

.fusion-content-tb:empty {
	display: none;
}

.woocommerce-product-gallery__wrapper .avada-product-gallery-lightbox-trigger {
	border: 1px solid #e6e6e6;
}

#related-products .fusion-title {
	margin: 20px auto;
}

#related-products .fusion-title * {
	font-size: 30px !important;
	line-height: 1.4 !important;
}

#related-products .products {
	padding-top: 40px;
}

.fusion-product-content .product-title a {
	font-size: 16px;
    line-height: 20px;
    display: flex;
}

#related-products .fusion-product-wrapper {
	border: 0;
}


#related-products .fusion-product-wrapper .product-images, .fusion-woo-product-images {
	border: 1px solid #e6e6e6;
}

.fusion-woo-product-images .avada-single-product-gallery-wrapper {
	width: 100%;
}

#related-products .fusion-product-wrapper .fusion-product-content {
	padding: 15px 0 0;
	justify-content: end;
}

#related-products .fusion-product-wrapper .fusion-product-content .product-buttons {
	margin-top: 0;
	padding-top: 0;
}

#related-products .fusion-product-wrapper .fusion-product-content .product-buttons .fusion-content-sep, #related-products .fusion-product-wrapper .fusion-product-content .product-buttons .show_details_button {
	display: none;
}

#related-products .fusion-product-wrapper .fusion-product-content .product-buttons .add_to_cart_button {
	display: flex;
	justify-content: center;
	width: 100%;
	max-width: 100%;
	background: transparent;
	color: #757575;
	font-size: 16px;
}

#related-products .fusion-product-wrapper .fusion-product-content .product-buttons .add_to_cart_button:hover {
	background: #757575;
	color: white;
}

#related-products .fusion-product-wrapper .fusion-product-content .product-buttons .add_to_cart_button:before {
	display: none;
}

.woocommerce-product-gallery__wrapper > div {
	display: flex !important;
	justify-content: center;
}

.fusion-woocommerce-tab-title {
	display: none;
}

#tab-pwb_tab-content h3 {
	font-size: 15px;
	line-height: 1.4;
}

#tab-pwb_tab-content:last-child h3 {
	margin-bottom: 0;
}

.pdp-add-to-quote-button .single_add_to_cart_button.loading {
	color: white !important;
}
/* SUPPLIERS */
#suppliers-page .fusion-image-element {
	position: relative;
}

#suppliers-page .awb-imageframe-caption-container:before {
	content: "";
	border-bottom: 1px solid #cccccc;
	display: block;
	width: 75%;
	margin: 0 auto 20px;
}

#suppliers-page .fusion-image-element:hover .awb-imageframe-caption-title {
	opacity: 1;
}

#suppliers-page .awb-imageframe-caption-container .awb-imageframe-caption-title {
	opacity: 0;
	position: absolute;
	background: rgba(0, 0, 0, 0.7);
	top: 90px;
	color: #fff;
	left: 50%;
	transform: translate(-50%, 0);
	z-index: 1;
	filter: alpha(opacity = 0);
	padding: 10px 15px;
}

/* Field Services */
@media only screen and (max-width: 768px) {
	#hotshot-delivery-image {
		max-width: 100px;
	}
}

/* Contact Us */
#business-hours {
	padding: 10px 0;
}

#business-hours, #business-hours tr {
	background: #fafafa !important;
}

#business-hours table {
	box-shadow: none;
	border: 0;
}

#business-hours td {
	border: 0;
}

/* TransArmour */

[data-css-selector="id_55"] button.form-submit-button {
	background-color: #ec1c23 !important;
}

[data-css-selector="id_55"] button.form-submit-button:hover {
	background-color: #646763 !important;
}

/* 404 */
body.error404 .fusion-page-title-bar {
	display: none;
}

/* FR3 Oil */
.media-slider-hide-controls .flex-control-nav, .media-slider-hide-controls .flex-direction-nav {
	display: none;
}

/* queries */

@media only screen and (min-device-width: 1000px) and (max-device-width: 1024px) and (orientation: portrait) {
	 #homepage-top-container .products.products-4 .product-grid-view, .woocommerce-shop .products.products-4 .product-grid-view {
		width: 25% !important;
	}
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
	.woocommerce-shop .products.products-4 .product-grid-view {
		width: 25% !important;
	}
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
	.fusion-content-boxes.content-boxes-icon-on-top .content-box-column {
		margin-bottom: 0;
	}
}

/* 1200px */

@media (max-width: 1200px) {
	.awb-menu_row .menu-text, .my-quote-link, .my-quote-icon {
		font-size: 14px !important;
	}
	.top-header-link.address a {
		font-size: 10px !important;
	}
	.awb-menu__sub-a {
		font-size: 12px !important;
	}
	.top-header-link a {
		font-size: 10px !important;
	}
}

/* 1024px */

@media (max-width: 1024px) {
	.footer-link {
		font-size: 12px !important;
	}
	.footer-link.address {
		max-width: 175px;
	}
	.fusion-button.button-flat.contact-us {
		padding: 16px !important;
		font-size: 16px;
	}
	#homepage-top-container .product-category .products-4 > li {
		width: 50%;
	}
}

/* mobile */
@media (max-width: 768px) {
	.fusion-search-element {
		width: 100%;
	}
	.top-header-link a {
		font-size: 10px !important;
	}
	#homepage-top-container .product-category .products-4 > li {
		width: 100%;
	}
	.awb-menu__m-toggle {
		top: -110px;
	}
	.fusion-body .fusion-page-title-bar h1 {
		font-size: 32px;
	}
	.fusion-tb-header .fusion-search-element {
		width: 100%;
	}
	#wrapper .catalog-ordering {
		margin-bottom: 0;
	}
	.footer-link.address {
		max-width: 145px;
	}
	
	.top-header-link:first-child .fusion-button-text {
		text-align: left;
	}
	.top-header-link:nth-child(2) > div {
		justify-content: center;
		margin: 0;
	}
	.top-header-link:nth-child(3) > div {
		justify-content: end;
	}
	.top-header-my-quote-link .fusion-column-wrapper {
		margin: 10px 20px 0;
		margin-left: 15px !important;
	}
	.header-search-form > div {
		margin-left: 0;
		margin-right: 0;
	}
	.top-header-link .fusion-button i {
		font-size: 14px;
	}
	.top-header-link .fusion-button-text {
		text-align: left;
		line-height: 1;
	}
}

/* small mobile */
@media (max-width: 480px) {
	.awb-menu__m-toggle {
		top: -70px;
		right: 10px;
	}
	.woocommerce-shop body #wrapper h2.woocommerce-loop-category__title {
		min-height: auto;
	}
	.top-header-link:nth-child(3) > div {
		margin-left: 10px;
		margin-right: 10px;
	}
}