/* ==========================================================================
   Preview Styles
   ========================================================================== */

html {
    margin-bottom: 78px;
}

.om-selectable:hover {
    -webkit-box-shadow: 0px 0px 3px 3px rgba(25,146,227,0.5) !important;
    -moz-box-shadow: 0px 0px 3px 3px rgba(25,146,227,0.5) !important;
    box-shadow: 0px 0px 3px 3px rgba(25,146,227,0.5) !important;
    cursor: pointer;
}

.om-editable:focus {
    outline: 0 none !important;
}

.optin-monster-image-placeholder {
    position: relative !important;
    background: transparent url(images/archie.png) no-repeat scroll 50% 50% !important;
    border: 1px dashed #dadada !important;
}

.optin-monster-image-placeholder-dims {
    position: absolute !important;
    display: block !important;
    top: 3px !important;
    left: 3px !important;
    color: #bbb !important;
    font-size: 12px !important;
}

.optin-monster-image-placeholder .om-media-modal {
    position: absolute !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
}

.optin-monster-image-preview {
    position: relative;
    z-index: 1000;
}

.optin-monster-image-preview .button {
    position: absolute !important;
    bottom: 6px !important;
    left: 6px !important;
    font-family: 'Open Sans';
    text-transform: none;
    -webkit-font-smoothing: subpixel-antialiased;
    -moz-osx-font-smoothing: auto;
    font-weight: normal;
    z-index: 6000;
}

.optin-monster-image-preview .om-button-remove {
    left: 67px !important;
}

.om-image-loading {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #fff url(images/preloader.gif) no-repeat scroll 50% 50%;
    opacity: .75;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=75)";
    filter: alpha(opacity=75);
    -moz-opacity: .75;
    -khtml-opacity: .75;
    top: 0;
    left: 0;
    z-index: 5000;
}

/* ==========================================================================
   Admin Preview Styles
   ========================================================================== */

.wp-admin #adminmenuback,
.wp-admin #adminmenuwrap,
.wp-admin #wpbody .update-nag,
.wp-admin #wpbody #update-nag,
.wp-admin #wpbody .updated,
.wp-admin #wpbody #message,
.wp-admin #wpfooter,
.wp-admin #wpbody .error {
    display: none;
}

.wp-admin #wpcontent {
    max-width: 800px;
    margin: 0 auto;
}

.wp-admin #optin-monster-ui {
    margin: 40px 0 0;
}

/* ==========================================================================
   Retina Styles
   ========================================================================== */

@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (   min--moz-device-pixel-ratio: 2),
only screen and (     -o-min-device-pixel-ratio: 2/1),
only screen and (        min-device-pixel-ratio: 2),
only screen and (                min-resolution: 192dpi),
only screen and (                min-resolution: 2dppx) {
    .optin-monster-image-placeholder {
        background-image: url(images/archie@2x.png) !important;
        background-size: 152px 147px !important;
    }

    .om-image-loading {
        background-image: url(images/preloader@2x.gif) !important;
        background-size: 16px 16px !important;
    }
}