body {
    font-family: 'Rubik', sans-serif;
}

#header.insurance-header h2 {
    font-size: 64px;
    max-width: 700px;
    margin: auto;
    text-align: center;
}

#header.insurance-header .quote-form .submit-btn {
    width: calc(100% - 240px);
    margin-left: 15px;
    display: inline-block;
    margin-top: 0;
}

.california-privacy-right {
    padding-top: 35px;
}

.california-privacy-right h1 {
    margin-bottom: 25px;
    font-weight: bold;
    font-size: 40px;
    line-height: 46px;
    font-family: 'Poppins', 'sans-serif';
}

.california-privacy-right .opt-out-form-wrapper label {
    font-weight: bold;
}

em {
    color: #e00e0e;
}

.hide-options {
    display: none;
}

img {
    vertical-align: middle;
    max-width: 100%;
}

.has-error {
    background: #fbbcbc !important;
    border: 2px solid #dc3545 !important;
}

#top-menu {
    background-color: #38b86f;
    padding: 10px;
    text-align: center;
    font-size: 20px;
    line-height: 23px;
    font-weight: 800;
    color: #ffffff;
    font-family: 'Rubik', sans-serif;
}

#top-menu img {
    vertical-align: unset;
    margin-left: 5px;
}

#main-menu {
    background: #ffffff;
    padding: 15px 0 15px 0;
    position: relative;
}

#main-menu .menu-brand {
    position: relative;
}

#main-menu .menu-brand .phone-wrapper {
    position: absolute;
    top: 0;
    right: 0;
}

#main-menu .menu-brand .phone-wrapper img {
    margin-right: 5px;
    vertical-align: unset;
}

#main-menu .menu-brand .phone-wrapper .phone-no {
    color: #222222;
    font-size: 24px;
    font-weight: 600;
    vertical-align: bottom;
}

#header {
    background-color: #ffffff;
    padding: 0;
}

#header .hero-container {
    color: white;
    text-align: center;
    background-image: linear-gradient(271deg, #010E5A, #013370, #010E5A);
    padding: 60px 0;
}

.hero-container-inner {
    max-width: 650px;
    margin: auto;
}

.hero-container-inner p {
    margin: 20px 0;
    font-size: 20px;
}

#header .promo-image {
    max-width: 100%;
}

#header .mobile-promo-image {
    display: none;
    margin: 35px auto;
}

#header h2 {
    color: #ffffff;
    font-family: 'Rubik', sans-serif;
    font-size: 50px;
    line-height: 60px;
    font-weight: 800;
}

#header .quote-form {
    margin: 20px auto auto auto;
    max-width: 600px;
}

.secure-tag {
    background-color: #E5EFFB;
    color: black;
    border-radius: 0 0 10px 10px;
    padding: 10px 20px;
    font-size: 15px;
}

.agent-available {
    display: flex;
    align-items: center;
}

.agent-available .status {
    background-color: #38b86f;
    width: 15px;
    height: 15px;
    margin-right: 8px;
    border-radius: 100%;
}

#header .quote-form input[type='tel'] {
    border-radius: 7px;
    color: #292929;
    vertical-align: top;
    outline: none;
    background: #ffffff;
    width: 100%;
    line-height: 28px;
    font-size: 24px;
    font-weight: 600;
    padding: 12px 15px;
    border: solid 2px #000000;
    margin-bottom: 30px;
}


#header .quote-form .submit-btn {
    max-width: 100%;
    color: #ffffff;
    font-family: 'Rubik', sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 26px;
    display: block;
    text-decoration: none;
    background-color: #ED1C24 !important;
    border-radius: 7px;
    margin-top: 0;
    padding: 16px 0;
}

#header .quote-form .submit-btn:hover {
    background: #ED1C24;
    color: #fdfdfd;
    transition: all 0.45s;
}

.insurance-provider {
    margin-top: 48px;
    padding: 0;
}

.insurance-provider h2 {
    font-size: 36px;
    margin-bottom: 30px;
    font-weight: 700;
}

.insurance-provider-logos {
    max-width: 800px;
    margin: auto;
}

.insurance-provider img {
    max-width: 100%;
}

.trust-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #E5EFFB;
    padding: 20px;
    border-radius: 10px;
    margin: 30px 0;
}

.trust-banner img {
    margin-right: 20px
}

.trust-banner h4 {
    font-size: 24px;
    margin-bottom: 0;
}

.phone-contact {
    color: #ffffff;
    font-family: "Poppins", sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 28px;
    letter-spacing: -0.28px;
    padding: 60px 15px;
    text-align: center;
}

.phone-contact span.phone-no {
    color: #1a84ff;
    line-height: 23px;
    font-weight: 700;
}

#features img {
    margin-left: 10px;
}

#contact-us-mobile {
    background-color: #1e3b3f;
    text-align: center;
    padding: 20px 0;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 23px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    text-decoration: none;
    display: none;
}

.slider-btn {
    position: relative;
}

.slider-btn:hover {
    transition: all 0.5s;
}

.slider-btn:hover .slider-btn-text-wrapper span:first-child {
    margin-left: 0;
}

.slider-btn:hover .slider-btn-text-wrapper span:last-child {
    margin-right: -100%;
}

.slider-btn .slider-btn-text-wrapper {
    overflow: hidden;
    height: 25px;
}

.slider-btn .slider-btn-text-wrapper img {
    margin-left: 10px;
    margin-bottom: 5px;
}

.slider-btn .slider-btn-text-wrapper span {
    display: inline-block;
    width: 100%;
    position: relative;
    text-align: center;
}

.slider-btn .slider-btn-text-wrapper span:first-child {
    margin-left: -103%;
    transition: margin-left .3s ease-in-out;
}

.slider-btn .slider-btn-text-wrapper span:last-child {
    margin-right: 0;
    transition: margin-right .3s ease-in-out;
}

@media (max-width: 380px) {
    #main-menu .brand img {
        max-width: 140px;
    }

    .trusted-shop {
        font-size: 13px;
    }
}

#footer {
    padding: 15px;
    color: #000000;
    font-size: 17px;
    font-weight: 400;
    line-height: 28px;
    text-align: left;
}

#footer a {
    padding-right: 20px;
    padding-bottom: 10px;
    display: inline-block;
    color: #000000;
    text-decoration: none;
}

#footer a:hover {
    color: darkblue;
}

#footer .tcpa-text {
    font-size: 14px;
    line-height: 25px;
    padding-top: 30px;
}

@media (max-width: 1024px) {
    #header {
        padding: 0px 0 30px 0;
    }

    #header.insurance-header h2 {
        font-size: 48px;
        line-height: 55px;
    }

    #header .quote-form select, #header .quote-form input[type='tel'] {
        max-width: 100%;
        margin-bottom: 15px;
    }

    #header.insurance-header .quote-form .submit-btn {
        margin-left: 0;
        width: 100%;
    }
}

@media (max-width: 768px) {
    #top-menu {
        display: none;
    }

    .trusted-shop {
        display: block;
        font-size: 18px;
        font-weight: bold;
        text-align: center;
        padding-bottom: 10px;
    }

    #contact-us-mobile {
        display: block;
    }

    #main-menu .menu-brand .phone-wrapper {
        display: none;
    }

    .menu-brand {
        text-align: center !important;
    }

    #header {
        text-align: center;
    }

    #header .promo-image {
        display: none;
    }

    #header .mobile-promo-image {
        display: block;
        max-width: 230px;
        margin: 20px auto;
    }

    #header h2 {
        max-width: 100%;
        font-size: 45px;
        line-height: 53px;
    }

    #header .quote-form input[type='tel'], #header .quote-form select, #header .quote-form .submit-btn {
        width: 100%;
        max-width: 100%;
        margin-bottom: 15px;
        display: block;
        text-align: center;
    }

    #header .quote-form .submit-btn {
        margin-bottom: 0 !important;
    }

    .phone-contact {
        font-size: 21px;
        line-height: 30px;
        padding-top: 20px;
        padding-bottom: 20px;
    }

    #footer {
        margin-bottom: 50px;
        text-align: left;
    }

    #footer a {
        display: block;
    }

    #footer p {
        margin-top: 15px;
    }
}

@media (max-width: 450px) {
    #main-menu .menu-left-section .slogan {
        font-size: 11px;
    }

    #main-menu .brand img {
        max-width: 155px;
        margin-right: 5px;
    }

    #header h2 {
        line-height: 46px;
        font-size: 38px;
    }

    #header .quote-form .submit-btn {
        font-size: 23px;
    }

    #header .hero-container {
        padding: 30px 0;
    }

    .insurance-provider h2 {
        font-size: 28px;
    }


    #header .quote-form {
        margin-top: 10px;
    }

    .insurance-provider {
        padding: 0;
        margin-top: 0;
    }

    .insurance-provider h2 {
        margin-bottom: 20px;
    }

    .trust-banner {
        display: block;
    }

    .trust-banner img {
        margin-bottom: 20px;
    }

    .phone-contact {
        font-size: 22px;
        line-height: 34px;
    }

    #contact-us-mobile {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    #header.insurance-header h2 {
        max-width: 100% !important;
    }

    #header.insurance-header .quote-form {
        max-width: 90%;
    }

    #header.insurance-header .quote-form .submit-btn {
        width: 100%;
        max-width: 100%;
        margin-left: 0;
    }
}

@media (max-width: 450px) {
    #header.insurance-header h2 {
        font-size: 35px;
    }

    #header.insurance-header .savings {
        font-size: 18px;
    }

    .hide-sm {
        display: none;
    }
}

@media (max-width: 320px) {
    #header h2 {
        font-size: 34px;
        line-height: 36px;
    }

    #contact-us-mobile {
        font-size: 16px;
    }
}
