
.optin-popup {position: relative; padding: 0; background-color: #d5d5d5; border: 1px solid #ccc; width: auto; max-width: 650px; margin: 1em auto;}
.mfp-bg {top: 0; left: 0; width: 100%; height: 100%; z-index: 1042; overflow: hidden; position: fixed; background-color: #000;  opacity: 0.8; filter: alpha(opacity=80); }
.mfp-wrap {top: 0; left: 0; width: 100%; height: 100%; z-index: 1043; position: fixed; outline: none !important; -webkit-backface-visibility: hidden; }
.mfp-container {text-align: center; position: absolute; width: 100%; height: 100%; left: 0; top: 0; padding: 0 8px; -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;  box-sizing: border-box; }
.mfp-container:before {content: ''; display: inline-block; height: 100%; vertical-align: middle; }
.mfp-align-top .mfp-container:before {display: none; }

.mfp-content {position: relative; display: inline-block; vertical-align: middle; margin: 0 auto; text-align: left; z-index: 1045; }

.mfp-inline-holder .mfp-content, .mfp-ajax-holder .mfp-content {width: 100%; cursor: auto; }
.mfp-ajax-cur {cursor: progress; }

.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {cursor: -moz-zoom-out; cursor: -webkit-zoom-out; cursor: zoom-out; }
.mfp-zoom { cursor: pointer; cursor: -webkit-zoom-in; cursor: -moz-zoom-in; cursor: zoom-in; }
.mfp-auto-cursor .mfp-content { cursor: auto; }
.mfp-close, .mfp-preloader, .mfp-counter { -webkit-user-select: none; -moz-user-select: none; user-select: none; }
.mfp-loading.mfp-figure { display: none; }
.mfp-hide { display: none !important; }

.mfp-preloader {color: #cccccc; position: absolute; top: 50%; width: auto; text-align: center; margin-top: -0.8em; left: 8px; right: 8px; z-index: 1044; }
.mfp-preloader a {color: #cccccc; }
.mfp-preloader a:hover {color: white; }
.mfp-s-ready .mfp-preloader {display: none; }
.mfp-s-error .mfp-content { display: none; }
button.mfp-close {overflow: visible; cursor: pointer; background: transparent; border: 0; -webkit-appearance: none; display: block;
  padding: 0; z-index: 1046; }
button::-moz-focus-inner {padding: 0; border: 0; }

.mfp-close {width: 2em; height: 2em; line-height: 2em; position: absolute; right: 0; top: 0; text-decoration: none; text-align: center;
  opacity: 1; font: bold 1em arial; display: block; }
  
.mfp-close:hover, .mfp-close:focus { opacity:  0.65; }


.mfp-close-btn-in .mfp-close {color: #fff; }

	
@media all and (max-width: 900px) {
  .mfp-container { padding-left: 6px; padding-right: 6px; } 
}
  
.mfp-ie7 .mfp-img {padding: 0; }
.mfp-ie7 .mfp-bottom-bar {width: 600px; left: 50%; margin-left: -300px; margin-top: 5px; padding-bottom: 5px; }
.mfp-ie7 .mfp-container {padding: 0; }
.mfp-ie7 .mfp-content {padding-top: 44px; }
.mfp-ie7 .mfp-close {top: 0; right: 0; padding-top: 0; }
