.find-an-agent-widget {
    #map-canvas {
        width: 70%;
        height: 400px;
        float: left;
        background-color: gainsboro !important;
    }    
    #map_canvas div div div div div div img {
        visibility: hidden;
    }    
    body,#site-slogan,.ui-widget,.comment-form label {
        font-family: Arial, sans-serif;

    }
    .map-container {
        margin: 0 -50px;
    }
    .no-padding {
        padding: 0px !important;
    }
    h1 {
        color: #ae005f;
        text-align: center;
        line-height: 1.2em;
        margin-bottom: 10px;
        margin-top: 0;
        position: relative;
        padding-top: 100px;
    }
    img {
        margin-bottom: 50px;
    }
    p {
        text-align: center;
        color: #575a5d;
        font-weight: 400;
        margin-top: 0;
        margin-bottom: 50px;
        a {
            transition: color 0.4s ease;
            font-size: 1em;
            text-align: center;
            color: #999;
            font-weight: 100;
            margin-top: 0;
            margin-bottom: 20px;
            text-decoration: underline;
            &:hover {
                font-size: 1em;
                text-align: center;
                color: #575a5d;
                font-weight: 100;
                margin-top: 0;
                margin-bottom: 20px;
                text-decoration: underline;
            }
        }
    }
    .search-by {
        width: 295px;
        margin: 0 auto;
        color: #575a5d;
        p {
            font-weight: 300;
            display: inline-block;
            float: left;
            margin-right: 20px;
            text-align: center;
            margin-left: 20px;
            margin-bottom: 0;
        }
        ul {
            font-size: 1em;
            margin-bottom: 20px;
            li {
                list-style: none;
                list-style-position: inside;
                display: inline-block;
                text-align: center;
                a {
                    color: #999;
                    &:hover {
                        color: #575a5d;
                        text-decoration: none;
                    }
                }
                &.active {
                    list-style: none;
                    list-style-position: inside;
                    padding-right: 20px;
                    font-weight: 600;
                    display: inline-block;
                    text-align: center;
                    a {
                        color: #575a5d;
                        text-decoration: none;
                        &:hover {
                            color: #999;
                            text-decoration: none;
                        }
                    }
                }
                &:after {
                    background-image: "|";
                    color: #999;
                    padding-left: 20px;
                }
                &:last-child:after {
                    background-image: " ";
                    color: #999;
                    padding-left: 20px;
                }
            }
        }
    }
    input.text-field-full {
        background-color: #f0efed;
        padding: 15px 20px;
        font-size: 1em;
        font-weight: 500;
        color: #999999 !important;
        float: left;
        border: 1px solid #ffffff;
        text-align: left;
        width: 100%;
        margin-bottom: 20px;
    }
    i.chevron-down {
        background: url(../images/down-arrow.svg);
        width: 20px;
        height: 15px;
        margin-top: 5px;
        display: block;
        background-size: contain;
        background-repeat: no-repeat;
    }
    i.chevron-up {
        background: url(../images/up-arrow.svg);
        width: 20px;
        height: 15px;
        margin-top: 5px;
        display: block;
        background-size: contain;
        background-repeat: no-repeat;
    }
    .dropdown-group {
        left: 0;
        right: 0;
        padding: 0;
        display: table;
        position: relative;
        width: 100%;
    }
    .dropup, 
    .dropdown {
        position: initial;
    }
    button.dropdown-toggle {
        background-color: #f0efed;
        padding: 15px 20px;
        font-size: 1em;
        font-weight: 600;
        color: #575a5d !important;
        float: left;
        border: 1px solid #ffffff;
        text-align: left;
        width: 100%;
        margin-bottom: 20px;
    }
    .dropdown-menu {
        position: absolute;
        top: 55px;
        left: 0;
        z-index: 1000;
        display: none;
        float: left;
        padding: 0;
        margin: 0;
        list-style: none;
        font-size: 1em;
        font-weight: 600;
        text-align: left;
        background-color: #fff;
        border: 1px solid #ccc;
        border: 1px solid rgba(0, 0, 0, 0.15);
        border-radius: 0px;
        -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
        box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
        -webkit-background-clip: padding-box;
        background-clip: padding-box;
        width: 100%;
        max-height: 300px;
        overflow-y: scroll;
        li {
            margin: 0;
            a {
                display: block;
                margin: 0;
                padding: 15px 20px;
                clear: both;
                font-size: 1em;
                font-weight: 600;
                line-height: 1.42857143;
                color: #575a5d;
                white-space: nowrap;
                &:hover {
                    background: #575a5d;
                    color: #ffffff;
                }
            }
        }
    }
    button {
        &.primary-button {
            width: 100%;
            padding: 15px 20px;
            border: transparent;
            margin-bottom: 20px;
            border-radius: 0px;
            &.search-button {
                width: 100%;
                padding: 15px 20px;
                border: 1px solid #ffffff;
                margin-bottom: 20px;
                border-radius: 0px;
            }
        }
        &.secondary-button {
            width: 100%;
            padding: 15px 20px;
            border: transparent;
            margin-bottom: 20px;
            border-radius: 0px;
        }
    }
    .accordion-buttons {
        margin-top: 30px;
        button {
            &.primary-button {
                width: 100%;
                padding: 15px 20px;
                border: transparent;
                margin-bottom: 20px;
                border-radius: 0px;
            }
            &.secondary-button {
                width: 100%;
                padding: 15px 20px;
                border: transparent;
                margin-bottom: 20px;
                border-radius: 0px;
            }
        }
    }
    .panel-group {
        margin: 0 -50px;
        .panel {
            border-radius: 0px;
            border: transparent;
        }
    }
    .catagories {
        margin: 0 50px;
        padding: 50px 0 0 0;
        display: block;
        position: relative;
        margin-bottom: 0;
        p.title {
            font-family: Arial, sans-serif;
            text-align: left;
            font-weight: 600;
            color: #000;
            margin-bottom: 0px;
        }
    }
    .panel {
        box-shadow: none;
    }
    .panel-default:nth-child(2n+1) {
        border: none !important;
        .panel-heading {
            color: #333;
            background-color: #f0efed;
            border-color: transparent;
            padding: 50px;
            .map-icon {
                width: 30px;
                display: block;
                position: relative;
                img {
                    width: 100%;
                    display: block;
                    position: relative;
                    margin: 0;
                }
            }
            p {
                text-align: left;
                margin-bottom: 0px;
            }
            .address-links {
                a {
                    color: #575a5d;
                    text-decoration: underline;
                    padding-right: 10px;
                    &:hover {
                        color: #575a5d;
                        text-decoration: underline;
                        padding-right: 10px;
                    }
                }
            }
            i {
                position: relative;
                display: block;
            }
        }
        .panel-body {
            border-top-color: transparent;
            background-color: #f0efed;
        }
    }
    .panel-default:nth-child(2n) {
        border: none;
        .panel-heading {
            color: #333;
            background-color: #ffffff;
            border-color: transparent;
            padding: 50px;
            .map-icon {
                width: 30px;
                display: block;
                position: relative;
                img {
                    width: 100%;
                    display: block;
                    position: relative;
                    margin: 0;
                }
            }
            p {
                text-align: left;
                margin-bottom: 0px;
            }
            .address-links {
                a {
                    color: #575a5d;
                    text-decoration: underline;
                    padding-right: 10px;
                    &:hover {
                        color: #575a5d;
                        text-decoration: underline;
                        padding-right: 10px;
                    }
                }
            }
        }
        .panel-body {
            border-top-color: transparent;
            background-color: #ffffff;
        }
    }
    .panel-body {
        padding: 0px 50px 50px 50px;
        p.company-description {
            text-align: left;
            position: absolute;
            margin-top: -100px;
            padding-right: 20px;
        }
        .social-links-container {
            margin-left: 0px;
            a.social-links {
                font-size: 1em;
                position: relative;
                margin-top: -20px;
                padding-right: 20px;
                color: #575a5d;
            }
        }
    }
    .panel-default {
        .panel-heading + .panel-collapse {
            .panel-body {
                border-top-color: transparent;
            }
        }
    }
}






@media (max-width: 767px) {
    .find-an-agent-widget {
        padding: 0px 20px;
        .map-container {
            margin: 0 -20px;
        }
        img {
            width: 107%;
            position: absolute;
            margin: 0 -50px;
        }
        .panel-group {
            margin-bottom: 0px;
            margin-left: -20px;
            margin-right: -20px;
            margin-top: 20px;
            .panel {
                border-radius: 0px;
                border: transparent;
            }
        }
        .panel-body {
            padding: 0px 20px;
            p.company-description {
                text-align: left;
                position: relative;
                margin-top: 0px;
                padding-right: 20px;
                margin-bottom: 20px;
                margin-left: 50px;
            }
            .social-links-container {
                margin-left: 50px;
                a.social-links {
                    font-size: 1em;
                    position: relative;
                    margin-top: -20px;
                    padding-right: 20px;
                    color: #575a5d;
                }
            }
        }
        .panel-heading {
            p.mobile-shift {
                margin-left: 10%;
            }
        }
        .panel-default:nth-child(2n+1) {
            border: none !important;
            .panel-heading {
                color: #333;
                background-color: #f0efed;
                border-color: transparent;
                padding: 20px;
                .map-icon {
                    width: 30px;
                    display: block;
                    position: relative;
                    img {
                        width: 100%;
                        display: block;
                        position: absolute;
                        margin: 0;
                    }
                }
                p {
                    text-align: left;
                    margin-bottom: 0px;
                    margin-left: 50px;
                    padding: 0;
                }
                .address-links a {
                    color: #575a5d;
                    text-decoration: underline;
                    padding-right: 10px;
                    margin-left: 20px;
                }
                .address-links a:hover {
                    color: #575a5d;
                    text-decoration: underline;
                    padding-right: 10px;
                    margin-left: 20px;
                }
                i {
                    position: relative;
                    display: block;
                    margin-left: -40px;
                }
            }
            .panel-body {
                border-top-color: transparent;
                background-color: #f0efed;
            }
        }
        .panel-default:nth-child(2n) {
            border: none;
            .panel-heading {
                color: #333;
                background-color: #ffffff;
                border-color: transparent;
                padding: 20px;
                .map-icon {
                    width: 30px;
                    display: block;
                    position: relative;
                    img {
                        width: 100%;
                        display: block;
                        position: absolute;
                        margin: 0;
                    }
                }
                p {
                    text-align: left;
                    margin-bottom: 0px;
                    margin-left: 50px;
                    padding: 0;
                }
                .address-links {
                    a {
                        color: #575a5d;
                        text-decoration: underline;
                        padding-right: 10px;
                        margin-left: 20px;
                        &:hover {
                            color: #575a5d;
                            text-decoration: underline;
                            padding-right: 10px;
                            margin-left: 20px;
                        }
                    }
                }
            }
            .panel-body {
                border-top-color: transparent;
                background-color: #ffffff;
            }
        }
    }
}


@media (min-width: 768px) {
    .find-an-agent-widget {
        img {
            width: 100%;
            position: absolute;
            margin: 0 -50px;
        }
    }
}


@media (min-width: 992px) {
    .find-an-agent-widget {
        img {
            width: 100%;
            position: absolute;
            margin: 0 -50px;
        }
    }
}


@media (min-width: 1200px) {
    .find-an-agent-widget {
        img {
            width: 100%;
            position: absolute;
            margin: 0 -50px;
        }
    }
}
