/**
 * 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; }

/* 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-claro-color				{ color: #F5F5F5 !important; }
.has-gris-claro-background-color	{ background-color: #F5F5F5 !important; }
.has-gris-oscuro-color				{ color: #414141 !important; }
.has-gris-oscuro-background-color	{ background-color: #414141 !important; }
.has-azul-color						{ color: #1b69a0 !important; }
.has-azul-background-color			{ background-color: #1b69a0 !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 {
	position: fixed; 
	right: 15px;
	bottom: 15px;
	z-index: 9999;
	display: none;
}

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

.callnowbutton .elementor-icon:hover {
	background: #414141;
}

.ast-single-post .entry-header.ast-no-title.ast-no-thumbnail {
/*	margin: 2em 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: 100% ;
}

.mapa-hotspot, .wp-block-getwid-image-hotspot__wrapper {
	overflow: hidden;
}
 
.wp-block-getwid-image-hotspot {
	max-height: 600px;
	background: #f5f5f5;
}

/* Custom (Jpalacin)
--------------------------------------------- */
.solo-movil {
	display: none !important;
}

.nosoyadmin .solo-administradores {
	display: none !important;
}

.inicia-sesion {
	background: #1b69a0;
	color: #FFF;
	padding: 50px;
	font-size: 18px;
}

.inicia-sesion a {
	color: #FFF;
	text-decoration: underline;
}

.inicia-sesion a:hover {
	text-decoration: none;
}

.alta-usuario-exito {
	background: #D8E1EF85;
	padding: 20px;
}

li.menu-area-privada > a:before {
	content: " ";
	display: inline-block;
	width: 25px;
	background: url(https://www.jpalacin.com/wp-content/uploads/2021/06/lock.png) center center;
	height: 25px;
	background-repeat: no-repeat;
	background-size: 17px auto;
	vertical-align: middle;
	margin-right: 4px;
}

.area-privada .members-mensaje-error {
	display: none;
}

.elementor-tab-content td {
	font-size: 12px;
	letter-spacing: 1px;
}

.elementor-tab-content tr:hover {
	background: #F5F5F5;
}



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

.single-product .ast-container {
	max-width: 1000px;
}

.woocommerce-product-gallery, .woocommerce .entry-summary {
	width: 100% !important;
}

.woocommerce .entry-summary td:nth-child(1) { 
	font-weight: bold;
	width: 33%;
}

.mas-informacion .ast-custom-button {
	display: inline-block;
	margin: 10px 0 100px !important;
	border-color: #F95E1C !important;
	background-color: #F95E1C !important;
}

.mas-informacion .ast-custom-button:hover {
	border-color: #414141 !important;
	background-color: #414141 !important;
}

#ast-quick-view-content div.images {
	width: 100% !important;
}

#ast-quick-view-content .product_title.entry-title:before {
	content: " ";
	display: block;
	border-top: 1px solid #1b69a0;
	width: 50px;
}

.single-product tr:hover {
	background: #F5F5F5;
}

.ast-builder-grid-row-4-equal .ast-builder-grid-row {
	grid-template-columns: 1.5fr repeat( 3,1fr ) !important;
}

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

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

	.menu-inicio{ 
		display: none !important;
	}
	
	#masthead .ast-container, .site-header-focus-item + .ast-breadcrumbs-wrapper {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
	
	.ast-desktop .ast-primary-header-bar.main-header-bar, .ast-header-break-point #masthead .ast-primary-header-bar.main-header-bar {
		padding-left: 25px !important;
		padding-right: 25px !important;
	}
	
	.ast-builder-menu-1 .menu-item > .menu-link {
		padding-left: 10px !important;
		padding-right: 10px !important;
	}
}

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

	.menu-inicio{ 
		display: block !important;
	}
	
}


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

	.solo-movil {
		display: flex !important;
	}

	.ast-builder-grid-row-4-equal .ast-builder-grid-row {
		grid-template-columns: repeat( 4,1fr ) !important;
	}

}


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

	.ast-builder-grid-row-4-equal .ast-builder-grid-row {
		grid-template-columns: repeat( 2,1fr ) !important;
	}

}

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

	.callnowbutton {
		display: block;	
	}

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

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

	.ast-builder-grid-row-4-equal .ast-builder-grid-row {
		grid-template-columns: 1fr !important;
	}

}

