main {
    width: 100%;
    font-family: 'Open Sans';
}

main p {
    margin: 0;
    padding: 0;
}

textarea {
    resize: none;
}

.shadowed {
    filter: "progid:DXImageTransform.Microsoft.Dropshadow(OffX=12, OffY=12,
 Color='#000';)";
 filter: url(#drop-shadow);
    -webkit-filter: drop-shadow(0 0px 16px rgba(0, 0, 0, 0.3));
    filter: drop-shadow(0 0px 16px rgba(0, 0, 0, 0.3));
}

.required-asterisk {
    color: #ff5b57;
    font-size: 11px;
    letter-spacing: 0.9px;
    font-weight: 500;
}

.content-container {
    width: 100%;
}

.top-section {
    width: 100%;
    padding-top: 50px;
    background-color: rgb(25, 132, 223);
    background-image: url('../img/background.png');
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.top-content {
    padding: 24px 16px 24px 5%;
    margin-bottom: 30px;
}

.logo-section {
    width: 100%;
    display: inline-block;
    margin-bottom: 30px;
}

.top-section-text {
    max-width: 580px;
    color: #ffffff;
}

.top-text-1, .top-text-2 {
    font-size: 29px;
    font-weight: 600;
    line-height: 1.38;
    letter-spacing: 0.2px;
    text-align: left;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.top-text-3 {
    font-size: 18px;
    line-height: 1.56;
    text-align: left;
    font-weight: 100;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin: 20px 0;
}

.top-text-list {
    font-size: 18px;
    text-align: left;
    font-weight: 100;
    padding-left: 20px;
}

.top-text-list>li {
    margin: 20px 0;
    padding-left: 10px;
}

.form-section-large {
    width: 100%;
    height: 100%;
    background-color: rgb(232, 232, 232);
    padding: 30px 19px 0;
    margin: 0 auto;
    background-repeat: no-repeat;
    background-position: top center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.form-tagline {
    font-size: 18px;
    line-height: 1.56;
    text-align: center;
    color: #333333;
}

.form-tagline-2 {
    font-family: Arial;
    font-size: 14px;
    font-style: italic;
    line-height: 2.0;
    text-align: center;
}

.line-separator {
    width: 60px;
    height: 1px;
    background-color: #9b9b9b;
    margin: 10px auto 20px;
}

.input-wrapper {
    margin-bottom: 15px;
}

.input-wrapper label {
    font-size: 14px;
    color: #333333;
    font-weight: 600;
}

.input-wrapper .form-control {
    background-color: #f7f7f7;
    border: solid 1px #d6d6d6;
}

.terms-disclosure {
    font-size: 11px;
    letter-spacing: 1.1px;
    text-align: left;
    display: inline-block;
    margin-bottom: 25px;
}

.btn-submit {
    width: 100%;
    height: 56px;
    border-radius: 3px;
    background-color: #ff7f41;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.1);
    color: white;
    font-family: 'Open Sans';
    font-size: 18px;
    font-weight: 300;
    text-align: center;
    border: none;
    margin: 15px 0;
}

.form-submit-confirm {
    display: none;
}

.form-confirm-text {
    font-size: 20px;
    text-align: center;
    font-weight: 600;
}

.form-confirm-link {
    font-size: 16px;
    text-align: center;
    font-weight: 300;
}

.contact-section-small {
    width: 100%;
    background-color: #1984df;
    display: inline-block;
}

.contact-section-large {
    display: none;
}

.contact-block {
    margin-top: 40px;
    text-align: center;
    color: #333333;
    word-wrap: break-word;
}

.contact-block-top {
    background-color: #f5f7f9;
    border: solid 1px #f5f7f9;
    padding: 0 15px;
}

.contact-photo {
    width: 160px;
    height: 160px;
    margin: -15px auto 15px;
    background-repeat: no-repeat;
    background-position: center top;
    -webkit-background-size: contain;
    -moz-background-size: contain;
    -o-background-size: contain;
    background-size: contain;
}

.contact-job-title {
    font-size: 14px;
    line-height: 1.43;
    letter-spacing: 0.4px;
    margin-bottom: 5px;
}

.contact-name {
    font-size: 24px;
    font-weight: 600;
    line-height: 1.67;
    letter-spacing: 0.8px;
}

.contact-license-small {
    font-size: 14px;
    font-style: italic;
    line-height: 1.43;
    letter-spacing: 0.5px;
}

.contact-license-large{
    display: none;
}

.contact-numbers, .contact-website, .contact-email {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.43;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.contact-numbers {
    margin-top: 10px;
}

.number-separator {
    visibility: hidden;
    margin: 0 4px;
    vertical-align: middle;
}

.contact-email {
    margin-bottom: 40px;
}

.number-type {
    line-height: 1.43;
    letter-spacing: 0.5px;
    color: #9b9b9b;
}

.contact-logo-wrap {
    width: 100%;
    height: 60px;
    padding: 8px;
    background-color: #ffffff;
    box-shadow: 0 3px 10px 0 rgba(0, 0, 0, 0.2);
    position: relative;
}

.contact-logo {
    width: 140px;
    height: 44px;
    margin: 0 auto;
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-background-size: contain;
    -moz-background-size: contain;
    -o-background-size: contain;
    background-size: contain;
}

footer {
    width: 100%;
    background-color: rgb(246, 246, 246);
}

.disclaimer-section {
    padding: 30px;
    background-color: #1a84df;
}

.eh-logo {
    width: 150px;
    height: 150px;
    margin: 0 15px 20px 0;
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-background-size: contain;
    -moz-background-size: contain;
    -o-background-size: contain;
    background-size: contain;
    display: block;
}

.disclaimer-text {
    font-family: 'Open Sans';
    font-size: 11px;
    text-align: justify;
    color: #fff;
    display: block;
}

.disclaimer-text a{
    color: #fff;
}

@media only screen and (min-width: 698px) {
    .m-b-40 {
        margin-bottom: 40px;
    }
    .top-content {
        padding: 24px 16px 24px 10%;
    }
    .form-section-large {
        --form-shell-width: 525px;
        --form-shell-fill-start: calc(var(--form-shell-width) * 0.457);
        width: var(--form-shell-width);
        min-height: calc(var(--form-shell-width) * 1.743);
        background-image:
            linear-gradient(rgb(232, 241, 249), rgb(232, 241, 249)),
            url('../img/house-form-md.png');
        background-repeat: no-repeat, no-repeat;
        background-position: center var(--form-shell-fill-start), top center;
        background-size:
            78% calc(100% - var(--form-shell-fill-start)),
            100% auto;
        padding:
            calc(var(--form-shell-width) * 0.371)
            calc(var(--form-shell-width) * 0.162)
            30px;
        background-color: transparent;
    }
    .disclaimer-section {
        padding: 30px 10%;
    }
}

@media only screen and (min-width: 1300px) {
    .top-section {
        min-height: 1500px;
    }
    .top-content {
        padding: 0;
    }
    .top-content-centered {
        margin: 0 auto;
        width: 1230px;
    }
    .top-content {
        width: 580px;
        min-height: 1160px;
        margin: 0 30px 50px 0;
        float: left;
        display: inline-block;
    }
    .section-separator {
        width: 100%;
        background-color: white;
        display: inline-block;
        height: 1px;
    }
    .top-section-text {
        margin-top: 85px;
        padding: 0 40px 12px 0;
        display: inline-block;
    }
    .top-text-1, .top-text-2 {
        font-size: 48px;
        line-height: 1.25;
        letter-spacing: 0.5px;
    }
    .top-text-3 {
        font-size: 24px;
        line-height: 1.67;
    }
    .form-section-large {
        --form-shell-width: 620px;
        --form-shell-fill-start: calc(var(--form-shell-width) * 0.448);
        width: var(--form-shell-width);
        min-height: calc(var(--form-shell-width) * 1.581);
        padding:
            calc(var(--form-shell-width) * 0.403)
            calc(var(--form-shell-width) * 0.173)
            30px;
        margin-top: 60px;
        display: inline-block;
        background-image:
            linear-gradient(rgb(232, 241, 249), rgb(232, 241, 249)),
            url('../img/house-form-lg.png');
        background-repeat: no-repeat, no-repeat;
        background-position: center var(--form-shell-fill-start), top center;
        background-size:
            79% calc(100% - var(--form-shell-fill-start)),
            100% auto;
    }
    .form-tagline {
        font-size: 24px;
        line-height: 1.67;
    }
    .line-separator {
        margin: 15px auto 25px;
    }
    .btn-submit {
        width: 100%;
        margin-bottom: 27px;
    }
    .input-wrapper .form-control {
        opacity: 0.8;
        background-color: #ffffff;
        box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.16);
    }
    .contact-section-large {
        background-color: initial;
        display: inline-block;
        margin-top: 45px;
    }
    .contact-section-small {
        display: none;
    }
    .contact-block {
        width: 603px;
        height: 260px;
        text-align: left;
        display: inline-block;
        word-wrap: break-word;
    }
    .contact-block-top {
        width: 100%;
        min-height: 210px;
        font-family: 'Open Sans';
        text-align: left;
        letter-spacing: 0.5px;
        line-height: 1.43;
        font-size: 14px;
        font-weight: 100;
        padding: 8px 0 0 8px;
    }
    .contact-photo {
        width: 150px;
        height: 180px;
        background-repeat: no-repeat;
        background-position: top center;
        -webkit-background-size: contain;
        -moz-background-size: contain;
        -o-background-size: contain;
        background-size: contain;
        float: left;
        margin: 0 18px 0 0;
    }
    .contact-job-title {
        font-size: 14px;
        font-style: italic;
        line-height: 1.56;
        letter-spacing: 0.5px;
        margin: 0;
    }
    .number-separator {
        margin: 0 10px;
        vertical-align: middle;
    }
    .nmls-separator {
        margin: 0 10px;
        font-size: 12px;
        vertical-align: middle;
    }
    .contact-name {
        font-size: 24px;
        line-height: 1.6;
        letter-spacing: 1px;
    }
    .contact-license-large {
        font-size: 14px;
        font-style: normal;
        display: initial;
    }
    .contact-license-small {
        display: none;
    }
    footer {
        background-color: #1984df;
    }
    .disclaimer-section {
        padding: 30px 10px;
        width: 1220px;
        margin: 0 auto;
    }
    .eh-logo {
        float: left;
    }
    .disclaimer-text {
        display: inline-block;
        width: 1120px;
        color: white;
    }
}
