/* Tipos */
@import url("https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@400;500;700&display=swap");

@font-face {
    font-family: "AtSlam-Semibold";
    src: url("https://www.ifema.es/web/ferias/circuito_mr/fonts/AtSlamXCnd-Bold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
}
@font-face {
    font-family: "AtSlam-SemiboldSlanted";
    src: url("https://www.ifema.es/web/ferias/circuito_mr/fonts/AtSlamXCnd-BoldSlanted.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
}
@font-face {
    font-family: "AtSlam-SemiboldBackslant";
    src: url("https://www.ifema.es/web/ferias/circuito_mr/fonts/AtSlamXCnd-BoldBackslant.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
}
@font-face {
    font-family: "AtSlam-Regular";
    src: url("https://www.ifema.es/web/ferias/circuito_mr/fonts/AtSlamXCnd-Medium.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: "AtSlam-RegularSlanted";
    src: url("https://www.ifema.es/web/ferias/circuito_mr/fonts/AtSlamXCnd-MediumSlanted.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: "AtSlam-RegularBackslant";
    src: url("https://www.ifema.es/web/ferias/circuito_mr/fonts/AtSlamXCnd-MediumBackslant.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
}


/* =========================================================
   TEXT SYSTEM
   ========================================================= */

/* Orden explícito de capas */
@layer text.tokens, text.utilities;

/* ---------------------------------------------------------
   TOKENS 
   --------------------------------------------------------- */
@layer text.tokens {
  :root {
    /* Font family */
    --font-family-text: "Barlow", system-ui, -apple-system, sans-serif;

    /* Font weights */
    --font-weight-regular: 400;
    --font-weight-medium: 600;
    --font-weight-bold: 700;

    /* Text sizes */
    --text-xxs-size: 14px;
    --text-xxs-line: 18px;

    --text-xs-size: 16px;
    --text-xs-line: 20px;

    /* Base (definido ya en <p> por Altia) */
    /* --text-base-size: 18px;
    --text-base-line: 22px; */

    --text-m-size: 20px;
    --text-m-line: 24px;

    --text-l-size: 24px;
    --text-l-line: 30px;

    /* XL */
    --text-xl-size: 32px;
    --text-xl-line: 40px;
  }
}


/* ---------------------------------------------------------
   UTILITIES — desktop / default
   --------------------------------------------------------- */
@layer text.utilities {
  .text-xxs {
    font-size: var(--text-xxs-size);
    line-height: var(--text-xxs-line);
  }

  .text-xs {
    font-size: var(--text-xs-size);
    line-height: var(--text-xs-line);
  }

  .text-base {
    font-size: var(--text-base-size);
    line-height: var(--text-base-line);
  }

  .text-m {
    font-size: var(--text-m-size);
    line-height: var(--text-m-line);
  }

  .text-l {
    font-size: var(--text-l-size);
    line-height: var(--text-l-line);
  }

  .text-xl {
    font-size: var(--text-xl-size);
    line-height: var(--text-xl-line);
  }
}


/* ---------------------------------------------------------
   RESPONSIVE — mobile + tablet
   XL → L
   L  → M
   M  → BASE
   --------------------------------------------------------- */
@layer text.utilities {
  @media (max-width: 768px) {
    .text-xl {
      font-size: var(--text-l-size);
      line-height: var(--text-l-line);
    }

    .text-l {
      font-size: var(--text-m-size);
      line-height: var(--text-m-line);
    }

    .text-m {
      font-size: var(--text-base-size);
      line-height: var(--text-base-line);
    }
  }
}


/* HEADINGS */

.madring-h1 {
  font-size: 7.5rem !important;
  font-weight: 700;
  line-height: 100%;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--custom-terciary-color);
  font-family: 'AtSlam-SemiboldSlanted' !important;
   text-align:center;
  margin: 0;
}


@media (max-width: 1024px) {
    .madring-h1 {
        font-size: 6.25rem !important; 
    }
}

@media (max-width: 768px) {
    .madring-h1 {
        font-size: 5.563rem !important; 
    }
}

/* H1 cabecera sección (sin video) */

.fair header.header-container h1.ifema-h1 {
    font-family: "AtSlam-RegularSlanted" !important;
    line-height: 184px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 5px;
    font-size: 184px !important;
    color: var(--custom-secondary-color);
}
.hero-image .text-wrapper .hero-banner-subtitle {
    font-size: 21px;
    line-height: 31px;
}

.portadaferia .mod-directlink-cards {
    background-color: #fff;
}
.portadaferia .mod-directlink-cards .container{
    padding-bottom: 40px;
}

html,
body {
    height: 100%;
}
body {
    color: #fff;
    background: #03212f;
}
body .main {
    background: none !important;
    padding-bottom: 0px !important;
}

/* Buscador */

body footer.fair ~ #searchBox > div,
#header-nav-mobile,
#searchBox,
.bg-header-nav,
body > header .search-header {
    background: #03212f !important;
}
.search-tabs-wrapper .search-tabs-bg {
    background-color: var(--custom-secondary-color);
}
.searcher-results .results-wrapper .result a {
    color: #fff;
}
.searcher-results .results-wrapper .result h3 a {
    background-image: none;
}
@media (max-width: 768px) {
    #main .html .newsletter-cont {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }
    .newsletter-cont .tit-form-1 {
        font-size: 5em !important;
        margin-left: -20px;
        padding-bottom: 0px;
        display: block;
    }
    .newsletter-cont .tit-form-2 {
        font-size: 1.1em !important;
    }
    .newsletter-cont .tit-form {
        padding-bottom: 10px;
    }
}

/* Helpers y estilos generales */

.title-AtSlam {
    font-family: "AtSlam-Regular" !important;
    letter-spacing: 1rem;
}
.title-AtSlamLeft {
    font-family: "AtSlam-SemiboldBackslant";
    letter-spacing: 1rem;
}
.title-AtSlamRight {
    font-family: "AtSlam-SemiboldSlanted";
    letter-spacing: 1rem;
}
@media (max-width: 768px) {
    .title-AtSlam,
    .title-AtSlamLeft,
    .title-AtSlamRight {
        letter-spacing: 0.5rem;
    }
}
.indent-left {
    margin-left: 1rem;
}
.pad-left-of {
    padding-left: 1rem;
}
body:not(.portadaferia),
.box-with-title,
body:not(.portadaferia) > footer.fair .footer-content .interest-area,
body:not(.portadaferia) > footer.fair .footer-content .interest-area {
    color: #fff;
    background-color: #03212f !important;
}

section.mod-presentation,
section.presentation {
    padding-top: 0px;
    margin-top: 0 !important;
}

@media (min-width: 1024px) {
    .mod-presentation .presentation-image a::before,
    .mod-presentation .presentation-image::before,
    .presentation .presentation-image a::before,
    .presentation .presentation-image::before {
        -webkit-transform: none;
        -o-transform: initial;
        transform: none;
        -webkit-transform-origin: bottom right;
        -o-transform-origin: initial;
        transform-origin: initial;
    }
}
body .main > section.presentation a.btn {
    margin: 27px auto 0 !important;
    min-width: auto !important;
    width: auto !important;
}

.fixed-tickets-sales {
    z-index: 9;
}
 
.portadaferia .hero-banner-slick .hero-banner-slider .container .hero-banner-subtitle img.roadshow {
    width: 42vh;
}

.portadaferia .hero-banner-slick .hb-1540628243986.hero-banner-slider .container .hero-banner-button.hb-btn-1 {
    background: var(--custom-secondary-color) !important;
    border-radius: 0 !important;
    padding: 30px !important;
    border: none !important;
    min-width: 300px;
}
.portadaferia .hero-banner-slick .hb-1540628243986.hero-banner-slider .container .hero-banner-button.hb-btn-1::before {
    background: url(/madring/img/fondo-texto/sin-titulo-2.webp);
    background-position: top right;
    background-repeat: no-repeat;
    background-size: 132px;
    background-color: var(--custom-terciary-color);
    left: -165%;
    width: 165%;
}
.portadaferia .hero-banner-slick .hb-1540628243986.hero-banner-slider .container .hero-banner-button.hb-btn-1 span {
    color: #fff !important;
    font-weight: 400;
}
.portadaferia .hero-banner-slick .hb-1540628243986.hero-banner-slider .container .hero-banner-button.hb-btn-1:hover::before {
    left: 0;
}
.portadaferia .mod-recommender-link .generic-slider {
    height: 117px !important;
}
@media (max-width: 1024px) {
    .portadaferia .mod-recommender-link .generic-slider {
        height: 170px !important;
    }
    .portadaferia .hero-banner-slick .hero-banner-slider .container .hero-banner-subtitle img.roadshow {
        margin-top: 10px;
    }
}
@media (max-width: 768px) {
    .portadaferia .mod-recommender-link .generic-slider {
        height: 170px !important;
    }
    .portadaferia .hero-banner-slick .hero-banner-slider .container .hero-banner-subtitle img {
        width: 31vh;
        margin-top: 7px;
    }
    .portadaferia .hero-banner-slick .hero-banner-slider .container .hero-banner-title {
        margin-top: 60px;
    }
    .portadaferia .hero-banner-slick .hb-1540628243986.hero-banner-slider .container .hero-banner-button.hb-btn-1 {
        zoom: 80%;
    }
}

/* Fin estilos road show */

.portadaferia .main > aside.full-width-pm,
.portadaferia .main > section.full-width-pm {
    /*margin-top:-230px;*/
    z-index: 2;
}

.portadaferia #main > section.box-container.lineas-decorativas {
    padding-top: 0px;
    position: relative;
    margin-top: -100px;
    padding-bottom: 0;
    overflow: hidden;
}
.box-container.lineas-decorativas .row.floating {
    max-width: 100% !important;
    margin: 0 auto;
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.portadaferia .main > aside.full-width-pm,
.portadaferia .main > section.full-width-pm {
    /*margin-top:-230px;*/
    z-index: 2;
}

body:not(.institutional) .mod-recommender-link .recommender-link .card-content .card-title {
    font-size: 58px;
    margin: auto;
}
.portadaferia .hero-banner-subtitle img {
    width: 640px;
}
.portadaferia .mod-recommender-link .recommender-link .arrow-wrapper span {
    display: none;
}
.portadaferia .mod-recommender-link .recommender-link a::before {
    border: none;
}
.portadaferia .mod-recommender-link .recommender-link a {
    background: transparent;
}
.portadaferia .mod-recommender-link .content-wrapper {
    background: none !important;
}
.portadaferia #main section.html:last-child {
    max-width: 100% !important;
    padding-left: 0px !important;
    padding-right: 0px !important;
    background: var(--custom-secondary-color) !important;
}
.portadaferia #main section.html:last-child > .container {
    max-width: 1390px !important;
    padding-left: 100px;
    padding-right: 100px;
}

.portadaferia .presentation-text p {
    font-family: "Barlow" !important;
    width: 60%;
    margin: 26px auto 7px;
}

@media (max-width: 768px) {
    .portadaferia #main section.html:last-child {
        padding: 20px 20px !important;
    }

    .presentation .presentation-wrapper {
        padding-top: 100px;
    }

    .portadaferia .presentation-text p {
        width: 100%;
        margin: -70px auto 7px;
    }

    .portadaferia .hero-banner-subtitle img {
        width: 33vh;
    }
    .portadaferia .mod-tabs[data-num-tabs="1"] .content,
    .portadaferia .mod-tabs[data-num-tabs="2"] .content,
    .portadaferia .mod-tabs[data-num-tabs="3"] .content {
        padding-top: 0px;
    }
    .portadaferia .cta-resultados {
        margin-top: 10px !important;
    }
}

/* Herobanner */

.portadaferia .hero-banner-subtitle img {
    width: 65vh;
}

@media (max-width: 1024px) {
    .portadaferia .hero-banner-subtitle img {
        width: 65vh;
        margin: auto;
    }
}
@media (max-width: 768px) {
    /*.hero-banner-slick-wrapper .content-wrapper {
        height: 100vh !important;
    }*/
    .portadaferia .hero-banner-subtitle img {
        width: 50vh;
    }
}

/* Menú */

body .header-nav-fair-container.fixed .fixed-content-wrapper .fixed-content {
    box-shadow: 0 2px 8px -2px rgba(0, 0, 0, .16);
}
/* Menú

/* Hero */
.hero-banner-slick .hero-banner-slider .container .hero-banner-title {
    max-height: 100%;
    min-height: auto;
    max-width: 100%;
    height: auto;
    -webkit-line-clamp: 100;
    font-size: 184px !important;
    line-height: 8.5rem !important;
    color: var(--custom-terciary-color);
}
.hero-banner-slick .hero-banner-slider .container .hero-banner-subtitle {
    max-height: 100%;
    max-width: 100%;
    height: auto;
    -webkit-line-clamp: 100;
    font-size: 28px !important;
    line-height: 32px !important;
    font-family: "Barlow";
    font-weight: 500;
}
@media (max-width: 1024px) {
    .hero-banner-slick .hero-banner-slider .container .hero-banner-title {
        font-size: 154px !important;
        line-height: 7.5rem !important;
    }
    .hero-banner-slick .hero-banner-slider .container .hero-banner-subtitle {
        font-size: 26px !important;
        line-height: 28px !important;
    }
}
@media (max-width: 767px) {
    .hero-banner-slick .content {
        /*height: 100%;
        justify-content: space-between;
        padding: 20px 0;*/
    }
    .hero-banner-slick .content-wrapper {
        /*justify-content: space-between;*/
    }
    .hero-banner-slick .hero-banner-slider .container .hero-banner-title {
        font-size: 124px !important;
        line-height: 5.5rem !important;
    }
    .indent-left {
        text-align: right;
        padding-right: 0.1em;
        width: 100%;
        margin-left: 0;
    }
    .hero-banner-slick .hero-banner-slider .container .hero-banner-title .title-AtSlamRight {
        width: 100%;
        text-align: right;
    }
    .hero-banner-slick .hero-banner-slider .img-veil .img-wrapper .embed-player {
        height: 100% !important;
        left: 0 !important;
        width: 114% !important;
    }
    .hero-banner-slick .content {
        /*margin: 0;*/
    }
}

@media (max-width: 500px) {
    .hero-banner-slick .hero-banner-slider .container {
        padding: 0;
    }
    .hero-banner-slick .hero-banner-slider .container .hero-banner-title {
        font-size: 90px !important;
        line-height: 4rem !important;
    }
    .hero-banner-slick .hero-banner-slider .container .hero-banner-subtitle,
    .hero-banner-slick .content .bottom-wrapper {
        padding: 0 20px;
    }
}

/* Animations */

.anim-ltr {
    display: inline-block;
    opacity: 0;
    transform: translateX(-100%);
    animation: slideInLeft 1s ease forwards;
}
.anim-rtl {
    display: inline-block;
    opacity: 0;
    transform: translateX(100%);
    animation: slideInRight 1s ease forwards;
}
/* Estado inicial para los textos en .partnrs-slider */
.partnrs-slider .partnrs-ltr,
.partnrs-slider .partnrs-rtl {
    display: inline-block;
    opacity: 0; /* Oculto inicialmente */
    transform: translateX(-100%); /* Por defecto, fuera de pantalla */
}

/* Estado inicial para RTL (solo cambia la dirección) */
.partnrs-slider .partnrs-rtl {
    transform: translateX(100%);
}

/* Animaciones activas solo en .partnrs-slider */
.partnrs-slider .partnrs-ltr-active {
    animation: slideInLeft 1s ease forwards;
}

.partnrs-slider .partnrs-rtl-active {
    animation: slideInRight 1s ease forwards;
}
@media (max-width: 767px) {
    /* .fair header.header-container h1.ifema-h1 {
        line-height: 80px !important;
        font-size: 81px !important;
    } */
    body .mod-presentation.mod-presentation .presentation-container .presentation-text {
        background-color: transparent !important;
    }
}
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Módulo KPIs */
.mod-our-partnrs:not(.media-right) .text-title-wrapper {
    margin-right: 0 !important;
}

.mod-kpi .kpi-card .digit-wrapper .symbol {
    font-family: "AtSlam-Regular" !important;
    letter-spacing: 3px;
    margin-bottom: 38px;
    margin-left: 6px;
    transform: skew(-18deg);
}
.mod-kpi .kpi-card .text-wrapper span {
    font-family: "Barlow" !important;
    text-transform: uppercase;
    font-size: 28px !important;
    line-height: 34px !important;
    font-weight: 400 !important;
}
.mod-our-partnrs .partnrs-slider .slick-prev {
    right: 200px;
    bottom: 5px;
    top: auto;
    left: auto;
    background-color: var(--custom-terciary-color);
    border-radius: 50%;
    background-image: url(https://www.ifema.es/web/ferias/circuito_mr/assets/blue-arrow.svg);
    background-size: 50%;
    background-repeat: no-repeat;
    background-position: center;
    width: 50px;
    height: 50px;
    display: block;
    transform: scaleX(-1);
}
.mod-our-partnrs .partnrs-slider .slick-next {
    right: 120px;
    bottom: -18px;
    top: auto;
    left: auto;
    background-color: var(--custom-terciary-color);
    border-radius: 50%;
    background-image: url(https://www.ifema.es/web/ferias/circuito_mr/assets/blue-arrow.svg);
    background-size: 50%;
    background-repeat: no-repeat;
    background-position: center;
    width: 50px;
    height: 50px;
    display: block;
}
.mod-our-partnrs .partnrs-slider .slick-prev:before,
.mod-our-partnrs .partnrs-slider .slick-next:before {
    content: "";
}

.mod-our-partnrs .partnrs-slider {
    background: var(--custom-primary-color);
    position: relative;
}
.mod-our-partnrs .partnrs-slider::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: url(https://www.ifema.es/ferias/circuito_mr/assets/lines-2.svg) no-repeat center / cover;
    z-index: -1;
}
.slick-autoplay-toggle-button {
    display: none;
}
.partnrs-slider {
    position: relative;
    overflow: hidden;
}

.mod-our-partnrs .partnrs-slider .slick-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    justify-content: flex-end;
}
.mod-our-partnrs:not(.media-right) .text-title {
    justify-content: flex-end;
    margin-right: calc(50vw - 451px) !important;
}
.partnrs-slider .slick-active {
    opacity: 1;
    z-index: 1;
}
.mod-our-partnrs .big-img-wrapper {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    width: 100%;
    height: 100%;
}
.mod-our-partnrs .big-img {
    width: 100% !important;
}
.mod-our-partnrs .big-img img {
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
    width: auto;
    height: 100%;
    -o-object-fit: contain;
    object-fit: contain;
}
.mod-our-partnrs p.title {
    font-family: "AtSlam-Semibold" !important;
    font-size: 128px !important;
    line-height: 120px !important;
    color: var(--custom-terciary-color);
}
.mod-our-partnrs p.title sup {
    top: -0.75em;
    margin-left: 0.5rem;
    font-size: 50%;
}
.mod-our-partnrs .subtitle {
    font-family: "AtSlam-RegularBackslant" !important;
    font-size: 46px !important;
    line-height: 52px !important;
    padding: 0 5px;
    color: var(--custom-terciary-color);
}
.mod-our-partnrs .slick-dots {
    margin: 0 auto;
    bottom: auto;
    line-height: 0;
    width: fit-content;
    margin-bottom: 20px;
}
.mod-our-partnrs .big-img img {
    padding-top: 40px;
}
.mod-our-partnrs .partnrs-slider::before {
    display: none;
}
.mod-our-partnrs .partnrs-slider {
    background-image: url("https://www.ifema.es/web/ferias/circuito_mr/assets/fondo-kpis.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.mod-our-partnrs .slick-dots {
    margin-left: 10%;
    background-color: transparent;
    padding: 0;
}
body .slick-dots:hover {
    background: none;
}
body .slick-dots {
    column-gap: 8px;
}
body .slick-dots li {
    transition: none !important;
    background: var(--custom-terciary-color) !important;
    width: 10px !important;
}
body .slick-dots li.slick-active {
    width: 18px !important;
    height: 18px !important;
    border: 4px double var(--custom-terciary-color) !important;
    background: none !important;
}
.mod-our-partnrs p.title {
    min-width: 200px;
}
.mod-our-partnrs:not(.media-right) .text-title {
    align-items: flex-start;
    padding: 0;
}
.portadaferia .mod-our-partnrs .subtitle {
    font-size: 46px !important;
    line-height: 52px !important;
}
.portadaferia .mod-presentation .media-izq .presentation-image.corte-izq a::before,
.portadaferia .mod-presentation .media-izq .presentation-image.corte-izq::before,
.portadaferia .presentation .media-izq .presentation-image.corte-izq a::before,
.portadaferia .presentation .media-izq .presentation-image.corte-izq::before {
    transform: none !important;
}
.portadaferia .mod-presentation .presentation-image img,
.portadaferia .presentation .presentation-image img {
    height: auto !important;
}

@media (max-width: 1024px) {
    .mod-our-partnrs .big-img img {
        height: 90%;
    }
    .portadaferia #main .box-container .row.floating:after {
        bottom: -107px !important;
    }
}
@media (max-width: 768px) {

    body:not(.institutional) .mod-recommender-link .recommender-link .card-content {
        padding: 0px 0px 10px;
        justify-content: center !important;
    }
    .mod-recommender-link .recommender-link .arrow-wrapper span::before {
        margin-top: -15px !important;
        left: -75px !important;
    }
    .mod-recommender-link .recommender-link .arrow-wrapper span:hover::before {
        left: -38px !important;
    }
    .mod-recommender-link .recommender-link a::before {
        margin-left: 2% !important;
        margin-top: -2% !important;
    }
    .mod-recommender-link .recommender-link a:hover::before {
        margin-left: 0% !important;
        margin-top: 0% !important;
    }
    .portadaferia #main .box-container .row.floating:after {
        bottom: -68px !important;
        width: 175% !important;
        height: 58% !important;
    }
    #main section.html:last-of-type {
        margin-top: 0px !important;
    }
    .portadaferia #main > section.box-container.lineas-decorativas .row.floating {
        position: relative;
        min-height: 236px;
    }
    .portadaferia #main > section.box-container.lineas-decorativas .row.floating img {
        position: absolute;
        height: 236px;
        left: -20px;
    }
    .portadaferia .simple-filters {
        padding: 0 20px 20px;
    }

    .slick-slide:nth-of-type(1) .big-img img {
        content: url("/madring/img/m/kpi-circuito-1---madring/circuito-full-mov.webp");
    }
    .slick-slide:nth-of-type(2) .big-img img {
        content: url("/madring/img/m/kpi-circuito-2---madring/circuito-curvas-mov.webp");
    }
    .slick-slide:nth-of-type(3) .big-img img {
        content: url("/madring/img/m/kpi-circuito-1---madring/circuito-full-mov.webp");
    }
    .slick-slide:nth-of-type(4) .big-img img {
        content: url("/madring/img/m/kpi-circuito-3---madring/circuito-peralte-mov.webp");
    }

}
@media (max-width: 520px) {
    .portadaferia .hero-banner-subtitle img {
        width: 40vh;
    }
    .mod-our-partnrs .partnrs-slider .slick-slide,
    .mod-our-partnrs .slick-slider .slick-list {
        height: 400px;
    }
    .mod-our-partnrs .big-img {
        height: 400px;
    }
}

/* Delay classes */

.delay-1 {
    animation-delay: 0.5s;
}
.delay-2 {
    animation-delay: 1s;
}
.delay-3 {
    animation-delay: 1.5s;
}
.delay-4 {
    animation-delay: 2s;
}

/* básicos */

.basico .number {
    color: var(--custom-secondary-color);
    display: block;
    font-family: "AtSlam-Regular" !important;
    letter-spacing: 5px;
    font-size: 60px;
    margin-bottom: 12px;
}
.basico.mt-lg {
    margin-top: 0px !important;
}
@media (max-width: 1024px) {
    .basico .number {
        margin-bottom: 20px;
    }
}

caption{
    color: #f8f89e;
}

/*  Videos */

.videosimagenes .new-video {
    border-radius: 24px;
}
.basico div.video-player:focus:not(:active)::before {
    outline: none;
}

/* Modulo redes home */
#main .box-container {
    background: transparent;
    color: #fff;
}
#main .cont-redes {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
#main .cont-redes > div {
    padding: 0 15px;
}
#main .cont-redes div a.red {
    background-color: var(--custom-secondary-color) !important;
    display: flex;
    height: 80px;
    width: 80px;
    margin: 0 auto 40px;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
    transition: all 0.4s ease;
    overflow: hidden;
    position: relative;
    border-radius: 0;
}
#main .cont-redes div a.red:hover::before {
    left: 0px;
}
#main .cont-redes div a.red::before {
    content: "";
    position: absolute;
    top: 0px;
    left: -160px;
    width: 242px;
    height: 81px;
    background: linear-gradient(45deg, #083245 50%, var(--custom-secondary-color) 50%);
    transition: all 0.3s ease;
    z-index: 0;
}
#main .cont-redes div a.red img {
    height: 50px;
}
.cont-redes div a span {
    z-index: 2;
}
.cont-redes div a span.red-text {
    display: none;
}
.box-container .row.floating {
    max-width: 1390px !important;
    margin: 0 auto;
    padding-left: 100px !important;
    padding-right: 100px !important;
}
#main > section.box-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 50px;
    padding-bottom: 80px;
}
.portadaferia #main > section.box-container {
    padding-top: 40px;
    padding-top: 100px;
    position: relative;
}
.portadaferia #main > section.box-container .container.pt-5 {
    padding-top: 2rem !important;
}
@media (max-width: 1440px) {
    .box-container .row.floating {
        max-width: 1190px !important;
        padding-left: 0px !important;
        padding-right: 0px !important;
    }
}
@media (max-width: 1280px) {
    .box-container .row.floating {
        max-width: 950px !important;
        padding-left: 0px !important;
        padding-right: 0px !important;
    }
}
@media (max-width: 1024px) {
    .box-container .row.floating {
        max-width: 728px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}
@media (max-width: 767px) {
    .box-container .row.floating {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    #main .cont-redes div a.red {
        zoom: 75%;
    }
}

/* Acordeones */

.mod-vertical-accordion .accordion .accordion-header.collapsed,
.mod-vertical-accordion .accordion .accordion-header {
    background-color: transparent;
    border-bottom: 1px solid var(--custom-terciary-color);
    position: relative;
    transition: all 0.4s ease;
}
.mod-vertical-accordion .accordion .title-wrapper {
    padding-left: 0px;
}
.mod-vertical-accordion .accordion .accordion-header.collapsed::before,
.mod-vertical-accordion .accordion .accordion-header::before {
    content: "";
    display: inline-block;
    width: 38px;
    height: 42px;
    margin-top: -5px;
    background-image: url(/web/ferias/circuito_mr/assets/yellow-arrow.svg);
    background-size: contain;
    background-repeat: no-repeat;
    position: absolute;
    right: 0;
    transform: rotate(90deg);
}
.mod-vertical-accordion .accordion .accordion-header::before {
    transform: rotate(-90deg);
    right: -6px;
}

.mod-vertical-accordion .accordion .symbol-wrapper {
    display: none;
}
.mod-vertical-accordion .accordion .row-accordion-body,
html .cog-form__container,
:root:root:root:root:root .cog-form__container {
    background-color: var(--custom-primary-color);
    padding-bottom: 0 !important;
}
.mod-vertical-accordion .accordion .row-accordion-wrapper {
    border-bottom: none;
}
.mod-vertical-accordion .accordion .accordion-header,
.mod-vertical-accordion .accordion .row-accordion-body {
    padding: 13px 18px 13px 0;
}
@media (min-width: 768px) {
    .mod-vertical-accordion .accordion .row-accordion-body {
        padding-left: 0px;
    }
}

/* ? */

.page-detail {
    color: #fff;
    background-color: var(--custom-primary-color) !important;
}
.ifm-highlighted-notice,
body > footer,
body:not(.portadaferia) > footer.fair .footer-content .interest-area,
body:not(.portadaferia) > footer.fair .footer-content .interest-area,
body > footer.fair .footer-content .interest-area,
body > footer.fair .footer-content {
    background: transparent !important;
}

/* galeria de imagenes y videos */

.carouselM .slider-for .slick-slide > div > .row .col,
body.full-width-site .carouselM .slider-nav .s-slide {
    border-radius: 24px;
    overflow: hidden;
}

/* beadcrumbs */

#contact_form .form-check-label a,
#cvinput,
.IMGtitle,
.Letter,
.breadcrumb-item a,
.breadcrumb-item a:hover,
.card .CBody > a,
.card .card-body > a,
.card .country-footer > a,
.carousel-control-next .icon-right,
.carousel-control-prev .icon-left,
.close-filters,
.custom-select,
.custom-select option,
.date-filter,
.date-filter::before,
.expand-filters,
.ferias-card a,
.filter-tag,
.filter-tag::after,
.filter-title,
.filter-title-var,
.filters-text,
.galeria-box a,
.gestion-body a,
.gob-body a,
.highlighted-text,
.icon-menu-2-fill::before,
.icon-menu-4-fill::before,
.kpi > span.h4,
.lightpick__day.is-today:not(.is-start-date):not(.is-end-date),
.lightpick__days,
.lightpick__days-of-the-week,
.lightpick__month-title > .lightpick__select,
.lightpick__month-title > .lightpick__select-months,
.lightpick__next-action::before,
.lightpick__previous-action::before,
.menu-link-alt,
.collections-list .nav-tabs .nav-item.show .nav-link,
.collections-list .nav-tabs .nav-link.active,
.collections-list .nav-tabs .nav-link:focus,
.collections-list .nav-tabs .nav-link:hover,
.others-link,
.result-search-container .input-group .input-group-append button,
.selector-label::after,
.show-calendar,
.showlink,
.tarifas-link,
.text404container a,
.time-filter,
.upper-text,
body > footer > section:not(.insti-footer):last-of-type a.animated-link,
body > footer > section:not(.insti-footer):last-of-type a.animated-link:hover {
    color: #fff !important;
}

.breadcrumb-item.active {
    color: #fff !important;
}

/* formularios */
html .cog-upload .el-upload-dragger>div, :root:root:root:root:root .cog-upload .el-upload-dragger>div {
    background: transparent!important;
}
body #main .cog-cognito .cog-content p, body #main .cog-cognito .cog-content p span, :root:root:root body #main .cog-cognito .cog-repeating-section .cog-helptext p,:root:root:root #main .cog-cognito--styled.cog-cognito--protect-css .cog-section p{
    color: #fff !important;
    font-family: "Barlow" !important;
    font-size: 18px !important;
    font-style: normal;
    font-weight: 400 !important;
    line-height: 160% !important;
}
:root:root:root body #main .cog-cognito .cog-repeating-section .cog-repeating-section__heading,html .cog-cognito--styled .cog-button--no-style, :root:root:root:root:root .cog-cognito--styled .cog-button--no-style,body #main .cog-cognito .cog-upload__drag-text{
	color: #fff!important
}
html .cog-section__inner--background, :root:root:root:root:root .cog-section__inner--background {
    background: transparent !important;
}
html .cog-cognito--styled .cog-button--secondary, :root:root:root:root:root .cog-cognito--styled .cog-button--secondary {
    background: transparent!important;
    border: 1px solid #fff!important;
    border-radius: 4px!important;
    color: #fff!important;
}
html .cog-cognito--styled .cog-button--secondary:hover, :root:root:root:root:root .cog-cognito--styled .cog-button--secondary:hover {
    box-shadow: inset 0 0 0 1px #fff!important;
}
:root:root:root:root:root .cog-section .cog-repeating-section__section .cog-section__inner{
    background: transparent;
    border: calc(var(--border-width)*2) solid hsla(var(--background-hsl), 0.2);
}
body #main .cog-cognito h2.cog-section__heading {
    font-family: "Work Sans" !important;
    font-weight: 600 !important;
    text-transform: none;
    font-size: 28px !important;
    line-height: 34px !important;
    color: var(--custom-terciary-color);
}
html .cog-checkable:not(.cog-checkable--card).cog-checkable--inline .el-radio, html .cog-checkable:not(.cog-checkable--card).cog-checkable--inline .el-checkbox, :root:root:root:root:root .cog-checkable:not(.cog-checkable--card).cog-checkable--inline .el-radio, :root:root:root:root:root .cog-checkable:not(.cog-checkable--card).cog-checkable--inline .el-checkbox {
    align-items: flex-start;
}
html .cog-cognito--styled .el-checkbox__input, html .cog-cognito--styled .el-radio__input, :root:root:root:root:root .cog-cognito--styled .el-checkbox__input, :root:root:root:root:root .cog-cognito--styled .el-radio__input {
    margin-top: 3px;
}
body:not(.portadaferia) :root:root:root:root:root .cog-picker .cog-icon g path {
    display: none;
}
html .cog-cognito--styled .el-checkbox__inner,
html .cog-cognito--styled .el-radio__inner,
:root:root:root:root:root .cog-cognito--styled .el-checkbox__inner,
:root:root:root:root:root .cog-cognito--styled .el-radio__inner {
    border: 1px solid #fff !important;
}
:root:root:root:root .cog-cognito--styled.cog-cognito--protect-css ul {
    margin-bottom: 0 !important;
}
html .cog-cognito--styled.cog-form,
:root:root:root:root:root .cog-form:focus {
    background: transparent !important;
}
[data-state="ready"].cog-embed-script ~ .preloader {
    display: none;
}
.cog-loader {
    display: none;
}
html .cog-checkable .el-radio__label.el-radio__label,
html .cog-checkable .el-checkbox__label.el-checkbox__label,
:root:root:root:root:root .cog-checkable .el-radio__label.el-radio__label,
:root:root:root:root:root .cog-checkable .el-checkbox__label.el-checkbox__label,
:root:root:root .cog-cognito--styled.cog-cognito--protect-css p,
html .cog-label,
:root:root:root:root:root .cog-label {
    color: #fff !important;
}

html .cog-asterisk, :root:root:root:root:root .cog-asterisk {
    position: absolute;
    margin-left: .2em;
    content: "*";
    color: #fff !important;
}

html .cog-body,
:root:root:root:root:root .cog-body,
html .cog-form__container,
:root:root:root:root:root .cog-form__container {
    background-color: transparent !important;
    background: transparent !important;
}
html .cog-form--light-background .cog-col.is-error::before,
:root:root:root:root:root .cog-form--light-background .cog-col.is-error::before {
    background: var(--custom-primary-color);
    outline: #000 calc(var(--gutter) / 2 - 3px) solid;
}

html .cog-choice--checkboxes .cog-label,
:root:root:root:root:root .cog-choice--checkboxes .cog-label {
    display: block !important;
    text-transform: uppercase;
    color: var(--custom-terciary-color) !important;
}
html .cog-checkable .el-radio__label.el-radio__label,
html .cog-checkable .el-checkbox__label.el-checkbox__label,
:root:root:root:root:root .cog-checkable .el-radio__label.el-radio__label,
:root:root:root:root:root .cog-checkable .el-checkbox__label.el-checkbox__label,
:root:root:root .cog-cognito--styled.cog-cognito--protect-css p,
html .cog-label,
:root:root:root:root:root .cog-label {
    font-family: "Barlow" !important;
}
html .cog-cognito .el-select-dropdown__list li,
:root:root:root:root:root .cog-cognito .el-select-dropdown__list li span {
    font-family: "Barlow";
}
html .cog-cognito--styled textarea::placeholder,
html .cog-cognito--styled select::placeholder,
html .cog-cognito--styled input[type="text"]::placeholder,
html .cog-cognito--styled [type="tel"]::placeholder,
html .cog-cognito--styled [type="password"]::placeholder,
html .cog-cognito--styled [type="date"]::placeholder,
html .cog-cognito--styled [type="email"]::placeholder,
html .cog-cognito--styled [type="url"]::placeholder,
html .cog-cognito--styled [type="time"]::placeholder,
:root:root:root:root:root .cog-cognito--styled textarea::placeholder,
:root:root:root:root:root .cog-cognito--styled select::placeholder,
:root:root:root:root:root .cog-cognito--styled input[type="text"]::placeholder,
:root:root:root:root:root .cog-cognito--styled [type="tel"]::placeholder,
:root:root:root:root:root .cog-cognito--styled [type="password"]::placeholder,
:root:root:root:root:root .cog-cognito--styled [type="date"]::placeholder,
:root:root:root:root:root .cog-cognito--styled [type="email"]::placeholder,
:root:root:root:root:root .cog-cognito--styled [type="url"]::placeholder,
:root:root:root:root:root .cog-cognito--styled [type="time"]::placeholder {
    color: rgb(255,255,255,0.8) !important;
    font-size: 18px !important;
    font-family: "Barlow" !important;
    font-weight: 400 !important;
    /* text-trasform: uppercase !important; */
}

/* html .cog-cognito--styled textarea:focus::placeholder,
html .cog-cognito--styled select:focus::placeholder,
html .cog-cognito--styled input[type="text"]:focus::placeholder,
html .cog-cognito--styled [type="tel"]:focus::placeholder,
html .cog-cognito--styled [type="password"]:focus::placeholder,
html .cog-cognito--styled [type="date"]:focus::placeholder,
html .cog-cognito--styled [type="email"]:focus::placeholder,
html .cog-cognito--styled [type="url"]:focus::placeholder,
html .cog-cognito--styled [type="time"]:focus::placeholder,
:root:root:root:root:root .cog-cognito--styled textarea:focus::placeholder,
:root:root:root:root:root .cog-cognito--styled select:focus::placeholder,
:root:root:root:root:root .cog-cognito--styled input[type="text"]:focus::placeholder,
:root:root:root:root:root .cog-cognito--styled [type="tel"]:focus::placeholder,
:root:root:root:root:root .cog-cognito--styled [type="password"]:focus::placeholder,
:root:root:root:root:root .cog-cognito--styled [type="date"]:focus::placeholder,
:root:root:root:root:root .cog-cognito--styled [type="email"]:focus::placeholder,
:root:root:root:root:root .cog-cognito--styled [type="url"]:focus::placeholder,
:root:root:root:root:root .cog-cognito--styled [type="time"]:focus::placeholder {
    color: var(--custom-terciary-color) !important;
} */

html .cog-picker .cog-icon,
html .cog-picker .cog-icon g,
html .cog-input--icon .cog-icon,
html .cog-input--icon .cog-icon g,
:root:root:root:root:root .cog-picker .cog-icon,
:root:root:root:root:root .cog-picker .cog-icon g,
:root:root:root:root:root .cog-input--icon .cog-icon,
:root:root:root:root:root .cog-input--icon .cog-icon g {
    stroke: #fff !important;
}
html .cog-picker .cog-icon:focus,
html .cog-picker .cog-icon g:focus,
html .cog-input--icon .cog-icon:focus,
html .cog-input--icon .cog-icon g:focus,
:root:root:root:root:root .cog-picker .cog-icon:focus,
:root:root:root:root:root .cog-picker .cog-icon g:focus,
:root:root:root:root:root .cog-input--icon .cog-icon:focus,
:root:root:root:root:root .cog-input--icon .cog-icon g:focus {
    stroke: var(--custom-terciary-color) !important;
}
html .cog-cognito--styled .is-checked .el-checkbox__inner,
:root:root:root:root:root .cog-cognito--styled .is-checked .el-checkbox__inner {
    background-color: var(--custom-terciary-color) !important;
}
html #main .cog-cognito--styled .el-checkbox__inner:focus,
:root:root:root:root:root #main .cog-cognito--styled .el-checkbox__inner:focus,
html .cog-cognito--styled .el-checkbox:hover .el-checkbox__inner,
html .cog-cognito--styled .el-radio:hover .el-radio__inner,
:root:root:root:root:root .cog-cognito--styled .el-checkbox:hover .el-checkbox__inner,
:root:root:root:root:root .cog-cognito--styled .el-radio:hover .el-radio__inner {
    border: 3px solid var(--custom-terciary-color) !important;
}
html .cog-cognito--styled .is-checked .el-checkbox__checkmark,
:root:root:root:root:root .cog-cognito--styled .is-checked .el-checkbox__checkmark {
    stroke: #000 !important;
}
html .cog-cognito--styled .el-checkbox__inner::after,
:root:root:root:root:root .cog-cognito--styled .el-checkbox__inner::after {
    border-color: #000 !important;
}
html .cog-page__navigation,
:root:root:root:root:root .cog-page__navigation {
    justify-content: flex-start !important;
}
html .cog-form--light-background .cog-col.is-error::before,
:root:root:root:root:root .cog-form--light-background .cog-col.is-error::before {
    background: transparent !important;
    outline: transparent calc(var(--gutter) / 2 - 3px) solid !important;
}
html .cog-cognito .el-select-dropdown__list li:hover,
html .cog-cognito .el-autocomplete-suggestion__list li:hover,
:root:root:root:root:root .cog-cognito .el-select-dropdown__list li:hover,
:root:root:root:root:root .cog-cognito .el-autocomplete-suggestion__list li:hover {
    outline: none !important;
}

/* modulos tarjetas */

.tarjetas p,
.tarjetas a.showlink {
    color: #000 !important;
    width: 100%;
}
/* .tarjetas p.h6 {
    font-size: 27px;
    font-weight: 500 !important;
} */
.card-body {
    display: flex;
    align-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
}
.preloader .dot:nth-child(1) {
    background-color: var(--custom-secondary-color) !important;
}
.preloader .dot:nth-child(2) {
    background-color: var(--custom-terciary-color) !important;
}
.preloader .dot:nth-child(3) {
    background-color: var(--custom-secondary-color) !important;
}
html .cog-cognito--styled textarea,
html .cog-cognito--styled select,
html .cog-cognito--styled input[type="text"],
html .cog-cognito--styled [type="tel"],
html .cog-cognito--styled [type="password"],
html .cog-cognito--styled [type="date"],
html .cog-cognito--styled [type="email"],
html .cog-cognito--styled [type="url"],
html .cog-cognito--styled [type="time"],
:root:root:root:root:root .cog-cognito--styled textarea,
:root:root:root:root:root .cog-cognito--styled select,
:root:root:root:root:root .cog-cognito--styled input[type="text"],
:root:root:root:root:root .cog-cognito--styled [type="tel"],
:root:root:root:root:root .cog-cognito--styled [type="password"],
:root:root:root:root:root .cog-cognito--styled [type="date"],
:root:root:root:root:root .cog-cognito--styled [type="email"],
:root:root:root:root:root .cog-cognito--styled [type="url"],
:root:root:root:root:root .cog-cognito--styled [type="time"] {
    font-size: 18px !important;
    font-family: "Barlow" !important;
    font-weight: 400 !important;
    background: transparent !important;
    border: 1px solid #fff !important;
    padding-left: 0 !important;
    color: #fff !important;
    text-indent: 10px;
    border-radius: 4px !important;
}
html .cog-cognito--styled textarea:active,
html .cog-cognito--styled select:active,
html .cog-cognito--styled input[type="text"]:active,
html .cog-cognito--styled [type="tel"]:active,
html .cog-cognito--styled [type="password"]:active,
html .cog-cognito--styled [type="date"]:active,
html .cog-cognito--styled [type="email"]:active,
html .cog-cognito--styled [type="url"]:active,
html .cog-cognito--styled [type="time"]:active,
:root:root:root:root:root .cog-cognito--styled textarea:active,
:root:root:root:root:root .cog-cognito--styled select:active,
:root:root:root:root:root .cog-cognito--styled input[type="text"]:active,
:root:root:root:root:root .cog-cognito--styled [type="tel"]:active,
:root:root:root:root:root .cog-cognito--styled [type="password"]:active,
:root:root:root:root:root .cog-cognito--styled [type="date"]:active,
:root:root:root:root:root .cog-cognito--styled [type="email"]:active,
:root:root:root:root:root .cog-cognito--styled [type="url"]:active,
:root:root:root:root:root .cog-cognito--styled [type="time"]:active,
html .cog-cognito--styled textarea:focus,
html .cog-cognito--styled select:focus,
html .cog-cognito--styled input[type="text"]:focus,
html .cog-cognito--styled [type="tel"]:focus,
html .cog-cognito--styled [type="password"]:focus,
html .cog-cognito--styled [type="date"]:focus,
html .cog-cognito--styled [type="email"]:focus,
html .cog-cognito--styled [type="url"]:focus,
html .cog-cognito--styled [type="time"]:focus,
:root:root:root:root:root .cog-cognito--styled textarea:focus,
:root:root:root:root:root .cog-cognito--styled select:focus,
:root:root:root:root:root .cog-cognito--styled input[type="text"]:focus,
:root:root:root:root:root .cog-cognito--styled [type="tel"]:focus,
:root:root:root:root:root .cog-cognito--styled [type="password"]:focus,
:root:root:root:root:root .cog-cognito--styled [type="date"]:focus,
:root:root:root:root:root .cog-cognito--styled [type="email"]:focus,
:root:root:root:root:root .cog-cognito--styled [type="url"]:focus,
:root:root:root:root:root .cog-cognito--styled [type="time"]:focus {
    background: transparent !important;
    border: 1px solid #e10600 !important;
    outline: 3px solid #e10600 !important;   
    outline-offset: 2px;
    padding-left: 0 !important;
    color: #fff !important;
    box-shadow: none !important;
}
html .fair .cog-cognito .el-select-dropdown__list li,
:root:root:root:root:root .fair .cog-cognito .el-select-dropdown__list li {
    background: #083245 !important;
}
html .fair .cog-cognito .el-select-dropdown__list li.selected,
:root:root:root:root:root .fair .cog-cognito .el-select-dropdown__list li.selected,
html .fair .cog-cognito .el-select-dropdown__list li:hover,
:root:root:root:root:root .fair .cog-cognito .el-select-dropdown__list li:hover {
    background: var(--custom-primary-color) !important;
}
html .fair .cog-cognito .el-select-dropdown__list li.cog-select-option--empty,
:root:root:root:root:root .fair .cog-cognito .el-select-dropdown__list li.cog-select-option--empty {
    display: none;
}
:root:root .fair .cog-cognito--styled.cog-cognito--protect-css.el-select-dropdown--long *,
html .fair .cog-cognito .el-select-dropdown__list li,
:root:root:root:root:root .fair .cog-cognito .el-select-dropdown__list li span {
    color: #fff;
	font-size: 17px;
}
html .fair .cog-cognito.cog-select-popper[x-placement^="bottom"],
:root:root:root:root:root .fair .cog-cognito.cog-select-popper[x-placement^="bottom"] {
    background: transparent;
}
html #main .cog-cognito--styled .is-error .el-input__inner,
html #main .cog-cognito--styled .is-error .el-textarea__inner,
:root:root:root:root:root #main .cog-cognito--styled .is-error .el-input__inner,
:root:root:root:root:root #main .cog-cognito--styled .is-error .el-textarea__inner,
:root:root:root:root:root #main .is-error .cog-upload:not(.is-read-only),
html #main .is-error .cog-signature canvas,
:root:root:root:root:root #main .is-error .cog-signature canvas {
    border: none !important;
    border-bottom: 1px solid var(--custom-secondary-color) !important;
    background: url(https://www.ifema.es/img/error/circle-error-v3.svg) center right no-repeat transparent !important;
    background-size: 48px !important;
}
:root:root:root:root:root #main .cog-cognito--styled .is-error .el-select .el-input__inner{
background: url(https://www.ifema.es/img/error/circle-error-v3.svg) 94% 50% no-repeat transparent !important;
}
html #main .cog-error-message,
:root:root:root:root:root #main .cog-error-message {
    background: transparent;
    padding: 0;
    color: var(--custom-secondary-color) !important;
    margin: 0;
    line-height: 18px;
    font-size: 14px;
}
body > :not(header):not(footer):not(form):not(nav) a:not(.btn):not(.truncate-small):not(.showlink):not(.link-background):not(.opacity):not(.ifm-cmp-link):not(.ifm-rts-button):not(.link-primary):not(.chip-primary):not(.nav-link):not(.video-player):not(.video-card):not(.hidden-text):not(.no-default-link):not(.hero-banner-button):not([data-toggle="lightbox"]):not([data-year-anchor]) {
    color: #fff !important;
}

/* Buttons */

#main .fixed-tickets-sales .hospitality {
    background: #baa072 !important;
}
#main .fixed-tickets-sales .hospitality span {
    color: #032230 !important;
    white-space: nowrap;
}
#main .fixed-tickets-sales .hospitality::after {
    color: #032230 !important;
}
#main .fixed-tickets-sales .hospitality:hover {
    background: #fff !important;
}
#main .fixed-tickets-sales .hospitality span.hover-effect,
#main .fixed-tickets-sales .hospitality span.hover-effect span {
    color: #032230 !important;
}
#main .fixed-tickets-sales .hospitality:hover::after {
    color: #032230 !important;
}

/* footer */

.fixed-tickets-sales .displayed-content-wrapper {
    background: linear-gradient(90deg, rgba(42, 123, 155, 1) 0%, rgba(255, 64, 64, 1) 0%, rgba(3, 34, 48, 1) 61%);
}
.fixed-tickets-sales .displayed-container .close-on-mobile-cookie,
main .fixed-tickets-sales .displayed-content-wrapper .close-tickets-sales,
main .fixed-tickets-sales.bottom-in-viewport .displayed-content-wrapper .close-tickets-sales {
    display: block;
    right: 10px;
}
.fixed-tickets-sales .displayed-content {
    position: inherit;
}

.fixed-tickets-sales .displayed-container {
    display: block;
}

.fixed-tickets-sales.hide-madring {
    bottom: -100%;
    visibility: hidden;
}

.fixed-tickets-sales {
    transition:
        bottom 0.3s ease-in-out,
        visibility 0s ease-in-out 0s;
}

.fixed-tickets-sales.hide-madring {
    transition:
        bottom 0.3s ease-in-out,
        visibility 0s ease-in-out 0.3s;
}
.fixed-tickets-sales .countdown .number {
    font-family: "AtSlam-SemiboldSlanted" !important;
    letter-spacing: 0.25rem;
    color: var(--custom-terciary-color);
}
.fixed-tickets-sales .close-tickets-sales:hover {
    background-color: var(--custom-terciary-color);
}
body > footer.fair .footer-content .interest-area .link-events-wrapper .discover-text .disclaimer {
    font-size: 12px !important;
    font-weight: 400 !important;
    font-family: "Barlow" !important;
    line-height: 16px !important;
    text-transform: none;
}

body.institutional > footer .footer-content .interest-area .link-events-wrapper .discover-text,
body > footer.fair .footer-content .interest-area .link-events-wrapper .discover-text {
    display: block;
    overflow: auto;
}

@media (max-width: 1280px) and (min-width: 768px) {
    /*body.institutional>footer .footer-content .interest-area .link-events-wrapper, body>footer.fair .footer-content .interest-area .link-events-wrapper {
		width:46%;
	}*/
    body.institutional > footer .footer-content .interest-area .link-events-wrapper .discover-text,
    body > footer.fair .footer-content .interest-area .link-events-wrapper .discover-text {
        -webkit-line-clamp: 13;
    }
}

@media (max-width: 768px) {
    .fixed-tickets-sales .deploy-mobile-wrapper .deploy {
        padding: 8px 20px;
        width: 96%;
        margin: auto;
        border-radius: 5px;
    }
    .fixed-tickets-sales .text {
        margin-bottom: 0px;
    }
    .fixed-tickets-sales .deploy-mobile-wrapper a:hover span {
        color: var(--custom-primary-color) !important;
    }
    .fixed-tickets-sales .deploy-mobile-wrapper .deploy span {
        font-family: "Barlow";
    }
    .fixed-tickets-sales .deploy-mobile-wrapper .deploy span {
        text-transform: Uppercase;
    }
    .deploy-mobile-wrapper {
        padding: 0 10px 10px;
    }
    .fixed-tickets-sales .deploy-mobile-wrapper a span {
        text-align: center;
    }
    .fixed-tickets-sales .deploy-mobile-wrapper .deploy {
        margin: auto 5px;
    }
}
body .fixed-tickets-sales .link-wrapper .btn-primary span {
    font-size: 19px;
}
body .fixed-tickets-sales .link-wrapper .btn-primary {
    margin-right: 10px;
}

/* Módulo básico */
.basico .number::before {
    content: "";
    display: inline-block;
    width: 50px;
    height: 42px;
    margin-top: -5px;
    background-image: url(/madring/img/flecha-roja/red-arrow.svg);
    background-size: contain;
    background-repeat: no-repeat;
    transform: none;
}
@media (max-width: 767px) {
    body > footer.fair .footer-content .contact-wrapper {
        display: none;
    }
    body > footer.fair .footer-content .language-wrapper {
        margin-left: 0px;
    }
}
/* fin añadido */
#main section.basico {
    max-width: 100% !important;
    padding-left: 0px !important;
    padding-right: 0px !important;
    padding-top: 0 !important;
}
#main section.basico:not(:nth-of-type(4)) {
    padding-bottom: 40px !important;
}
#main > section.basico:last-child::before {
    background-image: none;
}
#main section.basico .row.floating {
    max-width: 1390px !important;
    padding-left: 100px !important;
    padding-right: 100px !important;
    margin: 0 auto;
    padding-top: 40px;
}
#main section.basico .row.floating:not:nth-of-type(4) {
    padding-bottom: 40px;
}
#main section.basico .row.floating > div {
    padding-left: 0px;
    padding-right: 0px;
}
nav[aria-label="breadcrumb"] {
    background-color: transparent !important;
}
body:not(.portadaferia) > footer.fair .footer-content .interest-area,
body:not(.portadaferia) > footer.fair .footer-content .interest-area {
    background-color: transparent !important;
}
@media (max-width: 768px) {
    #main > section.basico {
        margin-top: 0 !important;
        padding-top: 0;
    }
    #main > section.basico:nth-child(1) {
        padding-top: 20px !important;
    }
    #main section.basico .row.floating {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
    #main > section.basico:nth-child(even)::before,
    #main > section.basico:nth-child(odd)::before {
        display: none;
    }
}
@media (min-width: 768px) {
    #main section.basico .row.floating {
        max-width: 688px !important;
        padding-left: 0px !important;
        padding-right: 0px !important;
        padding-top: 30px !important;
    }
}
@media (max-width: 990px) {
    #main > section.basico {
        padding-bottom: 40px !important;
    }
    #main > section.basico:last-child {
        padding-bottom: 0px !important;
    }
}
@media (min-width: 1024px) {
    #main section.basico .row.floating {
        max-width: 950px !important;
        padding-left: 0px !important;
        padding-right: 0px !important;
    }
}
@media (min-width: 1280px) {
    #main section.basico .row.floating {
        max-width: 1190px !important;
        padding-left: 0px !important;
        padding-right: 0px !important;
    }
}
@media (min-width: 1440px) {
    #main section.basico .row.floating {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }
}

/* modales */
.mod-modal-cards .modal-cards-container .modal-card .modal-card-container .card-img {
    border-radius: 24px;
}
.mod-modal-cards .card-modal .card-modal-content {
    width: 80%;
    max-width: 1350px;
    border-radius: 24px;
}
#main .card-modal-body {
    background: #fff;
}
.card-modal .card-modal-content .card-modal-body .card-modal-title {
    color: var(--custom-primary-color) !important;
    font-weight: 700 !important;
    text-transform: uppercase;
}
.card-modal .card-modal-content .card-modal-body .card-modal-text-wrapper .card-modal-text {
    color: #000;
}
.card-modal .card-modal-content .card-modal-close:hover {
    color: #000;
}

/* Accesos destacados */

body:not(.institutional) .mod-recommender-link .title-wrapper.no-rampant {
    display: none;
}

.mod-recommender-link .content-wrapper {
    background: rgb(162, 26, 27);
    background: -webkit-linear-gradient(rgba(162, 26, 27, 1) 0%, rgba(7, 50, 69, 1) 100%);
    background: -o-linear-gradient(rgba(162, 26, 27, 1) 0%, rgba(7, 50, 69, 1) 100%);
    background: linear-gradient(rgba(162, 26, 27, 1) 0%, rgba(7, 50, 69, 1) 100%);
    min-height: 200px;
    padding: 0 !important;
}
.mod-recommender-link .generic-slider {
    padding-bottom: 0;
    display: flex;
    align-items: center;
    height: 260px;
}
body:not(.institutional) .mod-recommender-link .recommender-link .card-content {
    background-color: transparent !important;
    box-shadow: none;
    padding: 0px 0px 10px;
    min-height: auto !important;
    flex-direction: row;
    justify-content: space-between;
}
body:not(.institutional) .mod-recommender-link .recommender-link .card-content .card-title {
    text-transform: uppercase;
    font-family: "AtSlam-SemiboldSlanted";
    font-weight: 500;
    font-size: 46px;
    color: #fff;
    letter-spacing: 0.2rem;
    height: 53px !important;
}
body:not(.institutional) .mod-recommender-link .recommender-link a:hover .card-content .card-title {
    color: var(--custom-terciary-color);
}

.mod-recommender-link .recommender-link {
    margin-bottom: 0 !important;
}
.mod-recommender-link .recommender-link .arrow-wrapper {
    position: relative;
    right: auto;
    width: auto;
    margin-left: 24px;
}
.mod-recommender-link .recommender-link .arrow-wrapper span {
    background: none;
}
.mod-recommender-link .recommender-link .arrow-wrapper span::before {
    transition: all 0.4s ease;
    content: "";
    display: inline-block;
    width: 50px;
    height: 50px;
    margin-top: -3px;
    left: -19px;
    background-image: url(/madring/img/flecha-blanca/white-arrow.svg);
    background-size: contain;
    background-repeat: no-repeat;
    transform: none;
}
.mod-recommender-link .recommender-link a:hover .arrow-wrapper span::before {
    left: 0px;
}
.mod-recommender-link .recommender-link a {
    margin-left: 0;
    display: block;
    background: var(--custom-secondary-color);
    padding: 35px 20px;
    position: relative;
    overflow: visible;
    border-radius: 0;
}
.mod-recommender-link .recommender-link a::before {
    transition: all 0.4s ease;
    content: "";
    background: transparent;
    display: block;
    height: 100%;
    position: absolute;
    width: 100%;
    top: 0;
    left: -1px;
    margin-left: -273px;
    z-index: 0;
    border: 1px solid #fff;
    border-radius: 0;
}
.mod-recommender-link .recommender-link a:hover::before {
    margin-left: 0px;
    margin-top: 0;
}
.mod-recommender-link .recommender-link a::before {
    margin-left: 3%;
    margin-top: -3%;
}
.mod-recommender-link .recommender-link a {
    height: 100%;
}
.mod-recommender-link .recommender-link .card-content {
    width: auto;
}
body:not(.institutional) .mod-recommender-link .recommender-link .card-content .card-title {
    height: 42px;
    display: flex;
    align-content: center;
    align-items: center;
    z-index: 2;
    padding-left: 6px;
}
.mod-recommender-link .recommender-link .arrow-wrapper {
    display: flex;
}
@media (max-width: 1280px) {
    .mod-recommender-link .col-md-6 {
        -webkit-flex: 0 0 25%;
        -ms-flex: 0 0 25%;
        flex: 0 0 25%;
        max-width: 25%;
        width: 25%;
    }
}
@media (max-width: 1024px) {
    .mod-recommender-link .col-md-6 {
        -webkit-flex: 0 0 50%;
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
        width: 50%;
    }
    body:not(.institutional) .mod-recommender-link .recommender-link .card-content {
        justify-content: flex-start;
    }
    .mod-recommender-link .recommender-link-wrapper {
        row-gap: 36px;
    }
    .mod-recommender-link .recommender-link .card-content {
        justify-content: space-between !important;
    }
    .mod-recommender-link .recommender-link a {
        padding: 15px 20px;
    }
    .mod-recommender-link .recommender-link-wrapper {
        row-gap: 18px;
    }
}
@media (max-width: 767px) {
    .mod-recommender-link .generic-slider,
    .mod-recommender-link .content-wrapper {
        height: 100%;
        padding-bottom: 20px;
    }
    .mod-recommender-link .recommender-link a {
        display: flex;
        align-items: center;
        height: 100%;
    }
    .mod-recommender-link .recommender-link .arrow-wrapper {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
        position: absolute;
        top: 0;
        right: 24px;
        height: 100%;
        width: 24px;
    }

    .mod-recommender-link .recommender-link-wrapper {
        margin-right: 0 !important;
        margin-left: 0 !important;
        margin-top: 30px;
    }
}
/* Módulo presentación */
.portadaferia .presentation-image {
    width: 70% !important;
    display: none;
}
.presentation .presentation-text {
    width: 100%;
}
.presentation .presentation-wrapper {
    background-color: transparent;
}
@media (max-width: 768px) {
    body.portadaferia .main > section.presentation a.btn {
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    .portadaferia .presentation-image {
        width: 100vw !important;
        overflow: visible !important;
    }
    .portadaferia .presentation .presentation-image::before {
        display: none;
    }
}

/* Acceso directo */
body .main > section.ifm-highlighted-notice {
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 0;
    margin-top: 0 !important;
}

body .main > section.ifm-highlighted-notice p {
    font-size: 24px !important;
    line-height: 28px !important;
}

.ifm-highlighted-notice .ifm-hl-notice-wrapper .ifm-hl-notice-container .ifm-hl-notice-icon-container span {
    background-color: var(--custom-primary-color);
    width: 50px;
    height: 50px;
}
.ifm-highlighted-notice .ifm-hl-notice-wrapper .ifm-hl-notice-container .ifm-hl-notice-icon-container span::before {
    content: url("https://www.ifema.es/web/ferias/circuito_mr/assets/yellow-arrow.svg");
    transform: none;
    top: 6px;
    left: 4px;
}
.ifm-highlighted-notice .ifm-hl-notice-wrapper .ifm-hl-notice-container .ifm-hl-notice-title {
    font-size: 35px;
    line-height: 42px;
    font-family: "Barlow" !important;
}

body .main > aside.full-width:not(.mod-ctsi):not(.mod-kpi):not(.mod-countdown) {
    padding-top: 0 !important;
}
body .main > aside.ifm-home-news h2 {
    padding-top: 40px;
}
/* Footer */

body > footer.fair .footer-content .interest-area .background-wrapper .left-rampant {
    display: none;
}
.discover-text .title-AtSlam {
    letter-spacing: 0.25rem;
    font-size: 48px;
}
body > footer.fair .footer-content .interest-area .background-wrapper .right-rampant {
    top: 75px;
    -webkit-transform: skewY(-3deg);
    -o-transform: skewY(-3deg);
    transform: skewY(-3deg);
}
body > footer.fair .footer-content .logos-wrapper img {
    height: 24px;
}
body.institutional > footer .footer-content .about-wrapper span,
body.institutional > footer .footer-content .information-area span,
body > footer.fair .footer-content .about-wrapper span,
body > footer.fair .footer-content .information-area span {
    font-family: "Barlow" !important;
}
body.institutional > footer .footer-content .link-group span,
body > footer.fair .footer-content .link-group span {
    overflow: visible;
}
body > footer.fair .footer-content .information-area {
    background-color: transparent;
}

body.institutional > footer .footer-content,
body > footer.fair .footer-content {
    padding-top: 0px;
}
body.institutional > footer,
body > footer.fair {
    padding-top: 0px;
}
@media (max-width: 768px) {
    body.institutional > footer .footer-content .interest-area .link-events-wrapper .discover-text,
    body > footer.fair .footer-content .interest-area .link-events-wrapper .discover-text {
        padding-top: 40px;
    }
    body > footer.fair .footer-content .interest-area .background-wrapper .right-rampant {
        top: 0px;
    }
    body.institutional > footer .footer-content .interest-area,
    body > footer.fair .footer-content .interest-area {
        padding-top: 40px;
    }
    body.fair header ~ main {
        padding-bottom: 60px;
    }
    body > footer.fair .footer-content .interest-area .background-wrapper .right-rampant {
        height: calc(100% + 65px);
    }
}

/* Noticias */

.news-detail .news-media-full a {
    border-radius: 24px;
    overflow: hidden;
}

.header-news-detail .author-time {
    display: none;
}
.header-news-detail .content-wrapper {
    justify-content: center;
}

.header-news-detail .title-wrapper h1 {
    font-family: "Barlow" !important;
    font-size: 42px !important;
    line-height: 51px !important;
}

article.news-detail-content {
    flex-direction: row-reverse;
}
.news-detail-content > footer {
    margin-left: 0;
    margin-right: auto;
}
.news-detail-content > .news-body {
    margin-right: 0;
    margin-left: auto;
}
.news-detail-content .anchors-social-wrapper .fixed-content {
    padding-left: 60px;
    padding-right: inherit;
}
.news-detail-content .anchors-social-wrapper .fixed-content {
    padding-left: 0px;
}
@media (min-width: 1280px) {
    body.full-width-site .news-detail-content > .news-body {
        width: calc(98vw - 450px - 80px) !important;
        margin-left: 3% !important;
    }
}
@media (max-width: 768px) {
    body.full-width-site .news-detail-content > .news-body {
        width: calc(100vw - 10px);
    }
}
@media (max-width: 1280px) {
    .news-detail-content > .news-body,
    .news-detail.news-detail-content > footer {
        margin-left: auto !important;
        margin-right: auto !important;
    }
    .news-detail.news-detail-content > footer .fixed-content {
        margin-left: 0 !important;
    }
    .news-detail-content .anchors-social-wrapper .fixed-content {
        padding-left: 0;
    }
    body .main > article.news-detail-content {
        display: flex;
        flex-direction: column;
    }
    body .main > article.news-detail-content header {
        order: 1;
    }
    body .main > article.news-detail-content footer {
        order: 3;
    }
    body .main > article.news-detail-content .news-body {
        order: 2;
    }
}

@media (max-width: 768px) {
    #main .modal-link-content .modal-content-wrapper {
        overflow: auto !important;
    }
    .news-detail-content > .news-body,
    .news-detail.news-detail-content > footer {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}

article.news-detail-content {
    background-color: transparent !important;
}
.header-news-detail .author-time,
.header-news-detail .date span,
.header-news-detail .tag span,
.header-news-detail dd span {
    font-family: "Barlow" !important;
    color: var(--custom-primary-color);
}
.header-news-detail .date span {
    color: #fff;
}
.header-news-detail dt span {
    color: #878787;
}
.news-detail .news-body-content p.description {
    color: #fff;
    font-family: "Barlow" !important;
    font-weight: 700 !important;
    font-size: 24px;
    line-height: 31px;
}
.news-detail-content .anchors-content .title-wrapper span,
.news-detail-content .social-wrapper .title-wrapper span {
    font-family: "Barlow" !important;
    font-weight: 600;
    color: #fff;
    font-size: 20px;
    line-height: 26px;
}
.news-detail-content .anchors-social-wrapper .anchors-content li span {
    font-weight: 400;
    color: #fff;
}
.news-detail-content .anchors-social-wrapper .anchors-social-content {
    background-color: #073245;
    padding: 16px;
    border-radius: 24px;
}
.news-detail-content .anchors-social-wrapper a {
    color: #fff !important;
}

.news-body a {
    color: var(--custom-secondary-color) !important;
}

.header-news-detail .date-title-tag {
    margin-top: 20px;
}
.header-news-detail {
    min-height: 230px;
    background: #083245 !important;
    background: transparent !important;
}
.header-news-detail .author-time dl {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    min-width: auto;
}
.header-news-detail .author-time dd {
    margin-top: 0px;
    margin-left: 5px;
}
.header-news-detail .veil {
    background-color: transparent;
}

/* Play icon */
/* Contenedor del botón de reproducción */
div.video-player {
    position: absolute; /* Posición absoluta */
    top: 50%; /* Centrado vertical */
    left: 50%; /* Centrado horizontal */
    transform: translate(-50%, -50%); /* Compensa el desplazamiento para centrarlo completamente */
    width: 60px !important;
    height: 60px !important;
    font-size: 100% !important;
    padding-top: 5px !important;
    opacity: 1 !important;
    cursor: pointer;
    overflow: hidden; /* Esconde elementos fuera del contenedor */
    border-radius: 50%;
}
.mod-presentation div.video-player::after {
    content: "";
    position: absolute;
    top: 0;
    left: -160px;
    width: 242px;
    height: 100%;
    background: linear-gradient(45deg, var(--custom-terciary-color) 50%, #fff 50%);
    transition: all 0.6s ease;
    z-index: 0;
}
.mod-presentation .video-player::before,
.video-player::after {
    pointer-events: none;
}
.mod-presentation .video-player::before {
    -webkit-transition-property: font-size;
    -o-transition-property: font-size;
    transition-property: font-size;
    -webkit-transition-duration: 10ms;
    -o-transition-duration: 10ms;
    transition-duration: 10ms;
    -webkit-transition-timing-function: cubic-bezier(0.19, 0.91, 0.38, 1);
    -o-transition-timing-function: cubic-bezier(0.19, 0.91, 0.38, 1);
    transition-timing-function: cubic-bezier(0.19, 0.91, 0.38, 1);
    width: 20px !important;
    height: 20px !important;
    margin-top: 0px !important;
    content: "\e82b";
    text-shadow: none !important;
    font-size: 100px !important;
    z-index: 1;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    overflow: hidden;
    text-shadow: none;
    color: #e32424 !important;
    background: url(/madring/img/triangulo-rojo-cta/play-rojo.svg);
    background-repeat: no-repeat;
    background-size: 100%;
    border-radius: 0 !important;
}
.mod-presentation .video-player:focus:not(:active)::before {
    outline: 2px solid #e32424;
}
.mod-presentation div.video-player {
    top: 50% !important;
    left: 50% !important;
    padding-top: 0px !important;
}

/* Icono del botón play */
.icon-play-button-1:before {
    content: url("/madring/img/icono-play/play.svg"); /* Ícono SVG */
    position: relative;
    z-index: 2; /* Asegura que el ícono esté por encima del gradiente */
}

/* Gradiente (usando ::after) */
div.video-player::after {
    content: ""; /* Gradiente dinámico */
    position: absolute;
    top: 0;
    left: -160px; /* Posición inicial fuera del contenedor */
    width: 242px; /* Ajustar al tamaño del gradiente */
    height: 100%; /* Se adapta al alto del contenedor */
    background: linear-gradient(45deg, #fff 50%, var(--custom-terciary-color) 50%);
    transition: all 0.6s ease; /* Transición suave */
    z-index: 0; /* Se asegura de estar detrás del ícono */
}

/* Gradiente al hacer hover */
div.video-player:hover::after {
    left: 0px; /* Mueve el gradiente dentro del contenedor */
}

/* Fix módulo Madring -objetivos */
body .mod-presentation.mod-presentation .presentation-container.media-izq {
    justify-content: space-between;
}

/* ajustes tablet */
@media (max-width: 1024px) {
    /* .portadaferia .presentation .ifema-h2 {
        font-size: 120px !important;
    } */
    .portadaferia .html .tit-form {
        padding-right: 40px;
    }
    .tit-form-1 {
        font-size: 5em !important;
    }
    .tit-form-2 {
        font-size: 1em !important;
    }
    .fair header.header-container h1.ifema-h1 {
        line-height: 90px !important;
        font-size: 90px !important;
    }
    .calendar-flag {
        width: 18%;
    }
}

/* Ajustes mobile */
@media (max-width: 768px) {
    /* .portadaferia .presentation .ifema-h2 {
        font-size: 90px !important;
    } */
}

/* Cosas que sobrescriben estilos de CL -- REVISAR!!! */

#main section.html .h4:not(span) {
    font-weight: 600 !important;
    margin-top: -6px;
    line-height: 36px;
}
.mod-vertical-accordion.mt-lg {
    margin-top: 0 !important;
}
body .main > section.ifm-stackable {
    margin-top: 0 !important;
}
.ifm-stackable {
    padding-top: 0px !important;
}
body section.basico.box:first-child {
    margin-bottom: 0px !important;
}
.ifm-stackable .ifm-stk-row .ifm-stk-col .ifm-stk-wrapper {
    border: none !important;
}
:root:root:root #main .cog-cognito--styled.cog-cognito--protect-css .cog-helptext p {
    font-size: 13px !important;
    line-height: 18px !important;
    margin-bottom: 0 !important;
}
.modal-link-content .modal-content-wrapper {
    overflow: auto !important;
}
:root:root:root #main .cog-cognito--styled.cog-cognito--protect-css p {
    font-size: 12px !important;
    line-height: 17px !important;
    margin: 0 0 1rem !important;
}
:root:root:root #main .cog-cognito--styled.cog-cognito--protect-css .cog-confirmation-message p {
    font-size: 20px !important;
    line-height: 26px !important;
}
:root:root:root .cog-cognito--styled.cog-cognito--protect-css pre {
    font-size: 15px !important;
    color: var(--custom-terciary-color);
    font-weight: 500;
    line-height: 19px !important;
    font-family: "Barlow" !important;
    background-color: transparent !important;
    text-decoration: none !important;
    background-image: -webkit-gradient(linear, left top, left bottom, from(var(--custom-secondary-color)), to(var(--custom-secondary-color)));
    background-image: -webkit-linear-gradient(var(--custom-secondary-color), var(--custom-secondary-color));
    background-image: -o-linear-gradient(var(--custom-secondary-color), var(--custom-secondary-color));
    background-image: linear-gradient(var(--custom-secondary-color), var(--custom-secondary-color));
    background-position: 0 100%;
    background-repeat: no-repeat;
    -webkit-background-size: 0 1px;
    background-size: 0 1px;
    -webkit-transition: -webkit-background-size 0.3s;
    -o-transition: background-size 0.3s;
    transition: background-size 0.3s;
    width: fit-content;
}
html .cog-cognito--styled .el-checkbox__inner,
html .cog-cognito--styled .el-radio__inner,
:root:root:root:root:root .cog-cognito--styled .el-checkbox__inner,
:root:root:root:root:root .cog-cognito--styled .el-radio__inner {
    background: transparent !important;
}
:root:root:root .cog-cognito--styled.cog-cognito--protect-css pre:hover {
    background-size: 100% 1px;
}

/* Tabs resultados */
.mod-tabs {
    background: transparent;
}
.tabs-group {
    width: 50%;
    margin: 0 auto;
}
.mod-tabs .accordion-wrapper .deploy-element:not(.collapsed) .deploy-content,
.mod-tabs .deploy-content {
    background-color: transparent !important;
    color: white !important;
    border: none !important;
    font-family: "Barlow" !important;
    font-weight: 600;
}
.mod-tabs .tabs-wrapper .deploy-element.active .deploy-content {
    position: relative;
}

/* Contacto SLF */
body .main > section a.btn-queja {
    min-width: 500px !important;
}

.contacto-slf .aceptacion label {
    display: flex !important;
    align-items: center;
}
.contacto-slf input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 1px solid var(--custom-terciary-color);
    background-color: transparent;
    border-radius: 4px;
    margin-right: 8px;
    position: relative;
    cursor: pointer;
}
.contacto-slf input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    top: 1px;
    left: 5px;
    width: 7px;
    height: 11px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 1;
    transition: opacity 0.2s ease;
}
.contacto-slf input[type="checkbox"]:checked {
    background-color: var(--custom-terciary-color);
}
.contacto-slf .form-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 20px;
}
.contacto-slf input[type="text"],
.contacto-slf input[type="tel"],
.contacto-slf textarea,
.contacto-slf select {
    width: 100%;
    font-size: 19px !important;
    line-height: 27px;
    font-family: "Barlow" !important;
    font-weight: 400 !important;
    background: transparent !important;
    border: 1px solid #fff !important;
    color: #fff !important;
    border-radius: 4px !important;
    padding: 10px 16px !important;
    color: var(--custom-terciary-color) !important;
}
.contacto-slf input[type="text"]:focus,
.contacto-slf input[type="tel"]:focus,
.contacto-slf textarea:focus,
.contacto-slf select:focus,
.contacto-slf input[type="text"]:hover,
.contacto-slf input[type="tel"]:hover,
.contacto-slf textarea:hover,
.contacto-slf select:hover,
.contacto-slf input[type="text"]:active,
.contacto-slf input[type="tel"]:active,
.contacto-slf textarea:active,
.contacto-slf select:active {
    border: 1px solid var(--custom-terciary-color) !important;
}
.contacto-slf .select select {
    color: #fff !important;
}
.contacto-slf .select select option {
    background-color: #073245 !important;
    font-size: 18px;
}
.contacto-slf select option:hover {
    background-color: #03212f !important;
}
.contacto-slf button[type="submit"][disabled="disabled"]::before {
    display: none;
}
.contacto-slf button[type="submit"][disabled="disabled"] {
    border: 1px solid #ccc !important;
    background: #ccc !important;
}
.contacto-slf button[type="submit"][disabled="disabled"] span,
.contacto-slf button[type="submit"][disabled="disabled"]::after {
    color: #03212f !important;
}
.contacto-slf button[type="submit"][disabled="disabled"] {
    pointer-events: none;
}
.contacto-slf button[type="submit"] {
    margin: 0 !important;
    background: var(--custom-secondary-color) !important;
    border-color: var(--custom-secondary-color) !important;
    width: auto !important;
    height: auto;
    padding: 14px 25px 15px 17px !important;
    transition: all 0.5s ease;
    position: relative;
    left: 0;
    overflow: hidden;
    border-radius: 4px;
    margin-top: 20px !important;
}
.contacto-slf button[type="submit"] span {
    color: #fff;
    transition: all 0.5s ease;
    text-transform: uppercase;
    font-size: 19px;
    font-weight: 600;
    overflow: hidden;
    display: grid;
    position: relative;
}
.contacto-slf button[type="submit"]::after {
    content: "\e802";
    position: absolute;
    top: 17px;
    font-family: "ifema";
    transform: rotate(90deg);
    right: 6px;
    color: #fff;
}
.contacto-slf button[type="submit"]:hover::after {
    color: #03212f;
}
.contacto-slf button[type="submit"]:hover {
    background: #fff !important;
    border-color: #fff !important;
}
.contacto-slf button[type="submit"] .cog-button__text {
    position: absolute;
    left: 0px;
    width: 100%;
    padding: 0 !important;
}
.contacto-slf button[type="submit"]:hover .cog-button__text {
    left: 100%;
}
.contacto-slf button[type="submit"]:hover span.effect {
    left: 0;
    color: #000;
}
.contacto-slf button[type="submit"] .effect {
    position: relative;
    left: -100%;
    width: 100%;
    display: inline;
}
.contacto-slf .txt-aceptacion {
    font-size: 12px !important;
    line-height: 17px !important;
    margin: 0 0 1rem !important;
}

.contacto-slf option {
    background-color: var(--custom-primary-color) !important;
}
.contacto-slf select option[value=""] {
    text-transform: uppercase;
}
.contacto-slf ::placeholder {
    /* text-transform: uppercase; */
    color: #fff;
}
.contacto-slf :hover::placeholder {
    /* text-transform: uppercase; */
    color: var(--custom-terciary-color);
}
.contacto-slf .form-fields .input-content {
    margin-bottom: 20px;
}
@media (max-width: 768px) {
    body .main > section a.btn-queja {
        min-width: fit-content !important;
    }
    .contacto-slf .form-fields {
        grid-template-columns: 1fr;
    }
}
/* Anidados */
.anidado .accordion-container .panel-title,
.faqs .accordion-container .panel-title {
    background-color: var(--custom-primary-color);
    border-bottom: 1px solid #3a5b6a;
    padding-top: 8px;
    padding-bottom: 32px;
    padding-left: 0;
    padding-right: 0;
}

.anidado .accordion-container .panel-body,
.faqs .accordion-container .panel-body {
    background-color: #083245 !important;
    padding: 44px 84px;
    padding-bottom: 28px !important;
    border-radius: 0 0 24px 24px;
}
.anidado .accordion-container .box-with-title,
.faqs .accordion-container .box-with-title {
    background-color: #083245 !important;
    padding-top: 0 !important;
}
.anidado .accordion-container .panel-title::after,
.faqs .accordion-container .panel-title::after {
    content: "";
    display: inline-block;
    width: 42px;
    height: 42px;
    background-image: url(https://www.ifema.es/web/ferias/circuito_mr/assets/accordion-arrow.svg);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-top: 4px;
    right: 0;
    top:14%;
}
@media (max-width: 768px) {
    .anidado .accordion-container .panel-body,
    .faqs .accordion-container .panel-body {
        padding: 23px 20px 0px;
        padding-bottom: 7px !important;
    }
    .logo-madring {
        padding: 75px;
    }
}

/* Acceso destacado */
.ifm-hl-notice-link {
    display: inline-block;
    transition: transform 0.3s ease-in-out;
    text-decoration: none;
}

.ifm-hl-notice-link:hover {
    transform: scale(1.05);
}
body .main > section.ifm-highlighted-notice {
    width: 75%;
    margin: 0 auto;
}
.ifm-highlighted-notice .ifm-hl-notice-wrapper .ifm-hl-notice-container .ifm-hl-notice-icon-container {
    display: none;
}
.ifm-highlighted-notice .ifm-hl-notice-wrapper {
    overflow: hidden;
}
.ifm-highlighted-notice .ifm-hl-notice-wrapper .ifm-hl-notice-container .ifm-hl-notice-title {
    margin-bottom: 100px !important;
}
.ifm-highlighted-notice .ifm-hl-notice-wrapper .ifm-hl-notice-container .ifm-hl-notice-title span {
    color: var(--custom-terciary-color) !important;
}
.ifm-highlighted-notice .ifm-hl-notice-wrapper .ifm-hl-notice-container .ifm-hl-notice-title .cta1-ad {
    font-family: "AtSlam-SemiboldBackslant" !important;
    font-size: 184px;
    line-height: 164px;
    letter-spacing: 0.25rem;
}
.ifm-highlighted-notice .ifm-hl-notice-wrapper .ifm-hl-notice-container .ifm-hl-notice-title .cta2-ad {
    font-family: "AtSlam-SemiboldSlanted" !important;
    font-size: 74px;
    line-height: 74px;
    letter-spacing: 0.25rem;
}

.ifm-highlighted-notice .ifm-hl-notice-wrapper .ifm-hl-notice-container .ifm-hl-notice-free-text {
    margin-bottom: 20px;
}
.ifm-highlighted-notice .ifm-hl-notice-wrapper a .ifm-hl-notice-container {
    position: relative;
    overflow: hidden;
}
.ifm-highlighted-notice .link {
    max-width: 350px !important;
}
@media (max-width: 768px) {
    .ifm-highlighted-notice .ifm-hl-notice-wrapper .ifm-hl-notice-container .ifm-hl-notice-title .cta1-ad {
        font-size: 132px;
        line-height: 124px;
    }
    .ifm-highlighted-notice .ifm-hl-notice-wrapper .ifm-hl-notice-container .ifm-hl-notice-title .cta2-ad {
        font-size: 56px;
        line-height: 64px;
    }

    .ifm-highlighted-notice .ifm-hl-notice-wrapper .ifm-hl-notice-container .ifm-hl-notice-free-text .link {
        max-width: 300px;
    }
    .ifm-highlighted-notice .ifm-hl-notice-wrapper .ifm-hl-notice-container .ifm-hl-notice-free-text .link .btn-primary span {
        font-size: 20px;
    }

    .ifm-highlighted-notice .ifm-hl-notice-wrapper .ifm-hl-notice-container .ifm-hl-notice-title {
        margin-bottom: 30px !important;
    }
}
@media (max-width: 500px) {
    body .main > section.ifm-highlighted-notice {
        width: 90%;
    }
    .ifm-highlighted-notice .ifm-hl-notice-wrapper .ifm-hl-notice-container .ifm-hl-notice-title .cta1-ad {
        font-size: 96px;
        line-height: 82px;
    }
    .ifm-highlighted-notice .ifm-hl-notice-wrapper .ifm-hl-notice-container .ifm-hl-notice-title .cta2-ad {
        font-size: 38px;
        line-height: 32px;
    }
    .ifm-highlighted-notice .ifm-hl-notice-wrapper .ifm-hl-notice-container {
        padding: 32px 20px 32px 20px;
    }
}

/* Landing hero */
.landing-simple .hero-banner-slick .hero-banner-slider .container {
    margin: auto;
    padding: 0;
}
.landing-simple .hero-banner-slick .hero-banner-slider .container .hero-banner-title {
    font-size: 384px !important;
    line-height: 22.5rem !important;
    color: var(--custom-terciary-color);
    width: 100vw;
    text-align: center;
    letter-spacing: 30px;
}
.landing-simple .hero-banner-slick .hero-banner-slider .container .hero-banner-subtitle {
    font-size: 20px !important;
    line-height: 24px !important;
    max-width: 900px;
    text-align: center;
    margin: 20px auto;
}
.landing-simple .hero-banner-slick-wrapper .bottom-wrapper {
    justify-content: center;
}

@media (max-width: 1024px) {
    .landing-simple .hero-banner-slick .hero-banner-slider .container .hero-banner-title {
        font-size: 284px !important;
        line-height: 16.5rem !important;
    }
    .landing-simple .hero-banner-slick .hero-banner-slider .container .hero-banner-subtitle {
        max-width: 700px;
    }
}
@media (max-width: 768px) {
    .landing-simple .hero-banner-slick .hero-banner-slider .container .hero-banner-title {
        font-size: 40vw !important;
        line-height: 40vw !important;
        letter-spacing: 3vw;
    }
    .landing-simple .hero-banner-slick .content {
        justify-content: center;
        padding: 20px 0;
    }
    .landing-simple .hero-banner-slick .hero-banner-slider .container .hero-banner-subtitle {
        max-width: 85vw;
    }
    .landing-simple .hero-banner-slick .buttons-wrapper div {
        max-width: 300px;
        margin: 0 auto;
    }
}
@media (max-width: 500px) {
    .landing-simple .hero-banner-slick .hero-banner-slider .container .hero-banner-subtitle {
        font-size: 18px !important;
        line-height: 22px !important;
    }
    body:not(.institutional).landing-simple .hero-banner-slick .hero-banner-slider .container .hero-banner-button {
        padding: 30px !important;
    }
    .landing-simple .hero-banner-slick .buttons-wrapper div {
        max-width: 250px;
    }
}

body .mod-presentation.mod-presentation .presentation-container .presentation-text {
    background-color: transparent;
}
/* Módulo presentación */
.mod-presentation .presentation-wrapper {
    background-color: transparent;
}
.mod-presentation .media-izq .presentation-image::before,
.mod-presentation .media-izq .presentation-image a::before {
    display: none;
}
.mod-presentation .presentation-text {
    padding: 0;
}

.mod-presentation .presentation-image,
.presentation .presentation-image {
    border-radius: 24px;
}
/* Módulo experiencias */

.grid-container.mod-experiencias {
    display: grid;
    gap: 20px;
    padding: 20px 0px;
    justify-content: center;
}

.grid-container.mod-experiencias .card {
    color: white;
    text-align: center;
    border-radius: 24pxpx;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid transparent;
    background: transparent !important;
    padding: 20px 10px;
}

.grid-container.mod-experiencias .card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 1px;
    background: linear-gradient(45deg, #ff4e50, #f9d423);
    -webkit-mask:
        linear-gradient(white, white) content-box,
        linear-gradient(white, white);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    border-radius: 24px;
}

.grid-container.mod-experiencias .card img {
    width: 50px;
    margin: 10px auto 30px;
}
.grid-container.mod-experiencias .card .card-title {
    font-weight: 700 !important;
    line-height: 24px;
}
.grid-container.mod-experiencias .card .card-text {
    font-size: 17px;
    line-height: 22px;
}
.grid-container.mod-experiencias .card:hover {
    transform: scale(1.05);
}

@media (min-width: 1281px) {
    .grid-container.mod-experiencias {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 1280px) {
    .grid-container.mod-experiencias {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-container.mod-experiencias {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .grid-container.mod-experiencias {
        grid-template-columns: 1fr;
    }
}
/* Módulo por qué madring */
.pq-madring {
    position: relative;
    width: 100%;
    height: 100vh;
    background: url("/madring/img/imagen-circuito/pq.webp") no-repeat center;
    background-size: cover;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    padding: 5vw;
}

.pq-madring::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.pq-madring-content {
    position: relative;
    z-index: 2;
    display: flex;
    column-gap: 300px;
    color: white;
    max-width: 1200px;
    margin: 0 auto;
}

.pq-madring-title {
    align-self: flex-end;
}
.pq-madring-title .mod-presentacion-tit1 {
    font-family: "AtSlam-Semibold" !important;
    font-size: 64px;
    line-height: 3rem;
    letter-spacing: 0.25rem;
    color: var(--custom-terciary-color);
}
.pq-madring-title .mod-presentacion-tit2 {
    font-family: "AtSlam-SemiboldSlanted" !important;
    font-size: 164px;
    line-height: 7rem;
    letter-spacing: 0.25rem;
    color: var(--custom-terciary-color);
    white-space: nowrap;
}

@media (max-width: 1280px) {
    .pq-madring-content {
        column-gap: 100px;
    }
}
@media (max-width: 1024px) {
    .pq-madring {
        height: auto;
        padding: 10vw 5vw;
    }

    .pq-madring-title {
        font-size: 2.5rem;
    }
    .pq-madring-content {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .pq-madring-title {
        font-size: 2rem;
    }
}

/* Logo MADRING */
.logo-madring {
    padding: 160px;
    display: flex;
    justify-content: center;
}
.logo-madring img {
    opacity: 0;
    transform: scale(0.8);
    animation: fadeInScale 1.5s ease-out forwards;
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}
/* Espectáculo */
.landing-simple .html:last-of-type {
    background: url(https://www.ifema.es/web/ferias/circuito_mr/assets/bg-espectaculo.svg);
    background-position: center;
    background-repeat: repeat;
    background-size: 100%;
}
.espectaculo {
    padding: 100px 220px;
}
.espectaculo h2 {
    text-align: center;
    font-family: "Barlow" !important;
    font-weight: 400 !important;
    color: white;
    margin-bottom: 20px;
}
.espectaculo p {
    text-align: center !important;
}
.espectaculo h2 .txt-amarillo {
    color: var(--custom-terciary-color);
}
@media (max-width: 1024px) {
    .espectaculo {
        padding: 80px;
    }
}
@media (max-width: 768px) {
    .espectaculo {
        padding: 20px;
    }
}

/* Acordeón horizontal */
.ifm-stackable .ifm-stk-row .ifm-stk-col .ifm-stk-wrapper .ifm-stk-spine > * {
    font-family: "Barlow" !important;
}

/* Títulos y fixes */

@media (max-width: 1024px) {
    .tabs-group {
        width: 75%;
    }
}
@media (max-width: 1023px) {
    body .header-nav-fair-container.header-nav-fair-container.fair .menu-wrapper .menu .menu-level-1-content-wrapper .menu-level-1-header .title-wrapper span {
        padding-right: 28px;
    }
    body .header-nav-fair-container.header-nav-fair-container.fair .menu-wrapper .menu .menu-level-1.menu-level-1 .registrado,
    body .header-nav-fair-container.header-nav-fair-container.fair .menu-wrapper .menu .menu-level-1.menu-level-1 .submenu-1.ready-to-hover .hover-effect .hover-text .registrado {
        right: -17px;
    }
    body .header-nav-fair-container.header-nav-fair-container .menu-wrapper .menu .menu-level-1 .deployed .menu-level-1-header span {
        padding-left: 42px;
    }
}
@media (max-width: 768px) {
    .logo-madring {
        padding: 10%;
    }
    .mod-presentation .presentation-text h2 .mod-presentacion-tit2 {
        font-size: 84px;
        line-height: 3.5rem;
    }
    .mod-presentation .presentation-text h2 .mod-presentacion-tit1 {
        font-size: 48px;
        line-height: 2rem;
    }
    .ifm-stackable .ifm-stk-row .ifm-stk-col .ifm-stk-btn-mobile span::before {
        position: absolute;
        top: -6px;
        left: 0;
        -webkit-transform: rotate(180deg);
        -o-transform: rotate(180deg);
        transform: rotate(180deg);
        -webkit-transition: -webkit-transform 0.5s ease-in-out 0s;
        transition: -webkit-transform 0.5s ease-in-out 0s;
        -o-transition: -o-transform 0.5s ease-in-out 0s;
        transition: transform 0.5s ease-in-out 0s;
        transition:
            transform 0.5s ease-in-out 0s,
            -webkit-transform 0.5s ease-in-out 0s,
            -o-transform 0.5s ease-in-out 0s;
        background-color: var(--custom-primary-color);
        border-radius: 50%;
    }
    .ifm-stackable .ifm-stk-row .ifm-stk-col .ifm-stk-btn-mobile span {
        background-color: transparent;
    }

    body .main > section.ifm-stackable {
        padding-bottom: 40px;
    }
    .ifm-stackable .ifm-stk-row .ifm-stk-col .ifm-stk-btn-mobile span::before,
    .mod-tabs .deploy-element .arrow::before {
        position: absolute;
        top: calc(50% - 25px);
        left: 0px;
        height: 40px;
        width: 40px;
        -webkit-transform: rotate(-180deg);
        -o-transform: rotate(-180deg);
        transform: rotate(180deg);
        font-size: 22px;
        background-image: url(https://www.ifema.es/web/ferias/circuito_mr/assets/accordion-arrow.svg);
        content: "";
        background-size: contain;
        background-repeat: no-repeat;
    }

    .mod-tabs .deploy-element .arrow-wrapper {
        position: relative;
    }
    .tabs-page.nav-tabs {
        padding: 0;
    }
}
/* Correccion paginas noticias */
.news-list .news-list-card .card-text-wrapper::after {
    content: url("/madring/img/flecha-blanca/white-arrow.svg");
    width: 34px;
    height: auto;
    display: block;
    position: absolute;
    bottom: 20px;
}


.news-list .news-list-card:hover .title-wrapper span {
    color: var(--custom-terciary-color) !important;
    /* Cambia el color del texto */
}

.news-list .news-list-card .card-text-wrapper::after {
    content: url("https://www.ifema.es/web/ferias/circuito_mr/assets/blue-arrow.svg");
    width: 34px;
    height: auto;
    display: block;
    position: absolute;
    bottom: 20px;
}

.news-list .news-list-content .news-list-card:hover {
    margin-top: 0;
    margin-bottom: 0;
    -webkit-box-shadow: none;
    box-shadow: none;
}


.news-list .news-list-content .news-list-card:hover .card-text-wrapper::before {
    left: 0;
}


.news-list .news-list-content .news-list-card:hover .card-text-wrapper span {
    color: var(--custom-terciary-color) !important;
}

.news-list .news-list-card:hover .card-text-wrapper::after {
    content: url("https://www.ifema.es/web/ferias/circuito_mr/assets/yellow-arrow-news.svg");
}

@media (max-width: 1280px) {
    .news-list .news-list-content .news-list-card .card-text-wrapper::before {
        width: 240%;
    }
}

.news-list .news-list-card .card-img-wrapper {
    height: 100%;
    min-height: 375px !important;
    border-radius: 24px;
}

.news-list .news-list-card .card-text-wrapper::after {
    display: none !important;
}

.news-list .news-list-card .news-list-card-content {
    position: relative;
}

@media (max-width: 768px) {
    .news-list .news-list-card .card-img-wrapper {
        height: 100%;
        min-height: 300px !important;
    }
}
.news-list .container {
    color: #fff !important;
}
@media (min-width: 768px) {
    body:not(.institutional) .hero-image:not(.news-list),
    body:not(.institutional) .hero-image .text-wrapper .hero-image-rampant {
        background: transparent !important;
    }
}
