/*
 Theme Name:   Gabriel Brau (Mercury Child)
 Theme URI: http://themes.themegoods.com/mercury/demo
 Description:  Premium Template for Photography Portfolio
 Version: 2.5.3
 Author: Grafreak
 Author URI: https://grafreak.net
 License: GNU General Public License
 License URI: http://themeforest.net/licenses/regular_extended
 Template:     mercury
 Text Domain:  mercury
*/

.flex{
	display: flex;
	display: -moz-flex;
	display: -webkit-flex;
}
.ajustar{
	box-sizing: border-box;
}
#page_content_wrapper{
	margin: 0 auto !important;
}
.barra-superior{
	width: 100%;
	max-width: 1170px;
	margin: 0 auto;
	padding: 5px 0;

	flex-wrap: wrap;
	justify-content: flex-end;
}
.contenidor-barra-sup{
	width: 100%;
	color: #fff;
	height: auto;

	background-color: #e55c00;
}
.lang-select{
	margin-left: 2em;
}



#gtranslate_selector {
    width: 100%;
}

#footer ul.sidebar_widget li {
	text-align: center;
}

#footer ul.sidebar_widget li ul li {
	margin: 0 0 0 0;
}
#nav_menu-3 ul li, #nav_menu-2 ul li {text-align: left !important;}
/*--- li producte woocommerce ---*/
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product{
	border: none !important;
	width: 30%;
}
.shop_filter {display: none;}
.categoria-venta .woocommerce ul.products li.product h3, /*.woocommerce-page ul.products li.product h3*/ {
	font-weight: normal;
	padding-bottom: 0 !important;
	background-color: grey !important;
	color: #fff !important;
	padding: .7em 0 !important;
	font-size: 1.2em !important;
}
body.single-product #page_caption h1{display: none;}
.woocommerce a.button.button.segundo,
.button.product_type_simple.add_to_cart_button.ajax_add_to_cart.segundo,
.button.product_type_simple.ajax_add_to_cart.segundo,
.button.product_type_external.segundo,
.button.product_type_simple.add_to_cart_button.ajax_add_to_cart.primero:hover,
.button.product_type_external.primero:hover,
.button.product_type_simple.ajax_add_to_cart.primero:hover{
	width: 100%;
	display: block;
	opacity: 1;
	border-radius: 20px !important;
	border: 1px solid #E76C0A !important;
	padding: 12px !important;
	background-image: none !important;
	background-color: transparent !important;
	color: #E76C0A !important;
	box-sizing: border-box;
	text-transform: uppercase !important;
	font-weight: 300 !important;
	font-size: 14px !important;
}
.woocommerce a.button.button.primero,
.button.product_type_simple.add_to_cart_button.ajax_add_to_cart.primero,
.button.product_type_simple.ajax_add_to_cart.primero,
.button.product_type_external.primero,
.button.product_type_simple.add_to_cart_button.ajax_add_to_cart.segundo:hover,
.button.product_type_external.segundo:hover,
.button.product_type_simple.ajax_add_to_cart.segundo:hover{
	width: 100%;
	display: block;
	opacity: 1;
	border-radius: 20px !important;
	border: 1px solid #E76C0A !important;
	padding: 12px !important;
	background-image: none !important;
	background-color: #E76C0A !important;
	color: #FFF!important;
	box-sizing: border-box;
	text-transform: uppercase !important;
	font-weight: 300 !important;
	font-size: 14px !important;
}

body.page-id-5319 .button.product_type_external.primero {display: none;}
.single_add_to_cart_button.button.alt:hover{
	margin-left: auto;
	margin-right: auto;
	display: block;
	opacity: 1;
	border-radius: 20px !important;
	border: 1px solid #E76C0A !important;
	padding: 12px !important;
	background-image: none !important;
	background-color: transparent !important;
	color: #E76C0A !important;
	box-sizing: border-box;
	text-transform: uppercase !important;
	font-weight: 300 !important;
	font-size: 14px !important;
}
.woocommerce div.product form.cart .button.single_add_to_cart_button,
.single_add_to_cart_button.button.alt{
	width: 50%;
	margin-left: auto;
	margin-right: auto;
	display: block;
	opacity: 1;
	border-radius: 20px !important;
	border: 1px solid #E76C0A !important;
	padding: 12px !important;
	background-image: none !important;
	background-color: #E76C0A !important;
	color: #FFF!important;
	box-sizing: border-box;
	text-transform: uppercase !important;
	font-weight: 300 !important;
	font-size: 14px !important;
}
.woocommerce div.product form.cart .button.single_add_to_cart_button:hover {
	background-color: transparent !important;
	color: #E76C0A !important;
}
.price{
	border: none !important;
	margin: .8em 0 !important;
	padding: 0 !important;
}
mark{display: none !important;}
.woocommerce-Price-amount.amount{
	color: #E76C0A;
}
#page_caption{
	width: 1170px;
	text-align: left;
	margin: 0 auto !important;
}
#page_caption h1{
	font-size: 28px !important;
	color: #E76C0A !important;
}
#page_content_wrapper{
	margin: 0 auto;
}

.related.products {display: none;}
/* ---- wp slick slider pluguin ---- */
/*#page_content_wrapper .inner .sidebar_content.full_width img,
#page_content_wrapper .inner .sidebar_content.full_width div,
#page_content_wrapper .inner .sidebar_content.full_width iframe
{
	max-width: inherit !important;
}
.home article{
	width: 48%;
	margin: 3em 1%;
	padding: 1% 2%;
	text-align: center;
	box-sizing: border-box;
}
.home article img{
	margin: 0 auto;
	max-width: 60% !important;
	width: 100%;
}*/
.page-template-template-inici-llistat .sidebar_content a {margin: 30px 0 0;}
#page_content_wrapper .inner .sidebar_content.full_width.flex{
	justify-content: space-around;
	flex-wrap: wrap;
}
.h2{
	color: #000;
	padding: 0;
	font-size: 30px;
	display: block;
	font-weight: normal;
}
.h2:hover{
	color: #E76C0A !important;
}


/* boletin footer */
.subscripcio-footer {
	background-color: #e55c00;
	text-align: center;
	color: #fff;
	padding: 3em 0 1em;
}
.subscripcio-footer h3{
	color: #fff !important;
}
.subscripcio-footer p{
	margin-bottom: 1em;
}

/*PAGINA CONTACTO*/
.contacto .wpcf7 form { text-align: left; max-width: 70%;}
.contacto .wpcf7 form input { border-bottom:1px solid #444 !important; border-radius:0; color: #444 !important;}
.contacto .wpcf7 form textarea {border:1px solid #444 !important; resize: none; border-radius:0; color: #444 !important;}
/*.formulari{
	width: 99%;
	height: auto;
	margin: 3em 0 0 0;
	padding: 0 4%;
}*/
 /* --- wpcf7 --- */
.wpcf7-form form{
	margin: 1em 0 0 0;
	/*text-align: center;*/
}
.wpcf7-form{
	text-align: center;
}
.wpcf7-form input,
.wpcf7-form select,
.wpcf7-form textarea,
.wpcf7-form input[type=email]
{
	width: 80%;
	padding: .8em .8em .8em .8em;
	margin: .8em 0;
	font-size: 1em !important;
	border: 1px solid #fff !important;
	border-radius: 20px;
	-moz-border-radius: 20px;
	-webkit-border-radius: 50px;
	background-color: transparent !important;
	display: inline-block;
	line-height: 20px;
	color: #fff !important;
}

.wpcf7-form input::placeholder,
.wpcf7-form input[type=email]::placeholder,
.wpcf7-form input::-moz-placeholder,
.wpcf7-form input[type=email]::-moz-placeholder,
{
	opacity: .75 !important;
}
.wpcf7-form input[type="checkbox"]{
	height: 1em;
	width: 1em;
	padding: 0;
	margin: 0;
}
.wpcf7-form input[type=submit]{
	width: 150px;
	background-color: #e55c00 !important;
	color: #fff !important;
	border-color: #fff !important;
	cursor: pointer;
}
.wpcf7-not-valid-tip{
	color: #fff !important;
}
.wpcf7-response-output.wpcf7-mail-sent-ok{
	color: green !important;
}
.wpcf7-validation-errors{
	color: red !important;
}
.wpcf7-quiz {
    width: 2em !important;
    display: inline-block;
    border-radius: 0 !important;
}
/*.subscripcio-footer .wpcf7-form input,
.subscripcio-footer .wpcf7-form select,
.subscripcio-footer .wpcf7-form textarea,
.subscripcio-footer .wpcf7-form input[type=email]{
	background-color: transparent !important;
	color: #fff !important;
	border: 1px solid #fff !important;
}
.subscripcio-footer .wpcf7-form input[type=submit]{
	background-color: transparent !important;
	color: #fff !important;
	border: 1px solid #fff !important;
	cursor: pointer;
}*/
#nav_wrapper {margin-top:15px;}
body.js_nav {overflow: hidden; background: #fff;}
body.js_nav #page_content_wrapper,
body.js_nav .footer_bar {
    -webkit-transform: translate3d(70%, 0px, 0px) scale3d(1, 1, 1);
    -moz-transform: translate3d(70%, 0px, 0px) scale3d(1, 1, 1);
    transform: translate3d(70%, 0px, 0px) scale3d(1, 1, 1);
    background: #000;
}

/*-------   media breakpoints   -------*/
@media only screen and (min-width: 961px) and (max-width: 1170px) {
	#page_caption{
		width: 960px;
	}
}

@media only screen and (min-width: 768px) and (max-width: 960px) {
	#page_caption{
		width: 726px;
	}
}
@media only screen and (min-width: 480px){
	.home article{
		width: 30%;
		padding: 1% 4%;
	}
}

@media only screen and (min-width: 768px){
	.woocommerce ul.products li.product,
	.woocommerce-page ul.products li.product {width: 22% !important;}
	/*.home article{
		width: 48%;
	}*/
	.subscripcio-footer input, select, textarea,
	.subscripcio-footer input[type=email],
	.wpcf7-form select
	{
		width: 30%;
	}
}

@media only screen and (min-width: 960px){
	.home article{
		width: 15%;
		padding: 1% 1%;
	}

	li.carrito a {text-indent: -99999px;}
	li.carrito a:after{
		content: '';
		display: inline-block;
		height: 1.25em;
		width: 1.25em;
		background-image: url('/wp-content/themes/mercury-child/carrito.png');
		background-repeat: no-repeat;
		background-size: contain;
		float: left;
	}
}

@media only screen and (max-width: 767px) {
	#page_caption{
		width: 300px;
	}
}

@media only screen and (min-width: 480px) and (max-width: 767px) {
	#page_caption{
		width: 420px;
	}
}
