html {
    -webkit-text-size-adjust: 100%;
}
body {
    color: #333333;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    font-family: 'Roboto', sans-serif;
    font-size: 11px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
* {
    box-sizing: border-box;
}
a {
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
}
a:hover {
    text-decoration: underline;
    color: inherit;
}
input, button, select {
    font-size: 1em;
}
img {
    max-width: 100%;
}

input:focus,
select:focus,
textarea:focus,
button {
    outline: none;
}

button::-moz-focus-inner {
    border: 0;
}

select::-ms-expand{
    display: none;
}

.pxl,
.hidden {
    display: none !important;
}

p, ul, li, ol, h1, h2, h3, h4, h5, figure {
    margin: 0;
    padding: 0;
    list-style: none;
    font-weight: normal;
}

/* BUTTON */
.btn-default {
    max-width: 350px;
    width: 100%;
    height: 2.5em;
    font-size: 1.5em;
    border-radius: 7px;
    border: thin solid #cccc;
    outline: none;
    cursor: pointer;
    color: #ffffff;
    text-transform: uppercase;
    transition: opacity 300ms linear;
}
.btn-green {
    background-color: #1ac45a;
    text-shadow: 1px 1px 1px #000000;
}
.btn-green:hover {
    opacity: 0.85;
}
.btn-flash span {
    animation: blink-animation 1s steps(5, start) infinite;
}

@keyframes blink-animation {
    to {
        visibility: hidden;
    }
}

.radio-button {
    display: inline-block;
    margin: 0 10px 20px;
}
.radio-button label {
    position: relative;
    display: block;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    font-size: 1.3em;
    cursor: pointer;
}
.radio-button label i {
    position: absolute;
    bottom: -1.5em;
    left: 0;
    right: 0;
    display: block;
    font-style: normal;
    text-align: center;
}
.radio-button label {
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    filter: #cccccc;
    -webkit-filter: grayscale(1);
    filter: grayscale(1);
    opacity: 0.6;
    transition: opacity 300ms linear;
}
.radio-button label:hover {
    opacity: 0.45;
}
.radio-button input[type="radio"]:checked + label {
    -webkit-filter: grayscale(0);
    filter: none; 
    opacity: 1;
}
.radio-button input[type="radio"]:checked + label:hover {
    opacity: 0.85;
}
.radio-button.btn-male label {
    background-image: url(/img/_btns/jwa-male2.jpg);
}
.radio-button.btn-female label {
    background-image: url(/img/_btns/jwa-female2.jpg);
}

.birthday-group .form-group-inner {
    display: flex;
    flex-direction: row;
    margin: 0 -5px;
}
.birthday-group .form-group-inner > div {
    flex: 1;
    margin: 0 5px;
}
.birthday-group .form-group-inner > div:nth-child(2) {
    min-width: 125px;
}
/* END BUTTON */

.form-control-wrapper label {
    display: block;
    margin-bottom: 3px;
    text-align: left;
}
.form-control {
    height: 2.5em;
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #cccccc;
    border-radius: 5px;
    font-size: 1.3em;
    padding: 0 10px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}
.form-control:focus {
    border-color: #66afe9;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
}
select.form-control {
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    background-image: url(/img/_btns/bg_select.png);
    background-repeat: no-repeat;
    background-position: right center;
}
select.form-control.error {
    border-color: #ff0000;
}

/* FOOTER */
.legal__container {
    margin-top: 40px;
    padding: 30px 5px 50px;
    background-color: #1ac45a;
    text-align: center;
    text-transform: uppercase;
    color: #ffffff;
}
.legal__container > div {
    display: inline-block;
    margin-right: 5px;
    padding-right: 10px;
}
.legal__container > div:last-child {
    margin-right: 0;
    padding-right: 0;
}
/* END FOOTER */

/* REGISTRATION */
.step {
    animation: fadeIn 400ms linear;
}
.headline-1 {
    position: relative;
    z-index: 1;
    margin-top: 20px;
    font-size: 2.5em;
    text-transform: uppercase;
    color: #26abd0;
}
.headline-2,
.form-group > label {
    display: block;
    margin: 1em 0 0.5em;
    font-size: 1.5em;
    font-weight: bold;
    color: #555555;
}

.registration-form-builder-inner {
    text-align: center;
    background: #ffffff;
}
.form-inner,
.form-footer {
    margin: 0 auto;
    width: 90%;
}
.form-footer {
    margin-bottom: 15px;
}

.form-header {
    background: #1ac45a;
    color:#ffffff;
}
.form-header p img {
    max-width: 300px;
}

.logo-new {
    font-size: 0;
    padding: .5rem;
}
.logo-new img {
    height: 3rem;
}

.form-footer ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
    padding: 0;
    justify-content: center;
}
.form-footer ul li {
    padding: 2px;
}
.form-footer ul li:first-child img,
.form-footer ul li:last-child img {
    height: 60px;
}
.form-footer .headline-footer {
    font-size: 1em;
}

.form-group.has-top-spacing {
    margin-top: 20px;
}
.form-group .required,
.unknown-error-msg {
    display: block;
    margin: 5px;
    color: #ff0000;
}
.btn-group {
    margin: 25px 0 10px;
}

.legal-warning-text {
    margin-top: 1.2em;
    line-height: 1.4;
}
.legal-warning-text a {
    text-decoration: underline;
    color: #333333;
}

.progress-bar-wrapper {
    margin-bottom: 2.7em;
}
.progress-bar {
    text-align: center;
}
.progress-bar li {
    display: inline-block;
    margin: 0 5px;
    width: 2em;
    height: 2em;
    line-height: 2em;
    border-radius: 50%;
    border: 1px solid #bababa;
    font-size: 1.4em;
    font-weight: bold;
}
.progress-bar li.active {
    background-color: #1ac45a;
    border: none;
    color: #ffffff;
}
/* END REGISTRATION */

/* LOGIN  */
.login-form-holder .login-form-holder-inner {
    font-size: 1.5em;
    border-radius: 0;
}

.login-form-holder .login-form-holder-inner .form-group .form-control {
    border-radius: .2em;
}

.btn.btn-login,
.login-form-holder .btn-group .btn-submit {
    font-size: 1.5em;
    padding: .6em .2em;
    color: #fff;
    margin: 0;
    min-width: 5em;
    text-align: center;
    border-radius: .2em;
    text-shadow: 1px 1px #000000;
    transition: opacity 300ms linear;
    font-weight: bold;
    border: thin solid #cccc;
    line-height: normal;
    height: auto;
    background-color: #1ac45a;
}

.btn.btn-login {
    display: inline-block;
    position: absolute;
    top: 1em;
    right: 1em;
}

.btn.btn-login:hover,
.login-form-holder .btn-group .btn-submit:hover {
    text-decoration: none;
    opacity: 0.85;
}

@media (max-width: 767px) {
    .login-form {
        display: flex;
        justify-content: flex-end;
    }

    .btn.btn-login {
        position: relative;
        top: auto;
        right: auto;
        margin: 1em;
    }
}

@media (max-height: 559px) {
    .login-form {
        display: flex;
        justify-content: flex-end;
    }

    .btn.btn-login {
        position: relative;
        top: auto;
        right: auto;
        margin: 1em;
    }
}

/* table */
@media (min-width: 768px) and (min-height: 600px) {
    body {
        background-color: #eeeeee;
        background-image: url(/img/_patterns/wd2000-bg.jpg);
    }

    .registration-form-builder-inner {
        max-width: 37em;
        margin: 3em auto 1em;
        text-align: center;
        background: #ffffff;
        box-shadow: 0 0 80px 0 rgba(0, 0, 0, 0.6);
    }
    .form-header {
        padding: 0 2em;
    }
    .form-header p img {
        position: relative;
        max-width: 100%;
    }

    .form-footer .headline-footer {
        margin-top: 5px;
        padding-bottom: 15px;
    }

    /* FOOTER */
    .legal__container {
        margin: 0;
        padding: 40px 0 10px;
        background-color: transparent;
        text-shadow: 0 0 7px #000000;
        color: #ffffff;
    }
    /* END FOOTER */
}
@media (max-height: 880px) {
    body {
        background-position: left top;
        background-size: 177% auto;
    }
}

@media (min-height: 700px) {
    .legal__container {
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
    }
}

@media (min-height: 880px) {
    html, 
    body, 
    .wrapper {
        height: 100%;
    }
    body {
        background-size: cover;
    }
    .wrapper {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
}
@media (min-height: 950px) {
    .registration-form-builder {
        margin-top: -50px;
    }
}
@media (min-height: 1100px) {
    body {
        font-size: 13px;
    }
}

/* ie11 */
@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
    .form-header p img {
        height: 140px;
    }
    .form-footer ul li img {
        height: 136px;
    }
}