/*
Theme Name: Divi Child - Eweb
Theme URI: http://www.elegantthemes.com/gallery/divi/
Template: Divi
Author: Elegant Themes
Author URI: http://www.elegantthemes.com
Description: Smart. Flexible. Beautiful. Divi is the most powerful theme in our collection.
Tags: responsive-layout,one-column,two-columns,three-columns,four-columns,left-sidebar,right-sidebar,custom-background,custom-colors,featured-images,full-width-template,post-formats,rtl-language-support,theme-options,threaded-comments,translation-ready
Version: 3.0.14.1477321393
Updated: 2016-10-24 15:03:13
Modified by Eweb Diseño y Posicionamiento Web para abogados
*/


/*

	COLORES:


	FALTA:
		Inicio ---> diseño, contenido, fotos y banner
		Firma ---> titlebar contenido, fotos y banner
		Especialidad ---> titlebar, contenido, fotos y banner
		Áreas ---> titlebar, contenido, fotos y banner
		A. Jurídica ---> titlebar, contenido, fotos y banner
		A. Procuraduría ---> titlebar, contenido, fotos y banner
		Noticias ---> titlebar, contenido y banner
		Blog ---> titlebar, contenido y banner
		Contacto ---> titlebar, contenido y banner
		Consulta online ---> titlebar, contenido, fotos y banner
		aviso,cookies y politica ---> titlebar, banner
		404, search, single y category ---> titlebar, banner

	Inspiración:
		

*/


/*
						NAVEGACIÓN
*/

/*****Cambiar el tamaño del submenú*****/
	.nav li ul {
  		/*width:290px !important;*/
	}

/*****Cambiar el tamaño del ítem del submenú*****/
	#top-menu li li a, #menu-principal li li a{
  		/*width:250px !important;*/
	}


/*
                        CUERPO
*/

/*****Alineación horizontal de los elementos en una fila*****/
	.horizontal-align { 
    	display: flex; 
    	flex-direction: column; 
    	justify-content: center;
	}
/*****Eliminar el fallo que se produce en el botón de envÃ­o del formulario*****/
	.wpcf7-submit:hover {
		padding: 0.3em 1em !important;
	}


/*
						PIE DE PÁGINA
*/

/*****Resaltar enlaces interéss*****/
	.et_pb_widget a:hover {
		/*color: #ffb356 !important;*/
	}

/*****Resaltar enlaces footer*****/
	#footer-info a:hover {
  		color: #fff!important;
	}

	.et-social-google-plus a:hover {
		color: #d51f1e !important;
	}

	.et-social-facebook a:hover {
		color: #3b5998 !important;
	}

	.et-social-twitter a:hover {
		color: #1da1f2 !important;
	}



body .et_pb_menu_0_tb_header.et_pb_menu .nav li ul ul

 {
    background-color: #ffffff !important;
}



/* Aplicamos el fondo y sus propiedades a todos los contenedores probables */
#resuelto, 
#resuelto > .et_pb_module_inner, 
#resuelto > .et_pb_parallax_css, 
#resuelto::before {
  /* ¡Importante! Desactivamos el fondo para que el SVG no se pinte dos veces
     pero mantenemos el color base del área. */
  background-image: none !important; 
  background-color: transparent !important;
}

/* Aplicamos el patrón y la animación a la sección principal */

#resuelto-micro {
  background-image: url('data:image/svg+xml;base64,PHN2ZyAgZmlsbD0icmdiYSgyNTUsMjU1LDI1NSwwLjA3KSIgaGVpZ2h0PSIxODBweCIgd2lkdGg9IjE4MHB4IiB2aWV3Qm94PSIwIDAgMTgwIDE4MCIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cGF0aCBkPSJNMCwyMS42OGE1MCw1MCwwLDAsMCwzOS43NywyOEE0MC4xLDQwLjEsMCwwLDEsMCw4NS4wNVY5NWE0MC4xLDQwLjEsMCwwLDEsMzkuNzcsMzUuMzdBNTAsNTAsMCwwLDAsMCwxNTguMzJWMTgwSDVhNDAuMDksNDAuMDksMCwwLDEsMzUuMzctMzkuNzYsNTAuMDgsNTAuMDgsMCwwLDAsMjgsMzkuNzZoNDMuMzZhNTAuMDgsNTAuMDgsMCwwLDAsMjgtMzkuNzZBNDAuMDksNDAuMDksMCwwLDEsMTc1LjA1LDE4MEgxODBWMTU4LjMyYTUwLDUwLDAsMCwwLTM5Ljc3LTI4QTQwLjEsNDAuMSwwLDAsMSwxODAsOTV2LTkuOWE0MC4xLDQwLjEsMCwwLDEtMzkuNzctMzUuMzcsNTAsNTAsMCwwLDAsMzkuNzctMjhWMGgtNC45NWE0MC4wOSw0MC4wOSwwLDAsMS0zNS4zNywzOS43NkE1MC4wOCw1MC4wOCwwLDAsMCwxMTEuNjUsMEg2OC4zNWE1MC4wOCw1MC4wOCwwLDAsMC0yOCwzOS43NkE0MC4wOSw0MC4wOSwwLDAsMSw1LDBIMFpNOTAsMTc1LjA1YTQwLjEsNDAuMSwwLDAsMS0zOS43Ny0zNS4zNyw1MCw1MCwwLDAsMCwzOS43Ny0yOCw1MCw1MCwwLDAsMCwzOS43NywyOEE0MC4xLDQwLjEsMCwwLDEsOTAsMTc1LjA1Wk0xNTguMzIsOTBhNTAuMDgsNTAuMDgsMCwwLDAtMjgsMzkuNzYsNDAsNDAsMCwwLDEsMC03OS41MkE1MC4wOCw1MC4wOCwwLDAsMCwxNTguMzIsOTBaTTkwLDVhNDAuMSw0MC4xLDAsMCwxLDM5Ljc3LDM1LjM3QTUwLDUwLDAsMCwwLDkwLDY4LjMyYTUwLDUwLDAsMCwwLTM5Ljc3LTI4QTQwLjEsNDAuMSwwLDAsMSw5MCw1Wk00OS42OCw1MC4yNGE0MCw0MCwwLDAsMSwwLDc5LjUyQTUwLjA4LDUwLjA4LDAsMCwwLDIxLjY4LDkwLDUwLjA4LDUwLjA4LDAsMCwwLDQ5LjY4LDUwLjI0WiIvPjwvc3ZnPg==') !important;
  background-size: 25px;
  background-repeat: repeat;
  animation: moveBackground-micro 14s linear infinite;
  background-color: #ffffff;
  position: relative;
  z-index: 0;
}

@keyframes moveBackground-micro {
  0%   { background-position: 0 0; }
  100% { background-position: 450px 450px; }
}

div.et_pb_section.et_pb_section_5.svg-pills-background.et_section_regular {
	display: none!important;
}


/*  POPUP */

/* Contenedor del popup: toda la pantalla, sin tapar header */
.custom-popup {
  display: none;
  position: fixed !important;
  z-index: 9999 !important;
  top: 250px;
  left: 0;
  width: 1300px!important;
  height: 60vh;
  background: transparent!important;
  overflow-y: auto;
  padding: 100px 20px 40px!important; /* MÁS separación desde arriba */
  box-sizing: border-box;
}

/* Contenido del popup (et_pb_row de Divi) */
.custom-popup .et_pb_row {
  background: #fff;
  padding: 40px;
  border-radius: 10px;
  max-width: 1300px!important;
  margin: 0 auto;
  position: relative!important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

/* Botón cerrar arriba a la derecha dentro del bloque blanco */
.custom-popup .popup-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: #333;
}

.custom-popup .popup-close:hover {
  color: #000000; /* negro de tu paleta */
}


.single .et_pb_post {
    margin-bottom: 27px;
    margin-top: 180px!important;
}

div#sidebar {
	margin-top: 180px!important;
}