﻿.hzoom {
    transition: transform .2s;
}

.hzoom:hover {
    transform: scale(1.05);
}

.navbar-brand img {
    height: 52px;
}

.url-cards {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.url-card {
    aspect-ratio: 16 / 9;
    position: relative;
    width: auto;
    height: auto;
    max-width: 320px;
}

.url-card a div {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.url-card a h5 {
    display: block;
    background-color: rgba(0,0,0,.5);
    color: #fff;
    position: absolute;
    inset: 0 auto auto 0; 
    right: 0;
    padding: .5rem;
    transition: all .4s ease;
}


.url-card a:hover h5 {
    background-color: rgba(0, 0, 0, 0.75);
    color: white;
}

.url-card a div {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.url-card a div img {
    object-fit: cover;
    object-position: center center;
    height: 100%;
    max-height: unset;
    position: absolute;
    width: 100%;
    overflow: hidden;
    text-align: center;
    transition: all .4s ease;
}

.url-card a:hover div img {
    transform: scale(1.1);
    filter: opacity(75%);
}



.article {

}

.article h2, .article h3 {
    font-weight: lighter;
    margin: 1.5rem 0 0.5rem 0;
}

.article h3 {
    font-weight: lighter;
    font-style: italic;
}

.article div.figures
{
    display: flex;
    flex-flow: row wrap;
    justify-content: space-evenly;
    align-items: flex-start;
}

.article div.figures figure {
    display: table;
    vertical-align: top;
    text-align: center;
    /*margin-bottom: 0 1rem 1rem 0;*/
}

.article div.figures figure .figure-img {
    max-width: 100%;
    max-height: 320px;
    border: 1px solid black;
    display: block; 
    width: auto;
    max-width: 100%;
    margin: 0.5rem auto;
    transition: ease-in-out 0.2s;
}

.article div.figures figure .figure-img:hover {
    border: 1px solid navy;
    transform: scale(0.98);
}

.article div.figures .figure-caption {
    display: table-caption;
    caption-side: bottom;
    word-break: break-word;
    width: auto;
    text-align: center;
}

.article div.figures.img-230 figure img { max-height: 230px; }
.article div.figures.img-260 figure img { max-height: 260px; }
.article div.figures.img-300 figure img { max-height: 300px; }


.article iframe.mapa {
    width: 100%;
    height: 360px;
    border: 1px solid black;
}

p.no-img {
    font-style: italic;
    color: red;
}