.advsm-map {
    margin: 15px auto;
    clear: both; /* Fix for footer float columns  */
}

.advsm-container,
.advsm-placeholder {
    height: inherit;
}

.advsm-main {
    height: inherit;
    position: relative;
    overflow: hidden;
}

.advsm-map:not(.advsm-layout-map-only) .advsm-main,
.advsm-aside {
    border: 1px solid #dddddd;
}

.advsm-aside {
    font-size: 16px;
    color: #373a3c;
    background-color: white;
    box-sizing: border-box;
}

.advsm-aside *,
.advsm-aside *::before,
.advsm-aside *::after {
    box-sizing: border-box;
}

.advsm-map.advsm-theme-dark:not(.advsm-layout-map-only) .advsm-main,
.advsm-map.advsm-theme-dark .advsm-aside {
    border-color: #424242;
}

.advsm-map.advsm-theme-dark .advsm-aside {
    color: #d6d6d6;
    background-color: #1F1F1F;
}

.advsm-aside a,
.advsm-aside a:link
.advsm-aside a:visited,
.advsm-aside a:hover,
.advsm-aside a:active,
.advsm-aside a:focus {
    color: #427fed!important;
    color: var(--advsm-accent-color)!important;
    text-decoration: none!important;
}

.advsm-map.advsm-layout-columns .advsm-container,
.advsm-map.advsm-layout-columns-inv .advsm-container {
    display: flex;
}

.advsm-map.advsm-layout-columns .advsm-main,
.advsm-map.advsm-layout-columns-inv .advsm-main {
    flex-grow: 1;
}

.advsm-map.advsm-layout-columns .advsm-aside,
.advsm-map.advsm-layout-columns-inv .advsm-aside {
    flex-shrink: 0;
    width: 30%;
    min-width: 250px;
}

.advsm-map.advsm-layout-columns .advsm-aside {
    border-left: none;
}

.advsm-map.advsm-layout-columns-inv .advsm-aside {
    order: -1;
    border-right: none;
}

.advsm-map.advsm-layout-rows {
    height: auto;
}

.advsm-map.advsm-layout-rows .advsm-aside {
    border-top: none;
}

.advsm-map.advsm-layout-rows .advsm-list {
    height: calc(500px - 45px);
}

.advsm-map.advsm-layout-rows .advsm-has-filter .advsm-list {
    height: calc(500px - 90px);
}

.advsm-map.advsm-height-pr:not(.advsm-layout-rows),
.advsm-map.advsm-height-pr.advsm-layout-rows .advsm-main {
    height: auto;
    position: relative;
    overflow: hidden;
}

.advsm-map.advsm-height-pr:not(.advsm-layout-rows) .advsm-container,
.advsm-map.advsm-height-pr.advsm-layout-rows .advsm-placeholder {
    position: absolute!important; /* Override position set by Google Maps. */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
}

@media(max-width: 767px) {
    .advsm-map.advsm-width-pr {
        width: 100%!important; /* Override to full width on smaller screens */
    }
}

.advsm-search {
    position: relative;
}

.advsm-search input {
    width: 100%;
    display: block;
    height: 45px;
    font-size: 0.875em;
    line-height: 1.65;
    margin: 0;
    padding: 0.75em 70px 0.75em 1em;
    color: inherit;
    background-color: white;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 0 24 24' width='24'%3E%3Cpath fill='%23cccccc' d='M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: top 10px right 10px;
    background-size: 25px;
    border: none;
    outline: none;
    border-bottom: 1px solid #dddddd;
}

.advsm-theme-dark .advsm-search input {
    background-color: #1F1F1F;
    border-color: #424242;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 0 24 24' width='24'%3E%3Cpath fill='%23505050' d='M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");
}

/** Removes "X" clear for IE/Edge */
.advsm-search input::-ms-clear {
    display:none;
}

.advsm-search span {
    width: 0;
    height: 2px;
    margin: 0 auto;
    background-color: #427fed;
    background-color: var(--advsm-accent-color);
    display: block;
    position: absolute;
    z-index: 2;
    bottom: -1px;
    left: -1px;
    right: -1px;
    transition-property: width;
    transition-duration: .2s;
}

.advsm-search input:focus + span {
    width: 100%;
}

.advsm-search input::-webkit-input-placeholder { /* Chrome/Opera/Safari */
    color: #767b7e;
    opacity: 1;
}
.advsm-search input::-moz-placeholder { /* Firefox 19+ */
    color: #767b7e;
    opacity: 1;
}
.advsm-search input:-ms-input-placeholder { /* IE 10+ */
    color: #767b7e;
    opacity: 1;
}
.advsm-search input:-moz-placeholder { /* Firefox 18- */
    color: #767b7e;
    opacity: 1;
}
.advsm-search input::placeholder { /* Firefox 18- */
    color: #767b7e;
    opacity: 1;
}

.advsm-search-clear {
    background: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 0 24 24' width='24'%3E%3Cpath fill='%23373a3c' d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 25px;
    width: 30px;
    opacity: .5;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 40px;
    cursor: pointer;
    border: none;
    margin: 0;
    padding: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.advsm-search-clear:hover {
    opacity: 1;
}

.advsm-theme-dark .advsm-search-clear {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 0 24 24' width='24'%3E%3Cpath fill='%23d6d6d6' d='M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");
}

.advsm-results {
    position: absolute;
    z-index: 1;
    top: 100%;
    left: 0;
    right: 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.advsm-theme-dark .advsm-results {
    box-shadow: 0 5px 15px rgba(255,255,255,0.06);
}

.advsm-results-item {
    background-color: white;
    border-bottom: 1px solid #dddddd;
    font-size: 0.812em;
    display: block;
    padding: 0.687em 1em;
    transition-property: background-color;
    transition-duration: .2s;
}

.advsm-theme-dark .advsm-results-item {
    background-color: #1F1F1F;
    border-color: #424242;
}

.advsm-results-item:hover {
    background-color: #f7f7f7;
}

.advsm-theme-dark .advsm-results-item:hover {
    background-color: #282828;
}

.advsm-filter {
    display: none;
}

.advsm-has-filter .advsm-filter {
    display: block;
}

.advsm-filter select {
    color: #767b7e;
    display: inline-block;
    background: white;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23d6d6d6' width='18px' height='18px'%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M12 5.83L15.17 9l1.41-1.41L12 3 7.41 7.59 8.83 9 12 5.83zm0 12.34L8.83 15l-1.41 1.41L12 21l4.59-4.59L15.17 15 12 18.17z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: top 10px right 10px;
    background-size: 25px;
    border: none;
    border-bottom: 1px solid #dddddd;
    box-shadow: rgba(0, 0, 0, 0.06) 0px 1px 4px 0px inset;
    width: 100%;
    height: 45px;
    font-size: 0.875em;
    line-height: 1.65;
    margin: 0;
    padding: 0.75em 40px 0.75em 1em;
    vertical-align: middle;
    outline: none!important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.advsm-theme-dark .advsm-filter select {
    background-color: #1F1F1F;
    border-color: #424242;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23505050' width='18px' height='18px'%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M12 5.83L15.17 9l1.41-1.41L12 3 7.41 7.59 8.83 9 12 5.83zm0 12.34L8.83 15l-1.41 1.41L12 21l4.59-4.59L15.17 15 12 18.17z'/%3E%3C/svg%3E");
}

.advsm-list {
    display: flex;
    flex-direction: column;
    height: calc(100% - 45px);
    overflow-y: auto;
}

.advsm-has-filter .advsm-list {
    height: calc(100% - 90px);
}

.advsm-list::-webkit-scrollbar {
    width: 12px;
}

.advsm-list::-webkit-scrollbar-track {
    background-color: #f3f3f3;
}

.advsm-list::-webkit-scrollbar-thumb {
  background-color: #dddddd;
}

.advsm-list::-webkit-scrollbar-thumb:hover {
    background-color: #cccccc;
}

.advsm-theme-dark .advsm-list::-webkit-scrollbar-track {
    background-color: #1a1a1a;
}

.advsm-theme-dark .advsm-list::-webkit-scrollbar-thumb {
  background-color: #424242;
}

.advsm-theme-dark .advsm-list::-webkit-scrollbar-thumb:hover {
    background-color: #505050;
}

.advsm-list-item {
    padding: 0.75em 1em;
    background-color: inherit;
    border-bottom: 1px solid #dddddd;
    transition-property: background-color;
    transition-duration: .2s;
}

.advsm-theme-dark .advsm-list-item {
    border-color: #424242;
}

.advsm-list-item:hover {
    background-color: #f7f7f7;
}

.advsm-theme-dark .advsm-list-item:hover {
    background-color: #282828;
}

.advsm-list-item .advsm-item-title {
    font-size: 0.875em;
    font-weight: 600;
}

.advsm-list-item .advsm-item-featured-badge {
    float: right;
    margin-left: .25em;
}

.advsm-list-item .advsm-item-featured-badge::before {
    content: '';
    display: block;
    width: 19px;
    height: 19px;
    background-size: cover;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 0 24 24' width='24'%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3Cpath fill='%23ffc107' d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");
}

.advsm-list-item .advsm-item-desc {
    color: inherit;
    font-size: 0.75em;
}

.advsm-list .advsm-list-item:last-child {
    border-bottom: none;
}

.advsm-list-no-items {
    color: inherit;
    padding: 0.75em 1em;
    font-size: 0.875em;
    text-align: center;
}

.advsm-retry-search {
    margin-top: 0.5em;
}

.advsm-retry-search a {
    font-weight: 600;
}

.advsm-map-info {
    color: #373a3c;
    line-height: 1.3;
}

.advsm-map-info.advsm-map-info-push {
    padding-bottom: calc(2em - 12px);
}

.advsm-map-info a,
.advsm-map-info a:link
.advsm-map-info a:visited,
.advsm-map-info a:hover,
.advsm-map-info a:focus,
.advsm-map-info a:active {
    color: #427fed;
    text-decoration: none;
}

.advsm-map-info img {
    margin: 0;
}

.advsm-map-info .advsm-info-block {
    margin: 5px 0;
}

.advsm-map-info .advsm-info-block:first-of-type {
    margin-top: 0;
}

.advsm-map-info .advsm-info-block:last-of-type {
    margin-bottom: 0;
}

.advsm-map-info .advsm-info-title {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 6px;
}

.advsm-map-info .advsm-info-picture a {
    display: block;
    cursor: zoom-in;
}

.advsm-info-phone span {
    display: inline-block;
    white-space: nowrap;
}

.advsm-map-info .advsm-info-phone span::after {
    content: '/';
    display: inline-block;
    margin: 0 0.125em;
}

.advsm-map-info .advsm-info-phone span:last-of-type::after {
    display: none;
}

.advsm-map-info .advsm-info-email span {
    display: block;
}

.advsm-map-info .advsm-info-website,
.advsm-map-info .advsm-info-email span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.advsm-map-info .advsm-info-picture img {
    width: 100%;
    height: auto;
}

.advsm-map-info .advsm-info-schedule table {
    margin-top: 5px;
    width: 100%;
}

.advsm-map-info .advsm-info-schedule table td {
    vertical-align: top;
    padding: 0;
}

.advsm-map-info .advsm-info-weekday {
    width: 1px;
}

.advsm-map-info .advsm-info-weekday span {
    margin-right: 3px;
    font-weight: bold;
    cursor: help;
}

.advsm-map-info .advsm-info-note {
    overflow-wrap: break-word;
}

.advsm-map-info .advsm-info-content {
    margin: 6px 0;
}

.advsm-map-info .advsm-info-content p {
    color: inherit;
    font-size: inherit;
    margin-bottom: 0.5em;
}

.advsm-map-info .advsm-info-content p:last-of-type {
    margin-bottom: 0;
}

.advsm-map-info .advsm-info-directions {
    background: white;
    height: 2em;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.advsm-map-info .advsm-info-directions a {
    font-weight: bold;
}

.advsm-map-info .advsm-info-address::before,
.advsm-map-info .advsm-info-phone::before,
.advsm-map-info .advsm-info-email span:first-of-type::before,
.advsm-map-info .advsm-info-fax::before,
.advsm-map-info .advsm-info-schedule::before,
.advsm-map-info .advsm-info-website::before,
.advsm-map-info .advsm-info-note::before,
.advsm-map-info .advsm-info-directions a::before {
    content: '';
    display: inline-block;
    vertical-align: middle;
    width: 15px;
    height: 15px;
    background-size: cover;
    margin-top: -1px;
    margin-right: 3px;
}

.advsm-map-info .advsm-info-address::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%23373a3c' d='M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");
}

.advsm-map-info .advsm-info-phone::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3Cpath fill='%23373a3c' d='M20.01 15.38c-1.23 0-2.42-.2-3.53-.56-.35-.12-.74-.03-1.01.24l-1.57 1.97c-2.83-1.35-5.48-3.9-6.89-6.83l1.95-1.66c.27-.28.35-.67.24-1.02-.37-1.11-.56-2.3-.56-3.53 0-.54-.45-.99-.99-.99H4.19C3.65 3 3 3.24 3 3.99 3 13.28 10.73 21 20.01 21c.71 0 .99-.63.99-1.18v-3.45c0-.54-.45-.99-.99-.99z'/%3E%3C/svg%3E");
}

.advsm-map-info .advsm-info-email span:first-of-type::before {
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' d='M0 0h24v24H0z'/%3E%3Cpath fill='%23373a3c' d='M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 14H4V8l8 5 8-5v10zm-8-7L4 6h16l-8 5z'/%3E%3C/svg%3E");
}

.advsm-map-info .advsm-info-fax::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%23373a3c' d='M19 8H5c-1.66 0-3 1.34-3 3v6h4v4h12v-4h4v-6c0-1.66-1.34-3-3-3zm-3 11H8v-5h8v5zm3-7c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm-1-9H6v4h12V3z'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");
}

.advsm-map-info .advsm-info-schedule::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath fill='%23373a3c' d='M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z'/%3E%3C/svg%3E");
}

.advsm-map-info .advsm-info-website::before {
    background-image: url("data:image/svg+xml,%0A%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 0 24 24' width='24'%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3Cpath fill='%23373a3c' d='M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z'/%3E%3C/svg%3E");
}

.advsm-map-info .advsm-info-note::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 0 24 24' width='24'%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3Cpath fill='%23373a3c' d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z'/%3E%3C/svg%3E");
}

.advsm-map-info .advsm-info-directions a::before {
    width: 17px;
    height: 17px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='24' viewBox='0 0 24 24' width='24'%3E%3Cpath fill='%23427fed' d='M21.71 11.29l-9-9c-.39-.39-1.02-.39-1.41 0l-9 9c-.39.39-.39 1.02 0 1.41l9 9c.39.39 1.02.39 1.41 0l9-9c.39-.38.39-1.01 0-1.41zM14 14.5V12h-4v3H8v-4c0-.55.45-1 1-1h5V7.5l3.5 3.5-3.5 3.5z'/%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3C/svg%3E");
}