.row.gallery{
    background-color: transparent;
    min-height: 120px;
    padding-top: 5px;
    border-top: 1px solid #f0f0f0;
}

.row.gallery > .row-content{
    width: 100%;
    max-width: none;
}

.gallery{
    list-style: none;
    width: 100%;
    outline: 0px solid #ccc;
    min-height: 120px;
    height: auto;
    position: relative;
    background-color: transparent;
    margin-bottom: 0;
}

.gallery .gallery-info{
    padding-top: 32px;
    padding-bottom: 16px;
}

.gallery:before,
.gallery:after {
    content: "";
    display: table;
}

.gallery:after{
    clear: both;
}
/*
.gallery li{
    list-style: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    float: left;
    margin-bottom: 5px;
    position: relative;
}*/

.gallery .item img {
    /*max-width: 100%;*/
    max-height: 100%;
    vertical-align: bottom;
    transition: transform 0.15s ease 0s;


}
.gallery .item .zoom{
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-color: rgba(33, 150, 243, 0.5);
    z-index: 1;
    -webkit-transition: opacity 0.3s ease 0s;
    -moz-transition: opacity 0.3s ease 0s;
    -ms-transition: opacity 0.3s ease 0s;
    -o-transition: opacity 0.3s ease 0s;
    transition: opacity 0.3s ease 0s;
}

.gallery .item .zoom small{
    color: #fff;
    width: 100%;
    position: relative;
    bottom: 0;
    font-size: 8pt;
    margin-top: 100%;
    display: inline-block;
    pointer-events: none;
    text-transform: uppercase;
    text-align: center;
    -moz-osx-font-smoothing: subpixel-antialiased;
    -webkit-font-smoothing: subpixel-antialiased;
    display: none;
}

.gallery .item .zoom svg{

    width: 18px;
    height: 18px;
    -webkit-transform: translate(50%,50%);
    -moz-transform: translate(50%,50%);
    -ms-transform: translate(50%,50%);
    -o-transform: translate(50%,50%);
    transform: translate(-50%,-50%);
    opacity: 1;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transition: all 0.6s ease 0s;
    -moz-transition: all 0.6s ease 0s;
    -ms-transition: all 0.6s ease 0s;
    -o-transition: all 0.6s ease 0s;
    transition: all 0.6s ease 0s;
}

.gallery .item:hover img{
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    -moz-transform: scale3d(1.1, 1.1, 1.1);
    -ms-transform: scale3d(1.1, 1.1, 1.1);
    -o-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1);
}

.gallery .item:hover .zoom{
    opacity: 1;
}

.gallery .item:hover .zoom svg{
    width: 36px;
    height: 36px;
}


/*.gallery .first-item {
    clear: both;
}*/

/* remove margin bottom on last row */
.last-gallery-row,
.last-gallery-row ~ .item {
    /*margin-bottom: 0!important;*/
}

.lg-pager-cont.lg-pager-active .lg-pager{
    background-color: #c00;
}

/*
# INSTAGRAM
 */

.row.instagram-gallery {
    height: 136px;
    border-top: 0px solid #fff;
    background-color: #fff;
    border-bottom: 0px solid #fff;
    box-sizing: border-box;
}

.row.instagram-gallery h3{
    display: none;
}

.main-carousel, .main-carousel *{
    box-sizing: border-box;
}

.main-carousel{
    width: 100%;
    height: 120px;
    display: block;
    /*overflow: hidden;*/
    white-space: nowrap;
    background-color: #f0f0f0;
}

.carousel-cell{
    display: inline-block;
    min-width: 40px;
    height: 120px;
    width: auto;
    background-color: #fff;
    position: relative;
    overflow: hidden;
}

/*.item.carousel-cell{
    min-width: 0;
}*/

.carousel-cell-image{
    transition: opacity 0.2s;
    opacity: 1;
    display: inline-block;
    margin-left: 4px;
    margin-right: 4px;
    background-color: #fff;
    width: auto;
    height: 120px;
    position: relative;
}


.carousel-cell-image.flickity-lazyloaded,
.carousel-cell-image.flickity-lazyerror {
    opacity: 1;
}

.gallery .item img{
    display: block;
    position: relative;
}

/* position dots up a bit */
.flickity-page-dots {
    top: -22px;
    display: none!important;
}
/* dots are lines */
.flickity-page-dots .dot {
    height: 4px!important;
    width: 40px!important;
    margin: 0!important;
    border-radius: 0!important;
}


.lg-backdrop.in{
    /*background-color: rgba(0,0,0,0.8);*/
}