/*Photo gallery*/
#photoGallery ul {
    display: flex;
    flex-wrap: wrap;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#photoGallery ul li {
    height: 10vh;
    flex-grow: 1;
    margin:7px;
    padding:2px;
    border:1px solid white;
    border-radius: 4px;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px;
    position: relative;
}
#photoGallery ul li:last-child {
    box-shadow: none;
    border:0
}

#photoGallery ul li:last-child {
// There's no science in using "10" here. In all my testing, this delivered the best results.
flex-grow: 10;
}

#photoGallery ul li img {
    max-height: 100%;
    min-width: 100%;
    object-fit: cover;
    vertical-align: bottom;
}

.menuImgContent {
    display: none;
    position: absolute;
    background-color: #f1f1f1;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    right:4px;
    top:24px;
}

.menuImgContent a {
    color: black;
    padding: 10px 12px;
    text-decoration: none;
    display: block;
    font-size: 12px;
}

.menuImgContent a:hover {background-color: #ddd;}

@media only screen and (min-width: 1px) and (max-width: 768px) {

    #photoGallery  ul {
        flex-direction: row;
    }

    #photoGallery ul li {
        height: auto;
        width: 100%;
    }
    #photoGallery ul li img {
        width: 100%;
        max-height: 300px;
        min-width: 0;
    }

}

@media (min-width:769px)  {

    #photoGallery ul li {
        height: 100px;
    }

}