.timeline-filter:not(.aktibo) {
    cursor: pointer;
}

#artxiboa-orria .hidden {
    transition: all 1s ease-in-out;
}

.artxiboko-bideoa {
    height: 100%;
    inline-size: 100%;
    object-fit: cover;
    grid-area: 1 / 1 / -1 / -1;
    transition: scale 1s ease-in-out;
}

/* fototeka filtroak */

.fototeka-filtroa {
    cursor:pointer;
}

.filtroak-container .aukeratutako-filtroak {
    display: none;
}

@media (max-width: 800px) {

    .filtroak-container .w-separator.size_large:empty {
        height: 0;
    }

    .filtroak-container .aukeratutako-filtroak {
        display: flex;
        gap: 1em;
        flex-wrap: wrap;
    }

    .filtroak-container .aukeratutako-filtroak > span {
        cursor: default;
        background-color: #edb2b2;
        padding: 0 1em;
        border-radius: 2px;
        color: white;
        user-select: none;
    }

    .wpb_text_column:not(:last-child) {
        margin-bottom: 0;
        width: 100% !important;
    }

    #contact-form .us_custom_a524ce0f {
        width: 100% !important;
    }

    .toggle-filter {
        cursor:pointer;
        display: flex;
        gap: 1em;
        align-items: center;
        border-bottom: 2px solid transparent;
        transition: all .3s ease-in;
    }

    .toggle-filter:hover {
        border-bottom: 2px solid rgba(32, 32, 32, 0.795);
    }

    .toggle-filter::after {
        content: url("../../icons/arrow_down.svg");
        height: 20px;
    }

    .toggle-filter.opened::after {
        content: url("../../icons/arrow_up.svg");
        height: 20px;
    }

    .filtroak-fototeka:not(.opened) .fototeka-filtroa {
        display:none;
    }
}

/* end of fototeka filtroak */


/*FOTOTEKA EMAITZAk GALERIA*/
.emaitzak-main {
  grid-column: main;
  padding: 1.25rem;
}

.emaitzak-main .gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12.5rem, 1fr));
  grid-auto-rows: 12.5rem;
  grid-auto-flow: dense;
  gap: 0.75rem;
}

.emaitzak-main .gallery figure {
  /* container-type: inline-size; */
  container: figure / inline-size;
  overflow: hidden;

  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
}

.emaitzak-main .gallery img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;

  grid-area: 1 / 1 / -1 / -1;

  transition: scale 1s ease-in-out;
}

.emaitzak-main .gallery figure:hover img {
  scale: 1.125;
}

.emaitzak-main .gallery figcaption {
  grid-area: 1 / 1 / -1 / -1;
  align-self: end;
  z-index: 1;

  padding: 3em 15% 1em 1em;
  color: #fff;
  font-size: 0.875rem;
  line-height: 1.3;
  background: linear-gradient(transparent 25%, rgb(0 0 0 / 0.75));
  display: none;
}

@container figure (width > 20rem) {
  .emaitzak-main .gallery figcaption {
    display: block;
  }
}

.emaitzak-main .gallery figcaption h3 {
  font-size: 1.0625rem;
}

.emaitzak-main .gallery figcaption p {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

@media (width > 600px) {
  .emaitzak-main .gallery figure:nth-child(1) {
    grid-area: span 2 / span 2;
  }

  .emaitzak-main .gallery figure:nth-child(4n + 1) {
    grid-row: span 2;
  }

  .emaitzak-main .gallery figure:nth-child(4n + 2) {
    grid-column: span 2;
  }
}
/*END OF FOTOTEKA EMAITZAk GALERIA*/


/* IMAGEMODAL */
.modal-opener {
    cursor: pointer;
}
.modal-container {
    position:relative;
}

.modal-container h3 {
    color:white;
}

.modal-closer {
    cursor: pointer;
}

.image-modal {
    border:none;
    overflow:hidden;
    overflow-y:auto;
}

.modal-header {
    display: flex;
    justify-content: flex-end;
}

.modal-container figcaption {
    position: absolute;
    top: 31px;
    z-index: 1;
    background-color: #0000009e;
    width: max-content;
    color: white;
    padding: 5px;
}

.modal-container figcaption h3, .modal-container figcaption p {
    color: white;
    margin: 0;
}

.gallery figure {
    position: relative;
}

.gallery .play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    cursor: pointer;
    transition: all .2s ease-in;
}

.gallery .play-icon:hover {
    fill: #ffb8b8;
}



@media (max-width: 800px) {
    .modal-container figcaption {
        position: inherit;
        background-color: transparent;
        color: #434141;
        width: 100%;
    }

    .modal-container figcaption h3 {
        color: #313030;
        margin-bottom:0;
    }

    .modal-container * {
        margin-bottom: 0;
        color: #434141 !important;
    }
}

/* END OF IMAGEMODAL */

.pagination.orrikapena-artxiboa .nav-links {
    justify-content: center;
}

.f-active {
    opacity: .5;
}

.red-title {
    color:red;
}

.d-flex{
    display:flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.w20{

    width:20%;
    position:relative;
    padding-left: 4rem;
    max-height:650px;
    overflow-x: auto;
    overflow-y: scroll;
    
}

        .w20::before{
        position:absolute;
        left:1rem;
        top:0;
        content:"";
        width:2px;
        height: 200%;
        background:#EF1E1F;
        
        }


        .w20 .aktibo{
            font-size:32px;
            line-height: 44px;
            font-weight: 900;
            margin-top:2rem;
        }


        .w20 a{
            text-decoration: none;
            color: black;
        }

        .w20 p{
        margin-bottom:3rem;
        display: block;
        position:relative;
        }

        .w20 p:before{
        position:absolute;
        top:2px;
        left:-3.5rem;
        width:1rem;
        height: 1rem;
        content:"";
        border-radius:1rem;
        background:white;
        border:3px solid #EF1E1F;
        }

        .w20 .aktibo:before{
        position:absolute;
        top:8px;
        left:-3.5rem;
        width:1.4rem;
        height: 1.4rem;
        content:"";
        border-radius:1rem;
        background:#EF1E1F;
        border:4px solid #EF1E1F;
        }

.w80{
    width:78%;
    padding-top:2rem;
}

.w60{
    width:59%;
}
.w40{
    width:40%;
}

.w40 a{
    padding:2rem;
    width:200px;
    text-align:left; 
    position:relative;
}

.w40 a svg{
   position:absolute;
   bottom:49%;
   right:8px;
   width:22px;
}

.mt-4{
    margin-top:4rem;
}


@media(max-width:1024px){

    .w20{
        width:100%;
        display:flex;
        height: 80px;
       padding-left:1rem;
        overflow-x: scroll;
        overflow-y: none;
        gap:1em;
    }

     .w20::before{
        position:absolute;
        left:0rem;
        top:36px;
        content:"";
        width:200%;
        height: 2px;
        background:#EF1E1F;
        
        }

    .w20 a{
    display:block;
    width:60px !important;
    margin:0px 10px;
    }

    .w20 p{
    margin-bottom:0rem;
    width:max-content !important;
    text-align: center;
    }

    .w20 p:before{
    position:absolute;
    top:28px;
    left:30%;

    }

    .w20 .aktibo{
        font-size:22px;
        line-height: 24px;
        margin-top:0rem;
    }

        .w20 .aktibo:before{
        position:absolute;
        top:26px;
        left:27%;
        width:1.2rem;
        height: 1.2rem;
        }

    .w80{
        width:100%;
    }
}



@media(max-width:1024px){
    .w60{
        display:none;
    }

    .w40{
    width:100%;
    }

    .w40 a{
        padding:1rem;
        width:400px;
        text-align:left; 
        position:relative;
    }
}


/*scrolbar*/

.w20 {
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #EF1E1F transparent;
  
}

.w20::-webkit-scrollbar {
  /*width: 2px;*/
}

.w20::-webkit-scrollbar-track {
  background: transparent;
}/*

.w20::-webkit-scrollbar-thumb {
  background: #FFB8B8;
  border-radius: 999px;
}

.w20::-webkit-scrollbar-thumb:hover {
  background: #EF1E1F;
}
*/
.filtroak-fototeka .align_center{
 margin: 01px !important;
}
.filtroak-fototeka a{
 width:max-content;
}

.filtroak .align_center{
 margin: 01px !important;
}


.partitura-kaja{
	transition: all 0.5s ease;
}

.partitura-kaja .us-btn-style_1{
		transition: all 2s ease;
}

.partitura-kaja:hover{
background:#FFB8B8;
	cursor:pointer;
}


.partitura-kaja:hover .us-btn-style_1{
	background:black;
	color:white;
}

#menu-item-720{

	padding:2rem;
	background-image:url(/wp-content/uploads/2026/06/Grupo-139.png);
	background-size:cover;
	transition: all 0.5s ease;
}

#menu-item-720:hover{

	background-blend-mode:color;
	background-color:rgba(0,0,0,0.4);
}

#menu-item-720 a span{
color:white; transition: all 0.5s ease;
}

#menu-item-720:hover a span{
color:#FCD7D7;
}




#menu-item-743{
	padding:2rem;
	background-size:cover;
	background:red;
	transition: all 0.5s ease;
	
}

#menu-item-743:hover{
	background-color:black;
}

#menu-item-743 a span{
color:white; transition: all 0.5s ease;
}

#menu-item-743:hover a span{
color:#FCD7D7;

}







#menu-item-822{
	padding:2rem;
	background-image:url(/wp-content/uploads/2026/06/Grupo-139.png);
	background-size:cover;
	transition: all 0.5s ease;
}

#menu-item-822:hover{

	background-blend-mode:color;
	background-color:rgba(0,0,0,0.4);
}

#menu-item-822 a span{
color:white; 
transition: all 0.5s ease;
}

#menu-item-822:hover a span{
color:#FCD7D7;
}





.header_hor .w-nav.type_desktop .menu-item-601 .w-nav-list.level_2 {
    margin-top:2rem;
}




#menu-item-1007{
	background:#EF1E1F;
	padding:2rem;transition: all 0.5s ease;
}
#menu-item-1007:hover{
	background:black;

}


#menu-item-1007 a span{

	text-align:center !important;
	color:white;transition: all 0.5s ease;
}

#menu-item-1007 a span:hover{

color:#FCD7D7;
}




#menu-item-1008 {
		padding:2rem;
	background-image:url(/wp-content/uploads/2026/06/Grupo-139.png);
	background-size:cover;
	transition: all 0.5s ease;
}



#menu-item-1008:hover {

	background-blend-mode:color;
	background-color:rgba(0,0,0,0.4);
}

#menu-item-1008 a span{
	color:white;
	transition: all 0.5s ease;
}

#menu-item-1008 a span:hover{

color:#FCD7D7;
}





.header_hor .w-nav.type_desktop .menu-item-598 .w-nav-list.level_2 {
	box-shadow:0px 0px 0px transparent;
	margin-top:2.4rem;

}


/* RESPONSIVE FIXES  */
#contact-form {
    flex-wrap: wrap;
}

@media(max-width:570px){
    .us_custom_e8593e36>.vc_column-inner>.w-hwrapper {
        flex-wrap: wrap;
    } 

    .us_custom_e8593e36 .us_custom_c46a58c7, .us_custom_e8593e36 .us_custom_c5f1e994 {
        width: 100% !important;
        padding: 0 !important;
    }
}


@media(max-width:510px) {
    .vc_column_container.us_custom_95d492f5 {
        padding-left: 1rem !important;
    }

    .us_custom_95d492f5 .us_custom_2b4bd107 {
        padding-left: 60px !important;
        background-size: 50px !important;
    }

    .us_custom_95d492f5 .us_custom_2b4bd107 a {
        font-size: 15px !important;
    }

    h1.harremanetarako-title {
        font-size:3em;
    }
}


/* OTHER FIXES */
/* email-link */
.no-touch #email-link a:hover {
    color: #E63C3C !important;
    opacity: .8;
}