/* overrides
===================================================================================================================== */
body .wpsl-search {
    padding-left: 0;
    background: transparent;
}

body #wpsl-search-input {
    width: 106px;
    padding: 3px 12px;
    border: 2px solid #fff;
    border-radius: 7px;
    background-color: transparent;
    color: #e5e5e5;
    font-size: 14px;
}

@media screen and (min-width: 1024px) {
    body #wpsl-search-input {
        width: 106px !important;
    }
}

#wpsl-search-wrap .wpsl-input label {
    margin-right: 10px;
}

body #wpsl-search-wrap .wpsl-input,
body #wpsl-search-wrap .wpsl-select-wrap,
body #wpsl-search-wrap #wpsl-radius,
body #wpsl-search-wrap #wpsl-results {
    display: flex;
    flex-shrink: 0;
    flex-grow: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    margin-bottom: 0;
    margin-right: 10px;
    float: none;
}

@media screen and (min-width: 1024px) {
    body #wpsl-search-wrap .wpsl-input,
    body #wpsl-search-wrap .wpsl-select-wrap,
    body #wpsl-search-wrap #wpsl-radius,
    body #wpsl-search-wrap #wpsl-results {
        flex-direction: row;
        align-items: center;
        justify-content: flex-start;
    }
}

body #wpsl-search-wrap .wpsl-input label,
body #wpsl-search-wrap div label {
    font-size: 14px;
}

#wpsl-search-wrap div {
    float: none;
    margin-right: 0;
}

body #wpsl-search-wrap .wp-select-wrap {
    float: none;
    margin-right: 0;
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: flex-start;
    flex-shrink: 0;
}

body #wpsl-search-btn {
    margin-right: 0;
    background: #f36a22;
    border-color: #f36a22;
    padding: 6px 28px !important;
    color: #e5e5e5;
    font-weight: 700;
    font-family: 'Roboto', sans-serif;
}

@media screen and (min-width: 1024px) {
    .wpsl-dropdown {
        background: transparent;
        border: 2px solid #fff;
        border-radius: 7px;
    }
}

.wpsl-dropdown .wpsl-selected-item,
.wpsl-dropdown li {
    padding: 4px 12px !important;
    color: white;
    font-weight: bold;
}

.wpsl-selected-item:after {
    border-top-color: #999;
}

#wpsl-checkbox-filter {
    float: none;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
    margin: 0;
}

@media screen and (min-width: 1024px) {
    #wpsl-checkbox-filter {
        flex-direction: row;
    }
}

#wpsl-checkbox-filter li label {
    font-weight: bold;
}

body #wpsl-gmap {
    float: none;
    width: 100%;
    height: 350px;
}

@media screen and (min-width: 1024px) {
    body #wpsl-gmap {
        height: 736px;
    }
}

#wpsl-stores {
    height: auto;
    padding-bottom: 100px;
}

#wpsl-result-list {
    width: 100%;
}

/* store locator
===================================================================================================================== */
#wpsl-wrap.locations-index-wrapper {
    overflow: visible;
    margin-bottom: -25px;
}

.locations-index-container {
    position: relative;
    z-index: 2;
    display: flex;
    width: 100%;
    align-items: flex-start;
    justify-content: flex-start;
    flex-direction: column;

    color: white;
}

@media screen and (max-width: 1023px) {
    .locations-index-container {
        padding-top: 20px;
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media screen and (min-width: 1024px) {
    .locations-index-container {
        padding-top: 74px;
        padding-right: 74px;
        padding-bottom: 500px;
    }
}

.locations-index-container::before {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    background: #3d3d3d;
    background: linear-gradient(218.34deg, #3d3d3d 17.64%, #a4c6d3 100%);
    content: '';
}

@media screen and (max-width: 1023px) {
    .locations-index-container::before {
        left: 0;
    }
}

@media screen and (min-width: 1024px) {
    .locations-index-container::before {
        width: 200%;
    }
}

@media screen and (min-width: 2560px) {
    .locations-index-container::before {
        width: 300%;
    }
}

/* @include large; */
@media screen and (min-width: 1024px) {
    .locations-index-container {
        max-width: 70%;
    }
}

.locations-index-header {
    position: relative;
    z-index: 2;
    margin-top: 28px;
    margin-bottom: 38px;
    color: currentColor;
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    font-size: 56px;
    line-height: 74px;
}

.locations-index-subtitle {
    position: relative;
    z-index: 2;
    color: #fff;
    font-family: 'Open Sans', sans-serif;
    font-weight: bold;
    font-size: 14px;
    line-height: 1.1;
    letter-spacing: 0.14em;
}

.locations-index-form-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
}

.locations-index-map-form {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.locations-index-map-options {
    position: relative;
    z-index: 2;
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    margin-bottom: 28px;
}

@media screen and (min-width: 1024px) {
    .locations-index-map-options {
        flex-direction: row;
    }
}

#wpsl-search-wrap .locations-index-filter-wrapper {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    margin-bottom: 28px;
    float: none;
    margin-right: 0;
}

@media screen and (min-width: 1024px) {
    #wpsl-search-wrap .locations-index-filter-wrapper {
        flex-direction: row;
        align-items: flex-start;
        justify-content: flex-start;
    }
}

#wpsl-search-wrap .locations-index-filter-label {
    margin-right: 40px;
}

.locations-index-filter-container {
    display: flex;
    width: 100%;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.locations-index-filter-container #wpsl-checkbox-filter li {
    width: auto;
    float: none;
    flex-shrink: 0;
}

.locations-index-map-wrapper {
    position: relative;
    z-index: 2;
    margin-bottom: 136px;
    box-shadow: 0 0 90px rgba(0, 0, 0, 0.15);
}

@media screen and (min-width: 1024px) {
    .locations-index-map-wrapper {
        margin-top: -500px;
    }
}

.locations-index-results-actions {
    position: relative;
    z-index: 5;
    display: flex;
    flex-direction: column;
    padding-right: 82px;
    flex-shrink: 0;
}

@media screen and (min-width: 1024px) {
    .locations-index-results-actions {
        width: 300px;
    }
}

.locations-index-results-wrapper
    .locations-index-results-actions
    h3.locations-index-results-header {
    margin-bottom: 26px;
}

.locations-index-results-wrapper {
    position: relative;
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.locations-index-results-background {
    position: absolute;
    z-index: 1;
    top: 0;
    left: -200%;
    right: -200%;
    bottom: 0;
    background-color: #f8f8f8;
    clip-path: polygon(0 100px, 100% 300px, 100% 100%, 0% 100%);
    pointer-events: none;
}

.locations-index-results-buttons {
    display: flex;
    width: 100%;
    flex-direction: row;
    align-items: flex-start;
    justify-content: flex-start;
}

.locations-index-button {
    background-color: #fff;
    border-width: 2px;
    border-style: solid;
    border-color: transparent;
    padding: 9px 21px;
    margin-bottom: 16px;
    cursor: pointer;

    font-size: 13px;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
    color: #999;
}

.locations-index-button:first-child {
    margin-right: 20px;
}

.locations-index-button:hover {
    border-color: #ddd;
}

@media screen and (min-width: 1024px) {
    .locations-index-results-wrapper {
        flex-direction: row;
    }
}

.locations-index-results-container {
    position: relative;
    z-index: 5;
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

@media screen and (min-width: 1024px) {
    .locations-index-results-container {
        width: calc(100% - 300px);
    }
}

.locations-index-button {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
.locations-index-button-image {
    margin-right: 12px;
    margin-bottom: 0 !important;
}

/* type dependency
--------------------------------------------------------------------------------------------------------------------- */
.locations-index-results-wrapper[data-type='list'] .location-item-grid-wrapper {
    display: none;
}

.locations-index-results-wrapper[data-type='list']
    .locations-index-button[data-type='list'] {
    border-color: #c4c4c4;
}

.locations-index-results-wrapper[data-type='grid'] .location-item-labels,
.locations-index-results-wrapper[data-type='grid'] .location-item-list-wrapper {
    display: none;
}

.locations-index-results-wrapper[data-type='grid']
    .locations-index-button[data-type='grid'] {
    border-color: #c4c4c4;
}

/* location item (list)
--------------------------------------------------------------------------------------------------------------------- */
.location-item-wrapper {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.location-item-list-wrapper {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}

.location-item-wrapper:nth-child(odd) .location-item-list-wrapper {
    background-color: #f8f8f8;
}

.location-item-wrapper:nth-child(even) .location-item-list-wrapper {
    background-color: #fff;
}

#wpsl-wrap #wpsl-result-list ul li.location-item-wrapper {
    border-bottom: 0;
    padding: 0;
}

.location-item-header {
    display: grid;
    width: 100%;
    grid-template-columns: 3fr 1fr 2fr 1fr 25px;
    grid-template-rows: 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    padding: 15px;
}
.location-item-header-label {
    font-weight: bold;
}

.location-item-header-value {
    font-size: 13px;
}

.location-item-header-value.location-item-branch {
    font-size: 14px;
}

.location-item-header-value.location-item-amenities {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
}

.location-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.location-item-icon .location-item-arrow {
    display: block;
    margin: 0 auto;
    cursor: pointer;
    transform: rotate(0);
    transform-origin: center center;
    transition: all linear 0.2s;
}

.location-item-wrapper.open .location-item-icon .location-item-arrow {
    transform: rotate(180deg);
}

.location-item-content {
    display: none;
    width: 100%;
}

.location-item-inner-content {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 15px;
    transition: all linear 0.3s;
}

@media screen and (min-width: 1024px) {
    .location-item-inner-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 30px 45px;
    }
}

.location-item-wrapper:nth-child(odd) .location-item-content {
    background-color: #f8f8f8;
}

.location-item-wrapper:nth-child(even) .location-item-content {
    background-color: #fff;
}

.location-info-hours-label {
    color: #c4c4c4;
    font-size: 26px;
    font-weight: bold;
    font-family: 'Open Sans', sans-serif;
    letter-spacing: 0.14em;
}

@media screen and (min-width: 1024px) {
    .location-info-hours-label {
        transform: rotate(-180deg);

        text-orientation: sideways;
        writing-mode: vertical-rl;
    }
}

.location-info-hours {
    width: 100%;

    font-size: 13px;
    font-size: 'Roboto', sans-serif;
}

@media screen and (min-width: 1024px) {
    .location-info-hours {
        margin-left: 56px;
    }
}

.location-info-hours ul {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    grid-column-gap: 0px;
    grid-row-gap: 0px;
}

.location-info-hours ul li {
    margin-bottom: 25px;
}

#wpsl-wrap #wpsl-result-list li li {
    margin-left: 0;
}

.location-info-hours ul li:nth-child(1),
.location-info-hours ul li:nth-child(2) {
    margin-bottom: 25px;
}

.location-item-button {
    display: flex;
    flex-shrink: 0;
    border-radius: 100px;
    border: 2px solid #999;
    background-color: inherit;
    padding: 14px 28px;

    color: #999;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
}

.location-item-button:hover {
    color: white;
    border-color: #f36a22;
    background-color: #f36a22;
}

/* location item (grid)
--------------------------------------------------------------------------------------------------------------------- */
[data-type='grid'] #wpsl-result-list .locations-list {
    display: grid;
    padding-top: 60px;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    grid-column-gap: 40px;
    grid-row-gap: 40px;
}

#wpsl-wrap [data-type='grid'] #wpsl-result-list li {
    overflow: visible;
}

@media screen and (min-width: 768px) {
    [data-type='grid'] #wpsl-result-list .locations-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (min-width: 1280px) {
    [data-type='grid'] #wpsl-result-list .locations-list {
        grid-template-columns: repeat(3, 1fr);
        grid-row-gap: 20px;
    }

    [data-type='grid'] .location-item-wrapper:nth-child(3n + 1) {
        margin-top: -40px;
    }

    [data-type='grid'] .location-item-wrapper:nth-child(3n + 3) {
        margin-top: 40px;
    }
}

.location-item-grid-wrapper {
    position: relative;
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.location-item-grid-image-wrapper {
    width: 100%;
    overflow: hidden;
}

.location-item-grid-image-container {
    padding-bottom: 125%;
    height: 0;
    background-color: #f8f8f8;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    transition: all ease-in-out 0.5s;
    transform-origin: center center;
}

.location-item-grid-wrapper:hover .location-item-grid-image-container {
    transform: scale(1.05);
}

/* .location-item-grid-image img {
    float: none !important;
    display: block;
    width: 100%;
    margin: 0 !important;
} */

.location-item-grid-content {
    position: absolute;
    bottom: -20px;
    left: 20px;
    right: 20px;
    padding: 20px;
    background: linear-gradient(217.36deg, #3d3d3d 20.22%, #a4c6d3 150.07%);
    color: white;
    line-height: 1.6 !important;
}

.location-item-grid-content .location-item-branch {
    margin-bottom: 10px;
    font-size: 16px;
}

.location-item-categories {
    margin-top: 30px;
    width: 100%;
}
.location-page-icon.location-icon-full-amenities {
    width: 100%;
    max-width: 100px;
}

.location-page-icon svg {
    width: 20px;
}

.location-page-icon.location-icon-full-amenities svg {
    width: 100%;
}
