/*
 Theme Name:     Fernanda Pire (Divi Child)
 Theme URI:      http://www.elegantthemes.com/gallery/divi/
 Description:    Divi Child Theme
 Author:         Media Partner
 Author URI:     http://www.mediapartner.es
 Template:       Divi
 Version:        1.0
*/
 
@import url("../Divi/style.css");
 
/* Theme customization starts here
------------------------------------------------------- */

/* Estilos generales para cualquiera ----------------------------------------------------------------------------*/

/* Aplicamos esta clase en el contenedor que lleve centrado vertical */
.centrado-vertical {
  display: flex!important;
  flex-direction: column!important;
  justify-content: center!important;
	/* Et les déclinaisons avec préfixes pour obtenir un résultat homogène sur les divers navigateurs  */
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
     -moz-box-orient: vertical;
     -moz-box-direction: normal;
      -ms-flex-direction: column;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
     -moz-box-pack: center;
      -ms-flex-pack: center;
}

/* Increase width of vertical navigation */
/*
@media (min-width: 981px) {
	.et_vertical_nav #page-container #main-header{ width:15%; }
	.et_vertical_nav #et-main-area, .et_vertical_nav #top-header{ margin-left:15% !important; }
}
*/

/* header bottom border */
#main-header {
	box-shadow: 0 0px 0 rgba(0,0,0,0)!important;
	-webkit-box-shadow: 0 0px 0 rgba(0,0,0,0)!important;
}



/* Para el Footer */
#footer-info { float: right; }
footer form.wpcf7-form p {padding-bottom:0;}
footer form.wpcf7-form p textarea {height:60px;}
#datos_footer .et_pb_blurb { margin-bottom:10px;}

/* Footer fijo en el fondo del navegador 
#main-footer {
	position: fixed;
	bottom: 0;
	width: 100%;
}
*/

/* Color del "Hamburguer" */
.mobile_menu_bar.mobile_menu_bar_toggle:before { color: #000!important; }


/* Centrar el menú */
@media only screen and (min-width: 981px) {
    #et-top-navigation {
		float:none;
		padding-left: 0px!important;
		display: flex;
		justify-content: center;	
	}
}

@media only screen and (min-width: 981px){
	.et_header_style_left #et-top-navigation nav>ul>li>a {
		padding: 0px 0 20px 0!important;
	}
}


/* Fin de estilos generales para cualquiera ----------------------------------------------------------------------*/

/* Para el plugin de antes-despues */
.divienhancer_image_comparison_container .twentytwenty-overlay, 
.divienhancer_image_comparison_container .twentytwenty-handle {
	display:none;
} 


/* THREE COLUMN PORTFOLIO GRID LAYOUT */

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

	.three-column-grid .et_pb_grid_item {
		width: 33.333% !important;
		margin: 0 !important;
	}

	.three-column-grid .et_pb_grid_item:nth-child(3n) {
		margin-right: 0 !important;
	}

	.three-column-grid .et_pb_grid_item:nth-child(3n+1) {
		clear: left;
	}

	.three-column-grid .et_pb_grid_item:nth-child(4n+1) {
		clear: unset !important;
	}

}


