
/* Temporary Map Styling */
/*  */
.single-gd_place #distributors-sidebar {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.single-gd_place .geodir-page-title {
    font-family: 'Exo', sans-serif;
    font-weight:bold;
    margin:0;
}

.post-type-archive-gd_place main .uk-container,
.single-gd_place  main .uk-container {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
}

.post-type-archive-gd_place nav.uk-margin-medium-bottom,
.single-gd_place nav.uk-margin-medium-bottom {
    display: none;
}

.post-type-archive-gd_place h1.uk-article-title,
.single-gd_place h1.uk-article-title,
.single-gd_place .geodir_post_meta_title {
    display: none;
}

.post-type-archive-gd_place main#tm-main,
.single-gd_place main#tm-main {
    padding: 0;
}

.post-type-archive-gd_place main .uk-margin-medium,
.single-gd_place main .uk-margin-medium {
    margin: 0!important;
}

.post-type-archive-gd_place .wp-block-columns,
.single-gd_place .wp-block-columns {
    gap: 0;
    margin:0;
}

.post-type-archive-gd_place #distributors-sidebar,
.single-gd_place #distributors-sidebar {
    position:unset!important;
    max-height: 800px;
    overflow-y: scroll;
    scrollbar-color: #303030 black;
}

.post-type-archive-gd_place .card.h-100.p-0.m-0.mw-100{
    background: none;
    border: none;
    margin-top:1rem;
    padding-top:1rem;
    border-top: 1px solid rgb(255 255 255 / 10%)
}

.post-type-archive-gd_place a.gd-badge.btn.btn-link,
.single-gd_place a.gd-badge.btn.btn-link {
    padding: 0;
    text-decoration: none;
}

.single-gd_place .custom-address-wrapper {
    gap:0;
}

/*  */

#offcanvas-flip .gd-search-field-search-filters {
    display: none;
}
#offcanvas-flip h3 {
    margin: 1rem 0;
}
.dealer-contact input.ninja-forms-field[type="submit"] {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    line-height: 1;
}
.dealer-location p,
.dealer-location h4 {
    margin: 0;
}

.dealer-search {
    margin-top:1rem;
    margin-bottom:1rem;
    padding-top:1rem;
    border-top: 1px solid rgb(255 255 255 / 10%)
}
.dealer-location .btn {
    padding:0;
}
.autocomplete-container {
    position: absolute;
    z-index: 1000;
    width: 100%;
    background: black;
    max-height: 200px;
    overflow-y: scroll;
    scrollbar-color: #303030 black;
}
.suggestion-item {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #262626;
}
.suggestion-item:last-child {
    border-bottom: none;
}
.suggestion-item:hover {
    background-color: #262626;
}
#autocomplete-suggestions ul {
    margin:0;
    padding:0;
    list-style:none;
}
li.suggestion-item:focus {
    background: #262626!important;
}

/*  */

.geodir-listing-posts {
    max-width: 100%;
    margin: 0 auto!important
}
.geodir-entry-title a {
    font-weight:bold!important;
}
h2.geodir-entry-title.h5.text-white {
	margin-bottom:0;
}

.geodir-bubble_desc h6 {
    font-size: 1rem;
}

/*  */

.dealer-category {
    margin-top:1rem;
    /* padding:1rem; */
}
.dealer-actions {
    border-top: 1px solid rgba(0,0,0,0.2);
    gap:10px;
}
.dealer-category form label {
    gap: 5px;
    display:flex;
    align-items:center;
}
.location-item {
    margin-bottom:.5rem;
    padding-bottom:.5rem;
    border-bottom:1px solid rgba(0,0,0,0.2);
}
.location-category.uk-badge {
    background:#f2f2f2;
    color:rgba(0,0,0,0.75);
}
#locations {
    padding:1.5rem 1.5rem 0 1.5rem;
}
#pagination {
    padding: 0 1.5rem;
}
a.pagination-link {
    padding: 10px;
}
.pagination-nav {
    display: flex;
    gap: 1rem;
}
#dealer-map {
    display:flex;
    width:100%;
    position:relative;
}

#dealer-content {
    width: -webkit-fill-available;
    flex: 1;
}

#sidebar-container {
    max-width:450px;
    flex: 1;
    background: black;
}
#dealer-sidebar {
    width: 100%;
    padding: 1.5rem;
    color: white;
    /* display: flex;
    flex-direction: column;
    justify-content: center; */
}

.dealer-heading {
    color: white;
}

.filter-toggle {
    background:transparent;
    padding-right:0!important;
}

main .uk-container, #tm-main {
    max-width: unset;
    margin: 0;
    padding: 0;
}

.dealer-search .uk-search {
    width:unset;
    flex:1;
}

.online-card {
    border: 1px solid #f2f2f2;
    padding: 1rem!important;
    max-width:250px;
    display:flex;
    justify-content: space-between;
    align-items: center;
}
.online-grid {
    gap: 15px;
}

a.location-logo {
    width: 175px;
    height: 175px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f2f2f2;
    margin-bottom: .75rem;
}
a.location-logo img {
    padding: 30px
}
a.location-name {
    margin-bottom: .5rem;
}

ul.uk-subnav li {
    line-height: 1;
}
button.near-me:hover {
    color: white!important;
    background: transparent;
    border: 1px solid white;
}

button.reset-filters {
    color: white;
    border-color: white;
}

button.reset-filters:disabled {
    color: white;
    border-color: white;
    background:none;
    opacity:0.3
}

/* Map popup styling */
.gm-style-iw-ch {
    display: none;
}

.gm-style-iw-chr {
    position: absolute;
    right: 10px;
}
.page-template-page-map .geodir-map-canvas .gm-style .gm-style-iw-d {
    max-height: unset!important;
    overflow: auto!important;
}
/*  */

.dealer-category-checkbox:disabled,
#dealer-search:disabled,
#dealer-city:disabled,
#dealer-region:disabled,
#dealer-country:disabled {
    opacity:0.3;
    background:white;
    border-color:white;
}


/* Mobile drawer for filters */

@media(max-width:959px) {
    div#sidebar-container {
        max-width: 100%;
        width: 100%;
        position: fixed;
        z-index: 999;
        top: calc(100% - 65px);
    }
    
    h1.dealer-heading.uk-margin-remove {
        display: flex;
        justify-content: space-between;
        align-items: center;
        line-height: 1;
        font-size: 1.5rem;
        /* padding: 1.5rem; */
    }
    
    div#dealer-sidebar {
        padding: 1.5rem;
    }
    
    .dealer-location {
        /* padding: 0 1.5rem 0 1.5rem; */
    }
    
    .dealer-category {
        /* padding: 0 1.5rem 0 1.5rem; */
    }
    
    .dealer-actions.uk-border-top.uk-flex.uk-flex-column.uk-margin-top {
        /* padding: 0 1.5rem 1.5rem 1.5rem; */
    }
    
    #sidebar-container h1.dealer-heading:after {
        content: "+";
    }
    
    #sidebar-container.toggle-open h1.dealer-heading:after {
        content: "-"!important;
    }
    
    div#sidebar-container.toggle-open {
        bottom: 0;
        top: unset;
    }
    
    main#tm-main {
        position: relative;
    }
    p.dealer-description {
        display: none;
    }
    
    #sidebar-container.toggle-open p.dealer-description {
        display: block;
    }
    footer {
        margin-bottom:65px
    }
}
input#dealer-search {
    font-family: "Poppins", sans-serif;
    background: #fff;
}

select#dealer-country, #dealer-city, #dealer-region {
    font-family: "Poppins", sans-serif;
}

#dealer-category-filter label.uk-grid-margin.uk-first-column {
    margin-top: 0.25rem;
}
.reset-filters {
    border-radius: 500px !important;
}
.physical-locations {
    font-family: "Poppins", sans-serif;
}

section#pagination {
    font-family: "Poppins", sans-serif;
    /* margin-bottom: 1rem; */
}
.pagination-meta, .pagination-nav {
    /* margin-bottom: 1rem; */
}

/* Loading overlay */
#loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

#loading-overlay .loading-message {
    color: white;
    font-size: 1.25rem;
}
#header #nav ul.sub_menu {
    margin-top:0;
}
.location-phone {
    white-space: nowrap!important;
}