/* 公告 */

#publicModal img {
    width: 58px;
    height: 58px;
}

#publicModal .modal-header {
    border-bottom: 1px solid #DADADA;
    text-align: center;
    padding-bottom: 1rem;
}

#publicModal .modal-body {
    padding: 1rem 18%;
    overflow-y: auto;
    max-height: 386px;
}

#publicModal .modal-footer button {
    margin: auto;
    width: 300px;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

#advertisementSlider {
    /* width: 100%; */
    height: 300px;
    background-image: url('../../../../../../image/deco/home/header_slider.png');
    background-repeat: no-repeat;
    background-position: left;
    position: relative;
    background-size: cover;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.05);
    padding: 0;
}

#advertisementSlider .info1 {
    background: var(--background-second-color-oblique-transparent);
    padding: 1.8% var(--padding-navbar)!important;
    border-radius: 0px 200px 0px 0px;
    width: 100%;
    max-width: 750px;
    height: calc(100% - 50px);
    left: 0;
    top: 0;
    right: auto;
}

#advertisementSlider .info1 a:hover {
    color: var(--fourth-color);
}


/* sentence of blur part */

#advertisementSlider .info2 {
    position: absolute;
    bottom: 0;
    height: 50px;
    width: 100%;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(15px);
}


/* sentence size of blur part   */

#advertisementSlider .info2 span {
    line-height: 50px;
    vertical-align: middle;
}


/**
 * @description: Product display style
 */


/* padding */

#firstProducts {
    padding: 0 var(--padding-landingpage);
}


/* menu */

#firstProducts .menu {
    height: var(--h-main);
}

#sousMenu {
    background: var(--first-color);
    border-radius: var(--border-raduis-btn);
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.05);
    height: 100%;
    min-width: 580px;
}


/* tooltip for menu */

#emporterButton.tooltips[aria-title]:hover::before {
    content: attr(aria-title);
    position: absolute;
    top: 4rem;
    left: 10%;
    width: 80%;
    font-family: var(--font-family-2);
    font-size: var(--size-4);
    font-weight: 400;
    text-align: left;
    padding: 1rem;
    background: var(--background-first-color-transparent-2);
    border: 0.5px solid var(--first-color);
    backdrop-filter: blur(20px);
    color: var(--third-color);
    z-index: 1021;
}

#livraisonButton.tooltips[aria-title]:hover::before {
    content: attr(aria-title);
    position: absolute;
    top: 4rem;
    left: 10%;
    width: 80%;
    font-family: var(--font-family-2);
    font-size: var(--size-4);
    font-weight: 400;
    text-align: left;
    padding: 1rem;
    background: var(--background-first-color-transparent-2);
    border: 0.5px solid var(--first-color);
    backdrop-filter: blur(20px);
    color: var(--third-color);
    z-index: 1021;
}


/* link of menu */

.home-sous-menu {
    position: absolute;
}

.home-sous-menu a {
    min-width: 290px;
    text-align: center;
    height: 100%;
    border-radius: var(--border-raduis-btn)!important;
    cursor: url('../../../../../../image/icon/home/pointer.cur'), auto;
    /* cursor: url('../../../../../../image/icon/home/pointer.cur'), auto; */
    transition: 0.25 ease-in-out;
    color: var(--second-color);
}

.home-sous-menu a.active {
    /* background: var(--sixth-color); */
    color: var(--first-color)!important;
    font-size: var(--size-4);
    border-radius: var(--border-raduis-btn)!important;
}

.home-sous-menu a.background {
    background: var(--sixth-color);
    height: 52px;
}

.home-sous-menu.right-100 {
    transform: translateX(100%);
}

.home-sous-menu.left-50 {
    left: 50%;
}


/* img of menu */

.home-sous-menu a img {
    margin-right: 28.84px;
    width: 36px;
    height: 36px;
}

#modeLivraison a {
    position: absolute;
    background: var(--sixth-color);
    color: var(--first-color)!important;
    font-size: var(--size-4);
    border-radius: var(--border-raduis-btn)!important;
}

a.edit {
    position: relative;
    width: max-content;
    text-align: center;
}

a.edit:after {
    content: "";
    position: absolute;
    height: 1px;
    background: var(--sixth-color-webkit);
    /* Safari 5.1 - 6.0 */
    background: var(--sixth-color-o);
    /* Opera 11.1 - 12.0 */
    background: var(--sixth-color-moz);
    /* Firefox 3.6 - 15 */
    background: var(--sixth-color);
    /* 标准的语法 */
}

a.edit:hover:after {
    height: 0px;
}


/**
 * @description: "offer" part of "Products" part
 */


/* products of the "offer" part */

.content-home .card {
    margin: 25px 4%!important;
    /* max-width: var(--size-product); */
    width: var(--size-product);
    padding: 0;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.05);
    height: 480px!important;
    border: none;
}

.card {
    cursor: url('../../../../../../image/icon/home/pointer.cur'), auto;
}


/* savoir plus link hover */

.productDetail {
    cursor: url('../../../../../../image/icon/home/pointer.cur'), auto;
}


/**** sold-out */

.content-home .product-soldOut {
    margin: 25px 4%!important;
    max-width: var(--size-product);
    width: 92%;
    padding: 0;
    /* box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.05); */
    height: 480px!important;
    border: none;
    background: rgba(200, 200, 200, 0.5);
}


/* sold-out text */

.product-soldOut .sold-out {
    top: 0;
    margin-right: 0;
    margin-left: auto;
    border-radius: 0px 0px 0px 40px;
    max-width: 60px;
    width: 100%;
    height: 50px;
    background: var(--background-third-color);
    color: var(--first-color);
}


/* sold-out end ****/

.product-soldOut .sold-out p {
    line-height: 50px;
    vertical-align: center;
    text-align: center;
}

.content-home .card img {
    width: 100%!important;
    height: 240px!important;
    background-position: center center;
    display: block;
    object-fit: cover;
    /*object-fit: contain;*/
}


/* offer reduction temporary */

.content-home .offer-reduction {
    height: 480px;
    background-image: url('../../../../../../image/deco/home/bg_offre.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    padding: 8%;
}

#reductionContent1 {
    width: 100%;
    height: 170px;
    background-color: var(--background-first-color);
}


/* offer time */

#offerTime .col-4 div {
    max-width: 50%;
    height: 70px;
    background-color: var(--first-color);
    font-size: 64px;
    font-weight: var(--weight-1);
    line-height: 70px;
    vertical-align: middle;
    margin-top: 36.17px;
    box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.25);
}

#offerTime .col-4 h4 {
    margin-top: 15%;
}


/**
 * @description: Product part
 */


/* promotion */

.content-home .offer-promotion {
    background-image: url('../../../../../../image/deco/home/bg_code_promo.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    padding: 14% 6%;
}


/*buttons add and sub of products*/

.add,
.sub {
    width: 40px;
    height: 40px;
    padding: 0;
    /* color: var(--first-color)!important; */
}


/* color of svg add and sub*/

.add:hover svg path,
.sub:hover svg path,
.sub:active svg path,
.add:active svg path {
    fill: currentColor;
    color: var(--first-color);
}

.sub svg path,
.add svg path {
    fill: currentColor;
    color: var(--fourth-color);
}

.add-home svg path {
    color: var(--first-color);
}

.add-home:hover svg path {
    color: var(--fourth-color);
}

.homeQuantity {
    width: 50%;
}


/* underline of "more-info" */


/*jinlei 20210824 电脑版样式补全*/

.content-home .card-body {
    padding: 1.25rem;
}

.content-home .card-body a.edit:after {
    bottom: 3px;
    left: 0%;
    width: 100%;
}


/**
 * @description: Second part
 */


/* navbar */

#secondNavbar {
    padding: 0 var(--padding-navbar) 0 var(--padding-landingpage);
    background: var(--background-first-color);
    box-shadow: 0px 20px 30px rgba(0, 0, 0, 0.05);
    align-items: flex-center;
}


/* navbar contents */

#secondNavbarMenu {
    max-width: 67.80139%;
}

#secondProductsMenu,
#secondNavbarMenu .menuCategory {
    cursor: url('../../../../../../image/icon/home/pointer.cur'), auto;
}


/* style of navbar when we float on the names of categories  */

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    color: var(--first-color) !important;
    background: var(--background-second-color-vertical);
    border-radius: var(--border-raduis-btn);
}

.dropdown-item.active,
.dropdown-item:active {
    color: var(--first-color);
    background: var(--background-second-color-vertical);
    border-radius: var(--border-raduis-btn);
}


/* categories names*/

#navAccount a,
#secondNavbar a {
    white-space: nowrap;
}


/* dropdown categories */

#secondNavbar #secondNavbarMenu .dropdown-menu {
    padding: 0;
    margin: 0;
    border: 0.5px solid var(--first-color);
    background: var(--background-first-color-transparent-2);
    position: absolute;
    border: 0.5px solid var(--first-color);
    margin: .8rem auto 9rem;
}


/* contents of dropdown categories */

#secondNavbar #secondNavbarMenu .dropdown-menu a.dropdown-item {
    height: 40px;
    line-height: 30px;
    vertical-align: middle;
    border-top: 1px solid var(--first-color);
    left: 20px!important;
}


/* style when we float on the contents of dropdown categories  */

#secondNavbar #secondNavbarMenu .dropdown-menu a:hover {
    background: var(--sixth-color);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent!important;
}


/* width of the categories names are equal  */

#secondNavbar .nav.nav-pills li {
    flex: 1 1 0;
}


/* Put the categories names in the middle of the navigation bar */

#secondNavbar .nav.nav-pills a:not(.dropdown-menu a.dropdown-item) {
    margin-top: -5px;
    text-align: center;
    color: var(--third-color);
}

#secondNavbar #secondNavbarMenu .dropdown-menu {
    max-height: 600px;
    overflow: auto;
}


/**
 * @description: contents of second part
 */


/* margin */

#firstProducts h1 {
    margin-left: 1.6%;
    color: var(--fourth-color);
}

#secondProducts h1 {
    margin-left: 1.6%;
    margin-bottom: 0;
    margin-top: 3%;
    color: var(--fourth-color);
}

#secondProducts h2 {
    margin-left: 1.7%;
    margin-top: .5rem;
}


/* padding */

#secondProducts {
    padding: 0 var(--padding-landingpage);
}


/**
 * @description: icon that jump back to the top of the page
 */

#backTop {
    padding-right: 15px;
    position: fixed;
    bottom: 50px;
    right: calc(var(--padding-landingpage) - 5%);
}

#backTop:hover svg path {
    fill: var(--fourth-color);
}


/**
 * @description: responsive of second navbar
 */


/* position of dropdown menu */

@media screen and (max-width: 1220px) {
    #secondNavbar .dropdown-menu {
        margin-left: 0rem;
    }
}


/* style and size of second navbar width less then 768px */

@media screen and (max-width: 768px) {
    /* The width of the menu content is equal to the width of the screen */
    #secondNavbarMenu {
        min-width: 100%;
        max-height: 260px;
        overflow-y: auto;
        scrollbar-width: none;
        /* Firefox */
        -ms-overflow-style: none;
        /* IE 10+ */
    }
    #secondNavbar .nav.nav-pills a:not(.dropdown-menu a.dropdown-item) {
        margin-top: 0;
    }
    #secondNavbarMenu::-webkit-scrollbar {
        display: none;
        /* Chrome Safari */
    }
    #secondNavbarMenu li {
        min-width: 100%;
    }
    #secondNavbar .nav.nav-pills {
        max-height: auto!important;
    }
    /* part account */
    #secondNavAccount {
        margin: 0 auto;
        margin-left: 15px;
    }
}

@media screen and (max-width: 661px) {
    /* menu emporter or livraison*/
    #firstProducts .menu {
        height: calc(var(--h-main)*2);
        width: 290px;
        margin: 0 auto;
    }
    #sousMenu {
        border-radius: 25px;
    }
}


/**
 * @description: Modal of produtcs data
 */


/* enlever le padding-right de modal  */


/* .modal {
        padding: 0!important;
    } */


/* fixer le largeur de modal en 630px */


/* .modal-dialog {
        max-width: 630px;
    }

    .modal-title {
        text-align: center;
    }

    .ferme {
        font-size: 30px;
        background: var(--sixth-color)!important;
        background-clip: text!important;
        -webkit-background-clip: text!important;
        color: transparent!important;
        float: right;
        top: 1rem;
        position: absolute;
        right: 1rem;
    }

    .ferme:hover {
        background: var(--sixth-inverse-color)!important;
        background-clip: text!important;
        -webkit-background-clip: text!important;
        color: transparent!important;
    }

    .modal-body {
        padding: 0;
        margin-left: auto!important;
        margin-right: auto!important;
    } */


/* image of product */

#productModalImage {
    min-width: 600px;
    text-align: center;
}

.modal-footer {
    justify-content: stretch;
    padding: 0;
}

.modal-footer>div {
    display: inline-block;
}


/**
 * @description: clock
 */

.flip-clock-divider {
    /* width: 2%; */
}


/* remove clock points */

.flip-clock-dot.top,
.flip-clock-dot.bottom {
    width: 0px;
    height: 0px;
}


/* clock box */

.clock-box {
    width: 100%;
    margin-top: 20%;
    margin-left: auto;
    margin-right: auto;
}

.clock-box.small-text {
    margin-top: 40%;
}


/*Populaire图标*/

.meilleur-vente {
    position: absolute;
    top: 242px;
    right: 10px;
}


/*折扣*/

.percent {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--background-third-color);
    font-size: var(--size-4);
    font-weight: var(--weight-2);
    color: var(--first-color);
    width: 60px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    /* padding: 10px 4px var(--size-4) var(--size-4); */
    border-bottom-left-radius: 40px;
}


/*产品详情超过省略*/

.card-text.description {
    /* word-break: break-all; */
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    font-size: var(--size-6);
    font-family: var(--font-family-2);
    margin-top: 0;
    margin-bottom: 1rem;
}

.card-text.description p{
    margin: 0;
}


/*产品弹窗*/

#productModal .modal-body .image-panel {
    /* min-width: 600px;
        text-align: center; */
}


/*主厨推荐标志*/

#productModal .modal-body .meilleur-vente {
    top: 410px;
    right: 94px;
}


/*产品详情容器*/

#productModal .modal-body .description-panel,
#productModal .modal-body .options-panel {
    padding: 0 20px;
}

#productModal .modal-body .options-panel {
    margin-bottom: 20px;
}

#productModal .modal-body .options-panel .option-panel {
    margin-top: 1rem;
    margin-bottom: 1rem;
}


/*选项名称*/

#productModal p.option-name {
    margin-top: 0.8rem;
    margin-bottom: 0.4rem;
}

#productModal p.option-name.error {
    color: var(--red);
}

#productModal .option-panel .option-name .error {
    /* margin-left: 2rem; */
    /* color: var(--red); */
    font-weight: normal;
    font-size: var(--size-6);
}

#productModal .option-panel .custom-control-inline {
    padding-left: 1.8rem;
    line-height: 1.8;
}

#productModal .option-panel .option-image {
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.4);
    -moz-box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.4);
    -webkit-box-shadow: 0px 0px 10px rgb(0 0 0 / 9%);
    width: 90px;
    height: 60px;
    object-fit: cover;
    background-position: center center;
}

#productModal .option-panel .custom-control-label {
    margin-left: 1.8rem;
    margin-right: 0.6rem;
    /* line-height: 1.8; */
    font-size: 14px;
}


/*jinlei 20211220 select 选项以及图片*/

#productModal .option-panel .dropdown {
    width: 100%;
    border-bottom: 1px solid var(--second-color)!important;
    border-radius: var(--border-raduis-input);
}

#productModal .option-panel .dropdown .optionSelectDropdownButton {
    width: 100%;
    text-align: left;
    height: 42px;
    color: var(--fourth-color)!important;
}

.optionSelectDropdownButton::after {
    position: absolute;
    right: 0.5em;
    bottom: 20%;
    display: block;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0.3em solid transparent;
    border-left: 0.3em solid transparent;
}

.optionSelectDropdownButton::before {
    position: absolute;
    right: 0.5em;
    bottom: 50%;
    display: block;
    content: "";
    border-top: 0.3em solid transparent;
    border-right: 0.3em solid transparent;
    border-bottom: 0.3em solid;
    border-left: 0.3em solid transparent;
}

#productModal .option-panel .dropdown .optionSelectDropdownButton .optionSelectImage {
    width: 30px;
    height: 30px;
}

#productModal .option-panel .dropdown .dropdown-menu {
    width: 100%;
    max-height: 200px;
    overflow: auto;
}

#productModal .option-panel .optionSelectValue {
    color: var(--fourth-color)!important;
}

#productModal .option-panel .optionSelectValue:hover {
    cursor: pointer;
    background: var(--sixth-color);
    -webkit-background-clip: text;
    color: transparent!important;
}

#productModal .option-panel .optionSelectValue .optionSelectImage {
    width: 60px;
    height: 60px;
}

.option-name.highLight {
    color: var(--fourth-color);
}

#productModal .modal-footer {
    margin: 1rem;
    line-height: 2rem;
}

#productModal .modal-footer>* {
    margin: 0;
}

#productModal .modal-footer>div {
    height: 4rem;
    line-height: 4rem;
    display: inline-block;
}

#productModal .modal-footer .price,
#productModal .modal-footer .special {
    font-size: var(--size-2);
    font-weight: var(--weight-2);
}

#productModal .modal-footer .price {
    color: var(--fourth-color);
}

#productModal .modal-footer .special {
    margin-left: 0.5rem;
    color: var(--fifth-color);
}


/*产品弹窗 END*/

.modal-footer .special {
    margin-left: 0.5rem;
    color: var(--fifth-color);
}

#quantityPanel,
#quantityPanelHome {
    font-size: var(--size-2);
}

#addOptionsProduct {
    font-weight: bold;
    width: 100%;
}


/*产品弹窗 END*/


/* 购物车优惠券 */

.coupon-success,
.reward-success {
    box-shadow: 10px 10px 20px rgba(0, 0, 0, 0.03);
    height: 14%;
}

.loadProductPanel {
    position: fixed;
    top: 50px;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(15px);
}

.loadProductPanel .loader {
    position: absolute;
    bottom: 40%;
    left: 45.5%;
    max-width: 80px;
    animation: beat .6s linear infinite alternate;
    -webkit-transform: rotate(-30deg);
    transform: rotate(-30deg);
    max-height: 70px;
}

@keyframes beat {
    0% {
        bottom: 40%;
    }
    100% {
        bottom: 45%;
    }
}

.loadProductPanel .shadow {
    max-width: 75px;
    max-height: 8px;
    position: absolute;
    bottom: 39%;
    left: 46%;
}

@keyframes loadingIconBeat {
    0% {
        transform: rotate(-30deg);
        -webkit-transform: rotate(-30deg);
    }
    100% {
        transform: rotate(30deg);
        -webkit-transform: rotate(30deg);
    }
}

.loadingIcon {
    text-align: center;
    width: 100%;
}

.loadingIcon .loader {
    max-height: 24px;
    animation: loadingIconBeat 200ms linear infinite alternate;
    -webkit-transform: rotate(-30deg);
    transform: rotate(-30deg);
    font-size: 16px;
    max-width: 24px;
    display: inline-block;
}

.flip-clock-divider .flip-clock-label,
.flip-clock-divider.minutes .flip-clock-label,
.flip-clock-divider.seconds .flip-clock-label {
    right: -66px;
}

/* jinlei 20220915 可选数量option按钮样式 */
.optionCountValueMinus,
.optionCountValuePlus{
    width: 24px;
    height: 24px;
    font-size: 12px;
    padding: 0;
}

.optionCountValueMinus:hover,
.optionCountValuePlus:hover{
    color:var(--fourth-color);
}

.canClear {
    padding:0 6% 6% 0;
}
