/*
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.0.0
License:      	GNU General Public License v2 or later
License URI:  	http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  	storefront
Tags:         	black, white, light, two-columns, left-sidebar, right-sidebar, responsive-layout, custom-background, custom-colors, custom-header, custom-menu, featured-images, full-width-template, threaded-comments, accessibility-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.
Storefront is based on Underscores http://underscores.me/, (C) 2012-2014 Automattic, Inc.
Resetting and rebuilding styles have been helped along thanks to the fine work of
Eric Meyer http://meyerweb.com/eric/tools/css/reset/index.html
along with Nicolas Gallagher and Jonathan Neal http://necolas.github.com/normalize.css/
FontAwesome License: SIL Open Font License - http://scripts.sil.org/OFL
Images License: GNU General Public License v2 or later
*/
/*
 * Add your own custom css below this text.
 */

.clearfix:after {
content: " "; /* Older browser do not support empty content */
visibility: hidden;
display: block;
height: 0;
clear: both;
}


a:hover img {
  
opacity: 0.9; 
}

.home .site-main p {

margin: 0;
}

.home.blog .site-header,
.home.page:not(.page-template-template-homepage) .site-header,
.home.post-type-archive-product .site-header {

margin-bottom: 0;
}

:-moz-any-link:focus {
  outline: none;
}

.site-header {

padding-top: 0;
}

.site-header .site-branding {

width: 25%;
}

.wceb_picker_wrap p.form-row {

width: 48%;
margin-right: 3%;
display: inline-block !important;
}

.wceb_picker_wrap p.form-row.show_if_two_dates {

margin-right: 0;
}

#start_date_root .picker__holder {

left: 0;
}

#end_date_root .picker__holder {

right: 0;
}


#fancybox-left, #fancybox-right {

height: 40% !important;
bottom: 30% !important;
}

#tab-video .video_thumb {

float: left;
width: 320px;
margin-right: 60px;
margin-bottom: 40px;
}

#tab-video .video_thumb:nth-child(odd) {

margin-right: 0;
}

#tab-video .video_thumb .video_caption {

padding-top: 5px;
text-align: center;
line-height: 1.1;
}

#tab-video .video_thumb .thumb_img {
  
position: relative;
margin-bottom: 5px;
}

#tab-video .video_thumb a.video_link {

position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
transition: 0.2s;
background: none;
background-position: center;
}

#tab-video .video_thumb a.video_link:hover {
  
background: rgba(0,0,0,0.5) url(images/play-icon.png) no-repeat center;
}

ul.products li.product .price, ul.products li.product .star-rating {

margin: 0;
}

ul.products .price {

margin: 0;
margin-bottom: 10px !important;
}

ul.products .product_tags {

font-size: 1.2em;
}

ul.products li.product .woocommerce-LoopProduct-link h3,
ul.products li.product-category h3 {

height: 40px;
line-height: 1.2;
}

.document_item {
  
width: 33%;
float: left;
padding: 10px;
text-align: center;
line-height: 1.1;
}

.document_item .thumb {
  
margin-bottom: 10px; 
}

.document_item .thumb img {
  
margin: auto; 
}

.document_item .filesize {

font-size: 0.8em;
}

.cart .instructions {
  
background: #F2F2F2 url(images/info.png) no-repeat left 15px center;
border: 1px solid #dbdbdb;
padding: 10px 20px;
padding-left: 55px;
margin-bottom: 30px;
font-size: 0.9em;
line-height: 1.1;
}


.primary-navigation ul.sub-menu {

padding-top: 10px;
}

.primary-navigation li.categorias ul.sub-menu {

width: 600px;
}

.primary-navigation li.categorias ul.sub-menu li {

float: left;
height: 40px;
line-height: 1.1;
margin-bottom: 10px;
width: auto;
}

.logged-in ul#menu-menu-principal li.login,
.logged-in ul#menu-main-menu li.login {
  
display: none; 
}

.handheld-navigation ul.sub-menu {

width: auto;
}

.handheld-navigation ul.sub-menu li {

float: none;
clear: both;
height: 40px;
line-height: 1.1;
margin-bottom: 10px;
width: auto;
}

.pswp {

border: 30px solid rgba(0,0,0,0.8);
}

.centered-col {
  
max-width: 860px;
margin: 0 auto;
}

.morada {
  
width: 50%;
float: left;
font-size: 0.9em;
line-height: 1.2;
}

.morada .logo-footer {

margin-bottom: 10px;
}

.copyright {
  
width: 50%;
float: right;
text-align: right;
font-size: 0.9em;
}

.site-main ul ul {
  
list-style: circle;
padding-left: 10px;

margin-bottom: 15px;
}

.cart_totals.calculated_shipping tr.shipping,
#order_review .shop_table tr.shipping,
#order_review #payment ul.wc_payment_methods,
.cart_totals .shop_table .shipping {
  
display: none;
}

.language-selector {
  
padding-top: 10px;
}

.language-selector #lang_sel_list {

float: right;
}

.language-selector #lang_sel_list ul {
  
border: none;
}

.language-selector #lang_sel_list ul li a,
.language-selector #lang_sel_list ul li a:hover {
  
background: none;
opacity: 0.3;
}

.language-selector #lang_sel_list ul li a.lang_sel_sel {
  
opacity: 1; 
}

button.menu-toggle,
button.menu-toggle:hover {

border: none;
}

button.menu-toggle span::before, button.menu-toggle::after, button.menu-toggle::before {

left: auto;
right: 0;
}

.menu-toggle {

border: none;
}



@media (min-width: 960px) {

	.site-main ul.products li.product {

	width: 22% !important;
	margin-right: 4% !important;
	}

	.site-main ul.products li.product:nth-child(4n+0) {

	margin-right: 0 !important;
	}

	.home .site-main ul.products li.product-category {

	width: 15% !important;
	margin-right: 2% !important;
	}

	.home .site-main ul.products li.product-category:nth-child(6n+0) {

	margin-right: 0 !important;
	}
}

@media (min-width: 800px) and (max-width: 959px) {

	.site-main ul.products li.product {

	width: 30% !important;
	margin-right: 5% !important;
	}

	.site-main ul.products li.product:nth-child(3n+0) {

	margin-right: 0 !important;
	}
}

@media (min-width: 481px) and (max-width: 799px) {

	.site-main ul.products li.product {

	width: 48% !important;
	margin-right: 2% !important;
	float: left !important;
	}

	.site-main ul.products li.product:nth-child(2n+0) {

	margin-right: 0 !important;
	}

}


@media (max-width: 480px) {

	.site-main ul.products li.product {

	width: 100% !important;
	margin-right: 0 !important;
	clear: both !important;
	}

}