
body {
    margin: 0;
    color: grey;
    font-family: "Roboto", sans-serif !important;
}
.hide { opacity:0; transition: 1s ease-out;}

.hide-otto-option {
    animation: fadeIn 500ms;
    display: none !important;
}

.show-otto-option {
    animation: fadeIn 500ms;
    display: flex !important;
}

.show-otto-text {
    animation: fadeIn 500ms;
    display: block !important;
}

.in { opacity: 1;}
.hidden-links {
    clip: rect(1px 1px 1px 1px); /* IE 6/7 */
    clip: rect(1px, 1px, 1px, 1px);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}
.otto2-container {overflow: hidden; }
.otto2-background {
    height: 100vh;
    min-height: 100vh;
    min-width: 100%;
    background-color: #ffffff;
    background-size: contain;
    background-position-x: 145%;
    background-position-y: 3.5rem;
    background-repeat: no-repeat;
}

.otto2-logo-container {
    margin: 8px 15px;
    flex: 3;
}

.masthead {
    padding: 1rem 0rem 0 5rem;
    position: relative;
    min-height: 65vh;
    background: #e9e9e9;
    background-repeat: no-repeat;
    background-position: 95% bottom;
    background-size: 26%;
}

.masthead .text-container{
    padding-top: 7.5%;
}

h1 {
    color: #222c4f;
    margin: 0;
    text-transform: uppercase;
    font-size: 4rem;
    font-weight: 500;
    line-height: 1;
}

h2 {
    color: #222c4f;
    margin: 0;
    text-transform: uppercase;
    font-size: 46px;
    font-weight: 500;
}

h3, .bold-blue {
    font-weight: bold;
    font-size: 1.5rem;
    color:#128ced;
    margin: 0 0 0 2px;
    line-height: 2;
}

#otto-text-line1 {
    line-height: 2;
}

.masthead p, .masthead h2.sub {
    color: #222c4f;
    font-size: 2.65rem;
    font-weight: 300;
    margin-top: 0px;
    margin-bottom: 24px;
    text-transform: capitalize;
}

.rates-btn {
    padding:11px 36px 8px 36px;
    font-weight: 400;
    text-decoration: none;
    font-size: 22px;
    color: #ffffff;
    background-color: #128ced;
    border: 1px solid #128ced;
    border-radius: 5px;
    -webkit-transition: all .125s ease;
    transition: all .125s ease;
    cursor: pointer;
}

.rates-btn:hover{
    opacity: .8;
}

.margin-bottom-rates-btn {
    margin-bottom: 40px !important;
}

.bigger-button {
    padding: 23px 50px 20px 36px;
    margin-top: 30px;
}

.verticalCTA {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    margin-top: 2%;
    padding: 0rem 4% 3rem 4%;
    background: transparent;
    justify-content: center;
}

.verticalBtn-container{
    padding: 0 25px;
}

.verticalBtn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    padding: 2rem 0;
    max-width: 18rem;
    color: #222c4f;
    text-decoration: none;
    text-transform: uppercase;
    background:#ffffff;
    border-radius: 10px;
    -webkit-box-shadow: 0px 0px 15px 0px rgb(0 0 0 / 30%);
    -moz-box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.3);
    box-shadow: 0px 0px 15px 0px rgb(0 0 0 / 30%);
    -webkit-transition: all .125s ease;
    transition: all .125s ease;
    cursor: pointer;
}

.verticalBtn:hover {
    -webkit-box-shadow: 0px 5px 5px 5px rgb(0 0 0 / 30%);
    -moz-box-shadow: 0px 5px 5px 5px rgb(0 0 0 / 30%);
    box-shadow: 0px 5px 5px 5px rgb(0 0 0 / 30%);
}

.verticalBtn span {
    position: relative;
    font-weight: 700;
    font-size: 22px;
    margin-left: -10px;
}

.verticalBtn span:after {
    content: '➜';
    position: absolute;
    right: -25px;
}

.verticalIcon {
    margin-bottom: 2rem;
    width: 55%;
    height: auto;
}

.verticalIcon .auto, .pet, .home, .life {
    width: 100%;
    height: auto;
}

.getQuote-container {
    margin-bottom: 20px;
    text-align: center;
}


.otto2-logo {
    max-width: 12rem;
    margin-left: 2rem;
}

.testimonial {
    flex: 1 0 15%;
    margin: 5px;
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    padding-right: 30px;
}

.testimonial:last-child {
    padding-right: 0;
}

.testimonial p {
    font-size: 14px;
}

.otto2-footer {
    font-weight: 300;
    color: #535353;
    padding: 1.5rem 5rem;
    background-color: #ededed;
}

.otto-social-container {
    text-align: right;
}

ul.otto-footer-social {
    list-style: none;
    padding: 0;
    display: inline-flex;
}

ul.otto-footer-social li {
    color: #535353;
    margin: 0 5px;
}

ul.otto-footer-social li:hover {
    opacity: 0.7;
}

.otto-footer-social-icon {
    width: 35px;
    height: 35px;
}

.otto2-inline-links {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
}

.otto2-guide-links {
    margin-bottom: 1rem;
}

.otto2-header-links {
    text-align: right;
    justify-content: flex-end;
}

.otto2-header-link {
    margin-right: 1rem;
    padding-right: 1rem;
    text-decoration: none;
    color: #535353;
    font-weight: 500;
    border-right: 0px solid #535353;
    -webkit-transition: all .125s ease;
    transition: all .25s ease;
}

.otto2-header-link:hover {
    text-decoration: none;
    opacity: .7;
}

.facebook, .phone, .twitter, .youtube {

}

.headerCTAContainer {
    display: inline-flex;
    justify-content: center;
    flex-direction: column;
    margin-right: 10px;
}

.mobileCallAgentContainer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.phone-number-container {
    display: inline-flex;
    justify-content: center;
    flex-direction: column;
}

.phone-number-container {
    color: black;
    opacity: .9;
}

.phone-number {
    color: #008bff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1;
}

.availableContainer {
    display: inline-flex;
    justify-content: center;
}

.availableCircle {
    display: -webkit-inline-box;
    color: #71b333;
    font-size: 2.5rem;
    margin-right: 3px;
    line-height: .4em;
    margin-top: 3px;
}

.availableText {
    color: #717171;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
}

.callButton{
    color: #ffffff;
    padding: 4px 10px;
    font-size: 14px;
    font-weight: 900;
    margin-right: 1rem;
    border-radius: 4px;
    text-decoration: none;
    background-color: #2371DF;
}


.otto2-phone-link {
    margin-right: 2rem;
    color: #38445f;
    text-decoration: none;
    -webkit-transition: all .125s ease;
    transition: all .25s ease;
}

.otto2-phone-link:hover {
    text-decoration: none;
    opacity: .7;
}

.xs-6 {
    flex-grow: 0;
    max-width: 50%;
    flex-basis: 50%;
}

.xs-10 {
    flex-grow: 0;
    max-width: 83.333333%;
    flex-basis: 83.333333%;
}

.xs-12 {
    flex-grow: 0;
    max-width: 100%;
    flex-basis: 100%;
}

.sm-2 {
    flex-grow: 0;
    max-width: 20%;
    flex-basis: 20%;
}
.sm-3 {
    flex-grow: 0;
    max-width: 25%;
    flex-basis: 25%;
}

.sm-4 {
    flex-grow: 0;
    max-width: 33.333333%;
    flex-basis: 33.333333%;
}

.sm-5 {
    flex-grow: 0;
    max-width: 41.666667%;
    flex-basis: 41.666667%;
}

.sm-6 {
    flex-grow: 0;
    max-width: 50%;
    flex-basis: 50%;
}

.sm-7 {
    flex-grow: 0;
    max-width: 58.333333%;
    flex-basis: 58.333333%;
}

.sm-8 {
    flex-grow: 0;
    max-width: 66.666667%;
    flex-basis: 66.666667%;
}

.sm-4 {
    flex-grow: 0;
    max-width: 33.333333%;
    flex-basis: 33.333333%;
}

.md-8 {
    flex-grow: 0;
    max-width: 66.666667%;
    flex-basis: 66.666667%;
}

.md-4 {
    flex-grow: 0;
    max-width: 33.333333%;
    flex-basis: 33.333333%;
}

.justify-center {
    justify-content: center;
}

.align-flex-start {
    align-items: flex-start;
}

.align-items-center {
    align-items: center;
}

.container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
}

.wrapper {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 1440px;
}

.item {
    margin: 0;
    box-sizing: border-box;
}

.otto2-phone-link-icon {
    margin-bottom: -15px;
    margin-right: 0px;
}

.otto2-insurance-icons {
    text-align: center;
}

.otto2-learn-more-container {
    background-color: #222c4f;
    padding:2rem 5rem 2rem 7rem;
}

.otto2-learn-more-heading {
    margin-top:10px;
    color: white;
    font-size: 48px;
    margin-bottom: 0;
}

.otto2-learn-more-content {
    margin-top: 20px;
    padding-left: 0;
    text-align: left;
    color: white;
    font-size: 32px;
    font-weight: 100;
    width: 80%;
}
.text-right {
    text-align: right;
}

.otto2-compare-content {
    float: right;
    margin-top: 10px;
    text-align: right;
    color: white;
    font-size: 32px;
    font-weight: 100;
    width: 80%;
}

.otto2-compare-content p {
    margin-top: 0;
}

.otto2-phone-form-container {
    min-height: 35rem;
    position: relative;
}

.otto2-form-image-1 {
    height: 30rem;
    width:auto;
    position: absolute;
    z-index: 900;
    top: 0;
    right: 0px;
}

.otto-mascot {
    width: auto;
    height: 95%;
    display: flex;
    position: absolute;
    bottom: 0;
    top: 1rem;
}

.otto-mascot-quiz {
    width: auto;
    height: 95%;
    display: flex;
    position: absolute;
    bottom: 0;
    top: 1rem;
}

 .otto-mascot-save {
    width: auto;
    height: 95%;
    display: flex;
    position: absolute;
    bottom: 0;
    top: 1rem;
}

.otto2-otto-phone-savings {
    max-width: 25rem;
}

.otto2-compare-image-container {
    margin-bottom: 3rem;
    text-align: center;
}

.choose-content > li {
    margin-bottom: 1rem;
}

.testimonial-container {
    margin: 1.5rem auto 1.5rem auto;
    width: 78%;
    font-size: 18px;
    color: #535353;
}

.testimonial-single-container {
    margin: 3rem auto;
    width: 20%;
    font-size: 18px;
    color: #535353;
}

.testimonial-title {
    color: #000000;
    font-size: 50px;
    text-align: center;
    font-weight: 600;
    margin: 0;
    margin-top: 3rem;
}

.otto2-email-link {
    text-decoration: none;
    font-weight: bolder;
}


.otto2-footer-insurance-links > a {
    text-decoration: none;
    margin-right: 3rem;
    font-weight: 500;
    font-size: 20px;
}

.news-story-container p {
    margin-top: 0;
    line-height: 1.5;
}

.hide-on-desktop {
    display: none;
}


@media only screen and (min-width: 1800px){
    .verticalCTA {
        margin-top: 2%;
        padding: 0 3.5rem 3rem 3.5rem;
    }
    .verticalBtn {max-width: 25rem;}
    .otto2-header-links {
        justify-content: flex-end;
        padding-right: 3rem;
    }
    .wrapper {
        max-width: 1800px;
        margin: 0 auto;
    }
    .otto2-phone-form-container {
        min-height: 42rem;
    }
    .otto2-form-image-1 {
        height: 42rem;
    }
}
@media only screen and (min-width: 2000px){
    .wrapper {
        max-width: 2000px;
        margin: 0 auto;
    }
    .masthead .text-container span{
        font-size: 3.5rem;
    }
    .masthead .text-container h1{
        font-size: 6.5rem;
    }
    .masthead .text-container p{
        font-size: 4rem;
    }
    .masthead .text-container .rates-btn {
        font-size: 3rem;
    }
    .otto2-phone-form-container {
        min-height: 50rem;
    }
    .otto2-form-image-1 {
        height: 50rem;
    }
}
@media only screen and (min-width: 3400px){
    .wrapper {
        max-width: 3000px;
        margin: 0 auto;
    }
}
@media only screen and (max-width: 1024px) and (min-width: 768px) {
    h1 {
        font-size: 3.5rem;
    }
    .masthead { padding: 1rem 0rem 2rem 1rem; overflow: hidden}
    .otto-mascot,
    .otto-mascot-quiz,
    .otto-mascot-save,
    .otto-mascot,
    .otto-mascot-quiz,
    .otto-mascot-save {
        right: -25%;
        height: 80%;
    }
    .masthead p, .masthead h2.sub {
        font-size: 2.125rem;
    }
    .verticalCTA {
        margin-top: 2%;
    }
    .verticalBtn span:after {display: none}
    .otto2-learn-more-container {
        padding: 2rem 2rem 2rem 3rem;
    }
    .otto2-learn-more-heading {
        font-size: 34px;
    }
    .otto2-form-image-1 {
        height: 21rem;
        top: 6rem;
    }
    .otto2-footer {
        padding: 1.5rem 1rem;
    }
    .otto2-inline-links {
        flex-direction: column;
        text-align: center;
    }
    .otto2-header-link {
        margin-right: 10px;
        padding-right: 0px;
        justify-content: flex-end;
    }
    #footer-section {text-align: center}
    .xs-12 {
        max-width: 100% !important;
        flex-basis: 100% !important;
    }
    .otto2-inline-links, .otto-social-container {text-align: center; width: 100%;}
    .hide-on-mobile {display: none; }
    .otto2-header-links {justify-content: flex-end}
    .availableText {font-size: 11px;}
    .headerCTAContainer {
        padding-right: 10px;
    }

}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: landscape) {
    .otto-mascot,
    .otto-mascot-quiz,
    .otto-mascot-save,
    .otto-mascot,
    .otto-mascot-quiz,
    .otto-mascot-save {
        top: 3rem !important;
        right: -7%;
    }
}

@media only screen and (max-width: 1366px) and (min-width: 1024px) {
    .otto-mascot,
    .otto-mascot-quiz,
    .otto-mascot-save,
    .otto-mascot,
    .otto-mascot-quiz,
    .otto-mascot-save{
        top: 2rem;
        height: 80%;
    }

    .masthead .text-container h1{
        font-size: 3rem;
    }
    .masthead .text-container p{
        font-size: 2rem;
    }
    .masthead .text-container .rates-btn {
        font-size: 16px;
    }
    .bigger-button {
        font-size: 30px !important;
    }
}

@media only screen
and (min-device-width: 1366px) and (max-device-width: 1366px) and (orientation: landscape) {
    .otto-mascot,
    .otto-mascot-quiz,
    .otto-mascot-save,
    .otto-mascot,
    .otto-mascot-quiz,
    .otto-mascot-save {
        top: 6rem;
    }
    .otto2-inline-links {
        flex-direction: column;
    }
}

@media only screen and (max-width: 767px) and (min-width: 320px) {
    .xs-6 {
        flex-grow: 0 !important;
        max-width: 50% !important;
        flex-basis: 50% !important;
    }

    .xs-10 {
        flex-grow: 0 !important;
        max-width: 83.333333% !important;
        flex-basis: 83.333333% !important;
    }

    .xs-12 {
        flex-grow: 0 !important;
        max-width: 100% !important;
        flex-basis: 100% !important;
    }
    .hide-on-desktop {
        display: flex;
    }
    .hide-on-mobile {
        display: none;
    }
    .otto2-header-links {
        justify-content: flex-end;
        padding-right: 10px;
    }
    h1 {
        font-size: 25px;
        font-weight: 800;
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .masthead-br {
        display: none;
    }

    h2 {
        font-size: 28px;
    }

    h3 {
        font-size: 24px;
    }

    .masthead {
        background-image: none !important;
        min-height: auto;
        padding: 1rem 1rem 8rem 1rem;
        text-align: center;
    }
    .otto-mascot, .otto-mascot {display: none !important;}
    .otto-mascot-quiz, .otto-mascot-quiz {display: none !important;}
    .otto-mascot-save, .otto-mascot-save {display: none !important;}
    .masthead .text-container{
        padding-top: 7.5%;
    }

    .masthead p, .masthead h2.sub {
        font-size: 25px;
        margin-bottom: 30px;
    }
    .sm-2 {
        max-width: 45%;
        flex-basis: 45%;
    }

    .verticalBtn {
        margin-bottom: 1rem;
    }

    .verticalCTA {
        margin-bottom: 4%;
        padding: 0;
    }

    .verticalBtn span:after {
        display: none;
    }

    .verticalBtn-container {
        padding: 0;
        margin: 0px auto !important;
    }

    .verticalIcon {
        margin-bottom: 1rem;
    }

    .verticalBtn span {
        font-size: 18px;
        margin-left: 0;
    }

    .getQuote-container {
        margin-top: 1rem;
        margin-bottom: 2rem;
    }

    .otto2-logo {
        max-width: 9rem;
        margin-left: 1rem;
        height: auto;
    }

    .otto2-phone-link {
        margin-right: 1rem;
    }

    .otto2-learn-more-container {
        text-align: center;
        background-color: #222c4f;
        padding:1rem;
    }
    .otto2-learn-more-heading, otto2-learn-more-heading {
        font-size: 28px;
        padding-left: 0;
        margin-top: 1rem;
        text-align: center;
    }

    .otto2-learn-more-content{
        font-size: 22px;
        text-align: center;
        width: 100%;
    }

    .testimonial-title {
        margin-bottom: 1rem;
        font-size: 36px;
        padding-left: 8px;
        padding-right: 8px;
    }

    .otto2-phone-form-container {
        min-height: auto;
        position: relative;
        margin-bottom: 95px;
    }

    .otto2-compare-content {
        float: none;
        margin-top: 10px;
        text-align: center;
        color: white;
        font-size: 22px;
        font-weight: 100;
        width: 100%;
    }

    .otto2-form-image-1 {
        top: 35px;
        position: relative;
        width: 100%;
        height:calc(100%);
        display: flex;
    }

    .otto2-compare-image-container {
        margin-top: 3rem;
    }

    .otto2-otto-phone-savings {
        right: 0;
        top: 0;
    }

    .testimonial-container, .testimonial-single-container {
        width: 100%;
        margin-top: 0;
        margin-bottom: 0;
        padding: 0 10px;
    }

    .testimonial {
        flex: 1 0 100%;
        align-items: center;
        justify-content: center;
        text-align: center;
        margin-bottom: 2rem;
        padding-right: 0px;
    }

    .otto2-inline-links {
        flex-direction: column;
    }

    .otto2-footer {
        text-align: center;
    }

    .otto2-inline-links > p {
        padding-top: 0;
        margin-top: 0;
        margin-bottom: 2rem;
    }

    .otto2-inline-links-container {
        font-size: 14px;
        text-align: center;
        margin-bottom: 2rem;
    }

    .otto2-footer-insurance-links {
        margin-left: 0;
        display: inline-flex;
        flex-direction: column;
    }

    .otto2-footer-insurance-links > a {
        margin-right: 0;
    }

    .otto-social-container {
        text-align: center;
    }
    .phone-number {font-size: 1.5rem}
    .availableText {font-size: 11px}
    .otto2-important-disclaimer {
        margin: 1rem auto;
        padding: 0 12px;
        width: 90%;
    }
    #otto-text-line1 {
        line-height: normal;
    }
}

@media screen and (max-height: 656px){
    .verticalCTA {
        margin-top: 1rem;
    }
}

/* Landcscape  */
@media only screen and (min-device-width: 414px) and (max-device-height: 896px) and (orientation : landscape) and (-webkit-device-pixel-ratio: 3){
    .masthead {
        padding: 1rem 0rem 3rem 1rem;
        overflow: hidden;
    }
    .hide-on-mobile {
        display: none;
    }
    .otto2-inline-links {
        flex-direction: column;
        text-align: center;
    }
    .otto-mascot,
    .otto-mascot-quiz,
    .otto-mascot-save,
    .otto-mascot,
    .otto-mascot-quiz,
    .otto-mascot-save {
        right: 0;
        top: 5em;
        height: 80%;
    }
}
@media only screen and (max-width: 360px) {
    .bigger-button {
        padding: 20px 20px 17px 20px;
        font-size: 20px;
    }
}

@keyframes fadeIn {
    0% { opacity: 0; }
    100% { opacity: 1; }
}
