/*
Theme Name:   	Storefront Child Theme
Theme URI:    	https://github.com/stuartduff/storefront-child-theme
Author:       	Stuart Duff
Author URI:		http://stuartduff.com
Template:     	storefront
Description:  	This is a blank child theme for WooThemes StoreFront theme
Version:      	1.4.0
License:      	GNU General Public License v2 or later
License URI:  	http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  	storefront
*/

/* Body */
body #page{
	min-height: 100vh;
}
body:not(.logged-in) .site-search,
body:not(.logged-in) .storefront-primary-navigation,
body:not(.logged-in) .woocommerce-breadcrumb,
body:not(.logged-in) .storefront-handheld-footer-bar{
	display: none;
}
body:not(.logged-in).woocommerce-active .site-header .site-branding{
    width: 100%;
    float: none;
    text-align: center;
}

/* Enlaces */
a:focus,
button:focus,
.button.alt:focus,
input:focus,
textarea:focus,
input[type="button"]:focus,
input[type="reset"]:focus,
input[type="submit"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus{
	outline: none !important;
}

/* Logo */
.site-header .site-logo-anchor,
.site-header .site-logo-link,
.site-header .custom-logo-link {
    display: inline-block;
}
.site-header .site-logo-anchor img,
.site-header .site-logo-link img,
.site-header .custom-logo-link img{
	max-width: 100px !important;
}

/* Título */
.storefront-full-width-content.woocommerce-cart .entry-header,
.storefront-full-width-content.woocommerce-checkout .entry-header,
.storefront-full-width-content.woocommerce-account .entry-header,
.storefront-full-width-content .woocommerce-products-header{
	padding: 2rem 0 !important;
}

/* Breadcrumb */
.storefront-breadcrumb{
	margin-bottom: 0;
}

/* Inicio */
body.home .woocommerce-products-header{
	display: none;
}
body.home .storefront-breadcrumb{
	display: none;
}

/* Lista de productos */
.page-template-template-fullwidth-php .site-main ul.products li.product,
.page-template-template-fullwidth-php .header-widget-region ul.products li.product,
.page-template-template-homepage-php .site-main ul.products li.product,
.page-template-template-homepage-php .header-widget-region ul.products li.product,
.storefront-full-width-content .site-main ul.products li.product,
.storefront-full-width-content .header-widget-region ul.products li.product{
	box-shadow: 0 3px 12px -2px rgba(0,0,0,.2);
    padding-bottom: 10px;
}
ul.products li.product .woocommerce-loop-product__title{
	padding: 0 10px;
	min-height: 40px;
}
ul.products li.product form.wcb2b-quantity{
	display: flex;
	justify-content: center;
	margin-bottom: .7rem;
}

/* Detalles de producto */
body.single .site-main>.product{
	margin-top: 3rem;
}
body.single .site-main>.product .woocommerce-product-gallery__wrapper{
	border: 1px solid #f0f0f0;
}
body.single .site-main>.product.product-type-grouped .quantity .qty{
	width: 125.13px;
}
body.single.storefront-full-width-content.single-product div.product .woocommerce-tabs{
	width: 100%;
}
body.single .related.products{
	width: 98%;
    margin-left: 1%;
}

/* Footer */
.site-footer .site-info{
	display: none;
}

/* Mi cuenta */
.woocommerce-MyAccount-navigation-link--dashboard,
.woocommerce-form-login__rememberme{
	display: none !important;
}
form.woocommerce-form-login,
form.woocommerce-ResetPassword{
	max-width: 500px;
    margin: 0 auto;
}
form.woocommerce-ResetPassword .form-row-first,
form.woocommerce-ResetPassword .form-row-last{
	width: 100%;
}

/* Carrito */
.woocommerce-active .site-header .site-header-cart .tax_label{
	display: none;
}
.woocommerce-active .site-header .site-header-cart .cart-contents{
	text-align: right;
}
.woocommerce-active .site-header .site-header-cart .cart-contents .count{
	display: inline-block;
	margin-right: 10px;
}
.storefront-align-wide.storefront-full-width-content .hentry .entry-content .alignwide {
    margin-left: 0;
    margin-right: 0;
}
table.shop_table_responsive tr td{
	vertical-align: middle;
}
table.shop_table_responsive tr td.actions{
	padding: 5px;
}
table.shop_table_responsive tr td.product-price{
	text-wrap: nowrap;
}
.cart-collaterals .cart_totals h2,
.cart-collaterals .cart_totals table{
	display: none;
}
article.post-13 h2{
	display: none;
}
.select2-container--default .select2-selection--single{
	padding: .6180469716em;
	background-color: #f2f2f2;
	color: #43454b;
	border: 0;
	-webkit-appearance: none;
	box-sizing: border-box;
	font-weight: 400;
	box-shadow: inset 0 1px 1px rgba(0,0,0,.125);
	border-radius: 0;
	height: inherit;
}
.select2-container--default .select2-selection--single .select2-selection__arrow{
	height: 100%;
}

/* Desktop */
@media (min-width: 768px){
	body.single .site-main>.product{
		display: flex;
		align-items: center;
		flex-wrap: wrap;
	}
	body.single .site-main>.product.product-type-grouped{
		align-items: start;
	}
	body.scrolled{
		padding-top: 200px;
	}
	body.scrolled #masthead.site-header{
		position: fixed;
	    top: 0;
	    left: 0;
	    width: 100%;
	    z-index: 9;
	    padding-top: 0;
	}
	body.scrolled #masthead.site-header>.col-full{
		display: none;
	}
	.site-header-cart:hover .widget_shopping_cart,
	.site-header-cart.focus .widget_shopping_cart{
		left: inherit;
		right: 0;
	}
	.site-header-cart .widget_shopping_cart{
		min-width: 350px;
	}
	body.woocommerce-checkout form.checkout .col2-set {
	    width: 47.941176%;
	    margin-right: 2.882353%;
	}
	body.woocommerce-checkout form.checkout #order_review_heading,
	body.woocommerce-checkout form.checkout #order_review {
    	width: 49.176471%;
    }
}
@media (min-width: 768px) and (max-width: 1199px){
	.page-template-template-fullwidth-php .site-main ul.products.columns-4 li.product, .page-template-template-fullwidth-php .header-widget-region ul.products.columns-4 li.product, .page-template-template-homepage-php .site-main ul.products.columns-4 li.product, .page-template-template-homepage-php .header-widget-region ul.products.columns-4 li.product, .storefront-full-width-content .site-main ul.products.columns-4 li.product, .storefront-full-width-content .header-widget-region ul.products.columns-4 li.product {
		    width: 40%;
		    float: left;
		    margin-right: 5%;
		    margin-left: 5%;
		}
}

/* Mobile */
@media (max-width: 767px){
	button.menu-toggle{
		border: none;
	}
	#masthead.site-header{
		margin-bottom: 2rem;
		background-color: #fafafa;
	}
}

/* Cursos */
body.tutor-frontend .col-full{
    box-sizing: initial;
}
.tutor-container{
	padding: 0;
}
