/**
 * Custom styles.
 */
 
/* Gravity Forms
--------------------------------------------- */
::-webkit-input-placeholder { color: #AAA; }
:-moz-placeholder { opacity: 1; color: #AAA; } /* Firefox 18- */
::-moz-placeholder { opacity: 1; color: #AAA; } /* firefox 19+ */
:-ms-input-placeholder { color: #AAA; } /* ie */
input:-moz-placeholder { color: #AAA; }


@font-face {
    font-family: 'OPTIAmericanGothicBold';
    src:	url('fonts/optiamericangothic-bold-webfont.woff2') format('woff2'),
        	url('fonts/optiamericangothic-bold-webfont.woff')  format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'OPTIAmericanGothicMedium';
    src:	url('fonts/optiamericangothic-medium-webfont.woff2') format('woff2'),
        	url('fonts/optiamericangothic-medium-webfont.woff')  format('woff');
    font-weight: normal;
    font-style: normal;
}

h1, h2,
.inner-date-new,
.fuentecercaolid span,
.fuentecercaolid p,
.fuentecercaolid div {
	font-family: "OPTIAmericanGothicBold" !important;
}

/*
h3, h4, h5, h6 {
	font-family: "OPTIAmericanGothicMedium" !important;
}
*/


/* Gutenberg
------------------------------------------------------------ */
/*
.has-negro-color				{ color: #000000 !important; }
.has-negro-background-color		{ background-color: #000000 !important; }
.has-blanco-color				{ color: #FFFFFF !important; }
.has-blanco-background-color	{ background-color: #FFFFFF !important; }
.has-gris-color					{ color: #F5F5F5 !important; }
.has-gris-background-color		{ background-color: #F5F5F5 !important; }
.has-azul-color					{ color: #06c !important; }
.has-azul-background-color		{ background-color: #06c !important; }
*/

/* Animación
---------------------------------------------------------------------------------------------------- */

/* Opacity: 0. Esto es necesario para que los elementos que haya que animar, empiecen siendo invisibles para evitar efecto aparición/desaparición. Tienen que estar aquí todos los que se incluyan en el archivo animation.js */

/*
.wp-block-getwid-section:not(.no-animation),
.wp-block-getwid-icon-box:not(.no-animation),
.wp-block-columns:not(.no-animation),
.wp-block-table:not(.no-animation),
.blockgallery--item:not(.no-animation),
.gform_wrapper:not(.no-animation),
.wp-block-pullquote:not(.no-animation),
.wp-block-getwid-post-carousel:not(.no-animation),
.wp-block-getwid-image-hotspot:not(.no-animation),
.post:not(.no-animation),
.wp-block-gallery {
	opacity: 0;
}

@-webkit-keyframes animacionFadeInUp {
	from { opacity: 0; -webkit-transform: translateY(50px); }
	to { opacity: 1; -webkit-transform: translateY(0); }
}

@keyframes animacionFadeInUp {
	from { opacity: 0; transform: translateY(50px); }
	to { opacity: 1; transform: translateY(0); }
}

.animacionFadeInUp {
	-webkit-animation-name: animacionFadeInUp;
	animation-name: animacionFadeInUp;
}

.fadeup-effect {
	opacity: 0;
	-webkit-animation-duration: 1s;
	animation-duration: 1s;
	-webkit-animation-fill-mode: both;
	animation-fill-mode: both;
	-webkit-animation-timing-function: ease-in-out;
	animation-timing-function: ease-in-out;
}

.home .icon {
	transition: all 0.25s ease;
}

.content a img {
	transition: all .3s ease-in-out; 
}

.content a:hover img {
	-ms-transform: scale(1.05) !important; 
	-webkit-transform: scale(1.05) !important;
	transform: scale(1.05) !important;  
}
*/

/* Custom (general)
--------------------------------------------- */

.tabla-cookies thead th:nth-child(1) {	width: 15%;  }
.tabla-cookies thead th:nth-child(2) {	width: 15%; }
.tabla-cookies thead th:nth-child(3) {	width: 45%; }
.tabla-cookies thead th:nth-child(4) {	width: 15%; }
.tabla-cookies thead th:nth-child(5) {	width: 10%; }
.tabla-cookies thead th { text-align: center;}
.tabla-cookies td:nth-child(1), .tabla-cookies td:nth-child(2), .tabla-cookies td:nth-child(4), .tabla-cookies td:nth-child(5) {text-align: center; }
.tabla-cookies td { border-top: 1px solid #ddd; }
.tabla-cookies tbody { border-bottom: 1px solid #ddd; }

.callnowbutton, .whatsappbutton {
	display:none;
	position: fixed; 
	right: 15px;
	bottom: 15px;
	z-index: 9999;
	background: none;
}

.whatsappbutton {
	right: 60px;
}

.callnowbutton .icon, .whatsappbutton .icon {
	color: white;
	background: #d59c94;
	padding: 7px 0 0 0;
	border-radius: 5px;
	width: 45px;
	height: 55px;
	display: block;
	text-align: center;
	font-size: 40px;
	line-height: 1;
}

.callnowbutton .icon:hover {
	color: white !important;
}

.whatsappbutton .icon {
	color: #3ae676;
	background: none;
}

.callnowbuttondesktop:hover:before {
	content: "Déjanos tus datos y te llamamos de inmediato";
	background: #333;
	padding: 5px 10px;
	color: white;
	font-size: 12px;
	display: block;
	position: absolute;
	right: 0;
	top: -50px;
	border-radius: 10px;
	width: 230px;
	line-height: 1.5;
	text-align: right;
}

/* Versión Elementor
.callnowbutton, .whatsappbutton {
	position: fixed; 
	right: 15px;
	bottom: 15px;
	z-index: 9999;
	display: none;
}

.whatsappbutton {
	right: 65px;
}

.callnowbutton .elementor-icon, .whatsappbutton .elementor-icon {
	color: #FFF;
	background: #981528;
	padding: 10px 5px;
	border-radius: 5px;
	font-size: 35px;
}

.whatsappbutton .elementor-icon {
	color: #3ae676;
	background: none;
}

.callnowbutton .elementor-icon:hover, .whatsappbutton .elementor-icon:hover {
	background: #fec625;
}

*/

.ast-single-post .entry-header.ast-no-title.ast-no-thumbnail {
	margin: 0em auto;
	text-align: center;
}

.ast-single-post .ast-advanced-headers-wrap, .single .ast-advanced-headers-title {
	margin: 0 auto;
}


.mapa-hotspot img, .wp-block-getwid-image-hotspot__image { /* Para que el image Hotspot no redimensione la imagen y se quede centrada en pantalla en móviles  */
	max-width: none !important;
	margin-left: 50% !important;
	margin-top: 0!important;
	margin-bottom: 0!important;
	transform: translateX(-50%) !important;
	width: auto !important;
}

.mapa-hotspot .uael-hotspot {
	max-width: 100vw;
	width: 100%;
}

.mapa-hotspot, .wp-block-getwid-image-hotspot__wrapper {
	overflow: hidden;
}

.tooltipster-box a {
	color: #FFFFFF;
	text-decoration: underline;
}
 
.wp-block-getwid-image-hotspot {
	max-height: 600px;
	background: #f5f5f5;
}

#cookie-law-info-bar {
	background-color: rgba(0, 0, 0, 0.75) !important;
	color: #FFF !important;
	border-top: none !important;
	min-height: 50px;
}

#cookie-law-info-bar span {
	color: white !important;
	margin: 5px 50px;
	display: block;
	font-size: 14px;
}

#cookie_action_close_header {
	color: white !important;
	background-color: #555 !important;
	text-decoration: none!important;
}

#cookie-law-info-bar a {
	color: white !important;
	text-decoration: underline;
	font-size: 14px;
}

#cookie-law-info-bar a:hover {
	color: #ABABAB!important;
}

.donde-estamos {
	background: none repeat scroll 0 0 #FBFBFB;
	border-bottom: 1px solid #ECECEC;
	border-top: 1px solid #ECECEC;
	margin: 20px 0;
	overflow: auto;
	padding: 10px;
	text-align: center;
	color: #617183;
}

.ssl_seal {
	float: left;
	width: 120px;
	position: relative;
	margin: 0;
}

.ssl_seal:hover:before {
	content: "Web Segura - Comodo SSL Certificate www.cercaolid.es";
	font-family: arial;
	font-style: normal;
	background: rgba(3,3,3,0.8);
	padding: 5px;
	color: white;
	font-size: 12px;
	display: block;
	position: absolute;
	left: 125px;
	top: 12px;
	border-radius: 10px;
	width: 250px;
	line-height: 1.5;
	text-align: center;
}

a.linkopacity img, a.img {
	filter:alpha(opacity=100);
	-moz-opacity: 1.0; 
	opacity: 1.0;
	-khtml-opacity: 1.0;
}


a.linkopacity:hover img, a:hover img {
	filter:alpha(opacity=65); 
	-moz-opacity: 0.65; 
	opacity: 0.65;
	-khtml-opacity: 0.65;
	/*transition: all 0.5s ease;*/
}


/* WooCommerce
---------------------------------------------------------------------------------------------------- */

/*
.woocommerce #content .ast-woocommerce-container div.product div.images, .woocommerce .ast-woocommerce-container div.product div.images, .woocommerce-page #content .ast-woocommerce-container div.product div.images, .woocommerce-page .ast-woocommerce-container div.product div.images {
	width: 100%;
}
*/

.woocommerce .woocommerce-breadcrumb, .woocommerce .woocommerce-breadcrumb a {
	margin: 0 0 2em;
	padding: 0;
	font-size: .92em;
	color: #AAA !important;
}

.single-product .entry-title {
	margin: 0 !important;
}

.variations_form {
    margin-bottom: -60px;
}

.woocommerce-product-details__short-description {
	margin-top: 60px;
}

.summary .single-product-category {
	border-top: 1px dashed #EEE;
	padding-top: 10px;
	text-align: right;
	margin-top: 30px;
}

.summary .single-product-category a:before {
	content: "Categoría: ";
	color: #7777;
	letter-spacing: 2px;
	font-size: 14px;
}

.woocommerce #content div.product .woocommerce-tabs ul.tabs li, .woocommerce div.product .woocommerce-tabs ul.tabs li, .woocommerce-page #content div.product .woocommerce-tabs ul.tabs li, .woocommerce-page div.product .woocommerce-tabs ul.tabs li {
	background: #EFEFEF;
	padding: 0 10px;
}

body.single-product,
body.woocommerce-shop,
body.single-post {
	background: #FFFFFF !important;
	background: linear-gradient(180deg, rgba(255,255,255,1) 50%, rgba(249,246,252,1) 100%) !important;
}

.single_variation_wrap,
.reset_variations,
.additional_information_tab {
    display: none !important;
}

.ast-woocommerce-product-gallery__image {
	max-width: 70px !important;
}

.woocommerce-product-gallery__image {
	max-height: 500px !important;
}

.woocommerce div.product form.cart .variations {
	border: none !important;
}


.button.product_type_simple.add_to_cart_button.ajax_add_to_cart {
	display: none;
}

.woocommerce-ordering select.orderby {
	max-width: 160px;
	font-size: 14px;
}

#h2-filtros {
	display: none !important;
}


.woocommerce-brand-image-single {
	float: right;
	width: 70px;
	margin: 0 0 15px 25px;
	box-shadow: 1px 1px 10px 3px #eee;
	padding: 5px;
	position: absolute;
	top: -40px;
	right: 0;
}

.woocommerce-checkout p.woocommerce-invalid-required-field span.error {
	color: #e2401c;
	display: block !important;
	font-weight: bold;
}

.woocommerce-checkout .woocommerce-error li[data-id="billing_first_name"],
.woocommerce-checkout .woocommerce-error li[data-id="billing_last_name"],
.woocommerce-checkout .woocommerce-error li[data-id="billing_address_1"],
.woocommerce-checkout .woocommerce-error li[data-id="billing_address_2"],
.woocommerce-checkout .woocommerce-error li[data-id="billing_postcode"],
.woocommerce-checkout .woocommerce-error li[data-id="billing_city"],
.woocommerce-checkout .woocommerce-error li[data-id="billing_phone"] {
	display: none !important;
}


.woocommerce ul.products li.product .ast-woo-product-category, .woocommerce-page ul.products li.product .ast-woo-product-category {
	margin-bottom: 0;
}

a.ast-loop-product__link h2:hover {
	color: #6d348b !important;
}


/*

//* Para que en la vista previa, la imagen ocupe el 100% del ancho
#ast-quick-view-content div.images {
	width: 100% !important;
}

.woocommerce div.product form.cart .variations {
	border-bottom: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
	display: none;
}

.woocommerce div.product.ast-product-gallery-layout-vertical div.images .flex-control-thumbs li {
	max-width: 100px;
}

.woocommerce-variation-add-to-cart.variations_button.woocommerce-variation-add-to-cart-disabled,
.single_variation_wrap,
.woocommerce div.product form.cart .reset_variations,
.variations .label {
    display: none !important;
}

@media only screen and (min-width: 922px) {

	.woocommerce div.product.ast-product-gallery-layout-vertical div.images .flex-control-thumbs {
		width: calc(15% - 1em);
	}

	.woocommerce div.product.ast-product-gallery-layout-vertical .flex-viewport {
		width: 85%;
	}

}

*/


/* Astra
---------------------------------------------------------------------------------------------------- */

.site-above-header-wrap {
	max-width: 1800px;
	padding: 0 25px;
}

.elementor-widget .elementor-icon-list-item, .elementor-widget .elementor-icon-list-item a {
	align-items: start;
}

.elementor-icon-list-item .elementor-icon-list-icon {
	margin-top: 8px;
}

	/* Para que el filtro de productos no active un "overlay" y se pueda navegar por el listado de productos con el filtro abierto */

/*
	.ast-off-canvas-overlay{
		overflow: auto !important;
	}

	.ast-off-canvas-overlay .woocommerce .astra-off-canvas-sidebar-wrapper, .ast-off-canvas-overlay .woocommerce-page .astra-off-canvas-sidebar-wrapper{
		width: auto;
	}
*/


/* FacetWP
---------------------------------------------------------------------------------------------------- */
	.facet-titulo {
		font-size: 12px;
		letter-spacing: 1px;
		display: block;
		margin: 0;
		padding: 0;
	}

	button.facetwp-flyout-open {
		display: none;
		float: right;
		top: 0;
		right: 20px;
		font-size: 10px;
		padding: 0px 8px;
		background: red;
		position: relative;
		top: 30px;
		}

	.boton-reset-filtros button {
		font-size: 10px;
		letter-spacing: 1px;
		padding: 3px 8px;
		margin-bottom: 5px;
	}

	.facetwp-flyout {
		font-size: 15px;
		height: 80vh !important;
		background: rgba(255,255,255,0.95) !important;
		min-width: 50vw;
		text-align: left;
	}

	.facetwp-flyout h1, .facetwp-flyout h2, .facetwp-flyout h3 {
		font-size: 23px;
		text-align: left;
		text-transform: none;
		letter-spacing: -1px;
		margin-top: 0;
	}


	.facetwp-flyout-wrap {
		position: absolute;
		width: 100%;
		height: calc(100% - 40px);
		overflow: auto;
	}

	.facetwp-flyout-close {
		line-height: 7px;
		font-size: 23px;
	}

	.facetwp-flyout-facet h3 {
		font-size: 1.8rem;
		font-size: 18px;
		margin-bottom: 3px;
	}

	.facetwp-flyout-facet .facetwp-facet {
		margin-bottom: 10px;
	}

	.boton-facetwp, input.facetwp-autocomplete-update {
		font-size: 11px;
		padding: 15px;
	}

	.facetwp-counter {
		display: none;
	}

	.fcomplete-result, .fcomplete-status {
		padding: 10px 8px !important;
	}	
	
	.facetwp-selections {
		clear: both;
		text-align: left;
		font-size: 13px;
		margin-bottom: 30px;
	//	border: 1px dotted #ccc;
		float: left;
	}

	.facetwp-selections:before {
	//	content: "Tu selección: ";
		display: inline-block;
	}

	.facetwp-selections ul {
		display: inline-block;
		margin-left: 0;
	}

	.facetwp-selections li {
		display: inline-block;
		line-height: 1;
		background: #F5F5F5;
		margin-right: 5px;
		padding: 5px 0px 5px 10px;
		border-radius: 8px;
	}
	
	.facetwp-selections .facetwp-selection-value {
		background-image: url(https://www.despachotres.com/images/close-filter.png) !important;
	}
	
	#borrar-filtros {
		float: left;
		font-size: 12px;
		text-transform: uppercase;
		color: #45a062;
		cursor: pointer;
	}

	input.facetwp-autocomplete-update {
		display: none;
	}

	.facetwp-page {
		font-weight: bold;
		cursor: default;
		border: 1px solid black;
		border-radius: 0;
		padding: 4px !important;
		height: 40px;
		width: 40px;
		text-align: center;
		margin-right: 8px!important;
	}

	.facetwp-page.active,
	.facetwp-page:hover {
		background: #000;
		color: #FFF;
	}
	
	.facetwp-page.prev, .facetwp-page.next {
		border: none;	
	}
	
	.facetwp-counter {
		display: none !important;
	}	
	
	.mensaje-filtros {
		font-size: 12px;
		letter-spacing: 1px;
		text-transform: uppercase;
		color: #999;
		line-height: 13px !important;
		display: block !important;
		display: none;
		margin-top: 20px;
	}
	
	.facetwp-slider-reset {
		padding: 8px!important;
		background: #000 !important;
		float: right;
		font-size: 9px!important;
	}
	
	.facetwp-counts {
		letter-spacing: 2px;
		color: rgb(153, 153, 153);
		font-size: 12px;
	} 

.blog #content .ast-container,
.single #content .ast-container,
.textos-legales #content .ast-container {
	max-width: 1100px !important;
}

.entry-meta, .entry-meta * {
    color: #777 !important;
    letter-spacing: 2px;
    font-size: 14px;
}

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

.ast-header-break-point .header-widget-area[data-section="sidebar-widgets-header-widget-1"],
.ast-header-break-point .ast-builder-layout-element.site-header-focus-item.ast-header-html-3,
.ast-header-break-point #product-search-field-0 {
	display: block;
	width: 100%;
}	

.gform_required_legend {
	display: none;
}

.single .entry-content p {
	text-align: justify;
}

.single-product .wc-tab table, .single-product .wc-tab table td,
.single-product .woocommerce-tabs table, .single-product .woocommerce-tabs table td {
	background: #F9F9F9;
	border: 4px solid #FFF;
	text-align: center;
}

.woocommerce-tabs .single-product table {
	margin-bottom: 30px !important;
}

.disclaimer {
	color: #999;
	font-size: 13px;
	border: 1px dashed #999;
	padding: 5px 10px;
	line-height: 17px;
	display: block;
	margin-top: 0px;
}

.home .ast-header-search .astra-search-icon {
	color: white !important;
}

/*
Media Queries
---------------------------------------------------------------------------------------------------- */

@media only screen and (max-width: 1024px) {

	.moove-gdpr-info-bar-container {
		padding-right: 150px !important;
	}
	
	.woocommerce .ast-shop-toolbar-container {
		margin-bottom: 0;
	}

}

@media only screen and (max-width: 990px) {

	.facetwp-counts {
		display: none;
	}

}


@media only screen and (max-width: 767px) {

	.moove-gdpr-info-bar-container {
		padding-right: 20px !important;
	}

	.ast-site-header-cart, .woocommerce .ast-site-header-cart {
		padding-top: 10px;
	}

}

@media only screen and (max-width: 544px) {

	.ast-header-break-point .ast-shop-toolbar-container {
		position: initial !important;
	}
	.woocommerce-ordering {
		display: none;
	}
	
	.ast-shop-toolbar-aside-wrap,
	.astra-shop-filter-button.ast-flyout-filter,
	.ast-products-view {
		display: block !important;
	}

	.astra-shop-filter-button.ast-flyout-filter {
		float: left!important;
	}

	.ast-products-view {
		float: right !important;
		margin-top: -20px;
	}
	
}

@media only screen and (max-width: 520px) {

	.callnowbutton, .whatsappbutton {
		display: block;	
	}

	.mapa-hotspot img, .wp-block-getwid-image-hotspot__image {
		max-height: 400px;
	}

	.ast-advanced-headers-layout {
		padding-top: 100px;
		padding-bottom: 100px;
	}

	.ssl_seal {
		float: none;
		margin: 0 auto;
	}
	
	.ssl_seal:hover:before {
 		width: 150px;
 	}

	.ast-header-account-wrap .ast-header-account-type-avatar .avatar {
		width: 30px;
	}
	
	/* botones de vista previa y carrito ocultos en móviles */
	.ast-on-card-button,
	.ast-on-card-button.ast-quick-view-trigger {
		display: none !important;
	}
	.button.product_type_simple.add_to_cart_button.ajax_add_to_cart {
		display: block;
	}
	
	.ast-header-break-point .ast-shop-toolbar-container .ast-shop-toolbar-aside-wrap {
		margin-bottom: 0;
	}
		
}
