.white-background-gallery {
    background-color: #ffffff;
}

.white-background-gallery h1, .white-background-gallery h2, .white-background-gallery h3,
.white-background-gallery h4, .white-background-gallery h5 {
    padding-left: 15px;
    padding-right: 15px;
}

.white-background-gallery {
    padding-top: 15px;
    margin-bottom: 0px;
}

.tx-mbonquickgallery-pi1, .tx-mbonusergallery-pi1 {
    float: left;
    margin-bottom: 0px;
    margin-top:10px;
}

.mbon_quickgallery_image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mbon_usergallery_listing_element:nth-child(even) .mbon_usergallery_listing_element_rating, .mbon_usergallery_listing_element:nth-child(even) .mbon_usergallery_listing_element_vote {
    clear: both;
    float: left;
    margin-left: 0px;
}

.mbon_usergallery_nav {
    clear: both;
    text-align: center;
    padding: 20px 0;
}

.mbon_quickgallery_image {
    float: left;
    margin-right: 0;
    margin-left: 0;
    padding-left: 0px;
    padding-right: 0px;
    margin-bottom: 4px;
    width: 100%;
}

.mbon_quickgallery_image a.def-fancybox, .mbon_usergallery_listing_element_image {
    width: 100%;
    float: left;
    height: 200px;
}

.tx-mbonquickgallery-pi1 .part-image:nth-child(4n), .mbon_usergallery_listing .mbon_usergallery_listing_element:nth-child(4n) {
    
/* !padding-right:0; */
}


.mbon_usergallery_listing .mbon_usergallery_listing_element_image {
    padding:0;
}

.mbon_usergallery_listing .mbon_usergallery_listing_element {
    width:41%;
    margin-bottom: 4px;
    padding-right: 4px;
    height:auto;
}

.mbon_usergallery_listing {
    width:100%;
    float: left;
}

.simplePollRow{
    background-color: #fff; 
    padding-bottom: 10px;
}

.simplePollWrap-mbon{
    width: 700px;
    position: relative;
    background: #fff;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.simplePollWrap-mbon h3{
    /* font-size: 17px; */
    font-weight: bold;
    
}

.simplePollWrap-mbon .header{
    padding: 15px 20px;
}

.simplePollWrap-mbon p{
    /* font-size: 13px; */
    margin-top: 5px;
}

.simplePollWrap-mbon img{
    max-width: 100%;
    height: auto;
}


.simplePollWrap-mbon .vote-submit{
    position: fixed;
    bottom: 0;
    width: 100%;
    right: 0;
    left: 0;
    background: #fff;
    display: none;
    float: left;
}
.vote-teaser-submit{
    display: block;
    width: 100%;
    clear: left;
    display: none;
}
.vote-teaser-submit input{
    float: right;
    background: #E10000;
    color: #fff;
    font-size: 16px;
    padding: 8px 20px;
    border-radius: 5px;
    font-weight: bold;
    border: 0;
}
.simplePollWrap-mbon .checkbox-answer{
    float: left;
}
.simplePollWrap-mbon .checkbox-answer input{
    display: none;
}

.simplePollWrap-mbon .checkbox-answer label:before{
    width: 34px;
    height: 33px;
    background: url('../Images/votesRibbon.png');
    background-repeat: no-repeat;
    background-position: center;
    display: inline-block;
    vertical-align: middle;
    content: '';
    margin-right: 10px;
}

.simplePollWrap-mbon .checkbox-answer input:checked + label:before{
    background: url('../Images/votesRibbonhover.png');
}
.simplePollRow-mbon{
    background: #fff;
    display: inline-block;
    width: 48%;
    vertical-align: top;
    margin: 5px;
}

.mbon_quickgallery_image {
    float: left!important;
    width: 140px!important;
    clear: none!important;
    height: 140px;
    padding: 0;
}

@media all and (max-width: 580px){
    .simplePollRow-mbon{
        width: 100%;
    }
}

.simplePollRow-mbon li{
    padding: 0;
    margin: 0;
    list-style: none;
}

.simplePollRow-mbon .vote-teaser{
    margin-top: 5px;
    margin-left: 5px;
    overflow: hidden;
    margin-right: 10px;
    padding-bottom: 10px;
}

.simplePollWrap-mbon ul {
    padding: 0;
    margin: 0;
    
}
.simplePollWrap-mbon  .more {
    padding: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    float: right;
    background: transparent;
    border: 0;
    display: none;
}

.simplePollWrap-mbon  .more .rounded-bar {
    width: 5px;
    height: 5px;
    background: #555;
    display: inline-block;
    margin-left: 3px;
    border-radius: 50%;
}

@media screen and (max-width: 991px) {
    .mbon_quickgallery_image a.def-fancybox, .mbon_usergallery_listing_element_image {
        height:150px;
    }
    .mbon_quickgallery_image {
        height: 140px;
    }
}

@media screen and (max-width: 767px) {

    .tx-mbonquickgallery-pi1 .part-image:nth-child(4n), .mbon_usergallery_listing .mbon_usergallery_listing_element:nth-child(4n) {
        padding-right:0px;
    }

    .tx-mbonquickgallery-pi1 .part-image:nth-child(3n), .mbon_usergallery_listing .mbon_usergallery_listing_element:nth-child(3n) {
        padding-right:0px;
    }

    .mbon_usergallery_listing .mbon_usergallery_listing_element {
        width: 33.33333%;
    }

    
}

@media screen and (max-width: 575px) {
    .mbon_quickgallery_image a.def-fancybox, .mbon_usergallery_listing_element_image {
        height:300px;
    }

    .mbon_quickgallery_image {
        padding-right: 0px;
    }

    .mbon_usergallery_listing .mbon_usergallery_listing_element {
        width: 100%;
    }
    
    .mbon_quickgallery_image {
        height: 86px;
    }
}

@media (max-width: 510px) {
.mbon_quickgallery_image {
    width: 32% !important;
    height: 100px;
}
}