.galleryOverviewContainer
{
    text-align:center;
    display:inline-block;
    width:100%;
}
.galleryCover
{
    margin:1px;
    text-align:left;
    display:inline-block;
    margin-bottom:30px;
    position: relative;
    cursor: pointer;
}
.galleryCover img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Optional: controls how the image fits the space */
}
.gallery-description-box {
    background: white;
    text-align: center;
    border: 1px solid #aba9a9;
    height: auto;
    position: absolute;
    padding: 5px;
    bottom: -10px;
    min-height: 30px;
    -moz-box-shadow: 2px 2px 3px #cac5c5;
    -webkit-box-shadow: 2px 2px 3px #CAC5C5FF;
    box-shadow: 2px 2px 3px #CAC5C5FF;
    /* For IE 8 */
    -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=2, Direction=135, Color='#CAC5C5FF')";
    /* For IE 5.5 - 7 */
    filter: progid:DXImageTransform.Microsoft.Shadow(Strength=2, Direction=135, Color='#CAC5C5FF');
}
.section-decoration {
    /*height: 500px !important;*/
}
.contact-footer {
    font-family: "Lato", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    cursor: pointer;
}

@media only screen and (max-width: 569px) {
    .galleryCover {
        width: 100%;
    }
    .gallery-description-box {
        width: 80%;
        margin-left: 10%;
    }
    .contact-cover
    {
        width: 100%;
        /*margin-left: 10%;*/
    }
}
@media only screen and (min-width: 570px) and (max-width: 767px) {
    .galleryCover {
        width: 420px;
    }
    .gallery-description-box {
        width: 380px;
        margin-left: 20px;
    }
    .contact-cover
    {
        width: 100%;
    }
}
@media only screen and (min-width: 768px) and (max-width: 960px) {
    .galleryCover {
        width: 310px;
    }
    .gallery-description-box {
        width: 290px;
        margin-left: 10px;
    }
    .contact-cover
    {
        width: 100%;
    }
}
@media only screen and (min-width: 960px) and (max-width: 1240px) {
    .galleryCover {
        width: 420px;
    }
    .gallery-description-box {
        width: 380px;
        margin-left: 20px;
    }
}
@media only screen and (min-width: 1240px) and (max-width: 1489px) {
    .galleryCover {
        width: 420px;
    }
    .gallery-description-box {
        width: 380px;
        margin-left: 20px;
    }
}
@media only screen and (min-width: 1490px) {
    .galleryCover {
        width: 420px;
    }
    .gallery-description-box {
        width: 380px;
        margin-left: 20px;
    }
}
img.responsive {
    max-width:100% !important;
    height: auto;
}

/* stretch the gallery container wrapp for small devices and remove the picture shade */
@media only screen and (max-width: 367px) {
    .content_wrapper .section_wrapper, .container, .four.columns .widget-area {
        max-width: 367px !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}
@media only screen and (min-width: 367px) {
    .shade {
        -moz-box-shadow: 2px 2px 3px #000;
        -webkit-box-shadow: 2px 2px 3px #000;
        box-shadow: 2px 2px 3px #000;
        /* For IE 8 */
        -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=2, Direction=135, Color='#000000')";
        /* For IE 5.5 - 7 */
        filter: progid:DXImageTransform.Microsoft.Shadow(Strength=2, Direction=135, Color='#000000');
    }
}
#keywordBox {
    background-image: url('/images/gallery/loupe.png');
    background-position: 10px 12px;
    background-repeat: no-repeat;
    color: #0a4b78;
    width: 250px;
    font-size: 16px;
    padding: 12px 20px 12px 40px;
    border: 1px solid #ddd;
    margin: 20px 0px 0px 0px;
}
/*lazy loading*/
img:not([src]):not([srcset]) {
    visibility: hidden;
}
