.form-group {
    position: relative;
}

.header-holder .logo {
    vertical-align: inherit;
}

.registration-form-container {
    background-color: white;
    border: 1px solid #D1D1D1;
}

.registration-form-header {
    margin-left: 10px;
}
.registration-form-header h2 {
    margin-top: 0;
    margin-left: 3px;
}
.registration-form-header h1 {
    margin-bottom: 0;
}


.registration-progress-footer {
    border-top: 1px solid #c6bead;
    margin-left: 0;
    margin-right: 0;
    padding: 15px;
}

.progress {
    margin-bottom: 0;
}
.progress-label {
    padding-top: 9px;
}
.progress-label.start {
    float: left;
}
.progress-label.end {
    float: right;
}

.registration-progress-footer .btn-next {
    font-size: 25px;
    line-height: 1.3666666667;
    vertical-align: top;
    padding: 3px 15px 5px;
}

.account-registration-form label.custom-control {
    display: inline-block;
    padding-left: 26px;
}
.account-registration-form label.custom-control-wide {
    display: inline-block;
    padding-left: 26px;
}

p {
    font-size: 11px;
    margin-left: 0;
}
.jcf-select .jcf-select-text {
    font-size: 16px;
    padding-top: 8px;
    color: #3a679b;
    text-align: left;
}

.account-registration-form input[type="text"], .account-registration-form input[type="text"]::placeholder {
    font-size: 16px;
    color: #3a679b!important;
}

.account-registration-form label {
    font-weight: normal;
}

#hispanicOrigin label.custom-control {
    vertical-align: top;
}

body.reg-path .static-content-container {
    height: 513px;
    box-sizing: border-box;
}

body.reg-path .account-registration-form {
    height: 100%;
    margin-left: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding-bottom: 82px;
}

.account-registration-form h1 {
    margin-top: 0;
}

body.reg-path .registration-progress-footer {
    width: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
}

body.reg-path .account-registration-form h1 {
    margin-bottom: 30px;
    text-align: center;
}

body.reg-path .account-registration-form label.custom-control {
    color: #3a679b!important;
}

body.reg-path .account-registration-form label.custom-control:first-of-type {
    margin-right: 40px;
}

body.reg-path .step-4 .form-group {
    display: flex;
}

body.reg-path .account-registration-form.step-4 label.custom-control {
    margin-bottom: 10px;
    margin-right: 0;
}

body.reg-path .account-registration-form .indicator {
    margin-left: -30px;
}

body.reg-path .account-registration-form.step-4 .col-left {
    margin-right: 70px;
}

@media only screen and (max-width: 767px) {
    body.reg-path .static-content-container {
        height: auto;
        box-sizing: border-box;
    }

    body.reg-path .account-registration-form {
        padding-bottom: 0;
        margin-right: 0;
        justify-content: flex-start;
        padding-top: 30px;
    }

    body.reg-path .registration-progress-footer {
        width: 100%;
        position: relative;
        bottom: 0;
        margin-top: 30px;
    }

    body.reg-path .step-2 div#birthDate {
        width: inherit;
    }

    body.reg-path .step-4 .form-group {
        display: block;
    }
}


@media only screen and (min-width: 320px) and (max-width: 991px) {

    #header .container {
        width: calc(100% - 10px);
        margin-left: 10px;
    }

    .account-registration-form {
        margin: 0 12px;
    }

    .account-registration-form label {
        display: block;
    }

    .account-registration-form.step-1 label.custom-control,
    .account-registration-form.step-2 label.custom-control {
        width: 30%;
    }

    #hispanicOrigin {
        margin-bottom: 0;
    }
    #hispanicOrigin label:last-of-type {
        max-width: 150px;
        margin-bottom: 0;
    }
    #hispanicOrigin .custom-control {
        vertical-align: top;
    }

    .custom-control-md-wide .indicator {
        top: 7px;
    }

    .custom-control-sm-offset {
        top: 7px;
    }

    .gender-group .custom-control {
        margin-bottom:0;
        position: relative;
    }
    .gender-group .radio-validation-error-wrapper {
        margin-top: 10px;
    }


    .account-registration-form .inline-select-group.birthday-select {
        display: block;
        width: 100%;
    }

    .account-registration-form .inline-select-group.birthday-select > div{
        /*display: block;*/
        width: 100%;
        margin-bottom: 15px;
    }

    .account-registration-form .jcf-select {
        min-width: auto;
        width: 100%;
    }

    .account-registration-form input, .street-address-container, .address-signup, .account-registration-form textarea {
        width: 100%
    }
    .street-address-container > span {
        display: block;
    }
    .street-address-container > span:first-child {
        margin-bottom: 15px;
    }

    .registration-progress-footer .btn-next {
        display: block;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 15px;
        min-width: 218px;
        height: 60px;
    }
    .footer-nav.registration-footer-nav li {
        width: 50%;
    }
}

@media only screen and (min-width : 992px) {
    .footer-nav.registration-footer-nav li {
        width: 33%;
    }
    .account-registration-form {
        margin-left: 100px;
    }

    .account-registration-form.step-5 {
        height: 343px;
    }

    .account-registration-form.step-1 label,
    .account-registration-form.step-2 label {
        display: inline-block;
        width: 25%;
    }

    .account-registration-form.step-2 label {
        width: 20%;
        margin-right: 20px;
    }

    .street-address-container {
        display: inline-block;
        height: 85px;
        vertical-align: top;
    }

    .street-address-container > span:last-child {
        display: block;
    }
    .street-address-container > span:first-child {
        margin-bottom: 15px;
        display: inline-block;
     }

    .account-registration-form.step-1 label.custom-control,
    .account-registration-form.step-2 label.custom-control {
        width: 13%;
    }
    .account-registration-form.step-1 label.custom-control-md-wide,
    .account-registration-form.step-2 label.custom-control-md-wide {
        width: 20%;
    }

    .birthday-form-group {
        position: relative;
        /* top: 6px; */
    }

    .birthday-form-group > label {
        position: relative;
        vertical-align: top;
        top: 7px;
    }

    .form-group.sign-up-address {
        width: 500px;
        margin-left: 210px;
    }

    .form-group.sign-up-start-earn {
        width: 500px;
        margin-left: 243px;
    }

    .js-zip{
        padding-top: 9px;
    }

    /* .account-registration-form .inline-select-group.birthday-select {
        display: inline-block;
        position: relative;
        width: 69%;
    } */

    .account-registration-form .inline-select-group.birthday-select > div{
        display: inline-block;
        position: relative;
        width: 160px;
        margin-right: 30px;
        vertical-align: top;
    }

    .account-registration-form .birthday-select .jcf-select {
        min-width: auto;
        width: 100%;
    }

    .birthday-select .form-error-message {
        display: block;
        margin-left: 0;
        white-space: nowrap;
    }

    .sign-up-error {
        white-space: nowrap;
    }

    .block-validation-error-wrapper.sign-up-error {
        left: -27px !important;
        margin-top: 7px;
    }

    #ethnicity > label {
        position: relative;
        top: 7px;
    }

    .registration-progress-footer .btn-next {
        font-size: 25px;
        line-height: 1.3666666667;
        vertical-align: top;
        padding: 3px 15px 5px;
        float: right;
        min-width: auto;
        width: auto;
    }

    /*#hispanicOrigin .radio-validation-error-wrapper {*/
        /*top: 45px;*/
    /*}*/

    #hispanicOrigin .block-validation-error-wrapper {
        margin-top: -10px;
    }

    .block-validation-error-wrapper .radio-validation-error-wrapper {
        top: 5px;
    }

    .gender-group, .gender-group .custom-control {
        margin-bottom: 0;
    }
}
