body {
    min-width: 320px;
    background: #f8f9fa;
}

.tabset,
.quote-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.clearfix:after {
    display: block;
    clear: both;
    content: '';
}

.ellipsis {
    overflow: hidden;
    white-space: nowrap; /* 1 */
    text-overflow: ellipsis; /* 2 */
}

#locationField,
#controls {
    position: relative;
}

#address {
    width: 480px;
    padding-right: 2px;
    border: 1px solid #000090;
    background-color: #f0f9ff;
}

    #address .label {
        font-family: 'Roboto';
        font-weight: bold;
        width: 100px;
        text-align: right;
        color: #303030;
    }

    #address .field {
        width: 99%;
    }

    #address td {
        font-size: 10pt;
    }

    #address .slimField {
        width: 80px;
    }

    #address .wideField {
        width: 200px;
    }

#loader {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    display: none;
    background: rgba(0, 0, 0, .7);
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}
#loader-border {
    border: white;
    border-style: solid;
    border-radius: 10rem;
    border-width: 0.75rem;
}

.lds-spinner {
    position: relative;
    display: inline-block;
    width: 64px;
    height: 64px;
    color: official;
}

    .lds-spinner div {
        -webkit-transform-origin: 32px 32px;
        -ms-transform-origin: 32px 32px;
        transform-origin: 32px 32px;
        -webkit-animation: lds-spinner 1.2s linear infinite;
        animation: lds-spinner 1.2s linear infinite;
    }

        .lds-spinner div:after {
            position: absolute;
            top: 3px;
            left: 29px;
            display: block;
            width: 5px;
            height: 14px;
            content: ' ';
            border-radius: 10px;
            background: #fff;
        }

        .lds-spinner div:nth-child(1) {
            -webkit-transform: rotate(0deg);
            -ms-transform: rotate(0deg);
            transform: rotate(0deg);
            -webkit-animation-delay: -1.1s;
            animation-delay: -1.1s;
        }

        .lds-spinner div:nth-child(2) {
            -webkit-transform: rotate(30deg);
            -ms-transform: rotate(30deg);
            transform: rotate(30deg);
            -webkit-animation-delay: -1s;
            animation-delay: -1s;
        }

        .lds-spinner div:nth-child(3) {
            -webkit-transform: rotate(60deg);
            -ms-transform: rotate(60deg);
            transform: rotate(60deg);
            -webkit-animation-delay: -.9s;
            animation-delay: -.9s;
        }

        .lds-spinner div:nth-child(4) {
            -webkit-transform: rotate(90deg);
            -ms-transform: rotate(90deg);
            transform: rotate(90deg);
            -webkit-animation-delay: -.8s;
            animation-delay: -.8s;
        }

        .lds-spinner div:nth-child(5) {
            -webkit-transform: rotate(120deg);
            -ms-transform: rotate(120deg);
            transform: rotate(120deg);
            -webkit-animation-delay: -.7s;
            animation-delay: -.7s;
        }

        .lds-spinner div:nth-child(6) {
            -webkit-transform: rotate(150deg);
            -ms-transform: rotate(150deg);
            transform: rotate(150deg);
            -webkit-animation-delay: -.6s;
            animation-delay: -.6s;
        }

        .lds-spinner div:nth-child(7) {
            -webkit-transform: rotate(180deg);
            -ms-transform: rotate(180deg);
            transform: rotate(180deg);
            -webkit-animation-delay: -.5s;
            animation-delay: -.5s;
        }

        .lds-spinner div:nth-child(8) {
            -webkit-transform: rotate(210deg);
            -ms-transform: rotate(210deg);
            transform: rotate(210deg);
            -webkit-animation-delay: -.4s;
            animation-delay: -.4s;
        }

        .lds-spinner div:nth-child(9) {
            -webkit-transform: rotate(240deg);
            -ms-transform: rotate(240deg);
            transform: rotate(240deg);
            -webkit-animation-delay: -.3s;
            animation-delay: -.3s;
        }

        .lds-spinner div:nth-child(10) {
            -webkit-transform: rotate(270deg);
            -ms-transform: rotate(270deg);
            transform: rotate(270deg);
            -webkit-animation-delay: -.2s;
            animation-delay: -.2s;
        }

        .lds-spinner div:nth-child(11) {
            -webkit-transform: rotate(300deg);
            -ms-transform: rotate(300deg);
            transform: rotate(300deg);
            -webkit-animation-delay: -.1s;
            animation-delay: -.1s;
        }

        .lds-spinner div:nth-child(12) {
            -webkit-transform: rotate(330deg);
            -ms-transform: rotate(330deg);
            transform: rotate(330deg);
            -webkit-animation-delay: 0s;
            animation-delay: 0s;
        }

.js-tab-hidden {
    position: absolute !important;
    top: -9999px !important;
    left: -9999px !important;
    display: block !important;
}

body {
    font-size: 14px;
}

#wrapper {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.jumbotron {
    /*background: #f8f9fa;*/
    /*box-shadow: 1px 4px 8px 0 rgba(0, 0, 0, .1);*/
    border-bottom: 1px solid rgba(19,62,99,0.2);
}

.insurance-form {
    max-width: 730px;
    margin: 0 auto;
    padding: 0 15px;
}   

.not-found {
    display: block;    
}

.result-wrap {
    font-family: 'Poppins', sans-serif;  
    margin: 0 auto;
    padding: 0 10px;
}

.result-container .h5 {
    display: block;
    font-weight: bold;
    color: #f36523;
}
.result-container {
    /*background-color: rgba(220, 220, 220, 0.2);*/
}
.notes-text{font-size: 0.75rem; line-height: 1.2rem;}

.rate-holder {
    margin-left: 0rem;
}

.rate-holder .rate-box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 13px;
    padding: 15px 20px;
    border-radius: 15px;
    background: #fff;
    box-shadow: 0 1px 3px 0px rgba(0, 0, 0, .2);
    -webkit-box-flex: 0;
    -ms-flex-positive: 0;
    flex-grow: 0;
    -ms-flex-negative: 0;
    flex-shrink: 0;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}

    .rate-holder .rate-box .company-logo {
        width: 100%;
        margin-right: 15px;
        -webkit-box-flex: 0;
        -ms-flex-positive: 0;
        flex-grow: 0;
        -ms-flex-negative: 0;
        flex-shrink: 0;
    }

        .rate-holder .rate-box .company-logo img {
            width: 100%;
            max-width: none;
            height: auto;
            vertical-align: top;
        }

    .rate-holder .rate-box .box-info {
        padding: 5px 0;
        -webkit-box-flex: 1;
        -ms-flex-positive: 1;
        flex-grow: 1;
    }

        .rate-holder .rate-box .box-info h2,
        .rate-holder .rate-box .box-info h6 {
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-align: start;
            -ms-flex-align: start;
            align-items: flex-start;
            -webkit-box-pack: justify;
            -ms-flex-pack: justify;
            justify-content: space-between;
        }

    .rate-holder .rate-box img {
        display: block;
    }

    .rate-holder .rate-box .premium {
        font-size: 0.8rem;
        font-weight: bold;
        line-height: 1.3;
        color: #28a745;
    }

    .rate-holder .rate-box .premium-title {
        font-size: 0.8rem;
        font-weight: bold;
        line-height: 1.3;
    }

    .rate-holder .rate-box .title {
        display: block;
    }

    .rate-holder .rate-box .coverage {
        font-size: 0.75rem;
        display: block;
    }

    .rate-holder .rate-box .notes {
        font-size: 0.75rem;
        line-height: 1.4166666667;
        position: relative;
        margin-bottom: 10px;
    }

        .rate-holder .rate-box .notes .note-title {
            font-size: 0.65rem;
            font-weight: 600;
            line-height: 1.3636363636;
            margin-bottom: 3px;
        }

        .rate-holder .rate-box .notes .notes-text {
            overflow: hidden;
        }

            .rate-holder .rate-box .notes .notes-text .more-ellipses {
                display: inline;
            }

            .rate-holder .rate-box .notes .notes-text .more-content {
                display: inline;
            }

                .rate-holder .rate-box .notes .notes-text .more-content span {
                    display: none;
                }

        .rate-holder .rate-box .notes.more-text .more-link {
            display: none;
        }

        .rate-holder .rate-box .notes p {
            margin-bottom: 0;
        }

        .rate-holder .rate-box .notes .more-link {
            font-size: 11px;
            line-height: 1.2727272727;
            display: -webkit-inline-box;
            display: -ms-inline-flexbox;
            display: inline-flex;
            padding: 1px 6px;
            -webkit-transition: background .3s linear;
            transition: background .3s linear;
            vertical-align: top;
            color: #fd7e14;
            border-radius: 4px;
        }

            .rate-holder .rate-box .notes .more-link:hover {
                text-decoration: none;
                background: #d26102;
            }

.link-next-page,
.link-back a {
    position: relative;
    display: inline-block;
    padding-right: 25px;
    -webkit-transition: color .3s linear;
    transition: color .3s linear;
    vertical-align: top;
    color: #dda600;
}

    .link-next-page:after,
    .link-back a:after {
        position: absolute;
        top: 8px;
        right: 10px;
        width: 10px;
        height: 10px;
        content: '';
        -webkit-transition: border-color .3s linear, right .3s linear, left .3s linear;
        transition: border-color .3s linear, right .3s linear, left .3s linear;
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
        border-width: 2px 2px 0 0;
        border-style: solid;
        border-color: #495057 #495057 transparent transparent;
    }

    .link-next-page:hover,
    .link-back a:hover,
    .link-back .tabset li.active a,
    .tabset li.active .link-back a {
        text-decoration: none;
        color: #ffc107;
    }

        .link-next-page:hover:after,
        .link-back a:hover:after,
        .link-back .tabset li.active a:after,
        .tabset li.active .link-back a:after {
            right: 0;
            border-color: #ffc107 #ffc107 transparent transparent;
        }

.link-back {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding: 15px 0;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
}

    .link-back a {
        font-size: 12px;
        line-height: 1.3333333333;
        padding: 0 0 0 25px;
    }

        .link-back a:after {
            top: 4px;
            right: auto;
            left: 10px;
            width: 9px;
            height: 9px;
            -webkit-transform: rotate(-135deg);
            -ms-transform: rotate(-135deg);
            transform: rotate(-135deg);
        }

        .link-back a:hover:after,
        .link-back .tabset li.active a:after,
        .tabset li.active .link-back a:after {
            right: auto;
            left: 0;
        }

.tabset {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: 0 -3px 20px;
}

    .tabset li {
        width: 50%;
        padding: 0 3px;
        text-align: center;
        -webkit-box-flex: 0;
        -ms-flex-positive: 0;
        flex-grow: 0;
        -ms-flex-negative: 0;
        flex-shrink: 0;
    }

        .tabset li a {
            display: block;
            padding: 10px;
            -webkit-transition: background .3s linear;
            transition: background .3s linear;
            color: #fff;
            border-radius: 6px;
            background: #49e2b5;
        }

            .tabset li a:hover,
            .tabset li.active a {
                text-decoration: none;
                background: #20c997;
            }

.tab-content {
    position: relative;
}

    .tab-content:after {
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        visibility: hidden;
        margin: auto;
        content: '';
        -webkit-transition: opacity .3s linear, visibility .3s linear;
        transition: opacity .3s linear, visibility .3s linear;
        pointer-events: none;
        opacity: 0;
        background: rgba(0, 0, 0, .7);
    }

    .tab-content:before {
        content: '';
        position: absolute;
        top: 150px;
        left: 0;
        right: 0;
        background: url(/home-insurance-rater/images/gf-spinner2.gif) no-repeat;
        width: 164px;
        height: 164px;
        background-size: cover;
        margin: 0 auto;
        z-index: 2;
        visibility: hidden;
        pointer-events: none;
        opacity: 0;
        border: 0.75rem solid #fff;
        border-radius: 100%;
    }

    .tab-content.transition:after {
        visibility: visible;
        pointer-events: auto;
        opacity: 1;
    }
    .tab-content.transition:before {
        visibility: visible;
        pointer-events: auto;
        opacity: 1;
    }

.table th {
    text-transform: capitalize;
}

.table th,
.table td {
    width: 50%;
}

.quote-list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: 0 -10px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

    .quote-list li {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        width: 33.33%;
        padding: 10px;
        -webkit-box-flex: 0;
        -ms-flex-positive: 0;
        flex-grow: 0;
        -ms-flex-negative: 0;
        flex-shrink: 0;
    }

        .quote-list li .quote-title {
            font-weight: bold;
            text-transform: capitalize;
        }

.agency-info .detail-info {
    font-size: 27px;
    line-height: 1.15;
    padding: 35px 10px;
    text-align: center;
    color: #000;
}

    .agency-info .detail-info .phone {
        font-size: 36px;
        display: block;
        padding-top: 35px;
    }

        .agency-info .detail-info .phone a {
            -webkit-transition: background .3s linear, color .3s linear;
            transition: background .3s linear, color .3s linear;
            color: #000;
        }

            .agency-info .detail-info .phone a:hover,
            .agency-info .detail-info .phone .tabset li.active a,
            .tabset li.active .agency-info .detail-info .phone a {
                text-decoration: none;
                color: #28a745;
            }

.final-result .agency-info {
    width: 100%;
    padding-right: 0;
    padding-left: 0;
}

.final-result .agency-popup {
    max-width: 430px;
}

.agent-info .detail-info {
    color: #000;
}

    .agent-info .detail-info .phone {
        display: block;
    }

        .agent-info .detail-info .phone a {
            -webkit-transition: background .3s linear, color .3s linear;
            transition: background .3s linear, color .3s linear;
            color: #000;
        }

            .agent-info .detail-info .phone a:hover,
            .agent-info .detail-info .phone .tabset li.active a,
            .tabset li.active .agent-info .detail-info .phone a {
                text-decoration: none;
                color: #28a745;
            }

.agency-popup {
    max-width: 550px;
    margin: 0 auto;
    padding: 15px 12px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 1px 3px 0px rgba(0, 0, 0, .2);
}

.popup-content {
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    box-sizing: border-box;
    -ms-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.agency-popup .popup-content .agent-preview {
    /* width: 242px; */
    width: 16.55vw;
    flex-grow: 0;
    flex-shrink: 0;
    max-width: 11rem; /* Robert */
}

    .popup-content .agent-preview img {
        border-radius: 8px;
    }

    .popup-content .preview {
        width: 195px;
        -webkit-box-flex: 0;
        -ms-flex-positive: 0;
        flex-grow: 0;
        -ms-flex-negative: 0;
        flex-shrink: 0;
    }

        .popup-content .preview img {
            max-width: 100%;
            height: auto;
            vertical-align: top;
        }

    .popup-content .logo {
        display: block;
        width: 150px;
        margin-bottom: 0.5rem;
    }

        .popup-content .logo img {
            display: block;
            width: 100%;
            height: auto;
        }

    .popup-content .description {
        font-weight: 300;
        line-height: 1.14;
        /*width: calc(100% - 195px);*/
        -webkit-box-flex: 1;
        -ms-flex-positive: 1;
        flex-grow: 1;
        -ms-flex-negative: 1;
        flex-shrink: 1;
        /*padding-top: 5px;*/
    }

        .popup-content .description h2 {
            font-size: 1rem;
            font-weight: 600;
            line-height: 1.38;
            margin: 0 0 9px;
        }

        .popup-content .description address {
            font-size: 0.9rem;
            font-style: normal;
            line-height: 1.5;
            margin-bottom: 0;
        }

        .popup-content .description .phone {
            font-size: 1.3rem;
            line-height: 1;
            display: block;
            font-weight:bold;
        }

.popup-footer {
    font-size: 17px;
    line-height: 1.18;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding-top: 5px;
    -ms-align-items: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

    .popup-footer a {
        color: #067aff;
    }

        .popup-footer a:hover,
        .popup-footer .tabset li.active a,
        .tabset li.active .popup-footer a {
            text-decoration: none;
        }

.row.quote-detail-list {
    margin: 0 -15px;
}

.quote-detail-list > [class^="col-"] {
}

.company-logo {
    max-width: 25%;
    width: 100px;
    height: 70px;
    object-fit: cover;
    position: relative;
    float: inline-end;
}

.company-name {
    position: absolute;
    top: 1.9rem;
    font-size: .85rem;
    font-weight: bold;
    color: darkslategray;
}

.mobile-address {
    font-size: 0.75rem;
    /* text-align: center; */
    /*padding-top: 25px;*/
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -ms-align-items: flex-start;
    align-items: flex-end;
}

    .mobile-address address {
        padding: 0 10px;
    }

    .mobile-address .share-icon a {
        display: block;
        text-indent: -9999px;
        overflow: hidden;
        width: 25px;
        height: 25px;
        background: url("data:image/svg+xml;base64,PHN2ZyBpZD0iQ2FwYV8xIiBlbmFibGUtYmFja2dyb3VuZD0ibmV3IDAgMCA1NTEuMTMgNTUxLjEzIiBoZWlnaHQ9IjUxMiIgdmlld0JveD0iMCAwIDU1MS4xMyA1NTEuMTMiIHdpZHRoPSI1MTIiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0ibTQ2NS4wMTYgMTcyLjIyOGgtNTEuNjY4djM0LjQ0NmgzNC40NDZ2MzEwLjAxMWgtMzQ0LjQ1N3YtMzEwLjAxMWgzNC40NDZ2LTM0LjQ0NmgtNTEuNjY5Yy05LjUyIDAtMTcuMjIzIDcuNzAzLTE3LjIyMyAxNy4yMjN2MzQ0LjQ1NmMwIDkuNTIgNy43MDMgMTcuMjIzIDE3LjIyMyAxNy4yMjNoMzc4LjkwMmM5LjUyIDAgMTcuMjIzLTcuNzAzIDE3LjIyMy0xNy4yMjN2LTM0NC40NTZjMC05LjUyLTcuNzAzLTE3LjIyMy0xNy4yMjMtMTcuMjIzeiIvPjxwYXRoIGQ9Im0yNTguMzQyIDY1LjkzMXYyNDQuMDhoMzQuNDQ2di0yNDQuMDhsNzMuOTM3IDczLjkzNyAyNC4zNTQtMjQuMzU0LTExNS41MTQtMTE1LjUxNC0xMTUuNTE0IDExNS41MTQgMjQuMzU0IDI0LjM1NHoiLz48L3N2Zz4=") no-repeat;
        -webkit-background-size: 25px 25px;
        background-size: 25px 25px;
    }

.android .mobile-address .share-icon a {
    width: 28px;
    height: 25px;
    background: url("data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iaXNvLTg4NTktMSI/Pg0KPCEtLSBHZW5lcmF0b3I6IEFkb2JlIElsbHVzdHJhdG9yIDE5LjAuMCwgU1ZHIEV4cG9ydCBQbHVnLUluIC4gU1ZHIFZlcnNpb246IDYuMDAgQnVpbGQgMCkgIC0tPg0KPHN2ZyB2ZXJzaW9uPSIxLjEiIGlkPSJDYXBhXzEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4Ig0KCSB2aWV3Qm94PSIwIDAgNDI2LjY2NyA0MjYuNjY3IiBzdHlsZT0iZW5hYmxlLWJhY2tncm91bmQ6bmV3IDAgMCA0MjYuNjY3IDQyNi42Njc7IiB4bWw6c3BhY2U9InByZXNlcnZlIj4NCjxnPg0KCTxnPg0KCQk8cGF0aCBkPSJNMzUyLDI1NmMtMjMuOTgzLDAtNDUuMTMsMTEuNTY5LTU4LjgwMSwyOS4yMDFsLTE0NC40MzgtNTUuNTUzYzAuMTQ2LTEuODk3LDAuNTcyLTMuNzE0LDAuNTcyLTUuNjQ3DQoJCQljMC0zLjU4OS0wLjU2OC03LjAyNS0xLjA2LTEwLjQ3OWwxNDguMDA5LTY4LjMyYzEzLjY5MywxNS40ODcsMzMuNDczLDI1LjQ2Niw1NS43MTcsMjUuNDY2YzQxLjE2NywwLDc0LjY2Ny0zMy41LDc0LjY2Ny03NC42NjcNCgkJCWMwLTQxLjE2Ny0zMy41LTc0LjY2Ny03NC42NjctNzQuNjY3UzI3Ny4zMzMsNTQuODMzLDI3Ny4zMzMsOTZjMCwzLjU4OSwwLjU2OCw3LjAyNSwxLjA2LDEwLjQ3OWwtMTQ4LjAwOSw2OC4zMg0KCQkJYy0xMy42OTMtMTUuNDg3LTMzLjQ3My0yNS40NjYtNTUuNzE3LTI1LjQ2NkMzMy41LDE0OS4zMzMsMCwxODIuODMzLDAsMjI0YzAsNDEuMTY3LDMzLjUsNzQuNjY3LDc0LjY2Nyw3NC42NjcNCgkJCWMyMy45ODMsMCw0NS4xMy0xMS41NjksNTguODAxLTI5LjIwMWwxNDQuNDM4LDU1LjU1M2MtMC4xNDYsMS44OTctMC41NzIsMy43MTQtMC41NzIsNS42NDdjMCw0MS4xNjcsMzMuNSw3NC42NjcsNzQuNjY3LDc0LjY2Nw0KCQkJczc0LjY2Ny0zMy41LDc0LjY2Ny03NC42NjdDNDI2LjY2NywyODkuNSwzOTMuMTY3LDI1NiwzNTIsMjU2eiIvPg0KCTwvZz4NCjwvZz4NCjxnPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjxnPg0KPC9nPg0KPGc+DQo8L2c+DQo8Zz4NCjwvZz4NCjwvc3ZnPg0K") no-repeat;
    -webkit-background-size: 28px 25px;
    background-size: 28px 25px;
}

.result-wrap .agency-details {
    padding: 25px 0;
    font-size: 26px;
}

    .result-wrap .agency-details a {
        color: #0056e2;
        text-decoration: underline;
    }

        .result-wrap .agency-details a:hover {
            text-decoration: none;
        }


@media (max-width: 991px) {
    .rate-holder .rate-box {
        margin-bottom: 10px;
        padding: 12px;
    }

        .rate-holder .rate-box .company-logo {
            margin-right: 12px;
        }

        .rate-holder .rate-box .notes .more-link {
            bottom: 0;
        }

    .agency-info {
        width: 100%;
        margin-right: auto;
        margin-left: auto;
        flex: 100%;
        max-width: 100%;
        padding: 0.5rem;
    }

}

@media (max-width: 767px) {
    h2,
    .h2 {
        font-size: 14px;
        line-height: 1.2857142857;
    }

    .btn {
        font-size: 14px;
    }    

    .insurance-form .btn {
        display: block;
        width: 100%;
    }

    .result-container span.btn {
        width: 100%;
    }

    .form-control {
        font-size: 14px;
        padding: 6px;
    }

    .rate-holder .rate-box {
        width: 100%;
    }

    .agency-info {
        padding-right: 0;
        padding-left: 0;
    }

    .final-result .agency-info {
        padding: 0;
    }

    .agency-info .detail-info {
        position: fixed;
        z-index: 5;
        top: 105px;
        right: 0;
        left: 0;
        padding: 22px 20px;
        background: #fff;
    }

        .agency-info .detail-info .phone {
            font-size: 22px;
            line-height: 1.5;
            max-width: 480px;
            margin: 0 auto;
            padding-top: 0;
        }

            .agency-info .detail-info .phone a {
                position: relative;
                z-index: 1;
                display: block;
                padding: 18px 25px;
                color: #fff;
                border-radius: 100px;
                background: #f36522;
                box-shadow: 0 5px 13px 0 rgba(0, 0, 0, .3);
            }

                .agency-info .detail-info .phone a:after {
                    position: absolute;
                    z-index: -1;
                    top: 4px;
                    right: 6px;
                    bottom: 0;
                    left: 6px;
                    content: '';
                    border-radius: 100px;
                    box-shadow: inset 0 5px 3px -2px rgba(255, 255, 255, .3);
                }

                .agency-info .detail-info .phone a:hover,
                .agency-info .detail-info .phone .tabset li.active a,
                .tabset li.active .agency-info .detail-info .phone a {
                    color: #fff;
                    background: #f4763a;
                }


    .agent-info .detail-info {
        /*position: fixed;
        z-index: 5;
        top: 71px;
        right: 0;
        left: 0;*/
        padding: 15px 0;
        /*background: #fff;*/
    }

        .agent-info .detail-info .phone {
            font-size: 18px;
            line-height: 1.5;
            max-width: 480px;
            margin: 0 auto;
            padding-top: 0;
        }

            .agent-info .detail-info .phone a {
                position: relative;
                z-index: 1;
                display: block;
                padding: 4px 20px 6px;
                font-weight: 600;
                color: #fff;
                border-radius: 100px;
                background: #f36522;
                box-shadow: 0 1px 3px 0px rgb(0, 0, 0, 0.2)
            }

                /*.agent-info .detail-info .phone a:after {
                    position: absolute;
                    z-index: -1;
                    top: 4px;
                    right: 6px;
                    bottom: 0;
                    left: 6px;
                    content: '';
                    border-radius: 100px;
                    box-shadow: inset 0 5px 3px -2px rgba(255, 255, 255, .3);
                }*/

                .agent-info .detail-info .phone a:hover,
                .agent-info .detail-info .phone .tabset li.active a,
                .tabset li.active .agent-info .detail-info .phone a {
                    color: #fff;
                    background: #f4763a;
                }

    .agency-popup {
        max-width: none;
        width: 89.8305vw;

        /*padding: 10px 1.043vw;*/
        padding: 10px;
    }

    .quote-detail-list {
        font-size: 12px;
    }

    .final-result {
        padding-top: 20px;
    }

        .final-result .agency-popup {
            max-width: none;
            width: auto;
            padding: 10px;
            border-radius: 8px;
        }

    .result-wrap .agency-details {
        font-size: 18px;
    }

    .popup-content {
        /*flex-direction: column;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;*/
    }

        .popup-content .preview {
            /*width: 24.77vw;*/
            width: 34.55vw;
        }

           .agency-popup .popup-content .agent-preview {
                /* width: 242px; */
                width: 31.55vw;
                flex-grow: 0;
                flex-shrink: 0;
            }

            .agency-popup .popup-content .description {
                width: auto;
                flex-grow: 1;
                flex-shrink: 1;
            }

                .agency-popup .popup-content .description h2 {
                    font-size: 14px;
                }

                .popup-content .logo {
                    width: 26.075vw;
                }

        .popup-content .description {
            /*width: calc(100% - 24.77vw);*/
            width: calc(100% - 34.55vw);
        }

            .popup-content .description h2 {                
                font-size: 1rem;
            }

            .popup-content .description address {
                font-size: 12px;
                /*font-size: .85rem;*/
            }

            .popup-content .description .phone {
                /*font-size: 12px;*/
                font-size: .85rem;
            }

            .popup-content .description .btn {
                font-size: .85rem;
                line-height: 1.1;
                padding: 1.1734vw 3.6506vw;
                height: auto;
                margin-right: 2.6076vw;
            }
}

}

@media (max-width: 575px) {

    .final-result {
        padding-top: 120px;
    }

    .agent-info .detail-info {
        padding: 35px 15px 14px;
    }

        .agent-info .detail-info .phone {
            font-size: 17px;
        }



    .tabset {
        display: block;
        margin-right: 0;
        margin-left: 0;
    }

        .tabset li {
            width: 100%;
            padding: 3px 0;
        }

            .tabset li a {
                padding: 7px;
            }

    .table {
        font-size: 0.85rem;
    }

    .agency-info .detail-info {
        padding: 14px 15px;
    }

        .agency-info .detail-info .phone {
            font-size: 17px;
        }
}

@-webkit-keyframes lds-spinner {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}

@keyframes lds-spinner {
    0% {
        opacity: 1;
    }

    100% {
        opacity: 0;
    }
}
