/*
Theme Name:   	Storefront Child Theme
Author:       	Sara Williams
Author URI:     https://texelec.com/
Template:     	storefront
Description:  	This is a child theme for WooThemes StoreFront theme customized for TexElec
Version:      	1.0.0
Text Domain:  	texelec.com
*/

/* Dumping hentry CSS due to Google Search Console errors*/

/*original*/
.hentry{margin:0 0 4.235801032em}.hentry .wp-post-image{margin-bottom:1.618em;margin-left:auto;margin-right:auto}.hentry .entry-header{margin-bottom:1em;border-bottom:1px solid rgba(0,0,0,.05)}.hentry .entry-header .byline,.hentry .entry-header .posted-on{font-size:.875em}.hentry .entry-header .byline a,.hentry .entry-header .posted-on a{font-weight:400;text-decoration:underline}.hentry .entry-header .byline a:hover,.hentry .entry-header .posted-on a:hover{text-decoration:none}.hentry .entry-meta{font-weight:300}.hentry.type-page .entry-header{border-bottom:0;margin-bottom:0}
/*replace*/
.hentry{margin:0 0 4.235801032em}.post .wp-post-image{margin-bottom:1.618em;margin-left:auto;margin-right:auto}.post .entry-header{margin-bottom:1em;border-bottom:1px solid rgba(0,0,0,.05)}.post .entry-header .byline,.post .entry-header .posted-on{font-size:.875em}.post .entry-header .byline a,.post .entry-header .posted-on a{font-weight:400;text-decoration:underline}.post .entry-header .byline a:hover,.post .entry-header .posted-on a:hover{text-decoration:none}.post .entry-meta{font-weight:300}.post.type-page .entry-header{border-bottom:0;margin-bottom:0}

/*original*/
.hentry .entry-header{margin-bottom:2.617924em}.hentry.type-post:after,.hentry.type-post:before{content:"";display:table}.hentry.type-post:after{clear:both}.hentry.type-post .entry-meta{width:17.6470588235%;float:left;margin-right:5.8823529412%;font-size:.875em}.hentry.type-post .entry-content{width:76.4705882353%;float:right;margin-right:0}
/*replace*/
.post .entry-header{margin-bottom:2.617924em}.post.type-post:after,.post.type-post:before{content:"";display:table}.post.type-post:after{clear:both}.post.type-post .entry-meta{width:17.6470588235%;float:left;margin-right:5.8823529412%;font-size:.875em}.post.type-post .entry-content{width:76.4705882353%;float:right;margin-right:0}

/*Home Link Added to Handheld Footer Bar*/
.storefront-handheld-footer-bar ul li.home > a:before { content: "\f015"; }

/*Header Tweaks*/
.storefront-primary-navigation { /*background-color: #f0f0f0; */}
.site-header-cart .cart-contents .count { color: #6D6D6D; opacity: 1; }


/*Welcome Page Featured Image*/
.page-template-template-homepage.has-post-thumbnail .type-page.has-post-thumbnail {
    background-size: inherit;
    background-position: center center;
	padding-top: 2.617924em;
	padding-bottom: 2em;
	background-repeat: repeat;
}
/*Slider Tweaks*/
.wcps-container .owl-dots { margin: 10px 0 0; }
.wcps-container .owl-nav { opacity: .5; }
.wcps-container .owl-dots .owl-dot { background: #838383 none repeat scroll 0 0; }
#post-25 .wcps-container { padding: 0 5px; }
#wcps-134 .wcps-items .wcps-items-title { text-align: center !important; }
#post-25 .entry-content, #post-25 .entry-content .wcps-items-title { color: #6d6d6d !important; text-shadow: 0px 0px 0px rgba(0, 0, 0, 0) !important; }
#post-25 .entry-content { background-color: #ffffff !important; padding: 15px 10px 10px; }
#post-25 { margin-bottom: 2em; }

/*Content/Page Title Tweaks*/
.content-area .entry-header, .content-area .woocommerce-products-header__title, .product_title { 
	font-weight: normal !important; 
	background: transparent url("https://texelec.com/wp-content/uploads/2017/08/header-bg-4.png") repeat center center;
	padding: 10px !important;
	color: #ffffff;
}
.content-area .entry-header h1, .content-area .entry-header h2 a, .product_title, .content-area .entry-title { font-weight: normal !important; color: #ffffff; margin-bottom: 0em; }
.content-area h1 { font-weight: normal !important; }
/*Breadcrumb Tweaks*/
.woocommerce-breadcrumb { margin-bottom: 0; }
.storefront-breadcrumb { margin: 0; }
.post-type-archive-product .storefront-breadcrumb { padding: 0 0 1.41575em 0; }
.woocommerce-error, .woocommerce-info, .woocommerce-message, .woocommerce-noreviews, p.no-comments { background-color: #3d9cd2; }
/*Single Page Spacing Under Title*/
.content-area .entry-content .woocommerce-MyAccount-content p, .content-area .entry-content #customer_login, .post-2 .entry-content, .post-81 .entry-content, .post-72 .entry-content, .post-76 .entry-content, .post-70 .entry-content, .post-88 .entry-content, .content-area .entry-content form.woocommerce-ResetPassword.lost_reset_password, .content-area .entry-content .woocommerce-order, #post-1356 .entry-content { padding: 0; /*chrome bug fix*/ padding-top: 2em; }
.content-area .entry-content .woocommerce-MyAccount-content p { padding: 1em; }

/*Welcome Page Title Tweaks*/
#post-25 .entry-header { 
	padding: 0 10px !important; 
	background: no-repeat center transparent url('https://texelec.com/wp-content/uploads/2017/09/welcome.png'); 
	height: auto;
	width: auto;
	text-indent: -9999px;
	white-space: nowrap;
}
#post-25 .entry-header h1.entry-title { margin-bottom: .1em ; }
#post-25 .entry-content p { margin: .05em .05em 1em; }
/*Blog Post Headers*/
@media screen and (min-width: 768px) {
.hentry .entry-header, .post .entry-header {
    margin-bottom: 1em;
}
}
/*hide featured image from blog posts page*/
.entry-content .attachment-.wp-post-image { display: none; visibility: hidden; }
/*Page Headers - All but Front Page*/
.storefront-full-width-content .woocommerce-products-header, .storefront-full-width-content.woocommerce-account .entry-header, .storefront-full-width-content.woocommerce-cart .entry-header, .storefront-full-width-content.woocommerce-checkout .entry-header {
    text-align: left;
    padding: 0 0 2em;
}
/* Hide Page Thumbnails in Page Title*/
.entry-header img.attachment-full { display: none; visibility: hidden; }

/*General Page Content Tweaks*/
.site-main .entry-content dl { margin-left: 20px; }
.site-main .entry-content dd { margin: 0 0 1.618em 20px; }

/*Shop page to and forward header tweak*/
.home.post-type-archive-product .site-header { margin-bottom: 1.4em; }

/*contact page*/
.contact-form input[type="email"], .contact-form input[type="text"], .contact-form select.select {
    width: 300px;
    max-width: 98%;
    margin-bottom: 13px;
}
.input-text, input[type="email"], input[type="password"], input[type="search"], input[type="text"], input[type="url"], textarea, .contact-form select.select {
    padding: .6180469716em;
    background-color: #f2f2f2;
    color: #43454b;
    outline: 0;
    border: 0;
    -webkit-appearance: none;
    box-sizing: border-box;
    font-weight: 400;
    box-shadow: inset 0 1px 1px rgba(0,0,0,.125);
}

/*My Account Page*/
.woocommerce-MyAccount-navigation ul{
    list-style: none;
	margin-left: 0em;
}

/*Product Review*/
#review_form #respond .form-submit, #respond form { margin-bottom: 1em; }

/*Product Sharing Icons using Storefront Sharing Plugin - REMOVED and using Jetpack Share*/
.storefront-full-width-content.single-product div.product .summary, .storefront-full-width-content.single-product div.product .woocommerce-product-gallery { margin-bottom: .5em; }
.storefront-product-sharing { width: 55%; padding: 0; display: inline-block; }
.storefront-product-sharing ul li {  }
.storefront-product-sharing ul li a { font-size: .8em; line-height: 2.618em; }
.storefront-product-sharing ul li a::before { font-size: 1.618em; margin-right: .5em; vertical-align: middle; }
/*Tweaks to JetPack Share on Single Products Page*/
@media screen and (min-width: 768px) {
.product .entry-summary .product_meta { width: 50%; float: left; clear: none !important; padding-bottom: 1em; }
.product .entry-summary .sharedaddy, #content .product div.sharedaddy, #main .product div.sharedaddy, div.sharedaddy { width: 50%; float: left; clear: right !important; border-top: 1px solid rgba(0,0,0,.05); }
div.sharedaddy h3.sd-title::before { border-top: 0 !important; }
}
.product .entry-summary .product_meta { padding-bottom: 1em; }

/*Jetpack Sharing on All Pages*/
.sd-content ul li { margin: 0 2px 0 0; }

/*Hide Braintree Paypal on Cart Page*/
.woocommerce-cart #braintree-paypal-loggedout .paypal-button-widget, .wc-proceed-to-checkout .paypal-button-context-iframe  { 
	display: none !important; 
	visibility: hidden !important 
	}

/*Aftership Track Button Tweaks*/
.woocommerce-MyAccount-content #as-root { padding-top: 1em; }

/*Shrink subtotal headings on checkout page*/
table.shop_table.woocommerce-checkout-review-order-table tfoot tr.cart-subtotal th { 
	width: 50%; max-width: 50%; 
	}


/*CX16 Pre-Order Tweaks*/
.availability_date { display: block; margin: 0 0 1em 0; }
#product-43328 .availability_date { display: block !important; margin: 1.41575em 0 !important; }
#product-43328 .product_meta { display: none; }
/*Product Bundles Tweaks*/
.bundled_product_excerpt { padding: 1em 0 0 0 !important; }
.bundled_product_optional_checkbox, .bundled_item_cart_details { display: block; /*padding: 1em 0 0 0 !important;*/ font-size: 115%; }
.bundled_item_cart_details .woocommerce-variation-description { font-size: 90%; }
.bundled_item_details_col .cart {  }
.bundled_item_cart_content--populated { /*display: none !important;*/ }
.bundled_item_details_col .cart p.stock { display: none !important; }
/*Hide Description Label, Tabs with Additional Info at bottom and Related Products on CX16 Pre-Order Listing*/
#product-43328 .wc-tabs, #product-43328 #tab-description h2 { display: none !important; }
#product-43328 .woocommerce-tabs { padding-top: 1em !important; }
#product-43328 #tab-description { width: 100%; }
#product-43328 .related.products { display: none; }
/*Pop-up Description on Pre-Orders*/
.modalDialog {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0,0,0,0.85);
	z-index: 99999;
	opacity:0;
	-webkit-transition: opacity 000ms ease-in;
	-moz-transition: opacity 000ms ease-in;
	transition: opacity 000ms ease-in;
	pointer-events: none;
}
.modalDialog:target {
	opacity:1;
	pointer-events: auto;
}

.modalDialog h4 {
  margin-top: .5407911001em;
  font-weight: 500;
}
.modalDialog > div {
	width: 60%;
	height: 80%;
	position: relative;
	margin: 8% auto;
	padding: 20px 60px;
	border-radius: 10px;
	background: #fff;
	/*background: -moz-linear-gradient(#fff, #999);
	background: -webkit-linear-gradient(#fff, #999);
	background: -o-linear-gradient(#fff, #999);*/
}
.modalDialog .modalscroll { 
	overflow: auto; 
	width: 100%;
	height: 85%;
	padding-right: .5em;
}

.close {
	background: #0073aa;
	color: #FFFFFF;
	line-height: 25px;
	position: absolute;
	right: -12px;
	text-align: center;
	top: -10px;
	width: 24px;
	text-decoration: none;
	font-weight: bold;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;
	-moz-box-shadow: 1px 1px 3px #000;
	-webkit-box-shadow: 1px 1px 3px #000;
	box-shadow: 1px 1px 3px #000;
}
.close:hover { background: #00d9ff; }
/*Hide Short Desciption on Product Detail Page except on Pre-Order Page*/
.woocommerce-product-details__short-description a.pre-order-modal {display: none; }


/*About Page Tweaks*/
@media screen and (min-width: 768px) {
#post-2 .entry-content li.product { 
	width: 44.4347826087%;
	margin: 0 4.347826087% 4.347826087% 0;
	min-height: 43em;
}
#post-2 .entry-content li.product img { 
	max-width: 40%;
    width: 40%;
    height: auto;
    float: left;
    margin: 0 1em .5em 0;
	clear: both;
}
}

/*Search Results Page Tweaks*/
@media screen and (min-width: 768px) {
body.search ul.products li.product {
    width: 30.4347826087%;
    float: left;
    margin-right: 2.347826087%;
	min-height: 550px;
}
body.search .site-main {
    margin-bottom: 0;
}
}
/*Search Result Tweaks for all screens*/
h2.woocommerce-loop-product__title { font-weight: bold; }
body.search .content-area, .widget-area { margin-bottom: 0; }

/*Blog Post Comments - Jetpack comment subscription tweaks*/
.content-area .post .comments-area .comment-respond .form-submit { margin-bottom: 1.41575em !important; }
/*Blog Posts Tweaks when using Jetpack commenting system to allow user*/
.comment-reply-title { font-weight: 300; }
/*Blog post and Page Entry Content*/
.post .entry-content h4 { margin-top: 0;}
.post.type-post::after { clear: both; margin-bottom: 50px; }

/*Storefront Footer Bar*/
.sfb-footer-bar::after {
    clear: both;
    content: "";
    display: table;
}
.sfb-footer-bar { display: block; }
.sfb-footer-bar ul { margin-left: 0; }
.sfb-footer-bar  ul li {
    position: relative;
    display: inline-block;
    text-align: left;
	margin-bottom: 0;
}
.sfb-footer-bar  ul.menu > li > a, .sfb-footer-bar  ul.nav-menu > li > a { padding: 1.618em 2em 1.618em 0em; }
@media screen and (max-width: 768px) { .sfb-footer-bar  ul.menu > li > a, .sfb-footer-bar  ul.nav-menu > li > a { display: block; padding: 0em 2em 1em 0em; }}
.sfb-footer-bar .widget_nav_menu ul li::before { content: ""; }
.sfb-footer-bar  .widget_nav_menu ul li { padding-left: 0; }
/*Current page and hover links in footer widgets area columns 1 to 4*/
.sfb-footer-bar ul li a:hover, .sfb-footer-bar ul li:hover > a, .sfb-footer-bar ul.menu li.current-menu-item > a, .sfb-footer-bar ul.menu li.current-menu-item > a, .sfb-footer-bar ul li a:hover, .main-navigation ul li:hover > a, .sfb-footer-bar ul.menu li.current-menu-item > a, .sfb-footer-bar ul.menu li.current-menu-item > a { color: #838383; }

/*Site Footer*/
.site-footer { 
    background: #fff url("https://texelec.com/wp-content/uploads/2017/08/header-bg-4.png") repeat top center; 
    color: #76787e;
    padding: 1.618em 0 0;
    /*margin-bottom: 3.706325903em; */
	}
.site-footer, .site-footer a { color: #ffffff !important; }
/*Text, current page and hover links in site-credit area*/
.site-footer ul li a:hover, .site-footer ul li:hover > a, .site-footer ul.menu li.current-menu-item > a, .site-footer ul.menu li.current-menu-item > a, .site-footer ul li a:hover, .site-footer ul li:hover > a, .site-footer ul.menu li.current-menu-item > a, .site-footer ul.menu li.current-menu-item > a { color: #aaa !important; }
.site-footer .footer-widgets .widget_nav_menu ul li::before, .site-footer a:not(.button) { content: "\f15c"; color: #d5d5d5 !important; opacity: 1; }
.site-footer .footer-widgets { padding: 2.1em 0 0; }
/*Footer widget specific tweaks*/
.site-footer .widget-title { display: none; visibility: hidden; }

/*Lo-Tech, VCFed.org, FreHD and Paez3D Footer Tweaks*/
#custom_html-6, #custom_html-8, #custom_html-10, #custom_html-12 { margin: 0 0 1.5em; } 
#custom_html-6 img { border: 5px solid #fff; width: 180px; height: auto; }
#custom_html-6 a img, #custom_html-10 a img { box-shadow: 0 3px 30px #202020; box-shadow: 0 3px 30px rgba(32,32,32,1); }
#custom_html-8 a img { border-radius: 50%; box-shadow: 0 3px 30px #15a593; box-shadow: 0 3px 30px rgba(21,165,147,.5); }
/*SSL and Payment Badge Tweaks*/
#custom_html-2 .textwidget a img {
    display: inline-block;
    padding: 0;
    margin:  0;
}
#custom_html-2 .comodo { margin:  0 -11px; }
/*Comodo Badge tweak*/
#tl_popupCL1, a#tl_popupCL1, #tl_popupCL1 iframe, #comodoTL { display: none !important; visibility: hidden !important; width: 0; height: 0; }

/*Custom Footer Credit Area*/
.site-info, .site-info .sfb-footer-bar .widget a { background-color: transparent !important; }
.site-info .widget { padding: 0 0 3.706325903em; }
.site-credits { font-size: 80%; opacity: .5; }
/*Hide website design credits*/
.site-credits { display: none; visibility: hidden; opacity: 0; height: 0; }
.site-credits { text-align: center; box-shadow: 0 3px 30px #202020; box-shadow: 0 3px 30px rgba(32,32,32,1); }
.site-info {  padding: 1em 0 0 !important; }

/*Scroll to top button*/
#wpfront-scroll-top-container { bottom: 5em; }

