/*
 Theme Name:     Divi - Child 
 Theme URI:      https://www.hgmnetwork.com
 Description:    Tema hijo para el tema Divi de Elegant Themes 
 Author:         HGM Network
 Author URI:     https://www.hgmnetwork.com
 Template:       Divi
 Version:        1.0.0
*/

 /* Ruta del archivo CSS del tema */

@import url("../Divi/style.css");

/*------------------------------------------------------------- 
A partir de aquí puedes poner tus estilos de CSS personalizados 
------------------------------------------------------------ */

/* ###  FORMULARIO DE CONTACTO (POR HGM NETWORK)  ### */

/* RESPONSIVE */

#responsive-form{
	max-width:1200px !important /*-- change this to get your desired form width --*/;
	margin:0 auto;
        width:100%;
}
.form-row{
	width: 100%;
}
.column-half, .column-full{
	float: left;
	position: relative;
	padding: 0.65rem;
	width:100%;
	color: #333333;
	-webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box
}
.clearfix:after {
	content: "";
	display: table;
	clear: both;
}

/**---------------- Media query ----------------**/
@media only screen and (min-width: 48em) { 
	.column-half{
		width: 50%;
	}
}

/* ESTILOS */

.wpcf7-text, .wpcf7-textarea, .wpcf7-select, .wpcf7-dynamictext, .wpcf7-captchar, .wpcf7-select {
    background-color: #eee !important;
    border: 1px solid rgba (231,133,0,0.2) !important;
    width: 100% !important;
    -moz-border-radius: 0 !important;
    -webkit-border-radius: 0 !important;
    border-radius: 0 !important;
    font-size: 14px;
    color: #333 !important;   /* Color del texto introducido en los inputs */
    padding: 16px !important;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

/* ===  COLOR FUENTE DEL PLACEHOLDER (SUSTITUIR COLOR Y PROPIEDADES POR AQUELLAS QUE SE QUIERAN INCLUIR  === */

::-webkit-input-placeholder {
   color: #333333 !important;
   font-weight: bold;
}

:-moz-placeholder { /* Firefox 18- */
   color: #333333 !important;
   font-weight: bold;   
}

::-moz-placeholder {  /* Firefox 19+ */
   color: #333333 !important;
   font-weight: bold;   
}

:-ms-input-placeholder {  
   color: #333333 !important;
   font-weight: bold;
}

/* ===  /  === */


.wpcf7-submit {
    color: #FFF !important;
    margin: 8px auto 0;
    cursor: pointer;
    font-size: 20px;
    font-weight: 500;
    -moz-border-radius: 0px;
    -webkit-border-radius: 0px;
    border-radius: 0px;
    padding: 6px 20px;
    line-height: 1.7em;
    background: #E78500 !important;
    border: 2px solid #E78500 !important;
	width: 100% !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -moz-transition: all 0.2s;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
}

.wpcf7-submit:hover { 
    background-color: transparent !important;
	color: #E78500 !important;
    border-color:#E78500; 
    padding: 6px 20px !important; 
}

.marco {
	color: black;
	padding-top: 20px;
	padding-bottom: 20px;
	padding-left: 20px;
	padding-right: 20px;
	font-size: 14px;
	text-align: justify;
	background-color: transparent;
	border: 2px solid #e76d00;
}

/* 
	####################################################################################
*/

.marco-contacto {
	font-size: 36px;
	color: white;
	padding-bottom: 20px !important;
	padding-top: 20px;
	background: #E78500;
	text-align: center;
	max-width: 980px;
}


/* 
	BORDER HOVER IMG   #################################################################
*/


.border-hover .et_pb_column {
 overflow: hidden;
 position: relative;
}
 
.border-hover .et_pb_column img {
 -webkit-transition: all 0.5s ease-in-out;
 -moz-transition: all 0.5s ease-in-out;
 transition: all 0.5s ease-in-out;
}
 
.border-hover .et_pb_column:hover img {
 transform: scale(1.1);
}
 
.border-hover .et_pb_column:hover .et_pb_image:after {
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
 background: rgba(177,102,0,0.85);
 content: '';
}
 
.border-hover .et_pb_column .et_pb_promo_description:before {
 top: 50px;
 right: 30px;
 bottom: 50px;
 left: 30px;
 border-top: 1px solid #fff;
 border-bottom: 1px solid #fff;
 -webkit-transform: scale(0,1);
 transform: scale(0,1);
 -webkit-transform-origin: 0 0;
 transform-origin: 0 0;
 position: absolute;
 content: '';
 opacity: 0;
 -webkit-transition: opacity 0.35s,
 -webkit-transform 0.35s;
 transition: opacity 0.35s, transform 0.35s;
}
 
.border-hover .et_pb_column .et_pb_promo_description:after {
 top: 30px;
 right: 50px;
 bottom: 30px;
 left: 50px;
 border-right: 1px solid #fff;
 border-left: 1px solid #fff;
 -webkit-transform: scale(1,0);
 transform: scale(1,0);
 -webkit-transform-origin: 100% 0;
 transform-origin: 100% 0;
 position: absolute;
 content: '';
 opacity: 0;
 -webkit-transition: opacity 0.35s,
 -webkit-transform 0.35s;
 transition: opacity 0.35s, transform 0.35s;
}
 
.border-hover .et_pb_column:hover .et_pb_promo_description:before, .border-hover .et_pb_column:hover .et_pb_promo_description:after {
 -webkit-transition-delay: 0.15s;
 transition-delay: 0.15s;
 opacity: 1;
 -webkit-transform: scale(1);
 transform: scale(1);
}
 
.border-hover .et_pb_column .et_pb_promo_description h2 {
 opacity: 0;
 color: #fff;
 position: absolute;
 top: 37%;
 width: 100%;
 text-align: center;
 -webkit-transition: all 0.5s ease-in-out;
 -moz-transition: all 0.5s ease-in-out;
 transition: all 0.5s ease-in-out;
 margin: 0;
 padding: 0;
}
 
.border-hover .et_pb_column .et_pb_promo_description p {
 opacity: 0;
 color: #fff;
 position: absolute;
 top: 42%;
 width: 100%;
 text-align: center;
 -webkit-transition: all 0.5s ease-in-out;
 -moz-transition: all 0.5s ease-in-out;
 transition: all 0.5s ease-in-out;
}
 
.border-hover .et_pb_column:hover .et_pb_promo_description h2 {
 opacity: 1;
 position: absolute;
 top: 40%;
 width: 100%;
 text-align: center;
 color: #fff;
}
 
.border-hover .et_pb_column:hover .et_pb_promo_description p {
 opacity: 1;
 position: absolute;
 top: 50%;
 width: 100%;
 text-align: center;
 color: #fff;
}
 
.border-hover .et_pb_promo {
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
}
 
.border-hover .et_pb_promo_button {
 opacity: 0;
 position: absolute;
 top: 0;
 left: 0;
 width: 100%;
 height: 100%;
}

.border-hover .et_pb_promo_description { position: static !important; }

/* ################################################### */
.boton-arriba {
	background-color: #E78500 !important;
	padding: 5px !important;
	color: white !important;
	font-size: 13px !important;
	min-width: 190px !important;
	width: 12% !important;
	border: 1px solid #E78500 !important;
	-webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -moz-transition: all 0.2s;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
}

.boton-arriba:hover {
	color: #E78500 !important;
	background: transparent !important;
}

/*
	ANIMACIONES
*/

/*--------FROM LEFT----------*/

.left-animated.et-animated { 
	opacity: 1; 
	-webkit-animation: fadeLeft 1.5s 1 cubic-bezier(0.77,0,.175,1.3); 
	-moz-animation: fadeLeft 1.5s 1 cubic-bezier(0.77,0,.175,1.3); 
	-o-animation: fadeLeft 1.3s 1 cubic-bezier(0.77,0,.175,1.3); 
	animation: fadeLeft 1.3s 1 cubic-bezier(0.77,0,.175,1.3);}

/*--------FROM RIGHT---------*/

.right-animated.et-animated { 
	opacity: 1; 
	-webkit-animation: fadeRight 1.5s 1 cubic-bezier(0.77,0,.175,1.3); 
	-moz-animation: fadeRight 1.5s 1 cubic-bezier(0.77,0,.175,1.3); 
	-o-animation: fadeRight 1.3s 1 cubic-bezier(0.77,0,.175,1.3); 
	animation: fadeRight 1.3s 1 cubic-bezier(0.77,0,.175,1.3);}

/*---------FROM TOP----------*/

.top-animated.et-animated { 
	opacity: 1; 
	-webkit-animation: fadeTop 1.5s 1 cubic-bezier(0.77,0,.175,2); 
	-moz-animation: fadeTop 1.5s 1 cubic-bezier(0.77,0,.175,2); 
	-o-animation: fadeTop 1.3s 1 cubic-bezier(0.77,0,.175,2); 
	animation: fadeTop 1.3s 1 cubic-bezier(0.77,0,.175,2);}

/*--------FROM BOTTOM--------*/

.bottom-animated.et-animated { 
	opacity: 1; 
	-webkit-animation: fadeBottom 1.5s 1 cubic-bezier(0.77,0,.175,2);
	-moz-animation: fadeBottom 1.5s 1 cubic-bezier(0.77,0,.175,2);
	-o-animation: fadeBottom 1.3s 1 cubic-bezier(0.77,0,.175,2); 
	animation: fadeBottom 1.3s 1 cubic-bezier(0.77,0,.175,2);}

/*---------FADE IN-----------*/

.fadein-animated.et-animated { 
	opacity: 1; 
	-webkit-animation: fadeIn 1.5s 1 cubic-bezier(0.77,0,.175,2); 
	-moz-animation: fadeIn 1.5s 1 cubic-bezier(0.77,0,.175,2); 
	-o-animation: fadeIn 1.3s 1 cubic-bezier(0.77,0,.175,2); 
	animation: fadeIn 1.3s 1 cubic-bezier(0.77,0,.175,2);}
	
#footer-info {
	float: none !important;
	text-align: center !important;
	font-size: 10px !important;
	color: white !important;
	text-transform: uppercase !important;
	letter-spacing: 2px !important;
}

#footer-info a {
	color: white !important;
	font-weight: 600 !important;
}

#footer-info a:hover {
	color: #E78500 !important;
}

/* BARRA COOKIES */

#catapult-cookie-bar {
	font-size: 12px !important;
}

.cookie-bar-bar button#catapultCookie {
	color: white !important;
	font-size: 12px !important;
	border: 1px solid #57a533 !important;
	background: #57a533 !important;
}

.cookie-bar-bar button#catapultCookie:hover {
	background: transparent !important;
	border: 1px solid white !important;
}

#catapult-cookie-bar a {
	font-size: 12px !important;
	font-weight: 600 !important; 
}

#catapult-cookie-bar a:hover {
	color: white !important;
	text-decoration: underline !important;
}

/* MOBILE MENU */

span.mobile_menu_bar:before {
    color: #E78500 !important;
}

.et-search-form, .nav li ul, 
.et_mobile_menu, .footer-widget li::before, 
.et_pb_pricing li::before, blockquote {
    border-color: #E78500 !important;
}

.boton-inicio {
	padding: 15px;
	font-size: 20px;
	font-family: Open Sans;
	font-weight: bold;
	text-align: center;
	color: white;
	border: 2px solid #E78500;
	background: #E78500;
	cursor: pointer;
}

.boton-inicio:hover {
	border: 2px solid #E78500;
	color: #E78500;
	background: transparent;
}

.link-info {
	color: white !important;
	-webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -moz-transition: all 0.2s;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
}

.link-info:hover {
	text-decoration: underline !important;
}

/* página lopd */

.lopd {
	color: black;
	font-weight: 900;
	-moz-transition: all 0.2s;
    -webkit-transition: all 0.2s;
    transition: all 0.2s;
}

.lopd:hover {
	color: #EA931A;
}

.privacidad {  /* marco formulario acceptance */
	color: black !important;
	font-weight: bold !important;
}

.privacidad:hover {
	text-decoration: underline !important;
}

.lopdtable {
	font-family: arial, sans-serif; /* cambiar font dependiendo web */
    border-collapse: collapse;
    width: 100%;
}

.td1 {
	width: 30%;
	text-transform: uppercase;
	font-weight: 600;
	border: 1px solid #dddddd !important;
	background: #dddddd;
    text-align: left;
    padding: 35px !important;
	vertical-align: top;
}

.td-razonsocial {
	background: #fafafa;
	border: 1px solid #fafafa;
    text-align: left;
    padding: 35px !important;
}

.td2  {
	background: #fafafa;
	border: 1px solid #fafafa;
    text-align: justify;
    padding: 35px !important;
}

/* 
Max width before this PARTICULAR table gets nasty
This query will take effect for any screen smaller than 760px
and also iPads specifically.
*/
@media 
only screen and (max-width: 760px),
(min-device-width: 768px) and (max-device-width: 1024px)  {

	/* Force table to not be like tables anymore */
	table, thead, tbody, th, td, tr { 
		display: block; 
	}
	
	/* Hide table headers (but not display: none;, for accessibility) */
	thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	
	.td1 {
		text-align: center;
		width: 100%;
	}
	
	td { 
		/* Behave  like a "row" */
		position: relative;
		padding-left: 50%; 
	}
	
	td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%; 
		padding-right: 10px; 
		white-space: nowrap;
	}
}

.telefonos {
	color: white !important;
}

.telefonos:hover {
	text-decoration: underline;
}

/* ### MENU HEADER HOVER --> Código para cambiar HOVER en menú principal */

#top-menu-nav #top-menu a:hover,
#mobile_menu_slide a:hover { 
    color: #e78500 !important; 
    opacity: 1 !important;
}
