/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/
/* codigo para ocultar el espacio dejado por el iframe de remarketing */
iframe[name='google_conversion_frame'] { height: 0 !important;width: 0 !important; line-height: 0 !important; font-size: 0 !important;margin-top: -13px;float: left;}

/* Estilos para la función propia que envuelve los vídeos de youtube en un div y los hace responsivos */
div.flex-video {position: relative;padding-bottom: 56.25%;padding-top: 30px;height: 0;overflow: hidden;margin: 20px 0; clear: both;}
div.flex-video iframe {position: absolute;top: 0;left: 0;width: 100%;height: 100%;}

#contenedorIdiomas {display: flex;}
#contenedorIdiomas #idiomas {border: none;font-size: 15px;margin: auto;color: #999999;}

/* Eliminar margenes negativos en los lados de los contenedores*/
.width-100 .fusion-fullwidth, .width-100 .nonhundred-percent-fullwidth,
#content > div > div > div > div > div > div,
div.post-content > div.fusion-fullwidth > div.fusion-builder-row:not(.tamanoMaximo > div){
    margin-left: 0px !important;
    margin-right: 0px !important;
}

#main{
	padding-left: 0px !important;
	padding-right: 0px !important;
}

/* Textos en cabecera con imagen naranja detras */

@media only screen and (max-width: 800px) {
    .ContenedorCabecera > div > div.fusion_builder_column > div.fusion-column-wrapper{
        padding-top: 100px;
		padding-bottom: 100px;
    }
}

@media only screen and (max-width: 500px) {
    .ContenedorCabecera > div > div.fusion_builder_column > div.fusion-column-wrapper {
        padding-top: 50px;
		padding-bottom: 50px;
    }
}

/* Noticias */
.single-post .fusion-post-slideshow .slides {display:none}

/*  Alimentación y Otros */
.alimentacion-template-default div.sellos > div > div > div,
.otro-template-default div.sellos > div > div > div{
	display: flex !important;
	flex-direction: row !important;
	justify-content: space-evenly;
	align-items: center;
	flex-wrap: wrap;
	
}

.alimentacion-template-default div.envasado > div > div > div > div.fusion-post-cards > div > ul > li,
.otro-template-default div.envasado > div > div > div > div.fusion-post-cards > div > ul > li{
	display: flex;
    align-items: center;
    justify-content: center;
    align-content: center;
	border: solid 2px #aeaeae;
	border-radius: 5px;
	height: 80px;
	padding: 10px;
}
.alimentacion-template-default div.envasado > div > div > div > div.fusion-post-cards > div > ul > li.fusion-active,
.otro-template-default div.envasado > div > div > div > div.fusion-post-cards > div > ul > li.fusion-active{
	background-color: #aeaeae;
}
.alimentacion-template-default div.envasado > div > div > div > div.fusion-post-cards > div > ul > li.fusion-active:hover > a,
.otro-template-default div.envasado > div > div > div > div.fusion-post-cards > div > ul > li.fusion-active:hover > a{
	color: #aeaeae;
}
.alimentacion-template-default div.envasado > div > div > div > div.fusion-post-cards > div > ul > li:hover,
.otro-template-default div.envasado > div > div > div > div.fusion-post-cards > div > ul > li:hover{
	background-color: white;
}

.cont-films{
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
}
/* sellos */
/*@media only screen and (max-width: 600px) {
	.alimentacion-template-default div.sellos > div > div > div,
	.otro-template-default div.sellos > div > div > div{
		flex-direction: column !important;
	}
  
}*/
 

/* Contacto */

#contenedorContacto {
	margin-top: 32px !important;
  }
  
  #contenedorContacto .tituloH2Apartado > h2 {
	font-size: 2.4rem !important;
	font-weight: 600 !important;
	line-height: 125% !important;
  }
  
  #contenedorContacto .textoEditor {
	margin: 12px 0 24px 0 !important;
  }
  
  #contenidoFormularioContacto > .fusion-column-wrapper {
	padding: 16px !important;
  }
  
  #contenidoFormularioContacto > .fusion-column-wrapper .fusion-builder-row-inner {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	margin: 24px -2.5% 0 -2.5% !important;
	width: 100% !important;
  }
  
  #contenidoFormularioContacto > .fusion-column-wrapper .fusion-builder-row-inner .fusion-column-wrapper {
	text-align: center;
  }
  
  /* Media queries */
  @media only screen and (min-width: 640px) {
	#contenedorContacto {
	  margin-top: 48px !important;
	}
  
	#contenedorContacto .tituloH2Apartado > h2 {
	  font-size: 3rem !important;
	  font-weight: 600 !important;
	  line-height: 125% !important;
	}
  }
  @media only screen and (min-width: 800px) {
	#contenedorContacto {
	  margin-top: 48px !important;
	}
  
	#contenedorContacto .tituloH2Apartado > h2 {
	  font-size: 3.5rem !important;
	  font-weight: 600 !important;
	  line-height: 125% !important;
	}
  }
  @media only screen and (min-width: 1000px) {
	#contenedorContacto {
	  margin-top: 72px !important;
	  margin-bottom: 72px !important;
	}
  
	#contenedorContacto .tituloH2Apartado > h2 {
	  font-size: 4rem !important;
	  font-weight: 600 !important;
	  line-height: 125% !important;
	}
  
	#contenedorContacto > .fusion-row {
	  padding: 0px 25px !important;
	  -webkit-box-pack: justify !important;
	  -ms-flex-pack: justify !important;
	  justify-content: space-between !important;
	}
  
	#contenedorContacto > .fusion-row > .colFlex:nth-child(1) {
	  width: 58% !important;
	}
  
	#contenedorContacto > .fusion-row > .colFlex:nth-child(3) {
	  width: 38% !important;
	}
  
	#contenidoFormularioContacto .textoEditor {
	  margin-left: 16px !important;
	  text-align: left !important;
	}
  }
  @media only screen and (max-width: 1400px) {
	/*#contenedorContacto {
	  padding: 0px 50px !important;
	}*/
  
	#contenidoFormularioContacto > .fusion-column-wrapper {
	  padding: 10px 0px !important;
	  padding-bottom: 30px !important;
	}
  }
  /* Fin de las media queries */
  @media (max-width: 900px) {
	.slider {
	  background-position: center !important;
	}
  }

/* Search */
.fusion-posts-container {
	display: -webkit-box !important;
	display: -ms-flexbox !important;
	display: flex !important;
	-webkit-box-orient: vertical !important;
	-webkit-box-direction: normal !important;
	-ms-flex-flow: column !important;
	flex-flow: column !important;
	position: inherit !important;
  }
.fusion-posts-container article {
	position: inherit !important;
	width: 100% !important;
	top: auto !important;
}
.fusion-posts-container article .fusion-alignright {
	display: none !important;
}
  
#main .fusion-search-field input {
	padding-left: 50px !important;
}  


/* Home */

#contenedorRenderIndustrial {
	margin-top: 32px !important;
}
  
#contenidoVista {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}
  
#contenidoVista > li > a {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: reverse;
	-ms-flex-direction: column-reverse;
	flex-direction: column-reverse;
	height: 100% !important;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	width: 100%;
}
  
#contenidoVista > li > a > article {
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	border: 1px solid #e5e5e5;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: reverse;
	-ms-flex-direction: column-reverse;
	flex-direction: column-reverse;
	-ms-flex-pack: distribute;
	justify-content: space-around;
	height: 100% !important;
	padding: 24px 16px;
	position: relative;
	z-index: 1000;
}
  
#contenidoVista > li > a > article > header > h3 {
	color: #999;
	text-align: center;
	font-size: 1.5rem !important;
	font-weight: 500 !important;
	line-height: 150% !important;
}
  
#contenidoVista > li > a > article > figure {
	margin: 0 !important;
}
  
#contenidoVista > li > a > article > img {
	opacity: 0;
	position: absolute;
	top: -35px;
}
  
#contenidoVista > li > a > figure {
	margin: 0 !important;
	padding: 0 !important;
	width: 100%;
}
  



#contenedorNuestraActualidad {
	margin: 24px 0 !important;
  }

@media only screen and (min-width: 639px) {
	#contenedorRenderIndustrial {
	  margin-top: 40px !important;
	}
	#contenidoVista > li > a {
	  -webkit-box-orient: horizontal;
	  -webkit-box-direction: normal;
	  -ms-flex-flow: row nowrap;
	  flex-flow: row nowrap;
	}
	#contenidoVista > li > a > article {
	  -webkit-box-align: center;
	  -ms-flex-align: center;
	  align-items: center;
	  -webkit-box-flex: 1;
	  -ms-flex: 1 0 180px;
	  flex: 1 0 180px;
	  -ms-flex-pack: distribute;
	  justify-content: space-around;
	}
	#contenidoVista > li > a > figure > img {
	  height: 100% !important;
	  -o-object-fit: cover;
	  object-fit: cover;
	}
	#contenidoVista > li + li {
	  margin: 16px 0 0 0 !important;
	}
  }
  
@media only screen and (min-width: 767px) {
	#contenedorNuestraActualidad {
	  margin: 32px 0 !important;
	}
  }

@media only screen and (min-width: 992px) {
	#contenedorRenderIndustrial {
	  margin-top: 48px !important;
	  padding-top: 290px; /*anterior 244*/
	  position: relative;
	}
	#contenidoVista {
	  display: -webkit-box;
	  display: -ms-flexbox;
	  display: flex;
	  -webkit-box-orient: horizontal;
	  -webkit-box-direction: normal;
	  -ms-flex-flow: row wrap;
	  flex-flow: row wrap;
	  -webkit-box-pack: start;
	  -ms-flex-pack: start;
	  justify-content: flex-start;
	}
	#contenidoVista > li {
	  border: 1px solid #e5e5e5;
	  -webkit-box-flex: 1;
	  -ms-flex: 1 0 14.285%;
	  flex: 1 0 14.285%;
	}
	#contenidoVista > li > a {
	  -webkit-box-align: center;
	  -ms-flex-align: center;
	  align-items: center;
	  -webkit-box-orient: vertical !important;
	  -webkit-box-direction: reverse !important;
	  -ms-flex-direction: column-reverse !important;
	  flex-direction: column-reverse !important;
	  height: 100% !important;
	  -webkit-box-pack: center;
	  -ms-flex-pack: center;
	  justify-content: center;
	  width: 100%;
	}
	#contenidoVista > li > a > article {
	  border: none !important;
	  display: -webkit-box;
	  display: -ms-flexbox;
	  display: flex;
	  -webkit-box-flex: 1;
	  -ms-flex: 1;
	  flex: 1;
	}
	#contenidoVista > li > a > article > img {
	  opacity: 0;
	  position: absolute;
	  top: -35px;
	}
	#contenidoVista > li > a > figure {
	  display: none;
	  left: 0;
	  margin: 0 !important;
	  padding: 0 !important;
	  position: absolute;
	  top: 0;
	  width: 100%;
	}
	#contenidoVista > li > a > figure > img {
	  height: auto !important;
	  -o-object-fit: none;
	  object-fit: none;
	}
	#contenidoVista > li:hover, #contenidoVista > li.seleccionado {
	  border: 1px solid #0098cd;
	}
	#contenidoVista > li:hover > a, #contenidoVista > li.seleccionado > a {
	  background-color: #0098cd;
	}
	#contenidoVista > li:hover > a > article > header > h3, #contenidoVista > li.seleccionado > a > article > header > h3 {
	  color: #fff;
	}
	#contenidoVista > li:hover > a > article > figure > img, #contenidoVista > li.seleccionado > a > article > figure > img {
	  -webkit-filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(1%) hue-rotate(94deg) brightness(105%) contrast(101%);
	  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(1%) hue-rotate(94deg) brightness(105%) contrast(101%);
	}
	#contenidoVista > li:hover > a > article > img, #contenidoVista > li.seleccionado > a > article > img {
	  opacity: 1;
	}
	#contenidoVista > li:hover > a > figure, #contenidoVista > li.seleccionado > a > figure {
	  display: block;
	}
	#contenidoVista > li + li {
	  margin: 0 !important;
	}
}
  
@media only screen and (min-width: 1023px) {
	#contenedorNuestraActualidad {
	  margin: 40px 0 !important;
	}
}
  

/* Delegaciones*/

#contenedorLeaftMap {
    height: 0;
    padding-bottom: 36% !important;
    position: relative;
}

#contenedorLeaftMap > * {
    height: 100% !important;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.leaflet-tile-pane {
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}

.leaflet-marker-icon {
    width: 41px !important;
    height: 40px !important;
}

@media only screen and (max-width: 1800px) {
    #contenedorLeaftMap {
        padding-bottom: 42% !important;
    }
}

@media only screen and (max-width: 1450px) {
    #contenedorLeaftMap {
        padding-bottom: 50% !important;
    }
}

@media only screen and (max-width: 1100px) {
    #contenedorLeaftMap {
        padding-bottom: 65% !important;
    }
}

@media only screen and (max-width: 992px) {
    #contenedorLeaftMap {
        padding-bottom: 85% !important;
    }
}

@media only screen and (max-width: 740px) {
    #contenedorLeaftMap {
        padding-bottom: 100% !important;
    }
}

/* Envases flexibles */
@media only screen and (max-width: 1000px){
	#post-4558 > div > div.tamanoMaximo > div > div.fusion-layout-column:not(:first-child) > div{
		padding-top: 100px;
	}
}

@media only screen and (max-width: 500px) {
	#post-4558 > div > div.tamanoMaximo > div > div.fusion-layout-column:not(:first-child) > div{
		padding: 75px 40px 60px 40px;
	}
}
/* Home */
@media only screen and (max-width: 1000px) {
	#post-119 #contenedorNuestraActualidad > div > div.fusion-layout-column:not(:first-child) > div{
		padding-top: 200px;
	}
}
@media only screen and (max-width: 800px) {
	#post-119 #contenedorNuestraActualidad > div > div.fusion-layout-column:not(:first-child) > div{
		padding-top: 100px;
	}
}
@media only screen and (max-width: 500px) {
	#post-119 #contenedorNuestraActualidad > div > div.fusion-layout-column:not(:first-child) > div{
		padding: 75px 40px 60px 40px;
	}
}

/* Sostenibilidad */

#post-845 .ContenedorGamasDisponibles > div > div.fusion-layout-column > div > div.fusion-column-content-centered > div > div.fusion-flip-boxes > div > div > div > div.flip-box-front{
	background-size: contain;
	border: none;
	margin: 0px;
	padding: 0px;
}
#post-845 .ContenedorGamasDisponibles > div > div.fusion-layout-column > div > div.fusion-column-content-centered > div > div.fusion-flip-boxes > div > div > div > div.flip-box-back{
	padding: unset;
}

@media only screen and (min-width: 800px) and (max-width: 1000px) {
	#post-845 .ContenedorGamasDisponibles > div > div.fusion-layout-column > div > div.fusion-column-content-centered > div > div.fusion-flip-boxes > div > div > div > div.flip-box-back > div > div > 	a{
		padding: unset;
	}
}
@media only screen and (max-width: 800px) {
	#post-845 .contenedorMedioambiente > div > div.fusion-layout-column > div{
		padding-top: 50px;
		padding-bottom: 50px;
	}
	#post-845 .contenedorResponsabilidades > div > div.fusion-layout-column.fusion-one-fourth > span{
		margin-left: 0px;
		margin-right: 0px;
	}
	#post-845 .contenedorCompromisoSocial > div > div.fusion-layout-column.fusion-one-third > div{
		padding: 30px 20px 60px 20px;
	}
}

/* Alimentacion y Otros */
@media only screen and (max-width: 1000px) {
	div.envasado > div > div > div > div.fusion-post-cards > ul > li.fusion-layout-column{
		width: 100% !important;
	}
}

/* Footer */
@media only screen and (max-width: 1000px){
	.contenedorMenuFooter > div > div.fusion-layout-column > div > div.fusion-title > div,
	.contenedorMenuFooter > div > div.fusion-layout-column > div > div.fusion-text > p{
		text-align: center !important;
	}
}
.cont-films{
	display: flex !important;
	justify-content: center !important;
	align-items: center !important;
}
