.Galeria {
    background-color: #f5f5f5;
    border-bottom: 1px solid #ddd;
}


.ImageCard {
    box-shadow: none;
    /* transition: ease all .3s; */
    position: relative;
    top: 0;
    overflow: hidden;
    cursor: pointer;
}

.ImageCard>div {
    /* border: 1px solid #ddd; */
    border-radius: 3px;
    height: 15rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
    position: relative;
    border-radius: 0.4rem;
    overflow: hidden;
}

@media (min-width: 992px) {
    .ImageCard>div {
        height: 20rem;
    }
}

.ImageCard img {
    object-fit: cover;
    object-position: center;
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
}

.ImageCard__content {
    background-color: rgb(0 0 0 / 30%);
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    color: #fff;
    padding: 1rem;
    transition: ease all .3s;
}

@media (min-width: 992px) {
    
    .ImageCard__content{
        padding: 1.5rem;
    }
}

.ImageCard:hover .ImageCard__content {
    background-color: rgb(0 0 0 / 40%);
}

.ImageCard:hover {
    /* box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important; */
    /* top: -5px; */
}

.ImageCard__option--edit {
    position: absolute;
    z-index: 10;
    right: .7rem;
    top: 2rem;
    border: 0;
    background-color: #fff !important;
    display: none;
    /* transition: ease all .3s; */
}

.ImageCard__option--edit:hover {
    background-color: #ddd !important;

}

.ImageCard:hover .ImageCard__option--edit {
    /* right: .7rem; */
    display: block;

}

.ImageCard__fondo {
    background: #98f0ff;
    height: 100%;
}

/* ----------------- Modal -----------------  */

.Modal_Galeria{
    /* width: 70%; */
    /* background-color: #ddd; */
    height: 20rem;
}

@media (min-width: 992px) {
    
    .Modal_Galeria{
        height: 70vh;
    }
}

.Modal_Galeria .owl-carousel .owl-stage-outer,
.Modal_Galeria .owl-carousel .owl-stage,
.Modal_Galeria .owl-carousel .owl-item{
    height: 100%;
    border-radius: .4rem;
}

.Modal_Galeria .owl-dots {
    /* display: none; */
    bottom: 1rem;
    position: absolute;
    right: 2rem;
}

.Modal_Galeria .owl-dots span{
    background: #ffffff45 !important;
}

.Modal_Galeria .owl-dots .active span{
    background: #ffffff !important;
}

.Modal_Galeria .owl-nav {
    right: 0;
    /* position: absolute; */
    top: 0;
    bottom: 0;
    margin: 0 auto;
    display: block;
}

.Modal_Galeria .owl-nav .owl-next{
    top: 25%;
    right: 0;
    bottom: 0;
    height: 50%;
    width: 4rem;
    background-color: transparent !important;
    transition: .3s ease all;
    margin: 0;
    position: absolute;
    color: #ffffff8a !important;
}

.Modal_Galeria .owl-nav .owl-next:hover{
    color: #fff !important;
}

.Modal_Galeria .owl-nav .owl-prev{
    top: 25%;
    left: 0;
    bottom: 0;
    height: 50%;
    width: 4rem;
    background-color: transparent !important;
    transition: .3s ease all;
    margin: 0;
    position: absolute;
    color: #ffffff8a !important;
}


.Modal_Galeria .owl-nav .owl-prev:hover{
    color: #fff !important;
}

.Modal_Galeria .owl-nav span{
    font-size: 5rem;
}

.Modal_Galeria .Modal_GaleriaItem{
    width: 100%;
    height: 100%;
    background-color: #ddd;
    padding: 1rem;
    position: relative;
}

.Modal_Galeria .Modal_GaleriaItem img{
    object-fit: cover;
    width: 100%;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
}

.Modal_Galeria .Modal_GaleriaItem--content{
    background-color: rgb(0 0 0 / 10%);
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    color: #fff;
    padding: 1rem;
}

@media (min-width: 992px) {
    
    .Modal_Galeria .Modal_GaleriaItem--content{
        padding: 2rem;
    }
}

/* Background para titulo y descripcion */

.bg-textgallery{
    background: #00000059;
    padding: 0.6rem;
}