/*
html {
  background-image: url(./bg-texture.jpg);
  background-repeat: repeat;
}

body {
  background-color: transparent;
}
*/

body {
    line-height: normal;
}

#_desktop_logo h1,
.wineriver-header-main-logo-h1 {
    margin-bottom: 0;
}

#_desktop_logo a {
    display: inline-block;
}

#header .header-top {
    padding-bottom: 0;
}

#header .header-top .search-widget {
    float: none;
}

/*
#header .header-top .logo {
    width: 150px;
    margin-bottom: 5px;
}
*/

.wineriver-header-items .logo {
    width: 150px;
}

body#checkout #header .header-nav .logo {
    width: 150px;
}

@media (max-width: 991px) {
    #header .logo {
        width: 150px;
    }
}

.page-product #header {
    border-bottom: 1px solid #d4d4d4;
}

.wineriver-header-items {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
}

.header-items {
    /*
    padding-top: 6px;
    padding-right: 15px;
    */
    display: flex;
    justify-content: flex-end;
}

#_desktop_user_info {
    margin-right: 20px;
    margin-top: 11px;
}

#_desktop_cart {
    margin-right: 20px;
    margin-top: 11px;
}

#wrapper {
    box-shadow: none;
    background: #fff;
}

.carousel {
    box-shadow: none;
}

.carousel .carousel-inner {
    height: 565px;
}

.wineriver-product-frame {
    position: relative;
    height: 480px;
    display: flex;
    flex-direction: column;
}

.wineriver-product-frame .product-thumbnail {
    flex-grow: 1;
    background-size: cover;
    background-position: center;
}

#products .thumbnail-container,
.featured-products .thumbnail-container,
.product-accessories .thumbnail-container,
.product-miniature .thumbnail-container {
    box-shadow: none;
}

#products .highlighted-informations,
.featured-products .highlighted-informations,
.product-accessories .highlighted-informations,
.product-miniature .highlighted-informations {
    box-shadow: none;
}

#products .thumbnail-container .product-thumbnail .img,
.featured-products .thumbnail-container .product-thumbnail .img,
.product-accessories .thumbnail-container .product-thumbnail .img,
.product-miniature .thumbnail-container .product-thumbnail .img {
    max-width: 100%;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;

    /* background-position-x: -75px; */
    background-position: center;

    background-size: cover;
}

#wrapper {
    padding-top: 0;
}

#products .products,
.featured-products .products,
.product-accessories .products,
.product-miniature .products {
    /* justify-content: space-between; */
    max-width: 1360px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, 313px);
    /* grid-template-rows: repeat(auto-fill, 480px); */
    grid-column-gap: 36px;
    grid-row-gap: 36px;
    justify-content: center;
}

@media (max-width: 991px) {
    #products .products,
    .featured-products .products,
    .product-accessories .products,
    .product-miniature .products {
        grid-template-columns: repeat(auto-fill, 250px);
    }
}

#products .product-miniature,
.featured-products .product-miniature,
.product-accessories .product-miniature,
.product-miniature .product-miniature {
    margin: 0;
}

#products .thumbnail-container,
.featured-products .thumbnail-container,
.product-accessories .thumbnail-container,
.product-miniature .thumbnail-container {
    margin-bottom: 0;
}

#products .thumbnail-container,
.featured-products .thumbnail-container,
.product-accessories .thumbnail-container,
.product-miniature .thumbnail-container {
    height: 480px;
    width: 310px;
}

@media (max-width: 991px) {
    #products .thumbnail-container,
    .featured-products .thumbnail-container,
    .product-accessories .thumbnail-container,
    .product-miniature .thumbnail-container {
        width: 250px;
    }
}

#products .product-description,
.featured-products .product-description,
.product-accessories .product-description,
.product-miniature .product-description {
    position: inherit;
    width: inherit;
    height: auto;
}

#products .highlighted-informations,
.featured-products .highlighted-informations,
.product-accessories .highlighted-informations,
.product-miniature .highlighted-informations {
    width: inherit;
}

.row {
    margin: 0;
}

@media (min-width: 992px) {
    .row {
        margin: 0;
    }
}
@media (min-width: 768px) {
    .row {
        margin: 0;
    }
}
@media (min-width: 576px) {
    .row {
        margin: 0;
    }
}

html,
body {
    width: 100%;
    overflow-x: hidden;
}

/*
.container {
    padding: 0;
    width: 1360px;
}

#header .container,
#footer .container {
    padding: 0 10px;
    width: 1340px;
    max-width: 100%;
}
*/

.container {
    padding: 0 20px;
    width: auto;
}

@media (min-width: 992px) {
    .container {
        padding: 0 20px;
        width: auto;
    }
}
@media (min-width: 768px) {
    .container {
        width: auto;
    }
}
@media (min-width: 576px) {
    .container {
        padding: 0 20px;
        width: auto;
    }
}

@media (max-width: 414px) {
    #search_widget {
        display: none;
    }
}

.page-index #wrapper .container {
    width: auto;
    padding: 0;
}

@media (min-width: 1380px) {
    .container {
        padding: 0 20px;
        width: 1360px;
        margin: 0 auto;
    }
}

/*
@media (min-width: 1340px) {
    .container {
        padding: 0 10px;
        width: 1340px;
    }

    .page-index #wrapper .container {
        width: auto;
        padding: 0;
    }

    .page-index .featured-products {
        margin: auto;
        width: 1360px;
        max-width: 100%;
    }

    
}
*/

/*
    .page-index #header .container,
    .page-index #footer .container {
        padding: 0 10px;
        width: 1340px;
        max-width: 100%;
    }
    
    

    #custom-text {
        width: 1360px;
        margin: 0 auto;
    }
    */

#content {
    background-color: #fff;
}

.banner {
    background-color: #000;
}

.banner img {
    display: block;
    margin: 0 auto;
}

.carousel-control {
    display: none;
}

.wineriver-product-tile-alc-pct {
    position: absolute;
    top: 60px;
    right: 40px;
    font-size: 12px;
}

.wineriver-product-tile-name,
.wineriver-product-tile-name a:link,
.wineriver-product-tile-name a:visited {
    text-align: center;
    color: #404040;
}

.wineriver-product-tile-wine-type {
    text-align: center;
}

.wineriver-wine-category-red-wines {
    color: #ea1919;
}

.wineriver-wine-category-white-wines {
    color: #e8e28a;
}

.wineriver-wine-category-rose-wines {
    color: #ffadad;
}

/* Listing */

#left-column {
    padding-left: 0;
}

.block-categories {
    box-shadow: none;
    padding-left: 0;
}

#search_filters,
#search_filters_brands,
#search_filters_suppliers {
    box-shadow: none;
    padding-left: 0;
}

.card {
    box-shadow: none;
    border: none;
}

.card-block {
    padding: 0;
}

.category-cover {
    background: #000;
}

.category-cover img {
    display: block;
    margin: 0 auto;
}

/* Detail */

.breadcrumb {
    margin-top: 15px;
}

.page-category .breadcrumb {
    display: none;
}

.product-cover img {
    box-shadow: none;
}

.block-categories {
    display: none;
}

.wineriver-list-header {
    margin-top: 20px;
    margin-bottom: 65px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wineriver-list-header .dropdown .select-title {
    white-space: nowrap;
}

.wineriver-list-header .float-xs-right {
    float: none !important;
}

.wineriver-list-header .products-sort-order {
    display: flex;
    align-items: center;
    margin-right: 15px;
}

.wineriver-sort-by {
    margin-right: 15px;
}

@media (min-width: 768px) {
    .wineriver-list-header {
        justify-content: flex-end;
    }

    .wineriver-list-header .products-sort-order {
        display: flex;
        align-items: center;
        margin-right: 0;
    }
}

@media (min-width: 768px) {
    .wineriver-content-layout {
        display: grid;
        grid-template-columns: 180px minmax(0, 1fr);
        grid-template-rows: 1fr;
        gap: 0px 0px;
        grid-template-areas: "sidebar content";
    }

    .page-index .wineriver-content-layout {
        display: block;
    }

    .wineriver-content-layout .sidebar {
        grid-area: sidebar;
    }

    .wineriver-content-layout #content-wrapper {
        grid-area: content;
    }
}

.page-category #products .products {
    margin-top: 65px;
}

.active_filters {
    background-color: transparent;
}

main {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

#wrapper {
    flex-grow: 1;
}


.page-authentication #content {
    padding: 0;
}

.page-addresses .address, .page-authentication #content {
    box-shadow: none;
    background: transparent;
}

#main .page-content, #main .page-header {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

#login-form footer {
    margin-top: .8rem;
    margin-bottom: 1.6rem;
}

@media (max-width: 768px) {
    #login-form .col-lg-3, #login-form .col-lg-6 {
        padding: 0;
    }

    #login-form footer button {
        width: 100%
    }
}

#authentication .block_newsletter {
    display: none;
}