﻿.bg-light {
    background-color: #E5CFD1 !important;
}

.product {
    display: flex !important;
    flex-direction: column;
    justify-content: space-around;
}

    .product h5 {
        word-break: break-word;
    }

.border-light {
    border-color: #e9ded9 !important;
}

.border-grey {
    border-color: #f8f9fa !important
}

#filters {
    word-break: break-word;
    position: sticky;
    top: 170px;
    max-height: calc(100vh - 180px);
    overflow-y: auto;
}

.searchbar-results {
    position: absolute;
    margin-top: 5px;
    margin-bottom: 10px;
    background: white;
    z-index: 999;
    border: 1px solid rgba(0,0,0,.15);
    width: 500px;
}

    .searchbar-results a {
        cursor: pointer !important;
    }

.searchbar-product-image {
    width: 50px;
    max-height: 50px;
    margin-right: 15px;
    object-fit:contain;
}

.brand-logo {
    height: 70px;
}

.shoppingcart-amount {
    font-weight: normal;
}

.navbar-toggle-categories {
    margin-left: 7px;
}

.secondary-navbar-button {
    border-bottom: solid transparent 2px;
}

    .secondary-navbar-button:hover {
        border-color: #000;
    }

.secondary-navbar-button-background:hover {
    background-color: #cea9ac !important;
}

* {
    font-family: Georgia, 'Times New Roman', Times, serif;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
}

.table-image {
    height: 40px;
    display: flex;
    justify-content: center;
    max-width: 60px;
}

    .table-image img {
        height: 100%;
        max-width: 60px;
    }

.text-brand {
    color: var(--brand-color) !important;
}

.btn-brand {
    color: #fff;
    background: var(--brand-color) !important;
}

.bg-brand {
    color: #fff;
    background: var(--brand-color) !important;
}

.btn-brand:hover {
    background: var(--brand-color-dark) !important;
    color: #fff;
}

.btw-percentage {
    padding-top: 1rem;
    padding-left: 10px;
}

.cart-btw-percentage {
    padding-top: 0.5rem;
    padding-left: 10px;
}

.cart-product-image-sm {
    max-height: 100px;
    width: auto !important;
    max-width: 100%;
}

.cart-product-image-lg {
    height: auto;
    max-width: 100%;
}

#product-images-carousel .carousel-item:before {
    content: '';
    display: block;
    position: absolute;
    width: 100vw;
    top: 0;
    height: 100vh;
}

#product-images-carousel img {
    object-fit: contain;
    object-position: center;
    height: 50vh;
    overflow: hidden;
    max-height: 500px;
    width: 100%;
    border-radius: 0.3rem;
}

a {
    cursor: pointer;
    color: var(--brand-color);
}

    a:hover {
        color: var(--brand-color-dark);
    }

.image-description {
    position: absolute;
    bottom: 10px;
    left: 10px;
}

.line-break {
    white-space: pre-wrap;
}

.form-options {
    position: fixed;
    right: 10px;
    bottom: 10px;
}

.grab {
    cursor: move;
}

.toast-container {
    z-index: 999;
}

.bg-img {
    background-size: cover !important;
    background-position: center !important;
}

.bg-img-nocrop {
    background-size: contain !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.link-hidden {
    text-decoration: none;
    color: black;
}

    .link-hidden:hover {
        text-decoration: underline;
        color: black;
    }

.align-y-center {
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
}

.product-image {
    max-height: 200px;
    max-width: 100%;
    width: auto;
    align-self: center;
}

/*.product-cols .product-col:nth-child(even) {
    border-right: none;
}

.product-cols .product-col {
    border-top: 2px solid #eaeaea;
}

.product-cols .product-col {
    border-left: 2px solid #eaeaea;
}*/

/*Full screen from 992*/
/*@media(min-width: 992px) {
    .product-cols .product-col:nth-child(4n+1) {
        border-left: none;
    }
}*/

/*992 till 767*/
/*@media(max-width: 992px) and (min-width:767px) {
    .product-cols .product-col:nth-child(3n+1) {
        border-left: none;
    }
}*/

/*max 767*/
@media(max-width: 768px) {
    /*    .product-cols .product-col:nth-child(2n+1) {
        border-left: none;
    }*/

    .header-buttons {
        padding-top: 5px;
        justify-content: right;
    }

    .brand-logo {
        height: 40px;
    }

    .nav-toggle {
        flex: 1 1 30%;
    }

    .nav-brand {
        flex: 1 1;
    }

    .nav-icons {
        flex: 1 1 30%;
        justify-content: flex-end !important;
    }
}

.product-cols .product-col:hover {
    box-shadow: 0px 0px 25px 1px rgba(0,0,0,0.22);
    -webkit-box-shadow: 0px 0px 25px 1px rgba(0,0,0,0.22);
    -moz-box-shadow: 0px 0px 25px 1px rgba(0,0,0,0.22);
}

/*.top-product-row .product-col {
    border-left: 2px solid #eaeaea;
}*/

/*    .top-product-row .product-col:last-child {
        border-right: 2px solid #eaeaea;
    }*/

.image-select img {
    width: 85px;
    height: 85px;
    object-fit: cover;
    margin-bottom: 5px;
}

.image-select {
    text-decoration: none;
}

.header-buttons {
    display: flex;
}

.navbar-dropdown {
    position: absolute;
    width: 100%;
}

.focus-overlay {
    background: #000;
    z-index: 100;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transition: opacity 0.1s ease-out;
    opacity: 0;
    height: 0;
    overflow: hidden;
}

.page-item.active .page-link {
    background-color: var(--brand-color);
    border-color: var(--brand-color);
    color: #ffff;
}

.page-link {
    color: var(--brand-color);
}

    .page-link:hover {
        color: var(--brand-color);
    }

.home-img {
    min-height: 145px !important;
}

.demo {
    background: #d4d4d4;
    border-radius: 15px;
    height: 250px;
    -webkit-animation: fadeinout 3s linear;
    animation: fadeinout 3s linear;
    opacity: 0;
    animation-iteration-count: infinite;
    -moz-animation-iteration-count: infinite;
    -webkit-animation-iteration-count: infinite;
    -o-animation-iteration-count: infinite;
}

@-webkit-keyframes fadeinout {
    50% {
        opacity: 1;
    }
}

@keyframes fadeinout {
    50% {
        opacity: 1;
    }
}

#store-map {
    height: 250px;
}

.homepage-category-image {
    height: 250px;
    width: 100%;
    object-fit: cover;
}

.homepage-brand-image {
    object-fit: contain;
}

.card-clickthrough:hover img {
    opacity: 0.7;
}

.row-fluid {
    white-space: nowrap;
    overflow: auto;
}

    .row-fluid .col {
        display: inline-block;
        white-space: normal;
    }

.full-image {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

    .full-image p {
        width: fit-content;
    }

.row-fluid::-webkit-scrollbar-track {
    border-radius: 10px;
    background-color: #F5F5F5;
}

.row-fluid::-webkit-scrollbar {
    width: 10px;
    background-color: #F5F5F5;
}

.row-fluid::-webkit-scrollbar-thumb {
    border-radius: 10px;
    background-color: #c9c9c9;
}

.shopping-cart-amount {
    background: var(--brand-color-accent);
}

.order-detail-image {
    object-fit: contain;
}

.orderlist-image {
    width: 50px;
}

/* Chrome, Safari, Edge, Opera */
.cart-amount::-webkit-outer-spin-button,
.cart-amount::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Firefox */
.cart-amount[type=number] {
    -moz-appearance: textfield;
}

@media(max-width: 500px) {
    .product-image {
        max-height: 150px;
    }

    .homepage-category-image {
        height: 200px;
    }
}

body:has(#navbar-menu-mobile.show) .focus-overlay {
    opacity: 0.3;
    height: auto;
    /*transition: opacity 1s ease-in-out;*/
}

body:has(#navbar-menu-mobile.collapsing) .focus-overlay {
    opacity: 0.2;
    height: auto;
    transition: opacity 1s ease-in-out;
}

.focus-overlay-show {
    opacity: 0.1;
    height: auto;
    transition: opacity 0.2s ease-in-out;
}

.sale-badge {
    line-height: 1rem;
}
