/* Custom styles for El Jap! theme */

body {
    font-family: 'Arial Narrow', Arial;

    --primary-color: #10c2ab;
    --secondary-color: #d00147;
    --tertiary-color_2: #fcff1f;
    --tertiary-color: #ffc700;

    --green-color: #31a000;
    --green-light-color: #9fcd1d;
    --green-nature-color: #9cbb12;
    --green-nature-opacity-color: #b5d71f;
    --green-color-2: #8BC34A;
    --purple-color: #b730aa;
    --purple-color_2: #d022be;
    --pink-color: #ff3c9c;
    --pink-color-2: #f40b76;
    --pink-light-color: #ef3e98;
    --orange-color: #ff9239;
    --greenblue-color: #10c2ab;
    --blue-color: #00d4ff;
    --greenblue-light-color: #00ebb5;
    --greenblue-light-color-2: #4cf3bd;
    --green-dark-color: #005d48;
    --yellow-dark-color: #614c00;
    --pink-dark-color: #830a45;
    --yellow-color: #ffd200;
    --yellow-color-2: #f7e800;

    --dark-color: #292929;

    background-color: var(--primary-color);

    

    font-family: "p22-mackinac-pro", serif;
    font-weight: 500;
    font-style: normal;

    display: inline-block !important;
    width: 100%;
    text-align: center;
    padding-top: 20px;
    padding-bottom: 50px;

    font-size: 18px;
}

::selection {
    background-color: var(--dark-color);
    color: white;
}

footer ::selection,
header ::selection,
#node-1 ::selection,
#node-3 ::selection,
#node-4 ::selection {
    background-color: var(--primary-color);
    color: white;
}

a:hover {
    cursor: pointer;
}


.yellow-color {
    color: var(--tertiary-color_2) !important;
}

body.path-frontpage,
#node-33 body, #node-32 body {
    background-color: var(--tertiary-color);
    color: var(--dark-color);
}

#node-33 h1, #node-32 h1 {
    color: var(--pink-color);
}

body.path-node {
    background-color: var(--dark-color);
    color: white;
}

[id^="node-"] h2 {
    font-size: 60px;
    line-height: 75px;
}

[id^="node-"] h2 span {
    font-size: 40px;
}

[id^="node-"] p.text-large,
.text-large p {
    font-size: 25px !important;
}

.text-small,
.text-small p {
    font-size: 16px !important;
}

[id^="node-"] h3:not(#footer-title) {
    font-size: 50px;
    line-height: 60px;
}


/* eventos */
#node-5 body {
    background-color: var(--pink-color-2);
    color: white;
}

#node-5 h2,
#node-5 h3 {
    color: var(--yellow-color);
}

#node-5 img.img-white {
    max-width: 350px;
    padding: 30px;
    margin-top: 40px;
    padding-bottom: 0px;
}

/* quienes somos */
#node-9 body {
    background-color: var(--greenblue-color);
    --blue-color: #00d4ff;
    color: white;
}

#node-9 h2,
#node-9 h3 {
    color: var(--yellow-color-2);
}

#node-9 .mask-image ~ .row div h2 {
    line-height: 60px;
}

#node-9 .mask-image ~ .row div p {
    margin-top: 23px;
}

/* emprendedores */
#node-7 body {
    background-color: var(--greenblue-light-color);
}

#node-7 p {
    color: var(--green-dark-color);
}

#node-7 b{
    color: black;
}

#node-7 h2,
#node-7 h3 {
    color: var(--pink-color);
}

/* formación y papirojap */
#node-6 body, 
#node-69 body {
    background-color: var(--blue-color);
}

#node-6 p,
#node-69 p {
    color: white;
}

#node-6 h2,
#node-6 h3,
#node-69 h2,
#node-69 h3 {
    color: var(--purple-color_2);
}

#node-6 img.img-white,
#node-69 img.img-white {
    max-width: 260px;
    padding: 30px;
}

#node-69 .instrucciones-page img {
    border-radius: 20px;
    max-width: 600px;
    margin-top: 20px;
    margin-bottom: 40px;
}

/* empleo */
#node-8 body,
.content-type-empleo body {
    background-color: var(--green-nature-color);
}

#node-8 p,
.content-type-empleo p {
    color: white;
}

#node-8 h2,
#node-8 h3,
#node-8 h4,
.content-type-empleo h1,
.content-type-empleo h2,
.content-type-empleo h3,
.content-type-empleo h4 {
    color: var(--tertiary-color_2);
}

#node-8 img.img-white {
    max-width: 260px;
    padding: 30px;
}

/* podcast */
#node-43 body {
    background-color: var(--pink-light-color);
}

/* actualidad */
#node-10 body,
.content-type-article body {
    background-color: var(--dark-color);
}

#node-10 p,
.content-type-article p,
.content-type-article .summary * {
    color: white;
}

/* podcast */
#node-43 main h1,
#node-43 main h2,
#node-43 main h3,
#node-43 main h4, 
#node-43 main h5,
#node-43 main h6 {
    color: var(--greenblue-light-color-2);
}

#node-10 main h1,
#node-10 main h2,
#node-10 main h3,
#node-10 main h4,
#node-10 main h5,
#node-10 main h6,
.content-type-article h1,
.content-type-article h2,
.content-type-article h3,
.content-type-article h4,
.content-type-article h5,
.content-type-article h6 {
    color: var(--tertiary-color);
}

#node-10 img.img-white {
    max-width: 260px;
    padding: 30px;
}

#node-43 main a {
    text-decoration: none;
    color: white;
}

.item-podcast .aditional-content .content-audio:before,
.item-podcast .aditional-content .content-video:before {
    filter: brightness(1) invert(1);
}


/* cursos */
.content-type-curso body {
    background-color: var(--purple-color_2);
}

.content-type-curso h1,
.content-type-curso h2,
.content-type-curso h3,
.content-type-curso h4, 
.content-type-curso h5,
.content-type-curso h6 {
    color: var(--blue-color);
}

/* master */
.content-type-master body {
    background-color: var(--pink-color);
}

.content-type-master h1,
.content-type-master h2,
.content-type-master h3,
.content-type-master h4, 
.content-type-master h5,
.content-type-master h6 {
    color: var(--greenblue-light-color);
}


/* taller */
.content-type-taller body {
    background-color: var(--tertiary-color);
}

.content-type-taller h1,
.content-type-taller h2,
.content-type-taller h3,
.content-type-taller h4, 
.content-type-taller h5,
.content-type-taller h6 {
    color: var(--greenblue-color);
}

/* encuentros */
.content-type-encuentros body {
    background-color: var(--tertiary-color);
    color: var(--yellow-dark-color)
}

.content-type-encuentros body main p {
    color: var(--yellow-dark-color) !important;
}

.content-type-encuentros h1,
.content-type-encuentros h2,
.content-type-encuentros h3,
.content-type-encuentros h4, 
.content-type-encuentros h5,
.content-type-encuentros h6 {
    color: var(--greenblue-color);
}

.content-type-encuentros .back {
    border-color: var(--dark-color);
}

.content-type-encuentros .back a {
    color: var(--dark-color);
}

.content-type-encuentros .back:hover {
    background-color: var(--dark-color);
}

.content-type-encuentros .back:hover a {
    color: white !important;
}

.content-type-encuentros .back img {
    filter: none;
}

.content-type-encuentros .back:hover img {
    filter: invert(1);
}

/* jornadas */
.content-type-jornada body {
    background-color: var(--greenblue-color);
    color: white;
}

.content-type-jornada body p {
    color: white;
}

.content-type-jornada h1,
.content-type-jornada h2,
.content-type-jornada h3,
.content-type-jornada h4, 
.content-type-jornada h5,
.content-type-jornada h6 {
    color: var(--yellow-color-2);
}

/* EOF color pages */

footer {
    background-color: var(--dark-color);
    color: white !important;
    padding: 20px;
}

.container-fluid {
    padding-left: 9vw !important;
    padding-right: 9vw !important;
    max-width: 2300px;
    margin: auto !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "bely-display", sans-serif;
    font-weight: 400;
    font-style: normal;
}

/* h2 {
    font-size: 6vw;
    line-height: 6vw;
    font-weight: bold;
} */

/* h3 {
    font-size: 3vw;
    line-height: 3vw;
    font-weight: bold;
} */

/* fonts comment
p, ul:not(.toolbar-menu) {
    font-size: 1.6vw;
}
*/

body.path-node main p,
body.path-node main a,
body.path-node main ul,
body.path-node main ol {
    font-size: 20px;
    color: white;
}

/* @media (min-width: 2000px) {
    h2 {
        font-size: 100px;
        line-height: 90px;
        font-weight: bold;
    }

    p, ul:not(.toolbar-menu) {
        font-size: 40px;
    }
} */

section.primary {
    background-color: var(--primary-color);
} 

section.secondary {
    background-color: var(--secondary-color);
} 

section.tertiary {
    background-color: var(--tertiary-color);
} 

nav.navbar .container,
footer {
    background: var(--dark-color);
    border-radius: 30px;
    padding: 6px 20px;
    margin-top: 5px;
}

nav.navbar .region {
    display: contents;
}

nav.navbar .region .menu a {
    color: white;
    text-decoration: none;
    padding: 4px 10px;
}

.sn {
    display: flex;
    align-items: stretch;
}

.navbar-brand img {
    filter: invert(1);
}

/* header nav {
    z-index: 9;
}

nav ul.menu a {
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
} */

.navbar-brand div {
    display: none;
}

/* popup cookies */
#sliding-popup {
    width: 720px !important;
    max-width: 100%;
    right: 0 !important;
    left: inherit !important;
    top: 50% !important;
    bottom: inherit !important;
    padding: 20px 30px;
    background-color: var(--dark-color) !important;
}

#sliding-popup button {
    background-image: none;
    text-shadow: none;
    border: none !important;
    box-shadow: none;
    margin-top: 15px;
} 

#sliding-popup .eu-cookie-compliance-content {
    max-width: 100%;
} 

#sliding-popup .eu-cookie-compliance-save-preferences-button {
    background-color: var(--tertiary-color);
}

#sliding-popup .eu-cookie-compliance-reject-button {
    background-color: var(--secondary-color);
    color: white;
} 

#sliding-popup .agree-button {
    background-color: var(--primary-color);
    color: white;
}

/* Cookies page */
.cookies-page h2{
    font-size: 35px !important;
    font-weight: bolder;
}

.cookies-page h3{
    font-size: 25px !important;
    font-weight: bold;
}

.cookies-page h4{
    font-size: 25px !important;
    font-weight: bold;
    color: var(--primary-color);
}
/* EOF popup cookies */


/* section 0 */

section.banner {
    background-image: url('../images/flamenca.jpg');
    min-height: 100vh;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;

    transform: translateY(0);
    will-change: transform;

    margin-top: -16px;

    position: relative;
}

section.banner .logo {
    position: absolute;
    top: 30px;
    left: 3vw;
    filter: invert(1);
    width: 80px;
    opacity: 0.9;
}

/* EOF section 0 */

/* section 1 */
section.intro {
    padding-top: 80px;
    padding-bottom: 80px;
    position: relative;
    min-height: 100vh;
}

section.intro .container-fluid::before {
    content: "";
    background-image: url('../images/corazonespixel.svg');
    filter: invert(1);
    background-position: right top;
    background-repeat: no-repeat;
    background-size: 200px;
    position: absolute;
    top: 40px;
    right: 9vw;
    width: 200px;
    height: 100px;
}

section.intro div.col-6 {
    position: absolute;
    top: -230px;
    transform: translateY(0);
    will-change: transform;
}

section.intro h2 {
    color:var(--tertiary-color_2);
}

section.intro p,
section.intro a {
    color: white;
    position: relative;
}

section.intro h3 a::after {
    content: "";
    width: 0.6vw;
    height: 1.5vw;
    background-image: url(../images/arrow.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom;
    position: absolute;
    top: 0.4vw;
    right: -1.4vw;
    opacity: 0.3;
}

section.intro h3 {
    position: absolute;
    bottom: 130px;
    color: white;
    font-size: 2vw;
    line-height: 2vw;
}


/*  EOF section 1*/



/* section 2 */
section.activities {
    padding-top: 80px;
    padding-bottom: 180px;
    position: relative;
    min-height: 100vh;
}


section.activities h2,
section.activities h3 {
    color:var(--green-color);
    text-align: center;
}

section.activities p {
    color: #796f2b;
    text-align: center;
}

section.activities .activities-content {
    margin-top: 4vw;
}

section.activities .activities-content div[class^='col'] {
    border: 1px solid #fff;
    border-radius: 1.5vw;
    padding: 2vw 1vw;
    margin-left: -1px;
}

section.activities .activities-content .col-12 {
    margin-top: -1px;
}
/*  EOF section 2 */


/* section 3 */
section.come {
    padding-top: 100px;
    padding-bottom: 100px;
    position: relative;
    min-height: 100vh;
}

section.come h2 {
    color:var(--purple-color);
    text-align: center;
}


section.come .content-tortilla-image {
    /* transform: translateY(0);
    will-change: transform;
    z-index: 999; */
    transform: translateY(0);
    will-change: transform;
    z-index: 999;
}

section.come .content-tortilla-image > div > div {
    max-width: 100%;
    width: 100%;
    height: auto;
    border-radius: 1.5vw;
    background-image: url('../images/tortilla.jpg');
    aspect-ratio: 16/11;
    z-index: 999;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

/* 
section.come .content-tortilla-image div::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #d00147;
    border-radius: 1.5vw;
} 
*/

/*  EOF section 2 */


footer {
    padding-bottom: 0;
}

footer p {
    font-size: 17px;
    margin-bottom: 0;
    margin-right: 50px;
    color: white !important;
}

footer a {
    color: white;
}

footer .title-footer img {
    max-width: 12vw;
    padding: 2vw;
    filter: brightness(0) invert(1);
    margin-bottom: 3vw;
}


/* footer logos */
div.logos {
    position: relative;
    display: block;
}

.logo-text {
    transform: rotate(270deg);
    position: absolute;
    left: -70px;
    top: 90px;
    border-bottom: 1px solid;
    width: 180px;
    text-align: right;
    padding-right: 10px;
    text-transform: uppercase;
    font-weight: bold;
}

.logo-text::before {
    content: "";
    width: 40px;
    height: 3px;
    background-color: white;
    bottom: -4px;
    right: 0;
    position: absolute;
}

div.logos img {
    height: auto;
    max-width: 180px;
    padding: 15px 0;
    margin: auto;
    max-height: 120px;
}

div.logos img.large {
    width: 100%;
    max-width: 300px;
}

div.logos .logo-content {
    text-align: center;
    padding-left: 40px;
}

@media (max-width: 1500px) {
    div.logos img {
        max-width: 13vw;
        max-height: 9vw;
        padding: 15px;
        margin: auto;
    }
    
    div.logos img.large {
        max-width: 95%;
        width: 100%;
    }
}
/* EOF footer logos */



/* social networks */
/*
header .social-networks {
    position: absolute;
    z-index: 9;
    width: 100%;
    text-align: right;
    opacity: 0.95;
    top: 20px;
}
*/

a.it-sn {
    text-decoration: none;
    color: var(--tertiary-color) !important;
    margin: 2px;

}

.it-sn.it-text {
    border: 1px solid white;
    border-radius: 8px;
    padding: 4px 10px;
}

.it-sn.it-text:hover {
    background: #ffffff14;
}

.it-sn img {
    max-width: 35px;
    width: 35px;
    
    padding: 6px;
    border: 1px solid white;
    border-radius: 8px;
}

.it-sn:hover img {
    background: #ffffff14;
}

footer .it-sn img {
    filter: brightness(0) invert(1);
    opacity: 0.95;

    max-width: 30px;
}

.footer-bottom-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid;
}

.footer-bottom-info img.square {
    width: 100px;
    padding: 15px;
    padding-left: 0;
}

.footer-bottom-info img.large {
    width: 250px;
    padding: 15px;
}
/* EOF social networks */

section.banner,
section.intro,
section.activities,
section.come {
    aspect-ratio: 16 / 9;
    height: auto;
    width: 100%;
    min-height: inherit;
}

/* @media (max-width: 1399px) {
    section.banner {
        background-image: url('../images/flamenca-tablet.jpg');
    }
} */

.mobile-logo {
    display: none;
}

body.path-node header .social-networks {
    position: relative;
    opacity: 1;
}

body > div {
    text-align: left;
}

body.path-node .region-banner {
    background: #ffffff17;
    padding: 20px 10px;
    margin-bottom: 50px;
}

body.path-node .region-banner h1 {
    opacity: 0.7;
    margin-bottom: 0;
}

body.path-node footer {
    margin-top: 60px !important;
}

.pages-logo {
    width: 100px;
    filter: brightness(0) invert(1);
    padding: 15px;
}

/*
body.path-node nav.navbar {
    display: none;
}
*/

.back-logo, .back {
    display: flex;
    align-items: center;
    border: 1px solid white;
    border-radius: 10px;
    
    color: white;
}

.back a {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 4px 15px;
}

.back:hover {
    background-color: white;
}

.back:hover a {
    color: var(--dark-color);
}

.back-logo a img,
.back a img {
    filter: invert(1);
    width: 30px;
    padding: 5px;
    margin-right: 20px;
    margin-left: -7px;
}

.back:hover img {
    filter: none;
}

.block-header-pages,
.block-back-pages {
    margin-top: 20px;
    margin-bottom: 20px;
}

.block-header-pages .social-networks {
    top: inherit;
}

.block-header-pages .d-flex {
    align-items: center;
}

@media (max-width: 767px) {

    section.banner,
    section.intro,
    section.activities,
    section.come {
        aspect-ratio: 9 / 11;
        height: auto;
        width: 100%;
        min-height: inherit;
    }


    section.banner {
        background-image: url('../images/flamenca-mobile.jpg');
        /* background-size: auto 100%; */
        background-size: 100% auto;
    }
}



@media (max-width: 1399px) {
    h2 {
        font-size: 5vw;
        line-height: 5vw;
    }

    h3 {
        font-size: 2.5vw;
        line-height: 2.5vw;
    }

    .footer-podcast h3 {
        font-size: 1.75rem;
        line-height: 1.3;
    }
}

@media (max-width: 1199px) {
    section.intro div.col-6 {
        top: -130px;
    }

    section.intro .container-fluid::before {
        width: 170px;
        height: 40px;
        background-size: contain;
    }

    .footer-podcast h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 991px) {
    p, ul:not(.toolbar-menu) {
        font-size: 19px;
    }

    h2 {
        font-size: 50px;
        line-height: 50px;
    }

    h3 {
        font-size: 30px;
        line-height: 30px;
    }

    section.intro h3 {
        font-size: 26px;
        line-height: 26px;
        bottom: 30px;
    }

    section.intro a::after {
        width: 10px;
        height: 15px;
        top: 11px;
        right: -18px;
    }

    section.intro .container-fluid::before {
        width: 130px;
    }

    footer .col-3,
    footer .col-4 {
        max-width: 50%;
        flex: 50%;
        margin-bottom: 30px;
    }

    footer p {
        font-size: 15px;
    }

    div.logos img {
        max-width: 200px;
        max-height: 100px;
        padding: 15px;
        margin: auto;
    }

    footer .title-footer img {
        max-width: 200px;
        padding: 20px;
        margin-bottom: 40px;
    }

    section.intro h3 a::after {
        width: 20px;
        height: 20px;
        top: 8px;
        right: -27px;
    }

    section.banner .logo {
        left: 15px;
        width: 60px;
    }

    .footer-podcast {
        width: 40%;
        margin: 0 auto;
        margin-top: 45px;
    }
}

@media (max-width: 886px) {
    section.intro div.col-6 {
        width: 80%;
    }
}

@media (min-width: 768px) {
    .display-max-width-767 {
        display: none;
    }
}

@media (max-width: 767px) {

    .display-min-width-768 {
        display: none;
    }

    .display-max-width-767 {
        display: inherit;
    }

    body {
        background-color: white;
    }
    header .social-networks {
        position: relative;
        top: 0;
        opacity: 1;
    }

    body.path-frontpage .region-header {
        background-color: white;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .back-logo {
        margin-left: 0;
    }
    
    section.come img {
        max-width: 100%;
        margin-top: -180px;
        margin-bottom: 140px;
    }

    img.round {
        border-radius: 20px;
    }

    section.banner .logo {
        display: none;        
    }

    .mobile-logo {
        max-width: 100px;
        display: inherit;
        width: 80px;
        height: 80px;
        padding: 10px;
        margin-left: 20px;
    }

    body.path-node .mobile-logo {
        display: none;
    }

    section.intro div.col-6 {
        top: -210px;
    }

    h2 {
        font-size: 60px;
        line-height: 60px;
    }

    section.intro .container-fluid::before {
        content: none;
    }

    section.intro p {
        margin-top: 130px;
    }

    section.intro p::before {
        content: "";
        background-image: url('../images/corazonespixel.svg');
        filter: invert(1);
        background-position: left top;
        background-repeat: no-repeat;
        background-size: 160px;
        position: absolute;
        top: -50px;
        left: 0;
        width: 200px;
        height: 50px;
    }

    section.intro h3 {
        font-size: 30px;
        line-height: 30px;
        bottom: 60px;
    }

    section.activities .activities-content div[class^='col'] {
        padding: 20px;
        border-radius: 20px;
        flex: 100%;
        margin-left: 0;
        margin-bottom: -1px;
    }

    section.activities .activities-content .col-12 {
        margin-top: 0;
    }

    footer .col-3,
    footer .col-4 {
        max-width: 100%;
        flex: 100%;
        margin-top: 20px;
        margin-bottom: 20px;
        min-height: 190px;
    }

    footer .region {
        margin-bottom: 30px;
    }


    div.logos img {
        width: 200px;
        max-width: 80%;
        max-height: fit-content;
        padding: 15px;
        margin: auto;
    }

    div.logos img.large {
        max-width: 300px;
        max-height: 160px;
    }    

    .footer-bottom-info {
        flex-direction: column;
        padding-bottom: 20px;
    }

    footer p {
        margin: 0;
    }

    .container-fluid {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    footer .it-sn img {
        max-width: 35px;
    }

    section.intro h3 a::after {
        width: 20px;
        height: 20px;
        top: 13px;
        right: -27px;
    }

    .footer-podcast {
        width: 70%;
    }
}

@media (max-width: 536px) { 

    section.intro, section.activities, section.come {
        aspect-ratio: 9 / 16;
    }

    section.intro div.col-6 {
        width: 100%;
        position: relative;
    }

    section.activities h2 {
        font-size: 45px;
        line-height: 45px;
        margin-bottom: 50px;
    }

    section.come h2 {
        font-size: 45px;
        line-height: 50px;
    }

    section.come .content-tortilla-image > div > div {
        background-size: 100%;
    }


}

.pl-4 {
    padding-left: 60px;
}

.pr-4 {
    padding-right: 60px;
}

.block-superfish {
    width: 80%;
}

footer {
    padding-top: 40px;
    padding-left: 30px !important;
    padding-right: 30px !important;
}

.footer-columns img {
    filter: invert(1);
    max-width: 100px;
}

.footer-columns h5 {
    color: var(--pink-color);
    font-size: 28px;
}

.footer-columns ul a {
    padding-left: 0 !important;
}

.block-page-title-block {
    text-align: center;
}

.mask-image {
    width: 100%; /* O establece un ancho fijo, por ejemplo, 300px */
    aspect-ratio: 16 / 7; /* Mantiene la proporción 16:9 */
    border-radius: 15px; /* Hace que los bordes sean redondeados */
    overflow: hidden; /* Asegura que la imagen no se salga de los bordes redondeados */
    margin-top: 30px;
    margin-bottom: 30px;
}

.mask-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Asegura que la imagen cubra toda el área sin distorsión */   
    object-position: center;
}

.mask-video video {
    border-radius: 15px;
    width: 100%;
    height: auto;
    margin-top: 40px;
    margin-bottom: 40px;
}

.logos-d div {
    height: 100%;
}

.logos-d .logo-item {
    border: 1px solid white;
    width: 100%;
    text-align: center;
    border-radius: 15px;

    display: flex;
    align-content: center;
    justify-content: center;
    align-items: center;

    min-height: 122px;
}

.logos-d .logo-item img {
    padding: 10px;
    height: auto !important;
}

.logos-d .logo-item img.square {
    width: 120px;
}

.logos-d .logo-item img.normal {
    width: 210px;
}

.logos-d .logo-item img.large {
    width: 280px;
}

.block-colab {
    margin-top: 80px !important;
    padding-top: 100px !important;
    position: relative;
    display: inline-block;
    width: 100%;
}

.block-colab:before {
    content: "";
    background-image: url(../images/manos.svg);
    background-repeat: no-repeat;
    background-size: contain;
    width: 300px;
    height: 100px;
    position: absolute;
    top: 0;
    left: calc(50% - 150px);
}

.block-colab h3 {
    margin-top: 30px;
}

.block-colab a {
    border: 1px solid white;
    text-decoration: none;
    padding: 10px 30px;
    margin-top: 10px;
    border-radius: 10px;
    display: inline-block;
}

.block-colab a:hover {
    background-color: white;
    color: var(--dark-color);
}

.slider-banner .slide {
    background-size: cover;
    background-position: bottom;
    border-radius: 25px;
    min-height: 600px;
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 30px;

    display: flex;
    align-items: center;
}

.slider-banner .slide-1 {
    background-image: url(../images/slide-1.jpg);
    color: white;
}


.slider-banner .slide h2 {
    font-size: 60px;
}

.slider-banner .slide span {
    font-size: 20px;
}

.intro-block .content-intro {
    margin-top: 40px;
    margin-bottom: 40px;
}

.intro-block h2 {
    color: var(--primary-color);
    font-size: 50px;
    line-height: 60px;
    padding-bottom: 30px;
}

.intro-block h3 {
    color: var(--primary-color);
    padding-bottom: 30px;
    font-size: 40px;
    line-height: 45px;
}

.intro-block p {
    font-size: 20px;
    color: var(--yellow-dark-color);
    padding-bottom: 30px;
}

.intro-block a {
    border: 1px solid var(--yellow-dark-color);
    padding: 10px 25px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--yellow-dark-color);
}

.intro-block a:hover {
    background-color: var(--dark-color);
    color: white;
}

.intro-block div:nth-child(odd) .item-intro {
    background-color: var(--pink-color);
}

.intro-block .row > div:last-child {
    padding-right: 0;
}

.intro-block .row > div:first-child {
    padding-left: 0;
}

.intro-block .row div:nth-child(even) .item-intro {
    background-color: var(--primary-color);
}

.intro-block .item-intro {
    border-radius: 25px;
    text-align: center;
    padding: 20px;
    height: 100%;
}

.intro-block .item-intro h4 {
    color: var(--tertiary-color_2);
    font-size: 33px;
    padding: 0 20px;
}

.intro-block .item-intro p {
    color: white;
}

.intro-block .item-intro img {
    filter: invert(1);
    max-height: 170px;
    padding: 20px;
}

img.img-white {
    filter: invert(1);
}

.emprendedores-block img.img-white {
    max-width: 200px;
    padding: 30px;
} 

.emprendedores-block img.rotate-90 {
    transform: rotate(90deg);
}

.emprendedores-block .help-item {
    border-radius: 25px;
    background-color: var(--pink-color);
    height: 100%;
    padding: 30px;
}

.emprendedores-block .help-item.bg-image {
    background-image: url(../images/emprendimiento-item.jpg);
    background-size: cover;
    background-position: center;
}

.emprendedores-block .help-item h5 {
    font-size: 45px;
    word-break: break-word; /* Compatibilidad con versiones más antiguas */
    overflow-wrap: break-word; /* Para versiones más modernas de CSS */
    hyphens: auto; /* Habilita el guion automático cuando la palabra se rompe */
}

.emprendedores-block .help-item p {
    color: var(--pink-dark-color) !important;
}

.form-item {
    color: var(--green-dark-color);
    font-size: 18px;
}

form .form-item-email {
    width: 49%;
    float: left;
    margin-right: 1%;
}

form .form-item-telefono {
    width: 49%;
    float: left;
    margin-left: 1%;
}

form .form-item-aceptar,
form .form-type-checkbox {
    display: flex;
}

form .form-item-aceptar .description,
form .form-type-checkbox .description {
    margin-left: 10px;
    font-size: 16px;
    text-align: left;
}

form .form-item-aceptar .description a {
    color: var(--green-dark-color);
    font-size: 16px;
}

form input.btn-primary,
form input.btn-primary:hover,
form input.btn-primary:focus,
form input.btn-primary:active {
    background-color: transparent !important;
    border: 1px solid white !important;
    border-radius: 10px;
    padding: 10px 25px;
}

form input.btn-primary:hover,
form input.btn-primary:focus,
form input.btn-primary:active {
    background-color: white !important;
    color: var(--dark-color);
}

.form-control:focus {
    color: var(--dark-color);
    background-color: white;
    border-color: var(--pink-color);
    outline: 0;
    box-shadow: none !important;
}

/* formacion full */

.element-items-teaser {
    margin-top: 40px;
}

.element-items-teaser .item-teaser {
    border: 1px solid white;
    margin: 10px;
    width: 100%;
    padding: 20px;
    text-align: center;
    border-radius: 10px;

    flex: 1;
}

.element-items-teaser .item-teaser p {
    margin-bottom: 0;
    font-size: 18px;
}

.images-items div {
    flex: 1;
    padding: 10px;
}

.images-items img {
    border-radius: 15px;
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    object-position: center;
}

.btn-jap,
.table-info .more-info a {
    border: 1px solid white;
    padding: 10px 25px;
    border-radius: 15px;
    text-decoration: none;
    min-width: 300px;
    max-width: 100%;
    display: inline-block;
    text-align: center;
}

.btn-jap:hover, 
.table-info .more-info a:hover {
    background-color: white;
    color: var(--dark-color);
}

.btn-jap.btn-dark {
    border: 1px solid var(--dark-color);
    color: var(--dark-color);
    background-color: transparent;
}

.btn-jap.disabled,
.table-info .more-info a.disabled {
    opacity: 0.4;
    pointer-events: none;
}

.link-matricula {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 30px !important;
}

.link-matricula::after {
    content: "";
    width: 60px;
    height: 1px;
    bottom: 0;
    position: absolute;
    background-color: white;
    left: calc(50% - 30px);
}

.description {
    text-align: center;
}

.table-info {
    margin-top: 40px !important;
}

.table-info h4 {
    text-align: right;
    padding-right: 30px;
}

.table-info ul {
    list-style: none;
    padding-left: 0;
}

.table-info ul li {
    border-top: 1px solid white;
    padding: 10px 0;
}

.table-info ul li:last-child {
    border-bottom: 1px solid white;
}

.table-info ol {
    counter-reset: item; /* Inicializa el contador */
    list-style: none; /* Elimina el estilo de lista predeterminado */
    padding-left: 0;
}

.table-info ol li {
    counter-increment: item; /* Incrementa el contador para cada <li> */
    position: relative;
    border-top: 1px solid white;
    padding: 10px 0;
    padding-left: 50px;
}

.table-info ol li::before {
    content: counters(item, ".") ". "; /* Combina el contador con un punto y un espacio */
    position: absolute;
    left: 0; /* Ajusta esta propiedad según tus necesidades */
    width: 30px;
    text-align: right;
}

.table-info ol li::before {
    content: "0" counter(item)". "; /* Agrega un 0 delante del número */
    margin-right: 40px; /* Espacio entre el número y el contenido */
}


.element-item {
    border-radius: 15px;
    overflow: hidden;
    display: block;
    text-decoration: none;
    height: 100%;
}

.element-item.content-type-curso {
    background-color: var(--purple-color_2);
}

.element-item.content-type-master {
    background-color: var(--pink-color);
}

.element-item.content-type-taller {
    background-color: var(--tertiary-color);
}

.element-item.content-type-encuentros {
    background-color: var(--tertiary-color);
}

.element-item.content-type-jornada {
    background-color: var(--primary-color);
}

.element-item header {
    padding: 4px 20px;
}

.element-item header p {
    margin: 0;
}

.element-item section {
    border-top-right-radius: 15px;
    background-color: white;
    color: var(--dark-color);
    padding: 20px;
    height: 100%;
}

.element-item.content-type-article {
    border: 1px solid white;
}

.element-item.content-type-article section {
    background-color: transparent;
}

.element-item section a,
.element-item section p {
    color: var(--dark-color) !important;
}

.element-item.content-type-article section p {
    color: white !important;
}

.element-item img {
    border-radius: 15px;
    margin-bottom: 15px;
    aspect-ratio: 16/9;
    object-fit: cover;
    object-position: center;
}

.opacity-color {
    opacity: 0.6;
}

.span-labels {
    border-radius: 5px;
    padding: 2px 10px;
    margin-right: 5px;
    font-size: 14px !important;
}

.span-matricula, .span-inscripcion {
    background-color: var(--green-light-color);
}

.span-gratuito {
    background-color: var(--tertiary-color);
}

.span-access-content {
    background-color: var(--orange-color);
}

.span-location {
    background-color: var(--tertiary-color_2);
}

.training-view-block .view-content {
    display: flex;
    flex-wrap: wrap; /* Permite que los elementos se ajusten a la siguiente fila si no caben */
    justify-content: flex-start; /* Espacio entre columnas */
}

.training-view-block .view-content .views-row {
    flex: 1 1 30%; /* Los elementos ocuparán aproximadamente un tercio del contenedor */
/*     margin-bottom: 20px; /* Espacio entre filas */ 
    box-sizing: border-box; /* Asegura que padding y borde no afecten el ancho */
    padding: 8px;
    max-width: 33%; /* Limita el ancho máximo al 30% */
}

.training-view-block article {
    height: 100%;
}

.views-exposed-form.bef-exposed-form div {
    width: 100%;
}

.views-exposed-form.bef-exposed-form label {
    display: none;
}

.views-exposed-form.bef-exposed-form input {
    display: none;
}

.views-exposed-form.bef-exposed-form ul {
    margin: 0;
    text-align: center;
    padding:0;
}

.views-exposed-form.bef-exposed-form li {
    display: inline;
    list-style: none;
}

.views-exposed-form.bef-exposed-form li a {
    text-decoration: none;
    margin: 5px;
}


.bef-link {
    padding: 7px 20px 7px 40px;
    border-radius: 10px;
    position: relative;
}

.bef-link::before {
    content: "";
    background-image: url(../images/check_off.svg);
    position: absolute;
    width: 20px;
    height: 20px;
    left: 9px;
    top: 8px;
}

.bef-link.bef-link--selected::before {
    content: "";
    background-image: url(../images/check_on.svg);
    position: absolute;
    width: 20px;
    height: 20px;
    left: 9px;
    top: 8px;
}

#node-10 .bef-link.bef-link--selected[name^="tipo"] {
    color: var(--tertiary-color);
    background-color: #ffffff17;
}

#node-10 .bef-link.bef-link--selected[name^="tipo"]::before {
    background-image: url(../images/check_on_yellow.svg);
}

.bef-link.bef-link--selected[name^="tipo[en_practicas]"],
.bef-link.bef-link--selected[name^="tipo[empleo]"] {
    color: var(--green-nature-color);
    background-color: white;
}

.bef-link.bef-link--selected[name^="tipo[en_practicas]"]::before,
.bef-link.bef-link--selected[name^="tipo[empleo]"]::before {
    background-image: url(../images/check_on_green.svg);
}


.bef-link:not(.bef-link--selected) {
    border: 1px solid white;
}

/* selected */
.bef-link.bef-link--selected[name="tipo"] {
    background-color: white;
}

.bef-link.bef-link--selected[name="tipo[taller]"] {
    background-color: var(--tertiary-color);
}

.bef-link.bef-link--selected[name="tipo[master]"] {
    background-color: var(--pink-color);
}

.bef-link.bef-link--selected[name="tipo[curso]"] {
    background-color: var(--purple-color_2);
}

.bef-link.bef-link--selected[name="tipo[encuentros]"] {
    background-color: var(--tertiary-color);
}

.bef-link.bef-link--selected[name="tipo[jornada]"] {
    background-color: var(--primary-color);
}


.formacion-block-bottom .f-content {
    background-color: var(--purple-color_2);
    border-radius: 15px;
    padding: 20px !important;
    margin-top: 30px;
}

.formacion-block-bottom h3 {
    color: var(--blue-color) !important;
    font-size: 38px;
    line-height: 45px;
}

.formacion-block-bottom .f-content p:last-child {
    margin-bottom: 0;
}

.align-items-bottom {
    display: flex;
    align-items: flex-end;
}

article .type-content {
    border: 1px solid;
    padding: 4px 20px;
    border-radius: 10px;
}

article .dates-event {
    margin-left: 20px;
}

header .dates-event {
    font-size: 16px;
}

article .images-items img {
    aspect-ratio: 16/9;
    margin-top: 20px;
}

.content-type-encuentros article .aditional-content a {
    color: var(--dark-color) !important;
    text-decoration: none;
}

.content-type-encuentros article .aditional-content > div {
    border: 1px solid var(--yellow-dark-color);
    border-radius: 10px;
    padding: 4px 20px 4px 40px;
    margin: 0 10px;
    position: relative;
}

.item-podcast .aditional-content > div {
    border: 1px solid white;
    border-radius: 10px;
    padding: 4px 20px 4px 40px;
    margin: 0 10px;
    position: relative;
}

.content-type-encuentros article .aditional-content span,
.item-podcast .aditional-content span {
    border-left: 1px solid;
    padding-left: 10px;
}

.content-type-encuentros article .aditional-content .content-audio:before,
.item-podcast .aditional-content .content-audio:before {
    content: "";
    background-image: url(../images/micro.svg);
    position: absolute;
    top: 7px;
    left: 7px;
    width: 25px;
    height: 25px;
    background-size: contain;
    background-repeat: no-repeat;
}

.content-type-encuentros article .aditional-content .content-info:before {
    content: "";
    background-image: url(../images/info.png);
    position: absolute;
    top: 7px;
    left: 7px;
    width: 25px;
    height: 25px;
    background-size: contain;
    background-repeat: no-repeat;
}

.content-type-encuentros article .aditional-content .content-video:before,
.item-podcast .aditional-content .content-video:before {
    content: "";
    background-image: url(../images/youtube.svg);
    position: absolute;
    top: 7px;
    left: 7px;
    width: 25px;
    height: 25px;
    background-size: contain;
    background-repeat: no-repeat;
}

.content-type-encuentros article .aditional-content div:hover:before {
    filter: invert(1);
}

.content-type-encuentros article .aditional-content div:hover {
    background-color: var(--dark-color);
    border-color: var(--dark-color);
}

.content-type-encuentros article .aditional-content div:hover span {
    color: white;
}

.social-share p {
    margin-bottom: 3px;
}

.social-share .buttons {
    display: flex;
}

.social-share img {
    max-width: 30px;
    opacity: 0.9;
    padding: 5px;
}

.social-share a {
    text-decoration: none;
    border: 1px solid var(--dark-color);
    width: 40px;
    height: 40px;
    margin: 3px;
    border-radius: 10px;
    aspect-ratio: 1/1;

    display: flex;
    align-items: center;
    justify-content: center;
}


.social-share a:first-child {
    margin-left: 0;
}

.social-share a {
    color: white;
    border-color: white;
}

.social-share img {
    filter: brightness(0) invert(1);
    opacity: 1;
}

.social-dark .social-share a {
    border-color: var(--dark-color);
}

.social-dark .social-share img {
    filter: none;
}

.social-share a:hover {
    background-color: white !important;
}

.social-share a:hover img {
    filter: invert(1) brightness(0);
}


.social-dark .social-share a:hover {
    background-color: var(--dark-color) !important;
}

.social-dark .social-share a:hover img {
    filter: invert(1) brightness(1);
}

.social-center .social-share .buttons {
    justify-content: center;
}

.eventos-pasados img {
    max-width: 150px !important;
}

.table-info .more-info a {

}

.actualidad-block img {
    max-width: 350px !important;
}

.podcast-block img {
    max-width: 120px !important;
    margin-top: 20px;
}

.element-item.content-type-article section .date-article {
    font-size: 15px;
    background-color: var(--dark-color);
    padding: 3px 6px;
    display: inline-block;
    color: var(--yellow-color) !important;
}


/* paginador */

.page-link, .media-library-view--widget .view-header a.page-link, .active > .page-link, .media-library-view--widget .view-header a > .page-link {
    background-color: transparent;
    color: white;
    border-color: white;
    margin: 10px;
    border-radius: 10px !important;
    width: 40px;
    height: 40px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1/1;
}

.page-link.active, .media-library-view--widget .view-header a.page-link.is-active, .active > .page-link, .media-library-view--widget .view-header a.is-active > .page-link,
.page-link:hover,
.page-link:focus {
    background-color: white;
    color: var(--pink-light-color);
    border-color: white;
    outline: none;
    box-shadow: none;
}

/* EOF paginador */

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}


.article-navigation img {
    filter: invert(1);
    width: 40px;
}

.article-navigation a {
    border: 1px solid;
    width: 50px;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin-bottom: 15px;
}

.article-navigation .next-article {
    display: flex;
    align-content: flex-end;
    align-items: flex-end;
    flex-direction: column;
}

.article-navigation .next-article img {
    transform: rotate(180deg);
}

.related-content .training-view-block .view-content {
    flex-direction: column;
}

.related-content .training-view-block .view-content .views-row {
    flex: 1 1 100%;
    margin-bottom: 20px;
    box-sizing: border-box;
    padding: 8px;
    max-width: 100%;
}

.related-content .date-article,
.related-content .summary {
    display: none !important;
}

.related-content h4 {
    font-family: "p22-mackinac-pro", serif !important;
    color: white;
    font-size: 18px;
}

.related-content img {
    max-width: 50%;
}

.logo-empleo img {
    background-color: white;
    aspect-ratio: 1/1;
    object-fit: contain;
    border-radius: 10px;
    width: 110px;
    height: 110px;
    margin-bottom: 20px;
}

.content-type-empleo h4.text-left {
    text-align: left !important;
}

.card-info {
    background-color: white;
    border-radius: 15px;
    overflow: hidden;
}

.card-info header {
    color: var(--green-nature-color);
    padding: 10px 20px;
}

.card-info section {
    border-top-right-radius: 15px;
    padding: 20px;
    background-color: var(--green-nature-opacity-color);
    color: var(--dark-color);
}

.card-info section .text-title {
    color: white;
    width: 100%;
    display: inline-block;
}

.card-info .item-card {
    margin-bottom: 10px;
}

.card-info .item-card:last-child {
    margin-bottom: 0;
}

.element-item.content-type-empleo section {
    background-color: var(--green-nature-opacity-color);
}

.element-item.content-type-empleo img {
    background-color: white;
    aspect-ratio: 1/1;
    object-fit: contain;
    width: 80px;
}

.element-item.content-type-empleo .short-teaser p {
     display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5em; /* Ajusta esta propiedad según el tamaño de la fuente */
  max-height: 3em; /* 2 líneas * line-height */
}

.element-item.content-type-empleo .time {
    color: white;
    float: right;
}

.empleo-info-content .empleo-info-block {
    text-align: center;
    border: 1px solid white;
    border-radius: 15px;
    margin-bottom: 20px;
    padding: 20px;
}

.empleo-info-content .empleo-info-block img {
    max-height: 200px;
    margin: auto;
    opacity: 0.7;
    padding: 20px;
}

#edit-aceptar--description {
    text-align: left;
}


/* Ocultar todos los elementos de la lista que no sean cursos, másteres o talleres */
/* #views-exposed-form-formacion-view-block-block-1 ul li a[id*="edit-tipo-"]:not([id*="edit-tipo-curso"]):not([id*="edit-tipo-master"]) {
 */
 #views-exposed-form-formacion-view-block-block-1 ul li a[id*="edit-tipo-"]:not([id*="edit-tipo-curso"]):not([id*="edit-tipo-master"]):not([id*="edit-tipo-taller"]),
 #views-exposed-form-formacion-view-block-block-2 ul li a[id*="edit-tipo-"]:not([id*="edit-tipo-curso"]):not([id*="edit-tipo-master"]):not([id*="edit-tipo-taller"]) {
    display: none;
}

/* Ocultar todos los elementos de la lista que no sean cursos, másteres o talleres */
#views-exposed-form-eventos-view-block-block-1 ul li a[id*="edit-tipo-"]:not([id*="edit-tipo-encuentros"]):not([id*="edit-tipo-jornada"]),
#views-exposed-form-eventos-view-block-block-2 ul li a[id*="edit-tipo-"]:not([id*="edit-tipo-encuentros"]):not([id*="edit-tipo-jornada"]) {
    display: none;
}



#node-7 .alert {
    background-color: var(--pink-color);
    color: white;
}

#node-7 .alert button {
    filter: invert(1);
}

.content-type-curso .alert {
    background-color: var(--blue-color);
}

.path-user main ul {
    border: 0;
}

.path-user .form-item,
.path-user main ul a,
.path-user main ul a:hover,
.path-user main ul a:focus,
.path-user main form label {
    color: white;
}

.path-user .form-control {
    color: var(--dark-color);
}

.path-user main ul a {
    border-radius: 10px !important;
    margin-right: 10px;
    border: 0;
}

.path-user main form {
    max-width: 400px;
    padding: 20px 0;
}

@keyframes zoomEffect {
  0% {
    transform: scale(1); /* Escala normal */
  }
  50% {
    transform: scale(1.1); /* Aumenta el tamaño */
  }
  100% {
    transform: scale(1); /* Vuelve al tamaño normal */
  }
}

.highlight-content {
  transition: transform 0.5s ease-in-out;
}

.highlight-zoom {
  animation: zoomEffect 0.5s ease-in-out;
}

.eu-cookie-compliance-message h2 {
    font-size: 18px !important;
    color: white !important;
    line-height: 20px !important;
}


/* RESPONSIVE */

@media (max-width: 1199px) and (min-width: 992px) {
    nav.navbar .container {
        align-items: center;
        justify-content: center;
        flex-direction: column;
    }
}


@media (max-width: 1199px) {

    .navbar-brand img {
        height: 80px;
    }

    .navbar-expand-lg .navbar-collapse {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }

    .block-superfish {
        width: 100%;
        margin-top: 10px;
        margin-bottom: 10px;
        order: 2;
    }

    .navbar .social-networks {
        margin-top: 10px;
    }

    .block-superfish {
        width: 100%;
    }

    .intro-block .item-intro h4 {
        font-size: 30px;
    }

    .slider-banner .slide h2 {
        font-size: 49px;
    }

    .formacion-block-bottom .col-4 {
        width: 50%;
    }

    .footer-columns > .col-8,
    .footer-columns > .col-4 {
        width: 100%;
    }

    .formacion-block-bottom .col-4:first-child {
        width: 100%;
    }

    .footer-columns #newsletter {
        margin-top: 20px;
    }

    .footer-bottom-info p {
        margin-left: 50px;
    }

    .training-view-block .view-content .views-row {
        max-width: 50%;
        flex: 1 1 50%;
    }

    .empleo-info-content {
        max-width: 100%;
        flex: 100%;
        width: 100%;
    }

    .content-node .col-5 {
        max-width: 100%;
        flex: 100%;
        width: 100%;
    }

    .table-info div[class^="col-"],
    .node--view-mode-full .col-9.description,
    .node--view-mode-full .col-8.description,
    .table-info,
    .element-items-teaser.col-10,
    .table-info-job > div {
        max-width: 100%;
        flex: 100%;
        width: 100%;
    }

    .table-info-job .card-info section {
        display: flex;
        align-content: center;
        justify-content: space-between;
        align-items: center;
        text-align: center;
    }

    .table-info h4 {
        text-align: left;
    }

    .content-type-article .article-content > div {
        max-width: 100%;
        flex: 100%;
        width: 100%;
    }

    .content-type-article .article-content div.col-4 {
        order: 2;
    }

    .related-content .training-view-block .view-content .views-row {
        flex: 1 1 50%;
        margin-bottom: 20px;
        box-sizing: border-box;
        padding: 8px;
        max-width: 50%;
    }

    .related-content .training-view-block .view-content {
        flex-direction: row;
    }

    .related-content .training-view-block .view-content .views-row {
        margin-bottom: 0;
    }

}

@media (max-width: 991px) {
    nav.navbar .container, footer {
        border-radius: 20px;
    }

    .navbar-brand img {
        height: 70px;
    }

    nav.navbar .container button {
        border: 1px solid white;
        aspect-ratio: 1/1;
        border-radius: 10px;
    }

    .navbar-toggler-icon {
        filter: brightness(0) invert(1);
        background-image: url('../images/menu.svg');
    }

    .content-intro .col-4 {
        width: 100%;
        margin-bottom: 30px;
    }

    .footer-columns div[class^='col-'] {
        max-width: 100%;
        flex: 100%;
        text-align: center;
    }    

    header .social-networks {
        margin-top: 10px;
    }

    ul.sf-menu.menu, ul.sf-menu.menu ul, ul.sf-menu.menu li {
        display: flex;
        justify-content: flex-end;
        flex-wrap: wrap;
        flex-direction: column;
        align-content: flex-end;
    }

    nav.navbar .region .menu a {
        padding: 7px 0px;
    }

    .sn {
        justify-content: center;
        border-top: 1px solid #ffffff1f;
        padding-top: 10px;
        margin-top: 17px;
    }

    a.it-sn {
        margin-bottom: 5px;
    }

    a.it-sn img {
        margin: 7px;
    }

    .it-sn.it-text {
        margin-top: 9px;
        margin-right: 10px;
        height: 35px;
    }

    .content-help > div {
        max-width: 100%;
        width: 100%;
        flex: 100%;
        margin-bottom: 30px;
    }

    .emprendedores-block .help-item.bg-image {
        min-height: 300px;
    }

    #block-vootstrap5-webform {
        width: 100%;
    }

    .emp-content .row div[class^='col-'],
    .emp-content > .col-6,
    .f-content > .col-10, 
    .f-content > .col-6,
    .e-content > .col-10,
    .e-content > .col-10 p,
    .e-content > .col-6,
    .empleo-info-content,
    .empleo-info-content > .col-6,
    .content-node .col-10,
    .content-node .col-5,
    .mask-image ~ .row.d-flex .col-3,
    .mask-image ~ .row.d-flex .col-6,
    .block-colab .col-7 {
        max-width: 100%;
        flex: 100%;
        width: 100%;
    }

    .empleo-info-content > .col-6 {
        margin-bottom: 60px;
    }

    .logos-d .logo-item img.normal {
        max-width: 100%;
    }

    .related-content .training-view-block .view-content .views-row {
        flex: 1 1 100%;
        margin-bottom: 20px;
        box-sizing: border-box;
        padding: 8px;
        max-width: 100%;
    }

    .related-content .training-view-block .view-content {
        flex-direction: column;
    }

    .related-content .training-view-block .view-content .views-row {
        margin-bottom: 10px;
    }

    .images-items.d-flex {
        flex-direction: column;
    }

    .element-items-teaser {
        flex-wrap: wrap;
    }

    .element-items-teaser .item-teaser {
        flex: none;
        width: 48%;
        margin: 1%;
    }

    .link-matricula,
    .aditional-content {
        max-width: 100%;
        flex: 100%;
        width: 100%;
    }

    .footer-bottom-info p {
        margin-top: 15px;
        margin-bottom: 15px;
    }

}

@media (max-width: 767px) {
    .logos-d div {
        max-width: 100%;
        flex: 100%;
        width: 100%;

        height: auto;
        margin-bottom: 10px;
    }

    .footer-regions {
        display: none;
    }

    .content-intro *[class^="col-"],
    .f-content *[class^="col-"],
    .f-content p {
        max-width: 100%;
        flex: 100%;
        width: 100%;
    }

    .f-content *[class^="col-"] {
        margin-top: 20px;
    }

    .training-view-block .view-content .views-row {
        max-width: 100%;
        flex: 1 1 100%;
    }

    h1 br,
    h2 br,
    h3 br,
    h4 br,
    h5 br,
    h5 br {
        display: none;
    }

    .footer-podcast a br {
        display: block;
    }

    [id^="node-"] h2 span {
        margin-right: 15px;
    }

    [id^="node-"] h2 {
        font-size: 50px;
        line-height: 60px;
    }

    [id^="node-"] h3:not(#footer-title) {
        font-size: 40px;
        line-height: 50px;
    }

    body {
        padding: 10px;
    }

    .region-content .slider-banner .col-4 {
        max-width: 100%;
        flex: 100%;
        width: 100%;
    }

    .region-sidebar-first, .region-sidebar-second, .region-footer, .region-content {
        padding: 0 !important;
    }

    .intro-block .row > div {
        padding: inherit !important;
    }

     .table-info-job .card-info section {
        flex-direction: column;
    }

    .footer-bottom-info p {
        margin-left: 0;
        padding: 15px;
        margin-top: 0;
        margin-bottom: 0;
    }

    form .form-item-email,
    form .form-item-telefono {
        width: 100%;
    }

    .row.footer-columns {
        justify-content: center;
    }

    article h1.col-8 {
        max-width: 100%;
        flex: 100%;
        width: 100%;
    }

    .article-navigation.row {
        flex-direction: column;
        margin-bottom: 60px;
    }

    .article-navigation.row > div {
        max-width: 100%;
        flex: 100%;
        width: 100%;
    }

    #sliding-popup {
        max-height: 100vh;
        position: fixed;
        top: 0 !important;
        bottom: 0 !important;
        left: 0 !important;
        right: 0 !important;
    }

    .eu-cookie-compliance-banner--categories .eu-cookie-compliance-buttons {
        display: inline-block;
        width: 100%;
        margin-top: 0;
    }

    article.node--type-jornada .col-8,
    article.node--type-encuentros .col-8 {
        max-width: 100%;
        flex: 100%;
        width: 100%;
    }
}

@media (max-width: 661px) {
    .aditional-content {
        flex-direction: column;
    }

    .aditional-content > div {
        width: 160px;
        margin-bottom: 10px !important;
    }
}

@media (max-width: 499px) {
    .views-exposed-form.bef-exposed-form ul {
        display: flex;
        flex-direction: column;
    }

    .views-exposed-form.bef-exposed-form ul li a {
        display: inline-block;
        width: 100%;
    }

    .bef-link::before,
    .bef-link.bef-link--selected::before {
        top: 12px;
    }

    .footer-bottom-info .d-flex {
        flex-direction: column;
    }

    article.node--type-jornada .col-8.align-items-center.justify-content-center,
    article.node--type-encuentros .col-8.align-items-center.justify-content-center {
        flex-direction: column;
    }

    article h1 ~ .col-8 {
        flex-direction: column;
    }

    article .dates-event {
        margin: 0;
        margin-top: 15px;
    }

    [id^="node-"] p.text-large, .text-large p {
        font-size: 18px !important;
    }

    body.path-node main p, body.path-node main a, body.path-node main ul, body.path-node main ol {
        font-size: 18px !important;
    }

    .element-items-teaser .item-teaser {
        flex: none;
        width: 98%;
        margin: 1%;
    }

    #block-vootstrap5-quienessomosblock .row {
        margin: 0;
    }

    .footer-podcast {
        width: 85%;
    } 
}


.webform-curso label,
.webform-curso .form-item-cv {
    color: white;
}

.webform-curso .form-item-cv .description {
    text-align: left;
}

.webform-curso .form-type-checkbox {
    text-align: left;
    color: white;
}

.webform-curso .form-type-checkbox a {
    color: white !important;
}

.limit-access {
    text-align: center;    
    max-width: 500px;
    margin: auto;
    margin-top: 50px;
    margin-bottom: 80px;
}

.limit-access img {
    max-height: 300px;
    padding: 20px;
    margin: auto;
}

.node--unpublished {
    background-color: transparent;
    border: 1px dashed var(--dark-color);
}

.navbar-nav .nav-link:hover,
nav.navbar .region .menu li.active-trail,
nav.navbar .region .menu a:hover,
nav.navbar .region .menu a.is-active,
footer .nav-item a.is-active {
    text-decoration: underline;
    text-decoration-color: white;
}

#edit-cv-upload {
    max-width: 100%;
}

@media (max-width: 991px) {
    .webform-curso {
        width: 100%;
    }
}

#block-vootstrap5-views-block-podcast-view-block-block-1 {
    margin-top: 50px;
    margin-bottom: 50px;
}


.item-podcast {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 750px;
    margin: auto;
    width: 100%;
}

.item-podcast img {
    max-width: 300px;
    border-radius: 15px;
    margin: 20px;
}

/*-----REDESIGN Emprendedores-----*/
.emp-title{
    margin-bottom: 40px;   
}

.emp-img-wrap .col-6 img{
    max-width: 100%;
    border-radius: 12px;
    margin: 15px 0 60px 0;
}

.requirements{
    margin-bottom: 100px;
}

.requirements ul {
    list-style-type: none; 
    width: 55%;
    margin: 0 auto;
}

.requirements li {
    position: relative;
    color: var(--green-dark-color);
    padding-left: 35px;
    margin-bottom: 40px;
}

.requirements li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 15px; 
    transform: translateY(-50%);
    width: 14px; 
    height: 14px; 
    border-radius: 50%; 
    border: 3px solid var(--green-dark-color);
}

.services-wrap, .services-wrap h3{
    margin: 65px 0;
}

.services-wrap .row{
    justify-content: center;
    margin-bottom: 25px;
}

.services-wrap .row .service {
    border: 1px solid black;
    border-radius: 12px;
    text-align: center;
    max-width: 20%;
    margin: 15px;
    padding-top: 20px;
}

.services-wrap .row .service img {
    max-width: 100px;
    max-height: 90px;
    padding: 15px 0;
}

.emprendedores-block .buttons-wrap{
    margin-bottom: 80px;
}

.emprendedores-block .buttons-wrap div{
    text-align: center;
    margin: 0 auto;
    width: 330px;
    margin-top: 20px;
}

.emprendedores-block .buttons-wrap a{
    padding: 6px 40px;
    background-color: var(--pink-color);
    text-decoration: none;
    border-radius: 12px;
    display: block;
    width: 100%;
}

#popup-text p{
    color: white;
}

/*------EMPRENDEDORES LOGOS-------*/
.view-logos .view-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.view-logos .views-row {
    border: 1px solid black;
    border-radius: 12px;
    text-align: center;
    width: 22%;
    margin: 15px;
}

.logo-wrap img {
    width: 100%;
    max-height: 200px;
    padding: 10px;
}

/*--------REDESIGN FOOTER---------*/
.footer-columns .col-3:last-child {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

#block-vootstrap5-email {
    text-align: center;
}

.footer-podcast {
    border: 2px solid var(--pink-color);
    border-radius: 25px;
    padding: 15px;
}

.footer-podcast a {
    text-decoration: unset;
    text-align: center;
}

#footer-title {
    margin-bottom: 0;
    color: var(--pink-color) !important;
}

@media (max-width: 1400px) {
    .emp-content > div:first-child{
        width: 58%;
    }

    .emp-content .requirements ul{
        width: 65%;
    }
}

@media (max-width: 1200px) {
    .emp-content > div:first-child{
        width: 68%;
    }

    .emp-content .requirements ul{
        width: 75%;
    }

    .services-wrap .row .service{
        max-width: 23%;
        margin: 15px 9px;
    }

    .view-logos .views-row {
        width: 23%;
        margin: 8px;
    }
}

@media (max-width: 991px) {
    .emp-content > div:first-child{
        width: 100%;
    }

    .emp-content .requirements ul{
        width: 100%;
    }

    .services-wrap .row .service{
        max-width: 45%;
        width: 45%;
        margin: 15px;
    }

    .view-logos .views-row {
        width: 30%;
        margin: 10px;
    }
}

@media (max-width: 767px) {
    .services-wrap .row .service{
        margin: 15px 13px;
    }

    .services-wrap{
        margin-bottom: 40px;
    }

    .view-logos .views-row {
        width: 46%;
    }
}

@media (max-width: 640px) {
    .item-podcast {
        flex-direction: column;
    }

    .item-podcast h4 {
        text-align: center;
    }
}

@media (max-width: 540px) {
    .services-wrap .row .service{
        max-width: 80%;
        width: 80%;
    }

    .requirements ul{
        padding-left: unset;
    }

    .emprendedores-block .buttons-wrap div{
        width: 300px;
    }

    .services-wrap h3{
        margin: 40px 0;
    }

    .view-logos .views-row {
        width: 75%;
    }
}

@media (max-width: 400px) {
    .view-logos .views-row {
        width: 100%;
    }
}

.gtranslate select, .gtranslate select:focus {
    border-radius: 10px !important;
    min-height: 40px;
    background-color: var(--dark-color);
    border: 0 !important;
    color: var(--tertiary-color);
    font-weight: 600;
    padding: 5px;
}

.gtranslate select option, .gtranslate select option{
    color: var(--dark-color) !important;
    background-color: var(--tertiary-color) !important;
    margin-left: 30px !important;
    border-radius: 10px !important;
}
.gtranslate select option:hover, .gtranslate select option:focus{
    color: var(--tertiary-color) !important;
    background-color: var(--dark-color) !important;
}
