.rebox { cursor: pointer; position: absolute; width: 100%; top: 0; height: 100%; left: 0; right: 0; bottom: 0; z-index: 1000; -webkit-filter: none !important; background-color:#000; background-color:rgba(0,0,0,0.7); z-index: 200; } .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: 5%;left: 5%;text-align: center;width: 90%;/* height: 90%; */} .rebox-contents .rebox-content {border-radius: 1px;border:6px solid #fff;max-width: 40%;max-height: 80%;} .rebox-loading { width: 31px; height: 31px; margin: -16px 0 0 -16px; position: absolute; top: 48%; left: 50%; } .rebox-caption { display: none; position: absolute; left: 50%; top: 0; max-width:830px;width: 100%; text-align: center; z-index: 1000; margin-left:-286px; } .rebox-caption p {margin: 0 auto; text-align: left;width:590px; display: inline-block; *display: inline; *zoom: 1; padding: 10px; color: #000; font-size: 43px; line-height: 64px; } .rebox-button {position: absolute;font-weight: normal; z-index: 9999; min-width: 35px; height: 35px; line-height: 33px; border: 2px solid #D8D8D8;; text-decoration: none; font-size: 34px; color: #d8d8d8; 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; } .rebox-button:hover, .rebox-button:focus {color:#d8d8d8; opacity: 1; -webkit-transform: scale(1.4); -moz-transform: scale(1.4); -ms-transform: scale(1.4); transform: scale(1.4); } .rebox-close { right: 24px; top: 20px; border:none;width:35px;height:35px;background:url(../images/close-gray.png) no-repeat center center;font-size:0;color:#4a4a4a;} .rebox-next {right: 22px;top: 20%;border:none;font-size: 45px;} .rebox-prev {left: 22px;top: 20%;border:none;font-size: 45px;font-weight: normal;} .rebox-loading { left: 50%; top: 48%;font-weight: normal; -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; } @-ms-keyframes spin { from { -ms-transform: rotate(0deg); } to { -ms-transform: rotate(360deg); } } @-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); } }.rebox-caption span{display: block;color:#fff;font-size:20px;line-height: 27px;} @media screen and (min-width:1919px) { .rebox-contents{/* top:17.85%; */} }