﻿.EatButton {
    background-color: #A9223C;
    color: #fff;
    cursor: pointer;
    /*font-size: 2.75vw;*/
    margin-top: 0.8vw;
    margin-right: 3vw;
}

.EatImg {
    cursor: pointer;
    max-width: 40%;
}

.indexSearchDiv {
    display: flex;
    height: 60px;
    padding: 10px;
    position: relative;
    background: #FFF;
    box-shadow: 0px 1px 2px 0px #28282833;
    z-index: 100;
}

    .indexSearchDiv .indexSearch {
        margin: 0px 5px;
        padding: 4px 10px;
        position: relative;
        background-color: #F6F5F0;
        color: #B69B7D;
        border-radius: 8px
    }

/* 跑馬燈 CSS版本 */
/*.indexNoticeBackgroup {
    width: 100%;
    background-image: linear-gradient(to left,#DAB66C, #EFE2B8);
    background-size: cover;
}
.indexNoticeDiv {
    width: 100%;
    color: #957A4B;
    font-size: 1rem;
    font-weight: bold;
    padding-top: 3px;
    padding-bottom: 3px;
    white-space: nowrap;
    animation: slide 9s linear infinite;
}
@keyframes slide {
    0% {
        transform: translateX(100vw);
    }
    100% {
        transform: translateX(-100%);
    }
}
    .indexNoticeDiv .noticeLink {
        text-decoration-line:underline;
        cursor: pointer;
    }*/
.indexNoticeDiv {
    width: 100%;
    color: #957A4B;
    font-size: 1rem;
    font-weight: bold;
    padding-top: 5px;
    background-image: linear-gradient(to left,#DAB66C, #EFE2B8);
    background-size: cover;
    overflow-x: auto;
    white-space: nowrap
}

    .indexNoticeDiv .noticeLink {
        text-decoration-line: underline;
        cursor: pointer;
    }


.indexSearchDiv .indexSearch input {
    width: 100%;
    border: none;
    background-color: #F6F5F0;
}

.indexSearchDiv .indexSearch #SearchBox {
    position: absolute;
    top: 30px;
    left: 0px;
    width: 100%;
    height: auto;
    background-color: #F6F5F0;
    border: 1px solid #999;
    border-radius: 10px;
    z-index: 100;
    display: none;
    flex-direction: column;
    color: #B69B7D;
}

    .indexSearchDiv .indexSearch #SearchBox .SearchBoxDiv {
        padding: 3px 40px;
        border-bottom: 1px solid #eee;
    }

.indexSearchDiv .indexSearch #buttonSearch {
    cursor: pointer;
}


.indexSearchDiv .indexDropFunction {
    justify-content: center;
    align-items: center;
    margin-left: 0.3rem;
    font-size: 1.5rem;
    cursor: pointer;
}

.indexSearchDiv .dropFunctionDiv {
    position: absolute;
    top: 60px;
    right: 3px;
    width: 180px;
    background-color: #FFF;
    border-radius: 5px;
    box-shadow: 1px 1px #eee;
    display: none;
    flex-direction: column;
    z-index: 100;
    padding: 10px 7px
}

    .indexSearchDiv .dropFunctionDiv .dropFunction {
        font-weight: bold;
        align-items: center;
        padding: 5px 3px;
        font-size: 1.2rem;
    }

.hotSearchDiv {
    height: 40px;
    padding: 5px 15px;
    width: 100%;
    overflow-x: auto;
}

    .hotSearchDiv .hotSearchMax {
        width: max-content;
    }

    .hotSearchDiv .hotSearch {
        width: 70px;
        border: 1px solid #1E5BC7;
        height: 30px;
        color: #1E5BC7;
        font-weight: 600;
        float: left;
        margin: 0px 5px;
    }

        .hotSearchDiv .hotSearch.active {
            color: #fff;
            background-color: #1E5BC7;
        }

.activityContainer {
    /*height: 485px;*/
    width: 100%;
    background-color: #FFF;
}

    .activityContainer .activityDiv {
        height: calc(100% - 100px);
        width: 100%;
        /*background-image: url(/images/pic_bg_banner.png);*/
        position: relative;
    }

        .activityContainer .activityDiv .categoryDiv {
            height: 60px;
            width: 100%;
            overflow-x: auto;
        }

            .activityContainer .activityDiv .categoryDiv .categoryFlow {
                width: max-content;
            }

            .activityContainer .activityDiv .categoryDiv .category {
                color: #B69B7D;
                background-color: #fff;
                display: flex;
                padding: 5px 18px;
                margin: 10px 8px;
                align-items: center;
                float: left;
                cursor: pointer;
            }

                .activityContainer .activityDiv .categoryDiv .category.active {
                    color: #FFF;
                    background-color: #B69B7D;
                }



        .activityContainer .activityDiv .activityContent .activityButtonDiv {
            position: absolute;
            bottom: -35px;
            left: 0px;
            width: 100%;
            height: 60px;
            display: flex;
            padding: 0px 5px;
        }

            .activityContainer .activityDiv .activityContent .activityButtonDiv .activityButton {
                float: left;
                width: 100px;
                height: 55px;
                border-radius: 10px;
                margin: 0px 5px;
                box-shadow: 0px 5px 7px 0px #bbb;
                font-weight: bold;
            }

                .activityContainer .activityDiv .activityContent .activityButtonDiv .activityButton.btnred {
                    color: #FF8786;
                    background-color: #FFF3F2;
                }

                .activityContainer .activityDiv .activityContent .activityButtonDiv .activityButton.btnyellow {
                    color: #E0A92E;
                    background-color: #FEF2D6;
                }

                .activityContainer .activityDiv .activityContent .activityButtonDiv .activityButton.btngreen {
                    color: #96D23B;
                    background-color: #F6FDE4;
                }

.ProductCategoryList {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    .ProductCategoryList .ProductCategoryLine {
        border: 1px solid;
        width: 100%;
        max-width: 500px
    }

    .ProductCategoryList .ProductCategoryName {
        font-size: 1.5rem;
        font-weight: bold;
        position: absolute;
        top: -28px;
        background-color: #FFF;
        padding: 5px 10px;
    }


.CategoryBoxDiv {
    max-width: 400px;
    max-height: 400px;
    width: 100%;
    height: 76vw;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 1px 1px 2px 1px #ddd;
}

    .CategoryBoxDiv .CategoryBoxText {
        width: 100%;
        background: rgba(33,33,33,.8);
        color: #fff;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 10px
    }

.CategoryChildBoxDiv {
    max-width: 400px;
    max-height: 460px;
    width: 100%;
    height: 38vw;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: 1px 1px 2px 1px #ddd;
    cursor: pointer;
}

    .CategoryChildBoxDiv .CategoryChildBoxText {
        width: 100%;
        color: #212121;
        display: flex;
        padding: 5px;
        font-size: 1rem;
        font-weight: bold;
    }

    .CategoryChildBoxDiv .CategoryChildBoxCart {
        background: #A9223C;
        border-radius: 100px;
        color: #FFF;
        font-size: 0.8rem;
        width: 200px;
        padding: 4px 8px;
        display: flex;
        align-items: center;
        height: 30px;
        z-index: 1;
        margin-bottom:10px;
    }

.swiper {
    /*height: 455px;*/
}
/**手機**/
@media(min-width: 768px) {
    .mySwiper {
        /*height: 340px;*/
    }

    .activityContainer {
        /*height: 380px;*/
    }

        .activityContainer .activityDiv .activityContent {
            height: 70vh;
        }
    .CategoryChildBoxDiv {
        height: 50vw;
    }
}

@media(max-width: 768px) {
    .mySwiper {
        height: 285px;
    }

    .activityContainer {
        height: 355px;
    }

        .activityContainer .activityDiv .activityContent {
            height: 295px;
        }
    .CategoryChildBoxDiv {
        height: 50vw;
    }
}

@media(max-width: 600px) {
    .mySwiper {
        height: 200px;
    }

    .activityContainer {
        height: 270px;
    }

        .activityContainer .activityDiv .activityContent {
            height: 270px;
        }
    .CategoryChildBoxDiv {
        height: 65vw;
    }
}

@media(max-width: 500px) {
    .mySwiper {
        height: 130px;
    }

    .activityContainer {
        height: 180px;
    }

        .activityContainer .activityDiv .activityContent {
            height: 245px;
        }
    .CategoryChildBoxDiv {
        height: 75vw;
    }
}

@media(max-width: 425px) {
    .mySwiper {
        height: 140px;
    }

    .activityContainer {
        height: 200px;
    }

        .activityContainer .activityDiv .activityContent {
            height: 190px;
        }
    .CategoryChildBoxDiv {
        height: 90vw;
    }
}
