body {
    background-color: #e1e1e1;
}

li {
    list-style: none;
}

button {
    border: 0;
    outline: 0;
}

button:focus {
    outline: 0;
}

input:focus-visible {
    outline: 0;
}

h1.main-title {
    display: block;
    width: 100%;
    text-align: center;
    margin: 20px 0 0;
}

#logo__header {
    display: block;
    height: 70px;
}

.admin-menu {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 9999;
    background: #343a4095 !important;
    padding: 0;
}

.site-header {
    font-size: 17px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.6);
    padding: 5px 50px;
    width: 100%;
    top: 0;
    z-index: 99;
}

.site-header .nav-item {
    padding: 0 22px;
}

.site-header .nav-item:last-of-type {
    padding-right: 0;
}

.close-admin-menu {
    position: absolute;
    top: 6px;
    right: 12px;
    width: 20px;
}

.welcome-title {
    font-size: 26px;
    font-weight: 600;
    margin: 0 10px 20px;
}

.button {
    cursor: pointer;
    color: #fff;
    text-decoration: none;
    padding: 10px 25px;
    font-size: 16px;
    position: relative;
    overflow: hidden;
    display: inline-block;
    transition: all 0.3s ease;
    margin: 20px 0 0;
}

.button:hover {
    color: inherit;
    text-decoration: none;
}

.btn.disabled,
.btn:disabled {
    cursor: not-allowed !important;
}

.form-wrapper {
    border-radius: 10px;
    margin-top: 40px;
    padding: 15px;
}

/*.form-wrapper label {
    font-weight: bold;
}*/

.errors li {
    list-style: none;
    width: 100%;
    text-align: center;
}

.errors ul {
    padding-left: 0;
    margin-bottom: 0;
}

.main-form-area section:not(:first-of-type) {
    display: none;
}

.form-error {
    position: relative;
    display: none;
    margin-bottom: 40px;
    padding: 8px 13px;
    background: #ec0000;
    color: #fff;
    font-size: 14px;
    border-radius: 3px;
    min-width: 100px;
}

.form-error:after {
    content: '';
    position: absolute;
    top: 0;
    left: 20px;
    width: 0;
    height: 0;
    border: 10px solid transparent;
    border-bottom-color: #ec0000;
    border-top: 0;
    margin-top: -9px;
}

.input__code--error {
    background: rgba(255, 255, 255, 1);
    border-color: #ec0000;
}

.rendered-form .form-group {
    position: relative;
    /*display: inline-block;*/
}

/*.formbuilder-text-label, .formbuilder-checkbox-group-label {
    position: absolute;
    right: -12px;
    top: -3px;
}*/

.submit-more-loading {
    display: none;
    max-width: 40px;
    margin: 6px auto 20px;
}

.residency_selector {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    max-width: 800px;
    width: 90%;
    margin: 40px auto;
}

.residency {
    width: calc(50% - 20px);
    background: rgba(255, 255, 255, 0.7);
    border: 3px solid #343a40;
    padding: 15px 15px 0;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    transition: 0.1s;
}

.residency:hover {
    background: rgb(255 214 28 / 10%);
}

.residency--selected,
.residency--selected:hover {
    border-color: #6e6e6e;
    background: #6e6e6e;
}

.residency span {
    width: 30px;
    height: 30px;
    display: block;
    background: transparent;
    border-radius: 50%;
    border: 2px solid #343a40;
    transition: background 0.15s, box-shadow 0.15s;
}

.residency.residency--selected span {
    background: #343a40;
    box-shadow: inset 0 0 0 4px #6e6e6e, 0 0 0 1px #343a40;
}

.residency__content {
    width: 100%;
}

.residency__content h3 {
    text-align: left;
    font-size: 20px;
}

.residency__content p {
    padding-bottom: 0;
    font-size: 15px;
    color: #333;
    text-align: left;
}

.residency.residency--selected h3,
.residency.residency--selected p {
    color: #fff
}

.residency_selector.residency_selector__button {
    justify-content: flex-end;
}

.residency--select-wrapper {
    margin-bottom: 15px;
}

.residency--select-wrapper span {
    margin: 0 auto;
}

.welcome-copy__ni {
    display: none;
}

#code_input,
#formSubmission {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin: 10px 0 20px 0;
    flex-direction: row;
    flex-wrap: wrap;
}

#formSubmission .fb-render {
    width: 100%;
}

#code_input .form-group {
    margin-bottom: 20px;
    width: calc(50% - 10px);
    position: relative;
}

#formSubmission .form-group {
    margin-bottom: 20px;
    width: 100%;
    position: relative;
}

#code_input .form-group input,
#formSubmission .form-group input,
.age-restrict-section input {
    width: 100%;
    height: 43px;
    padding: 0 10px;
    border-radius: 0;
    border: 0;
    color: #000;
}

.age-restrict-section p {
    font-size: 20px;
}

.form-frontend label {
    position: absolute;
    top: 50%;
    left: 10px;
    font-size: 14px;
    transform: translateY(-50%);
    color: #999;
    cursor: text;
    z-index: 10;
    transition: 0.5s;
    pointer-events: none;
}

.formbuilder-checkbox label {
    pointer-events: all
}

#formSubmission .form-group input[type="checkbox"] {
    opacity: 0;
    width: 0;
    height: 0;
}

.formbuilder-checkbox label {
    position: relative;
    display: block;
    padding-left: 22px;
}

.formbuilder-checkbox label::before,
.formbuilder-checkbox label::after {
    position: absolute;
    content: "";
    display: inline-block;
}

.formbuilder-checkbox label::before {
    height: 16px;
    width: 16px;
    border: 1px solid;
    left: 6px;
    top: 8px;
}

.formbuilder-checkbox label::after {
    height: 5px;
    width: 9px;
    border-left: 2px solid;
    border-bottom: 2px solid;
    transform: rotate(-45deg);
    left: 9px;
    top: 12px;
}

.formbuilder-checkbox input[type="checkbox"]+label::after {
    content: none;
}

.formbuilder-checkbox input[type="checkbox"]:checked+label::after {
    content: "";
}

.formbuilder-checkbox input[type="checkbox"]:checked+label::before {
    background: #000;
}

.form-frontend input[type="text"]:focus~label,
.form-frontend input[type="email"]:focus~label,
.form-frontend input[type="tel"]:focus~label,
.form-frontend input.input__code--filled[type="text"]~label,
.form-frontend input.input__code--filled[type="email"]~label,
.form-frontend input.input__code--filled[type="tel"]~label,
.form-frontend input[type="text"]:focus~.description,
.form-frontend input[type="email"]:focus~.description,
.form-frontend input[type="password"]:focus~.description,
.form-frontend input.input__code--filled[type="text"]~.description,
.form-frontend input.input__code--filled[type="email"]~.description,
.form-frontend input.input__code--filled[type="password"]~.description {
    top: -10px;
    left: 2px;
    color: #333;
    font-size: 10px;
}

#code_input input[type="submit"] {
    margin: 0;
    width: 100%;
}

.formbuilder-date label {
    position: relative;
    margin-bottom: 0;
    width: 100%;
    text-align: left;
    left: 2px;
}

#formSubmission .form-group .formbuilder-checkbox label {
    position: relative;
    left: 0;
    top: 4px;
}

#formSubmission .formbuilder-checkbox-group {
    margin-bottom: 0;
}

.formbuilder-checkbox {
    text-align: left;
}

.code-entry-section__copy {
    text-align: left;
}

.formbuilder-checkbox-group.form-group label {
    left: -12px;
    top: 4px;
}

.form-group .formbuilder-required {
    position: relative;
    left: 2px;
    top: -2px;
}

.thank-you-title {
    font-size: 26px;
    font-weight: 600;
    margin: 0 10px 20px;
}

#formSubmission .field-date_of_birth select,
.dob_selector {
    width: 30%;
    margin-right: 5%;
    height: 43px;
    padding: 0 10px;
    display: inline-block;
    border-radius: 0;
    color: #000;
    border: 0;
}

#formSubmission .field-date_of_birth select:last-of-type,
.dob_selector:last-of-type {
    margin-right: 0;
}

.form-control {
    border: 0;
    border-radius: 0;
    outline: 0;
    height: 43px;
    padding: 0 10px;
}

.form-control:focus {
    box-shadow: unset;
}

.rendered-form .form-control:focus {
    box-shadow: none !important;
}

.rendered-form .btn {
    border-radius: 0;
}

.bg-white input {
    background: #efefef;
}

.bg-white label {
    color: #000;
}

@media(max-width:768px) {
    .residency_selector {
        flex-wrap: wrap;
        margin-bottom: 0;
    }

    .residency_selector.residency_selector__button {
        margin: 0 auto 40px;
    }

    .residency {
        width: 100%;
        margin-bottom: 30px;
    }

    .form-wrapper .text-right {
        text-align: center !important;
    }
}

@media (max-width: 576px) {
    .form-frontend .row {
        margin-left: 0;
        margin-right: 0;
    }
}

@media (max-width: 480px) {
    #code_input .form-group {
        width: 100%;
    }
}

@media (max-width: 359px) {
    #formSubmission .field-date_of_birth select {
        width: 100%;
        margin-right: 0;
        margin-bottom: 5px;
    }
}