/* Color */
.remodal {background-color: #FFF;color: #5E5E5E;}
.remodal-close {border: 2px solid #DADADA;}
.remodal-close:after {color: #DADADA;}
.remodal-close:hover, .remodal-close:active { background-color: #DADADA;}
.remodal-close:hover.remodal-close:after, .remodal-close:active.remodal-close:after {color: #FFF;}
.remodal .modal-head, .remodal .modal-foot { border-color: #DADADA; background-color: #F4F4F4;}
.remodal .modal-head {background-color: transparent;}
.remodal .btn.confirm {
    border: 1px solid #2B9AF3;
    background-color: #2B9AF3;
    color: #FFF;
}

.remodal .btn.confirm:hover, .remodal .btn.confirm:active {
    background-color: #2B9AF3;
    color: #FFF;
}

.remodal .btn.cancel {
    border: 1px solid #DADADA;
    background-color: #FAFAFA;
    color: #828587;
}
.remodal .btn.cancel:hover, .remodal .btn.cancel:active {
    background-color: #FAFAFA;
    color: #828587;
}


/* ==========================================================================
   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;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: none;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
    text-align: center;
}

.remodal-overlay:after {
    display: inline-block;
    height: 100%;
    margin-left: -0.05em;
    content: '';
}

/* Fix iPad, iPhone glitches */
.remodal-overlay > * {
    -webkit-transform: translateZ(0px);
}

/* Modal dialog necessary styles */

.remodal {
    position: relative;
    display: inline-block;
}

/* 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);
    -moz-filter: blur(3px);
    -o-filter: blur(3px);
    -ms-filter: blur(3px);
    filter: blur(3px);
}

/* Overlay default theme styles */

.remodal-overlay {
    opacity: 0;
    background: rgba(33, 36, 46, 0.95);
    -webkit-transition: opacity 0.2s linear;
    -moz-transition: opacity 0.2s linear;
    -o-transition: opacity 0.2s linear;
    transition: opacity 0.2s linear;
}

body.remodal_active .remodal-overlay {
    opacity: 1;
}



/* Modal dialog default theme styles */

.remodal {
    width: 100%;
    min-height: 100%;
    padding: 0px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 16px;
    background-clip: padding-box;
    -webkit-transform: scale(0.95);
    -moz-transform: scale(0.95);
    -ms-transform: scale(0.95);
    -o-transform: scale(0.95);
    transform: scale(0.95);
    -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;
}
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;
}

.remodal .modal-body {padding: 20px;}
.remodal .modal-head, .remodal .modal-foot { padding: 10px 12px; border-width: 1px 0px 0px 0px; border-style: solid; border-radius: 0px 0px 4px 4px;}
.remodal .modal-head {padding: 12px 12px; border-width: 0px 0px 1px 0px; border-radius: 4px 4px 0px 0px; text-align: center;}
.remodal.quickbet .modal-head {border-width: 0px 0px 0px 0px;}
.remodal.quickbet .modal-body {
padding: 10px 30px 20px;
}

.remodal .modal-head h2 {text-align: center; font-weight: 600; font-size: 16px;}

/* Close button */

.remodal-close {
    position: absolute;
	top: 8px;
	right: 8px;
	width: 28px;
	height: 28px;
    text-decoration: none;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    -webkit-transition: background 0.2s linear;
    -moz-transition: background 0.2s linear;
    -o-transition: background 0.2s linear;
    transition: background 0.2s linear;
}

.remodal-close:after {
    display: block;
    font-size: 29px;
    text-align: center;
    font-family: Arial, 'Helvetica CY', sans-serif !important;
    content: "×";
    line-height: 25px;
    cursor: pointer;
    text-decoration: none;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
}


/* Dialog buttons */

.remodal .btn.confirm, .remodal .btn.cancel {
	text-transform: uppercase;
    display: inline-block;
    min-width: 80px;
    max-width: 140px;
    font-weight: 600;
    padding: 6px 8px;
    margin: 0px 2px;
    font-size: 12px;
    line-height: 16px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    background-clip: padding-box;
    -webkit-transition: all 0.2s linear;
    -moz-transition: all 0.2s linear;
    -o-transition: all 0.2s linear;
    transition: all 0.2s linear;
}

/* Media queries
   ========================================================================== */

@media only screen and (min-width: 40.063em) /* min-width 641px */ {
    .remodal {
        max-width: 650px;
        margin: 20px auto;
        min-height: 0;

        -webkit-border-radius: 4px;
        border-radius: 4px;
    }
    #winnerusers-window.remodal, #login-window.remodal, #signup-window.remodal {max-width: 340px;}
	.remodal-close {
	display: none;
	}
}


