﻿.popup_alert {
    display: none;
    position: fixed;
    z-index: 999999;
    opacity: 0.7;
    bottom: 8px;
    right: 0px;
    left: 0px;
    margin: 5px auto;
    padding: 5px;
    width: 235px;
    font-size: 15px;
    border-radius: 30px;
    color: white;
    background-color: green;
    text-align: center;
}


.detailwidth {
    padding: 50px 0px;
}

.img-bg {
    /*background-position:center;*/
    background-repeat: no-repeat;
    /*background-size: cover;*/
    background-size: contain;
}

.img-opacity {
    opacity: 0.8;
}

    .img-opacity:hover {
        opacity: 1;
    }

.itemhr {
    border: 0;
    height: 2px;
    background-color: #d24c4c;
    margin-top: -2px;
}

.picturehr {
    border: 0;
    height: 2px;
    background-color: #eaeaea;
    margin-top: 20px;
}

.itemtitle {
    color: #333;
    font-weight: bold;
    /*border-bottom: 1px solid #453100;*/
    padding-bottom: 5px;
    margin-top: 0px;
    font-family: Meiryo, "微軟正黑體";
    /*font-family:PingFang TC, "Microsoft YaHei", sans-serif;*/
    line-height: 30px;
}

.itemcontent {
    line-height: 25px;
    color: #797171;
    font-size: 14px;
    margin-bottom: 5%;
    text-align: justify;
    text-justify: inter-ideograph;
}

.itemdetail {
    line-height: 24px;
}

.ulclass, .ulclass_like {
    float: left;
    list-style-type: none;
    padding: 0;
    /*width:50%;*/
    /*margin-top: -120px;*/
}

.buybutton {
    display: block;
    background-color: #d24c4c;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    text-align: center;
    color: #ffffff;
    font-size: 18px;
    padding: 10px 10px;
    /*text-shadow: 0px 1px 10px #2f6627;*/
    /*float: right;*/
    width: 100%;
    opacity: 1;
}

.phonebuttonWeb {
    display: block;
    background-color: #b9d27f;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    text-align: center;
    color: #ffffff;
    font-size: 18px;
    padding: 10px 10px;
    /*text-shadow: 0px 1px 10px #2f6627;*/
    /*float: right;*/
    width: 100%;
    opacity: 1;
    display:block;
}

.phonebuttonMobile {
    display: block;
    background-color: #b9d27f;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    text-align: center;
    color: #ffffff;
    font-size: 18px;
    padding: 10px 10px;
    /*text-shadow: 0px 1px 10px #2f6627;*/
    /*float: right;*/
    width: 100%;
    opacity: 1;
    display:none
}
/*.PhoneIcon {
    background:url(https://fruitbox.blob.core.windows.net/pagematerials/product/item-new/Phone_SmallIcon.png)

}*/

    .buybutton:hover {
        opacity: 0.8;
        color: white;
    }

    .buybutton:focus {
        color: white;
        outline: none;
    }

.buybuttonnew {
    display: inline-block;
    background-color: #d24c4c;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    text-align: center;
    color: #ffffff;
    font-size: 18px;
    padding: 10px 10px;
    /*text-shadow: 0px 1px 10px #2f6627;*/
    /*float: right;*/
    width: 100%;
    opacity: 1;
}

    .buybuttonnew:hover {
        opacity: 0.8;
        color: white;
    }

    .buybuttonnew:focus {
        color: white;
        outline: none;
    }

.resumebutton {
    background-color: chocolate;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    text-align: center;
    color: #ffffff;
    font-size: 18px;
    padding: 10px 10px;
    /*text-shadow: 0px 1px 10px #2f6627;*/
    float: right;
    /*width: 100%;*/
    opacity: 1;
    /*margin-top:35px;*/
}

    .resumebutton:hover {
        opacity: 0.8;
        color: white;
    }

    .resumebutton:focus {
        color: white;
        outline: none;
    }

.soldout {
    background-color: gray;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    text-align: center;
    color: #ffffff;
    font-size: 18px;
    padding: 10px 10px;
    float: right;
    width: 100%;
}

.part1 {
    text-align: center;
    width: 250px;
    height: 70px;
    background-color: #FFF;
    color: black;
    border: 2px solid lightblue;
    margin-right: auto;
    margin-left: auto;
    margin-top: -135px;
}

.fruitboxitem {
    /*margin-bottom: 100px;*/
    padding-top: 100px;
    padding-bottom: 50px;
    background-color: lightgray;
}

.itempicture {
    padding-top: 30px;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    height: 100%;
    display: table;
}

.left {
    margin-right: 10px;
}

.del {
    padding-right: 6%;
}

.Anniversary {
    padding: 1%;
}

.Anniversary_title_text {
    font-size: 3em;
    color: black;
    margin: auto 1%;
    font-weight: bolder;
}

.Anniversary_subtitle_text {
    font-size: 1.5em;
    color: gray;
    margin: auto 1%;
    font-weight: bolder;
}


.circle-close {
    background: #E56153;
    height: 2em;
    width: 2em;
    border-radius: 50%;
    color: white;
    border: 1px solid #E56153;
    margin: 1% 3% 0 0;
    padding-left: 1%;
    box-shadow: 2px 2px 2px #808080;
    z-index: 800;
    position: relative;
    font-size: 1.2em;
    float: right;
}

.Anniversary_product_border {
    border-radius: 10px;
    border: 1.5px solid;
    border-color: white;
    padding: 1%;
}

    .Anniversary_product_border:hover {
        border-color: lightgreen;
    }



.Anniversary_product_text {
    text-align: center;
    padding: 1% 0;
    color: dimgray;
    font-size: 1.4em;
}

.Anniversary_product_Add_Cart_Button {
    font-size: 1.3333em;
    background-color: green;
    color: #fff;
    letter-spacing: 1px;
    /*box-shadow: 5px 5px 5px rgba(102, 102, 102, 0.67);*/
    padding: 12px 35px;
    border-radius: 10px;
    display: inline-block;
    font-weight: bold;
    cursor: pointer;
    text-align: center;
}



@media screen and (min-width:1300px) {

    .del {
        padding-left: 5%;
        padding-right: 5%;
        padding-top: 25px;
    }
}

@media screen and (min-width:1180px) and (max-width:1300px) {

    .del {
        padding-left: 10%;
        padding-top: 25px;
    }
}

@media screen and (min-width:993px) and (max-width:1180px) {
    .col-sm-6 {
        /*width:100%;*/
        margin: 0 auto;
    }

    .del {
        margin-top: 50px;
    }

    /*.detailwidth {
        width: 960px;
        padding-right: 15px;
        padding-left: 15px;
        margin-right: auto;
        margin-left: auto;
        margin-top: 50px;
    }*/

        #ProductModal {
        margin: 7% 5% 0 5%;
    }
}

@media screen and (min-width:767px) and (max-width:993px) {
    .col-sm-6 {
        width: 100%;
        margin: 0 auto;
    }

    .del {
        margin-top: 50px;
    }

    /*.detailwidth {
        width: 800px;
        padding-right: 15px;
        padding-left: 15px;
        margin-right: auto;
        margin-left: auto;
        margin-top: 50px;
    }*/

    
    #ProductModal {
        margin: 15% 5% 0 5%;
    }
}

@media screen and (min-width:476px) and (max-width:767px) {
    .p-search {
        display: none;
    }

    .col-md-7 {
        margin: 0 auto;
        text-align: center;
    }

    .col-md-5 {
        margin-top: 50px;
        width: 100%;
    }

    .del {
        padding-right: 8%;
        margin-top: 50px;
    }
    /*.detailwidth {
    width: 100%;
    padding-right: 10px;
    padding-left: 10px;
    margin-right: auto;
    margin-left: auto;
    margin-top: 50px;
}*/


    #ProductModal {
        margin: 12% 5% 0 5%;
    }
}

@media screen and (max-width:476px) {
    .p-search {
        display: none;
    }

    .col-sm-6 {
        width: 100%;
        margin: 0 auto;
    }

    .detailwidth {
        padding-right: 0px;
        padding-left: 0px;
    }

    .del {
        margin-top: 50px;
    }

    /*.detailwidth {
    width: 100%;
    padding-left:0;
    padding-right:0;
    margin-top: 50px;
}*/
    .ulclass_like, .ulclass {
        width: 100%;
    }

    .Anniversary_title_text {
        font-size: 2em;
        color: black;
        margin: auto 1%;
        font-weight: bolder;
    }

    .Anniversary_subtitle_text {
        font-size: 1.3em;
        color: gray;
        margin: auto 1%;
        font-weight: bolder;
    }


    .circle-close {
        background: #E56153;
        height: 2em;
        width: 2em;
        border-radius: 50%;
        color: white;
        border: 1px solid #E56153;
        margin: 1% 3% 0 0;
        padding-left: 1%;
        box-shadow: 2px 2px 2px #808080;
        z-index: 800;
        position: relative;
        font-size: 1.2em;
        float: right;
    }

    .Anniversary_product_text {
        text-align: center;
        padding: 1% 0;
        color: dimgray;
        font-size: 1.3em;
    }

    .Anniversary_product_Add_Cart_Button {
        font-size: 1.3333em;
        background-color: green;
        color: #fff;
        letter-spacing: 1px;
        /*box-shadow: 5px 5px 5px rgba(102, 102, 102, 0.67);*/
        padding: 12px 35px;
        border-radius: 10px;
        display: inline-block;
        font-weight: bold;
        cursor: pointer;
        text-align: center;
    }
}


/*figure {
    position: relative;
    float: left;
    overflow: hidden;
    height: 148px;
    width: 222px;
    background: #3085a3;
    text-align: center;
    cursor: pointer;
}

    figure img {
        position: relative;
        display: block;
        min-height: 100%;
        max-width: 100%;
        opacity: 0.8;
    }

    figure figcaption {
        padding: 2em;
        color: #fff;
        text-transform: uppercase;
        font-size: 1.25em;
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }

        figure figcaption::before,
        figure figcaption::after {
            pointer-events: none;
        }

        figure figcaption,
        figure figcaption > a {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
        }

            /* Anchor will cover the whole item by default */
            /* For some effects it will show as a button */
            figure figcaption > a {
                z-index: 1000;
                text-indent: 200%;
                white-space: nowrap;
                font-size: 0;
                opacity: 0;
            }

    figure h2 {
        word-spacing: -0.15em;
        font-weight: 300;
    }

.grid figure h2 span {
    font-weight: 800;
}

figure h2,
figure p {
    margin: 0;
}

figure p {
    letter-spacing: 1px;
    font-size: 16px;
}


figure.effect-sarah {
    background: transparent;
}

    figure.effect-sarah img {
        max-width: none;
        width: -webkit-calc(100% + 20px);
        width: calc(100% + 20px);
        -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
        transition: opacity 0.35s, transform 0.35s;
        -webkit-transform: translate3d(-10px,0,0);
        transform: translate3d(-10px,0,0);
        -webkit-backface-visibility: hidden;
        backface-visibility: hidden;
    }

    figure.effect-sarah:hover img {
        opacity: 0.4;
        -webkit-transform: translate3d(-5px,0,0);
        transform: translate3d(-5px,0,0);
    }

    figure.effect-sarah figcaption {
        text-align: left;
    }

    figure.effect-sarah h2 {
        position: relative;
        overflow: hidden;
        padding: 5px 0;
        letter-spacing: 5px;
    }

        figure.effect-sarah h2::after {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 3px;
            background: #fff;
            content: '';
            -webkit-transition: -webkit-transform 0.35s;
            transition: transform 0.35s;
            -webkit-transform: translate3d(-100%,0,0);
            transform: translate3d(-100%,0,0);
        }

    figure.effect-sarah:hover h2::after {
        -webkit-transform: translate3d(0,0,0);
        transform: translate3d(0,0,0);
    }

    figure.effect-sarah p, figure.effect-sarah h2 {
        padding: 5px 0;
        opacity: 0;
        -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
        transition: opacity 0.35s, transform 0.35s;
        -webkit-transform: translate3d(100%,0,0);
        transform: translate3d(100%,0,0);
        text-align: center;
    }

    figure.effect-sarah:hover p, figure.effect-sarah:hover h2 {
        opacity: 1;
        -webkit-transform: translate3d(0,0,0);
        transform: translate3d(0,0,0);
    }*/

@media (min-width:320px) {
    .custom-modal {
        background-color: white;
        float: left;
        padding: 3% 1%;
        margin: 21% 6% 0 4%;
        font-size:0.8em;
    }
        .phonebuttonWeb {
        display:none
    }

    .phonebuttonMobile {
        display:block
    }
}

@media (min-width:375px) {

    .custom-modal {
        background-color: white;
        float: left;
        padding: 3% 2%;
        margin: 18% 6% 0 6%;
    }

    .phonebuttonWeb {
        display:none
    }

    .phonebuttonMobile {
        display:block
    }

}

@media (min-width:425px) {

    .custom-modal {
        background-color: white;
        float: left;
        padding: 3% 2%;
        margin: 15% 6% 0 6%;
    }

    .phonebuttonWeb {
        display:none
    }

    .phonebuttonMobile {
        display:block
    }
}

@media (min-width:550px) {

    .custom-modal {
        background-color: white;
        float: left;
        padding: 3% 2%;
        margin: 9% 6% 0 4%;
    }

    .phonebuttonWeb {
        display:none
    }

    .phonebuttonMobile {
        display:block
    }


}

@media (min-width:767px) {

    .custom-modal {
        background-color: white;
        float: left;
        padding: 3% 2%;
        margin: 14% 4% 0 4%;
    }

    .phonebuttonWeb {
        display:block
    }

    .phonebuttonMobile {
        display:none
    }

}

@media (min-width:1024px) {

    .custom-modal {
        background-color: white;
        float: left;
        padding: 3% 2%;
        margin: 2% 4%;
    }

}