.rebox { cursor: pointer; 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(0, 0, 0, 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 { left: 30%;position: absolute;top: 15%;}
.rebox-contents .rebox-content { aaborder: 5px solid #fff; border-radius: 1px; max-width: 100%; max-height: 100%; }
.rebox-loading { width: 31px; height: 31px; margin: -16px 0 0 -16px; aaposition: absolute; top: 48%; left: 50%; }
.rebox-caption { display: none; position: absolute; left: 0; bottom: 0; width: 100%; text-align: center; z-index: 1000; background: #000; background: rgba(0,0,0,0.7); }
.rebox-caption p { margin: 0 auto; max-width: 70%; display: inline-block; *display: inline; *zoom: 1; padding: 10px; color: #fff; font-size: 12px; line-height: 18px; }
/**  Customed for DocSpera **/
.LoadingSpinText{color: rgba(0, 0, 0, 0.75);display: inline-block;left: 47%;position: absolute;top: 60%;}
.LoadingSpin{display:inline-block;height:100px;width:100px;top:40% !important;left:51% !important;position:absolute;}
.LoadingBG{height:100px;width:100px;margin-top:20% !important;margin-left:45% !important;}
.rebox-button {z-index:100000;border-radius:28px !Important;height:35px;min-width:35px;line-height:32px;opacity:0.2;
 position: absolute; background: rgb(0, 0, 0);
    text-decoration: none; font-size: 24px; color: #fff; text-align: center; vertical-align: middle;
    -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;
    -webkit-transform: scale(1); -moz-transform: scale(1); -ms-transform: scale(1); transform: scale(1);}
.rebox-button:hover,
.rebox-button:focus { opacity: 1; -webkit-transform: scale(1.3); -moz-transform: scale(1.3); -ms-transform: scale(1.3); transform: scale(1.3); text-decoration:none;}
.rebox-close { right: 10px; top: 10px; }
.rebox-next { right: 10px; top: 48%; }
.rebox-prev { left: 10px; top: 48%; }
aa.rebox-loading { left: 50%; top: 48%;
    -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;
}
.ZIPLink,.DOCLink,.PPTLink,.XLSLink,.TXTLink,.RTFLink,.PDFLink{
    text-align:     center;
    width:          100%;
    margin:         150px 0 0;
    left:           0;
    position:       absolute;
    top:            7%;
    color:          rgba(0,0,0,0.6);
    z-index:        999999 !important;
}
.PDFLink:hover,.DOCLink:hover,.PPTLink:hover,.XLSLink:hover,.TXTLink:hover,.RTFLink:hover{
    cursor:pointer;
}
.DICOMLink, .DICOMZIPLink{
    display:        inline-block;
    left:           37%;
    margin:         150px 0 0;
    position:       absolute;
    top:            7%;
    color:          rgba(0,0,0,0.6);
    z-index:        999999 !important;
}
.DICOMLink:hover,.DICOMZIPLink:hover{
    cursor:pointer;
}
.DocSperaRemove{
    border-radius:  26px !Important;
    height:         28px !important;
    min-width:      28px !important;
    line-height:    25px !Important;
    opacity:        0.5 !Important;
    right:          15px;
    top:            15px;
}
 .PreviewReboxLightBox{
   background-clip:     padding-box;
     background-color:  #fff;
     border:            1px solid rgba(0, 0, 0, 0.3);
     border-radius:     6px;
     box-shadow:        0 3px 7px rgba(0, 0, 0, 0.3);
     margin-left:       -280px;
     outline:           0 none;
     position:          fixed;
     top:               10%;
     width:             560px;
     z-index:           9998;
     left:              40% !important;
     border-radius:     15px !important;
     width:             884px !important;
     display:           none;
     overflow:          hidden;
 }
 .LightBoxLoading{
     position:          fixed;
     left:              0;
     top:               0;
     bottom:            0;
     right:             0;
     width:             100%;
     height:            100%;
     background:        rgba(0,0,0,0.5);
     display:           none;
     z-index:           9997;
 }

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