.locations-template{
    height: 100vh;
    display: flex;
}
.locations-template .nav-col{
    width: 544px;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
}
.acf-map{
    flex: 1;
}
.store-locator-wrapper{
    padding: 48px 62px 27px 57px;
}
.markers-wrap{
    flex: 1;
    display: flex;
    flex-direction: column;
}
.marker-list{
    overflow-y: auto;
}
.store-locator .top-header{
    color: #023787;
    font-size: 24px;
    line-height: 1.333;
    margin-bottom: 9px;
    font-weight: bold;
    font-family: "Agrandir", sans-serif;
}
.store-locator-input{
    border: 1px solid #F18221;
    padding: 10px 14px;
    font-size: 16px;
    color: #000;
    height: 42px;
    border-radius: 8px;
    flex: 1;
}
.search-input-container{
    display: flex;
    gap: 10px;
    align-items: center;
}
.search-button{
    font-size: 14px;
    font-weight: 500;
    color: #FFF;
    background-color: #F18221;
    border: 0;
    padding: 11px 16px;
    height: 40px;
    border-radius: 20px;
    font-family: "Agrandir", sans-serif;
    line-height: 1.42;
}
.location-filter-wrap{
    background-color: #F8F8F8;
    padding: 21px 45px 21px 57px;
    display: flex;
    justify-content: space-between;
}
.location-filter-wrap .filter-count{
    font-size: 16px;
    line-height: 1.375;
}
.btn-location-filter{
    color: #0057C7;
    font-size: 16px;
    font-weight: bold;
    font-family: "Agrandir", sans-serif;
    display: inline-flex;
    gap: 2.5px;
    border: 0;
    background-color: transparent;
    cursor: pointer;
}
.marker-list{
    background-color: #F8F8F8;
    padding: 2px 30px 17px 57px;
}
.marker-list-item{
    border: 1px solid #F18221;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 13px;
    display: flex;
    flex-direction: column;
    row-gap: 10px;
}
.marker-list-item .title a{
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #023787;
    font-family: "Agrandir", sans-serif;
}
.marker-list-item .title a .icon{
    padding: 12px;
    line-height: 0;
}
.address-phone{
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
.address-phone .address{
    flex: 1;
}
.logos-distance{
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding: 10px 0;
    gap: 20px;
}
.logos-distance .logos{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.logos-distance .logos .brand-logo{
    max-height: 50px;
    max-width: 60px;
    object-fit: contain;
    width: auto;
    height: auto;
}
.distance-from{
    font-size: 16px;
}
div[role="dialog"] .title-link{
    color: #000;
}
div[role="dialog"] .title-link .icon{
    display: none;
}
.filter-popup{
    position: absolute;
    background-color: #F8F8F8;
    width: 100%;
    height: 100%;
    z-index: 2;
    left: 0;
    top: 0;
    padding: 50px 40px 50px 57px;
    overflow-y: auto;
    display: none;
}
.filter-popup.active{
    display: block;
}
.filter-popup .filter-title{
    color: #023787;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.3333;
    margin-bottom: 31px;
}
.filter-popup .filter-close-popup{
    position: absolute;
    right: 40px;
    top: 50px;
    background-color: transparent;
    border: 0;
    cursor: pointer;
}
.filter-popup .filter-close-popup:focus{
    outline: none;
}

.filter-popup .categories{
    margin-bottom: 27px;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.filter-popup .categories li{
    display: inline-flex;
    gap: 8px;
}
.filter-popup .categories li input[type=checkbox]{
    width: 16px;
    height: 16px;
    border: 1px solid #D0D5DD !important;
    outline: none;
    box-shadow: none;
    background-color: #FFFFFF;
    border-radius: 4px;
}
.filter-button-groups{
    display: flex;
    gap: 15px;
}

/*.filter-button-groups button{*/
/*    padding: 11px 16px 9px;*/
/*    height: 40px;*/
/*    border-radius: 20px;*/
/*    font-size: 14px;*/
/*    font-weight: 500;*/
/*    color: #FFF;*/
/*    background-color: #F18221;*/
/*    font-family: "Agrandir", sans-serif;*/
/*    border: 0;*/
/*    cursor: pointer;*/
/*    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);*/
/*}*/
/*.filter-button-groups button.view-results{*/
/*    background-color: #0057C7;*/
/*}*/

.clear-filter span{
    display: inline-flex;
    gap: 6px;
    align-items: center;
}

@media(max-width: 991px){
    .locations-template .nav-col{
        width: 450px;
    }
    .store-locator-wrapper{
        padding: 43px 32px 43px 28px;
    }
    .location-filter-wrap{
        padding: 20px 32px 20px 28px;
    }
    .marker-list{
        padding: 2px 31px 30px 28px;
    }
}

@media(max-width: 767px){
    .locations-template{
        height: auto;
        flex-direction: column-reverse;
        position: relative;
    }
    .acf-map{
        height: 313px;
        width: 100%;
        flex: unset;
        margin-top: 185px;
    }
    .locations-template .nav-col{
        width: 100%;
        position: unset;
    }
    .store-locator-wrapper{
        padding-top: 59px;
        position: absolute;
        top: 0;
        left: 0;
        z-index: 1;
        width: 100%;
    }
    .location-filter-wrap{
        padding-top: 43px;
    }
    .filter-popup{
        padding: 59px 42px 42px;
    }
    .filter-popup .filter-close-popup{
        top: 59px;
    }
}

/*Single Location*/
.locations-template-single .site-main{
    display: flex;
    position: relative;
}
.locations-template-single .nav-col{
    width: 544px;
    padding: 77px 31px 84px 55px;
}
.locations-template-single .map-gallery{
    flex: 1;
    position: relative;
    width: calc(100% - 544px);
}
.locations-template-single .acf-map-single{
    height: 630px;
}
.back-to-search a{
    font-size: 16px;
    font-weight: bold;
    color: #000;
    display: flex;
    align-items: center;
    gap: 6px;
    line-height: 1;
}
.back-to-search{
    margin-bottom: 39px;
}
.location-title{
    font-size: 30px;
    font-weight: bold;
    color: #023787;
    font-family: "Agrandir", sans-serif;
    margin-bottom: 10px;
}

.location-section.address{
    font-size: 16px;
    line-height: 1.375;
    margin-bottom: 12px;
}
.location-section.phone-number a{
    font-size: 16px;
    color: #000000;
    text-decoration: underline;
}
.location-section.phone-number{
    margin-bottom: 35px;
}
.get-directions-link{
    margin-bottom: 50px;
}
.button.button-orange{
    padding: 11px 16px 9px;
    height: 40px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: #FFF;
    background-color: #F18221;
    font-family: "Agrandir", sans-serif;
    border: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    box-shadow: 0px 1px 2px 0px rgba(16, 24, 40, 0.05);
}

.logos.location-section{
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    margin-bottom: 50px;
}
.logos.location-section .brand-logo{
    max-height: 70px;
    max-width: 105px;
    object-fit: contain;
    width: auto;
    height: auto;
}
.location-section.amenities{
    margin-bottom: 40px;
}
.location-section.amenities strong{
    margin-bottom: 20px;
    display: block;
    font-size: 20px;
    line-height: 1.5;
}
.location-section.amenities ul{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    list-style: none;
}
.location-section.amenities ul li{
    text-align: center;
    padding: 15px 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
/* 	justify-content: space-between; */
}
.location-section.amenities ul li .icon img{
/*     max-width: 40px; */
    height: 40px;
	width: auto;
    object-fit: contain;
}
.description.location-section{
    font-size: 16px;
    line-height: 1.375;
}
.description.location-section h2{
    color: #000000;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.333;
    font-family: "Agrandir", sans-serif;
    margin-bottom: 11px;
}
.description.location-section p{
    font-size: 16px;
    line-height: 1.375;
}
.description.location-section ul{
    padding-left: 25px;
}
.location-gallery-slider{
    margin-top: 25px;
    padding-bottom: 40px;
    max-width: 100%;
}
.location-gallery-slider img{
    height: 220px;
    width: auto;
    min-width: 260px;
    object-fit: cover;
}
.location-gallery-slider .swiper-slide{
    width: fit-content;
}
.gallery-swiper-navigation{
    justify-content: center;
    display: flex;
    gap: 30px;
    margin-top: 15px;
}
.gallery-swiper-navigation > div{
    cursor: pointer;
}
.gallery-swiper-navigation .swiper-button-disabled{
    opacity: 0.5;
}
.location-extra-service{
    position: absolute;
    z-index: 1;
    top: 45px;
    left: 20px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 250px;
}

.location-extra{
    padding: 15px 18px;
    background-color: #0057C7;
    color: #FFF;
    border-radius: 10px;
    width: 100%;
    font-size: 12px;
    max-height: 200px;
    overflow-y: auto;
    line-height: 1.5;
}
.location-extra .title{
    font-weight: bold;
    margin-bottom: 9px;
	text-transform: uppercase;
}
.list-hours{
    list-style: none;
    padding: 0;
    line-height: 1.5;
}
.list-hours li{
    display: flex;
    gap: 5px;
    font-size: 12px;
}
/* .list-hours li > span{
    flex: 1;
} */
.list-hours li .label{
	width: 90px;
}
.list-hours li .value{
    text-transform: uppercase;
}
.gas-prices{
    font-size: 14px;
    line-height: 1.5;
    padding-left: 21px;
    padding-right: 21px;
	max-width: 180px;
}
.gas-prices .gas-price-item{
    font-weight: bold;
}
.gas-prices .gas-price-item > span{
    font-weight: 400;
}
.location-extra ul{
/*     padding-left: 15px; */
}
.map-gallery-sticky{
    position: sticky;
    top: 0;
}
.get-directions-link .btn{
    height: 40px;
}
.get-directions-link .btn span{
    display: inline-flex;
    gap: 6px;
    align-items: center;
}

.k-checkbox input[type="checkbox"]{
    display: none !important;
}
.k-checkbox .checkbox-text{
    position: relative;
    padding-left: 26px;
    font-family: 'Agrandir';
    font-weight: 400;
    font-size: 16px;
    line-height: 18px;
    color: var(--black);
}
.k-checkbox .checkbox-text:before{
    content: "";
    position: absolute;
    left: 0;
    top: -2px;
    width: 16px;
    height: 16px;
    border: 1px solid #898D8D;
    border-radius: 4px;
    transition: all 0.2s ease;
    box-sizing: border-box;
}
.k-checkbox .checkbox-text:after{
    content: "";
    position: relative;
    padding-left: 0;
    font-family: 'Agrandir';
    font-weight: 400;
    font-size: 16px;
    line-height: 18px;
    color: var(--black);
}
.k-checkbox input[type="checkbox"]:checked+.checkbox-text:after{
    content: "";
    position: absolute;
    left: 5px;
    top: 0px;
    width: 16px;
    height: 13px;
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTYiIGhlaWdodD0iMTMiIHZpZXdCb3g9IjAgMCAxNiAxMyIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTAuNjI1IDYuNjg4NzJMNS42MjUgMTAuNjg4N0wxNS4xMjUgMC42ODg3MjEiIHN0cm9rZT0iYmxhY2siIHN0cm9rZS13aWR0aD0iMiIvPgo8L3N2Zz4K);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
.filter-button-groups button{
    cursor: pointer;
}
.description.location-section ul li::marker {
    font-size: 10px;
}
.locations-template-single .site-main,
.locations-template{
	max-width: 1920px;
	margin: 0 auto;
}

/* Update infowindow */
.map-info-card {
    position: relative;
    min-width: 230px;
    max-width: 300px;
    background: #fff;
    color: #172033;
    font-family: inherit;
}

.map-info-card__accent {
    height: 5px;
    background: linear-gradient(90deg, #1261a6, #f58220);
}

.map-info-card__body {
    padding: 15px 40px 15px 15px;
}

.map-info-card__label {
    display: block;
    margin-bottom: 6px;
    color: #f58220;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.4px;
}

.map-info-card__title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
}

.map-info-card__title a {
    color: #1261a6;
    text-decoration: none;
}

.map-info-card__title a:hover {
    color: #f58220;
}

.gm-style .gm-style-iw-c:has(.map-info-card) {
    padding: 0 !important;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 12px 35px rgb(15 23 42 / 22%);
}

.gm-style .gm-style-iw-d:has(.map-info-card) {
    overflow: hidden !important;
}

.gm-style .gm-style-iw-c:has(.map-info-card) .gm-ui-hover-effect {
    top: 9px !important;
    right: 8px !important;
    width: 30px !important;
    height: 30px !important;
    border-radius: 50%;
    background: #f1f5f9 !important;
    opacity: 1;
}

.gm-style .gm-style-iw-c:has(.map-info-card) .gm-style-iw-chr {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10;
    height: 30px;
}

.gm-style .gm-style-iw-c:has(.map-info-card) .gm-style-iw-ch {
    display: none;
}

.gm-style .gm-style-iw-c:has(.map-info-card) .gm-ui-hover-effect {
    position: static !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 30px !important;
    height: 30px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 50%;
    background: #f1f5f9 !important;
    opacity: 1;
}

.gm-style .gm-style-iw-c:has(.map-info-card)
.gm-ui-hover-effect > span {
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
}

@media(max-width: 991px){
    .locations-template-single .nav-col{
        padding: 52px 30px 37px;
        width: 400px;
    }
    .locations-template-single .map-gallery{
        width: calc(100% - 400px);
    }
}

@media(max-width: 767px){
    .location-extra-service{
        position: relative;
        top: 0;
        left: 0;
        margin-bottom: 20px;
    }
    .locations-template-single .nav-col{
        padding: 52px 30px 37px;
        width: 100%;
    }
    .back-to-search{
        margin-bottom: 33px;
    }
    .location-title{
        font-size: 24px;
    }
    .location-section.phone-number{
        margin-bottom: 20px;
    }
    .get-directions-link{
        margin-bottom: 40px;
    }
    .location-extra{
        background-color: #FFF;
        color: #000;
    }
    .image-gallery{
        width: calc(100% + 60px);
        position: relative;
        left: -30px;
    }
}