.wrapper {
    min-height: 100%;
}

header {
    text-align: center;
}

.main {
    width: 50em;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    padding-top: 4em;
}

body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
}

h1 {
    font-size: 40px;
}

a {
    color: #2a6478;
    text-decoration: none;
    transition: 300ms;
    border-bottom: 1px solid transparent;
}

a:hover {
    border-bottom: 1px solid #2a6478;
}


* {
    box-sizing: border-box;
}

.group {
    width: 100%;
    position: relative;
    margin-top: 50px;
    padding-bottom: 10px;
}

div.checkbox-row {
    width: 100%;
    position: relative;
    margin-top: 20px;
    /*padding-bottom: 10px;*/
}

label.lab {
    position: absolute;
    top: 0;
    color: rgba(0, 0, 0, 0.7);
    font: 400 30px 'Open Sans', sans-serif;
    cursor: text;
    transition: 0.25s ease;
}

input.inp {
    display: block;
    width: 100%;
    border: none;
    border-radius: 0;
    font-size: 30px;
    transition: 0.3s ease;
    font-family: 'Open Sans', sans-serif;
}

textarea {
    display: block;
    width: 100%;
    border: none;
    border-radius: 0;
    font-size: 30px;
    transition: 0.3s ease;
    font-family: 'Open Sans', sans-serif;
    resize: none;
    overflow-y: scroll;
}

input:not(:placeholder-shown) + label.lab {
    top: -30px;
    font: 700 20px 'Open Sans', sans-serif;
    color: #43A047;
}

input:invalid:not(:placeholder-shown):not(:focus) + label.lab {
    top: -30px;
    font: 700 20px 'Open Sans', sans-serif;
    color: rgba(229, 57, 53, 0.8);
    /* #E53935 */
}


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

input:focus ~ label.lab {
    top: -30px;
    font: 700 20px 'Open Sans', sans-serif;
    color: #ffdd2d;
}

textarea:not(:placeholder-shown) ~ label.lab {
    top: -30px;
    font: 700 20px 'Open Sans', sans-serif;
    color: #ffdd2d;
}

textarea:focus ~ label.lab {
    top: -30px;
    font: 700 20px 'Open Sans', sans-serif;
    color: #ffdd2d;
}

input:focus ~ .bar:before,
input:hover ~ .bar:before,
input:not(:placeholder-shown) + .bar:before {
    transform: translateX(0);
}

textarea:focus ~ .bar:before {
    transform: translateX(0);
}

input:-webkit-autofill {
    -webkit-box-shadow: 0 0 0px 1000px #FFFFFF inset;
    -webkit-text-fill-color: black !important;
}

.fields {
    margin-bottom: 100px;
}

.bar {
    background: rgba(0, 0, 0, 0.7);
    content: "";
    height: 1px;
    transition: 0.3s ease;
    position: absolute;
    width: 100%;
}

.bar:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    background: #ffdd2d;
    transform: translateX(-100%);
}

label span {
    color: red;
}

*,
:before,
:after {
    box-sizing: border-box;
}

input.checkbox-row {
    height: 15px;
    width: 15px;
    vertical-align: middle;
}

label.checkbox-row {
    font: 400 20px 'Open Sans', sans-serif;
    color: rgba(0, 0, 0, 0.8);
}

input.checkbox-row:checked ~ label.checkbox-row {
    font: 400 20px 'Open Sans', sans-serif;
    color: rgb(0, 0, 0);
}

div.text-label {
    font: 400 30px 'Open Sans', sans-serif;
    color: rgba(0, 0, 0, 1);
}

div.text-desc {
    font: 400 17px 'Open Sans', sans-serif;
    color: rgba(0, 0, 0, 0.7);
}

button {
    display: block;
    padding: 10px 30px;
    font-size: 1.5em;
    border: none;
    border-radius: 0.5em;
    margin: 0 auto;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.04);
    cursor: pointer;
    margin-top: 40px;

    background-color: #ffdd2d;
    color: #646464;
    font-weight: 600;
    transition: background-color 0.2s ease;
}

button:hover {
    background-color: #FFEE58; /* blue-700 */
}

button:active {
    transform: scale(0.99);
}

button:disabled {
    background-color: #ffdd2d;
    color: #666;
    cursor: default;
    opacity: 0.7;
    transform: none;
}


.header {
    background-color: #646464; /* blue-600 */
    color: #FFF;
    padding: 0.8em; /* p-4 */
    padding-left: 1em;
    padding-right: 1em;
    display: flex;
    justify-content: space-between;
    vertical-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2); /* shadow-md */
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
}

.header-user {
    font-size: large;
}

.progress-container {
    position: fixed;
    top: 60px; /* below header */
    left: 0;
    width: 100%;
    height: 8px;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: 9;
}

.progress-bar {
    height: 8px;
    width: 0;
    background-color: #ffdd2d;
    transition: width 0.3s ease;
    /*border-radius: 4px;*/
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}


.smartcaptcha-note {
    font-size: small;
    color: #555;
    text-align: center;
    margin-top: 8px;
}

.smartcaptcha-note a {
    color: #0078FF;
    text-decoration: none;
}

.error-box {
    margin-bottom: 1em;
    font-size: 0.875em;
    color: #dc2626;
    background-color: #fee2e2;
    border-radius: 0.5em;
    padding: 0.5em 1em;
}