html.remodal-is-locked {
    overflow: hidden;
}

.remodal,
[data-remodal-id] {
    visibility: hidden;
}

.remodal-overlay {
    position: fixed;
    z-index: 9999;
    top: -5000px;
    right: -5000px;
    bottom: -5000px;
    left: -5000px;
    display: none;
}

.remodal-wrapper {
    position: fixed;
    z-index: 10000;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    overflow: auto;
    text-align: center;
    -webkit-overflow-scrolling: touch;
}

.remodal-wrapper:after {
    display: inline-block;
    height: 100%;
    margin-left: -0.05em;
    content: "";
}

.remodal-overlay,
.remodal-wrapper {
    -webkit-transform: translateZ(0px);
}

.remodal {
    position: relative;
    display: inline-block;
}

.remodal-bg {
    -webkit-transition: -webkit-filter 0.2s ease-out;
    -moz-transition: -moz-filter 0.2s ease-out;
    -o-transition: -o-filter 0.2s ease-out;
    transition: filter 0.2s ease-out;
}

body.remodal-is-active .remodal-bg {
    -webkit-filter: blur(3px);
    -ms-filter: blur(3px);
    filter: blur(3px);
    -moz-filter: blur(3px);
    -o-filter: blur(3px);
}

.remodal-overlay {
    -webkit-transition: opacity 0.2s ease-out;
    -moz-transition: opacity 0.2s ease-out;
    -o-transition: opacity 0.2s ease-out;
    transition: opacity 0.2s ease-out;
    opacity: 0;
    background: rgba(187, 187, 187, 0.6);
}

body.remodal-is-active .remodal-overlay {
    opacity: 1;
}

.remodal {
    width: 96%;
    min-height: 100%;
    -webkit-transition: -webkit-transform 0.2s ease-out, opacity 0.2s ease-out;
    -moz-transition: -moz-transform 0.2s ease-out, opacity 0.2s ease-out;
    -o-transition: -o-transform 0.2s ease-out, opacity 0.2s ease-out;
    transition: transform 0.2s ease-out, opacity 0.2s ease-out;
    -webkit-transform: scale(0.95);
    -moz-transform: scale(0.95);
    -ms-transform: scale(0.95);
    -o-transform: scale(0.95);
    transform: scale(0.95);
    opacity: 0;
    background: #fff;
    background-clip: padding-box;
    overflow: hidden;
    border-radius: 10px;
    margin: 2%;
}

body.remodal-is-active .remodal {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
    opacity: 1;
}

.remodal,
.remodal-wrapper:after {
    vertical-align: middle;
}

.remodal-close {
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 30px;
    -webkit-transition: background 0.2s ease-out;
    -moz-transition: background 0.2s ease-out;
    -o-transition: background 0.2s ease-out;
    transition: background 0.2s ease-out;
    text-decoration: none;
    -webkit-border-radius: 50%;
    border-radius: 0 10px 0 10px;
}

.blue .remodal-close {
    background: url(../img/remodal-close.png) #198fcf;
    background-size: 100%;
}

.blue .remodal-close:hover {
    background: url(../img/remodal-close.png) #4396ba;
    background-size: 100%;
}

.orange .remodal-close {
    background: url(../img/remodal-close.png) #ea746e;
    background-size: 100%;
}

.orange .remodal-close:hover {
    background: url(../img/remodal-close.png) #d98714;
    background-size: 100%;
}

.remodal-close:hover.remodal-close:after,
.remodal-close:active.remodal-close:after {
    color: #fff;
}

@media only screen and (min-width: 801px) {
    .remodal {
        max-width: 1000px;
        min-height: 0;
        margin: 60px auto;
        border-radius: 10px;
    }
}


