.location h4 {
    font-weight: 600;
    color: #246193;
}
.location h3{
    font-weight:600;
    color: #246193;
}
a.back_to_locations, button {
    font-weight:600 !important;
}
address.ul_sl_address_link {
    font-size: 1.4rem;
    font-style: normal;
    font-weight: 500;
}
/* GMAP */
.location_map button:disabled,
.location_map button[disabled]{
  cursor:default !important;
  border-color: #72727200 !important;
  background-color: #ffffff87 !important;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.location_map button:disabled div,.location_map button[disabled] div{
      color: #727272 !important;
}
.location_wrapper {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
a#resetZoom {
    z-index: 10;
    padding: 10px;
    margin: 10px auto;
    text-align: center;
    display: inline-flex;
}
.location_list {
    flex: 1;
    overflow-y: auto;
    height: 100%;
}
.location_map {
    flex: 1;
}
.location_card {
    padding: 5px 20px;
    margin: 0px 40px;
    border-radius:5px;
    background-color: #fff;
    border-bottom: 1px solid #dcdcdc;
    transition: all 200ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750);
    border: 1px solid white;
}
.location_card:first-of-type {
    margin-top: 0px;
}

.location_card:hover,.location_card:focus {
    background: #fcfcfc;
    border: 1px solid #e0e0e0;
}

h2.location_name {
    font-size: 1.8rem !important;
    font-weight: 500 !important;
    color: #246193;
}
.location_card address {
    font-style: normal;
    font-weight: 300;
    padding: 5px 10px;
}

.location_info_phone {
    padding: 5px 10px;
    font-weight: 300;
    padding: 5px 10px;
}
.location_btn {
    display: inline-block;
    margin: 4px 5px;
    padding: 10px 20px;
    border-radius: 3px;
    background: #f3f3f3;
    font-size: 1rem !important;
    font-weight: 600;
    color: #246193 !important;
    text-decoration: none !important;
    transition: all 200ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750);
}
.location_btn:hover {
    color:#FFF !important;
    background-color: #1f5176;
}
.map_pin_location_name {
    font-size:1rem;
}
a.map_pin_link {
    font-weight: 500;
    font-size: 1rem;
}
.custom-info-window {
    padding: 3px;
}

h4.map_pin_heading {
    font-size: 1.2rem;
    font-weight: 600;
    color: #000000;
    margin-bottom: 8px;
}

.custom-info-window address {
    margin-bottom: 10px;
    font-size: 0.9rem;
    font-weight: 400;
    font-style: normal !important;
    color: #666666;
}
.gm-style-iw.gm-style-iw-c,.gm-style-iw.gm-style-iw-c {
    background: #ffffffc7 !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.gm-style-iw-d {
    overflow: visible !important;
    padding: 10px !important;
}

.gm-style-iw.gm-style-iw-c {
    padding: 10px !important;
}
button.gm-ui-hover-effect {
    top: 0px !important;
    right: 0px !important;
}
button.gm-ui-hover-effect span {
    width: 18px !important;
    height: 18px !important;
}
/*Custom map iframe version*/
.iframe-container {
    width: 100%;
    /* height: 400px; */
    position: relative;
    overflow: hidden;
    /* border-radius: 6px !important; */
}

.overlay-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.overlay-container img {
    width: 50px;
    height: 50px;
}

/*end custom map iframe version*/
@media (max-width: 767px) {
    .location_wrapper {
        flex-direction: column;
    }
}
/* For screens larger than 768px */
@media (min-width: 768px) {
    .info-item {
        width: 100%;
        flex-direction: row;
    }

    .info-label {
        margin-right: 10px;
    }
}
/* inline services */
.inline-services-list {
    list-style-type: none;  /* remove bullets */
    margin: 0;
    padding: 0;
    overflow: auto;
    white-space: nowrap;  /* prevent wrapping to the next line */
}

.inline-services-list li {
    display: inline;  /* display list items in line */
    margin-right: 5px;  /* add some space between list items */
}
.service_link::before {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #236193;
    opacity: 0;
    transition: all 0.2s ease-in-out;
}
.service_link{position:relative;}
.service_link:hover::before{
    animation: expand 0.3s forwards;
}
.service_link:not(:hover)::before {
    animation: collapse 0.3s forwards;
}
a.service_link {
    box-shadow: none !important;
    border: none !important;
    display: inline-block !important;
    padding: 0px 1px;
    vertical-align: bottom;
}
ul.services-list.inline-services-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: flex-start;
}

.service_link:hover,.service_link:focus {
    box-shadow: none !important;
    border-radius: 0px !important;
}
.back_to_locations {
    display: inline-block !important;
    position: relative !important;
    margin: 5px auto 20px;
    font-size: 1rem;
    transition: all 200ms cubic-bezier(0.250, 0.250, 0.750, 0.750);
    transition-timing-function: cubic-bezier(0.250, 0.250, 0.750, 0.750);
}

/* hours */
.ul_sl_hours {margin: 10px auto;}

.ul_sl_hours p {
    margin: 4px;
}
/*more about our services*/
#serviceDropdownForm {
    display: flex;
    justify-content: start;
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
}

#serviceDropdown {
    flex: 1;
    height: 40px;
    margin-right: 10px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#serviceDropdownForm button {
    padding: 8px 25px;
    background-color: #215987;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#serviceDropdownForm button:hover {
    background-color: #0f5791;
}
ul.services-list.inline-services-list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
}
@keyframes expand {
    0% {
        width: 0;
        opacity: 0;
        left: 0;
    }

    100% {
        width: 100%;
        opacity: 1;
        left: 0;
    }
}

@keyframes collapse {
    0% {
        width: 100%;
        opacity: 1;
        left: 0;
    }

    100% {
        width: 0;
        left: 100%;
    }
}