.location-splitview-widget {
    display: flex;
    flex-direction: row;
    /* max-height: 400px;
    align-items: stretch; /* Added to ensure equal height */ */
    margin-top: 20px; /* Top spacing */
    margin-bottom: 20px; /* Bottom spacing */
}

.location-list {
    flex: 1;
    overflow-y: auto; /* Make it scrollable */
    max-height: 400px;
}

.location-map {
    flex: 1;
    height: 400px;
    overflow: hidden;
}
.location_card:last-of-type {
    border-bottom: 0px !important;
}
.location-list {
    border: 1px solid lightgray; /* Adds a light gray border */
}

h4 {
    color: #246193 !important;
}
.pad-cont{
    padding:12px 20px;
}
.scrollable-content {
    max-height: 112px; /* adjust this value as needed */
    overflow-y: auto;
    position: relative;
}
.scrollable-content {
    border: 2px solid transparent; /* initially transparent */
    transition: border-color 0.3s; /* transition on the border-color property */
}
.scrollable-content::before {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 4px;
    margin-right: 5px;
    height: 50px;
    border-radius: 50px;
    background: var(--before-bg, #f4f4f4);
    pointer-events: none;
    opacity: var(--before-opacity, 1);
    transition: opacity 0.3s;
}

.scrollable-content:focus,.scrollable-content:hover {
    border-color: #ebebeb; /* change to gray on focus */
    outline: none; /* optional: remove the default outline */
}
.scrollable-content.scroll-animation::before {
    animation: scroll var(--animation-duration, 6s) ease-in-out infinite;
}

.full_name {
    font-size: 2.75rem !important;
    margin-bottom: 10px !important;
    font-weight: 800 !important;
	line-height: 1.2 !important;
	color: #246193 !important;
}
.general-info-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.info-item {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 7px;
}
.general-info-grid {
    padding: 20px;
    background: #f7f7f7;
    border-radius:6px;
}
.info-label, .info-value {
    width: 100%;
}

.info-label {
    font-weight: bold;
    color: #246193;
}
.specialty a::before {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #236193;
    opacity: 0;
    transition: all 0.2s ease-in-out;
}
.specialty a{position:relative;}
.specialty a:hover::before {
    animation: expand 0.3s forwards;
}

.specialty a:not(:hover)::before {
    animation: collapse 0.3s forwards;
}
/* 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_split_split_split_split {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
    padding: 10px;
    align-content: stretch;
    justify-content: center;
}
a#resetZoom {
    z-index: 10;
    padding: 10px;
    margin: 10px auto;
    text-align: center;
    display: inline-flex;
}
.location_list {
    flex: 1;
    max-height: 400px;
}
.location_map {
    flex: 1;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: flex-start;
    align-items: center;
    min-height: 450px;
    gap: 10px;
}
.location_card {
    padding: 9px 9px;
    display: flex;
    width: 100%;
    border-bottom: 1px solid #ededed !important;
    background-color: #fff;
    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);
    flex-direction: column;
    flex-wrap: wrap;
    align-content: flex-start;
    justify-content: center;
    align-items: flex-start;
}
.location_card:first-of-type {
    margin-top: 0px;
}

.location_card:hover,.location_card:focus {
    background: #f6fbff;
    width: 100%;
    margin: 0px;
}
span.num_loc_list {
    padding: 3px;
    border-right: 1px solid #ebebeb;
    color: #bdccd8;
    margin-right: 10px;
}
h2.location_name {
    font-size: 1.7rem !important;
    font-weight: 600 !important;
    color: #246193;
}
.location_card address {
    font-style: normal;
    font-weight: 300;
    padding: 5px 10px;
    font-size: 1.1rem;
}

.location_info_phone,.location_info_fax {
    font-weight: 300;
    padding: 5px 10px;
    font-size: 1.1rem;
}
.location_btn {
    display: inline-block;
    margin: 6px 6px;
    padding: 8px 14px;
    border-radius: 6px;
    background: #ffffff;
    border: 2px solid #f2f2f2;
    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,.location_btn:focus {
    color:#FFF !important;
    background-color: #246193;
    border-color: #246193;
}
.location_info_group {
    line-height: 1.2;
}
.map_pin_location_name {
    font-size:1rem;
}
a.map_pin_link {
    font-weight: 500;
    font-size: 1rem;
}
.custom-info-window {
    padding: 3px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: stretch;
    margin-top: -55px !important;
}

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;
}

#map {
    width: 100%;
    height: 500px;
    border-left:none !important;
}

span.semibold_prp {
    font-weight: 500;
}
.cs_locations {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    color: #5e5e5e;
}

@media (max-width: 971px) {
    .location_wrapper_split_split_split_split {
        flex-direction: column;
    }
    .scrollable-content {
        max-height: 500px; /* adjust this value as needed */
    }
    div#map {
        width: 100% !important;
        height: 500px !important;
    }
    .location_list {
        order: 2;
    }
    .location_map {
        order: 1;
    }
}
@media (max-width: 1030px) {
    .location-splitview-widget {
        display:block !important;
    }
    .location-list, div#map {
        flex: 0 0 100%;
        height: auto;
        max-height: 400px; 
        margin-bottom: 20px;
    }
}

@media (min-width: 768px) {
    .info-item {
        width: 100%;
        flex-direction: row;
    }

    .info-label {
        margin-right: 10px;
    }
}

@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%;
    }
}
@keyframes scroll {
    0% {
        transform: translateY(-100%);
    }
    50% {
        transform: translateY(100%);
    }
    100% {
        transform: translateY(-100%);
    }
}