/*!
Theme Name: powergrid
Theme URI: http://powergridcomponents.com
Author: Jared Circosta
Author URI: http://powergridcomponents.com
Description: Custom theme
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: powergrid
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.

powergrid is based on Underscores https://underscores.me/, (C) 2012-2017 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/
*/
/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/
/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
/* normalize.css v8.0.0 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */

html {
	line-height: 1.15; /* 1 */
	-webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */

body {
	margin: 0;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */

hr {
	box-sizing: content-box; /* 1 */
	height: 0; /* 1 */
	overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

pre {
	font-family: monospace, monospace; /* 1 */
	font-size: 1em; /* 2 */
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */

a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */

abbr[title] {
	border-bottom: none; /* 1 */
	text-decoration: underline; /* 2 */
	text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

code,
kbd,
samp {
	font-family: monospace, monospace; /* 1 */
	font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */

sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */

img {
	border-style: none;
}

.grecaptcha-badge { z-index:999999; }

body.home .grecaptcha-badge { visibility: hidden; }

#et_builder_outer_content .et_pb_team_member_image img {
	display: block;
	width: 100%;
	height: auto;
}

#et_builder_outer_content .et_pb_team_member_image {
	max-width: 310px !important;
}


#et_builder_outer_content .et_pb_module.logo a,
#et_builder_outer_content .et_pb_module.logo a img {
	border-radius: 15px;
	overflow: hidden;
}

#et_builder_outer_content .et_pb_module.logo a img {
	box-shadow: 3px 3px 7px #b8bb15;
}

#et_builder_outer_content .et_pb_module.logo a {
	display: block;
}

.et_divi_builder #et_builder_outer_content .et_pb_fullwidth_menu.main-nav .fullwidth-menu-nav>ul {
	padding-top: 15px !important;
}

.et_divi_builder #et_builder_outer_content .et_pb_fullwidth_menu.main-nav a.mobile_nav {
	color: #213063;	
	padding-bottom: 0;
	margin-top: -20px;
	text-align: right;
	margin-right: 0;
}

.et_divi_builder #et_builder_outer_content .et_mobile_menu {
	padding: 0 !important;
	position: relative !important;
	top: 30px !important;
	padding-bottom: 30px !important;
}

body.home.et_divi_builder #et_builder_outer_content .et_pb_fullwidth_menu_0.et_pb_fullwidth_menu ul li a {
	color: #FFF !important;
}

@media screen and (max-width: 900px) {
	.et_divi_builder #et_builder_outer_content .et_pb_fullwidth_menu_0.et_pb_fullwidth_menu ul li a {
		padding: 10px 20px !important;
		border-bottom: 2px solid #333 !important;
	}
	.et_divi_builder #et_builder_outer_content .et_pb_fullwidth_menu .et_pb_row {
		min-height: 45px !important;
	}
}


@media screen and (max-width: 800px) {
	#et_builder_outer_content .et_pb_team_member_description p {
		font-size: 17px !important;
	}

	#et_builder_outer_content .et_pb_team_member_image {
		max-width: none !important;
		margin-bottom: 30px !important;
	}

	body.et_divi_builder #primary #et_builder_outer_content .et_pb_slider .et_pb_slide .et_pb_slide_description .et_pb_slide_title {
		font-size: 30px !important;
	}

}

@media screen and (max-width: 700px) {
	.et_divi_builder #et_builder_outer_content .et_pb_module.new-ajax-search {
		margin-bottom: 10px !important;
		float: left !important;
		clear: both;
	}
	.et_divi_builder #et_builder_outer_content .et_pb_module.new-ajax-search > div > div {
		margin-top: 5px !important;
	}
	.et_divi_builder #et_builder_outer_content .et_pb_image.home-logo {
		width: 280px !important;
	}
}


body.home .global-header {
	height: 100px  !important;
	position: absolute  !important;
	top: 0  !important;
	left: 0  !important;
	right: 0 !important;
	z-index: 101  !important;
	background: transparent !important;
}

body.home .global-nav {
	position: absolute  !important;
	top: 100px  !important;
	right: 0  !important;
	left: 0  !important;
	z-index: 101  !important;
	background: transparent !important;
}

body.home.et_divi_builder #et_builder_outer_content .global-header .et_pb_text_inner p {
	color: #DDD !important;
}
body.home.et_divi_builder #et_builder_outer_content .global-header .et_pb_text_inner a {
	color: #DDD !important;
}
body.home.et_divi_builder #et_builder_outer_content .et_pb_fullwidth_menu.main-nav a.mobile_nav .mobile_menu_bar {
	color: #FFF !important;
}
.et_divi_builder #et_builder_outer_content .et_pb_fullwidth_menu_0.et_pb_fullwidth_menu ul li a {
	color: #FFF !important;
}

body.home.et_divi_builder #et_builder_outer_content .global-header .et_pb_module.et_pb_code_0 {
	border-bottom-color: #999;
}

body.home.et_divi_builder #et_builder_outer_content .global-header .et_pb_text_inner .search-new-input input {
	background: rgba(255, 255, 255, .75);
}

#productCatelog {
	padding: 0 10px;
}

#productCatelog .upcp-thumb-item {
	border-color: #EEE;
	margin-bottom: 30px;
	width: 212px;
}

#productCatelog .ewd-upcp-filtering-toggle,
#productCatelog .upcp-thumb-details-link {
	background: #20305b !important;
}

#productCatelog .prod-sidebar-checkbox-block {
	border-color: #DDD !important;
}

#productCatelog .prod-sidebar-checkbox-block:hover {
	background-color: #20305b !important;
}

#productCatelog .prod-sidebar-checkbox-block.highlightGrey {
	background: #f5f957 !important;
}

#productCatelog .prod-sidebar-checkbox-block.highlightGrey label:before {
	float: left;
	content: "✓";
	padding: 0 3px;
}

#productCatelog .prod-sidebar-checkbox-block:hover label {
	color: #FFF !important;
}

#productCatelog .prod-sidebar-checkbox-block.highlightGrey label {
	color: #20305b !important;
}

#productCatelog .prod-sidebar-checkbox-block.highlightGrey:hover label {
	color: #999 !important;
}

#productCatelog .prod-sidebar-checkbox-block.prod-cat-sidebar-subcategory label {
	font-weight: normal;
}

.upcp-filtering-clear-all {
	color: red !important;
	background-color: #FFF;
	border: 2px solid red;
}
.upcp-filtering-clear-all:hover {
	background: red !important;
	color: #FFF !important;
}

#productCatelog .upcp-thumb-item:hover {
	border-color: #DDD;
	box-shadow: 0px 3px 6px rgba(0, 0, 0, .25);
}

#productCatelog .upcp-thumb-title p {
	margin: 0 !important;
}

#productCatelog .upcp-thumb-display-categories .upcp-display-category-label,
#productCatelog .upcp-thumb-display-subcategories .upcp-display-subcategory-label {
	display: none !important;
}

#productCatelog .upcp-thumb-display-categories,
#productCatelog .upcp-thumb-display-subcategories {
	margin: 1px 0;
	color: #666;
	font-size: 15px;
}

#productCatelog .upcp-thumb-display-subcategories {
	font-style: italic;
	color: #999;
}

#productCatelog div.upcp-thumb-image-div a {
	display: block;
	margin: 0 auto;
	border: none !important;
	width: 100%;
	height: 210px;
}

#productCatelog div.upcp-thumb-image-div img.upcp-thumb-image {
	margin: 0px auto !important;
	display: block !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	width: auto !important;
}

.upcp-prod-comp-submit-instructions input[type="submit"] {
	background: #20305b;
}

.upcp-prod-comp-submit-instructions {
	border-color: #DDD;
	background: #F5F5F5;
}

.upcp-product-comparison-container {
	background: #F5F5F5;
	border: 1px solid #DDD;
	margin-top: 10px;
}

.upcp-detail-item {
	border-color: #EEE;
}

.upcp-end-detail-div {
	background: #20305b;
	border-color: #20305b;
}

.prod-cat-header-div {
	border-bottom-color: #EEE !important;
}

.prod-cat-header-div .upcp-list-toggle-icon {
	display: none !important;
}

.prod-cat-header-div .upcp-thumb-toggle-icon {
	float: right;
	opacity: .5;
}

.prod-cat-header-div .upcp-details-toggle-icon {
	float: right;
	opacity: .5;
}

.prod-cat-header-div .upcp-details-toggle-icon:hover,
.prod-cat-header-div .upcp-thumb-toggle-icon:hover {
	opacity: 1;
}

.upcp-product-comparison-div .upcp-product-comparison-image {
	background: #FFF;
	margin: 0;
	border: 1px solid #DDD;
	border-bottom: none;
}

.upcp-product-comparison-div .upcp-product-comparison-tags.upcp-pc-field,
.upcp-product-comparison-div .upcp-product-comparison-subcategory-label {
	display: none !important;
}

.upcp-product-comparison-price {
	background: none !important;
	padding: 0 !important;
}

.upcp-product-comparison-div .upcp-pc-field {
	background: #FFF;
	border-color: #DDD;
	color: #000;
	padding: 10px;
}

.upcp-product-comparison-div .upcp-product-comparison-category.upcp-pc-field {
	border-bottom: none;
}
.upcp-product-comparison-div .upcp-product-comparison-sub-category.upcp-pc-field .upcp-product-comparison-subcategory-value {
	padding-top: 0;
	height: auto;
}

#prod-cat-text-search,
.catalogue-nav {
	color: #999;
}

#productCatelog .upcp-tabbed-product-page.upcp-product-page {
	max-width: 1050px;
	margin: 20px auto;
}

#productCatelog .upcp-tabbed-product-page.upcp-product-page .upcp-product-page-breadcrumbs {
	padding: 10px;
	background: #F5F5F5;
	border: 1px solid #DDD;
}

#productCatelog .upcp-tabbed-images-container {
	margin-top: 15px;
}

#productCatelog .upcp-tabbed-addt-img-thumbs,
#productCatelog .upcp-tabbed-main-image-div {
	border: none;
}

#productCatelog .upcp-tabbed-tab {
	background: #F5F5F5;
	border-color: #DDD;
}

#productCatelog .upcp-related-products-title {
	background: #20305b;
	font-size: 16px;
	font-weight: bold;
}

#productCatelog .upcp-tabbed-layout-tab {
	background: #20305b;
}

#productCatelog .upcp-tab-layout-tab-unclicked {
	background: #999 !important;
}

#productCatelog .upcp-tabbed-product-name {
	border-bottom: none;
	margin-top: 15px;
	font-size: 30px;
	color: #20305b;
}

#productCatelog .upcp-tabbed-layout-tab {
	font-size: 16px;
}

#productCatelog .upcp-related-products {
	max-width: 1060px;
	display: block;
	margin: 0 auto !important;
}

.upcp-related-products .upcp-minimal-img-div {
	border: none;
	text-align: center;
}

.upcp-related-products .upcp-minimal-title {
	font-weight: bold;
}

#productCatelog .upcp-thumb-price {
    color: #666 !important;
    /*display: block !important;*/
}

#productCatelog #prod-cat-sidebar-category-title- h3 {
	color: #999 !important;
	pointer-events: none !important;
}

#productCatelog #prod-cat-sidebar-category-title- {
	pointer-events: none !important;
}

.upcp-product-comparison-price,
.upcp-detail-price,
.upcp-minimal-price {
	display: none !important;
}

.prod-cat-sidebar-cat-title h3 {
	padding-left: 25px;
	background: url(/wp-content/themes/powergrid/img/plus.png) no-repeat 0 2px;
	background-size: 20px;
}

.prod-cat-sidebar-cat-title h3.minus {
	padding-left: 25px;
	background: url(/wp-content/themes/powergrid/img/minus.png) no-repeat 0 2px;
	background-size: 20px;
}

#productCatelog #prod-cat-sidebar-category-title- h3,
#productCatelog #prod-cat-sidebar-category-title- h3.minus {
	padding-left: 0 !important;
	background: none !important;
}

/*never hide products categories in sidebar*/
#productCatelog .prod-cat-sidebar-content.prod-cat-sidebar-category-content {
	display: block !important;
}
#productCatelog .prod-cat-sidebar-category-content div {
	max-width: 95%;
}
#productCatelog .prod-sidebar-checkbox-block {
	max-width: 100%;
}

body.woocommerce-page .page-entry-content > .woocommerce {
	max-width: 1400px;
	margin: 0 auto;
}

#productCatelog .upcp-wc-cart-div {
	position: fixed;
	top: 110px;
	right: 0;
	background: #F5F5F5;
}

.upcp-submit-wc-cart input[name="Submit_Inquiry"] {
	background: #4c81bd;
}



.widget-area:before, .widget-area:after {content:""; display:table;}
.widget-area:after {clear:both;}

.widget:before, .widget:after {content:""; display:table;}
.widget:after {clear:both;}

.upcp-next-previous-products:before, .upcp-next-previous-products:after {content:""; display:table;}
.upcp-next-previous-products:after {clear:both;}

#productCatelog .upcp-related-products-title {
	text-transform: none;
	font-size: 18px;
	line-height: 35px;
}

#secondary {
	max-width: 1060px;
	margin: 30px auto 30px;
}

#et_builder_outer_content .et_pb_section .et_pb_widget_area {
	padding-right: 0 !important;
	border-right: none !important;
	max-width: 960px !important;
	margin: 0 auto !important;
	padding: 0 20px !important;
}

#et_builder_outer_content .et_pb_section .et_pb_widget_area h2.widget-title {
	font-size: 18px !important;
	line-height: 16px !important;
	text-align: center !important;
	color: #FFF !important;
	background: #20305b !important;
	padding: 20px !important;
	margin: 20px 0 !important;
}

#secondary h2 {
	font-size: 18px;
	line-height: 16px;
	text-align: center;
	color: #FFF;
	background: #20305b;
	padding: 20px;
	margin: 20px 0;
}

#et_builder_outer_content .et_pb_section .et_pb_widget_area .upcp-minimal-title {
	color: #20305b;
}

.upcp-minimal-img-div {
	border: none;
}

.upcp-minimal-title {
	font-weight: bold;
}

.upcp-next-previous-products {
	text-align: center;
}

.upcp-next-product,
.upcp-previous-product {
	padding: 10px;
	border: 2px solid #EEE;
	min-width: 180px;
}

.upcp-next-product:hover,
.upcp-previous-product:hover {
	border-color: #DDD;
	box-shadow: 0px 3px 6px rgba(0, 0, 0, .25);
}

.upcp-next-product {
	float: right;
}

.upcp-next-product-title,
.upcp-previous-product-title {
	color: #999;
}

.upcp-tabbed-main-product-container #upcp-tabbed-content a {
	padding: 10px;
    background: #FFF;
    border: 2px solid #213063;
    margin: 10px auto;
    display: inline-block;
    border-radius: 3px;
    font-weight: bold;
    font-size: 17px;
}





@media (max-width: 980px) {
	.et_divi_builder #et_builder_outer_content .global-header .et_pb_column {
   		 margin-bottom: 0 !important;

	}

	.et_divi_builder #et_builder_outer_content .et_pb_fullwidth_menu .mobile_menu_bar:before {
	    top: 0 !important;
	}

	body.home .covid-section {
	    top: -1px !important;
	}

}



@media screen and (max-width: 700px) {
	.et_divi_builder #et_builder_outer_content .homepage-logo,
	.et_divi_builder #et_builder_outer_content .allpages-logo,
	.et_divi_builder #et_builder_outer_content .itec-logo {
		max-width: 250px !important;
	}

	.et_divi_builder #et_builder_outer_content .et_pb_image.home-logo {
		width: 250px !important;
	}

	body.home.et_divi_builder #et_builder_outer_content .global-header .search-new-input {
		margin-top: 40px !important;
	}

	body.home.et_divi_builder #et_builder_outer_content .et_pb_slider .et_pb_container {
		width: 100% !important;
	}

	body.home.et_divi_builder #et_builder_outer_content .et_pb_slider .et_pb_container .et_pb_slide_title {
		margin-bottom: 30px !important;
		margin-top: 20px !important;
	}

	body.home.et_divi_builder #et_builder_outer_content .et_pb_slider .et_pb_container .et_pb_slide_content a {
		display: block !important;
	}

}