html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    line-height: 1.4;
    color: #777878;
}

* {
    box-sizing: border-box;
}

a {
    display: inline-block;
    text-decoration: none;
    cursor: pointer;
    color: #777878;
}
a:hover {
    text-decoration: underline;
    color: #2196f3;
}

input, 
button, 
select {
    font-size: 1em;
    font-family: 'Roboto', sans-serif;
    -webkit-appearance: none;
}

select {
    -moz-appearance:none;
    -webkit-appearance:none;
    appearance:none;
    background: transparent;
    background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
    background-repeat: no-repeat;
    background-position-x: 100%;
    background-position-y: 0.3em;
}

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

html, body, .wrapper {
    min-height: 100%;
}

.container {
    margin: 0 auto;
    width: 100%;
    max-width: 1400px;
}

.wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
}
.wrapper .header {
    flex: 2;
}
.wrapper .main-content {
    flex: 30;
}
.wrapper .footer {
    flex: 1;
}

@media (min-width: 560px) and (max-height: 480px) {
    .wrapper {
        min-height: 640px;
    }
}

@media (min-height: 640px) {
    html, body, .wrapper {
        height: 100%;
    }
}

@media (min-width: 900px) and (min-height: 600px)  {
    body {
        font-size: 13px;
    }
}

@media (min-width: 992px) and (min-height: 900px) {
    body {
        font-size: 0.9vw;
    }
    .container {
        max-width: 90em;
    }
}


/* HEADER */
.header {
    padding: 0.2em 0;
    border-bottom: 2px solid #a7a7a7;
    background-color: #ffffff;
}
.header .container {
    position: relative;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0 0.5em;
}
.header .logo,
.header .buttons {
    flex: 1;
}
.header .logo {
    font-size: 0;
}
.header .logo img {
    max-height: 50px;
}
.header .buttons {
    text-align: right;
}

@media (min-width: 568px) and (min-height: 480px) {
    .header {
        padding: 1em 0;
    }
}

@media (min-width: 992px) and (min-height: 1000px) {
    .header .logo img {
        max-height: none;
        height: 5vh;
    }
}

/* MAIN CONTENT */
.main-content {
    position: relative;
    padding: 1em;
    overflow: hidden;
    background-color: #e1e2e2;
}
.main-content.main-overlay:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.5);
}
.full-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    text-align: right;
}
.full-bg img {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    max-width: none;
    height: 100%;
}
.full-bg.bg-table {
    display: block;
}
.full-bg.bg-desktop {
    display: none;
}
@media (min-width: 568px) and (min-height: 480px) {
    .main-content {
        padding: 2.5em 0;
        background-color: transparent;
    }
}
@media (min-width: 992px) and (min-height: 600px) {
    .full-bg.bg-table {
        display: none;
    }
    .full-bg.bg-desktop {
        display: block;
    }
}

/* FOOTER */
.footer {
    padding: 1em 0;
    border-top: 2px solid #a7a7a7;
    background-color: #ffffff;
    text-align: center;
}
.footer .legal__container {
    text-align: center;
}
.footer .legal__container > div {
    display: inline-block;
    margin: 0 0.5em;
}
.footer .legal__container > div:hover {
    cursor: pointer;
    text-decoration: underline;
}

/* REGISTER FORM */
.registration-form-builder-inner {
    margin: 0 auto;
    padding: 0.7em;
    max-width: 24em;
    border-radius: 0.8em;
    background-color: #ffffff;
}
.form-group {
    margin: 1em 0;
}
.form-group label {
    display: block;
    margin-bottom: 0.2em;
}
.form-group input,
.form-group select {
    padding: 0 0.6em;
    width: 100%;
    height: 2.5em;
    border: 1px solid #c4c4c4;
    border-radius: 0.5em;
    background-color: #ffffff;
}
.form-group-radio-buttons .radio-button  {
    display: inline-block;
    margin-right: 1em;
}
.radio-button > label {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
}
.radio-button input + label:before {
    content: '';
    display: inline-block;
    margin-top: -0.1em;
    margin-right: 0.5em;
    width: 1em;
    height: 1em;
    border: 1px solid #c4c4c4;
    border-radius: 50%;
}
.radio-button input:checked + label:after {
    content: '';
    position: absolute;
    top: 0.25em;
    left: 0.07em;
    display: inline-block;
    margin-top: -0.1em;
    margin-right: 0.5em;
    width: 1em;
    height: 1em;
    border-radius: 50%;
    background-color: #2196f3;
    transform: scale(0.7);
}
.legal-warning-text {
    margin: 1em 0;
    font-size: 0.9em;
}
.legal-warning-text a {
    text-decoration: underline;
}
.required,
.unknown-error-msg {
    display: block;
    margin-top: 0.1em;
    font-size: 0.8em;
    text-align: left;
    color: #ff0000;
}
.unknown-error-msg {
    margin-bottom: 0.8em;
}

@media (min-width: 568px) and (min-height: 480px) {
    .registration-form-builder {
        padding-left: 1em;
    }
    .registration-form-builder-inner {
        margin: 0;
    }
}

@media (min-width: 992px) and (min-height: 600px) {
    .registration-form-builder-inner {
        max-width: 30em;
    }
}
/* END REGISTER FORM */

/* LOGIN FORM */
.login-form-holder {
    display: block !important;
    position: absolute;
    right: 0;
    z-index: 10;
    margin-top: 2em;
    padding: 0 1px;
    width: 100%;
    max-width: 27em;
    max-height: 20em;
    opacity: 1;
    transition: max-height 0.3s linear, opacity 0.3s linear;
    overflow: hidden;
}
.login-form-holder.hidden {
    max-height: 0;
    opacity: 0;
}
.login-form-holder-inner {
    padding: 1em 0.5em;
    background-color: #ffffff;
    border-radius: 0.8em;
    border: 1px solid #c4c4c4;
}
.login-form .btn-close {
    margin-right: 0.2em;
    width: 1em;
    height: 1em;
    line-height: 1em;
    font-size: 2em;
    text-align: center;
    opacity: 1;
    transition: all 0.3s linear;
}
.login-form .btn-close:hover {
    opacity: 0.6;
    text-decoration: none;
}
.login-form .headline-member {
    text-align: center;
}
.login-form .forgot-link {
    float: left;
    margin-top: -1.5em;
    color: #2196f3;
}
@media (min-width: 568px) and (min-height: 480px) {
    .login-form-holder {
        margin-top: -3em;
    }
    .login-form .btn-close {
        display: block;
        margin-right: auto;
    }
}
/* END LOGIN FORM */

/* BUTTON */
.btn,
.login-form .btn-submit {
    padding: 0.5em 1em;
    background-color: #81bf4f;
    border: 1px solid #81bf4f;
    border-radius: 0.8em;
    transition: all 0.3s linear;
    font-size: 1em;
    cursor: pointer;
    color: #ffffff;
}
.btn:hover,
.login-form .btn-submit:hover {
    background-color: #68a13a;
    text-decoration: none;
    color: #ffffff;
}
.btn.btn-full {
    width: 100%;
    text-transform: uppercase;
}
.login-form .btn-submit {
    padding: 0.7em 1.2em;
}