	.clearfix{
    
/* !display: block; */ /*PicNic*/
    width: 100%;
    clear: both;
}
.gallery {
    
}

.tx-mbonquickgallery-pi1, .tx-mbonusergallery-pi1 {
    max-width: 100%;
    width: 100%;
}

.mbon_quickgallery_image{
    width: 140px !important;
    height: 140px;
    overflow: hidden;
    margin-left: 1% !important;
}

@media all and (max-width: 510px){
    .mbon_quickgallery_image{
        width: 32% !important;
        height: 100px;
    }
}

.mbon_quickgallery_image:nth-child(4n){

}

.gallery-actions-list-item{
    display: inline-block;
    vertical-align: middle;
    margin-right: 15px;
}

.gallery .votes-link a {
    background: url(images/votesRibbon.png);
    width: 34px;
    height: 33px;
    line-height: 33px;
    text-align: center;
    font-size: 11px;
    background-repeat: no-repeat;
    display: block;
    color: #E10000;
    text-decoration: none !important;
}

.gallery .votes-link a:hover,.gallery .votes-link .voted,.gallery .votes-link .clicked {
    background: url(images/votesRibbonhover.png);
    color: #fff;
    
}

.gallery-image img{
    max-width: 100%;
    height: auto;
    
}
.gallery .no-text{
    font-size: 0;
}
.gallery ul {
    padding: 0;
    margin: 0;
}

.gallery-actions .more {
    padding: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    float: right;
    background: transparent;
    border: 0;
    display: none; /*PicNic */
}

.gallery-actions .more .rounded-bar{
    width: 5px;
    height: 5px;
    background: #555;
    display: inline-block;
    margin-left: 3px;
    border-radius: 50%;
}

.gallery .gallery-actions-list, .gallery .gallery-actions-loader{
    display: inline-block;
    vertical-align: middle;
    
}

.gallery .gallery-actions {
    background: #fff;
    text-align: center;
    padding: 10px 15px;
}

.gallery .gallery-actions-list{
    padding: 10px 0px 15px 0;
    overflow: visible;
}


.gallery .gallery-actions-list{
    float: left;
}

.gallery .back-link a {
    background: url('images/back_link.png');
    background-repeat: no-repeat;
    background-position: center;
    width: 24px;
    height: 18px;
    display: block;
}

.gallery-body{
    background: #e6e6e6;
    width: 100%;
    
}

.gallery-body .gallery-image{
    float: left;
    width: 100%;
    margin-top: 5px;
    margin-bottom: 35px;
}

.gallery-text {
    margin-left: 15px;
    width: 100%;
    text-align: left;
}
.gallery-text .gallery-caption{
    padding: 0;
    margin: 0;
    margin-bottom: 10px;
    font-size: 17px;
    font-weight: 800;
    text-transform: lowercase;
}
.gallery-text .gallery-teaser {
    font-size: 14px;
    line-height: 20px;
}

.gallery-current-image{
    float: right;
}

.gallery-current-image .gallery-current-image-index {
    width: 35px;
    height: 35px;
    display: block;
    text-align: center;
    background: url(images/currentRibbon.png);
    color: #fff;
    font-size: 68%;
    line-height: 33px;
    font-family: 'Lato', "Helvetica Neue", Helvetica, Arial, sans-serif;
    margin: 5px 5px 0 0;
}

.gallery-actions-loader .gallery-loader-item{
    display: inline-block;
    vertical-align: middle;
    margin-right: 3px;
    margin-left: 3px;
}
.swiper-pagination {
    margin-top: -30px;
    height: 10px;
}
.ugallery .swiper-pagination {
    margin-top: -64px;
}
.swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet{
    margin: 0 2px;
}
.swiper-pagination .swiper-pagination-bullet{
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ddd;
    border-radius: 50%;
    vertical-align: middle;
    opacity: 1;
}

.swiper-pagination .swiper-pagination-bullet-active,.swiper-pagination .swiper-pagination-bullet:hover{
    background: #E10000;
}


.swiper-pagination .bullet-middle{
    width: 15px;
    height: 15px;
}
.swiper-pagination .bullet-2{
    width: 12px;
    height: 12px;
}

 .swipify {
    width: 100%;
    overflow: hidden;
    height: auto; 
    -webkit-transition: all .3s linear;
    -moz-transition: all .3s linear;
    transition: all .3s linear;
    padding-bottom: 15px;
    width: 500px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.swipper-wrapper {
    height: 300px;
}

.swiper-slide {
    text-align: center;
    font-size: 18px;
    background: #fff;
    /* Center slide text vertically */
    display: inline-block;
    max-width: 100%;
}
.swiper-pagination span {
    display: none;
}

.portrait .gallery-body .gallery-image{
    margin-bottom: 0;
}
.portrait .gallery-body .gallery-body-header{
    background: #e6e6e6;
    overflow: hidden;
    margin-bottom: -5px;
}
.portrait .gallery-image{
    text-align: center;
}
.portrait .gallery-image img{
    /* width: 320px; */
    margin-top: -40px;
}

.portrait .gallery-body{
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
}