
body {
	overflow-x: hidden;
}

.pavilion__gallery.fix {
    width: 100%;
    min-width: 100%;
}

.btn-primary.white {
    color: #fff;
    background: transparent;
}

.btn-primary.white span {
    position: relative;
    background: #282828;
    color: #fff;
    border: 1px solid #fff;
}

.btn-primary.white:after {
    background: #282828;
    border: 1px solid #fff;
}

.btn-primary.white:focus {
	box-shadow: unset;
	outline: 0px;
}

.section.facts .row {
	width: 100%;
}

.section.facts .row .fix-col-6 .facts__sticky {
	width: 100%;
	min-width: 100%;
}

.activities.fix .grid-activities .item-act {
  width: 100%;
}

.activities.fix .grid-activities .item-act.img {
  height: 100%;
}

.activities.fix .grid-activities .col-lg-3 {
  padding-left: 0px;
  padding-right: 0px;
}

.activities.fix.dark .grid-activities .item-act.txt2 button {
	opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    max-height: 0;
    background: transparent;
    border: 0px;
    font-weight: bold;
    border-bottom: 1px solid #EA0029;
    font-size: 1.125rem;
    display: inline-block;
}

.activities.fix.dark .grid-activities .item-act.txt2:hover button {
    color: #EA0029;
    max-height: 1000px;
    opacity: 1;
    visibility: visible;
    transition: all 0.5s ease;
}

.news-home.section.news-interior #ReadMore {
	border: 0px;
	padding: 0px;
	color: #EA0029;
}

.fix-sidebar h3 {
    font-size: 1.875rem;
    font-weight: bold;
    margin: 0 0 1rem;
}

.boxes-pavilion .box-pavilion h3 {
    text-align: center;
}

.team .row-team.team2,
.team .row-team.team2 .sf_colsIn {
    position: relative;
}

.team .row-team.team2 .sf_colsIn .card-team {
    height: 100%;
    overflow: hidden;
}

.team .row-team.team2 .sf_colsIn .card-team .card-team__img  {
    height: 78%;
    position: relative;
}

.team .row-team.team2 .sf_colsIn .card-team .card-team__img img  {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    object-fit: cover;
}

.team .row-team.team2 .sf_colsIn .card-team .card-team__txt {
    height: 22%;
    z-index: 2;
    position: relative;
    background-color: #EA0029;
    padding: .5rem 1rem;
}

.team .row-team.team2 .sf_colsIn .card-team .card-team__txt h4 {
    font-size: 1.5rem;
    margin-bottom: .3rem;
}

.team .row-team.team2 .sf_colsIn .card-team .card-team__txt p {
    font-size: 1rem;
}

.team-mobile h3 {
    border: 1px solid #fff;
    height: 268px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.625rem;
    color: #fff;
    font-weight: 700;
}

.datos .item-dato__txt a {
    font-size: 1.875rem;
    color: #282828;
    font-weight: 700;
}

.datos .item-dato__txt a:hover {
    text-decoration: underline;
}


/* CUSTOM LFI GALLERY FLICKR*/
.fix-flicker {
  height: 100%;
  overflow: hidden;
  position: relative;
}

.fix-row-gallery .box {
    padding-bottom: 1rem;
}

.fix-row-gallery .fondo:after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.7)), to(rgba(0, 0, 0, 0.7)));
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.4) 100%); 
}

.fix-row-gallery .fix-flicker .textos {
    position: absolute;
    z-index: 2;
    color: #fff; 
    top: 1rem;
    left: 1rem;
    padding-left: 1rem;
}

.fix-row-gallery .fix-flicker .textos h5 {
    font-size: 24px;
    margin-bottom: 0px;
}

.fix-row-gallery .fix-flicker .textos button {
    color: #fff;
    font-weight: 700;
    font-size: 1.125rem;
    display: inline-block;
    border-bottom: 1px solid #fff;
    background-color: #EA0029;
    border: 1px solid #EA0029;
    margin-top: .3rem;
}

.fix-row-gallery .fix-flicker .textos button:hover {
    opacity: .8;
}


@media only screen and (min-width: 991px) {
  .fix-row-gallery .box {
    min-height: 700px;
  }
}

@media only screen and (max-width: 991px) {
  .fix-row-gallery .box {
    min-height: 400px;
  }
}

.hero-home .sound {
    z-index: 2;
}

@media only screen and (max-width: 576px) {
  .hero-home .sound {
      bottom: unset;
      top: 1rem;
  }
}

/*CAMBIOS QA*/

.header-site ul li a.active {
  border-bottom: 2px solid #EA0029;
}

.header-site.relative ul li a.active {
  color: #EA0029;
}

.tns-outer button[data-action=stop], .tns-outer button[data-action=start] {
  display: none;
}

.activities.fix.dark .grid-activities .item-act.img:hover  {
    background: #282828;
}

.activities.fix-red .grid-activities .item-act.img:hover  {
    background: #EA0029;
}

@media only screen and (min-width: 768px) {
  .section.pavilion .pavilion__txt p {
    font-size: 30px;
  }
}

@media only screen and (min-width: 991px) {
  .header-site ul li a {
    padding-bottom: .1rem;
  }
  
  .header-site.fix-fixed {
    background: linear-gradient(to bottom, rgba(40, 40, 40, 0.8), rgba(40, 40, 40, 0));
  }

  header.header-site.fix-fixed:hover,
  header.header-site.fix-fixed.scrolled.visible {
    background: #fff;
  }

  .header-site.fix-fixed:hover nav ul li a {
      color: #282828;
  }

  .header-site.fix-fixed:hover nav ul li a:hover {
      color: #EA0029;
      border-bottom: 2px solid #EA0029;
  }

  .header-site.relative nav ul li a:hover {
      color: #EA0029;
      border-bottom: 2px solid #EA0029;
  }

  footer .f1 .row {
    margin-top: .6rem;
  }
}

@media only screen and (min-width: 1200px) {
 .activities.fix-red.fix-width .grid-activities .item-act {
   width: 33.3%
 } 
}

@media only screen and (max-width: 768px) {
  .section.s-content .s-img {
    order: 1;
    margin-bottom: 2rem;
  }

  .section.s-content .s-txt {
    order: 2;
  }

  .section.s-content.v2 .s-img {
    order: 2;
    margin-bottom: 2rem;
  }

  .section.s-content.v2 .s-txt {
    order: 1;
  }

  .activities.fix.dark .grid-activities .item-act.img {
      display: none;
  }
}

@media only screen and (max-width: 576px) {
    .hero-home .sound {
        top: 9.5rem;
        right: 1rem;
    }
}








/*EFECTOS*/

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px); /* Desplaza el elemento 30px hacia la derecha */
    }
    to {
        opacity: 1;
        transform: translateX(0); /* Mueve el elemento a su posición original */
    }
}

.fadeInRight {
  opacity: 0; /* Comienza oculto */
  animation: fadeInRight 1s ease-in forwards; /* Animación de 1 segundo */
}

/*MEDIAS QUERIES*/
@media screen and (min-width: 768px) {
  header.relative nav ul li a {
      color: #282828;
  }
}

@media screen and (min-width: 991px) {
 .activities.fix .grid-activities .item-act.txt2 p.item-act-p-mobile,
 .box-pavilion p.item-act-p-mobile {
     display: none;
 }
 .activities.fix.dark .grid-activities .item-act.txt2 button {
 	display: none !important;
 }
 .box-pavilion button {
    display: none !important;
 }
}

@media screen and (max-width: 991px) {
 .activities.fix .grid-activities .item-act.txt2 p.item-act-p-desk,
 .box-pavilion p.item-act-p-desk {
     display: none;
 }

 .activities.fix .grid-activities .item-act.txt2 {
     background: #fff;
 }

 .activities.fix.dark .grid-activities .item-act.txt2 button {
     color: #EA0029;
     max-height: 1000px;
     opacity: 1;
     visibility: visible;
     transition: all 0.5s ease;
 }

 .box-pavilion button {
     color: #fff;
     max-height: 1000px;
     opacity: 1;
     visibility: visible;
     transition: all 0.5s ease;
     background: transparent;
     border: 0px;
     border-bottom: 1px solid #fff;
     padding-bottom: .3rem;
     font-size: 1.125rem;
     font-weight: bold;
 }

 .activities.fix.dark .grid-activities .item-act.txt2 p.item-act-p-mobile {
     color: #282828;
     max-height: 1000px;
     opacity: 1;
     visibility: visible;
     transition: all 0.5s ease;
 }
 .activities.fix.dark .grid-activities .item-act.txt2 h3 {
 	color: #EA0029;
 }

 
}

/*MODO DISENO*/

.rdTable .wow {
    visibility: visible !important;
}

.rdTable .home-2 .imgs {
    width: 100%;
}

.rdTable .boxes-pavilion .box-pavilion p {
    opacity: 1;
    visibility: visible;
    max-height: 200px;
}

.rdTable .team .row-team.team2 .sf_colsIn .card-team .card-team__img {
    min-height: 250px;
}

.rdTable .team-mobile {
    display: flex;
    margin-top: 3rem;
}

.rdTable .box-logo-footer {
    max-width: 200px;
}

.rdTable .f1 {
    max-width: 460px;
}

.rdTable header .box-header-logo {
    max-width: 230px;
}

.rdTable header nav {
    max-width: 700px;
}


