﻿/* 壓過lightbox套件 左右按鈕隱藏
-------------------*/
.lb-nav .lb-prev {
    display: none !important;
}

.lb-nav .lb-next {
    display: none !important;
}

/* 標題
-------------------*/
.row h1.sales_title {
    margin-bottom: 0 !important;
/*    padding-top: 80px;*/
    letter-spacing: 1px;
    font-size: 2em;
    font-weight: bold;
    text-align: center;
}

    .row h1.sales_title.title-p-t-20 {
        padding-top: 20px;
    }

h2.subtitle {
    color: #999;
    font-size: 1.2em;
    text-align: center;
    padding-bottom: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(220,220,220,1);
}
/* 產品
-------------------*/
.description .p_box {
    width: 100%;
    margin: 0 auto;
    display: block;
}

.product-no-item-show-text {
    color: red;
    text-align: center;
    margin-top: 5%;
    margin-bottom: 5%;
    font-size: 1.2em;
}

.img-content {
    border-radius: 2px;
}

img.fruit_item {
    width: 100%;
    height: auto;
}

.item-place-height {
    /*height: 1.5em;*/
}

    .item-place-height span, item-place-height {
        font-size: 13px;
        color: #4e9854;
    }

a.exam-report {
    font-size: 13px;
    color: #4e9854;
    float: right;
    text-decoration: underline;
    font-weight: bolder;
}

    a.exam-report i.fa-file-text-o {
        margin-right: 4px;
    }

div.pTite {
    /*min-height: 50px;
    color: #509e55;
    letter-spacing: 1px;
    font-size: larger;*/
    font-size: 1em;
    text-overflow: ellipsis;
    /*white-space: nowrap;*/
    width: initial;
    overflow: hidden;
    font-weight: bolder;
    color: #4e9854;
    /*font-family: $font-family-article-content;*/
}

span.product-remark {
    color:gray;
    font-size: 15px;
    min-height:10px;
    font-weight:bolder;
}

span.product-stock {
    color: #eb6100;
    font-size: 14px;
    position: absolute;
    right: 0;
    width: 100%;
}

div.bottom-line {
    border-bottom: 1px solid #e5e5e5;
    padding-top: 5px;
    display: none;
}

span.product-disc-price {
    /*color: #676767;*/
    font-size: 18px;
    font-weight: bolder;
}

span.product-origin-price {
    text-decoration: line-through;
    font-size: 13px;
    margin-left: 0;
    color: #999;
    display: inline-block;
    font-weight:bolder;
    margin-left:2px;
}

span.product-price-none {
    color: #dc4e43;
    display: none;
}

select.product-amount {
    width: 100%;
    height: 100%;
    padding: 0;
}



div.item-add-chart input.buybuttonnew {
    background-color: #999;
    border: 1px solid #999;
    color: #fff;
    border-radius: 4px;
    padding: 5px 13px;
    height: 30px;
 
}
input.buybuttonnew{
    position:absolute;
    top:0;
    left:0;
    width:100%;
    height:100%;
    z-index:9999;
}

/* Component
-------------------*/
.hidden-height {
    height: 0px;
}


@keyframes rightToLeftFinger {
    0% {
        opacity: 1;
        left: -50px;
    }

    100% {
        opacity: 0;
        left: 0px;
    }
}

@keyframes downToUpFinger {
    0% {
        opacity: 1;
        top: -50px;
    }

    100% {
        opacity: 0;
        top: 0px;
    }
}


.item-title {
    color: #333;
    font-size: 16px;
}

.item-text {
    color: #333;
    display: block;
    text-align: justify;
    white-space: nowrap;
    font-size: 18px;
    overflow: hidden;
    text-overflow: ellipsis;
}

a.cartbtn:hover {
    opacity: 0.8;
}




.item-price {
    float: left;
}

/*.item-add-chart {
    text-align:center;
    padding: 0px;
    display: inline-block;
    border-radius: 4px;
    background-color: #dc4e43;
       cursor:pointer;

}
.item-add-chart:hover{
    opacity: 0.8;
} 
.item-add-chart a {
    color: white;
    font-size: 14px;
}*/

.item-left {
    padding:0;
    display: inline-block;
    /*display:none;*/
}



.img-bg:hover {
    opacity: 0.8;
}

/*modal的取消按鈕背景*/
.circle-close {
    background: #E56153;
    height: 2em;
    width: 2em;
    border-radius: 50%;
    border: 1px solid #E56153;
    margin: -2% -2% 0 0;
    box-shadow: 2px 2px 2px #808080;
    z-index: 99999;
    position: relative;
}

.circle-close-1 {
    background: #E56153;
    height: 2em;
    width: 2em;
    border-radius: 50%;
    color: white;
    border: 1px solid #E56153;
    margin: -1% -1% 0px 0px;
    box-shadow: 2px 2px 2px #808080;
    z-index: 99999;
    position: relative;
    font-size: 1.7em
}

.question-modal {
    padding: 0 3%
}

.mobile-modal-picture {
    transform: translateY(-20%);
    z-index: 999;
    position: relative;
}


.move {
    width: 60px;
    height: 60px;
    margin: 0 auto;
    background-image: url("/images/pointer.png");
    background-size: contain;
    animation-duration: 2s;
    animation-iteration-count: 3;
    -webkit-animation-duration: 2s; /* Chrome, Safari, Opera */
    -webkit-animation-iteration-count: 3; /* Chrome, Safari, Opera */
    -webkit-animation-direction: reverse; /* Chrome, Safari, Opera */
    opacity: 0;
}

.h2-title-text {
    color: #666;
    font-weight: bolder;
   
}


.text-underline-animation {
    position: relative;
    display: inline-block;
    transition: color .2s ease;
}

    .text-underline-animation:hover {
        color: #aaa;
    }

        .text-underline-animation:hover::after {
            width: 100%;
            left: 0;
            transition: width 0.2s cubic-bezier(0.29, 0.18, 0.26, 0.83);
            background: #E66154;
        }

    .text-underline-animation::after, .text-underline-animation::before {
        content: '';
        position: absolute;
        transform: translateY(-webkit-calc(100% + 10px));
        top: calc(100% - 5px);
        width: 0;
        right: 0;
        height: 3px;
    }

    .text-underline-animation::after {
        transition: width 0.4s cubic-bezier(0.51, 0.18, 0, 0.88) 0.1s;
        background: #4BA83B;
    }

      .pitem2 {
        height: 262px;
    }



@media screen and (min-width:320px) {

    #mobilebanner {
    width: 100%;
    }

    #webbanner {
        width: 0%;
    }

    .h2-title-text-br {
        display: block;
    }

    .h2-title-text {
        font-size: 0.86em;
    }

    .pop-dialog-guide-awesome-icon {
        margin-left: 2%;
        font-size: 1.2em;
        transform: translateY(10%);
    }

    .question-img {
        max-width: 25px;
        padding: 5px 5px 5px 0;
        transform: translateY(-10%);
    }


    .mobileshow {
        display: block;
        padding: 0% 0% 0% 0%;
    }

    .webshow {
        display: none;
    }

    .special-product-modal {
        color: white;
        padding: 17px 17px 17px 17px;
    }

    .circle-close {
        font-size: 1em;
        padding-left: 2%;
    }

    .modal-first-text-area {
        position: relative;
        background-color: #4BA83B;
        color: white;
        border-radius: 8px;
        text-align: left;
        padding: 7% 5%;
        margin: 6% 0;
        font-size: 1em;
    }

    .modal-second-text-area {
        position: relative;
        float: none;
        color: #808080;
        margin: 0 0 5% 0;
        font-size: 1em;
        text-align: left;
    }

    .modal-bolder-text {
        font-size: 1.15em;
        font-weight: bolder;
    }
}

@media screen and (min-width:425px) {

    #mobilebanner {
        width: 100%;
    }

    #webbanner {
        width: 0%;
    }

    a.exam-report{
        font-size:15px;
    }

    .item-place-height span, item-place-height {
        font-size: 15px;
        font-weight:bolder;
    }

    span.product-disc-price {
    font-size: 18px;
}

    .product-origin-price{
        margin-left:5px;
    }


    /*.item-add-chart {
    padding: 5px;
}*/
    
    div.pTite {
        min-height:unset;
        font-size: large;
    }
    span.product-stock{
        font-weight:bolder;
        position:unset;
        font-size:15px;
    }

    div.bottom-line {
        display: block;
    }

    .h2-title-text {
        font-size: 1.1em;
    }

    .modal-first-text-area {
        font-size: 1.6em;
    }

    .modal-second-text-area {
        font-size: 1.6em;
    }

    .modal-bolder-text {
        font-size: 1.4em;
    }

    select.product-amount {
        width: 65px;
        height: 30px;
        padding: 4px 12px;
        position:absolute;
        right:5px;
    }

        .item-left {
        text-align:right;   
    }

        .pitem2 {
        height: auto;
    }

}

#title1 {
        font-size: medium;
}


@media screen and (min-width:768px) {
    
    #mobilebanner {
        width: 0%;
    }

    #webbanner {
        width: 100%;
    }
    
    span.product-remark {
        display: inline-block;
    }

    .h2-title-text-br {
        display: none;
    }

    .move {
        position: absolute;
        -webkit-animation-name: rightToLeftFinger; /* Chrome, Safari, Opera */
        animation-name: rightToLeftFinger;
        transform: rotate(270deg) translateY(1100%) translateX(36%);
    }




    .circle-close {
        font-size: 2em;
        padding-left: 1.5%;
    }


    .pitem2 {
        height: 351px;
    }

    .special-product-modal {
        color: white;
        padding: 17px 17px 17px 17px;
    }

        .special-product-modal .modal-content {
            margin-top: 15%;
        }


    .modal-first-text-area {
        font-size: 2.5em;
    }

    .modal-second-text-area {
        font-size: 2.5em;
    }
}

@media screen and (min-width:769px) {

    .pop-dialog-guide-awesome-icon {
        margin-left: 1%;
        font-size: 1.4em;
    }

    .mobileshow {
        display: none;
    }

    .webshow {
        display: block;
    }

    .special-product-modal {
        color: white;
        padding: 17px 17px 17px 17px;
    }

    .circle-close {
        font-size: 1em;
        padding-left: 1.5%;
    }
}

@media screen and (min-width:990px) {




    .special-product-modal {
        color: white;
        padding: 17px 17px 17px 17px;
    }

        .special-product-modal .modal-content {
            margin-top: -5%;
        }
}

@media screen and (min-width:1024px) {
    .move {
        position: absolute;
        -webkit-animation-name: rightToLeftFinger; /* Chrome, Safari, Opera */
        animation-name: rightToLeftFinger;
        transform: rotate(270deg) translateY(1400%) translateX(36%);
    }
}

@media screen and (min-width:1280px) {
    .circle-close {
        font-size: 2em;
        padding-left: 1.5%;
    }
}
