/*
Theme Name: MicroNova MFG
Theme URI: https://www.redspotdesign.com/
Author: Redspot Design
Author URI: https://wordpress.org/
Description: A theme for WordPress 5.
Requires at least: WordPress 4.9.6
Version: 1.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: wp5default
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.

MicroNova MFG is based on Underscores https://underscores.me/, (C) 2012-2018 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

:root {
	--white: #FFFFFF;
	--lightgrey: #F7FAFF;
	--grey: #AAAAAA;
	--darkblue: #24325B;
	--blue: #2F94CA;
}

html {
	box-sizing: border-box;
	-webkit-text-size-adjust: 100%;
}

*,
::before,
::after {
	box-sizing: inherit;
}

body {
	margin: 0 auto;
	width: 100%;
	min-width: 320px;
}

.grecaptcha-badge {
	bottom: 70px !important;
}

img {
	height: auto;
	max-width: 100%;
	transition: all .3s ease;
	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-ms-transition: all .3s ease;
	-o-transition: all .3s ease;
}

figure {
	margin: 0 !important;
}

/* Custom Styles */

ul.no-dots{
	list-style-type: none !important;
}

p:first-of-type {
	margin-top: 0;
}

p:last-of-type {
	margin-bottom: 0;
}

/* Header */
#site-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 9999;
}

body.elementor-editor-active #site-header {
	position: relative;
	background: var(--white);
}

ul.elementor-nav-menu--dropdown a, 
ul.elementor-nav-menu--dropdown a:focus, 
ul.elementor-nav-menu--dropdown a:hover {
	border-inline-start-width: 0px !important;
}

#site-header .quote-li {
	list-style: none;
	padding: 10px;
	margin: 0;
	line-height: 1;
	font-family: "Muli", sans-serif;
}

#site-header #quote-li-icon .dashicons-cart {
	float: none;
	margin-top: 0;
	color: var(--darkblue);
}

#site-header #quote-li-icon #total-items-count {
	position: absolute;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    top: 0;
    font-size: 10px;
    width: 16px;
    height: 16px;
	background: var(--blue);
	border-radius: 50%;
	color: #FFFFFF;
}

#site-header .quote-li .afrq-menu-item .totalitems {
	padding-left: 0;
}

/* Sticky Header */
#site-header.sticky {
	background-color: var(--white);
}

#site-header.sticky > .e-con-inner {
	padding: 10px;
}

.gtranslate_wrapper {
	line-height: 1em !important;
}

@media screen and (max-width: 1024px) {
	#site-header {
		position: relative;
	}
}

@media screen and (max-width: 767px) {
	#site-header.sticky #site-logo img {
		max-width: 100%;
	}

	.gtranslate_wrapper .gt-current-lang {
		padding: 5px !important;
	}
}

@media screen and (max-width: 425px) {
	.gtranslate_wrapper .gt-current-lang .gt-lang-code {
		font-size: 16px;
	}
}

/* Buttons */
.elementor-button {
	min-width: 200px;
}

.request-info-button,
.addify_checkout_place_quote {
	min-width: 200px;
	background-color: var(--blue) !important;
	border: 1px solid var(--blue);
	color: var(--white) !important;
	width: 100%;
	font-family: "Muli", sans-serif;
	font-size: 16px;
	font-weight: 400 !important;
	text-align: center;
	padding: 20px !important;
	margin: 0 !important;
	border-radius: 10px !important;
	-webkit-border-radius: 10px !important;
	-moz-border-radius: 10px !important;
	-ms-border-radius: 10px !important;
	-o-border-radius: 10px !important;
	cursor: pointer;
}

.request-info-button:hover,
.addify_checkout_place_quote:hover {
	color: var(--blue) !important;
	background-color: var(--lightgrey) !important;
	border: 1px solid var(--blue) !important;
}

/* Remove buttons that don't have a link on the frontend */
body:not(.elementor-editor-active) a:not([href]) {
	display: none;
}

.added_to_quote {
	margin-top: 10px;
	width: 100%;
	background-color: #FFFFFF !important;
	text-align: center;
}

/*
 * Home Page
 */

/* Home > Banner */
@media screen and (max-width: 600px) {
	.home-banner-slides .elementor-button {
		padding: 10px;
	}
}

/* Home > Product Categories Slider */
#home-products-slider .slider-wrapper .image-wrapper {
	position: relative;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	-ms-border-radius: 10px;
	-o-border-radius: 10px;
	overflow: hidden;
	margin: 0 10px;
}

#home-products-slider .slider-wrapper .image-wrapper img {
	margin: 0 auto;
	width: 100%;
}

#home-products-slider .slider-wrapper .image-wrapper::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	transition: all .3s ease;
	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-ms-transition: all .3s ease;
	-o-transition: all .3s ease;
}

#home-products-slider .slider-wrapper .slick-slide:hover .image-wrapper::before {
	background-color: rgb(47, 148, 202, 0.8);
}

#home-products-slider .slider-wrapper .parent-name {
	display: block;
	margin-top: 20px;
	text-align: center;
	font-size: 22px;
	font-weight: 700;
	color: var(--darkblue);
	padding: 0 10px;
}

#home-products-slider .slider-wrapper button.slick-prev,
#home-products-slider .slider-wrapper button.slick-next {
	background-color: var(--blue) !important;
	border-radius: 50%;
	-webkit-border-radius: 50%;
	-moz-border-radius: 50%;
	-ms-border-radius: 50%;
	-o-border-radius: 50%;
	transform: translateY(-100px);
	-webkit-transform: translateY(-100px);
	-moz-transform: translateY(-100px);
	-ms-transform: translateY(-100px);
	-o-transform: translateY(-100px);
}

#home-products-slider .slider-wrapper button.slick-prev:before,
#home-products-slider .slider-wrapper button.slick-next:before {
	color: var(--white) !important;
}

@media screen and (max-width: 767px) {
	#home-products-slider .slider-wrapper .parent-name {
		font-size: 16px;
	}
}

/* Search Form */
.cert-search {
	display: flex;
	justify-content: space-between;
	align-items: stretch;
	column-gap: 10px;
	row-gap: 10px;
}

.cert-search > label {
	width: 80%;
}

.cert-search > label input[type="search"] {
	width: 100%;
	padding: 20px !important;
	border-radius: 5px !important;
	-webkit-border-radius: 5px !important;
	-moz-border-radius: 5px !important;
	-ms-border-radius: 5px !important;
	-o-border-radius: 5px !important;
}

.cert-search > input[type="submit"] {
	width: 20%;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-ms-border-radius: 5px;
	-o-border-radius: 5px;
}

@media screen and (max-width: 767px) {
	.cert-search {
		flex-wrap: wrap;
	}
	.cert-search > label,
	.cert-search > input[type="submit"] {
		width: 100%;
	}
}

/* News and Resources */
.news-item:hover {
	background: var(--blue) !important;
	cursor: pointer;
}

.news-item:hover h3,
.news-item:hover time {
	color: #FFFFFF
}

/* Certificates */
.pdf-list .certificate a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 10px 0;
	background-color: var(--white);
	padding: 25px;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	-ms-border-radius: 10px;
	-o-border-radius: 10px;
}

.pdf-list .certificate a h3 {
	margin: 0;
}

.pdf-list .certificate a .fa-file-pdf {
	color: var(--blue);
	font-size: 20px;
}

.pdf-list .certificate a:hover h3 {
	color: var(--blue);
}

@media screen and (max-width: 767px) {
	.pdf-list .certificate a h3 {
		font-size: 18px;
	}
}

/* Data Sheets Page */
.data-sheets-wrapper:not(.elementor-element-edit-mode),
.data-sheets-wrapper:not(.elementor-element-edit-mode) > .elementor-element[data-element_type="container"] {
	padding: 0;
}

/* Technical Data Sheets Page */
.sds-phone .elementor-icon-box-description small {
	color: #A3A3A3;
	font-size: 16px;
	display: block;
}

/* Safety Data Sheets Page */
.data-table table {
	table-layout: fixed;
}

/* Sales Representatives */

/* Sales Representatives > Filter */
#sales-reps-filter {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
}

#sales-reps-filter select {
	width: calc((100% - 2 * 20px) / 3);
	font-family: 'Muli', sans-serif;
	font-size: 20px;
	color: #444444;
	padding: 10px;
	border: 1px solid #B0BEC5;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-ms-border-radius: 5px;
	-o-border-radius: 5px;
}

#sales-reps-filter button#apply-filter {
	width: calc((100% - 2 * 20px) / 3);
}

@media screen and (max-width: 767px) {
	#sales-reps-filter select,
	#sales-reps-filter button#apply-filter {
		width: 100%;
	}
}

/* Sales Representatives > Grid */
#sales-reps-results .sales-reps-grid {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	padding: 20px 0;
}

#sales-reps-results > p {
	text-align: center;
	font-size: 23px;
}

#sales-reps-results .sales-reps-grid .e-loop-item {
	width: calc((100% - 1 * 20px) / 2);
}

.salesrep-open-email-popup {
	color: var(--blue) !important;
}

.salesrep-open-email-popup .fas {
	margin-right: 20px;
}

@media screen and (max-width: 767px) {
	#sales-reps-results .sales-reps-grid .e-loop-item {
		width: 100%;
	}
}

/*
 * WooCommerce 
 */

/* Products Main */

/* Products Main - Tabs */
.woocommerce-shop #tabs ul.tab-list {
	padding: 0;
	margin: 0 auto;
	list-style: none;
	display: flex;
	justify-content: flex-start;
	column-gap: 20px;
	row-gap: 20px;
	flex-wrap: wrap;
	margin-top: 40px;
	max-width: 1200px;
}

.woocommerce-shop #tabs ul.tab-list li:first-of-type {
	width: 100%;
}

.woocommerce-shop #tabs ul.tab-list li {
	width: calc((100% - 5 * 20px) / 6);
}

.woocommerce-shop #tabs ul.tab-list li div.toggle {
	position: relative;
	cursor: pointer;
}

.woocommerce-shop #tabs ul.tab-list li div.toggle .image-wrapper {
	position: relative;
	border-radius: 10px;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	-ms-border-radius: 10px;
	-o-border-radius: 10px;
	overflow: hidden;
}

.woocommerce-shop #tabs ul.tab-list li div.toggle .image-wrapper::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	transition: all .3s ease;
	-webkit-transition: all .3s ease;
	-moz-transition: all .3s ease;
	-ms-transition: all .3s ease;
	-o-transition: all .3s ease;
}

.woocommerce-shop #tabs ul.tab-list li div.toggle .image-wrapper img {
	display: block;
	margin: 0 auto;
	width: 100%;
}

.woocommerce-shop #tabs ul.tab-list li div.toggle.active .image-wrapper::before,
.woocommerce-shop #tabs ul.tab-list li div.toggle:hover .image-wrapper::before {
	background-color: rgb(47, 148, 202, 0.8);
}

.woocommerce-shop #tabs ul.tab-list li div.toggle span {
	display: block;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.2;
	margin-top: 10px;
	text-align: center;
}

.woocommerce-shop #tabs ul.tab-list li div.toggle.active span,
.woocommerce-shop #tabs ul.tab-list li div.toggle:hover span {
	color: #2E93CA;
}

.woocommerce-shop #tabs .divider {
	display: block;
	width: 100%;
	height: 1px;
	margin: 70px 0;
	background-color: var(--grey);
}

/* Products Main - Tab Contents */
.woocommerce-shop #tabs .tab-contents .content {
	width: 100%;
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
	column-gap: 35px;
	row-gap: 35px;
	padding: 50px 0;
	border-bottom: 2px solid #DDDDDD;
}

.woocommerce-shop #tabs .tab-contents .content h2,
.woocommerce-shop #tabs .tab-contents .content p {
	width: 100%;
	margin: 0;
}

.woocommerce-shop #tabs .tab-contents .content .child-category {
	width: calc(25% - 35px);
	text-align: center;
}

.woocommerce-shop #tabs .tab-contents .content .child-category img {
	border: 2px solid #F7FAFF;
	border-radius: 20px;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	-ms-border-radius: 20px;
	-o-border-radius: 20px;
}

@media screen and (max-width: 1200px) {
	.woocommerce-shop #tabs ul.tab-list {
		column-gap: 20px;
		row-gap: 20px;
		flex-wrap: wrap;
		justify-content: flex-start;
	}

	.woocommerce-shop #tabs ul.tab-list li {
		width: calc((100% - 3 * 20px) / 4);
	}
}

@media screen and (max-width: 990px) {
	.woocommerce-shop #tabs .tab-contents .content {
		column-gap: 20px;
		row-gap: 20px;
		padding: 20px 0;
	}
	.woocommerce-shop #tabs .tab-contents .content .child-category {
		width: calc((100% - 2 * 20px) / 3);
	}
}

@media screen and (max-width: 767px) {
	.woocommerce-shop #tabs ul.tab-list li {
		width: calc((100% - 2 * 20px) / 3);
	}

	.woocommerce-shop #tabs .divider {
		margin: 20px 0;
	}

	.woocommerce-shop #tabs .tab-contents .content .child-category {
		width: calc((100% - 1 * 20px) / 2);
	}

	.woocommerce-shop #tabs ul.tab-list {
		margin-top: 0;
	}

	.woocommerce-shop #tabs ul.tab-list li div.toggle span,
	.woocommerce-shop #tabs .tab-contents .content h3 {
		font-size: 16px;
	}
}

@media screen and (max-width: 425px) {
	.woocommerce-shop #tabs ul.tab-list {
		justify-content: space-between;
	}

	.woocommerce-shop #tabs ul.tab-list li {
		width: calc((100% - 2 * 20px) / 2);
	}
}

/* Products Categories */

/* Products Categories - Gallery */
.category-gallery {
	margin-bottom: 20px;
}

.category-gallery .image-wrapper img {
	display: block;
	width: 100%;
	border: 2px solid var(--lightgrey);
	border-radius: 20px;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	-ms-border-radius: 20px;
	-o-border-radius: 20px;
}

.category-gallery-nav {
	padding: 20px 0;
}

.category-gallery-nav .slick-track {
	margin-left: 0;
	margin-right: 0;
}

.category-gallery-nav .image-wrapper img {
	border: 2px solid var(--lightgrey);
	border-radius: 20px;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	-ms-border-radius: 20px;
	-o-border-radius: 20px;
}

.category-gallery-nav .image-wrapper img:hover {
	border: 2px solid var(--grey);
}

/* Products Categories - Product Filters */
.woocommerce.tax-product_cat .product-filters .wpfMainWrapper {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	column-gap: 20px;
	row-gap: 20px;
}

.woocommerce.tax-product_cat .product-filters .wpfMainWrapper .wpfFilterWrapper {
	width: calc((100% - 3 * 20px) / 4) !important;
	margin: 0;
}

.woocommerce.tax-product_cat .product-filters .wpfMainWrapper div[data-filter-type="wpfPerfectBrand"],
.woocommerce.tax-product_cat .product-filters .wpfMainWrapper div[data-filter-type="wpfTags"] {
	width: 100% !important;
	margin: 0;
	height: auto !important;
}

.woocommerce.tax-product_cat .product-filters .wpfMainWrapper div[data-filter-type="wpfPerfectBrand"] ul,
.woocommerce.tax-product_cat .product-filters .wpfMainWrapper div[data-filter-type="wpfTags"] ul {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	overflow: unset;
	gap: 20px;
}

.woocommerce.tax-product_cat .product-filters .wpfMainWrapper div[data-filter-type="wpfTags"] ul li {
	margin: 0 !important;
	width: auto !important;
	flex-grow: 1;
}

.woocommerce.tax-product_cat .product-filters .wpfMainWrapper div[data-filter-type="wpfPerfectBrand"] .wpfLiLabel {
	position: relative;
}

.woocommerce.tax-product_cat .product-filters .wpfMainWrapper div[data-filter-type="wpfPerfectBrand"] .wpfLiLabel input[type="checkbox"] {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
}

.woocommerce.tax-product_cat .product-filters .wpfMainWrapper div[data-filter-type="wpfPerfectBrand"] .wpfLiLabel .wpfDisplay .wpfValue {
	display: flex;
	justify-content: flex-start;
	align-items: center;
}

.woocommerce.tax-product_cat .product-filters .wpfMainWrapper div[data-filter-type="wpfPerfectBrand"] .wpfLiLabel .wpfDisplay .wpfValue .wpfFilterTaxNameWrapper {
	font-size: 23px;
}

.woocommerce.tax-product_cat .product-filters .wpfMainWrapper .wpfFilterWrapper select {
	font-family: 'Muli', sans-serif;
	font-size: 20px;
	color: #444444;
	padding: 10px;
	border: 1px solid #B0BEC5;
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	-ms-border-radius: 5px;
	-o-border-radius: 5px;
}

.woocommerce.tax-product_cat .product-filters .wpfMainWrapper .wpfFilterWrapper select:not(:has(option:checked[value=""])) {
    border: 2px solid var(--blue);
}

.woocommerce.tax-product_cat .product-filters .wpfMainWrapper .wpfFilterWrapper select option {
	font-family: 'Muli', sans-serif;
	font-size: 20px;
	color: #444444;
}

@media screen and (max-width: 767px) {
	.woocommerce.tax-product_cat .product-filters .wpfMainWrapper .wpfFilterWrapper {
		width: 100% !important;
		padding: 0;
	}
}

.woocommerce.tax-product_cat .product-filters .wpfMainWrapper .wpfSelectedParameters {
	width: 100%;
	display: flex;
	justify-content: flex-start;
	align-items: center;
	flex-wrap: wrap;
}

.woocommerce.tax-product_cat .product-filters .wpfMainWrapper .wpfSelectedParameters > div {
	width: auto !important;
}

/* Remove Select Options that are disabled */
select option:disabled {
    display: none;
}

/* Products Loop */
.product-wrapper p {
	margin: 0;
}

.product-wrapper h4 {
	text-transform: uppercase !important;
	color: #A3A3A3 !important;
	margin: 10px 0 !important;
	letter-spacing: 0 !important;
	line-height: 1 !important;
}

/* Products Categories - You May Also Like */
.random-products {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	margin-top: 50px;
}

.random-products .product {
	width: 23.125%;
	text-align: center;
}

.random-products .product .image-wrapper {
	border: 1px solid #B0BEC5;
	border-radius: 20px;
	-webkit-border-radius: 20px;
	-moz-border-radius: 20px;
	-ms-border-radius: 20px;
	-o-border-radius: 20px;
	overflow: hidden;
	line-height: 1;
}

.random-products .product .image-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

@media screen and (max-width: 1024px) {
	.random-products .product {
		width: 48%;
	}
}

@media screen and (max-width: 767px) {
	.random-products .product {
		width: 100%;
	}
}

/* Empty Search Results */
.nothing-found-message {
	display: none;
}

body.empty-search .certificate-results {
    display: none !important;
}

body.empty-search .nothing-found-message {
	display: block;
}

/*
 * Request a Quote
 */

.page .adf-request-quote-page.template_two {
	max-width: 100% !important;
}

.page .adf-request-quote-page.template_two div.adf-quote-detail-wrap {
	overflow: auto !important;
}

.page .adf-request-quote-page.template_two table.shop_table {
	table-layout: fixed;
}

.page .adf-request-quote-page.template_two table.shop_table tr td {
	padding: 20px !important;
	vertical-align: top;
}

.page .adf-request-quote-page.template_two table.shop_table tr td.product-name a {
	font-size: 20px;
	font-weight: 700;
	color: var(--blue);
	pointer-events: none;
	cursor: default; 
}

/* Hide Quantity for Items */
.page .adf-request-quote-page.template_two table.shop_table div.product-quantity {
	height: 0;
	visibility: hidden;
	opacity: 0;
	margin: 0 !important;
}

/* Display product additional information in the Request a Quote Cart */
.page .adf-request-quote-page.template_two dl.variation {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	flex-wrap: wrap;
}

.page .adf-request-quote-page.template_two dl.variation > dt {
	display: none;
}

.page .adf-request-quote-page.template_two dl.variation > dd {
	width: 45%;
}

.page .adf-request-quote-page.template_two dl.variation > dd > h4 {
	margin: 0;
	letter-spacing: 0;
	font-size: 16px;
	color: var(--grey);
}

/* Request a Quote form customization */
.page .adf-request-quote-page.template_two .af_quote_fields {
	background: transparent !important;
}

@media screen and (max-width: 767px) {
	.page .adf-request-quote-page.template_two dl.variation > dd {
		width: 100%;
	}
}
