html,
body {
    height: 100%;
}

html {
    font-size: 14px;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: .9375rem;
}

body .content {
    min-height: 100%;
    padding-bottom: 450px;
}

a {
    text-decoration: none;
}

.mb-xs {
    margin-bottom: 5px;
}

.mb-sm {
    margin-bottom: 10px;
}

.mb-md {
    margin-bottom: 20px;
}

.mr-xs {
    margin-right: 5px;
}

.mr-sm {
    margin-right: 10px;
}

.mr-md {
    margin-right: 20px;
}

.mobile-only {
    display: block;
}

.desktop-only {
    display: none;
}

.header {
    padding-top: 5px;
    padding-bottom: 10px;
    text-align: center;
}

.header-logo img {
    display: inline-block;
    width: 200px;
}

.header-contact {
    font-size: .875rem;
    font-weight: 600;
}

.header-phone-cta {
    margin: 5px auto;
}

.header-phone {
    color: #20A51D;
    font-size: 1.5rem;
}

.header-phone a,
.header-phone a:hover {
    color: #20A51D;
    text-decoration: none;
}

.header-tty {
    font-size: .75rem;
    font-weight: 400;
    line-height: 1.2;
}

.banner {
    min-height: 500px;
    background: url('../images/auto-insurance-banner-mobile.jpg') no-repeat center center;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    position: relative;
}

.contact-page .banner {
    background: url('../images/auto-insurance-banner-mobile.jpg') no-repeat center top;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}

.banner-title {
    padding-top: 15px;
    padding-bottom: 30px;
}

.banner-title h1 .banner-title-pri {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -1px;
}

.banner-title h1 .banner-title-sec {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: -1px;
}

.contact-page .banner .banner-title h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
    color: #fff;
    text-shadow: 1px 1px rgba(0, 0, 0, .5);
}

.banner-form-container {
    background-color: transparent;
    background-image: linear-gradient(180deg, #09A8B3 0%, #FFFFFF 100%);
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
    border-radius: 15px;
    display: inline-block;
    max-width: 90%;
    padding: 10px 30px;
}

.banner-form-container .btn.btn-lg {
    font-size: 16px;
    line-height: 1.33333;
}

.banner-form .form-group label {
    font-size: .75rem;
    font-weight: 300;
    line-height: 1;
    margin-left: 3px;
}

.banner-form-text {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
}

.banner-cta {
    background: #fff;
    color: #fff;
    padding-top: 30px;
    padding-bottom: 30px;
}

.banner-cta .row>div:not(:last-child) {
    margin-bottom: 40px;
}

.banner-cta-icon {
    font-size: 2.125rem;
    margin-bottom: 10px;
}

.banner-cta-title {
    font-size: 1.375rem;
    line-height: 1.5;
    font-weight: 600;
}

.banner-cta-body {
    line-height: 1.5;
}

.body-1 {
    padding-top: 20px;
    padding-bottom: 40px;
    text-align: center;
}

.body-1-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.25;
}

.body-1-text p {
    font-size: .875rem;
    line-height: 1.5;
    margin-top: 20px;
}

.body-1-text {
    margin-bottom: 20px;
}

.body-1-img {
    margin: 0 auto;
    max-width: 75%;
}

.body-1-img img {
    max-width: 100%
}

.body-2 {
    background: #f3f9f9;
    border-top: 1px solid #dae7e6;
    padding-bottom: 40px;
}

.body-2 h2 {
    font-size: 2rem;
    font-weight: 600;
}

.body-2 h4 {
    font-size: 1.125rem;
    line-height: 1.5;
    font-weight: 600;
    margin-top: 30px;
}

.body-2 .row>div {
    margin-top: 40px;
}

.body-2-icon {
    color: #77D565;
    font-size: 2.125rem;
    margin-bottom: 10px;
}

.body-2-title {
    font-size: 1.125rem;
    line-height: 1.5;
    font-weight: 600;
}

.body-2-body {
    font-size: .875rem;
    line-height: 1.5;
}

.body-cta {
    background: #009C79;
    color: #fff;
    padding-top: 30px;
    padding-bottom: 50px;
}

.body-cta-text h6 {
    font-size: .75rem;
    font-weight: 600;
}

.body-cta-text h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.body-3 {
    background: #f3f9f9;
    font-size: .875rem;
    padding-top: 40px;
    padding-bottom: 40px;
}

.body-3-img img {
    display: inline-block;
    max-width: 100%;
}

.body-3-img:nth-child(1) {
    text-align: right;
    padding: 0 5px 5px 0;
}

.body-3-img:nth-child(2) {
    padding: 0 0 5px 5px;
}

.body-3-img:nth-child(3) {
    text-align: right;
    padding: 5px 5px 0 0;
}

.body-3-img:nth-child(4) {
    padding: 5px 0 0 5px;
}

.body-3-text h2 {
    font-size: 2rem;
    font-weight: 600;
}

.body-3-text p,
.body-3-text ul>li {
    line-height: 1.5;
}

.body-3-text ul {
    padding: 0;
    list-style-type: none;
    margin: 0;
}

.body-3-text ul>li>i.far {
    color: #207fdc;
    margin-right: 5px;
}

.footer-cta-container {
    padding-bottom: 20px;
}

.footer-cta-container h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

.footer-form {
    display: inline-block;
    margin-top: 40px;
    max-width: 75%;
}

.footer-form .form-group label {
    font-size: .75rem;
    font-weight: 300;
    line-height: 1;
    margin-left: 3px;
}

.footer-form-text {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 20px;
}

.footer {
    background: #6F7073;
    color: #fff;
    padding-top: 20px;
    height: 450px;
    min-height: 450px;
    max-height: 450px;
    margin-top: -450px;
}

.footer-logo img {
    display: inline-block;
    width: 300px;
}

.footer-contact {
    font-size: .875rem;
    font-weight: 600;
}

.footer-phone {
    color: #20A51D;
    font-size: 1.125rem;
}

.footer-phone a,
.footer-phone a:hover {
    color: #20A51D;
    text-decoration: none;
}

.footer .container:first-child {
    margin-bottom: 20px;
    text-align: center;
}

.footer-links {
    font-size: .875rem;
}

.copy-text {
    font-size: .625rem;
}

.copy-legal {
    font-size: .7rem;
    text-align: center;
}

.footer-links ul {
    font-size: .875rem;
    font-weight: 300;
    padding: 0;
    list-style-type: none;
    text-align: center;
    margin: 20px 0 0 0;
}

.footer-links ul li {
    display: inline-block;
}

.footer-links ul li:not(:first-child)::before {
    content: "|";
    opacity: .25;
    margin-right: 2px;
    text-align: center;
    width: 10px;
    display: inline-block;
}

.footer-links ul a,
.footer-links ul a:hover {
    color: #fff;
    text-decoration: none;
}

.legal-page {
    background: #f5f5f5;
}

.legal-content {
    background: #fff;
    margin-top: 40px;
    margin-bottom: 40px;
    padding: 40px;
}

.legal-content h1 {
    font-size: 1.875rem;
    margin-top: 0;
    margin-bottom: 20px;
}

.legal-content p {
    font-size: .9375rem;
    line-height: 2;
}

.legal-content ol>li>p:first-child {
    font-weight: 700;
}

.contact-body {
    padding-top: 40px;
    padding-bottom: 40px;
}

.contact-body>.container>.row>div:first-child {
    margin-bottom: 20px;
}

.contact-body h2,
.contact-body p {
    margin: 0 0 20px 0;
}

.contact-body h2 {
    font-size: 2.1875rem;
    font-weight: 600;
}

.contact-body .divider {
    width: 55%;
    border-top: 1px solid rgba(51, 51, 51, .5);
    margin-bottom: 20px;
}

.contact-body p a,
.contact-body p a:hover {
    color: #333;
    text-decoration: none;
}

.contact-body .map_container {
    max-width: 100%;
}

.contact-body .map_container .map_content {
    overflow: hidden;
    padding-top: 56.25%;
    position: relative;
}

.contact-body .map_container .map_content iframe {
    border: 0;
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

.progress-container {
    background: #009C79;
    color: #fff;
    padding-top: 10px;
    padding-bottom: 15px;
}

.progress-text {
    font-size: .875rem;
    font-weight: 600;
    line-height: 1;
    padding-bottom: 5px;
    text-align: center;
}

.progress {
    margin: 0;
}

.progress-bar {
    position: relative;
}

.progress-bar-heading {
    position: absolute;
    top: 0;
    text-transform: uppercase;
    left: 10px;
}

.progress-bar-value {
    position: absolute;
    top: 0;
    right: 10px;
}

.forms-container .form-question {
    padding-bottom: 20px;
}

.forms-container h1 {
    font-size: 1.625rem;
    line-height: 1.25;
    font-weight: 600;
    margin-bottom: 20px;
}

.form-question button {
    display: block;
    max-width: 350px;
    margin: 10px auto;
}

.form-question .row {
    max-width: 350px;
    margin: 0 auto;
}

.thank-you-page .container h1 {
    font-size: 1.75rem;
    line-height: 1.25;
    font-weight: 600;
    margin-bottom: 0;
}

.forms-container .form-question .row-no-gutters>div:not(:last-child) {
    padding-right: 5px;
}

.forms-container .form-question .row-no-gutters>div:not(:first-child) {
    padding-left: 5px;
}

.forms-container .form-question .row-no-gutters>div>label {
    font-size: .75rem;
    font-weight: 300;
    line-height: 1;
    margin-left: 3px;
}

.forms-container select.input-lg {
    padding-left: 5px;
}

.forms-container select.input-lg option {
    font-size: .875rem;
    line-height: 1;
    padding-top: 0;
    padding-bottom: 0;
    margin: 0;
}

.form-disc {
    font-size: .75rem;
    font-weight: 400;
    line-height: 1.2;
    margin-top: 40px;
    margin-bottom: 80px;
}

.form-disc a,
.form-disc a:hover,
.form-disc a:focus {
    text-decoration: underline;
}

.thank-you-page .container h2,
.thank-you-page .container h3 {
    font-size: 1.5rem;
    line-height: 1.25;
    font-weight: 600;
    margin-top: 5px;
    margin-bottom: 0;
}

.thank-you-page .page-body .btn {
    margin-top: 20px;
    margin-bottom: 20px;
}

.modal-partners-list .modal-header {
    padding: 5px 15px;
}

.modal-partners-list .modal-body {
    padding: 5px 15px 15px;
}

.modal-partners-list h4 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.25;
}

.modal-partners-list p {
    font-size: .875rem;
    font-weight: 400;
    line-height: 1.33333;
    margin: 0;
}

.partner-logos {
    display: inline-block;
    background-image: url('../images/client-logos.svg');
    background-position: center;
    background-repeat: no-repeat;
    color: rgba(0, 0, 0, 0);
    font-size: 0;
    background-color: #fff;
    width: 120px;
    height: 50px;
    margin: 15px;
    background-size: 425%;
    vertical-align: baseline;
}

.logo-21st-century {
    background-position: -3% -30%;
}

.logo-allstate {
    background-position: 30% -37%;
}

.logo-progressive {
    background-position: 65% -37%;
}

.logo-liberty-mutual {
    background-position: 100% -34%;
}

.logo-nationwide {
    background-position: -3% 135%;
}

.logo-statefarm {
    background-position: 30% 135%;
}

.logo-travellers {
    background-position: 65% 135%;
}

/* Need to accomodate iPhone SE */
@media (min-width: 325px) {
    body .content {
        min-height: 100%;
        padding-bottom: 425px;
    }

    .banner-title {
        padding-top: 20px;
        padding-bottom: 40px;
    }

    .footer {
        height: 425px;
        min-height: 425px;
        max-height: 425px;
        margin-top: -425px;
    }
}

@media (min-width: 576px) {
    html {
        font-size: 16px;
    }

    .header-logo img {
        width: 250px;
    }

    .banner-title h1 .banner-title-pri {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }

    .banner-title h1 .banner-title-sec {
        font-size: 2rem;
        letter-spacing: -1px;
    }

    .banner-form-container .btn.btn-lg {
        font-size: 18px;
        line-height: 1.33333;
    }

    .body-1-img {
        margin: 0 auto;
        max-width: 400px;
    }

    .footer .container:last-child {
        text-align: center;
    }

    .footer-links ul {
        text-align: center;
    }

    .footer-links ul>li {
        display: inline-block;
    }
}

@media (min-width: 768px) {
    .mobile-only {
        display: none;
    }

    .desktop-only {
        display: block;
    }

    body .content {
        padding-bottom: 275px;
    }

    .header {
        padding-top: 20px;
        text-align: left;
    }

    .header-logo {
        display: inline-block;
    }

    .header-logo img {
        width: 300px;
    }

    .header-contact {
        float: right;
        text-align: right;
    }

    .banner {
        background: url('../images/auto-insurance-banner.jpg') no-repeat center center;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
    }

    .contact-page .banner {
        background: url('../images/auto-insurance-banner.jpg') no-repeat center top;
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
        background-size: cover;
    }

    .banner-title h1 .banner-title-pri {
        font-size: 3rem;
        letter-spacing: -2px;
    }

    .banner-title h1 .banner-title-sec {
        font-size: 2.5rem;
        letter-spacing: -2px;
    }

    .banner-form-container {
        max-width: 500px;
    }

    .banner-cta .row>div:not(:last-child) {
        margin-bottom: 0;
        position: relative;
    }

    .banner-cta .row>div:nth-child(2)::before,
    .banner-cta .row>div:nth-child(2)::after {
        content: "";
        position: absolute;
        top: 50%;
        border-left: 1px solid rgba(255, 255, 255, .5);
        height: 80%;
        transform: translateY(-50%);
    }

    .banner-cta .row>div:nth-child(2)::before {
        left: 0;
    }

    .banner-cta .row>div:nth-child(2)::after {
        right: 0;
    }

    .footer {
        height: 275px;
        min-height: 275px;
        max-height: 275px;
        margin-top: -275px;
        text-align: left;
    }

    .footer .container:first-child {
        text-align: left;
    }

    .footer-logo {
        display: inline-block;
    }

    .footer-contact {
        float: right;
        text-align: right;
    }

    .progress-container {
        padding-top: 20px;
        padding-bottom: 25px;
    }

    .progress-text {
        font-size: 1.125rem;
        line-height: 1;
        padding-bottom: 5px;
    }

    .form-question label,
    .form-question button {
        display: block;
    }

    .thank-you-page .container h1 {
        font-size: 2rem;
        line-height: 1.25;
    }

    .thank-you-page .container h2,
    .thank-you-page .container h3 {
        font-size: 1.75rem;
        line-height: 1.25;
    }
}

@media (min-width: 992px) {
    body .content {
        padding-bottom: 250px;
    }

    .body-1 {
        text-align: left;
    }

    .body-1>.container {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        flex-direction: row-reverse;
    }

    .body-1>.container>div {
        width: 50%;
    }

    .body-1-img {
        margin: 0;
        max-width: 100%;
    }

    .body-1-img img {
        margin: 25px;
        width: 350px;
    }

    .footer {
        height: 250px;
        min-height: 250px;
        max-height: 250px;
        margin-top: -250px;
    }

    .footer .container:last-child {
        text-align: left;
    }

    .footer-copy {
        display: inline-block;
        width: 75%;
    }

    .copy-legal {
        text-align: left;
    }

    .footer-links {
        float: right;
    }

    .footer-links ul {
        text-align: right;
        margin-top: 0;
        margin-bottom: 0;
    }

    .footer-links ul>li {
        display: block;
    }

    .footer-links ul>li:not(:first-child)::before {
        content: "";
    }

    .contact-body>.container>.row>div:first-child {
        margin-bottom: 0;
    }

    .partner-logos {
        width: 192px;
        height: 80px;
    }
}

@media (min-width: 1200px) {
    .partner-logos {
        width: 240px;
        height: 100px;
    }
}