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

 /* Google Maps
--------------------------------------------- */

.home #custom-map {
	margin-bottom: 25px;
}

.pagina-contacto #custom-map {
	margin-top: 80px;
}

.pagina-contacto .site-inner {
	margin-top: 100px;
}

.ancho-completo {
	color: #FFF;
	/* min-height: 600px; */
	width: 99.9vw;
	margin-left: calc(-50vw + 50%);
	height: 448px;
	/* overflow: auto; */
	/* display: block; */
	-webkit-background-size: cover;
	-moz-background-size: cover;
	background-attachment: fixed;
	background-position: 50% 0px;
	background-repeat: no-repeat;
	background-size: cover;
}

.ancho-completo .inner {
	max-width: 1280px;
	padding: 50px 0;
	margin: 0 auto;
	text-align: justify;
}

#infomapa {
	color: #aaacab;
	text-align: center;
	text-transform: uppercase;
}

#infomapa img {
	max-width: 270px;
	margin: 0 auto 5px;
	display: block;
}

#infomapa .nombre-negocio {
	font-weight: bold;
	font-size: 1.8em;
	display: block;
	margin-bottom: 5px;
}

#infomapa a {
	color: #0066cc;
	text-decoration: none;
}

#infomapa a:hover {
	text-decoration: underline;
}

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

/*
.seo_slider_widget,
.page-header,
.entry,
.widget_text,
.hero-section,
.ancho-completo {
	opacity: 0;
}

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

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

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

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

#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;
}

.callnowbutton {
	display:none;
}

.callnowbutton .icon {
	color: white;
	background: #0066cc;
	padding: 0px 10px;
	border-radius: 5px;
	width: 45px;
	height: 60px;
	display: block;
	text-align: center;
	font-size: 35px;
}

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

.ssl_seal {
	float: none;
	width: 120px;
	position: relative;
	margin-bottom: 60px;
	margin: 20px auto 0;
}

.ssl_seal:hover:before {
	content: "Web Segura - Comodo SSL Certificate www.tecniproyect.es";
	font-family: arial;
	font-style: normal;
	background: rgba(3,3,3,0.8);
	border: 1px dotted #777;
	border-radius: 5px;
	padding: 15px;
	color: white;
	font-size: 12px;
	display: block;
	position: absolute;
	left: 125px;
	top: 10px;
	border-radius: 10px;
	width: 220px;
}

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

.galeria img:hover {
	filter:alpha(opacity=65); 
	-moz-opacity: 0.65; 
	opacity: 0.65;
	-khtml-opacity: 0.65;
	border: none;
}

.galeria img {
	border: none !important;
}

.video-container {  /* Para hacer los vídeos youtube responsive */
	position: relative;
	padding-bottom: 56.25%;
	height: 0;
	overflow: hidden; 
	margin-bottom: 25px;
}

.video-container iframe, .video-container object, .video-container embed, .video-container video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.entry-background {
	display: none;
}
 
.full-width-content.featured-image .site-inner {
	margin-top: 100px;
} 

.subtitulo {
	font-size: 2rem;
	display: block;
	margin-bottom: 20px;
	font-weight: bold;
	color: #D4E0EB;
}

.front-page-1 p.disclaimer {
	font-size: 14px;
	font-size: 1.4rem;
	line-height: 2rem;
	color: #EEE;
}

.header-image .title-area {
	height: 60px;
	width: 320px;
}

.header-image .site-title > a {
	min-height: 60px;
}

.wp-block-cover {
	min-height: 500px;
}

.share-before {
	text-align: center;
}

.page .entry-title {
	text-align: center;
}

.entry-header::after {
	border-bottom: 1px solid #CCC;
	margin: 0 auto 40px;
	width: 100px;
}

.site-header {
	box-shadow: 0 0 20px rgba(0,0,0,0.05);
}

.servicio {
	display: block;
	float: left;
	width: 48%;
	margin: 0 1% 40px;
	overflow: hidden; 
	position: relative;
	text-align: center;
}

.servicio .image {
	display: block;
	width: 100%;
	height: auto;
	overflow: hidden;
	-webkit-filter: grayscale(100%);
	filter: grayscale(100%);	
}

.servicio .image:hover {
	-webkit-filter: grayscale(0%); /* Safari 6.0 - 9.0 */
	filter: grayscale(0%);	
    -webkit-filter: saturate(150%); /* Safari 6.0 - 9.0 */
    filter: saturate(150%);
}

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

.servicio .image:hover::before {
	opacity: 1;
}

.servicio .image::before {
	opacity: 0;
	display: block !important;
	position: absolute;
	z-index: 1;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 97%;
	background: rgba(42, 49, 57, 0.5);
	content: '';
	pointer-events: none;
	transition: all 0.1s ease;
}

.servicio .title {
	position: absolute;
	z-index: 2;
	top: 100%;
	left: 50%;
	opacity: 0;
	color: #ffffff;
	font-size: 1.1em;
	font-weight: 700;
	text-decoration: none;
	transform: translate(-50%, -50%);
	pointer-events: none;
	transition: all 0.3s ease;
}

.servicio .image:hover + .title, 
.servicio .image:focus + .title {
	top: 50%;
	opacity: 1;
}

.bloque-contacto {
	clear: both;
	padding: 50px 50% 20px !important;
}

.wp-block-cover {
	box-shadow: 0 40px 40px rgba(0,0,0,0.15);
	margin-bottom: 60px;	
}

.front-page-1 .flexible-widgets.widget-full .widget .widget-wrap {
	padding-right: 25%;
}

.front-page-1 .widget-title {
	max-width: 75%;
}

.site-footer {
	padding-top: 0;
}

.pie-pagina {
	margin-top: 20px;
}

.page .site-inner,
.page .entry {
	margin-bottom: 0;
}

.entry-meta {
	text-align: center;
}

.home .entry-meta {
	text-align: left;
}

.ion-chevron-down:before {
	content: "\f3d0";
}

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

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

	.front-page-1 .flexible-widgets.widget-full .widget .widget-wrap {
		padding-right: 0;
	}

	.bloque-contacto {
		clear: both;
		padding: 50px 20% 20px !important;
	}
	
}

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

	.wp-block-cover {
		margin-left: -190px;
		margin-right: -190px;
		min-width: 1062px;	
		min-height: 400px;
	}
	
	.site-inner,
	.full-width-content.featured-image .site-inner {
		margin-top: 150px;
	}
 
}

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

	.bloque-contacto {
		padding: 50px 5% 20px !important;
	}

	.wp-block-cover {
		margin-left: -50px;
		margin-right: -50px;
		min-width: 800px;	
		min-height: 300px;
	}

}

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

	.callnowbutton {
		position: fixed; 
		display: block;	
		right: 15px;
		bottom: 15px;
		z-index: 9999;
	}

	.servicio {
		width: 100%;
		margin: 0 0 40px;
	}	

	.servicio .title {
		position: relative;
		top: 20px;
		opacity: 1;
		color: #333;
		font-size: 19px;
		font-weight: 700;	
	}
	
	.servicio .image:hover::before {
		opacity: 0;
	}

	.servicio .image:hover + .title, .servicio .image:focus + .title {
		top: 20px;
	}
	
	.front-page-1 .flexible-widgets {
		padding-top: 120px;
	}
	
	.front-page-1 .widget-title {
		max-width: 100%;
		font-size: 50px;
		font-size: 5rem;
	}
	
	.subtitulo {
		font-size: 17px;
		font-size: 1.7rem;
	}
	
	.front-page-2 .flexible-widgets .widget:nth-of-type(1) .widget-title, .front-page-3 .flexible-widgets .widget:nth-of-type(1) .widget-title, .front-page-4 .flexible-widgets .widget:nth-of-type(1) .widget-title {
		font-size: 40px;
		font-size: 4rem;
		margin-bottom: 20px;
	}

	.page .site-inner,
	.page .entry,
	.site-inner, .full-width-content.featured-image .site-inner {
		margin-top: 25px;
	}
	
	.pagina-contacto #custom-map {
		margin-top: 0px;
	}

	.wp-block-cover {
		margin-left: -50px;
		margin-right: -50px;
		min-width: 600px;	
		min-height: 200px;
	}
	
	.entry-title {
		font-size: 30px;
		font-size: 3rem;
	}

}

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

	.site-header {
		padding-left: 0;
	}
	
	.header-image .title-area {
		width: 300px;
	}
	
	.menu-toggle {
		padding-top: 28px;
	}
	
	.front-page-1 .widget-title {
		font-size: 40px;
		font-size: 4rem;
	}

	.front-page-2 .flexible-widgets .widget:nth-of-type(1) .widget-title, .front-page-3 .flexible-widgets .widget:nth-of-type(1) .widget-title, .front-page-4 .flexible-widgets .widget:nth-of-type(1) .widget-title {
		font-size: 30px;
		font-size: 3rem;
	}

	.entry-title,
	.page .entry-title {
		font-size: 25px;
		font-size: 2.5rem;
		margin-bottom: 20px;
	}
	
	.entry-header::after {
		display: none;
	}
	
	body > div {
		font-size: 17px;
		font-size: 1.7rem;
	} 
	
	.archive-description {
		margin-bottom: 0;
	}
	
	.page-template-page_blog .site-inner,
	.full-width-content.featured-image .site-inner {
		margin-top: 25px;
	}
	
	.page-template-page_blog .entry {
		margin-top: 20px;
	}
	
}

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

	.header-image .title-area {
		width: 280px;
	}
	
	.front-page-1 .widget-title {
		font-size: 35px;
		font-size: 3.5rem;
	}
	
	#infomapa img {
		max-width: 230px;
	}	

	.wp-block-cover {
		margin-left: -30px;
		margin-right: -30px;
		min-width: 400px;
		min-height: 190px;
	}
}

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

	.header-image .title-area {
		width: 230px;
	}
	
	.front-page-1 .widget-title {
		font-size: 30px;
		font-size: 3rem;
	}
	
	#infomapa img {
		max-width: 180px;
	}	

	.front-page-1 .flexible-widgets {
		padding-top: 70px;
	}
	
	.pagina-contacto .ancho-completo {
		height: 250px;
	}
	
	.pagina-contacto .site-inner {
		margin-top: 0px;
	}

}