.gallery-flexslider-slider .flex-nav-prev a {
    position: absolute;
    background: url(/wp-content/themes/inhabitatresponsive/images/sprites-redesign.png) no-repeat -74px -123px;
    width: 60px;
    height: 60px;
    left: 0;
    top: calc(50% - 60px);
}

.gallery-flexslider-slider .flex-nav-next a {
    position: absolute;
    background: url(/wp-content/themes/inhabitatresponsive/images/sprites-redesign.png) no-repeat -5px -123px;
    width: 60px;
    height: 60px;
    right: 0;
    top: calc(50% - 60px);
}

.gallery-flexslider-carousel .flex-nav-prev a {
    position: absolute;
    background: url(/wp-content/themes/inhabitatresponsive/images/sprites-redesign.png) no-repeat -46px -76px;
    width: 38px;
    height: 38px;
    left: 0;
    margin-top: -15px;
    background-size: 397px 248px;
}

.gallery-flexslider-carousel .flex-nav-next a {
    position: absolute;
    background: url(/wp-content/themes/inhabitatresponsive/images/sprites-redesign.png) no-repeat -2px -76px;
    width: 38px;
    height: 38px;
    right: 0;
    margin-top: -15px;
    background-size: 397px 248px;
}

.gallery-flexslider-slider ul.slides li img {
    margin-left: auto;
    margin-right: auto;
    max-height: 1400px;
    width: 100%;
}

.gallery-flexslider-carousel ul.slides li.flex-active-slide, .gallery-flexslider-carousel ul.slides li:hover {
    width: 110px!important;
}

.gallery-flexslider-carousel {
    position: relative;
    margin-top: 5px;
}

.gallery-container {
    position: relative;
    background-color: #4a4a4a;
}

.gallery-flexslider-slider {
    overflow: hidden;
    max-height: 1400px;
    min-height: 300px;
}

.gallery-flexslider-carousel ul.slides li img {
    width: 80px;
    height: 80px;
    margin: 10px 10px 10px 0;
}

.gallery-flexslider-carousel ul.slides li img:hover, .gallery-flexslider-carousel ul.slides li.flex-active-slide img {
    width: 100px!important;
    height: 100px!important;
    margin: 0;
}

.flex-control-nav, .flex-direction-nav, .slides {
    margin: 0;
    padding: 0;
    list-style: none;
}

.flex-control-nav {
    width: 100%;
    position: absolute;
    bottom: -40px;
    text-align: center;
}

.flex-control-nav, .flex-direction-nav {
    margin: 0;
    padding: 0;
    list-style: none;
}

.attachment img {
    max-width: 900px;
}

.gallery-tags-container span {
    font-size: 14px;
    display: table-cell;
}

.gallery-tags-heading {
    font-weight: 700;
}

.gallery-tags-container a {
    display: inline;
}

@media screen and (max-width: 727px) {
    .gallery-flexslider-slider ul.slides li img {
        margin-top: 38.5px !important;
        max-height: 100%;
        min-height: 1px;
    }
}

@media screen and (max-width: 522px) {
    .social-btn.gallery-start-slideshow.responsive {
        width: auto;
        padding-top: 0;
        padding-left: 0;
        position: absolute;
        z-index: 999;
        height: 35px;
    }
}