/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */

@import url('https://fonts.googleapis.com/css?family=Yanone+Kaffeesatz&display=swap');

@media (min-width: 1200px) {
    .container {
        width: 1170px;
        max-width: 100%;
    }
}

.first-line-header {
    height: 90px;
    padding-bottom: 10px;
}

.second-line-header {
    height: 50px;
}

body
{
    font-family: 'Yanone Kaffeesatz';
}

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

#header .header-top {
    padding-top: 10px;
}

#search_widget { padding-top: 20px; }
#_desktop_cart { padding-top: 30px; }
#_desktop_user_info {
    float: right;
}

#header a {
    color: #666e70;
}

#header a.logout, #header a.account {
    display: block;
}

#_desktop_user_info {
    margin-top: 15px;
}

ul#top-menu.top-menu {
    margin-bottom: 0;
    max-width: 650px;
    max-height: 50px;
    overflow: hidden;
}

#_desktop_category_selector {
    display: inline-block;
    position: absolute;
}

#_desktop_category_selector .dropdown-menu {
    min-width: 17.2rem;
}

#main-menu-first {
    display: inline-block;
    background-color: #da3f35;
    height: 50px;
    width: 275px;
    border-radius: 10px 10px 0 0;
}

.sub-header-home .block-categories {
    width: 275px;
    padding-top: 5px;
}

.dropdown-menu .block-categories {
    padding-top: 5px;
    box-shadow: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

#_desktop_top_menu {
    display: inline-block;
    background-color: #666e70;
    height: 50px;
    width: 650px;
    margin-left: -3px;
    border-radius: 10px 10px 0 0;
}

#header .header-top .menu {
    padding-left: 0;
    position: relative;
    left: 278px;
}

ul[data-depth="0"].top-menu li {
    height: 50px;
    transition: background-color 0.5s ease-out;
    border-radius: 10px 10px 0 0;
}

ul[data-depth="1"].top-menu li {
    height: 30px;
}

ul[data-depth="0"].top-menu li a.dropdown-item {
    padding: 0 20px;
}

ul[data-depth="0"].top-menu li:hover {
    background-color: #2688da;
    color: #fff;
}

ul[data-depth="1"].top-menu li:hover {
    background-color: unset;
    color: unset;
    border-radius: unset;
}

#header .top-menu a[data-depth="0"]:hover {
    color: #fff;
}


.balance_item.v1_7_0_0 {
    display: inline-block;
    margin: 0;
    background-color: #da3f35;
    height: 50px;
    width: 230px;
    overflow: hidden;
    position: absolute;
    right: 15px;
    border-radius: 10px 10px 0 0;
    transition: background-color 0.5s ease-out;
}

.balance_item.v1_7_0_0:hover {
    background-color: #2688da;
}

#header .balance_item.v1_7_0_0 a {
    width: unset;
    font-weight: 600;
    padding-top: 13px;
    padding-left: 10px;
    color: #fff;
    margin: auto;
}

#header .header-top a[data-depth="0"], #main-menu-first span.expand-more {
    color: #fff;
    font-weight: 400;
    text-transform: none;
    padding-top: 13px;
}

#main-menu-first span.expand-more {
    padding-left: 20px;
}

.dropdown .expand-more, .dropdown:hover .expand-more, .btn-unstyle:focus .expand-more {
    color: #fff;
}

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

#header .header-top .menu {
    margin-bottom: 0;
}

.search-widget form button[type=submit] {
    bottom: 0.6rem;
}

#wrapper .breadcrumb li:after {
    content: ">";
}

body#index ul.category-top-menu {
    margin-top: 1rem;
}

/* Home page categories are grey */
.block-categories .category-sub-menu li[data-depth="0"]>a {
    font-weight: normal;
    color: #666e70;
}

/* Blue links on hover for categories displayed on the home page */
.block-categories .category-sub-menu li[data-depth="0"]>a:hover {
    color: #2688da;
}

/* Do not show categories detail block on categories pages */
div.block-category.card.card-block {
    display: none;
}

.carousel {
    box-shadow: unset;
    margin-top: 15px;
}

.carousel .carousel-inner {
    height: inherit;
}

.carousel .carousel-item .caption {
    position: absolute;
    top: 10px;
    left: 20px;
    bottom: unset;
    width: 800px;
    max-width: unset;
    color: #666e70;
}

/* Extend to four products by line on products listings */
#products .thumbnail-container,
.featured-products .thumbnail-container,
.product-accessories .thumbnail-container,
.product-miniature .thumbnail-container,
#products .product-description,
.featured-products .product-description,
.product-accessories .product-description,
.product-miniature .product-description,
#products .highlighted-informations,
.featured-products .highlighted-informations,
.product-accessories .highlighted-informations,
.product-miniature .highlighted-informations {
    width: 187px;
}

/* Extend to five products by line on homepage */
section.page-home .featured-products .thumbnail-container,
section.page-home .featured-products .highlighted-informations,
section.page-home .featured-products .product-description {
    width: 202px;
}

.breadcrumb {
    margin-bottom: 2rem;
}

.tax-shipping-delivery-label {
    display: none;
}

body,
#header .balance_item.v1_7_0_0 a,
#header .header-top a[data-depth="0"], #main-menu-first span.expand-more,
.footer-container li a, .h3, .h4, h3, h4,
.product-information, p,
.block-contact-title, .blockcms-title, .myaccount-title, .myaccount-title a, .dropdown-menu a,
#products .product-title a, .featured-products .product-title a,
.product-accessories .product-title a, .product-miniature .product-title a,
.alert {
    font-size: 1.2rem;
}

#checkout #search_widget {
    display: inherit;
}

.footer-container {
    padding-bottom: 3rem;
}

/**
 * Ajustement thème sur mobile
 */
@media (max-width: 767px) {
    #header .header-nav .top-logo a img {
        max-height: 30px;
    }

    .first-line-header {
        height: 3.8rem;
    }

    #search_widget {
        padding-top: inherit;
    }

    #_desktop_top_menu {
        display: block;
        height: inherit;
        width: 100%;
        background-color: inherit;
    }

    ul#top-menu.top-menu {
        max-height: inherit;
    }

    #header .menu>ul>li {
        display: block;
    }

    #header .header-top a[data-depth="0"] {
        color: #666e70;
    }

    ul[data-depth="0"].top-menu li {
        height: inherit;
    }

    #header .header-top .menu {
        padding-left: 0;
        position: relative;
        left: 0;
    }

    #mobile_top_menu_wrapper > div > div.block-categories {
        padding: 0.625rem;
        box-shadow: none;
    }

    #header.is-open ~ div.sub-header-home {
        display: none;
    }

    #header.is-open div.balance_item.v1_7_0_0 {
        display: block;
        background-color: white;
        position: inherit;
        height: inherit;
        right: inherit;
        width: 100%;
        transition: none;
        border-bottom: 1px solid #f6f6f6;
        margin-bottom: 2.5rem;
    }

    #header.is-open div.balance_item.v1_7_0_0 a {
        color: #666e70;
        padding: 0 0 0.6rem 0.4rem;
        letter-spacing: initial;
    }
}

/**
 * Ne pas afficher le bloc des catégories sur les sous catégories
 */
body.category-depth-level-2 #left-column div.block-categories {
    display: none;
}

/**
 * Style des listes dans les pages CMS
 */
#content.page-content.page-cms > ul {
    margin-left: 2rem;
}

#content.page-content.page-cms > ul > li {
    margin-bottom: 1rem;
}