.c-col-1,
.c-col-2,
.c-col-3,
.c-col-4,
.c-col-5,
.c-col-6,
.c-col-7,
.c-col-8,
.c-col-9,
.c-col-10,
.c-col-11,
.c-col-12 {
    padding-right: 20px;
    padding-left: 20px;
}

.c-col-7 {
    width: 58.333333%
}


main {
    scroll-behavior: smooth;
}

main#arte-contemporaneo {
    scroll-behavior: unset;
}

@media only screen and (max-width: 576px) {
    .sm-12 {
        width: 100%;
    }
}

.no-gap {
    padding-left: 0;
    padding-right: 0;
}

.showcase-fullscreen-carousel .sfc-fraction {
    top: 85%;
    transform: rotate(-90deg) translateX(15%);
}

.pb-0 {
    padding-bottom: 0px !important;
}

.pt-0 {
    padding-top: 0px !important;
}

.pl-0 {
    padding-left: 0px;
}

.mt-1 {
    margin-top: 80px;
}

.mt-2 {
    margin-top: 60px;
}

.mb-0 {
    margin-bottom: 0px !important;
}

h4,
.text-h4 {
    font-size: 32px;
    line-height: 40px;
    font-weight: 400;
    letter-spacing: -0.01em;
}

@media only screen and (max-width: 450px) {

    h4,
    .text-h4 {
        font-size: 22px;
        line-height: 30px;
        margin-left: -1px;
        font-weight: normal;
        margin-bottom: 1em;
    }
}


/*.showcase-fullscreen-carousel.blend-elements .sfc-fraction,
.showcase-fullscreen-carousel.blend-elements .showcase-footer {
    mix-blend-mode: unset;
}*/

.project-image img,
.project-image video {
    object-position: center;
}

.big-title {
    font-size: 175px;
    font-weight: bold;
}

.showcase-fullscreen-carousel .project-meta .project-category {
    display: block;
    font-size: 20px;
}

.showcase-fullscreen-carousel .project-meta>div {
    opacity: 1;
}

.text-year {
    font-weight: bold;
    line-height: 40px;
    border-bottom: 2px solid var(--mainColor);
}

.toggle-text {
    min-width: 64px;
}

.toggle-text::after {
    background: none;
}

.toggle-text span {
    margin-right: auto;
    margin-left: auto;
    text-align: center;
    width: 100%;
}

.align-right .menu-toggle {
    float: right;
    margin-left: 40px;
    padding: 8px 30px;
    background-color: var(--mainBackground);
    color: var(--mainColor);
    border-radius: 90px;
    background-blend-mode: exclusion;
}

.nayla-icon.align-center {
    margin-left: auto;
    display: block;
}

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

.site-header.dark {
    --mainColor: #000;
    --mainBackground: #fff;
    color: var(--mainColor);
}

.site-header.light {
    --mainColor: #fff;
    --mainBackground: #000;
    color: var(--mainBackground);
}

.site-header.menu-open {
    --mainColor: #fff;
    --mainBackground: #000;
    color: var(--mainBackground);
}

.site-header {
    --stickyBg: #ffffffa3;
}

.site-header.dark {
    --stickyBg: #33333340;
}

/* #site-navigation.fullscreen_menu .fullscreen-menu-wrapper  */
#menu-content-text {
    padding-top: 120px !important;
    padding-left: 40px;
}

/* .section-fullscreen-menu.active,
#site-navigation.fullscreen_menu.active {
    background-image: url("../media/MENU/MENU1.jpg");
    background-position: left;
    background-repeat: no-repeat;
    background-size: 40%;
} */

#site-navigation.fullscreen_menu ul.menu.main-menu.active {
    z-index: 9999;
}

#site-navigation.fullscreen_menu ul.menu.main-menu ul.sub-menu {
    visibility: visible;
    pointer-events: auto;
    margin-left: 50px;
}

.fullscreen_menu ul.menu a:hover {
    color: var(--hoverColor);
}

.fullscreen_menu ul.menu.main-menu li::before {
    background: var(--hoverColor);
}

.fullscreen_menu ul.menu.main-menu li ul.sub-menu li {
    font-size: 18px;
}

main.project-page {
    color: var(--mainColor);
}

main.project-page .md-title {
    color: var(--secondaryColor);
}

.highlight {
    color: var(--highlight);
}


.material-icons.highlight span,
.nayla-icon span {
    color: var(--highlight);
}

.highlight-darker {
    color: var(--highlightDark);
}


i {
    font-style: italic;
}

.project-page-header.creative .project-meta>div {
    width: 70%;
    margin-left: auto;
    margin-right: auto;
    float: none !important;
    font-size: 28px;
}

.float-right {
    float: right !important;
}

.float-left {
    float: left !important;
}

.section {
    padding-top: 120px;
    margin-bottom: 60px;
}

.wrapper-small {
    margin-bottom: 30px;
}


.showcase-fullscreen-carousel.blend-elements .sfc-fraction,
.showcase-fullscreen-carousel.blend-elements .showcase-footer {
    mix-blend-mode: normal;
}



.single-image.parallax-image .image-parallax-wrap img {
    object-fit: contain;
}

.nayla-button.underline .button-line {
    display: none;
    margin-bottom: 0px;
}



.wrapper-full.divider {
    height: 1px;
    background-color: #fff;
    margin-top: 0px;
    margin-bottom: 40px;
}

.wrapper-full {
    margin-bottom: 80px;
}

.no-margin {
    margin: 0;
}

.site-branding {
    width: 400px;
}

.sticky-logo {
    width: 300px;
}

.nayla-marquee.small .marquee-wrap span {
    font-size: 0.5em;
    margin-bottom: 0.3em;
}

.nayla-marquee.italic-icon .marquee-wrap span {
    font-style: italic;
}

hr.white-line {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #fff;
    margin: 30px 0;
    padding: 0;
}

.project-page-header.fullscreen-image .project-image.image-parallax {
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.project-page-header.fullscreen-image {
    height: 85vh;
}

.wrapper-full.footer-bottom-wrapper,
.wrapper.footer-bottom-wrapper {
    align-items: center;
}

.showcase-cards .project-meta {
    mix-blend-mode: normal;
}

.showcase-cards .project-image img {
    object-position: top;
}

.single-image.round-border {
    border-radius: 45px;
}

.carousel--navigation>span:first-child::after {
    display: none;
}

.carousel-controls {
    display: flex;
    float: left;
    width: 100%;
    margin-bottom: 25px;
    align-items: center;
    flex-direction: row;
}

.ndc-projects .carousel--wrapper {
    margin-bottom: 60px;
}

.text-h6 {
    line-height: 1.3
}

.bline {
    height: 1px;
    width: 250px;
    background-color: black;
    margin-top: 20px;
    margin-bottom: 20px;
}

.showcase-fullscreen-carousel .fc-slideshow-wrap .project-title {
    text-align: center;
}


.text-h1 {
    margin-bottom: 62px
}


.carousel--navigation>span:first-child::after,
.carousel--fraction>span:first-child::after {
    margin: 0 26px;
}



/* PAGE COLORS */

#lf-presentacion {
    --mainColor: #000;
    --mainBackground: #e5e4de;
    --secondaryColor: #a3baae;
    --highlight: #546153;
    --highlightDark: #3f4d3e;
}

#lf-mision-valores {
    --mainColor: #000;
    --mainBackground: #f3f4f3;
    --secondaryColor: #a3d4d3;
    --highlight: #527879;
    --highlightDark: #d68c00;
}

#lf-organigrama {
    --mainColor: #000;
    --mainBackground: #f6f4f6;
    --secondaryColor: #831d46;
    --highlight: #86234b;
    --highlightDark: #86234b;
}

#lf-patronato {
    --mainColor: #000;
    --mainBackground: #f1efef;
    --secondaryColor: #c8a8b5;
    --highlight: #330033;
    --highlightDark: #330033;
}

#arte-coleccion {
    --mainColor: #000;
    --mainBackground: #e6e4df;
    --secondaryColor: #fff;
    --highlight: #ff6d6d;
    --highlightDark: #86234b;
}


/* FOOTER*/

#primary+#footer {
    display: none !important;
}

#lf-presentacion+#footer {
    background-color: #e5e4de;
    display: block;
}

#lf-mision-valores+#footer {
    background-color: #f3f4f3;
    display: block;
}

#lf-organigrama+#footer {
    background-color: #f6f4f6;
    display: block;
}

#lf-patronato+#footer {
    background-color: #f1efef;
    display: block;
}

#arte-coleccion+#footer {
    background-color: #e6e4df;
    display: block;
}

#arte-centros+#footer {
    background-color: #d8e0e5;
    display: block;
}

#arte-contemporaneo+#footer {
    display: none;
}

#arte-exposiciones+#footer {
    background-color: #e4e9ed;
    display: block;
}

#arte-fotografia+#footer {
    background-color: #dee2de;
    display: block;
}

#arte-otros+#footer {
    background-color: #f1e8d7;
    display: block;
}

#cultura-actividades+#footer {
    background-color: #f1f3ff;
    display: block;
}

#cultura-aeronautica+#footer {
    display: none;
}

#cultura-premios+#footer {
    background-color: #e9ecff;
    display: block;
}

#cultura-subvenciones+#footer {
    background-color: #fbf7f3;
    display: block;
}

#medios+#footer {
    background-color: #f3edf1;
    display: block;
}

#transparencia+#footer {
    background-color: #f3ede6;
    display: block;
}

body+#arte-contemporaneo {
    --mainColor: #000;
    --mainBackground: #f3f4f3;
    --secondaryColor: #a3d4d3;
    --highlight: #527879;
    --highlightDark: #d68c00;
}

/* SECTION COLORS */

.section.pink {
    --mainColor: #000;
    --mainBackground: #e6e4df;
    --secondaryColor: #fff;
    --highlight: #ff6d6d;
    --highlightDark: #86234b;
}

.section.fuccia {
    --mainColor: #000;
    --mainBackground: #e6e4df;
    --secondaryColor: #fff;
    --highlight: #f14474;
    --highlightDark: #f14474;
}

.section.blue {
    --mainColor: #000;
    --mainBackground: #e6e4df;
    --secondaryColor: #fff;
    --highlight: #6880d2;
    --highlightDark: #6880d2;
}

.section.blue2 {
    --mainColor: #000;
    --mainBackground: #e6e4df;
    --secondaryColor: #fff;
    --highlight: #2d709b;
    --highlightDark: #2d709b;
}

.section.blue3 {
    --mainColor: #000;
    --mainBackground: #e6e4df;
    --secondaryColor: #fff;
    --highlight: #4983a7;
    --highlightDark: #4983a7;
}

.section.darkblue {
    --mainColor: #000;
    --mainBackground: #e6e4df;
    --secondaryColor: #fff;
    --highlight: #2a3f8c;
    --highlightDark: #2a3f8c;
}

.section.red {
    --mainColor: #000;
    --mainBackground: #e6e4df;
    --secondaryColor: #fff;
    --highlight: #ff0000;
    --highlightDark: #ff0000;
}

.section.violet {
    --mainColor: #000;
    --mainBackground: #e6e4df;
    --secondaryColor: #fff;
    --highlight: #590092;
    --highlightDark: #590092;
}

.section.purplelight {
    --mainColor: #000;
    --mainBackground: #e6e4df;
    --secondaryColor: #fff;
    --highlight: #9362b8;
    --highlightDark: #9362b8;
}


.section.green {
    --mainColor: #000;
    --mainBackground: #e6e4df;
    --secondaryColor: #fff;
    --highlight: #3d6768;
    --highlightDark: #3d6768;
}

.section.granate {
    --mainColor: #000;
    --mainBackground: #e6e4df;
    --secondaryColor: #fff;
    --highlight: #8f3558;
    --highlightDark: #8f3558;
}

.section.granate-light {
    --mainColor: #000;
    --mainBackground: #e6e4df;
    --secondaryColor: #fff;
    --highlight: #aa0033;
    --highlightDark: #aa0033;
}

.section.brown {
    --mainColor: #000;
    --mainBackground: #e6e4df;
    --secondaryColor: #fff;
    --highlight: #7e0001;
    --highlightDark: #7e0001;
}

.section.lightbrown {
    --mainColor: #000;
    --mainBackground: #e6e4df;
    --secondaryColor: #fff;
    --highlight: #9b6e1b;
    --highlightDark: #9b6e1b;
}

.section.middlebrown {
    --mainColor: #000;
    --mainBackground: #e6e4df;
    --secondaryColor: #fff;
    --highlight: #8f4d16;
    --highlightDark: #8f4d16;
}



.section.grayblue {
    --mainColor: #000;
    --mainBackground: #e6e4df;
    --secondaryColor: #fff;
    --highlight: #3f5364;
    --highlightDark: #3f5364;
}

.section.purple {
    --mainColor: #000;
    --mainBackground: #e6e4df;
    --secondaryColor: #fff;
    --highlight: #9b0b76;
    --highlightDark: #9b0b76;
}

.section.orange {
    --mainColor: #000;
    --mainBackground: #e6e4df;
    --secondaryColor: #fff;
    --highlight: #f35c2f;
    --highlightDark: #f35c2f;
}

.section.turquoise {
    --mainColor: #000;
    --mainBackground: #e6e4df;
    --secondaryColor: #fff;
    --highlight: #008684;
    --highlightDark: #008684;
}

.section.medios {
    --mainColor: #000;
    --mainBackground: #e6e4df;
    --secondaryColor: #fff;
    --highlight: #8d718b;
    --highlightDark: #8d718b;

}

.section.memoriapdf {
    --mainColor: #000;
    --mainBackground: #e6e4df;
    --secondaryColor: #fff;
    --highlight: #9362b8;
    --highlightDark: #9362b8;

}

.fullscreen_menu ul.menu a {
    color: #000;
}

#siteLogoDiv a {
    width: 100%;
    height: 60px;
    background-image: url("http://localhost/enaire_memoria_2023/memoria-2023/media/logo cabecera 1 negro.png");
    display: block;
    background-size: contain;
    background-repeat: no-repeat;
}

.site-header.sticky.light #siteLogoDiv a,
.site-header.fixed.light #siteLogoDiv a {
    background-image: url("http://localhost/enaire_memoria_2023/memoria-2023/media/logo cabecera 1 negro.png");
}

.site-header.sticky.dark #siteLogoDiv a,
.site-header.fixed.dark #siteLogoDiv a {
    background-image: url("http://localhost/enaire_memoria_2023/memoria-2023/media/logo cabecera 1.png");
}

#stickyLogoDiv {
    opacity: 0
}

#stickyLogoDiv a {
    width: 100%;
    height: 60px;
    background-image: url("http://localhost/enaire_memoria_2023/memoria-2023/media/logo cabecera 1 negro.png");
    display: block;
    background-size: contain;
    background-repeat: no-repeat;
}

.site-header.sticky.light #stickyLogoDiv a,
.site-header.fixed.light #stickyLogoDiv a {
    background-image: url("http://localhost/enaire_memoria_2023/memoria-2023/media/logo cabecera 1 negro.png");
}

.site-header.sticky.dark #stickyLogoDiv a,
.site-header.fixed.dark #stickyLogoDiv a {
    background-image: url("http://localhost/enaire_memoria_2023/memoria-2023/media/logo cabecera 1.png");
}


@keyframes customSlide {
    0% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.md-title#headerfooter {
    font-size: 150px;
    line-height: 1.15;
    margin-bottom: 0;
    letter-spacing: -0.07em;
    padding-right: 0.05em;
    display: inline-block;
    position: absolute;
    bottom: 5%;
    width: 100%;
    opacity: 0.5;
    white-space: nowrap;
}

.md-title#headerfooter .material-icons {
    font-size: 50px;
    padding: 0px 20px;
}

#headerfooter {
    display: inline-block;
    animation: customSlide 15s linear infinite;
}



/* IMAGE MODAL */
/* 
.single-image.zoom:hover {
    opacity: 0.7;
} */

/* The Modal (background) */
.modal {
    display: none;
    position: fixed;
    z-index: 99999999999999999999999999;
    padding: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(170, 169, 169, 0.72);
    backdrop-filter: blur(10px);
    /* Blur effect */
    -webkit-backdrop-filter: blur(10px);
    /* For Safari */
    padding: 60px 60px;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal#imgModal {
    padding-bottom: 30px;
}

/* Modal Content (image) */
.modal-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    max-height: 100%;
    /* Allow it to take the full height available */
    max-width: 100%;
    /* Allow it to take the full width available */
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    /* Ensure padding is included in the width and height */
}

.modal-content #modal-img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: calc(100% - 60px);
    /* Ensure the image does not exceed the available space */
    object-fit: contain;
    flex-grow: 1;
    /* Allow the image to take the remaining space */
}

.modal-content #modal-caption {
    text-align: center;
    color: #000;
    padding: 10px;
    flex-shrink: 0;
    /* Prevent the caption from shrinking */
    /* background: rgba(0, 0, 0, 0.8); */
    width: 100%;
    box-sizing: border-box;
    /* Ensure padding is included in the width */
}

.modal-content #modal-video {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 100%;
    /* Ensure the image does not exceed the available space */
    object-fit: contain;
    flex-grow: 1;
    /* Allow the image to take the remaining space */
}

.showcase-cards .project-meta>div {
    width: 100%;
}

/* Add Animation */
.modal-content,
#caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {
        -webkit-transform: scale(0)
    }

    to {
        -webkit-transform: scale(1)
    }
}

@keyframes zoom {
    from {
        transform: scale(0)
    }

    to {
        transform: scale(1)
    }
}

.modal-close,
.modal-close2 {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.modal-close:hover,
.modal-close:focus,
.modal-close2:hover,
.modal-close2:focus {
    color: #474747;
    text-decoration: none;
    cursor: pointer;
}

.pad50 {
    padding-left: 50px;
    padding-right: 50px;
}

.circular-text-icon {
    z-index: 9999;
}

.page-nav-custom {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
    align-items: center;
}

.page-nav-custom a {
    padding-right: 10px;
    padding-left: 10px;
}

.page-nav-custom a .material-icons {
    vertical-align: bottom;
}

.page-nav-custom a .material-icons.backw {
    width: 24px;
    padding-right: 10px;
}

.page-nav-custom a .material-icons.forw {
    width: 24px;
    padding-left: 10px;
}

.page-nav-custom a:hover {
    color: var(--highlight);
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px) {
    .modal-content {
        width: 100%;
    }

    .section {
        padding-top: 50px;
        margin-bottom: 30px;
    }

    .wrapper-full,
    .wrapper-full.divider {
        margin-bottom: 30px;
    }

    .big-title {
        font-size: var(--mobileFontSize);
        line-height: 1.4;
        letter-spacing: -0.05em;
    }

    .c-col-1,
    .c-col-2,
    .c-col-3,
    .c-col-4,
    .c-col-5,
    .c-col-6,
    .c-col-7,
    .c-col-8,
    .c-col-9,
    .c-col-10,
    .c-col-11,
    .c-col-12 {
        padding-bottom: 15px;
    }

    #site-navigation.fullscreen_menu .fullscreen-menu-wrapper {
        padding-top: 120px !important;
        background-color: #ffffff82;
    }

    .section-fullscreen-menu.active,
    #site-navigation.fullscreen_menu.active {
        background-size: 100%;
        background-size: cover;
    }

    #siteLogoDiv a,
    #stickyLogoDiv a {
        height: 33px;
    }

    .align-right .menu-toggle {
        padding: 8px 20px;
    }

    #menulogo {
        width: 150px !important;
    }

    .sticky-logo img,
    .site-logo img {
        width: 50%;
    }

    #menu-featured {
        height: 100%;
        position: absolute;
        top: 0px;
        width: 100%;
        padding: 0px;
        opacity: 0.4;
    }

    #menu-content-text {
        padding-top: 0px !important;
        padding-left: 20px;
    }

    .fullscreen_menu ul.menu.main-menu li {
        font-size: 40px;
    }

    .page-nav-custom p {
        font-size: 16px;
    }



}

@media (max-width: 1300px) {
    .big-title {
        font-size: 125px;
        font-weight: bold;
    }

    .fullscreen_menu ul.menu.main-menu li {
        font-size: 45px;
    }

    .md-title#headerfooter {
        font-size: 100px;
    }
}

@media (max-height: 830px) and (min-width: 1280px) {
    .big-title {
        font-size: 125px;
        font-weight: bold;
    }

    .fullscreen_menu ul.menu.main-menu li {
        font-size: 45px;
    }

    .md-title#headerfooter {
        font-size: 100px;
    }
}

@media (max-width: 1024px) {
    .big-title {
        font-size: 105px;
        font-weight: bold;
    }

    .fullscreen_menu ul.menu.main-menu li {
        font-size: 35px;
    }

    .md-title#headerfooter {
        font-size: 80px;
    }

    .page-nav-custom p {
        font-size: 16px;
    }
}

@media (max-width: 900px) {
    .big-title {
        font-size: 80px;
        font-weight: bold;
    }

    .page-nav-custom {
        justify-content: center;
    }
}

@media (max-width: 430px) {
    .big-title {
        font-size: 50px;
        font-weight: bold;
    }

    .page-nav-custom p {
        font-size: 12px;
    }

    .page-nav-custom .material-icons {
        width: 20px;
    }
}

@media (min-width: 576px) and (max-width: 900px) {
    .sm-12 {
        width: 100%;
    }

    #site-navigation.fullscreen_menu .fullscreen-menu-wrapper {
        padding-top: 120px !important;
        background-color: #ffffff82;
    }

    .section-fullscreen-menu.active,
    #site-navigation.fullscreen_menu.active {
        background-size: 100%;
    }

    #siteLogoDiv a {
        height: 40px;
        background-size: contain;
    }

    #menu-featured {
        height: 100%;
        position: absolute;
        top: 0px;
        width: 100%;
        padding: 0px;
        opacity: 0.4;
    }

    #menu-content-text {
        padding-top: 0px !important;
        padding-left: 20px;
    }

    .fullscreen_menu ul.menu.main-menu li {
        font-size: 40px;
    }


}

@media only screen and (max-width: 450px) {
    #site-navigation.fullscreen_menu ul.menu.main-menu li {
        font-size: 20px;
        white-space: nowrap;
    }

    #site-navigation.fullscreen_menu ul.menu.main-menu ul.sub-menu {
        visibility: visible;
        pointer-events: auto;
        margin-left: 20px;
    }

    .project-title .text-h1 {
        font-size: 30px;
    }

    .pad50 {
        padding-right: 10px;
        padding-left: 10px;
    }

    .big-title {
        font-size: 40px;
        font-weight: bold;
    }
}