:root {
    --white: #fff;
    --light-gray: #eee;
    --medium-gray-variation: #ccc;
    --medium-gray: #d6d6d6;
    --medium-gray-darker: #ccc;
    --dark-gray-variation: #999999;
    --dark-gray: #646363;
    --darker-gray: #777;
    --light-black: #333;
    --black-variation: #1e1e1e;
    --black: #000;
    --primary-color: #24292f;
    --primary-color-dark: #000;
    --secondary-color: #3a627f;
    --secondary-color-variation: #32546d;
    --onsale-color: #ea0029;
    --button-color: #3a627f;
    --button-color-border: #2a475c;
    --button-color-hover: #32546d;
    --button-color-hover-border: #22394a;
    --footer-bottom-bg: #d9d9d9;
    --global-border: 1px solid #ebebeb;
    --global-shadow: 0 1px 2px rgb(0 0 0 / 20%);
    --FaktFont: 'Heebo', sans-serif;
    --PriceFont: 'Glitch Slap', monospace;
    --OpenSansFont: 'Heebo', sans-serif;
    --FontAwesomeFont: "Font Awesome 5 Free";
    --h1: 28px;
    --h2: 24px;
    --h3: 20px;
    --h4: 20px;
    --h5: 18px;
    --h6: 18px;
    --p-size: 14px;
    --p-size-lg: 16px;
    --p-size-sm: 12px;
    --block-title-size: 22px;
    --product-list-title: 14.4px;
    --price-size: 15px;
    --price-sale-size: 15px;
    --price-ordinareie-sale-size: 13px;
    --storefront-1row-title-size: 20px;
    --storefront-1row-button-size: 15px;
    --storefront-2row-title-size: 20px;
    --storefront-2row-button-size: 15px;
    --archive-title-size: 20px;
    --archive-cat-btn-size: 15px;
    --breadcrumb-size: 14px;
    --archive-filter-title-size: 20px;
    --archive-filter-subtitle-size: 14px;
    --archive-filter-button-size: 14px;
    --archive-list-product-title: 14.4px;
    --archive-list-product-excerpt: 12.8px;
    --single-product-title-size: 25px;
    --single-product-title-brand-size: 16px;
    --single-product-price-size: 28px;
    --single-product-sale-price-size: 28px;
    --single-product-ordinarie-sale-price-size: 18px;
    --single-product-desc-size: 16px;
    --single-product-variation-size: 14px;
    --single-product-meta-size: 14px;
    --single-product-tabs-title-size: 18px;
    --single-product-tabs-text-size: 16px;
    --single-product-tabs-artnr-size: 14px;
    --single-product-related-products-title-size: 18px;
    --blog-title: clamp(25px, 5vw, 50px);
    --footer-text: 14px;
    --header-text: 14px;
    --afc-block-bottom-margin: 30px;
}

/* =================================================

STORES

================================================= */

#stores-listing h4 {
    margin: 0 0 7px 0;
}

.post-type-archive-stores a {
    text-decoration: none !important;
}

.post-type-archive-stores .store-link a:hover,
.post-type-archive-stores .store-link a:focus {
    color: var(--black);
    outline: 0;
}

.post-type-archive-stores .row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(var(--bs-gutter-y) * -1);
    margin-right: calc(var(--bs-gutter-x) * -.5);
    margin-left: calc(var(--bs-gutter-x) * -.5);
}

.post-type-archive-stores .row>* {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
    margin-top: var(--bs-gutter-y);
}

.col-12 {
    flex: 0 0 auto;
    width: 100%;
}

@media (min-width: 992px) {
    .col-lg-7 {
        flex: 0 0 auto;
        width: 58.33333333% !important;
    }

    .col-lg-5 {
        flex: 0 0 auto;
        width: 41.66666667% !important;
        padding-right: 0 !important;
    }
}

@media (min-width: 768px) {
    .col-lg-3 {
        flex: 0 0 auto;
        width: 25%;
    }

    .col-lg-9 {
        flex: 0 0 auto;
        width: 75%;
    }
}

/* Store archive */

.search-container {
    font-size: 1.4rem;
}

.search-container h1{
    margin-top: 0px;
    font-size: 3.9rem;
    margin-bottom: 1rem;
}

.search-container .facetwp-facet {
    margin-bottom: 15px;
}

.search-container .col-12.mb-2.col-lg-7.col-md-8.align-items-start {
    margin-bottom: 16px;
}

#storemap {
    z-index: 5;
    height: 100%;
    min-height: 620px;
    bottom: 0;
    left: 0;
    position: relative;
    right: 0;
    top: 0;
    height: 43%;
    min-height: 57vh;
    width: 100%;
    margin: 0 auto;
}

@media (min-width: 768px) {
    #storemap {
        height: 100%;
        /* min-height: initial; */
    }
}

.stores-listing {
    column-count: 2;
}

.store-link span.store-row {
    border: 1px solid black;
}

.store-link span.store-categories {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    align-items: baseline;
}

.store-link .store-name {
    font-size: 1.4rem;
}

.store-link span.category {
    /* background-color: var( --medium-gray-darker); */
    background-color: #ccc;
    /* color: var(--white); */
    color: white;
    border-radius: 2rem;
    padding: 0px 6px;
    margin-top: 4px;
    margin-left: 2px;
    font-size: 1.2rem;
}

.store-link span.category.Sportringen {
    width: 76px;
}

.store-link span.category.Outlet {
    width: 45px;
}

.store-link span.category.Team.Sportia {
    width: 84px;
}
/* .store-link span.category.Cykel {

    background-color: var( --button-color);

} */

.highlighted-marker {
    filter: hue-rotate(150deg);
}
/* Sidebar */

#stores-listing {
    padding: 17px 13px !important;
}
/* .search-container {

    padding: 30px 15px !important;

} */
/* Search field */

.search-container {
    background-color: var(--white);
    /* margin-bottom: 30px; */
}

.search-container input {
    height: 60px;
    width: 100%;
    background-color: var(--light-gray);
    box-shadow: none;
}

.search-container input:focus {
    height: 60px;
    width: 100%;
    background-color: var(--medium-gray-variation);
    outline: none;
}
/* Store index */

#stores-listing {
    background: var(--white);
}

.map-container {
    padding: 0 20px;
    margin-bottom: 10px;
}

@media (min-width: 768px) {
    #stores-listing,
    .map-container {
        min-height: 400px;
    }

    .map-container {
        margin-bottom: 0px;
    }

    .stores-listing-links {
        max-height: 513px;
        overflow: hidden auto;
    }
}

.store-link {
    padding: 10px 0;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    justify-content: space-between;
}

@media (min-width: 768px) {
    .store-link {
        padding: 5px 0;
    }
}

.store-link a {
    display: block;
    position: relative;
    color: var(--darker-gray);
    display: flex;
    align-items: center;
    min-width: 58%;
}

.store-link a:hover,

.store-link a:focus {
    color: var(--black);
    outline: 0;
}

.store-link-icon {
    position: absolute;
    right: 0;
    display: inline-block;
    transition: all 0.5s ease-in-out;
}

.store-link i {
    color: var( --primary-color);
    font-size: 20px;
    display: inline-block;
    padding: 5px 10px 5px 2px;
}

.category-icon i {
    padding: 5px 5px 5px 2px;
    color: #ccc;
}
.store-link-icon i:first-child {
    position: relative;
    left: 5px;
}

.store-link-icon {
    margin-left: 10px;
    transition: all 0.5s ease-in-out;
}
/* STORE SINGLE */

.store-information td{
    border: 0;
}
/* STORE CONTENT */

@media (min-width: 768px) {
    .single-stores #primary {
        width: calc(100% - 339px);
        float: right;
        margin-left: 15px;
    }

    .single-store-wrapper-inside .entry-content {
        max-width: 100%;
    }

    .store-content-header h1 {
        margin-top: 3rem;
    }

    .store-info-header h4 {
        margin-top: 0;
    }
}

.store-content .hentry {
    margin-bottom: 15px;
}

.single-store-top-image img {
    width: 100%;
    padding-bottom: 15px;
}
/* Store Sidebar */

.single-stores #secondary {
    width: 100%;
}

@media (min-width: 768px) {
    .single-stores #secondary {
        width: 324px;
    }
}

.site-sgn .store-information{
    font-size: 1.7rem;
}

.site-sgn .store-information h4{
    font-size: 1.9rem;
}
/* .store-information .store-info-block {
    margin: 0 0 15px;
    padding: 30px 20px 10px;
    background: var(--white);
} */

.store-information .store-info-block {
    margin-bottom: 60px;
    padding: 0;
}

@media (min-width: 768px) {
    .store-information .store-info-block {
        margin-bottom: 60px;
        padding: 0 15px;
    }
}

#search-archive-wrapper h4,
.store-information>div h4 {
    font-family: var(--FaktFont);
    font-weight: bold;
}

.store-contact .store-info-header h4{
    font-weight: normal;
}

.store-info-header i {
    display: none;
}

.store-information .store-info-table {
    margin-top: 30px;
}

.store-information>div td {
    background-color: transparent !important;
    padding: 10px 0;
    text-align: right;
    border-top: 1px solid var(--light-gray);
}

.store-information>div tr:first-child td {
    border-top: none
}

.store-information>div td:first-child {
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--black);
    font-size: var(--header-text);
}

@media screen and (max-width: 768px) {
    .store-info-block {
        padding: 10px;
    }
    .store-information>div .store-info-header {
        position: relative;
        padding-right: 30px;
    }
    .store-special-hours>div h4 {
        margin-bottom: 0 !important;
    }
    .store-special-hours .store-info-table {
        display: none;
    }
    .store-special-hours.show-store-content .store-info-table {
        display: table;
    }
    .store-special-hours.show-store-content>div h4 {
        margin-bottom: 30px !important;
    }
    .store-information>div .store-info-header i {
        position: absolute;
        top: 0;
        right: 0;
    }
    .store-info-header i {
        display: block;
    }
}

@media screen and (min-width: 767px) {
    .store-info-header i {
        display: none;
    }
}

.store-information {
    padding-right: 0 !important;
    padding-left: 0 !important;
}

.store-information>div .store-info-table>div {
    background-color: transparent !important;
    padding: 10px 0;
    border-top: 1px solid var(--light-gray);
}

.store-information>div .store-info-table>div i {
    padding-right: 10px;
    vertical-align: top;
    color: var(--medium-gray);
    font-size: 18px;
}

.store-information>div .store-info-table>div span {
    display: inline-block;
}

.store-information>div .store-info-table>div:first-child {
    border-top: none
}

.store-information>div>div span:first-child {
    text-align: left;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--black);
    font-size: var(--p-size);
}
/* Store Facebook */

.fb-page.fb_iframe_widget {
    display: block;
    margin: 0 auto 30px;
}

@media (max-width: 370px) {
    .fb-page.fb_iframe_widget {
        display: none;
    }
}

@media (max-width: 768px) {
    .fb-page.fb_iframe_widget {
        padding: 15px 0;
        background: var(--white);
        text-align: center;
    }
}

@media (min-width: 768px) {
    .fb-page.fb_iframe_widget {
        margin: 0 auto 60px;
    }
}

/* Mobile overflow outside */
@media (max-width: 767px) {
    .mobile-overflow-outside {
        display: inline-block;
        white-space: nowrap;
        overflow-x: auto;
        overflow-y: visible;
        /* width: 100%; */
        max-width: 100vw;
        margin-left: -20px;
        margin-right: -20px;
        padding-left: 20px;
        padding-right: 20px;
        -webkit-overflow-scrolling: touch;
    }

    .mobile-overflow-outside > * {
        display: inline-block;
    }
}
