/* CSS Document */

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

.row-margin {
    margin: 0px;
    max-width: 100vw;
}

.thumbnail {
    width: 100%;
    padding: 10px 0px;
    cursor: pointer;
    transition: transform 0.2s;
}

.thumbnail:hover {
    transform: scale(1.1);
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow-y: scroll;
}

.lightbox-content {
    max-width: 100%;
    max-height: 40vh;
}

.caption-container {
    color: white;
    background-color: #333;
    padding: 20px;
    text-align: left;
    margin: 10px auto;
    width: calc(100vw - 20px);
    max-width: 545px;
}

.caption-container > * {
    margin: 0;
    padding: 0;
}

#tags {
    display: block;
    margin-top: 20px;
    font-size: .8em;
    color: #ccc;
}

.info-table {
    font-size: .8em;
}

.disclaimer-text {
    font-size: 10px;
    color: white;
}

.close {
    position: absolute;
    top: 60px;
    right: 30px;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    font-size: 36px;
    color: white;
    background-color: rgba(0, 0, 0, 0.5);
    text-align: center;
    line-height: 50px;
    cursor: pointer;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

#copyright, #title {
    font-weight: bold;
}


@media (min-width:765px){
    .lightbox-content {
max-width: 100%;
max-height: 80vh;
}
    
    .row-margin{
        padding: 0px 10px!important;
    }
}
@media (max-width:765px){
        .caption-container {
        font-size: 0.8em !important;
            margin: 10px 10px!important;
width: calc(100vw - 20px)!important;
    }

    .caption-container > .btn {
        height: 27px !important;
        font-size: 0.7em !important;
    }

    .lightbox {
        padding-top: 0px;
    }

    
}