html {
    height: 100%;
    overflow: auto;
}

body {
    position: relative;
    font-family: 'Roboto', sans-serif;
    margin: 0;
    overflow: auto;
    height: 100%;
    background: #F1F1F1;
}

/* width */
::-webkit-scrollbar {
    width: 10px;
    -webkit-appearance: none;
}

/* Track */
::-webkit-scrollbar-track {
    background: #f1f1f1;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #888;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #555;
}

header {
    background: #fff;
    padding: 20px 30px;
    border-bottom: 1px solid #d8d8d8;
    border-top: 40px solid #20623B;
}

footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px 30px;
    background: #20623B;
}

footer p {
    color: #fff;
    text-align: right;
    margin: 0;
    font-size: 14px;
}

.center {
    margin: 0 auto;
    max-width: 100%;
}

.wrap {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    text-align: center;
}

.no-wrap {
    text-align: center;
}

header img {
    max-width: 100%;
    max-height: 50px;
}

.container {
    position: relative;
    padding: 20px 30px;
}

.content-container {
    position: relative;
    padding: 20px;
    background: #fff;
    border-radius: 5px;
    border: 1px solid #d8d8d8;
    min-height: 250px;
}

.page-title {
    font-weight: bold;
    font-size: 18px;
    color: #505050;
}

.page-title-style {
    text-align: center;
    padding: 0 0 10px 0;
    margin: 0 0 10px 0;
    border-bottom: 1px solid #d8d8d8;
}

.page-text {
    font-size: 14px;
    color: #505050;
}

.font-bold {
    font-weight: bold !important;
}

.continue-button {
    display: block;
    margin: 0 auto;
    font-size: 14px;
    font-weight: bold;
    color: #20623B;
    background: #FBE34C;
    border: none;
    border-radius: 5px;
    padding: 8px 25px;
    cursor: pointer;
    -webkit-appearance: none;
}

.continue-button.disabled, input.disabled {
    pointer-events: none;
    opacity: 0.6;
}

.cancel-button {
    display: block;
    margin: 20px auto 0;
    font-size: 14px;
    font-weight: bold;
    color: #20623B;
    background: #fff;
    border: 1px solid #20623B;
    border-radius: 5px;
    padding: 8px 25px;
    cursor: pointer;
    -webkit-appearance: none;
}

.text-container {
    /*max-width: 255px;*/
    margin: 0 auto;
    padding: 0 10px;
}

.disclaimer-container {
    margin-top: 10px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.disclaimer-container p {
    font-size: 12px;
    font-weight: 300;
    color: #505050;
    width: 700px;
    padding-bottom: 15%;
}

.dialog-overlay {
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 9;
}

.dialog-content {
    position: absolute;
    top: 20%;
    left: 50%;
    width: 80%;
    max-width: 500px;
    transform: translate(-50%, 0);
    background: #fff;
    border-radius: 5px;
    padding: 20px;
    box-shadow: 2px 2px 2px #000;
    z-index: 99;
}

.dialog-header {
    margin: 0 0 25px 0;
    font-weight: bold;
    font-size: 14px;
    color: #505050;
}

.dialog-text {
    margin: 0;
    font-weight: 300;
    font-size: 14px;
    color: #505050;
}

.close-dialog {
    position: absolute;
    height: 30px;
    top: 12px;
    right: 20px;
    cursor: pointer;
}

.notification-container {
    margin: 0 0 20px;
}

.notification-header {
    margin: 0 0 10px 0;
    font-weight: bold;
    font-size: 14px;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 10px;
}

.notification-icon {
    height: 23px;
    margin: 0 5px -5px 0;
}

.notification-text {
    margin: 0;
    font-weight: bold !important;
    font-size: 14px;
    color: #505050;
    padding-left: 35px;
    padding-bottom: 10px;
}

.notification-warning {
    background: #C9770033;
}

.notification-warning .notification-header {
    color: #C97700;
}

.notification-error {
    background: #9E303933;
}

.notification-error .notification-header {
    color: #9E3039;
}

/* loader */
.loading-container {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 999;
    background: #fff;
}

.loading-ring {
    position: absolute;
    z-index: 9999;
    top: 20px;
    left: 50%;
    transform: translate(-50%, 0);
    width: 80px;
    height: 80px;
}

.loading-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 64px;
    height: 64px;
    margin: 8px;
    border: 8px solid #20623B;
    border-radius: 50%;
    animation: loading-ring-animation 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: #20623B transparent transparent transparent;
}

.loading-ring div:nth-child(1) {
    animation-delay: -0.45s;
}

.loading-ring div:nth-child(2) {
    animation-delay: -0.3s;
}

.loading-ring div:nth-child(3) {
    animation-delay: -0.15s;
}

.email-selection {
    display: flex;
    margin: 1em;
    justify-content: center;
}

@keyframes loading-ring-animation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* confirm */
.confirm-container .text-container .input-fields {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.confirm-container .text-container .input-fields li {
    margin-bottom: 15px;
}

.confirm-container .text-container .input-fields li label {
    display: block;
    margin-bottom: 5px;
}

.confirm-container .text-container .input-fields li input {
    border: none;
    background: #F1F1F1;
    padding: 8px 35px 8px 8px;
    width: calc(100% - 43px);
}

.confirm-container .input-container {
    position: relative;
}

.confirm-container .text-container-confirm {
    text-align: center;
    border-bottom: 1px solid #d8d8d8;
    margin-bottom: 20px !important;
}

.confirm-container #countdown {
    font-size: 14px;
    margin: 20px 0 0 0;
    color: #20623B;
    text-decoration: underline;
}

/* done */
.done-container {
    text-align: center;
}

.done-container img {
    height: 60px;
    margin: 5px 0;
}

.done-container ul {
    list-style: none;
    margin: -10px 0 10px;
    padding: 0;
}

/* index */
.index-container .page-text-style {
    text-align: center;
}

/* password */
.password-container .text-container .input-fields {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.password-container .text-container .input-fields li {
    margin-bottom: 15px;
}

.password-container .text-container .input-fields li label {
    display: block;
    margin-bottom: 5px;
}

.password-container .text-container .input-fields li input {
    border: none;
    background: #F1F1F1;
    padding: 8px 35px 8px 8px;
    width: calc(100% - 43px);
}

.password-container .input-container {
    position: relative;
}

.password-container #help-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translate(0, -50%);
    height: 20px;
    cursor: pointer;
}

.password-container .password-rules {
    list-style: none;
    margin: 15px 0 20px;
    padding-left: 30px;
}

.password-container .password-rules li {
    margin-bottom: 5px !important;
}

.password-container .password-rules li p {
    margin: 0;
}

.password-container .password-rules li.checked {
    position: relative;
}

.password-container .password-rules li.checked::before {
    content: '';
    position: absolute;
    background: url("../images/feedback-ok-green.png");
    width: 18px;
    height: 18px;
    display: block;
    background-size: cover;
    left: -25px;
}

.password-container .password-rules li.checked p {
    color: green !important;
}

.password-container #error-container p {
    position: relative;
    font-size: 14px;
    margin: 5px 0;
    color: #9E3039;
    padding-left: 30px;
}

.password-container #error-container p::before {
    content: '';
    position: absolute;
    background: url("../images/feedback-ko-red.png");
    width: 18px;
    height: 18px;
    display: block;
    background-size: cover;
    left: 5px;
}

/* registration */
.registration-container .text-container ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.registration-container .text-container ul li {
    margin-bottom: 15px;
}

.registration-container .text-container ul li label {
    display: block;
    margin-bottom: 5px;
}

.registration-container .text-container ul li input {
    border: none;
    background: #F1F1F1;
    padding: 8px 35px 8px 8px;
    width: calc(100% - 43px);
}

.registration-container .input-container {
    position: relative;
}

.registration-container #help-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translate(0, -50%);
    height: 20px;
    cursor: pointer;
}

.resendEmail {
    margin: 1em;
    display: flex;
    justify-content: center;
}

#resendButton {
    border: none;
    background-color: white;
}

@media only screen and (min-width: 600px) {
    .content-container {
        padding: 20px 100px;
        max-width: 500px;
    }
}

@media only screen and (max-width: 320px) {
    .content-container {
        padding: 10px 20px;
        max-width: 500px;
    }

    header {
        padding: 10px 30px;
    }
}