.rebox { position: fixed; width: 100%; height: 100%; top: 0; left: 0; z-index: 1000; -webkit-filter: none !important;
    background: rgb(0, 0, 0); /* IE Fallback (Solid Colour) */
    background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAIElEQVQ4T2NkYGDYDMRkA8ZRAxhGw4BhNAyA+WAYpAMAIFgLQfO9BoEAAAAASUVORK5CYII=);
    background: rgba(151, 187, 96, 0.7); }
.rebox *{ -webkit-box-sizing: border-box; -moz-box-sizing: border-box; -ms-box-sizing: border-box; -o-box-sizing: border-box; box-sizing: border-box; padding: 0; margin: 0; }
.rebox-contents { position: absolute; top: 3%; left: 5%; text-align: center; width: 90%; height: 90%; }
.rebox-contents .rebox-content { cursor: pointer; /*border: 1px solid #e6e6e6; */outline: 5px solid white ; max-width: 100%; max-height: 100%; margin: auto; position: absolute; bottom: 0; top: 0; left: 0; right: 0;box-shadow: 9px 10px 9px -4px rgba(0,0,0,0.33); -webkit-box-shadow: 9px 10px 9px -4px rgba(0,0,0,0.33);-moz-box-shadow: 9px 10px 9px -4px rgba(0,0,0,0.33);  }
.rebox-loading { width: 31px; height: 31px; margin: -16px 0 0 -16px; position: absolute; top: 48%; left: 50%; }
.rebox-caption { display: none; position: absolute; left: 0; bottom: 0; width: 100%; height:50px; text-align: center; z-index: 1000; background: #fff; background: rgba(255,255,255,0.95); border: 1px solid #ccc;}
.rebox-caption p { margin: 0 auto; max-width: 90%; display: inline-block; *display: inline; *zoom: 1; padding: 10px; color: #333; font-size: 16px; line-height: 18px; }
.rebox-caption a { color: #e75c2b; font-size: 16px; font-weight:bold; text-decoration:none;}
.rebox-caption a:hover {/* text-decoration:underline;*/}
.rebox-button { position: absolute; z-index: 9999; min-width: 40px; height: 40px; background: rgb(255,255,255); opacity:1; 
    text-decoration: none; color: #308656; text-align: center; vertical-align: middle; border: 1px solid #ccc;
    -webkit-border-radius: 32px; -moz-border-radius: 32px; -ms-border-radius: 32px; border-radius: 32px;
    -webkit-transition: all 0.3s; -moz-transition: all 0.3s; -ms-transition: all 0.3s; transition: all 0.3s; }
.rebox-button:hover,
.rebox-button:focus { opacity: 1; background: rgb(255, 255, 255); -webkit-transform: scale(1.2); -moz-transform: scale(1.2); -ms-transform: scale(1.2); transform: scale(1.2); }
.rebox-close { right: 10px; top: 10px;font-size: 20px;line-height: 34px; }
.rebox-next { right: 5%; top: 48%;font-size: 28px;line-height: 37px; }
.rebox-prev { left: 5%; top: 48%;font-size: 28px;line-height: 37px; }
.rebox-next img, .rebox-prev img{width:25px;}
.rebox-loading { left: 50%; top: 48%;font-size: 18px;line-height: 34px;background-image:url("../../grafx/bv_logo-compress.svg");background-size:96%;
    -webkit-animation-name: spin; -webkit-animation-duration: 2000ms; -webkit-animation-iteration-count: infinite; -webkit-animation-timing-function: linear;
    -moz-animation-name: spin; -moz-animation-duration: 2000ms; -moz-animation-iteration-count: infinite; -moz-animation-timing-function: linear;
    -ms-animation-name: spin; -ms-animation-duration: 2000ms; -ms-animation-iteration-count: infinite; -ms-animation-timing-function: linear;    
    animation-name: spin; animation-duration: 2000ms; animation-iteration-count: infinite; animation-timing-function: linear;
}

@-moz-keyframes spin {
    from { -moz-transform: rotate(0deg); }
    to { -moz-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
    from { -webkit-transform: rotate(0deg); }
    to { -webkit-transform: rotate(360deg); }
}
@keyframes spin {
    from { transform:rotate(0deg); }
    to { transform:rotate(360deg); }
}
