/* ==========================================================================
   Remodal's necessary styles
   ========================================================================== */

/* Hide scroll bar */

html.remodal-is-locked {
  overflow: hidden;

  touch-action: none;
}

/* Anti FOUC */

.remodal,
[data-remodal-id] {
  display: none;
}

/* Necessary styles of the overlay */

.remodal-overlay {
  position: fixed;
  z-index: 9999;
  top: -5000px;
  right: -5000px;
  bottom: -5000px;
  left: -5000px;
  background-color:#000000;
   filter:alpha(opacity=60);
  -moz-opacity: 0.6;
  opacity: 0.6;
  display: none;
}

/* Necessary styles of the wrapper */

.remodal-wrapper {
  position: fixed;
  z-index: 99999999;
top:50%;
left:50%;
height:441px;
width:784px;
margin-top:-225px;
margin-left:-398px;
display: none;
overflow: visible;
text-align: center;
-webkit-overflow-scrolling: touch;
}

.remodal-wrapper2 {
  position: fixed;
  z-index: 99999999;
top:-50%;
left:0;
right:0;
bottom:0;
height:auto;
width:auto;
padding:30px;
background-color:none;
display: none;
overflow: visible;
text-align: center;
-webkit-overflow-scrolling: touch;
}
.remodal-wrapper:after {
  display: inline-block;
  height: 100%;
  margin-left: 0;
  content: "";
}

/* Fix iPad, iPhone glitches */

.remodal-overlay,
.remodal-wrapper {
  backface-visibility: hidden;
}

/* Necessary styles of the modal dialog */

.remodal {
  position: relative;
  outline: none;
  text-size-adjust: 100%;
}

.remodal-is-initialized {
  /* Disable Anti-FOUC */
  display: inline-block;
}

.remodal-close { margin:0; color:#fff; position:absolute; top:-25px; right:0; margin:0 0 5px 0; }
