/*
Theme Name: 	Spec Sensors
Author:         Derek Ashauer
Author URI:     http://www.ashwebstudio.com
*/

/* Resets */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed,  figure, figcaption, footer, header, hgroup,  menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; vertical-align: baseline; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
body { line-height: 120%; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
table { border-collapse: collapse; border-spacing: 0; }
input { vertical-align: middle; }
input[type="submit"] { cursor: pointer; }

/* WordPress required styles */
.alignright { float: right; margin: 0 0 10px 15px; }
.alignleft { float: left; margin: 0 15px 10px 0; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { border: 1px solid #ddd; text-align: center; background-color: #f3f3f3; padding-top: 4px; margin: 10px; -moz-border-radius: 3px; -khtml-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; }
.wp-caption img { margin: 0; padding: 0; border: 0 none; }
.wp-caption-dd { font-size: 11px; line-height: 17px; padding: 0 4px 5px; margin: 0; }


/* ----------------------------------- */
/* COMMON
/* ----------------------------------- */
body { background: #FFF; text-align: center; }
p, div, li, h1, h2, h3, h4, td, th, input, select, textarea { font: normal 14px/1.48 "proxima-nova", sans-serif; color: #6d6e71; }
p, h1, h2, h3, h4, section ul, section ol, section table { margin-bottom: 15px; }
a img, :link img, :visited img { border: none }
a { color: #e2261c; text-decoration: underline; }
a:hover { color: #d9696c; text-decoration: underline; }
div.clear { clear: both; overflow: hidden; height: 1px; }
input { vertical-align: middle; }
.cf:before, .cf:after { content: " "; display: table; }
.cf:after { clear: both; }
.cf { *zoom: 1; }
.gform_fields { padding-left: 0 !important; }

.container { width: 1200px; margin: 0 auto; text-align: left; }

.button { border: none; padding: 13px 30px; background: #3e9e42 !important; color: #FFF !important; text-decoration: none; border-radius: 20px 0 20px !important; font-size: 18px; text-transform: uppercase; display: inline-block; margin: 15px 0 0 0; text-shadow: none; box-shadow: none; font-weight: 400; }
.button:hover { background: #67b96a !important; color: #FFF; text-decoration: none; }


/* ----------------------------------- */
/* TOP
/* ----------------------------------- */
#header { width: 100%; background: #FFF; }
#header.is_stuck { z-index: 999; }

/*#logo { float: left; padding: 22px 25px 22px 13px; height: 54px; }*/
#logo { float: left; padding: 22px 15px 22px 13px }
#logo2 { float: right; padding: 22px 15px 22px 13px }

#social { float: right; font-size: 20px; margin: 18px 13px 0 20px; }

/*#top-menu { float: right; margin-top: 27px; }*/
#top-menu { float: right; clear: right; margin-top: 0px; padding: 0px 10px }
#top-menu li { margin-left: 20px; }
#top-menu li a { text-decoration: none; }

#main-menu { float: right; clear: right; }

#header li { float: left; list-style: none; }
#main-menu li a { color: #6d6e71; text-decoration: none; padding: 10px 13px; margin-left: 15px; font-size: 19px; font-weight: 700; text-transform: uppercase; display: block; }
#main-menu li a:hover, #main-menu li:hover a { background: #6d6e71; color: #FFF; }
#main-menu li { position: relative; }
#main-menu li .sub-menu { left: -9999em; position: absolute; top: 40px; z-index: 100; background: #6d6e71; padding: 7px 20px 15px 13px; }
#main-menu li:hover .sub-menu { left: 15px; }
#main-menu li .sub-menu li { float: none; border: none; background: none; margin: 0; padding: 0; }
#main-menu li .sub-menu li:before { display: none; }
#main-menu li .sub-menu a { color: #FFF; background: none; padding: 0; white-space: nowrap; height: auto; line-height: 1.4; margin: 3px 0 0 0; font-size: 15px; text-transform: none; }
#main-menu li .sub-menu a:hover { color: #CCC; }
#main-menu li .sub-menu .sub-menu { position: static; }
#main-menu li .sub-menu .sub-menu a { font-weight: normal; font-size: 13px; }
/*
#header.is_stuck { z-index: 1000; box-shadow: 0px 4px 3px rgba(0,0,0,.06); }
#header.is_stuck #logo { padding-top: 12px; padding-bottom: 12px; height: 40px; width: auto; }
#header.is_stuck li a { padding-top: 23px; padding-bottom: 23px; }
#header.is_stuck li .sub-menu a { padding: 7px 25px 0 25px; }
#header.is_stuck li .sub-menu .sub-menu a { padding-top: 0; padding-left: 50px; }
*/

#mobile-menu { display: none; }


/* ----------------------------------- */
/* HOME
/* ----------------------------------- */

/* Orig
#banner { padding: 135px 0; background: transparent url(images/sensor-grid.jpg) center top no-repeat; background-attachment: fixed; overflow: hidden; position: relative; }
#banner:after { position: absolute; content: " "; top: 30px; right: 0; width: 516px;  height: 546px; background: transparent url(images/hand-sensor.png) 0 0 no-repeat; background-size: contain; }
#banner h1 { font-size: 53px; color: #ad1e22; line-height: 1.1; }
#banner-content { padding-left: 100px; }
*/

#banner { padding: 50px 0; width: 1200;  height: 250px; background: transparent url(images/sensor-grid.jpg) center no-repeat; background-size: cover;  background-attachment: fixed; overflow: hidden; position: relative; }
#banner:after { position: absolute; content: " "; top: 0; right: 0; width: 700px;  height: 350px; background: transparent url(https://www.spec-sensors.com/wp-content/uploads/2023/06/HomeImage1.png) 0 0 no-repeat; background-size: contain}
#banner h2 { text-align: left; font-size: 45px; text-transform: uppercase; color: #e2261c; line-height: 1.1; }
#banner h3 { text-align: left; font-size: 25px; text-transform: uppercase; color: #000; font-weight: bold; display: block }
#banner h4 { padding: 20px 0; text-align: left; font-size: 20px; color: #000; }
#banner-content { padding-left: 50px; }

/*#sensors { padding: 135px 0; }*/
#sensors { padding: 20px 0; }
/*
#sensors h2 { text-align: center; font-size: 53px; text-transform: uppercase; color: #ad1e22; line-height: 1.1; font-weight: 300; margin-bottom: 50px; }
#sensors h2 span { font-size: 25px; color: #000; font-weight: bold; display: block; }
*/
#sensors li { float: left; list-style: none; width: 30%; margin: 0 0 0 5%; }
#sensors li:nth-child( 3n+1 ) { margin-left: 0; clear: left; }
#sensors li h3 { font-weight: bold; font-size: 25px; color: #000; line-height: 1.1; }
#sensors li p { font-size: 17px; }
#sensors li strong { color: #e2261c; }

/* Orig
#applications h2 { background: #ad1e22; color: #FFF; font-size: 19px; font-weight: bold; text-transform: uppercase; text-align: center; padding: 15px; margin: 0; }
#applications ul { background: #373737; }
#applications li { float: left; text-align: center; list-style: none; width: 50%; height: 303px; background-size: cover; position: relative; }
#applications li a { color: #FFF; font-size: 25px; font-weight: 300; text-transform: uppercase; text-decoration: none; }
.overlay { position: absolute; width: 100%; height: 100%; top: 0; left: 0; background: rgba(0,0,0,.8); z-index: 10; -webkit-transition: color, background-color, opacity 0.7s; -moz-transition: color, background-color, opacity 0.7s; -o-transition: color, background-color, opacity 0.7s; transition: color, background-color, opacity 0.7s; }
.overlay-table { display: table; height: 100%; width: 100%; }
.overlay-content { display: table-cell; vertical-align: middle; text-align: center; padding: 0 10%; }
.overlay-description { display: none; vertical-align: middle; text-align: center; padding: 0 10%; color: #FFF; }
#applications li:hover .overlay-description { display: table-cell; }
#applications li:hover .overlay-content { display: none; }
#applications li:hover .overlay { background: rgba(0,0,0,.6);}
*/

/*#measurements { padding: 135px 0; }*/
#measurements { padding: 100px 0; }
#measurements h2 { text-align: center; font-weight: bold; color: #000; text-transform: uppercase; font-size: 25px; margin: 0 0 40px 0; }
/*#measurements li { float: left; list-style: none; width: 24%; margin: 0 4.5%; text-align: center; }*/
#measurements li { float: left; list-style: none; width: 15%; margin: 0 5%; text-align: center; }
/*#measurements li:nth-child( 3n+1 ) { clear: left; }*/
#measurements li:nth-child( 4n+1 ) { clear: left; }
#measurements li img { margin: 0 0 15px 0; }
#measurements li h3 { font-weight: bold; font-size: 19px; color: #e2261c; line-height: 1.1; margin: 0 0 7px 0; }
#measurements li p { font-size: 15px; }
#measurements a { color: #3e9e42; }
#measurements a:hover { color: #67b96a; }

#gases { padding: 50px 0; }
#gases h2 { text-align: center; font-weight: bold; color: #000; text-transform: uppercase; font-size: 25px; margin: 0 0 0 0; }
#gases li { float: left; list-style: none; width: 235px; margin: 2% 0; text-align: center;}
#gases li:nth-child( 5n+1 ) { clear: left; }
/*#gases li img { margin: 0 0 15px 0; }*/
#gases li h3 { text-align: center; font-weight: bold; font-size: 19px; color: #e2261c; line-height: 1.1; margin: 10px 0 10px 0; } /*ad1e22*/
#gases li h4 { text-align: center; font-weight: bold; font-size: 60px; color: #000; line-height: 1.1; font-weight: 300; margin: 10px 0 10px 0; }
#gases li h5 { text-align: center; font-weight: bold; font-size: 40px; color: #000; line-height: 1.1; font-weight: 300; margin: 21px 0 21px 0; }
#gases li p { font-size: 15px; margin: 0 20px 0 20px; text-align: center; }
#gases a { color: #3e9e42; }
#gases a:hover { color: #67b96a; }

/* ----------------------------------- */
/* SUB PAGES
/* ----------------------------------- */
#page-header { background: #6d6e71; }
/*#page-header .container { padding: 40px 0 20px 0; background: transparent url(images/header.jpg) right center no-repeat; }*/
#page-header .container { padding: 40px 0 20px 0 }
#crumb { font-size: 12px; color: #FFF; margin: 0 0 5px 0; }
#crumb a { color: #FFF; text-decoration: none; }
#crumb a:hover { text-decoration: underline; }
#page-header h1 { font-size: 40px; line-height: 1; color: #FFF; }

/*#main { padding: 50px 0; }*/
#main { padding: 10px 0; }
#main.wide section { float: none; width: 100%; }
#main section { float: left; width: 67%; }
#main section ul, #main section ol { padding-left: 25px; }
#main section h2 { font-size: 24px; color: #000; }
#main section h3 { font-size: 16px; color: #6b6b6b; }
#main section .tax-desc p { font-size: 24px; line-height: 1.2; }

#main aside { width: 27%; float: right; }
#main aside .widget { border-radius: 20px 0 20px !important; background: #EFEFEF; padding: 20px 30px; margin: 0 0 30px 0; }
#main aside .widget h2 { font-weight: bold; text-decoration: none; color: #000; font-size: 16px; }
#main aside .widget li { list-style: none; border-top: 1px solid #CCC; padding: 8px 0 0 0; margin: 8px 0 0 0; }
#main aside .widget li:first-child { border-top: none; margin-top: 0; padding-top: 0; }

/* WooCommerce Overrides */
#main section input.checkout-button { vertical-align: middle; margin-top: 0 !important; }
.shipping_calculator { text-align: right; margin-top: 30px; }
#main section .shipping_calculator h2 { font-size: 14px; }
.woocommerce #main ul.products li.product a img { width: auto; }

/* Products List */
.products { padding-left: 0 !important; }
.products li { text-align: center; }
.woocommerce ul.products li.product a img { margin: 0 auto 7px auto; }
#main section .products li h3 { color: #e2261c; }
.woocommerce ul.products li.product .price { font-size: 18px; font-weight: bold; color: #e2261c; }

/* Single Product */
.woocommerce-page #content div.product div.images { width: 25%; }
.woocommerce-page #content div.product div.summary { margin-left: 5%; width: 45%; float: left; }
.woocommerce-page #content div.product #add-to-cart { width: 20%; float: right;  }
.woocommerce-page #content div.product #add-to-cart .box { text-align: center; padding: 25px 30px; background: #262626 !important; border-radius: 20px 0 20px !important; }
.woocommerce-page #content div.product #add-to-cart .price { color: #FFF; font-size: 26px; margin: 0 0 5px 0; }
.woocommerce-page #content div.product #add-to-cart .sku { text-transform: uppercase; color: #b5b5b5; font-size: 16px; }
.woocommerce-page #content div.product #add-to-cart button.button { vertical-align: middle; display: block; float: none !important; }
.woocommerce-page #content div.product #add-to-cart div.quantity { display: block !important; margin: 0 0 10px 0; float: none !important;  }
.woocommerce-page #content div.product #add-to-cart div.quantity input { text-align: center; }
.woocommerce-page #content div.product #add-to-cart button.button { padding: 15px 30px; font-weight: bold; font-size: 17px; text-transform: uppercase; display: inline-block; float: none !important; }
#tab-related h2 { display: none; }

/* Blog */
article.post { margin: 0 0 60px 0; }
p.post-data { margin-top: -10px; color: #999; font-style: italic; }

/* Taxonomy Page */
/*
#main section li.product { width: 100%; margin: 0 0 25px 0; clear: both; }
li.product img { float: left; margin: 0 0 40px 0; }
li.product .product-excerpt { margin-left: 175px; }
#main section li.product .product-excerpt h2 { margin: 0 0 5px 0; font-size: 18px; }
*/


/* Benefits */
.item { width: 47%; float: left; margin: 0 0 50px 0; }
.item a.item-marker { display: block; position: relative; top: -100px; visibility: hidden; }
.item:nth-child(even) { float: right; }
.item:nth-child(odd) { clear: both; }

/* About */
#main.about section { width: 50%; }
#main.about aside { width: 45%; }

#people li { list-style: none; float: left; width: 45%; padding: 0 5% 0 0; margin: 0 0 40px 0; }
#people li h2 { font-size: 22px; color: #000; margin: 0 0 5px 0; }
#people li p.title { font-size: 16px; font-style: italic; line-height: 1.2; margin: 0 0 5px 0; }
.bio { display: none; text-align: left; padding: 40px; }

/* Resources/Documents */
.page-id-893 #main ul { padding: 0; }
.page-id-893 #main li { width: 30%; float: left; margin: 0 0 50px 5%; padding: 0; list-style: none; }
.page-id-893 #main li:nth-child( 3n+1 ) { clear: left; margin-left: 0; }
.page-id-893 #main ul li li { width: 100%; margin: 0; float: none; }

/* Open Source Files */
.page-id-1155 #main ul { padding: 0; }
.page-id-1155 #main li { width: 30%; float: left; margin: 0 0 50px 5%; padding: 0; list-style: none; }
.page-id-1155 #main li:nth-child( 3n+1 ) { clear: left; margin-left: 0; }
.page-id-1155 #main ul li li { width: 100%; margin: 0; float: none; }

/* ----------------------------------- */
/* FOOTER
/* ----------------------------------- */
#cta { background: #6d6e71; padding: 20px 0; } /*ad1e22*/
#cta p { font-size: 24px; text-align: center; color: #FFF; }
#cta a.button { border: none !important; padding: 13px 30px !important; background: #6d6e71 !important; color: #FFF; text-decoration: none; border-radius: 20px 0 20px !important; font-size: 18px !important; text-transform: uppercase; display: inline-block; margin: 15px 0 0 0 !important; text-shadow: none !important; box-shadow: none !important; font-weight: 400 !important; margin-left: 40px !important; background: #FFF !important; color: #6d6e71 !important; }
#cta a.button:hover { background: #000 !important; color: #FFF !important; }

#footer { padding: 75px 0; background: #000; } /*6d6e71*/
#footer li { display: inline-block; list-style: none; padding: 0 15px; margin: 0 0 30px 0; }
#footer li a { color: #FFF; text-decoration: none; text-transform: uppercase; }
#footer li a:hover { text-decoration: underline; }
#footer p, #footer p a { color: #bdbdbd; text-decoration: none; }

/* ----------------------------------- */
/* MOBILE
/* ----------------------------------- */

@media screen and (max-width: 1200px) {

	.container { width: 90%; padding-left: 5%; padding-right: 5%; }

	#header { background: #FFF; padding: 0 0 15px 0; }
	#mobile-menu { display: block; float: right; font-size: 30px; margin: 8px 5% 0 0; }
	#header #logo { float: left; margin-left: 5%; height: 40px; width: auto; }
	#header #social { float: right; margin: 10px 20px 0 0; }
	#header nav { display: none; float: none; clear: both; border: none; }
	#header nav.active { display: block; }
	#header nav li { float: none !important; clear: left; border: none; padding: 0; border: none; }
	#header nav li a { border: none; border-bottom: 1px solid #f0f0f0; padding: 8px 0 !important; }

	#header nav .sub-menu { display: none !important; position: static; left: 0; background: #FFF; width: 100%; opacity: 1; }
	#header nav li .sub-menu.active, #header nav li .sub-menu .sub-menu { display: block !important; padding: 0; }
	#header nav li .sub-menu a, #heeader nav li .sub-menu .sub-menu a { border: none; padding: 5px 0 !important; color: #6d6e71; font-weight: normal; display: block; text-align: center; }

	#banner:after { width: 400px; right: -100px; bottom: 0; top: auto; background-position: bottom left; }
	#banner-content { padding-left: 5%; margin-right: 300px; }
	#banner h1 { font-size: 40px; }

	li.product img { float: none; margin: 0 0 20px 0; }
	li.product .product-excerpt { margin-left: 0; }

	#page-header { background: #e2261c url(images/header.jpg) center center no-repeat; background-size: cover;}
	#page-header .container { background: none; }
	#page-header h1 { font-size: 28px; }

}
@media screen and (max-width: 760px) {

	.button { padding: 5px 15px; font-size: 15px; }

	#banner { padding: 75px 0; }
	#banner:after { width: 300px; right: -100px; }
	#banner-content { margin-right: 200px; }
	#banner h1 { font-size: 30px; }

	#sensors h2 { font-size: 36px; }
	#sensors li { text-align: center; width: 100%; margin: 0 0 40px 0; }

	#applications li { width: 100%; height: 250px; }

	#measurements li { width: 75%; margin: 0 auto 40px auto; float: none; }

	#main section, #main aside { width: 100% !important; float: none; margin: 0 0 40px 0; }

	#people li { width: 100%; padding: 0; }

	#cta a.button { margin-left: 0; display: block; width: 70%; padding: 0 5%; margin: 20px auto !important; }

	.item { width: 100%; }

	#banner { padding-bottom: 0; }
	#banner:after { position: static; width: 100%; height: 300px; background-position: bottom right; }
	#banner-content { margin: 0; text-align: center; }

}
@media screen and (max-width: 568px) {

	#applications li { height: 200px; }

	.page-id-893 #main li { width: 100%; float: none; margin-left: 0; }


}
