
/* ==========================================================================
   Remodal necessary styles
   ========================================================================== */

/* Hide scroll bar */

html.remodal_lock,
body.remodal_lock {
    overflow: hidden;
}

/* Anti FOUC */

.remodal,
[data-remodal-id] {
    visibility: hidden;
}

/* Overlay necessary styles */

.remodal-overlay {
    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-overlay:after {
    display: inline-block;

    height: 100%;
    margin-left: -0.05em;

    content: "";
}

/* Fix iPad, iPhone glitches */

.remodal-overlay {
    -webkit-backface-visibility: hidden;
}

/* Modal dialog necessary styles */

.remodal {
    position: relative;
	text-align:left;
    display: inline-block;
}

/* Remodal anti-zoom. Font-size should be >= 16px. */

.remodal select,
.remodal textarea,
.remodal input,
.remodal select:focus,
.remodal textarea:focus,
.remodal input:focus {
    font-size: 16px;
}

/* ==========================================================================
   Remodal default theme
   ========================================================================== */

/* Default theme font */

.remodal,
.remodal * {
    
}

/* Background for effects */

.remodal-bg {
    -webkit-transition: -webkit-filter 0.2s linear;
    -moz-transition: -moz-filter 0.2s linear;
    -o-transition: -o-filter 0.2s linear;
    transition: filter 0.2s linear;
}

body.remodal_active .remodal-bg {
    -webkit-filter: blur(3px);
    -ms-filter: blur(3px);
    filter: blur(3px);
    -moz-filter: blur(3px);
    -o-filter: blur(3px);
}

/* Overlay default theme styles */

.remodal-overlay {
    -webkit-transition: opacity 0.2s linear;
    -moz-transition: opacity 0.2s linear;
    -o-transition: opacity 0.2s linear;
    transition: opacity 0.2s linear;

    opacity: 0;
    background: rgba(0, 0, 0, 0.55);
}

body.remodal_active .remodal-overlay {
    opacity: 1;
}

/* Modal dialog default theme styles */

.remodal {
    font-size: 16px;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    min-height: 100%;
    padding: 35px 25px 35px 45px;

    -webkit-transition: -webkit-transform 0.2s linear;
    -moz-transition: -moz-transform 0.2s linear;
    -o-transition: -o-transform 0.2s linear;
    transition: transform 0.2s linear;
    -webkit-transform: scale(0.95);
    -moz-transform: scale(0.95);
    -ms-transform: scale(0.95);
    -o-transform: scale(0.95);
    transform: scale(0.95);

    color: #182a3c;
    background: #f9f9f9;
    background-clip: padding-box;
    -webkit-box-shadow: 0 0 8px #171a24;
    box-shadow: 0 0 8px #171a24;
}

.remodal .row{float:left; width:100%; clear:both; padding:10px 0;}
.remodal .col{float:left; width:50%;}
.remodal label{display:block; font-size:14px;}
.remodal input[type=text]{width:176px; height:35px; padding:0 8px; border:1px solid #e1e1e1; font-family:'latoregular'; font-size:14px; box-shadow:inset 1px 1px 5px rgba(0,0,0,0.1); color:#575757;}
.remodal textarea, .remodal textarea{width:391px; height:80px; padding:8px; border:1px solid #e1e1e1; font-family:'latoregular'; font-size:14px; box-shadow:inset 1px 1px 5px rgba(0,0,0,0.1); color:#575757;}
.remodal input[type=submit]{width:130px; height:50px; background:#be0f21; color:#fff; margin-right:20px; font-size:18px; border:1px solid #a40011; cursor:pointer;}
.remodal input[type=submit]:hover{background:#e40017;}
.remodal input[type=submit]:active{box-shadow:inset 1px 1px 10px rgba(0,0,0,0.3);}
.remodal h1{padding-top:5px;}
.remodal .error{color:#be0f21;}
.remodal .row img{margin-left:15px; width:18% !important; height:18% !important;}

#message{text-align:center; margin:100px 0;}
#message h1, #message p{margin-left:-20px;}
#loading{float:right;}
#loading img{width:auto !important; height:auto !important; margin:20px -15px 0 0;}

body.remodal_active .remodal {
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1);
}

/* Modal dialog vertical align  */

.remodal,
.remodal-overlay:after {
    vertical-align: middle;
}

/* Close button */

.remodal-close {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 28px;
    height: 28px;
    -webkit-transition: background 0.2s linear;
    -moz-transition: background 0.2s linear;
    -o-transition: background 0.2s linear;
    transition: background 0.2s linear;
    text-decoration: none;
	text-align:center;
}

.remodal-close:after {
    font-family: Arial, "Helvetica CY", "Nimbus Sans L", sans-serif !important;
    font-size: 28px;
    line-height: 28px;
    display: block;
    content: "×";
    cursor: pointer;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
    text-decoration: none;
    color: #a4a4a4;
}

.remodal-close:hover,
.remodal-close:active {
    background: #be0f21;
}

.remodal-close:hover.remodal-close:after,
.remodal-close:active.remodal-close:after {
    color: #fff;
}

/* Dialog buttons */

.remodal-confirm,
.remodal-cancel {
    font-size: 10pt;

    display: inline-block;

    width: 120px;
    margin: 0 0 5px 0;
    padding: 9px 0;

    cursor: pointer;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
    text-align: center;
    text-decoration: none;

    -webkit-border-radius: 50px;
    border-radius: 50px;
    background-clip: padding-box;
}

.remodal-confirm {
    color: #16a085;
    border: 2px solid #16a085;
    background: #f4f4f4;
}

.remodal-confirm:hover,
.remodal-confirm:active {
    color: #f4f4f4;
    background: #16a085;
}

.remodal-cancel {
    color: #c0392b;
    border: 2px solid #c0392b;
    background: #f4f4f4;
}

.remodal-cancel:hover,
.remodal-cancel:active {
    color: #f4f4f4;
    background: #c0392b;
}

/* Media queries
   ========================================================================== */

@media only screen and (min-width: 40.063em) /* min-width 641px */ {
    .remodal {
        max-width: 500px;
        min-height: 0;
        margin: 20px auto;
    }
}

/* IE8
   ========================================================================== */

html.lt-ie9,
html.lt-ie9 body {
    overflow: auto !important;

    min-height: 100%;
    margin: 0;
}

.lt-ie9 .remodal-overlay {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUAQMAAAC3R49OAAAAA3NCSVQICAjb4U/gAAAABlBMVEX///8AAABVwtN+AAAAAnRSTlMAuyogpzwAAAAJcEhZcwAACxIAAAsSAdLdfvwAAAAcdEVYdFNvZnR3YXJlAEFkb2JlIEZpcmV3b3JrcyBDUzbovLKMAAAAGHRFWHRDcmVhdGlvbiBUaW1lADA2LzEwLzIwMTSCx1nsAAAAD0lEQVQImWP4//8DAxUxACnDOpkfX95WAAAAAElFTkSuQmCC);
}

.lt-ie9 .remodal {
    width: 500px;
    min-height: auto;
}
