/*
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.
 */

/* Shipping message */
#shipping_method_0_flat_rate2:checked + label[for=shipping_method_0_flat_rate2]::after {
    display: block;
	color:#e16a03;
    content: "Custos de transporte mediante as condições gerais acordadas.";
}

/* User Switcher color */
.wpus_front_list span.wpus_front_icon{
	background:#e16a03;
	
}

.post-13 .entry-header{
	padding-top:1.6em;
	text-align:center;	
	
}

.entry-title {
  max-width: 80%;
}

.post-13 .entry-content{
	max-width:80%;
}

.hide-me{
	display:none!important;
}

.show-me{
	display:block!important;
}

.selected-icon{
	color:#e16a03!important;
}

/* My vendor */
.free-shipping{
	background-color: #f8f8f8;
}

.free-shipping .free{
	color:green;
}

.free-shipping .not-free{
	box-shadow: 0 0 0 0 rgba(0, 0, 0, 1);
	transform: scale(1);
	animation: pulse 2s 5;
	
}
tr.free-shipping.not-free > td > div > span > span{
	color:#e16a03;
	font-weight: 700;
}

.blob.white {
  box-shadow: 0 0 0 0 rgba(225, 106, 3, 1);
  animation: pulse-white 2s 10;
}

@keyframes pulse-white {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(225, 106, 3, 0.7);
  }
  
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(225, 106, 3, 0);
  }
  
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(225, 106, 3, 0);
  }
}

/* Info Vendedor */
.vendor-info-container {
    padding-top: 30px;
	padding-bottom: 30px;
    text-align: center;
    font-size: 18px;
}

.vendor-info-container span {
    padding: 10px;
    text-align: center;
}

.vendor-info-container i {
    color: #e16a03;
}

#menu-main-1 {
  border: 1px solid #e16a03;
}

#menu-menu-entrega-header a {
	border: 1px solid #e16a03;
	text-align: center;
}

body.woocommerce-account .widget-area{
		display:none;
	}

body:not(.logged-in) .widget-area{
		display:none;
	}


/* MOBILE */
@media screen and (max-width: 768px){
	
	body:not(.logged-in) .storefront-handheld-footer-bar{
		display:none;
	}
	
	.widget-area{
		display:none;
	}
	
	/* God Like */
	.storefront-handheld-footer-bar ul li.categories-block > a::before {
		content: "";
	}
	
	#block-3.active {
		position: fixed;
		display: block;
		background-color: #f2f2f2;
		width: 100%;
		bottom: 0px;
		z-index: 799;
		margin: 0px !important;
		transition: all ease;
		padding:5px;
		border: 2px solid #e16a03;
		overflow: scroll;
	}
	
	/* SIDE BAR */
	.storefront-handheld-footer-bar {
		position: fixed;
		top: 15%;
		right: 0px;
		left:auto;
		z-index: 800;
		width: 40px;
		height: fit-content;
	}
	
	.storefront-handheld-footer-bar ul li.cart .count {
		left: 30%;
	}
	.storefront-handheld-footer-bar ul{
		margin: 0px;
	}
	
	.storefront-handheld-footer-bar ul li.search .site-search {
		position: absolute;
		top: 30%;
		bottom:auto;
		left: 0;
		right: 2em;
		transition: all,ease,.2s;
		padding: 0px;
		z-index: 1;
		display: block;
	}
	
	/* Search */
	.storefront-handheld-footer-bar ul li.search.active .site-search {
		/* bottom: 100%; */
		left: -230px;
		/* top: 0px; */
		position: absolute;
		width: 230px;
		top: 30%;
		bottom: 0px;
		margin: 0px;
		height: 48px;
	}
	
	.storefront-handheld-footer-bar li {
		float: left;
		max-width: 100%!important;
		width:100%!important;
	}
	
	/* Make two products per row */
	.columns-4 li{
		float:left;
		max-width:50%;
	}
	/* Hide See in the address my account */
	 .edit > span{
		display:none!important;
	}
	
	button.menu-toggle{
		text-align:center!important;
		display:block;
		min-width:120px;
	}
	
	.handheld-navigation{
		display:block!important;
		position: absolute;
		margin-top: 45px;
		background-color: #f2f2f2;
		min-width: 120px;
		
	}
	
	/* Show edit symbol */
	.addresses header.title a::after {
		-webkit-font-smoothing: antialiased;
		-moz-osx-font-smoothing: grayscale;
		display: inline-block;
		font-style: normal;
		font-variant: normal;
		font-weight: normal;
		line-height: 1;
		font-family: "Font Awesome 5 Free";
		font-weight: 900;
		line-height: inherit;
		vertical-align: baseline;
		content: "";
		line-height: 1.618;
		position: relative;
		top: 0;
		left: 0;
		height: 100%;
		width: 100%;
		text-align: center;
		text-indent: 0;
	}
	
	.site-branding{
		min-width: 150px;
	}
	
	.custom-logo-link img{
		padding: 0.618em 1em;
		max-width:190px!important;
	}
	
	.go-back-text{
		display: none;
	}
	
	.fixed-cart-button-on-checkout{
		position: absolute;
	}
	
	/* header */
	.site-header{
		margin-bottom:0px!important;
	}
	
	.site-main{
		margin-top: 0em;
		padding-top: 0.3em!important;
	}
	
	.main-navigation {
	  float: right;
	}
	
	.sp-header-active .site-header .main-navigation {
 	 text-align: left!important;
	}
	
	.main-navigation ul li a {
 	 	padding: .6em;
	}
	
	.woocommerce-account .woocommerce-MyAccount-content{
		float: none !important;
	}
	
	.storefront-sorting {
  		font-size: .8em;
	}
	
	#shipping_method li {
		text-align: center!important;
		padding: 0px!important;
	}
	
}

/* TABLET */
@media (min-width: 766px) and (max-width: 1335px) {
	/*--------CATEGORY SIDE BAR ------------*/
	body:not(.my-account,) .widget-area{
		display:block;
	}
	
	body:not(.logged-in) .widget-area{
		display:none;
	}
	
	body:not(.logged-in) .storefront-handheld-footer-bar{
		display:none;
	}
	
	/*--------------MENU--------*/
	.sp-header-span-5 {
		width: 18%!important;
		float: right!important;
		margin-right: 2%!important;
	}
	
	.site-header .site-header-cart{
		float:right!important;
	}
	
	 .sp-header-last {
		float: right!important;
	}
	
	.site-header-cart .cart-contents::after{
		padding-left: 10px!important;
	
	}
	
	.sp-header-span-2{
		width:25%!important;
		text-align:right;
	}
	
	
	button.menu-toggle{
		text-align:center!important;
		display:block;
		min-width:120px;
	}

	.handheld-navigation{
		display:block!important;
		position: absolute;
		margin-top: 45px;
		background-color: #f2f2f2;
		min-width: 120px;
		right:0px;
	}
	
	.primary-navigation{
		display:none;
	}
	
	.main-navigation .menu {
  		clear: both;
	}
	
	.main-navigation ul {
	  margin-left: 0;
	  list-style: none;
	  margin-bottom: 0;
	}
	
	.site-main{
		margin-top: 0em;
		padding-top: 0.3em!important;
	}
	
	.main-navigation {
	  float: right;
	}
	
	.sp-header-active .site-header .main-navigation {
 	 text-align: left!important;
	}
	
	.main-navigation ul li a {
 	 	padding: .6em;
	}
	
	.main-navigation ul li, .secondary-navigation ul li {
		  display: inherit;
	}
	
	.main-navigation ul.menu > li > a, .main-navigation ul.nav-menu > li > a {
	  padding: 0.6em;
	}
	
	.main-navigation ul.menu, .main-navigation ul.nav-menu {
	  max-height: none;
	  overflow: visible;
	  margin-left: 0em;
	  transition: none;
	}
	
	.sp-header-span-5{
		position: relative;
		top: 20px;
	}
	
	.sp-header-span-3{
		display:none!important;
		width:0px!important;
	}
	
	li .widget_shopping_cart{
		display:none!important;
	}
}

.woocommerce-tabs ul.tabs li {
  margin: 2px;
}

.single-product div.product .product_meta {
    font-size: 18px;
}

.custom-logo-link img{
  padding: 0.618em 1em;
}

.sp-header-span-3{
  padding: 1.3em 1em;
}

.woocommerce-checkout #customer_details .col-1{
    width: 99%;
    margin-left: 2px;
}


/* Hide Optional in the checkout */
.woocommerce-billing-fields .optional{
	visibility:hidden!important;
	
}


/* LOGGED OUT HEADER */
body:not(.logged-in) .sp-header-span-5, body:not(.logged-in) .sp-header-span-3, body:not(.logged-in) .sp-header-last{
 /*visibility:hidden;*/
	display:none;
}

body.logged-in .sp-header-span-5, body.logged-in .sp-header-span-3, body.logged-in .sp-header-last{
	visibility:visible;
	display:block;
}

/* PÀGINA FAVORITOS */
.yith-license-notice{
	display:none;
}
.wishlist-title-container{
	display:none;
}
.yith_wcwl_wishlist_update{
	display:none;
}

.wishlist-items-wrapper td{
	text-align:center;
}

.wishlist_table tfoot td, .wishlist_table tr td.product-name, .wishlist_table tr td.product-thumbnail, .wishlist_table tr td.wishlist-name, .wishlist_table tr td.wishlist-privacy{
	text-align:center;
	
}

.wishlist_table th {
    text-align: center;
}

.product-name h3 {
    font-size: 16px;
}
/* Mobile Favoritos */
.yith_wcwl_wishlist_footer {
    padding-top: 45px;
}

.wishlist_table.mobile li {
    padding-top: 15px;
    padding-bottom: 50px;
	border-bottom: 2px solid #bbb;
}

.wishlist_table.mobile li .additional-info-wrapper .product-remove {
    float: left;
    padding-left: 10px;
}

/*
.wishlist_table.mobile li .additional-info-wrapper .move-to-another-wishlist, .wishlist_table.mobile li .additional-info-wrapper .product-add-to-cart {
    float: left;
	
}*/

.wishlist_table.mobile li .additional-info-wrapper .product-remove {
	float: left;
	padding-top: 5px;
}

.wishlist_table.mobile li .additional-info-wrapper .move-to-another-wishlist, .wishlist_table.mobile li .additional-info-wrapper .product-add-to-cart {
	float: right;
	padding-top: 5px;
}

table.additional-info td.value input {
	max-width: 113px;
}

/* Checkout Variation FIxes */
.hidden-custom {
    visibility: hidden!important;
	display: none;
}


.variation-PreoNormal p::after {
    content:"€";
}

dl.variation {
	display:flex;
}

/* SEM IVA */
.woocommerce-price-suffix{
	display:none!important;
	
}

/* SEARCH */
.alpha {
	font-size: 25px;
}

/* DISCOUNTS */
.cart dl{
	display: none!important;
}

.rp_wcdpd_promotion_total_saved_div {
    width: 50%;
    text-align: center;
    float: right;
}

.woocommerce > .rp_wcdpd_promotion_total_saved_div.woocommerce-message {
    display: none!important;
}

/* Privacy police page*/
#post-3 h3 {
	  color: #e16a03;
}
/* Terms */
#post-16 h3 {
	  color: #e16a03;
}

select.orderby {
    border-color: #e16a03;
	padding: 5px;
}

/* CART */

/* hide payment gateway discount in cart */
.cart_totals .cart-discount {
    display: none;
}

/* CHECKOUT PAGE */
.checkout-slides .sp-checkout-control-nav li a:before, .checkout-slides .sp-checkout-control-nav li:nth-child(2) a.flex-active:before {
    background-color: #e16a03;
}
.checkout-slides .sp-checkout-control-nav li a:after {
    border: 4px solid  #e16a03;
}

.fixed-cart-button-on-checkout{
	position: fixed;
    top: 7%;
    left: 0px;
	z-index: 9999;
	padding: 5px;
}

.fixed-cart-button-on-checkout a::before {
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	content: "\f30a";
}

.go-back-text{
		padding-left:10px;
	}


/* Caixas no porduto */
.box-primaria {
    font-size: 14px;
    padding: 5px;
    color: #e16a03;
}

.box-secundaria {
    font-size: 20px;
    padding: 5px;
    color: #e16a03;
}

.box-tercearia {
    font-size: 26px;
    padding: 5px;
    color: #e16a03;
}

/* CHECKOUT PAGE */
p.woocommerce-notice.woocommerce-notice--success.woocommerce-thankyou-order-received {
    padding: 10px;
    color: green;
    font-weight: bold;
}

.woocommerce-shipping-destination{
	display:none;
}


.site-branding{
	
	min-width: 250px;
}
.storefront-breadcrumb{
	margin-bottom:0px;	
}

.page-template-template-homepage:not(.has-post-thumbnail) .site-main {
  padding-top: 0em;
}

.storefront-hamburger-menu-active .main-navigation .handheld-navigation, .storefront-hamburger-menu-active .main-navigation div.menu {
	width: 70%;
}

/* HEADER */
#menu-entrega-header a{
    color: #e16a03!important;
    border: solid 1px #e16a03;
    -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 1px 1px rgba(0, 0, 0, 0.2);
    padding: 8px 12px;
    margin-bottom: 0px;
    text-decoration: none;
}

.sp-header-active .site-header .main-navigation {
    text-align:center;
}

/* ACCOUNT PAGE */
.woocommerce-account .content-area {
	width: 100%;
	padding-top: 30px;
}

.woocommerce-account .woocommerce-MyAccount-content{
	margin-right: 0px!important;
	float: right!important;
	
}

.woocommerce-account .woocommerce-MyAccount-navigation {
	float: left!important;
}

form.woocommerce-form.woocommerce-form-login.login {
    max-width: 65%;
}

.account-bottom-message, h4 {
    text-align: center;
    font-weight: bold;
}
/* --------------------------------- */