@media (max-width: 767px) {
    #salesRepPage .sales-rep-search-widget-wrapper {
        justify-content: center !important;
    }
    #salesRepPage .sales-rep-search-widget-form {
        flex-direction: column !important;
    }
    #salesRepPage .sales-rep-search-widget-form {
        justify-content: center !important;
        align-items: center !important;
    }
    #salesRepPage #salesRepSearchCards {
        justify-content: center;
    }
    #salesRepPage #zipSearchLabel {
        text-align: center;
    }
}

#salesRepPage #salesRepSearchCards .col-margin-helper {
    margin-bottom: 40px !important;
}

#salesRepPage #salesRepSearchCards {
    flex-flow: row wrap;
    padding: 0 10px;
}

@media (max-width: 991px) {
    #salesRepPage #salesRepSearchCards {
        justify-content: center;
    }
}

#salesRepPage #salesRepSearchCards .card {
    border: none;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    border-radius: 5px;
    -webkit-box-shadow: 0 1px 9px 0 rgba(0, 0, 0, 0.3);
    -moz-box-shadow: 0 1px 9px 0 rgba(0, 0, 0, 0.3);
    box-shadow: 0 1px 9px 0 rgba(0, 0, 0, 0.3);
    height: 100%;
    margin: 0 !important;
    width: 100%;
}

#salesRepPage #salesRepSearchCards .card-body {
    padding: 0;
}

#salesRepPage #salesRepSearchCards .card-img-top-container {
    height: 200px !important;
    width: auto !important;
    display: block !important;
}

#salesRepPage #salesRepSearchCards .card-img-top {
    height: 200px !important;
    object-fit: cover !important;
    object-position: 50% 40% !important;
}

#salesRepPage #salesRepSearchCards .logo-fallback {
    display: flex !important;
    justify-content: center !important;
    padding: 10px;
}

#salesRepPage #salesRepSearchCards .logo-fallback .card-img-top {
    object-fit: contain !important;
    height: auto !important;
}

@media (min-width: 576px) {
    #salesRepPage #salesRepSearchCards .card {
        width: 50vw;
    }
    #salesRepPage #salesRepSearchCards .card-img-top-container {
        width: 100%;
        height: 200px;
    }
}

@media (min-width: 768px) {
    #salesRepPage #salesRepSearchCards .card {
        width: 100%;
    }
    #salesRepPage #salesRepSearchCards .card-img-top-container {
        width: 100%;
        height: 200px;
    }
}

@media (min-width: 1200px) {
    #salesRepPage #salesRepSearchCards .card {
        width: 100%;
    }
    #salesRepPage #salesRepSearchCards .card-img-top-container {
        width: 100%;
        height: 12vw;
    }
}

#salesRepPage #salesRepSearchCards .details-container {
    margin-top: 1vw;
    padding: 10px !important;
}

#salesRepPage #salesRepSearchCards .card-title {
    color: #fff;
    background-color: #161616;
    padding: 5px;
    margin-top: 0;
    font-weight: bold;
    font-style: italic;
}

#salesRepPage #salesRepSearchCards .card-subtitle{
    color: #000;
    font-weight: bold;
    font-style: italic;
}

#salesRepPage #salesRepSearchCards .email-link{
    color: #00703C;
    font-weight: bold;
    font-style: italic;
}

#salesRepPage #salesRepSearchCards .no-location-error{
    color: #000;
    padding-left: 2vw;
    font-size: 2em;
}