.widget-sidebar {
    /*background-color: #fff;*/
    display: block;
}

.title-widget-sidebar {
    font-size: 14pt;
    border-bottom: 2px solid #e5ebef;
    margin-bottom: 15px;
    padding-bottom: 10px;
    margin-top: 0px;
}

.title-widget-sidebar:after {
    border-bottom: 2px solid #ffc107;
    width: 150px;
    display: block;
    position: absolute;
    content: '';
    padding-bottom: 10px;
}

.recent-gallery {
    width: 100%;
    list-style-type: none;
}

.img-gallery-responsive {
    width:100%;
    border: 5px solid #007bff;
    transition: 0.3s;
}
.img-gallery-responsive:hover {
    border: 5px solid #ffc107;
}


.gallery {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
    margin: auto;
}

.gallery .gallery-item {
    height: inherit;
    max-width: 100%;
    background: gray;
    border: 2px solid white;
    background-size: cover;
    background-position: center top;
}

.gallery .gallery-item {
    -webkit-box-flex: 1;
    -ms-flex: 1 auto;
    flex: 1 auto;
}

.gallery .gallery-item img {
    height: auto;
    width: 100%;
    max-height: 120px;
    width: auto;
    visibility: hidden;
}

/* Fancy stuff for the gallery */
.gallery-item {
    position: relative;
    cursor: pointer;
    -webkit-transition: all .1s linear;
    transition: all .1s linear;
}

.gallery-item:focus {
    -webkit-transform: scale(.95);
    transform: scale(.95);
}

.gallery-item:before,
.gallery-item:after {
    position: absolute;
    -webkit-transition: all .25s linear;
    transition: all .25s linear;
    opacity: 0;
}

.gallery-item:hover:before,
.gallery-item:hover:after {
    opacity: 1;
}

.gallery-item:before {
    content: "";
    width: 100%;
    height: 120px;
    background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.75), rgba(255, 215, 0, 0));
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.75), rgba(255, 215, 0, 0));
}

.gallery-item:after {
    font-size: 13px;
    line-height: 1em;
    color: #fff;
    /*content: "\f058";*/
    content: attr(title);
    top: 15px;
    left: 15px;
}

.gallery-item:focus:after {
    color: #42A5FF;
}
