﻿.Gallery #leftContentWrapper #singleColumn img {
    width: 615px;
}

.Gallery #leftContentWrapper #singleColumn .Category {
    position: relative;
    width: 289px;
    height: 289px;
    float: left;
    cursor: pointer;
}

    .Gallery #leftContentWrapper #singleColumn .Category img {
        width: 100%;
        height: 100%;
    }

    .Gallery #leftContentWrapper #singleColumn .Category p {
        display: inline-block;
        position: absolute;
        bottom: 15px;
        left: 15px;
        padding: 0 50px 0 0;
        line-height: 28px;
        color: white;
        font-family: 'Roboto', sans-serif;
        font-size: 28px;
        font-weight: 900;
        text-transform: uppercase;
        z-index: 2;
        background-position: 100% 50%;
        background-repeat: no-repeat;
        background-size: 35px 35px;
    }

    .Gallery #leftContentWrapper #singleColumn .Category .Overlay {
        position: absolute;
        bottom: 0;
        height: 60px;
        width: 100%;
        z-index: 1;
        background: -webkit-linear-gradient(bottom,#2B1B17,transparent);
        background: -o-linear-gradient(bottom,#2B1B17,transparent);
        background: -moz-linear-gradient(bottom,#2B1B17,transparent);
        background: linear-gradient(to bottom, transparent, #2B1B17);
    }

.Gallery #leftContentWrapper #singleColumn #jssor-content {
    max-width: 1159px;
    width: 100%;
    margin: 0;
}

#newsGallery img {
    width: 100%;
    max-height: 175px;
}

#newsGallery .row .col-xl-3.col-lg-4.col-md-6.col-12 {
    margin-right: 10px !important;
    margin-bottom: 10px !important;
}

#newsGallery .col-xl-3.col-lg-4.col-md-6.col-12 p {
    padding: 2px 5px;
}

#newsGallery .borderThin {
    padding: .25rem;
    border: 1px solid #d9d6d6;
}

@media (min-width: 1240px) {
    #newsGallery .col-xl-3 {
        width: 24%;
    }
}

@media (max-width: 991px) {
    #newsGallery img {
        width: 100%;
        max-height: 135px;
    }
}

@media all and (min-width: 1200px) and (max-width: 1240px) {
    #newsGallery .col-xl-3 {
        width: 26%;
    }
}

@media all and (min-width: 992px) and (max-width: 1199px) {
    #newsGallery .col-lg-4 {
        width: 30%;
    }
}

@media all and (min-width: 850px) and (max-width: 991px) {
    #newsGallery .col-md-6 {
        width: 48%;
    }
}

@media (max-width: 849px) {
    #newsGallery .col-12 {
        width: 100%;
    }
}
