.mp-photo-gallery-modal {
    width: 300px;
}
.mbs-hidden {
    display: none !important;
}

.mbs-photo-gallery-container .mbs-one-gg-image,
.mbs-gg-img-list .mbs-one-gg-image {
    width: 130px;
    height: 130px;
    margin: 1% 1%;
    background: #eee;
    vertical-align: middle;
    display: inline-table;
    position: relative;

    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
}

.mbs-photo-gallery-container .mbs-one-gg-image.selected:before,
.mbs-gg-img-list .mbs-one-gg-image.selected:before {
    content: '';
    position: absolute;
    background: rgba(0,0,0,0.5);
    width: 100%;
    height: 100%;
    display: block;
    z-index: 100;
}
.mbs-photo-gallery-container .mbs-preview,
.mbs-gg-img-list .mbs-preview {
    width: 130px;
    height: 130px;
    vertical-align: middle;
    text-align: center;
    display: table-cell;
    position: relative;
}
.mbs-photo-gallery-container .mbs-one-gg-image img,
.mbs-gg-img-list .mbs-one-gg-image img {
    max-width: 100%;
    max-height: 100%;
    height: auto;
    vertical-align: middle;
}
.mbs-gg-img-list .mbs-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}
.mbs-progress-bar .ui.progress {
    margin: 0;
}
.mbs-progress-bar .bar{
    width: 1%;
    transition-duration: 300ms;
}
.mbs-one-gg-image {
    display: inline-block;
}
.mbs-photo-gallery-container .close {
    position: absolute;
    right: 5px;
    top: 7px;
    cursor: pointer;
    margin: 0;
    width: 10px;
    height: 10px;
    line-height: 13px;
}
.mbs-photo-gallery-container .close:before {
    display: inline-block !important;
    vertical-align: middle !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 10px !important;
    height: 10px !important;
    line-height: 3px !important;
    font-size: 1em !important;
}

@-webkit-keyframes mbs-cross-rotating-frame {
    from {
        -webkit-transform: rotate(0deg);
             -o-transform: rotate(0deg);
                transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
             -o-transform: rotate(360deg);
                transform: rotate(360deg);
    }
}
@keyframes mbs-cross-rotating-frame {
    from {
        -webkit-transform: rotate(0deg);
           -moz-transform: rotate(0deg);
            -ms-transform: rotate(0deg);
             -o-transform: rotate(0deg);
                transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(360deg);
           -moz-transform: rotate(360deg);
            -ms-transform: rotate(360deg);
             -o-transform: rotate(360deg);
                transform: rotate(360deg);
    }
}
.mbs-cross-rotating {
    -webkit-animation: mbs-cross-rotating-frame 2s linear infinite;
       -moz-animation: mbs-cross-rotating-frame 2s linear infinite;
        -ms-animation: mbs-cross-rotating-frame 2s linear infinite;
         -o-animation: mbs-cross-rotating-frame 2s linear infinite;
            animation: mbs-cross-rotating-frame 2s linear infinite;

    cursor: auto !important;
}

