html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	vertical-align: baseline;
}

* {
	font-family: 'Lexend Deca', sans-serif;
    color: #0E1553;
}

body {
    background-color: #10175C;
}

header {
    width: 100%;
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

header svg {
    margin-top: 50px;
}

header h1 {
    font-weight: 600;
    font-size: 62px;
    line-height: 80px;
    color: #fff;
    text-align: center;
    margin: 80px 0 30px;
}

header h1 span {
    font-weight: 600;
    font-size: 62px;
    line-height: 80px;
    color: #11DC92;
}

.subtext {
    text-align: center;
    font-size: 18px;
    line-height: 28px;
    margin: 0 auto 40px;
    color: #fff;
    width: 100%;
    max-width: 1080px;
    box-sizing: border-box;
    padding: 0 20px;
}

.subtext strong {
    font-size: 18px;
    line-height: 28px;
    color: #fff;
    font-weight: bold;
    display: block;
}

.subtext:last-of-type {
    margin-bottom: 80px;
}

.background {
    position: absolute;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    top: 0;
    text-align: center;
    overflow: hidden;
    height: 100%;
    z-index: -1;
    background-color: #10175C;
}

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

.formContainer {
    background-color: #fff;
    padding: 100px;
    box-sizing: border-box;
    box-shadow: 0px 0px 58px -8px rgba(16, 23, 92, 0.2);
}

.formContainer h2 {
    color: #11DC92;
    margin-top: 0;
    margin-bottom: 50px;
    font-weight: 600;
    font-size: 64px;
    line-height: 80px;
    text-align: center;
}

.formContainer h3 {
    font-weight: 600;
    font-size: 26px;
    line-height: 28px;
    margin-bottom: 20px;
    margin-top: 40px;
}

.formContainer input[type="text"], .formContainer input[type="email"], .formContainer select, textarea {
    background: #F6F6F8;
    border: 1px solid #D5D6E1;
    width: 100%;
    font-weight: 300;
    font-size: 18px;
    line-height: 28px;
    padding: 15px;
    box-sizing: border-box;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    resize: none;
}

.formContainer textarea {
    height: 180px;
}

.star {
    color: #ec6446;
    font-size: 16px;
}

.arrow {
    position: absolute;
    right: 15px;
    top: 20px;
    bottom: 0;
    height: 20px;
    z-index: 1;
}

.floatingBox {
    position: relative;
    margin-bottom: 20px;
}

.floatingBox.error {
    margin-bottom: 20px;
}

.floatingBox.error ~ .errorText {
    display: flex;
}

.errorText {
    margin-top: -10px;
}

.floatingBox label {
    position: absolute;
    top: -14px;
    left: 15px;
    font-weight: 600;
    font-size: 15px;
    line-height: 28px;
    background-color: #fff;
    z-index: 1;
    padding: 0 5px;
}

.floatingBox label::after {
    content: " ";
    display: block;
    width: 100%;
    height: 50%;
    background: #F6F6F8;
    position: absolute;
    left: 0;
    top: 50%;
    z-index: -1;
}

.floatingBox.error .star {
    color: #EC6446;
}

.floatingBox.error input, .floatingBox.error select, .floatingBox.error textarea {
    border: 1px solid #EC6446;
}

.floatingBox.success .star {
    color: #11dc92;
}

.floatingBox.success input, .floatingBox.success select, .floatingBox.success textarea {
    border: 1px solid #11DC92;
}

#applicant_preferredPaymentMethod .floatingBox:last-of-type, #applicant_preferredProducts .floatingBox:last-of-type, #applicant_onlineShoppingDevice .floatingBox:last-of-type, #applicant_education .floatingBox:last-of-type, #applicant_workStatus .floatingBox:last-of-type {
    display: none;
}

div .noAgreementMsg {
    display: none;
}

div .noAgreementMsg.error {
    display: block;
}

.checkbox {
    margin-bottom: 20px;
}

.checkbox input {
    display: none;
    font-weight: 300;
}

.checkbox label {
    display: flex;
    align-items: flex-start;
    font-size: 18px;
    cursor: pointer;
    font-weight: 300;
    align-items: center;
}

.checkbox label svg {
    margin-right: 10px;
    min-width: 18px;
    height: auto;
}

.checkbox input[type=checkbox] + label > svg .check, .checkbox input[type=radio] + label > svg .check {
    display: none;
}

.checkbox input[type=checkbox]:checked + label > svg .check, .checkbox input[type=radio]:checked + label > svg .check {
    display: block;
}

.applicantFormContainer {
    width: 100%;
    max-width: 495px;
    margin: 0 auto;
}

.checkboxSalutionCont p {
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 18px;
    line-height: 28px;
}

.checkboxSalutionBox {
    display: flex;
    margin-bottom: 10px;
}

.checkboxSalution:first-of-type {
    margin-right: 30px;
}

.checkboxLabel {
    font-size: 18px;
    width: 100%;
}

.btn {
    cursor: pointer;
    background: #11DC92;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    outline: none;
    border: none;
    font-weight: 600;
    font-size: 18px;
    line-height: 22px;
    color: #fff;
    padding: 19px 45px;
    box-shadow: 10px 10px 30px 0 rgb(17 220 146 / 30%);
    text-align: center;
}

.btn.btn-error {
    display: none;
    background: #EC6446;
    text-align: center;
    box-shadow: none;
}

.errorTextBottom {
    margin-top: 30px;
}

.formContainer.error .fieldBox.error .errorText {
    display: block;
}

.checkboxAgreement {
    margin-top: 30px;
}
.checkboxAgreement.error .checkboxLabel, .checkboxAgreement.error .checkboxLabel a {
    color: #EC6446;
}

.noAgreementMsg {
    color: #EC6446;
}

footer {
    width: 100%;
    max-width: 495px;
    margin: 30px auto 0;
}

footer p {
    font-weight: 300;
    font-size: 16px;
    line-height: 24px;
}

footer p:first-of-type {
    margin-bottom: 10px;
}

.error_msg {
    color: #ba3939;
    font-size: 90%;
    display: none;
}

div.error .error_msg {
    display: block;
}

.navigationBar {
    padding-bottom: 15px;
}

.navigationBar.hidden {
    display: none;
}

/**
 * Typeahead styles
 */
.typeahead {
    position: relative;
}

.typeahead .floatingBox {
    display: block !important;
}

.typeaheadResults {
    list-style: none;
    position: absolute;
    top: 60px;
    background: #F6F6F8;
    border-left: 1px solid #D5D6E1;
    border-right: 1px solid #D5D6E1;
    width: calc(100% - 2px);
    max-height: 320px;
    z-index: 2;
    overflow: auto;
    padding: 0;
}

.typeaheadResults:empty {
    display: none;
}

.typeaheadResults .typeaheadItemSelected {
    background-color: #999999;
    color: #B0413E;
}

.typeaheadResults li {
    border-bottom: 1px;
    cursor: pointer;
    padding: 1em;
    border-bottom: 1px solid #D5D6E1;
}

.typeaheadResults li .typeaheadItemSelected {
    background-color: #999999;
    color: #B0413E;
}

.typeaheadResults li:hover {
    background-color: #999999;
}

.arrowBox {
    position: relative;
}

.fieldBox {
    margin-bottom: 40px;
}

.fieldBox.error .errorText{
    display: block;
}

.errorText {
    color: #EC6446;
    display: none;
}

.infoText {
    background-color: #EAEFFA;
    color: #4667ec;
    display: none;
    padding: 15px;
    box-sizing: border-box;
}

.infoText svg {
    min-width: 26px;
    height: auto;
}

.infoText span {
    color: #2F61C9;
    font-size: 16px;
    font-style: normal;
    font-weight: 300;
    line-height: 24px;
    margin-left: 20px;
}

.userMessage, .verificationErrorMsg {
    text-align: center;
    font-size: 23px;
    line-height: 28px;
    margin: 0 auto 0;
    color: #fff;
    width: 100%;
    max-width: 1080px;
}

@media only screen and (max-width: 767px) {
    header svg {
        width: 240px;
        margin-top: 0;
    }

    header h1 {
        font-size: 50px;
        line-height: 62px;
        margin: 20px 0 40px;
    }

    header h1 span {
        font-size: 50px;
        line-height: 62px;
    }

    .subtext:last-of-type {
        margin-bottom: 50px;
    }

    .container {
        width: 100%;
        max-width: 100%;
    }

    .formContainer {
        padding: 40px 20px;
    }

    .formContainer h2 {
        font-size: 40px;
        line-height: 50px;
        margin-bottom: 40px;
    }

    .formContainer h3 {
        margin-top: 20px;
    }

    .formContainer textarea {
        height: 130px;
    }

    .applicantFormContainer {
        width: 100%;
    }

    .btn {
        width: 100%;
    }
}
