﻿/*
 * mrs2000box
 */

.m2b-shadow {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #000;
    opacity: 0.5;
    top: 0;
    left: 0;
    z-index: 10000;
}

.m2b-shadow2 {
    position: fixed;
    top: 4%;
    left: 3%;
    z-index: 10001;
    width: 94%;
    height: 92%;
    background: #000;
    opacity: 0.5;
    border-radius: 3px;
}

.m2b-frame {
    position: fixed;
    top: 4%;
    left: 3%;
    z-index: 10001;
    width: 94%;
    height: 92%;
    border: 1px solid #666;
    box-sizing: border-box;
    min-width: 100px;
    min-height: 100px;
    border-radius: 3px;
}

.m2b-image {
    position: relative;
    z-index: 10002;
}

.m2b-error {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -50px 0 0 -50px;
    width: 100px;
    height: 100px;
    z-index: 10002;
    border-radius: 3px;
    background: url(/img/mrs2000box/mrs2000box-error.png) no-repeat;
}

.m2b-left, .m2b-right {
    top: 0;
    position: absolute;
    opacity: 0.5;
    width: 50%;
    height: 100%;
    cursor: pointer;
    z-index: 10003;
}

.m2b-left {
    left: 0;
    background: url(/img/mrs2000box/mrs2000box-prev.png) no-repeat 5% 50%;
}

.m2b-right {
    right: 0;
    background: url(/img/mrs2000box/mrs2000box-next.png) no-repeat 95% 50%;
}

.m2b-left:hover, .m2b-right:hover {
    opacity: 1;
}

.m2b-btn-close {
    background: url(/img/mrs2000box/mrs2000box-close.png) no-repeat;
    width: 24px;
    height: 24px;
    cursor: pointer;
    position: absolute;
    top: -10px;
    right: -10px;
    z-index: 10004;
    opacity: 0.8;
}
.m2b-btn-close:hover {
    opacity: 1;
}

.m2b-title {
    background: #eee;
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 10004;
    display: none;
    font-size: 14px;
    font-family: sans-serif;
    text-align: center;
    padding: 5px 10px;
    font-weight: normal;
    font-style: normal;
    box-sizing: border-box;
    border-radius:  0 0 3px 3px;
}

/* Spinner */
.m2b-spinner {
    width: 60px;
    height: 60px;
    position: absolute;
    left: 50%;
    top: 50%;
    margin: -30px -30px;
}

.m2b-double-bounce1, .m2b-double-bounce2 {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: #fff;
    opacity: 0.9;
    position: absolute;
    top: 0;
    left: 0;

    -webkit-animation: m2b-sk-bounce 2.0s infinite ease-in-out;
    animation: m2b-sk-bounce 2.0s infinite ease-in-out;
}

.m2b-double-bounce2 {
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
}

@-webkit-keyframes m2b-sk-bounce {
    0%, 100% {
        -webkit-transform: scale(0.0)
    }
    50% {
        -webkit-transform: scale(1.0)
    }
}

@keyframes m2b-sk-bounce {
    0%, 100% {
        transform: scale(0.0);
        -webkit-transform: scale(0.0);
    }
    50% {
        transform: scale(1.0);
        -webkit-transform: scale(1.0);
    }
}

