/*
 Theme Name:   MadgeTech
 Theme URI:    https://www.madgetech.com
 Author:       MadgeTech
 Author URI:   https://www.madgetech.com
 Description:  MadgeTech Storefront Child Theme
 Template:     storefront
 Version:      1.0.0
 License:      GPL-2.0+
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  storefront-madgetech
*/

/*Fonts*/
@font-face {
    font-family: 'Source Sans Pro';
    font-style: italic;
    font-weight: 200;
    src: local('Source Sans Pro ExtraLight Italic'), local('SourceSansPro-ExtraLightItalic'), url('assets/fonts/source-sans-pro-v11-latin-200italic.woff') format('woff');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Source Sans Pro';
    font-style: italic;
    font-weight: 300;
    src: local('Source Sans Pro Light Italic'), local('SourceSansPro-LightItalic'), url('assets/fonts/source-sans-pro-v11-latin-300italic.woff') format('woff');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Source Sans Pro';
    font-style: italic;
    font-weight: 400;
    src: local('Source Sans Pro Italic'), local('SourceSansPro-Italic'), url('assets/fonts/source-sans-pro-v11-latin-400italic.woff') format('woff');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Source Sans Pro';
    font-style: italic;
    font-weight: 600;
    src: local('Source Sans Pro SemiBold Italic'), local('SourceSansPro-SemiBoldItalic'), url('assets/fonts/source-sans-pro-v11-latin-600italic.woff') format('woff');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Source Sans Pro';
    font-style: italic;
    font-weight: 700;
    src: local('Source Sans Pro Bold Italic'), local('SourceSansPro-BoldItalic'), url('assets/fonts/source-sans-pro-v11-latin-700italic.woff') format('woff');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Source Sans Pro';
    font-style: italic;
    font-weight: 900;
    src: local('Source Sans Pro Black Italic'), local('SourceSansPro-BlackItalic'), url('assets/fonts/source-sans-pro-v11-latin-900italic.woff') format('woff');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 200;
    src: local('Source Sans Pro ExtraLight'), local('SourceSansPro-ExtraLight'), url('assets/fonts/source-sans-pro-v11-latin-200.woff') format('woff');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 300;
    src: local('Source Sans Pro Light'), local('SourceSansPro-Light'), url('assets/fonts/source-sans-pro-v11-latin-300.woff') format('woff');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 400;
    src: local('Source Sans Pro Regular'), local('SourceSansPro-Regular'), url('assets/fonts/source-sans-pro-v11-latin-400.woff') format('woff');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 600;
    src: local('Source Sans Pro SemiBold'), local('SourceSansPro-SemiBold'), url('assets/fonts/source-sans-pro-v11-latin-600.woff') format('woff');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 700;
    src: local('Source Sans Pro Bold'), local('SourceSansPro-Bold'), url('assets/fonts/source-sans-pro-v11-latin-700.woff') format('woff');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Source Sans Pro';
    font-style: normal;
    font-weight: 900;
    src: local('Source Sans Pro Black'), local('SourceSansPro-Black'), url('assets/fonts/source-sans-pro-v11-latin-900.woff') format('woff');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}


#temp-banner
{
    height: 25px;
    width: 100%;
    background-color: #ee3526;
    color: white;
    text-align: center;
}

#temp-banner a
{
    color: white;
}

body {
    --mtblue: #002b5c;
    --mtred: #ee3526;
    --ltgrey: #e3e3e4;
	--grey: #a7a8aa;
    --mdgrey: #717174;
    --dkgrey: #464646;
    --inputgrey: #d7d7d7;
    --inputgreyfocus: #c7c7c7;

	/*Parameter Colors*/
	--temperature: #a93f53;
	--pressure: #556234;
	--shock-vibration: #277143;
	--voltage: #e39b3f;
	--h20-bridge-strain-weather: #5d81ae;
	--humidity: #1a88c9;
	--pulse-event-state: #dd7c27;
	--current: #bfad31;
	--carbon-dioxide: #561441;
	--accessories: #818285;
	--software: #ee3526;

	/*Product Series Colors*/
	--element: #4e9f3c;

}

html,
body,
button,
input,
textarea,
select {
    font-family: "Source Sans Pro", Arial, sans-serif;
    font-size: 1em;
    line-height: 1.5;
}
html,
body {
	height: 100%;
}
img {
    border-radius: 0;
}
.international{
 display: none;
}
a:focus,
a.button:focus {
	outline: none;
}
a.button {
	margin: 20px;
	padding: 5px 20px;
	border: 1.5px solid !important;
	background-color: transparent;
	font-size: 1.2em;
	line-height: 1;
	text-align: center;
	text-transform: uppercase;
    word-break: normal;
}
a.button.sm {
	min-height: 50px;
	width: 150px;
}
a.button.lg {
	min-height: 75px;
	width: 250px;
}
a.button.center {
    display: block;
    width: fit-content;
    width: -moz-fit-content;
    margin-left: auto;
    margin-right: auto;
}
a.button.left {
    float: left;
}
a.button.right {
    float: right;
}
a.button.red {
    color: #ee3526;
	color: var(--mtred);
    border-color: #ee3526;
    border-color: var(--mtred);
}
a.button.red:hover {
    color: white;
    border-color: #ee3526;
	border-color: var(--mtred);
    background-color: #ee3526;
	background-color: var(--mtred);
}

a.button.gray:hover{
    color: #464646;
    color: var(--dkgrey);
    background-color: white;
}

a.button.gray{
    color: white;
    border-color: #464646;
    border-color: var(--dkgrey);
    background-color: #464646;
    background-color: var(--dkgrey);
    border-color: #464646 !important;
    border-color: var(--dkgrey) !important;
    text-transform: none;
    font-weight:400;
    padding: 0.6180469716em 1.41575em;
}


a.button.blue {
    color: #002b5c;
	color: var(--mtblue);
    border-color: #002b5c;
    border-color: var(--mtblue);
}
a.button.blue:hover {
	color: white;
    border-color: #002b5c;
    border-color: var(--mtblue);
    background-color: #002b5c;
    background-color: var(--mtblue);
}

a.button.blue-inv {
    color: white;
    border-color: white;
}
a.button.blue-inv:hover {
    color: #002b5c;
    color: var(--mtblue);
    background-color:white;
}

a.button.white {
    color: white;
	border-color: white;
}
a.button.white:hover {
    color: transparent;
    border-color: white;
	background-color: white;
}

a.remove::before{
    color: #ee3526;
    color: var(--mtred);
}

.site-footer a:not(.button),
.site-footer a:not(.button):not(.components-button),
.hentry .entry-content a:not(.button),
.hentry .entry-content a:not(.button):not(.components-button) {
    text-decoration: none;
}

body a{
    color: #002b5c;
    color: var(--mtblue);
    font-weight: bold;
}

body a:hover{
    color: #ee3526;
    color: var(--mtred);
}


.input-text,
input[type=email],
input[type=password],
input[type=search],
input[type=tel],
input[type=text],
input[type=number],
input[type=url],
.gform_body select,
textarea {
    background-color: #d7d7d7;
    background-color: var(--inputgrey);
    color: black;
}

.input-text:focus,
input[type=email]:focus,
input[type=password]:focus,
input[type=search]:focus,
input[type=tel]:focus,
input[type=text]:focus,
input[type=url]:focus,
input[type=number]:focus,
.gform_body select:focus,
textarea:focus {

    background-color: #c7c7c7;
    background-color: var(--inputgreyfocus);
    color: black;
}

#page {
	overflow-y: hidden;
	min-height: calc(100% - 460px); /* footer height is 400, footer top is 60 */
}

/* Todo: Move some of this to homepage ss */
.col-full,
.content-area,
.widget-area,
.site-main,
.page-template-template-homepage:not(.has-post-thumbnail) .site-main,
.page-template-template-homepage .type-page,
.page-template-template-homepage .entry-content,
.page-template-template-homepage .entry-header {
	max-width: 100%;
	margin: 0;
	padding: 0;
}

header .col-full,
div#footer-top.col-full,
footer div.col-full{
    padding: 0;
}


.entry-content {
    padding: 0 15px;
}

/* For two column pages */
.post-type-archive-product.left-sidebar .widget-area,
.tax-product_cat.left-sidebar .widget-area,
.tax-pa_industry.left-sidebar .widget-area,
.product-template-default.left-sidebar .widget-area,
.page-template-default.left-sidebar .widget-area {
    margin: 0;
    padding: 0 20px;
    width: 100%;

}

.post-type-archive-product.left-sidebar .content-area,
.tax-product_cat.left-sidebar .content-area,
.tax-pa_industry.left-sidebar .content-area,
.page-template-default.left-sidebar .content-area{
    margin: 0;
    padding: 0 15px;
    width: 100%;
}

/* Cart Widget */
ul#site-header-cart dl.variation{
    display: none;
}

div#secondary dl.variation{
    display: none;
}

/* Fix View cart button */
.single-product .wc-forward::after{
    content: "";
    margin-left: 0px;
}
body.woocommerce-account .col-full .woocommerce .woocommerce-MyAccount-content .woocommerce-Message .button,
.col-full .woocommerce .woocommerce-message .button.wc-forward {
    padding: 0px 20px;
    border-left-color: rgb(255, 255, 255) !important; /* important needed to override the woo important */
}
body.woocommerce-account .col-full .woocommerce .woocommerce-MyAccount-content .woocommerce-Message .button:hover,
.col-full .woocommerce .woocommerce-message .button.wc-forward:hover {
    color: var(--mtblue) !important;
    background-color: #fff !important;
    border-color: #fff !important;
}

body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-message{
    color : white;
}

/* Header */
.site-branding,
.site-contact,
.site-search,
.site-header-cart,
.secondary-navigation {
    display: none;
}

body.woocommerce .star-rating span:before
{
    color: var(--mtblue);
    color: #002b5c;
}

.storefront-primary-navigation .chat-now-icon {
    display: none;
}
.site-header {
    margin: 0;
    padding: 0 !important;
}

div.woocommerce-message{
    display: block;
    background-color: #002b5c;
    background-color: var(--mtblue);
}

body.woocommerce-active div.woocommerce-message a{
    margin: 0 5px;
}

/* Page Header Styles */
body.page-template-template-account-php h1.entry-title,
body.page-template-template-fullwidth h1.entry-title{
    display: inline-block;
    position: relative;
    width: 100%;
    color: white;
    background-color: #002b5c;
    background-color: var(--mtblue);
    font-size: 2.1em;
    line-height: 88px;
    font-weight: 300;
    text-align: center;
    text-transform: uppercase;
}

body.page-template-template-account-php h1.entry-title:before,
body.page-template-template-fullwidth.page-id-121 h1.entry-title:before,
body.page-template-template-fullwidth.parent-pageid-121 h1.entry-title:before{
    display: inline-block;
    position: relative;
    padding-right: 5px;
    content: '';
    background-repeat: no-repeat;
    height: 47px;
    width: 47px;
}


footer {
	height: 400px;
	padding: 25px 50px 100px 50px !important;  /* Storefront/WooCommerce Override */
	text-align: center;
}
	#footer-top {
		height: 55px;
		margin-bottom: 5px;
		background-color: #002b5c;
		background-color: var(--mtblue);
	}
		#footer-social {
			width: 250px;
			margin: 0 auto;
			padding-top: 8px;
		}
		.social-link {
			float: left;
			height: 40px;
			width: 50px;
		}
		.social-link img {
			margin: 0 auto;
			background-image: url('/wp-content/themes/storefront-madgetech/assets/images/icon-sprite.png');
		}
		#facebook {
			margin-top: 5px;
			height: 30px;
			width: 30px;
			background-position: -37px -69px;
		}
		#twitter {
			margin-top: 9px;
			height: 22px;
			width: 27px;
			background-position: -68px -69px;
		}
		#linkedin {
			margin-top: 5px;
			height: 30px;
			width: 31px;
			background-position: -96px -69px;
		}
		#pinterest {
			margin-top: 7.5px;
			height: 25px;
			width: 20px;
			background-position: -128px -69px;
		}
		#youtube {
			margin-top: 8px;
			height: 24px;
			width: 39px;
			background-position: -148px -69px;
		}
	.footer-widgets {
		padding: 0px;
	    border: none;
    }
	    .footer-widgets .footer-widget-1,
	    .footer-widgets .footer-widget-2,
	    .footer-widgets .footer-widget-3 {
		    display: none;
	    }
		.footer-widgets .block div.widget {
			margin-bottom: 0;
		}
        .footer-widgets a{
            font-weight: normal;
        }

    /* Fix alignment of icons when footer search expands/collapses */
    body.wps-storefront-noscroll .storefront-handheld-footer-bar {
        padding-right: 17px;
    }

    /* Fix Link colors within handheld footer */
    .site-footer a:not(.button):not(.components-button) {
        color: inherit;
    }

	.storefront-handheld-footer-bar ul li.my-account > a::before {
		height: 30px;
		width: 28px;
		margin: auto;
		background: url('/wp-content/themes/storefront-madgetech/assets/images/icon-sprite.png') -163px 0 no-repeat;
		content: "";
	}
	.storefront-handheld-footer-bar ul li.search > a::before,
    .storefront-handheld-footer-bar ul li.search.active > a::before {
		height: 30px;
		width: 33px;
		margin: auto;
		background: url('/wp-content/themes/storefront-madgetech/assets/images/icon-sprite.png') -192px 0 no-repeat;
		content: "";
	}
    .storefront-handheld-footer-bar ul li.search.active .site-search {
        position: fixed;
        top: 25%;
        height: calc(75% - 69px);
        border-top: 3px var(--mdgrey) solid;
    }
        .storefront-handheld-footer-bar .site-search #made-in-usa-icon,
        .storefront-handheld-footer-bar .site-search #iso-9001-icon,
        .storefront-handheld-footer-bar .site-search #iso-17025-icon{
             display: none;
         }
        .storefront-handheld-footer-bar .site-search .widget_product_search {
            float: left;
            height: 100%;
            width: calc(100% - 150px);
            margin-right: 5px;
        }
            .storefront-handheld-footer-bar ul li.search.active .site-search .product-search {
                position: relative;
                height: 100%;
            }
                .storefront-handheld-footer-bar ul li.search.active .site-search .product-search input[type="text"].product-search-field,
                .widget_product_search .product-search-form input[type="text"].product-search-field {
                    height: 35px;
                    width: calc(100% - 35px);
                    padding: 0px 10px;
                    border: none;
                    border-radius: 0;
                    font-size: 1em !important /* Product Search Plugin Override */;
                    line-height: 35px;
                }
                .widget_product_search .product-search-form input[type="text"].blinker {
                    background-position: calc(100% - 10px);
                }
                .widget_product_search .product-search-form button[type="submit"] {
                    float: right;
                    position: relative;
                    height: 35px;
                    width: 35px;
                    margin: 0 !important;
                    padding: 0 !important;
                    background: #ee3526 url('/wp-content/themes/storefront-madgetech/assets/images/icon-sprite.png') -66px 0 no-repeat; /* IE Fallback */
                    background: var(--mtred) url('/wp-content/themes/storefront-madgetech/assets/images/icon-sprite.png') -66px 0 no-repeat;
                    clip-path: none;
                    line-height: 35px;
                    overflow: visible;
                }
                .widget_product_search .product-search-form button[type="submit"]::before {
                    float: left;
                    position: relative;
                    margin-left: -10px;
                    border-top: 8px solid transparent;
                    border-right: 10px solid #ee3526; /* IE Fallback */
                    border-right: 10px solid var(--mtred);
                    border-bottom: 8px solid transparent;
                    content: '';
                }
                .storefront-handheld-footer-bar ul li.search.active .site-search .product-search .product-search-results {
                    height: calc(100% - 35px);
                    width: calc(100% + 150px) !important /* Product Search Plugin Override */;
                    margin: 5px 0;
                }
        .site-search #advanced-search-icon {
				float: right;
				height: 35px;
				width: 35px;
				margin: 0;
				padding: 0;
				background: #717174 url('/wp-content/themes/storefront-madgetech/assets/images/icon-sprite.png') -102px 0 no-repeat; /* IE Fallback */
				background: var(--mdgrey) url('/wp-content/themes/storefront-madgetech/assets/images/icon-sprite.png') -102px 0 no-repeat;
        }
        .site-search #advanced-search-text {
				display: block;
				float: right;
				height: 35px;
				width: 110px;
				color: white;
				background-color: #717174;
				background-color: var(--mdgrey);
				font-size: 1em;
				line-height: 35px;
				text-align: right;
        }
    .storefront-handheld-footer-bar ul li.cart > a::before{
        height: 35px;
        width: 27px;
        margin: auto;
        background: url('/wp-content/themes/storefront-madgetech/assets/images/icon-sprite.png') -226px 0 no-repeat;
        content: "";
    }
    .storefront-handheld-footer-bar ul li.cart .count {
        display: block;
        position: relative;
        top: 30px;
        left: 0;
        margin: auto;
        height: 15px;
        width: 20px;
        color: #717174;
        color: var(--mdgrey);
        background-color: transparent;
        border: none;
        font-size: 1em;
        line-height: 1;
    }

/*limit amount displayed in search so it doesn't go behind footer*/
.search-results{
    display: block;
    max-height: 750px;
}

/* Gutenburg columns */
.hentry .entry-content .wp-block-columns .wp-block-column {
    flex-basis: 100%;
    padding: 0 0 25px 0;
}

.hentry .entry-content .wp-block-columns .wp-block-column:last-child {
    padding-bottom: 0;
}

.hentry .entry-content .wp-block-columns .wp-block-column:not(:last-child) {
    margin-right: 0;
}

body div.wp-block-columns.has-4-columns {
    margin-top: 30px;
}

div.wp-block-columns.has-2-columns div.wp-block-column,
div.wp-block-columns.has-3-columns div.wp-block-column,
div.wp-block-columns.has-4-columns div.wp-block-column,
div.wp-block-columns.has-5-columns div.wp-block-column,
div.wp-block-columns.has-6-columns div.wp-block-column{
    border-right: none;
}

/* Gutenburg overrides*/
.no-itc figcaption{
    font-style: normal !important;
}

/* Cookie Notice */
div.cookie-notice-container {
    border-top: 5px solid var(--mtred);
    border-top: 5px solid #ee3526;
}
div.cookie-notice-container span#cn-notice-text {
    font-weight: 500;
}

div.cookie-notice-container a#cn-accept-cookie,
div.cookie-notice-container a#cn-refuse-cookie {
    margin: 15px;
}

div.cookie-notice-container a#cn-refuse-cookie {
    color: var(--mdgrey);
    color: #717174;
    border-color: var(--mdgrey);
    border-color: #717174;
}
div.cookie-notice-container a#cn-refuse-cookie:hover{
    background-color: #ffffff;
}

/* Distributor Message */
#distributor-message {
    text-align: center;
}
    #distributor-message span {
        display: block;
        color: #ee3526;
        color: var(--mtred);
        font-size: 1.3em;
        font-weight: bold;
        text-transform: uppercase;
    }

    #distributor-message a {
        display: block;
        margin: 0 auto 20px auto;
        font-size: 1.1em;
    }

/* 404 Page */
body.error404 .page-content {
    text-align: center;
}
    body.error404 .page-content .page-header {
        margin: 50px auto 0 auto;
    }
    body.error404 .page-content .page-title {
        margin: 0;
    }
    body.error404 .page-content p {
        font-size: 1.4em;
        font-weight: 300;
        margin-top: 0;
    }
    body.error404 .page-content h2 {
        margin-top: 40px;
        font-weight: 500;
        text-transform: uppercase;
    }

    body.error404 .page-content .widget_product_categories {
        width: 300px;
        margin: 0 auto 50px auto;
    }
    body.error404 .page-content .widget_product_categories ul li::before {
        content: '';
    }
    body.error404 .page-content .widget_product_categories ul li {
        padding-left: 0;
        font-size: 1em;
    }

/* TODO: Organize below this point! */

p.hidden,
#bulk-discount.hidden,
.hidden{
    display: none;
}

#bulk-discount{
    display: block;
    float: none;
    font-size: 1em;
}


dt.variation-CalibrationRequest,
dd.variation-CalibrationRequest{
    display: none !important;
}

#product-search-0 .add_to_cart_button{
    margin-left: 0;
    color: #ee3526;
    color: var(--mtred);
    background-color: white;
    border-color: #ee3526;
    border-color: var(--mtred);
}

#product-search-0 .add_to_cart_button:hover{
    color: white;
    border-color: #ee3526;
    border-color: var(--mtred);
    background-color: #ee3526;
    background-color: var(--mtred);
}

#product-search-0 .add_to_cart_button:after{
    content: '';
}

#product-search-0 .added_to_cart.wc-forward{
    margin: 5px 20px;
    padding: 5px 20px;
    color: #002b5c;
    color: var(--mtblue);
    background-color: white;
    text-transform: uppercase;
    line-height: 1em;
    border-style: solid;
    border-width: 1.5px;
    border-color: #002b5c;
    border-color: var(--mtblue);
}

#product-search-0 .added_to_cart.wc-forward:hover{
    color: white;
    border-color: #002b5c;
    border-color: var(--mtblue);
    background-color: #002b5c;
    background-color: var(--mtblue);
}

#product-search-0 .added_to_cart.wc-forward:after{
    content: '';
}

body p.woocommerce-mini-cart__buttons.buttons a.button.wc-forward{
    color: #002b5c;
    color: var(--mtblue);
    background-color: white;
    border-color: #002b5c;
    border-color: var(--mtblue);
}

body p.woocommerce-mini-cart__buttons.buttons a.button.wc-forward:hover{
    color: white;
    border-color: #002b5c;
    border-color: var(--mtblue);
    background-color: #002b5c;
    background-color: var(--mtblue);
}

body p.woocommerce-mini-cart__buttons.buttons a.button.wc-forward::after{
    content: '';
}

body p.woocommerce-mini-cart__buttons.buttons a.button.checkout.wc-forward{
    color: #ee3526;
    color: var(--mtred);
    background-color: white;
    border-color: #ee3526;
    border-color: var(--mtred);
}

body p.woocommerce-mini-cart__buttons.buttons a.button.checkout.wc-forward:hover{
    color: white;
    border-color: #ee3526;
    border-color: var(--mtred);
    background-color: #ee3526;
    background-color: var(--mtred);
}

 body.woocommerce-active div.woocommerce-message a {
		color: white;
	}

 body.woocommerce-active  div.woocommerce-message a:hover {
		color: var(--mtred);
	}

/*Sidebar Cart Styles*/
div#secondary div.widget_shopping_cart span.gamma.widget-title{
    padding-top: 10px;
    color: #002b5c;
    color: var(--mtblue);
    border-top: 1px solid #464646;
    border-top: 1px solid var(--dkgrey);
    text-transform: uppercase;
    border-bottom: none;
    font-size: 1.618em;
    font-weight: 400;
}

div#secondary div.widget_shopping_cart_content{
    padding-bottom: 10px;
    border-bottom: 1px solid #464646;
    border-bottom: 1px solid var(--dkgrey);
}

.left-sidebar div#secondary .widget{
    color: #464646;
    color: var(--dkgrey);
    margin-bottom: 20px;
}


.left-sidebar div#secondary div.widget_shopping_cart span.widget-title {
    padding-bottom: 0;
    margin-bottom: 0;
}

.left-sidebar div#secondary div.widget_shopping_cart_content li.woocommerce-mini-cart-item.mini_cart_item,
.left-sidebar div#secondary div.widget_shopping_cart_content p.woocommerce-mini-cart__total.total{
    border: none;
}

.left-sidebar div#secondary div.widget_shopping_cart_content p.woocommerce-mini-cart__total.total{
    padding-left: 2em;
    text-align: left;
}

/* Modal Forms */
.ui-widget-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #aaaaaa;
    opacity: .3;
    filter: Alpha(Opacity=30);
    z-index: 1000/*Must be above header*/;
}
.ui-dialog {
    background-color: #ffffff;
    z-index: 101;
}
.ui-dialog-titlebar {
    height: 44px;
    font-weight: 600;
}
.ui-dialog-title {
    float: left;
    padding: 10px;
    text-transform: uppercase;
}
.ui-button {
    float: right;
}
.ui-dialog-content {
    padding: 15px 25px;
    color: var(--dkgrey);
    color: #464646;
}
.hbspt-form form{
    margin: 0;
}
.hbspt-form p {
    margin-bottom: 10px;
}
.hbspt-form #label-email-3fb1b14d-18b6-492c-8e2f-119fe30ee187,
.hbspt-form #label-email-68cab7de-078b-495a-acd8-37bcd2578e78 {
    display: none;
}
#email-3fb1b14d-18b6-492c-8e2f-119fe30ee187,
#email-68cab7de-078b-495a-acd8-37bcd2578e78 {
    width: 100%;
    margin-bottom: 10px;
}
.hbspt-form .hs-error-msgs {
    color: var(--mtred);
    color: #ee3526;
}
.hbspt-form ul.inputs-list {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
.hbspt-form .hs-input[type=checkbox] {
    float: left;
    height: 50px;
    margin-right: 15px;
}
.hbspt-form .legal-consent-container {
    margin: 10px 0;
}
.hbspt-form .legal-consent-container .hs-richtext:nth-child(3),
.hbspt-form .legal-consent-container .hs-richtext:nth-child(4) {
    font-size: .8em;
}
.hbspt-form .hs-button {
    margin: 10px 0;
    padding: 5px 20px;
    border: 1.5px solid;
    border-color: #ee3526;
    border-color: var(--mtred);font-size: 1.2em;
    background-color: transparent;
    color: #ee3526;
    color: var(--mtred);
    line-height: 1;
    text-align: center;
    text-transform: uppercase;
}
.hbspt-form .hs-button:hover {
    color: white;
    border-color: #ee3526;
    border-color: var(--mtred);
    background-color: #ee3526;
    background-color: var(--mtred);
}

.pagination ul.page-numbers span.page-numbers.current{
    color: white;
    background-color: #002b5c;
    background-color: var(--mtblue);
}

.pagination ul.page-numbers a.page-numbers{
    color: #464646;
    background-color: #c7c7c7;
    background-color: var(--inputgreyfocus);
}
/*TablePress Styles*/
table.tablepress thead th,
table.tablepress .sorting{
    color: white;
    background-color: #464646;
    background-color: var(--dkgrey);
}

table.tablepress .sorting_asc,
table.tablepress .sorting_desc,
table.tablepress .sorting:hover{
    color: #464646;
    color: var(--dkgrey);
    background-color: #e3e3e4;
    background-color: var(--ltgrey);
}

body .dataTables_paginate a{
    color: #002b5c !important;
    color: var(--mtblue) !important;
}

body .dataTables_paginate a:hover{
    color: #ee3526 !important;
    color: var(--mtred) !important;
}

body .paginate_button.disabled{
    color: #d7d7d7 !important;
    color: var(--inputgrey) !important;
    text-decoration: none;
}

body .paginate_button.disabled:hover{
    color: #d7d7d7 !important;
    color: var(--inputgrey) !important;
}

body .paginate_button.previous {
    text-decoration: none;
}

body .paginate_button.next{
    text-decoration: none;
}

body .dataTables_paginate{
    margin: 4px 0 0;
}

body div.dataTables_length{
    padding: 15px 0;
}

.paging_simple .paginate_button.next:after, .paging_simple .paginate_button.previous:before{
    color: #002b5c !important;
    color: var(--mtblue) !important;
    text-shadow: none !important;
}

.paging_simple .paginate_button.next:hover:after, .paging_simple .paginate_button.previous:hover:before{
    color: #ee3526 !important;
    color: var(--mtred) !important;
}

.paging_simple .paginate_button.next.disabled:hover:after, .paging_simple .paginate_button.previous.disabled:hover:before{
    color: #d7d7d7 !important;
    color: var(--inputgrey) !important;
}


.paging_simple .paginate_button.disabled:after,.paging_simple .paginate_button.disabled:before{
    color: #d7d7d7 !important;
    color: var(--inputgrey) !important;
}

.paging_simple .paginate_button.disabled:before:after,.paging_simple .paginate_button.disabled:before:before{
    color: #d7d7d7 !important;
    color: var(--inputgrey) !important;
}

table.tablepress tbody td{
    background-color: white !important;
}

/*Hide BeRocket show more*/

li.berocket_widget_show_values{
    display: none !important;
}

div.widget.woocommerce.widget_shopping_cart{
    min-width: 213px;
}

.woocommerce-info, .woocommerce-noreviews{
    background-color: var(--mtblue);
    background-color: #002b5c;
}


#mobile-all-products{
    display: block;
    padding: 0;
    margin-bottom: 15px;
    text-transform: uppercase;
    background-color: #464646;
    color: var(--dkgrey);
    background-color: #fff;
    font-weight: 400;
}

#mobile-all-products:hover{
    font-weight: 600;
}

.software-yt-embed{
    width: 80% !important;
    margin: auto;
}


/* Ajax Filters  */
.bapf_head{
    font-size: 14px;
}
.bapf_head h3{
    font-size: 1.41575em;
    font-weight: 400;
}
#secondary input{
    outline: none;
}

.bapf_slidr .irs--flat .irs-bar,
.berocket_single_filter_widget .bapf_slidr .irs--flat .irs-handle > i,
.bapf_slidr .irs--flat .irs-from,
.bapf_slidr .irs--flat .irs-to,
.bapf_slidr .irs--flat .irs-single{
    background-color: var(--mtblue);
}
.bapf_slidr .irs--flat .irs-from::before,
.bapf_slidr .irs--flat .irs-to::before,
.bapf_slidr .irs--flat .irs-single::before{
    border-top-color: var(--mtblue);
}


/* On Sale Items */
#page .onsale {
    position: absolute;
    border: none;
    background: var(--mtred) !important;
    background: #ee3526 !important;
    text-align: center;
    color: #ffffff !important;
    width: 53px;
    height: 53px;
    line-height: 53px;
    border-radius: 53px;
    padding: 0;
    font-weight: 600;
    font-size: 18px;
}

.single-product div.product .product-box .onsale {
    top: 100px;
    left: 25px;
    z-index: 1;
}
ul.products li .onsale {
    top: 12px;
    left: 12px;
}

/*Mobile only gutenberg overrides*/
@media only screen and (max-width: 767px) {
    div.wiadl-industry img
    {

    }

    div.wiadl-params img
    {

    }

    .wiadl-desk
    {
        display: none;
    }

    tr.wiadl-mobile
    {
        display: table-row !important;
    }

    tr.wiadl-mobile td
    {
        background-color: rgb(128, 130, 133) !important;
    }

    tr.wiadl-mobile img
    {
        width: 300px !important;
        margin: auto !important;
    }
}


/* Small  Mobile Screens */
@media only screen and (max-width: 400px ) {
    #mega-menu-wrap-primary .mega-menu-toggle .mega-toggle-block-1 a.mega-menu-logo img.mega-menu-logo {
        height: 60px;
        margin: 10px 0;
    }
}

/* Larger Mobile Screens */
@media only screen and (min-width: 500px) {
    .storefront-primary-navigation .chat-now-icon {
        display: block;
    }

    footer {
        height: 375px;
    }

    #page {
        min-height: calc(100% - 435px); /* footer height is 375, footer top is 60 */
    }

}

/* Small Desktop */
@media only screen and (min-width: 768px){

	#page {
		min-height: calc(100% - 320px); /* footer is 260 footer-top is 60 */
	}

    /* For two column pages */
    .post-type-archive-product.left-sidebar .widget-area,
    .tax-product_cat.left-sidebar .widget-area,
    .tax-pa_industry.left-sidebar .widget-area,
    .product-template-default.left-sidebar .widget-area,
    .page-template-default.left-sidebar .widget-area {
        margin: 15px;
        padding: 0;
        width: 250px;

    }

    .post-type-archive-product.left-sidebar .content-area,
    .tax-product_cat.left-sidebar .content-area,
    .tax-pa_industry.left-sidebar .content-area,
    .product-template-default.left-sidebar .content-area,
    .page-template-default.left-sidebar .content-area {
        margin: 15px;
        padding: 0;
        width: calc(100% - 325px);

    }

    .widget-area#secondary{
        padding: 0;
    }

	.site-header {
        margin: 10px 50px 0 50px;
        border: none;
    }
        .site-branding {
            width: 300px !important; /* Storefront/WooCommerce Override */
            margin: 0;
	        margin-right: 0 !important; /* Storefront/WooCommerce Override */
            padding: 10px 0;
        }
        .site-contact {
            display: block;
            float: right;
            color: #002b5c;
            font-size: .9em;
        }
            .site-contact span {
                padding-right: 5px;
                line-height: 40px;
            }
            #site-chat-icon {
                float: right;
                height: 29px;
                width: 29px;
	            background: url('/wp-content/themes/storefront-madgetech/assets/images/icon-sprite.png') -37px 0 no-repeat;
            }
            #site-chat-icon:hover {
                float: right;
                height: 29px;
                width: 29px;
                background: url('/wp-content/themes/storefront-madgetech/assets/images/icon-sprite.png') -187px -66px no-repeat;
            }
        .site-search {
            display: block;
            clear: right !important; /* Storefront/WooCommerce Override */
            width: 330px !important; /* Storefront/WooCommerce Override */
            margin-bottom: 0;
        }
            .site-search #made-in-usa-icon {
	            display: block;
	            float: left;
	            height: 39px;
	            width: 36px;
	            margin-right: 10px;
	            background: url('/wp-content/themes/storefront-madgetech/assets/images/icon-sprite.png') 0 0 no-repeat;
            }
            .site-search #iso-9001-icon,
            .site-search #iso-17025-icon {
                display: block;
                float: left;
                height: 39px;
                width: 36px;
                margin-right: 10px;
            }
            .site-search .widget_product_search {
                float: left;
                width: calc(100% - 138px);
            }
                .site-search .widget_product_search .product-search-form::before {
                    display: none;
                }
            .site-search #advanced-search-icon {
	            display: none;
            }
            .site-search #advanced-search-text {
	            display: none;
            }

	#mega-menu-wrap-primary {
		z-index: 1; /* Ensure primary nav is always clickable even when approaching secondary nav */
	}

	.site-header-cart {
            display: block;
	        height: 40px;
            min-width: 130px !important; /* Keep cart nav from becoming too small */
            width: 20% !important;  /* Storefront/WooCommerce Override */
        }
            .site-header-cart-count {
                display: block;
	            float: right;
                height: 31px;
                width: 24px;
	            background: url('/wp-content/themes/storefront-madgetech/assets/images/icon-sprite.png') -138px 0 no-repeat;
            }
                .site-header-cart-count span.count {
                    display: block;
                    height: 20px;
	                margin: 7px 3px 0 4px;
	                color: #ee3526;
                    color: var(--mtred);
	                text-align: center;
                    font-weight: normal;
                }

        .secondary-navigation {
            display: block;
	        position: absolute;
	        right: 40px;
            width: auto !important; /* Storefront/WooCommerce Override */
            margin: 0 !important;  /* Storefront/WooCommerce Override */
            padding-left: 145px; /* Prevents triggering cart navigation */
        }

	footer {
		position: relative;
		height: 260px;
		padding: 25px !important;  /* Storefront/WooCommerce Override */
	}
	    .footer-widgets {
		    line-height: 18px;
		    text-align: left;
	    }
		.footer-widgets .footer-widget-4 {
			display: none;
		}
		.footer-widgets .footer-widget-1,
		.footer-widgets .footer-widget-2,
		.footer-widgets .footer-widget-3 {
			display: block;
			margin: 0 !important; /* Storefront/WooCommerce Override */
			width: calc(100%/3) !important; /* Storefront/WooCommerce Override */
		}
        .footer-widgets .footer-widget-1 .widget_text,
        .footer-widgets .footer-widget-2 .widget_text,
        .footer-widgets .footer-widget-3 .widget_text {
            margin: auto;
        }
        .footer-widgets .footer-widget-1 .widget_text {
            width: 165px;
         }
        .footer-widgets .footer-widget-2 .widget_text {
            width: 205px;
         }
        .footer-widgets .footer-widget-3 .widget_text {
            width: 190px;
            margin: auto;
        }
		.footer-heading {
			display: block;
			padding-bottom: 15px;
			font-size: 1.4em;
			font-weight: 600;
			text-transform: uppercase;
		}
		.footer-items {
			margin-bottom: 0;
		}
		.footer-items li {
			padding: 5px 0;
            font-size: .9em;
		}
		.footer-items a {
			display: block;
			min-height: 30px;
		}
		.footer-items a:hover {
			text-decoration: none;
		}
		.footer-items li span.icon {
			display: block;
			float: left;
			width: 30px;
			margin-right: 10px;
		}
		.footer-items li span.description {
			display: flex;
		}
		.footer-items li span.icon img {
			margin: auto;
			background-image: url('/wp-content/themes/storefront-madgetech/assets/images/icon-sprite.png');
		}
		.footer-items li span.icon img.repair {
			height: 26px;
			width: 29px;
			background-position: 0 -40px;
		}
		.footer-items li span.icon img.calibration {
			height: 26px;
			width: 26px;
			background-position: -30px -40px;
		}
		.footer-items li span.icon img.on-site-services {
			height: 23px;
			width: 22px;
			background-position: -57px -40px;
		}
		.footer-items li span.icon img.iso{
			height: 22px;
			width: 26px;
			background-position: -80px -40px;
		}
		.footer-items li span.icon img.software{
			height: 19px;
			width: 30px;
			background-position: -107px -40px;
		}
        .footer-items li span.icon img.drivers {
            height: 22px;
            width: 12px;
            background-position: -285px -39px;
        }
		.footer-items li span.icon img.secure-software {
			height: 28px;
			width: 22px;
			background-position: -138px -40px;
		}
		.footer-items li span.icon img.cloud {
			height: 19px;
			width: 29px;
			background-position: -161px -40px;
		}
		.footer-items li span.icon img.directions {
			height: 26px;
			width: 20px;
			background-position: -191px -40px;
		}
		.footer-items li span.icon img.call {
			height: 26px;
			width: 19px;
			background-position: -212px -40px;
		}
		.footer-items li span.icon img.fax {
			height: 22px;
			width: 27px;
			background-position: -232px -40px;
		}
		.footer-items li span.icon img.email {
			height: 16px;
			width: 24px;
			background-position: -260px -40px;
		}
		#footer-bottom {
			position: absolute;
			bottom: 5px;
			font-size: .9em;
			width: calc(100% - 50px);
		}
            #footer-bottom a {
                font-weight: normal;
            }

    body.blog div#secondary,
    body.post-template-default div#secondary {
        border-top: 3px solid var(--ltgrey);
        border-bottom: 3px solid var(--ltgrey);
        padding: 10px 0;
    }

    #site-header-cart:hover div.widget.woocommerce.widget_shopping_cart {
        left: -40px;
    }

    #mobile-all-products{
        display: none;
    }
}

/* Gutenburg breakpoint */
@media only screen and (min-width: 782px) {

    .wp-block-column {
        flex-basis: calc(50% - 16px);
    }

    div.wp-block-columns.has-2-columns div.wp-block-column,
    div.wp-block-columns.has-3-columns div.wp-block-column,
    div.wp-block-columns.has-4-columns div.wp-block-column,
    div.wp-block-columns.has-5-columns div.wp-block-column,
    div.wp-block-columns.has-6-columns div.wp-block-column {
        padding: 0 16px !important;
        border-right: #c7c7c7 3px solid;
        border-right: var(--inputgreyfocus) 3px solid;
    }

    div.wp-block-columns.has-2-columns.no-bar div.wp-block-column,
    div.wp-block-columns.has-3-columns.no-bar div.wp-block-column,
    div.wp-block-columns.has-4-columns.no-bar div.wp-block-column,
    div.wp-block-columns.has-5-columns.no-bar div.wp-block-column,
    div.wp-block-columns.has-6-columns.no-bar div.wp-block-column,
    div.wp-block-columns.has-2-columns div.wp-block-column:last-child,
    div.wp-block-columns.has-3-columns div.wp-block-column:last-child,
    div.wp-block-columns.has-4-columns div.wp-block-column:last-child,
    div.wp-block-columns.has-5-columns div.wp-block-column:last-child,
    div.wp-block-columns.has-6-columns div.wp-block-column:last-child {
        border-right: none;
    }

}

/* Medium Desktop */
@media only screen and (min-width: 900px) {
    #site-header-cart:hover div.widget.woocommerce.widget_shopping_cart {
        left: inherit;
    }
}

/* Large Desktop */
@media only screen and (min-width: 1100px) {

    /* Add Margin for the prize wheel between wheel and code section */
    .wof-wheel-standalone .wof-right-inner {
        display: block;
        margin-left: 50px;
    }

}

/* Extra-Large Desktop */
@media only screen and (min-width: 1400px) {

	#page,
    footer .col-full {
        width: 1400px;
        margin: 0 auto;
    }

    .site-branding {
        width: 353px !important; /* Storefront/WooCommerce Override */
        margin: 0 !important; /* Storefront/WooCommerce Override */
        padding: 10px 0;
    }

    body.blog div#primary article,
    body.post-template-default div#primary article{
        margin: 0 0 25px 0;
    }



}

/* Extra-Extra-Large Desktop */
@media only screen and (min-width: 1700px) {

    .bluetooth-text p
    {
        padding-left: 9%
    }
}