@charset "utf-8";

/* CSS Document */

.gridPro1 {
  text-align: center;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 1fr;
  gap: 10px 0px;
  grid-template-areas:
    "Banner Banner Banner";
}

.Banner {
  text-align: center;
  grid-area: Banner; 
}
@media only screen and (max-width: 520px) {
  .gridPro1 {
    text-align: center;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr;
    gap: 0px 0px;
    grid-template-areas:
      "Banner Banner Banner";
  }

}
@media only screen and (max-width: 800px) {
  .gridPro1 a img{
    width: 100%;
    max-width:800px;
  }

}
@media only screen and (max-width: 1920px) {
  .gridPro1 a img{
    width: 100%;
    max-width:1920px;
  }

}
@media only screen and (max-width: 1900px) {
  .subPro1 a img{
    width: 90%;
    max-width:1200px;
  }

}
@media only screen and (max-width: 1900px) {
  .subPro2 a img{
    width: 90%;
    max-width:1200px;
  }

}
@media only screen and (max-width: 1900px) {
  .subPro3 a img{
    width: 90%;
    max-width:1200px;
  }

}
.miniBanners {
  width: 90%;
  margin: 0 auto;
  text-align: center;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 0.3fr;
  gap: 0px 29px;
  grid-template-areas:
    "subPro1 subPro2 subPro3";
}

.subPro1 { 
  
  grid-area: subPro1; 
  text-align: center;
}

.subPro2 { 
  
  text-align: center;
  grid-area: subPro2; 
}

.subPro3 {
  text-align: center;
  grid-area: subPro3; 
}
.pubPro {
  margin-left: 3%;
  display: grid;
  grid-template-columns: auto auto;
  grid-template-rows: auto auto;
  gap: 5px 5px;
  grid-template-areas:
    "pubpro2 pubpro2 pubpro2"
    "pubpro2 pubpro2 pubpro2";
  grid-area: pubPro;
}
@media only screen and (max-width: 520px) {
  .miniBanners {
    width: 90%;
    margin: 0 auto;
    text-align: center;
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto auto auto;
    gap: 0px 29px;
    grid-template-areas:
      'subPro1'
      'subPro2'
      'subPro3';
  }
}
@media only screen and (max-width: 520px) {
  .subPro1 {
    /*background-color: chocolate;
     grid-area: subPro1;  */
    text-align: center;
  }
}
@media only screen and (max-width: 520px) {
  .subPro2 {
    /*background-color: chocolate;
    grid-area: subPro1;*/ 
    text-align: center;
  }
}
@media only screen and (max-width: 520px) {
  .subPro3 {
    /*background-color: chocolate;
     grid-area: subPro1;  */
    text-align: center;
  }
}

.containerProdPu {
  width: 90%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  grid-template-rows: 1fr;
  gap: 0px 0px;
  grid-template-areas:
    "prodPro prodPro prodPro pubPro pubPro"
    
    ;
}
@media only screen and (max-width: 1900px) {
  .containerProdPu a img{
    width: 100%;
    max-width:1600px;
  }

}
@media only screen and (max-width: 1900px) {
  .prodPro a a img{
    width: 100%;
    max-width:1600px;
  }
}
.prodPro {
  margin: 0 auto; 
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px 2px;
  grid-area:prodPro;
}
@media only screen and (max-width: 520px) {
  .prodPro {
  margin: 0 auto; 
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px 2px;
  grid-area:prodPro;
  } 
}
@media only screen and (max-width: 520px) {
  .containerProdPu {
    width: 90%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr ;
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr ;
    gap: 0px 0px;
    grid-template-areas:
      "prodPro prodPro "
      "prodPro prodPro "
      "prodPro prodPro "
      "pubPro pubPro "
      "pubPro pubPro "
      ;
  }
}

@media only screen and (max-width: 520px) { 
  .pubPro {
    display: grid;
    grid-template-columns: 0.4fr 0.4fr 0.4fr;
    grid-template-rows: 0.1fr 0.1fr;
    gap: 5px 5px;
    grid-template-areas:
      "pubpro2 pubpro2 pubpro2"
      "pubpro2 pubpro2 pubpro2";
  }
}

.pubpro2 { grid-area: pubpro2; }
@media only screen and (max-width: 520px) { 
  .pubpro2 { 
    background-color: white;
  }
}
.subPro { grid-area: subPro; }
.pubPro { 
  text-align: center;
  grid-area: pubPro; 
}
.subPro { 
  background-color: white;
  text-align: center;
  grid-area: subPro; 
}
.gridFooterPro {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 0.5fr;
  gap: 0px 0px;
  grid-template-areas:
    "footerPro footerPro footerPro";
}

@media only screen and (max-width: 520px) { 
  .gridFooterPro {
    
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 0.5fr;
    gap: 0px 0px;
    grid-template-areas:
      "footerPro footerPro footerPro";
  }
}
@media only screen and (max-width: 520px) { 
  .footerPro { 
    text-align: center;
  }
}
.footerPro { 
  
  text-align: center;
  grid-area: footerPro; 
}
@media only screen and (max-width: 800px) {
  .gridFooterPro a img{
    width: 100%;
    max-width:800px;
  }

}
@media only screen and (max-width: 1920px) {
  .gridFooterPro a img{
    width: 100%;
    max-width:1920;
  }

}
@media only screen and (max-width: 1920px) {
  .footerPro a img{
    width: 100%;
    max-width:1920px;
  }

}

/* Shine */
/* .hover14 figure {
	position: relative;
}
.hover14 figure::before {
	position: absolute;
	top: 0;
	left: -75%;
	z-index: 2;
	display: block;
	content: '';
	width: 50%;
	height: 100%;
	background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,.3) 100%);
	background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,.3) 100%);
	-webkit-transform: skewX(-25deg);
	transform: skewX(-25deg);
}
.hover14 figure:hover::before {
	-webkit-animation: shine .75s;
	animation: shine .75s;
}
@-webkit-keyframes shine {
	100% {
		left: 125%;
	}
}
@keyframes shine {
	100% {
		left: 125%;
	}
} */

.titulo_micro,
.titulo_micro2{

	z-index: 15;
	width: 90%;
  margin:0;
}

.titulo_micro h1{
  
	display: inline-block;
	margin: 0;
	border-bottom: 3px solid gray;
	padding-bottom: 10px;
	margin-left: 6%;
	font-size: 24px;
	margin-top: 5px;
}

.titulo_micro_sub,
.titulo_micro_sub2{

	z-index: 15;
	width: 90%;
  margin:0;
}

.titulo_micro_sub h1{
  
	display: inline-block;
	margin: 0;
	border-bottom: 3px solid gray;
	padding-bottom: 10px;
	margin-left: 6%;
	font-size: 24px;
	margin-top: 5px;
}


/*EFECTOS DE PRUEBA MICROSITIOS*/
.hovereffect {
  width: 100%;
  height: 100%;
  float: left;
  overflow: hidden;
  position: relative;
  text-align: center;
  cursor: default;
}

.hovereffect .overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  overflow: hidden;
  top: 0;
  left: 0;
}

.hovereffect img {
  display: block;
  position: relative;
  -webkit-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
  -webkit-transition: all 0.35s;
  transition: all 0.35s;
}

.hovereffect:hover img {
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
  filter: url('data:image/svg+xml;charset=utf-8,<svg xmlns="http://www.w3.org/2000/svg"><filter id="filter"><feComponentTransfer color-interpolation-filters="sRGB"><feFuncR type="linear" slope="0.7" /><feFuncG type="linear" slope="0.7" /><feFuncB type="linear" slope="0.7" /></feComponentTransfer></filter></svg>#filter');
  filter: brightness(0.7);
  -webkit-filter: brightness(0.7);
}

.hovereffect h2 {
  text-transform: uppercase;
  color: #fff;
  text-align: center;
  font-size: 17px;
  padding: 10px;
  width: 100%;
}

.hovereffect:hover h2 {
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transform: translate3d(-50%,-50%,0) scale3d(0.8,0.8,1);
  transform: translate3d(-50%,-50%,0) scale3d(0.8,0.8,1);
}

.hovereffect a.info {
  display: inline-block;
  text-decoration: none;
  padding: 7px 14px;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid #fff;
  margin: 50px 0 0 0;
  background-color: transparent;
}

.hovereffect a.info:hover {
  box-shadow: 0 0 5px #fff;
}

.hovereffect .rotate {
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
  width: 100%;
  height: 100%;
  position: absolute;
}

.hovereffect hr {
  width: 50%;
  opacity: 0;
  filter: alpha(opacity=0);
}

.hovereffect  hr:nth-child(2) {
  -webkit-transform: translate3d(-50%,-50%,0) rotate(0deg) scale3d(0,0,1);
  transform: translate3d(-50%,-50%,0) rotate(0deg) scale3d(0,0,1);
}

.hovereffect  hr:nth-child(3) {
  -webkit-transform: translate3d(-50%,-50%,0) rotate(90deg) scale3d(0,0,1);
  transform: translate3d(-50%,-50%,0) rotate(90deg) scale3d(0,0,1);
}

.hovereffect h2, .hovereffect hr {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  -webkit-transform: translate3d(-50%,-50%,0);
  transform: translate3d(-50%,-50%,0);
  -webkit-transform-origin: 50%;
  -ms-transform-origin: 50%;
  transform-origin: 50%;
  background-color: transparent;
  margin: 0px;
}

.group1, .group2 {
  left: 50%;
  position: absolute;
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  -webkit-transform: translate3d(-50%,-50%,0);
  transform: translate3d(-50%,-50%,0);
  -webkit-transform-origin: 50%;
  -ms-transform-origin: 50%;
  transform-origin: 50%;
  background-color: transparent;
  margin: 0px;
  padding: 0px;
}

.group1 {
  top: 40%;
}

.group2 {
  top: 60%;
}

.hovereffect p {
  width: 30%;
  text-transform: none;
  font-size: 15px;
  line-height: 2;
}

.hovereffect p a {
  color: #fff;
}

.hovereffect p a:hover,
.hovereffect p a:focus {
  opacity: 0.6;
  filter: alpha(opacity=60);
}

.hovereffect  a i {
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
  transition: opacity 0.35s, transform 0.35s;
  padding: 10px;
  font-size: 20px;
}

.group1 a:first-child i {
  -webkit-transform: translate3d(-60px,-60px,0) rotate(45deg) scale(2);
  transform: translate3d(-60px,-60px,0) rotate(45deg) scale(2);
}

.group1 a:nth-child(2) i {
  -webkit-transform: translate3d(60px,-60px,0) rotate(45deg) scale(2);
  transform: translate3d(60px,-60px,0)  rotate(45deg) scale(2);
}

.group2 a:first-child i {
  -webkit-transform: translate3d(-60px,60px,0) rotate(45deg) scale(2);
  transform: translate3d(-60px,60px,0) rotate(45deg) scale(2);
}

.group2 a:nth-child(2) i {
  -webkit-transform: translate3d(60px,60px,0)  rotate(45deg) scale(2);
  transform: translate3d(60px,60px,0)  rotate(45deg) scale(2);
}

.hovereffect:hover hr:nth-child(2) {
  opacity: 1;
  filter: alpha(opacity=100);
  -webkit-transform: translate3d(-50%,-50%,0) rotate(0deg) scale3d(1,1,1);
  transform: translate3d(-50%,-50%,0) rotate(0deg) scale3d(1,1,1);
}

.hovereffect:hover hr:nth-child(3) {
  opacity: 1;
  filter: alpha(opacity=100);
  -webkit-transform: translate3d(-50%,-50%,0) rotate(90deg) scale3d(1,1,1);
  transform: translate3d(-50%,-50%,0) rotate(90deg) scale3d(1,1,1);
}

.hovereffect:hover .group1 i:empty, .hovereffect:hover .group2 i:empty {
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0) rotate(45deg) scale(1);
  opacity: 1;
  filter: alpha(opacity=100);
}



/* Pruebas para subcategorías */

.containerTwo {
  position: relative;
  height: 290px;
  width: 290px;
  margin: 50px 20px;
  float: left;
}

.containerTwo img {
  position: absolute;
  left: 0;
  transition: opacity 1.5s ease-in-out;
}

.containerTwo img.top:hover {
  opacity: 0;
}


/*prueba sub*/
.img-wrapper {
  width:100%;
  }
  #page-body-bg {
  width : 100%;
  }
  .img-responsive {
    left:0;
    position:absolute;
  /*display:none;*/   
  }

  .subsPrueba {
    text-align: center;
    width: 90%;
    margin: 0 auto; 
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 2px 2px;
    position: relative;
  }

  .absolute-item{
    position: absolute;
    top: 20px;
    left: 100px;
    bottom: 40px;
    right: 100px;
    background: white;
    padding: 1rem;
  }

.xn_subcategorias_micrositios {
    display: grid;
    grid-template: auto / 1fr 1fr 1fr 1fr;
    grid-gap: 30px;
    width: 80%;
    margin-left: 10%;
    padding-bottom: 20px;
}

.xn_subcategorias_micrositios>div>a {
    text-decoration: none;
    display: block;
}

.xn_subcategorias_micrositios>section>h1 {
    padding-right: 45px;
    padding-left: 45px;
}

.xn_subcategorias_micrositios>div>a>h3 {
    margin: 0;
    text-align: center;
    font-weight: bold;
    font-size: 22px;
    color: black;
    padding-bottom: 20px;
}

.xn_subcategorias_micrositios>div:hover {
    cursor: pointer;
    transition: transform .3s;
    transform: scale(1.05);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.5);
}

.xn_subcategorias_micrositios>div>a>picture>img {
    width: 100%;
    display: block;
}

.xn_subcategorias_micrositios>.xn_titulo_seccion2 {
    grid-column: 1 / 5;
}

.xn_publicidad_subcategoria {
    overflow: hidden;
}

.xn_publicidad_subcategoria img {
    width: 100%;
    display: block;
}

.xn_publicidad_subcategoria img:hover {
    cursor: pointer;
    transition: transform .3s;
    transform: scale(1.02);
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.5);
}