.mm-container {
    display: flex;
}

.mm-sidebar {
    width: 25%;
    padding: 0px 30px 0px 0px;
}

.mm-main {
    width: 75%;
    height: 100%;
}

#members-map {
    width: 100%;
    height: 100%;
}

#address-input {
    width: 75%;
    padding: 10px;
    margin-bottom: 10px;
    box-sizing: border-box;
    position: relative;
    float: left;
}

#search-button {
    padding: 10px;
    border: 1px solid;
    position: relative;
    display: inline-block;
    width: 25%;
    margin: 0px;
    font-size: 0.97em !important;
    height: 2.507em;
    line-height: normal;
    background: #ed1b24;
    color: white;
    font-weight: 400;
    vertical-align: top;
    border: 1px solid #ed1b24;
}

#member-list {
    list-style-type: none;
    padding: 0;
    max-height: 414px;
    overflow-y: scroll;
    width: 100%;
    margin-top: 20px;
}

#member-list li {
    margin-bottom: 10px;
    margin-left: 0px;
}

#member-list li a {
    text-decoration: none;
    color: #0073aa;
}

#member-list li a:hover {
    text-decoration: underline;
}

body.single-pe-members .pe-member-gallery {
    display: flex;
    gap: 20px;
}

body.tax-pe-members-locations .member-listing-link {
    text-decoration: none;
    color: inherit;
}

body.tax-pe-members-locations .member-listing {
    border: 1px solid #ccc;
    margin-bottom: 20px;
    transition: box-shadow 0.3s ease;
    transition: all 0.2s ease-out;
}

body.tax-pe-members-locations .member-listing .row {
    margin: 0px !important;
}

body.tax-pe-members-locations .member-listing:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
body.tax-pe-members-locations .member-listing h2 {
    font-size: 1.2em;
    margin-bottom: 10px;
}
body.tax-pe-members-locations .member-listing p {
    margin-bottom: 5px;
}
body.tax-pe-members-locations .member-listing img {
    max-width: 100%;
    height: auto;
}
@media (min-width: 768px) {
    body.tax-pe-members-locations .col-md-3 {
        width: 25%;
    }
}
@media (max-width: 767px) {
    body.tax-pe-members-locations .col-sm-6 {
        width: 50%;
    }
}

body.tax-pe-members-locations .row .col-md-3.col-sm-6 {
    display: inline-block;
    width: 15.66%;
    float: left;
    vertical-align: top;
    margin-right: 1.2%;
  	padding: 10px;
}

body.tax-pe-members-locations .member-listing{
    transition: all 0.2s;
}

body.tax-pe-members-locations .member-listing:hover {
    box-shadow: 0px 0px 30px 0px rgba(0, 0, 0, 0.15);
    transform: scale(1.1);
}

body.tax-pe-members-locations .row > .col-md-6{
  padding: 10px;
}

body.tax-pe-members-locations .col-md-3.col-sm-6:nth-child(6n) {
    margin-right: 0px;
}

body.tax-pe-members-locations .member-listing p {
    font-size: 14px;
    line-height: 1.2em;
}

body.tax-pe-members-locations a.member-listing-link h2 {
    font-weight: bold;
    font-size: 18px;
}

body.tax-pe-members-locations .col-md-3.col-sm-6:nth-child(7n) {
    clear: left;
}

.gm-style-iw-chr {
    position: absolute;
    top: -5px;
    right: -5px;
}

.gm-style-iw-d {
    padding: 13px 20px 0px 0px;
}

.gm-style .gm-style-iw-d a{
	color: #ed1b24;
}

@media (max-width: 1080px){
    body.tax-pe-members-locations .row .col-md-3.col-sm-6 {width: 24.1%;}

body.tax-pe-members-locations .col-md-3.col-sm-6:nth-child(6n) {
    margin-right: 1.2% !important;
}

body.tax-pe-members-locations .col-md-3.col-sm-6:nth-child(4n) {
    margin-right: 0px;
}
}

@media (max-width: 700px){
body.tax-pe-members-locations .row .col-md-3.col-sm-6 {
    width: 49.4%;
}

body.tax-pe-members-locations .col-md-3.col-sm-6:nth-child(2n) {
    margin-right: 0px;
}

body.tax-pe-members-locations .col-md-3.col-sm-6:nth-child(4n) {
    margin-right: 0px;
}

body.tax-pe-members-locations .col-md-3.col-sm-6:nth-child(6n) {
    margin-right: 0px !important;
}
}

@media (max-width: 480px){
	body.tax-pe-members-locations .member-listing p {
		font-size: 9px;
	}
}