/* ==========================================================================
   Remodal necessary styles
   ========================================================================== */

/* Hide scroll bar */

.remodal .formcontainers {
    width: 100%;
    height: auto;
    overflow: hidden;
    position: relative;
    -webkit-transition: all ease-out 0.2s;
    -moz-transition: all ease-out 0.2s;
    -o-transition: all ease-out 0.2s;
    transition: all ease-out 0.2s;
}

.remodal .formcontainers #enter:not(.active) {
    /*margin: 0;*/
    margin-left: -150%;
    height: 0;
    width: 100%;
    float: left;
    position: relative;

}
.remodal .formcontainers #recovery:not(.active),
.remodal .formcontainers #reg:not(.active) {
    margin-right: -150%;
    float: right;
    position: relative;
    width: 100%;
    height: 0;
    top: 0;

}
.remodal .formcontainers #recovery:not(.active) {
    margin-right: -300%;
}
.remodal .formcontainers .active {
    margin: 0;
    height: auto;
}
.recp {
    margin: 0 20px 20px 20px;
    text-align: justify;
}
.error-rec{
    color: red;
    margin: 5px 5px 5px 5px;
}
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;

    display: inline-block;
}

/* ==========================================================================
   Remodal default theme
   ========================================================================== */

/* Background for effects */

.remodal ul {
    list-style: none;
    margin: 0;
    padding: 0px 30px 20px 30px;
}

.remodal .changeform {
    border-bottom: 1px solid #fff;
    padding: 15px 0;
}

.remodal ul li {
    float: left;
    margin-right: 20px;
    color: #a1bbd5;
    /*color: #08d;*/
    cursor: pointer;
    cursor: hand;
}

.remodal ul li.active {
    /*color: #a1bbd5;*/
    /*border-bottom: 0;*/
    color: #08d;
    border-bottom: 1px dashed rgba(0,135,120,0.3);
}

.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(20,30,40,0.8);
}

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

/* Modal dialog default theme styles */

.remodal {
    font-size: 13px;

    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 100%;
    min-height: 100%;

    -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: #edeeef;
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2VkZWVlZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNlNmVjZjIiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top,  #edeeef 0%, #e6ecf2 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#edeeef), color-stop(100%,#e6ecf2));
    background: -webkit-linear-gradient(top,  #edeeef 0%,#e6ecf2 100%);
    background: -o-linear-gradient(top,  #edeeef 0%,#e6ecf2 100%);
    background: -ms-linear-gradient(top,  #edeeef 0%,#e6ecf2 100%);
    background: linear-gradient(to bottom,  #edeeef 0%,#e6ecf2 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#edeeef', endColorstr='#e6ecf2',GradientType=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;
    border-bottom: 0;

    width: 28px;
    height: 28px;

    text-decoration: none;

    -webkit-border-radius: 50%;
    border-radius: 50%;
}

.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: #3e5368;
}

.remodal-close:hover.remodal-close:after,
.remodal-close:active.remodal-close:after {
    color: #bc1212;
}

.remodal input[type="submit"] {
    margin: 0 auto;
    width: auto;
    display: inline-block;
    padding: 0 15px;
    float: none;
    margin: 15px 30px 30px 30px;
}

.remodal .button {
    margin: 0 auto;
    width: auto;
    display: inline-block;
    padding: 0 15px;
    float: none;
    margin: 15px 30px 30px 30px;
}

.remodal .hr-agr {
    width:100%;
    border:none;
    background:rgba(255, 255, 255, 0.56);
    height:1px;
    margin: 7px 0px 7px 0px;
}

.remodal h2 {
    margin: 30px;
}

.remodal .field {
    margin-bottom: 15px;
}

.remodal .field.agr {
    margin-bottom: 15px;
    display: table;
    margin: 0 auto;
    width:95%;
    text-align:left;
    border-collapse: separate;
    border-spacing: 10px 7px;
}

.table-agr{
    /*border-collapse: collapse;*/
    /*border-spacing: 5px;*/
    width:100%;
    text-align:left;
}

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

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

        -webkit-border-radius: 6px;
        border-radius: 6px;
    }
}

/* 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;
}
