/* ------------ IMAGE GALLERY MODAL OVERLAY (start) ------------ */
.modalImageGallery .imageContainer .nextImg {
    position: fixed;
    background-position: right;
    right: 6px;
}
.modalImageGallery .imageContainer .prevImg {
    position: fixed;
    background-position: left;
    left: 6px;
}

/* May or may not be needed: */
.publicModalClose {
    filter: brightness(0);
    /*filter: brightness(0) invert(1);*/
}

/* Background overlay: */
.publicModalMask {
    background: #000;
    opacity: .9;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=90)";
    filter: alpha(opacity=90);
}

/* Set side padding: */
.modalImageGallery .imageContainer {
    max-width: calc(100% - 100px);
}

/* Close X: */
.publicModalClose {
    filter: brightness(0) invert(1);
}

/* ------------ IMAGE GALLERY MODAL OVERLAY (end) ------------ */

/* ------------ IMAGE GALLERY images and text width ---------- */
.img-new-layout {
    width: 60% !important;
    padding: 0 40px 0 0 !important;
}
.text-new-layout {
    width: calc(40% - 40px) !important;
    width: -webkit-calc(40% - 40px) !important;
    padding: 0  0 0 40px !important;
    float: left !important;
}

.vertical-line {
    display: block;
    width: 3px;
    height: 100%;
    background-color: #9a9a9a;
    position: absolute;
    top: 0;
    left: calc(60% + 30px);
    left: -webkit-calc(60% + 30px);
}

@media screen and (max-width: 768px) {
    .img-new-layout {
        width: 100% !important;
        padding: 0 0 40px 0 !important;
        border-bottom: 3px solid #9a9a9a;
    }
    .text-new-layout {
        width: 100% !important;
        padding: 40px 0 0 0 !important;
        height: auto;
    }
    .vertical-line {
        display: none;
    }
}