:root {
    --programa-color: #07FFFF;
    --programa-color-hover: #edece7;
    --programa-color-font: #191918;
    --programa-color-font-hover: #191918;

    --participantes-color: #6fff95;
    --participantes-color-hover: #edece7;
    --participantes-color-font: #191918;
    --participantes-color-font-hover: #191918;

    --actividades-color: #F87900;
    --actividades-color-hover: #edece7;
    --actividades-color-font: #191918;
    --actividades-color-font-hover: #191918;

    --ejes-color: #C676FC;
    --ejes-color-hover: #edece7;
    --ejes-color-font: #FFFFFF;
    --ejes-color-font-hover: #191918;

    --culturalh-color: #C81441;
    --culturalh-color-hover: #edece7;
    --culturalh-color-font: #FFFFFF;
    --culturalh-color-font-hover: #191918;

    --white-color: #ffffff;
    --black-color: #191918;
    --color-hover: #edece7;

    --tab-trazo: 12px;
    --tab-trazo-muesca: 14px;
    --tab-radio: 22px;
    --tab-bg: #fff;
    --tab-linea: #000;
    --outside-bg: #fff;
    --tab-notch-w: 54px;
    --tab-notch-h: 14px;
    --tab-notch-hp: 6px;
    --tab-tip: 0px;
}

/* BLAU */
body.color-page-blue header .cbp-hrmenu ul li a:hover {
    color: var(--programa-color);
}

body.color-page-blue .cbp-hrmenu ul li a.menu-act::after {
    background: var(--programa-color);
}

body.color-page-blue .encue .encue-lft h2,
body.color-page-blue .encue.prog .encue-rgt ul li a,
body.color-page-blue .pro-list .pro-lft a,
body.color-page-blue .programa-detail .programa-pad a {
    background: var(--programa-color);
    color: var(--programa-color-font);
}

body.color-page-blue .encue.prog .encue-rgt ul li a:hover,
body.color-page-blue .pro-list .pro-lft a:hover,
body.color-page-blue .programa-detail .programa-pad a:hover {
    background: var(--programa-color-hover);
    color: var(--programa-color-font-hover);
}

body.color-page-blue .pro-list .pro-rgt p {
    border-bottom: 4px solid var(--programa-color);
}

/* VERD */
body.color-page-green header .cbp-hrmenu ul li a:hover {
    color: var(--participantes-color);
}

body.color-page-green .cbp-hrmenu ul li a.menu-act::after {
    background: var(--participantes-color);
}

body.color-page-green .encue .encue-lft h2,
body.color-page-green .encue.prog .encue-rgt ul li a,
body.color-page-green .pro-list .pro-lft a,
body.color-page-green .programa-detail .programa-pad a {
    background: var(--participantes-color);
    color: var(--participantes-color-font);
}

body.color-page-geen .encue.prog .encue-rgt ul li a:hover,
body.color-page-green .pro-list .pro-lft a:hover,
body.color-page-green .programa-detail .programa-pad a:hover {
    background: var(--participantes-color-hover);
    color: var(--participantes-color-font-hover);
}

body.color-page-green .pro-list .pro-rgt p {
    border-bottom: 4px solid var(--participantes-color);
}

/* TARONJA */
body.color-page-orange header .cbp-hrmenu ul li a:hover {
    color: var(--actividades-color);
}

body.color-page-orange .cbp-hrmenu ul li a.menu-act::after {
    background: var(--actividades-color);
}

body.color-page-orange .encue .encue-lft h2,
body.color-page-orange .encue.prog .encue-rgt ul li a,
body.color-page-orange .pro-list .pro-lft a,
body.color-page-orange .programa-detail .programa-pad a {
    background: var(--actividades-color);
    color: var(--actividades-color-font);
}

body.color-page-orange .encue.prog .encue-rgt ul li a:hover,
body.color-page-orange .pro-list .pro-lft a:hover,
body.color-page-orange .programa-detail .programa-pad a:hover {
    background: var(--actividades-color-hover);
    color: var(--actividades-color-font-hover);
}

body.color-page-orange .pro-list .pro-rgt p {
    border-bottom: 4px solid var(--actividades-color);
}

/* LILA */
body.color-page-lila header .cbp-hrmenu ul li a:hover {
    color: var(--ejes-color);
}

body.color-page-lila .cbp-hrmenu ul li a.menu-act::after {
    background: var(--ejes-color);
}

body.color-page-lila .encue .encue-lft h2,
body.color-page-lila .encue.prog .encue-rgt ul li a,
body.color-page-lila .pro-list .pro-lft a,
body.color-page-lila .programa-detail .programa-pad a {
    background: var(--ejes-color);
    color: var(--ejes-color-font);
}

body.color-page-lila .encue.prog .encue-rgt ul li a:hover,
body.color-page-lila .pro-list .pro-lft a:hover,
body.color-page-lila .programa-detail .programa-pad a:hover {
    background: var(--ejes-color-hover);
    color: var(--ejes-color-font-hover);
}

body.color-page-lila .pro-list .pro-rgt p {
    border-bottom: 4px solid var(--ejes-color);
}

/* VERMELL */
body.color-page-red header .cbp-hrmenu ul li a:hover {
    color: var(--culturalh-color);
}

body.color-page-red .cbp-hrmenu ul li a.menu-act::after {
    background: var(--culturalh-color);
}

body.color-page-red .encue .encue-lft h2,
body.color-page-red .encue.prog .encue-rgt ul li a,
body.color-page-red .pro-list .pro-lft a,
body.color-page-red .programa-detail .programa-pad a {
    background: var(--culturalh-color);
    color: var(--culturalh-color-font);
}

body.color-page-red .encue.prog .encue-rgt ul li a:hover,
body.color-page-red .pro-list .pro-lft a:hover,
body.color-page-red .programa-detail .programa-pad a:hover {
    background: var(--culturalh-color-hover);
    color: var(--culturalh-color-font-hover);
}

body.color-page-red .pro-list .pro-rgt p {
    border-bottom: 4px solid var(--culturalh-color);
}



/* HEADER */

/* FOOTER */
footer ul li a.no-pipe::after {
    content: none;
}

.mobile-menu .lang-slt ul li a {
    padding: inherit;
}

/* DYNAMIC CONTENT */
body .encue.prog {
    padding: 40px 0;
}

.cm-list .pr-p h3 {
    position: relative;
    padding: 0 18px;
}

.cm-list .pr-p h3::before,
.cm-list .pr-p h3::after {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    line-height: 1;
    right: -5px;
}

.cm-list.activa .pr-p h3::before,
.cm-list.activa .pr-p h3::after {
    right: -0px;
}


/* PARTICIPANTES */
.programa-pad .inner-tab-list .innertab {
    width: auto;
    max-width: 100%;
}

.programa-pad .inner-tab-list .innertab span {
    width: 100%;
    padding: 0px 15px;
    margin-top: 0px;
    padding-top: 12px;
    z-index: 5;
    background-color: #fff !important;
}

.programa-pad .inner-tab-list {
    display: flex;
    flex-wrap: wrap;
    column-gap: 30px;
    align-items: flex-end;
    position: relative;
    background: #fff;
    bottom: -1px;
}

.programa-pad .inner-tab-list .innertab {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Roboto-Bold';
    font-size: 24px;
    line-height: 26px;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    background: var(--tab-bg);
    border: var(--tab-trazo) solid var(--tab-linea);
    border-bottom: 0;
    border-top-left-radius: var(--tab-radio);
    border-top-right-radius: var(--tab-radio);
    height: auto;
    bottom: 0;
    z-index: 1;
}

.programa-pad .inner-tab-list .innertab>span {
    white-space: nowrap;
    background-size: auto !important;
    width: 100% !important;
}

.programa-pad .inner-tab-list .innertab::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: calc(-1 * var(--tab-notch-h) - var(--tab-notch-hp));
    width: calc(var(--tab-notch-h) * 2);
    height: calc(var(--tab-notch-h) + var(--tab-notch-hp));
    pointer-events: none;
    z-index: 3;

    background:
        /* TAPÓN: más ESTRECHO que las diagonales para no “morderlas” */
        linear-gradient(var(--tab-bg), var(--tab-bg)) center top / calc(var(--tab-trazo-muesca) - 2px) var(--tab-tip) no-repeat,

        /* DIAGONAL IZQ. ( / ) un pelín más ancha para evitar hueco central */
        linear-gradient(135deg,
            transparent calc(50% - (var(--tab-trazo-muesca) / 2)),
            var(--tab-linea) 0 calc(50% + (var(--tab-trazo-muesca) / 2)),
            transparent 0) left bottom / 50.2% 100% no-repeat,

        /* DIAGONAL DCHA. ( \ ) */
        linear-gradient(225deg,
            transparent calc(50% - (var(--tab-trazo-muesca) / 2)),
            var(--tab-linea) 0 calc(50% + (var(--tab-trazo-muesca) / 2)),
            transparent 0) right bottom / 50.2% 100% no-repeat,

        /* RELLENO interior del pincho */
        linear-gradient(var(--tab-bg), var(--tab-bg)) center top / 100% calc(100% - var(--tab-trazo)) no-repeat;
}

.programa-pad .inner-tab-list .innertab::before {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: calc(-1 * var(--tab-trazo));
    width: calc(var(--tab-notch-w) / 2);
    height: var(--tab-trazo);
    background: var(--tab-bg);
    z-index: 2;
}

.programa-pad .inner-tab-list .innertab.active {
    z-index: 4;
}

.programa-pad .inner-tab-list .innertab.t1,
.programa-pad .inner-tab-list .innertab.t2 {
    width: auto !important;
    background: none !important;
    background-size: auto !important;
}

.programa-pad .inner-tab-list .innertab.t1.active,
.programa-pad .inner-tab-list .innertab.t2.active {
    background: var(--tab-bg) !important;
}

section.zeina {
    min-height: 668px;
}

/* begin JIRA PAG-273 */

.zeina h2 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 0.5em;
}

.zeina h2 a {
    transition: all 0.35s ease;
}

.zeina h2 a:hover,
.zeina h2 a:focus {
    opacity: 0.7;
}

.programa ul li .pro-cnt {
    float: left;
    width: 100%;
    border: 4px solid rgba(0, 0, 0, 1);
    padding: 25px 30px;
}

.programa ul li .pro-cnt h2 {
    font-family: 'Roboto-Bold';
    font-size: 31.79px;
    line-height: 100%;
    color: #191918;
    margin-bottom: 44px;
}

.programa ul li .pro-cnt h3 {
    font-family: 'Roboto-Regular';
    font-size: 20px;
    color: #191918;
    line-height: 22px;
    margin-bottom: 10px;
}

.programa ul li .pro-cnt p {
    font-family: 'Roboto-Medium';
    font-size: 24px;
    line-height: 30px;
    border-bottom: 4px solid #C81441;
    width: auto;
    display: inline;
}

.programa ul li .pro-cnt a.button {
    font-family: 'Roboto-Bold';
    font-size: 25.99px;
    line-height: 100%;
    text-align: center;
    background: #C81441;
    border: none;
    width: 100%;
    transition: all .5s ease;
    -moz-transition: all .5s ease;
    -webkit-transition: all .5s ease;
    -o-transition: all .5s ease;
    height: 65px;
    margin-top: 18px;
    color: #fff;
    justify-content: center;
    align-items: center;
    display: inline-flex;
}

.programa ul li .pro-cnt a.button:hover,
.programa ul li .pro-cnt a.button:focus {
    color: #C81441;
    background: #FFF;
}

section.participantes .view-mas .loader,
section.programa .view-mas .loader {
    margin: 0 auto;
    display: none;
}

body.popup section.participantes-popups .programa-pad:first-child ul li.prev,
body.popup section.participantes-popups .programa-pad:last-child ul li.next {
    visibility: hidden;
}

/* end JIRA PAG-273 */

/* begin JIRA PAG-277 */

.mobile-menu {
    top: 0;
    padding-top: 100px;
    min-height: 100dvh;
}

/* end JIRA PAG-277 */

/* begin JIRA PAG-272 */

.top-header .main-top ul li.ico-contact a {
    background: url(../images/icons/contacto.png) no-repeat center left / 17px;
    padding-left: 25px;
}

/* end JIRA PAG-272 */

/* begin JIRA PAG-278 */

.programa ul {
    --number-of-columns: 3;
    display: grid;
    grid-template-columns: repeat(var(--number-of-columns), 1fr);
    grid-auto-rows: 1fr;
}

.programa ul li {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.programa ul li .pro-cnt {
    height: -webkit-fill-available;
    display: flex;
    flex-direction: column;
}

.programa ul li .pro-cnt a.button {
    margin-top: auto;
}

.programa ul li .pro-cnt p {
    margin-bottom: 20px;
    border-bottom: none;
    text-decoration: underline #C81441 4px;
    text-underline-offset: 6px;
}

/* end JIRA PAG-278 */

.programa-pad .parti-detail .pro-pa .separador {
    display: block;
    height: 10px;
}


.participantes ul li a .parti-img img {
    object-fit: cover;
}

.participantes ul li.has-img:hover a .parti-img img {
    filter: none;
}

.participantes ul li .parti-img .img-hover {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
    height: 100%;
    width: 100%;
}

.participantes ul li.has-img:hover .parti-img .img-default {
    opacity: 0;
}

.participantes ul li.has-img:hover .parti-img .img-hover {
    opacity: 1;
}

.programa-detail .programa-pad .pro-info {
    display: flex;
    column-gap: 2%;
}

.programa-detail .programa-pad .pro-info .pro-info-lft,
.programa-detail .programa-pad .pro-info .pro-info-rgt {
    flex: 0 1 49%;
}

.programa-detail .programa-pad .pro-info .pro-info-lft {
    position: relative;
}

.programa-detail .programa-pad .pro-info .pro-info-lft img {
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
}

/* .programa-detail .programa-pad .pro-info .pro-info-lft span {
    position: absolute;
    bottom: 33px;
    right: 10px;
    background: #d9d9d9;
    padding: 15px;
    font-family: 'Roboto-Regular';
    font-size: 16px;
    line-height: 30px;
    text-align: right;
    z-index: 9;
} */

.programa-detail .programa-pad .pro-info .pro-info-rgt {
    display: flex;
    flex-direction: column;
    row-gap: 16px;
}

.programa-detail .programa-pad .pro-info .pro-info-rgt h3 {
    font-family: 'Roboto-Black';
    font-size: 24px;
    line-height: 100%;
    margin-bottom: 0;
}

.programa-detail .programa-pad .pro-info .pro-info-rgt h4 {
    font-family: 'Roboto-Bold';
    font-size: 24px;
    line-height: 100%;
    margin-bottom: 0;
}

.programa-detail .programa-pad .pro-info .pro-info-rgt p {
    margin-bottom: 0;
}

.programa-detail .programa-pad .pro-info .pro-info-rgt h3.par {
    margin-bottom: auto;
}

.programa-detail .programa-pad .pro-info .pro-info-rgt h3.par::before {
    content: '[';
}

.programa-detail .programa-pad .pro-info .pro-info-rgt h3.par::after {
    content: ']';
}

.programa-detail .programa-pad .pro-info .pro-info-rgt .entradas-desc p {
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 10px;
}

.programa-detail .programa-pad .pro-info .pro-info-rgt .entradas-desc p:last-child {
    margin-bottom: 0;
}

.programa-detail .programa-pad .pro-table {
    margin: 30px 0;
}

.programa-detail .programa-pad .pro-table>* {
    border-top: 2px solid;
    padding: 30px 0;
}

.programa-detail .programa-pad .pro-table>*:last-child {
    border-bottom: 2px solid;
}

.programa-detail .programa-pad .pro-links {
    display: flex;
    column-gap: 2%;
    align-items: center;
}

.programa-detail .programa-pad .pro-links .pro-links-lft,
.programa-detail .programa-pad .pro-links .pro-links-rgt {
    flex: 0 1 49%;
}

.programa-detail .programa-pad .pro-links .pro-links-lft .button {
    margin: 0;
    width: 100%;
    background-color: transparent;
    border: 4px solid #07ffff;
    padding: 25px 0;
}

.programa-detail .programa-pad .pro-links .pro-links-lft .button.not-allowed {
    cursor: not-allowed;
}

.programa-detail .programa-pad .pro-links .pro-links-lft .button:not(.not-allowed):hover,
.programa-detail .programa-pad .pro-links .pro-links-lft .button:not(.not-allowed):focus {
    background-color: #07ffff;
}

.programa-detail .programa-pad .pro-links .pro-links-rgt p {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 28px;
}

.programa-detail .programa-pad .pro-links .pro-links-rgt a {
    padding: 0;
    background-color: transparent;
    font-size: inherit;
    line-height: inherit;
    margin: 0;
    display: inline;
}

.programa-detail .programa-pad .pro-links .pro-links-rgt a:hover,
.programa-detail .programa-pad .pro-links .pro-links-rgt a:focus {
    background-color: transparent;
    color: #07ffff;
}

.programa-detail .programa-pad .pro-reserv a.button {
    margin: 0;
    width: 100%;
    padding: 30px 0;
}

.programa ul li .pro-img {
    flex: 0 1 260px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.programa ul li .pro-img img {
    min-height: 100%;
    max-width: unset;
    min-width: 100%;
    object-fit: cover;
    transition: all 0.35s ease;
}

.programa ul li .pro-img a:hover img,
.programa ul li .pro-img a:focus img {
    scale: 1.1;
}

.programa ul li .pro-cnt {
    flex: 0 1 calc(100% - 260px);
}

.titulo-separador {
    margin: 30px 0 50px;
    font-family: 'Roboto-mEDIUM';
}

.titulo-separador h4 {
    font-size: 20px;
    line-height: 28px;
    margin-bottom: 10px;
}

.titulo-separador h3.claudator {
    font-size: 36px;
    line-height: 37px;
    padding: 0 18px;
    position: relative;
    width: fit-content;
    text-transform: uppercase;
}

.titulo-separador h3.claudator::before {
    content: '';
    position: absolute;
    background: url(../../resources/v1/images/claudator-01.svg) no-repeat;
    top: 0;
    bottom: 0;
    left: 0;
    width: 14px;
    background-size: cover;
}

.titulo-separador h3.claudator::after {
    content: '';
    position: absolute;
    background: url(../../resources/v1/images/claudator-02.svg) no-repeat;
    top: 0;
    bottom: 0;
    right: 0;
    width: 14px;
    background-size: cover;
}

.organiza ul {
    justify-content: space-between;
}

.top-header .row-top {
    padding: 0 70px;
}

.top-header .main-top-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-header .main-top-wrap ul.menu {
    display: flex;
    gap: 40px;
    padding: 0;
    transition: all 0.35s ease;
}

.top-header .main-top-wrap ul.menu li a {
    color: #C5C6C8;
    font-family: 'Rubik';
    font-size: 12px;
    display: flex;
    gap: 20px;
    align-items: center;
    transition: all 0.35s ease;
}

.top-header .lang-switcher {
    position: relative;
    --bg-color: #fff;
    --tip-size: 5px;
    padding: 5px 3px;
    cursor: pointer;
}

.top-header .lang-switcher ul.langs {
    position: absolute;
    background-color: var(--bg-color);
    padding: 15px;
    top: 98%;
    left: 50%;
    translate: -50% 0;
    border-radius: 5px;
    margin-top: var(--tip-size);
    transition: all 0.35s ease;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 999999;
}

.top-header .lang-switcher:hover ul.langs,
.top-header .lang-switcher:focus ul.langs {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.top-header .lang-switcher ul.langs::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    translate: -50% 0;
    border: var(--tip-size) solid transparent;
    border-bottom-color: var(--bg-color);
}

.top-header .lang-switcher ul.langs li a {
    color: #C5C6C8;
    transition: all 0.35s ease;
}

.top-header .lang-switcher ul.langs li a:hover,
.top-header .lang-switcher ul.langs li a:focus {
    color: #567;
}

.top-header .search {
    display: flex;
    align-items: center;
    gap: 40px;
    border-left: 1px solid #646567;
    padding: 20px;
    padding-right: 0;
}

.top-header .search button.btn-search {
    width: 15px;
    height: 15px;
    margin: 0;
    padding: 0;
    border: 0;
    display: block;
    background: url(../images/icons/menu-icon-search.png) no-repeat center;
    background-size: cover;
    background-color: transparent;
    cursor: pointer;
}

.top-header .search .hdr-search {
    display: none;
}

.top-header .search .hdr-search.show {
    display: block;
}

.top-header .search .hdr-search .search-wrap {
    display: flex;
    width: 250px;
    height: 25px;
    align-items: stretch;
}

.top-header .search .hdr-search .search-wrap input[type="search"] {
    flex: 0 1 60%;
    width: 100%;
    display: block;
    border: none;
    font-size: 12px;
    line-height: 16px;
    padding: 6px 12px;
}

.top-header .search .hdr-search .search-wrap input[type="submit"] {
    flex: 0 1 40%;
    width: 100%;
    display: block;
    border: none;
    background-color: #966D3B;
    color: #C5C6C8;
    cursor: pointer;
    font-size: 12px;
    line-height: 16px;
}

.top-header .search .hdr-search .search-wrap input[type="submit"]:hover,
.top-header .search .hdr-search .search-wrap input[type="submit"]:focus {
    background-color: #a37c4f;
}

.top-header .main-top-lft {
    display: flex;
    gap: 30px;
    align-items: center;
}

.top-header .main-top-lft .logo-buttons {
    display: flex;
}

.top-header .main-top-lft .logo-buttons .logo-button {
    border: 1px solid #8d8c8d;
}

.top-header .main-top-lft .logo-buttons .logo-button .button {
    padding: 15px;
    transition: all 0.35s ease;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background-color: transparent;
    border: none;
}

.top-header .main-top-lft .logo-buttons .logo-button .button:hover,
.top-header .main-top-lft .logo-buttons .logo-button .button:focus {
    background-color: #fff3;
}

/* begin NEWSLETTER FORM */

section.banner-newsletter {
    float: left;
    width: 100%;
    padding: 40px 0 60px;

    background-color: var(--color-red);
}

section.banner-newsletter .newsletter {
    display: grid;
    grid-template-areas:
        'logo title form'
        'logo desc form';
    gap: 20px 2%;
    grid-template-columns: 22% 42% 32%;
    align-items: center;
}

section.banner-newsletter .newsletter .newsletter-logo {
    grid-area: logo;
    display: flex;
    justify-content: flex-end;
}

section.banner-newsletter .newsletter .newsletter-logo img {
    width: 135px;
}

section.banner-newsletter .newsletter .newsletter-title {
    grid-area: title;
}

section.banner-newsletter .newsletter .newsletter-title h2 {
    color: var(--color-white);
    font-family: 'Roboto-Bold';
    font-size: 38px;
    line-height: 44px;
}

section.banner-newsletter .newsletter .newsletter-desc {
    grid-area: desc;
}

section.banner-newsletter .newsletter .newsletter-desc p {
    color: var(--color-white);
    font-family: 'Roboto-Regular';
    font-size: 18px;
    line-height: 24px;
}

section.banner-newsletter .newsletter .newsletter-form {
    grid-area: form;
}

.newsletter-form form.mailpoet_form {
    display: grid;
    grid-template-columns: 70% 30%;
    grid-template-areas:
        'email submit'
        'lopd lopd';
    row-gap: 30px;
}

.newsletter-form form.mailpoet_form .mailpoet_paragraph {
    margin-bottom: 0;
}

.newsletter-form form.mailpoet_form .mailpoet_paragraph:has(input[type="email"]) {
    grid-area: email;
}

.newsletter-form form.mailpoet_form .mailpoet_paragraph:has(input[type="submit"]) {
    grid-area: submit;
}

.newsletter-form form.mailpoet_form .mailpoet_paragraph:has(input[type="checkbox"]) {
    grid-area: lopd;
}

.newsletter-form form.mailpoet_form input[type="email"] {
    width: 100%;
    display: block;
    padding: 18px 10px;
    background: transparent;
    color: var(--color-white);
    border: 1px solid var(--color-white);
    font-family: 'Roboto-Regular';
    transition: all 0.35s ease;
}

.newsletter-form form.mailpoet_form input[type="email"]::placeholder {
    color: inherit;
}

.newsletter-form form.mailpoet_form input[type="submit"] {
    width: 100%;
    height: 100%;
    border: 1px solid var(--color-white);
    font-family: 'Roboto-Regular';
    background-color: var(--color-white);
    color: var(--color-black);
    cursor: pointer;
    transition: all 0.35s ease;
}

.newsletter-form form.mailpoet_form input[type="submit"]:hover,
.newsletter-form form.mailpoet_form input[type="submit"]:focus {
    background-color: transparent;
    color: var(--color-white);
}

.newsletter-form form.mailpoet_form label.mailpoet_checkbox_label {
    color: var(--color-white);
    font-family: 'Roboto-Regular';
    font-size: 14px;
    padding-left: 25px;
    position: relative;
}

.newsletter-form form.mailpoet_form label.mailpoet_checkbox_label a {
    color: inherit;
    transition: all 0.35s ease;
    text-decoration: underline;
    font-family: 'Roboto-Medium';
}

.newsletter-form form.mailpoet_form label.mailpoet_checkbox_label a:hover,
.newsletter-form form.mailpoet_form label.mailpoet_checkbox_label a:focus {
    text-decoration-color: transparent;
}

.newsletter-form form.mailpoet_form label.mailpoet_checkbox_label input[type="checkbox"] {
    width: 0;
    height: 0;
    margin: 0;
    padding: 0;
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
}

.newsletter-form form.mailpoet_form label.mailpoet_checkbox_label::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border: 1px solid var(--color-white);
    top: 0;
    left: 0;
    transition: all 0.35s ease;
}

.newsletter-form form.mailpoet_form label.mailpoet_checkbox_label::after {
    content: '';
    position: absolute;
    transition: all 0.35s ease;
    top: 3px;
    left: 3px;
    width: 12px;
    height: 12px;
    background-color: var(--white-color);
    opacity: 0;
}

.newsletter-form form.mailpoet_form label.mailpoet_checkbox_label:has(input:focus)::before {
    box-shadow: 0 0 10px 0;
}

.newsletter-form form.mailpoet_form label.mailpoet_checkbox_label:has(input:checked)::after {
    opacity: 1;
}

.mailpoet_form.mailpoet_form_successfully_send .mailpoet_validate_success {
    color: var(--color-white);
}

.newsletter-form form.mailpoet_form {
    position: relative;
}

.newsletter-form form.mailpoet_form .mailpoet_message {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.newsletter-form form.mailpoet_form .parsley-errors-list,
.newsletter-form form.mailpoet_form .parsley-required,
.newsletter-form form.mailpoet_form .parsley-custom-error-message {
    color: var(--color-error);
}

.newsletter-form form.mailpoet_form span[class^="mailpoet_error"] {
    position: absolute;
}

/* end NEWSLETTER FORM */

.programa-pad .parti-detail {
    column-gap: 2%;
    flex-wrap: nowrap;
}

.programa-pad .parti-detail .pro-rgt {
    flex: 0 1 28%;
}

.programa-pad .parti-detail .pro-pa {
    flex: 0 1 22%;
}

.programa-pad .parti-detail .pro-pa.convo {
    display: none;
}

.programa-pad .parti-detail .pro-pa a {
    width: 100%;
    white-space: nowrap;
}

/* begin JIRA PAG-292 */

.more-text {
    display: none;
}

.more-text.shown {
    display: block;
}

.pro-list .pro-rgt p {
    font-size: 35px;
    line-height: 48px;
}

.pro-list .pro-rgt h4 {
    font-size: 28px;
    line-height: 35px;
}

.cm-list.activa ul li .cm-pad .pr-cnt a.not-allowed {
    background-color: #EDECE7;
    cursor: not-allowed;
}

.programa-detail .programa-pad h3.subtitulo {
    font-family: 'Roboto-Bold';
    font-size: 28px;
    line-height: 35px;
    margin-bottom: 20px;
}

.programa-detail .programa-pad h4 {
    clear: both;
    font-size: 28px;
    line-height: 35px;
    font-family: 'Roboto-Regular';
    margin-bottom: 10px;
}

/* end JIRA PAG-292 */

.encue.prog .encue-rgt ul {
    flex-wrap: wrap;
    gap: 25px 40px;
}

.pro-list .pro-lft a {
    height: auto;
    padding: 7px 16px;
}

.programa ul li .pro-cnt p a {
    text-decoration: inherit;
    transition: all 0.35s ease;
}

.programa ul li .pro-cnt p a:hover,
.programa ul li .pro-cnt p a:focus {
    text-decoration-color: transparent;
}

.programa-detail .programa-pad a {
    margin-top: 0;
}


/* BEGIN text llibreria */

section.texto-autores {
    float: left;
    width: 100%;
}

section.texto-autores .mensaje-autores {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 70px;
    border-bottom: 1px solid;
    margin-bottom: 50px;
}

section.texto-autores .mensaje-autores .autores-txt {
    flex: 0 1 calc(100% - 250px);
}

section.texto-autores .mensaje-autores .autores-txt p {
    font-size: 20px;
    line-height: 28px;
    font-family: 'Roboto-Regular';
}

section.texto-autores .mensaje-autores .autores-logo {
    flex: 0 1 250px;
}

/* END text llibreria */

/* BEGIN padding logos */

.organzia-2 ul li {
    padding: 20px;
}

/* END padding logos */

/* begin COPYRIGHT LABEL */

.image-caption {
    position: relative;
}

.image-caption .image-backdrop {
    position: absolute;
    background-image: linear-gradient(135deg, transparent 0%, #0007 100%);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.image-caption .caption-icon {
    position: absolute;
    bottom: 25px;
    right: 25px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.image-caption .caption-icon span.text {
    font-size: 12px;
    line-height: 30px;
    font-family: 'Roboto-Black';
    color: #FFF;
    transition: all 0.35s ease;
    padding: 0;
    width: 0;
    overflow: hidden;
    white-space: nowrap;
}

.image-caption .caption-icon:hover span.text,
.image-caption .caption-icon:focus span.text {
    padding: 0 3px;
    width: 100%;
}

.image-caption .caption-icon img {
    height: 100%;
    padding: 0 3px;
}

.image-caption .caption-icon span:first-child img {
    padding-left: 0;
}

.image-caption .caption-icon span:last-child img {
    padding-right: 0;
}

/* end COPYRIGHT LABEL */


/* JIRA PAG-301 */
.programa ul li .pro-cnt a.button.button-mini {
    font-family: 'Roboto-Medium';
    font-size: 16px;
    line-height: 22px;
    transition: all .5s ease;
    -moz-transition: all .5s ease;
    -webkit-transition: all .5s ease;
    -o-transition: all .5s ease;
    width: fit-content;
    text-align: left;
    display: inline-block;
    height: auto;
    margin-top: 20px;
    padding: 10px;
}

section.programa.programa-noticias {
    padding-bottom: 50px;
}

.programa-detail .programa-pad .noti-cont h3.subtitulo {
    font-size: 24px;
    line-height: 30px;
    padding-top: 10px;
}

.home-slide-sec.noticias-rel-sec h2 {
    font-family: 'Roboto-Bold';
    font-size: 24px;
    line-height: 30px;
    margin: 0 auto;
    border-top: 0.98px solid rgba(25, 25, 24, 1);
    width: 100%;
    padding: 38px 14% 38px 0%;
}

.noticias-rel-sec.programa.programa-noticias .swiper-slide {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}


.noticias-rel-sec.programa.programa-noticias .swiper-slide .pro-cnt {
    float: left;
    width: 100%;
    border: 4px solid rgba(0, 0, 0, 1);
    padding: 25px 30px;
    height: -webkit-fill-available;
    display: flex;
    flex-direction: column;
    flex: 0 1 calc(100% - 260px);
    background-color: #fff;
}

.noticias-rel-sec.programa.programa-noticias .swiper-slide .pro-cnt h2 {
    padding: 0px;
    margin: 0px;
    font-weight: normal;
    font-family: 'Roboto-Bold';
    font-size: 31.79px;
    line-height: 100%;
    color: #191918;
    margin-bottom: 44px;
    border: none;
}

.noticias-rel-sec.programa.programa-noticias .swiper-slide .pro-cnt p {
    font-family: 'Roboto-Medium';
    font-size: 24px;
    line-height: 30px;
    width: auto;
    display: inline;
    margin-bottom: 20px;
    border-bottom: none;
    text-decoration: underline #C81441 4px;
    text-underline-offset: 6px;
    transition: all 0.35s ease;
}

.noticias-rel-sec.programa.programa-noticias .swiper-slide .pro-cnt a.button.button-mini {
    font-family: 'Roboto-Medium';
    font-size: 16px;
    line-height: 22px;
    transition: all .5s ease;
    -moz-transition: all .5s ease;
    -webkit-transition: all .5s ease;
    -o-transition: all .5s ease;
    width: fit-content;
    text-align: left;
    display: inline-block;
    height: auto;
    margin-top: 20px;
    padding: 10px;
    background: #C81441;
    border: none;
    color: #fff;
    justify-content: center;
    align-items: center;
    transition: all 0.35s ease;
}

.noticias-rel-sec.programa.programa-noticias .swiper-slide .pro-img img {
    min-height: 100%;
    max-width: unset;
    min-width: 100%;
    object-fit: cover;
    transition: all 0.35s ease;
}

.noticias-rel-sec.programa.programa-noticias .swiper-slide .pro-img {
    overflow: hidden;
}

.noticias-rel-sec.programa.programa-noticias .swiper-slide .pro-img:hover img {
    scale: 1.1;
}

.noticias-rel-sec.programa.programa-noticias .swiper-slide .pro-cnt p:hover {
    text-decoration-color: transparent;
}

.noticias-rel-sec.programa.programa-noticias .swiper-slide .pro-cnt a.button.button-mini:hover,
.noticias-rel-sec.programa.programa-noticias .swiper-slide .pro-cnt a.button.button-mini:focus {
    color: #C81441;
    background: #FFF;
}

.home-slide-sec.noticias-rel-sec.programa.programa-noticias {
    padding-top: 0;
}

/* END JIRA PAG-301 */


/* JIRA PAG-307 */
/* .newsletter-form form.mailpoet_form .mailpoet_message {
    position: relative;
} */

.newsletter-form form.mailpoet_form .mailpoet_message .mailpoet_validate_success {
    border: 3px solid green;
    padding: 5px;
    background-color: #eeeeee;
    color: #333;
}

.newsletter-form form.mailpoet_form .mailpoet_message .mailpoet_validate_error {
    border: 3px solid red;
    padding: 5px;
    background-color: #eeeeee;
    color: #333;
}

.fancybox-close {
    background: #fff url(../images/close.svg) no-repeat center;
}

.fancybox-nav {
    background: transparent url(../images/blank.gif);
}

.fancybox-next span {
    background: #fff url(../images/arrow-04.svg) no-repeat center;
    visibility: visible;
}

.fancybox-prev span {
    background: #fff url(../images/arrow-03.svg) no-repeat center;
    visibility: visible;
}

.programa.galeria-grid {
    padding: 0px;
}

.programa.galeria-grid ul {
    row-gap: 40px;
}


.zoom-btn {
    position: absolute;
    bottom: 22px;
    left: 32px;
    width: 32px;
    height: 32px;
    background: #fff url(../images/icons/ico-lupa.svg) no-repeat center center;
    background-size: 20px 20px;
    cursor: pointer;
    opacity: 0.8;
    z-index: 99999;
    transition: opacity 0.2s;
    border-radius: 73px;
}

.zoom-btn:hover {
    opacity: 1;
}

.zoom-btn.active {
    filter: brightness(0.7);
}

.fancybox-image.zoomed {
    cursor: zoom-out;
    transition: transform 0.25s ease;
    transform-origin: center center;
}

.home-slide-sec .galeria-slider.galeria-slider-caption .swiper-slide iframe.vid-yt {
    width: 100%;
    border: 0;
    height: auto;
    max-width: 100%;
    vertical-align: middle;
}

.home-slide-sec .galeria-slider.galeria-slider-caption .swiper-slide, .home-slide-sec .galeria-slider.galeria-slider-caption .swiper-slide iframe.vid-yt, .home-slide-sec .galeria-slider.galeria-slider-caption .swiper-slide img {
    aspect-ratio: 16/9;
}

.home-slide-sec .galeria-slider.galeria-slider-caption .swiper-slide img {
    object-fit: cover;
}

.home-slide-sec .galeria-slider.galeria-slider-caption .swiper-slide .flex-caption {
    background-color: rgba(255, 255, 255, 0.5);
    padding: 20px;
}

.home-slide-sec .galeria-slider.galeria-slider-caption .swiper-slide .flex-caption span.title {
    margin: 0px;
    font-family: 'Roboto-Medium';
    font-weight: 500;
    font-size: 26px;
    line-height: 34px;
    color: #333;
    text-transform: uppercase;
    padding: 20px 0px;
    display: block;
}

.home-slide-sec .galeria-slider.galeria-slider-caption .swiper-slide .flex-caption {
    top: auto;
    bottom: 2%;
    transform: none;
    width: 50%;
    left: 0;
    right: auto;
    text-align: left;
    border-radius: 15px 0px 15px 0px;
}


.home-slide-sec .galeria-slider.galeria-slider-caption .swiper-slide .flex-caption a {
    font-family: 'Roboto-Bold';
    font-size: 24px;
    line-height: 24px;
    transition: all .5s ease;
    -moz-transition: all .5s ease;
    -webkit-transition: all .5s ease;
    -o-transition: all .5s ease;
    background: #6FFF95;
    height: 46px;
    margin-top: 26px;
    display: inline-flex;
    align-items: center;
    padding: 0 12px;
    justify-content: center;
    text-align: left;
    width: auto;
    white-space: nowrap;
}

body.color-page-red .galeria-slider.galeria-slider-caption .swiper-slide .flex-caption a {
    background: var(--culturalh-color);
    color: var(--culturalh-color-font);
}

.home-slide-sec .galeria-slider.galeria-slider-caption .swiper-slide .flex-caption a:hover {
    background: #EDECE7;
    color: #191918;
}


/* END JIRA PAG-307 */