/* tirar 20260504 */

@media (max-width: 1170px) {
  #contenido-wrapper #columna-lateral {
    min-width: 100%;
  }

}

/* eol tirar 20260504 */



/* parrilla home */

.path-frontpage .reg-banda-superior{
	background: #e3e3e3;
	width: 100%;
}


.path-frontpage .not-content ul.parrilla {
    padding: 35px 0px;
}

ul.parrilla{
    & a:has(img) {
        & img {
            width: 11rem!important;
            height: auto!important;
            padding: 2rem 3rem;
        }
    }
}

/* eol parrilla Home */

/* banda estudios */

.block.estudios{
    padding: var(--padding-general);
    padding-bottom: 2rem;
    & .block-title{
    	position: relative;
        &:before {
            content: '';
            position: absolute;
            background: #ececec;
            height: 1px;
            width: 100%;
            right: 0;
            top: 50%;
            transform: translateY(50%);
            z-index: -5;
        }
        &:after{
            content: '';
            position: absolute;
            background: #ffffff;
            height: 3rem;
            max-width: 200px;
            min-width: 175px;
            z-index: -1;
            top: 50%;
            transform: translate(-50%, -50%);
            left: 50%;
        }
        & h2{
            text-align: center;
            margin-bottom: 5rem;
            margin-top: 5rem;
            padding: 0;
            &:before{
                content: none;
            }
        }		
    }
    & .oferta-estudios{
    display: flex;
    width: 100%;
    align-items: center;
    margin:0!important;
      & ul{
        list-style: none;
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
        grid-auto-flow: dense;
        gap: 3.5rem;
        width: 100%;
        margin: 0;
        padding: 0!important;
      }
      & li{
            height: 150px;
            cursor: pointer;
            width: 100%;
            margin: 0;
        }
        & h3{
            background-color: #fff;
            border: 1px solid #00688e59;
            border-radius: 20px;
            margin: 0!important;
            font-size: 2.1rem;
            position: relative;
            z-index: 1;
            font-weight: 400!important;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;
            height: 100%;
            transition: all .3s;
            &:before{
                content: "";
                position: absolute;
                background-color: #648fb666;
                width: 5rem;
                height: 5rem;
                z-index: -1;
                border-radius: 50px;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
            }
            &:hover{
                border: 1px solid var(--colorAzul-enlace);
                box-shadow: 0 16px 20px #0b5cff29;
                transition-delay: all 0.2s !important;
            }
        }    
        & a{
            color: black;
            width: 100%;
            text-align: center;
        }
        & img{
            max-width: 3rem;
            display: block;
            margin: 0 auto;
            margin-bottom: 8px;
        }
    }
}
  
/* eol banda estudios */

.view-galeria-frontal{
    display: flex;
    column-gap: 3rem;
    flex-wrap: wrap;
    row-gap: 2rem;
    @media (max-width: 720px) {
        & {
            flex-wrap: wrap;
        }
    }
    & .view-header{
        width: 100%;
    }
    & .view-content{
        width: 50%;
        @media (max-width: 720px) {
            & {
                width: 100%;
            }
        }
        & img{
            display: block;
        }
        & .views-view-responsive-grid__item {
            max-height: 90px;
            overflow: hidden;
        }
    }
    & .view-footer{
        width: 50%;
        @media (max-width: 720px) {
            & {
                width: 100%;
            }
        }
        & h2{
            margin: 1rem 0;
            & a{
                color: black;
            }
        }
        & ul{
            list-style: none;
        }
    }
}

.masonry-layout{
	width: 100%!important;
}

.masonry-item{
	width: 32%;
    margin-bottom: 0.5rem;
	& img{
		display: block;
	}
}

.centrosh{
    & .view-footer{
        flex: 1;
        & h2{
            display: none;
        }
        & .node__content{
            & ul{
                padding: 0;
                & li:before{
                    content: none;
                }
            }
        }
    }
}

.view-exposiciones-virtuales{
	& .view-content{
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(min(100%, 25rem), 1fr));
		grid-auto-flow: dense;
		gap: 3.5rem;
	}
}


