@charset "utf-8";

/* CSS Document */

.box-border-radius (@radius: 5px) {
    -webkit-border-radius: @radius;
    -moz-border-radius:    @radius;
    border-radius:         @radius;

    -moz-background-clip:    padding;
    -webkit-background-clip: padding-box;
    background-clip:         padding-box;
}

body {
    &.bg-y {
        background-color: #fcf8e3;
    }
}
.container{
    text-align: justify;
    text-justify:inter-ideograph;
}
.mr{
    &:last-child{margin-right: 0;}
    }
    .mb{
    &:last-child{margin-bottom: 0;}
    }

#backgroundBanner{
    position: relative;
    background-image: url('../img/about_banner.jpg');
    background-position: center bottom;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    width: 100%;
    height: 80vh;


    &.backgroundBannerAbout {
        background-image: url('../img/phone/phone-aboue01a.jpg');
        background-position: center center;
        /*height: 81.5vh;*/
        height: calc(~"100vh - 69px");
    }
    &.backgroundBannerAbout1 {
        background-image: url('../img/phone/phone-aboue02a.jpg');
        /*height:e("calc(100vh - 69px)");*/
        height: calc(~"100vh - 69px");
    }
    &.backgroundBannerAbout2 {
        background-image: url('../img/phone/phone-aboue03a.jpg');
        height: calc(~"100vh - 69px");
        background-position: center center;
    }
    &.backgroundBannerAbout3 {
        background-image: url('../img/phone/phone-aboue04a.jpg');
        height: calc(~"100vh - 69px");
        background-position: center center;
    }
    &.backgroundBannerNews {
        background-image: url('../img/phone/phone-news01a.jpg');
        height: calc(~"100vh - 69px");
        background-position: center center;
    }
    &.backgroundBannerMap {
        background-image: url('../img/about_banner-6.jpg');
    }
    &.backgroundBannerRecommend {
        background-image: url('../img/phone/phone-celebrity01a.jpg');
        height: calc(~"100vh - 69px");
        background-position: center center;
    }
    &.backgroundBannerSurroundings {
        background-image: url('../img/phone/phone-setting01a.jpg');
        height: calc(~"100vh - 69px");
        background-position: center top;
    }
    &.backgroundBannerContact {
        background-image: url('../img/about_banner-7.jpg');
    }
    &.backgroundBannerFoods {
        background-image: url('../img/phone/phone-food01a.jpg');
        height: calc(~"100vh - 69px");
        background-position: center top;
    }
    &.backgroundBannerGift {
        background-image: url('../img/products/phone-1A.jpg');
        height: 100vh;
    }
    &.backgroundBannerSauce {
        background-image: url('../img/phone/phone-fooda.jpg');
        height: calc(~"100vh - 69px");
        background-position: center center;
    }
}
@media (max-width: 567px) {
    #backgroundBanner {
        &.backgroundBannerGift {
            background-image: url('../img/products/phone-1.jpg');
        }
        &.backgroundBannerSauce {
            background-image: url('../img/phone/phone-food.jpg');
            height: 60vh;
            background-position: center center;
        }
        &.backgroundBannerAbout {
            background-image: url('../img/phone/phone-aboue01.jpg');
            height: 60vh;
        }
        &.backgroundBannerAbout1 {
            background-image: url('../img/phone/phone-aboue02.jpg');
            height: 60vh;
            background-position: center top;
        }
        &.backgroundBannerAbout2 {
            background-image: url('../img/phone/phone-aboue03.jpg');
            height: 60vh;
        }
        &.backgroundBannerAbout3 {
            background-image: url('../img/phone/phone-aboue04.jpg');
            height: 60vh;
        }
        &.backgroundBannerRecommend {
            background-image: url('../img/phone/phone-celebrity01.jpg');
            height: 60vh;
        }
        &.backgroundBannerNews {
            background-image: url('../img/phone/phone-news01.jpg');
            height: 60vh;
        }
        &.backgroundBannerFoods {
            background-image: url('../img/phone/phone-food01.jpg');
            height: 60vh;
            background-position: center top;
        }
        &.backgroundBannerSurroundings {
            background-image: url('../img/phone/phone-setting01.jpg');
            height: 60vh;
            background-position: center top;
        }
    }
}

/*-- social-icons --*/

.agileinfo-social-grids {
    padding-left: 15px;
}

.agileinfo-social-grids ul li {
    margin: auto 0.2em !important;
    padding-top: 12px;
    vertical-align: middle;
    a{
        position: relative;
        .qrcode{
            display: none;
            position: absolute;
            left: -575%;
            top: 30px;
        }
        &:hover{
            .qrcode{
                display: block;
                z-index: 99;
            }
        }
        span{
            color: #555;
        }
    }
}

.agileinfo-social-grids {
    float: left;
    margin-left: 0;
}

.agileinfo-social-grids ul {
    padding: 0;
    margin: 0;
}

.agileinfo-social-grids ul li {
    display: inline-block;
}

.agileinfo-social-grids ul li a {
    color: #FFFFFF;
    text-align: center;
}

.agileinfo-social-grids ul li a i.fa.fa-facebook,
.agileinfo-social-grids ul li a i.fa.fa-twitter,
.agileinfo-social-grids ul li a i.fa.fa-rss,
.agileinfo-social-grids ul li a i.fa.fa-vk {
    transition: 0.5s all;
    -webkit-transition: 0.5s all;
    -moz-transition: 0.5s all;
    -o-transition: 0.5s all;
    -ms-transition: 0.5s all;
}

.agileinfo-social-grids ul li a i.fa.fa-facebook:hover {
    color: #3b5998;
}

.agileinfo-social-grids ul li a i.fa.fa-twitter {
    margin: 0 1em;
}

.agileinfo-social-grids ul li a i.fa.fa-twitter:hover {
    color: #55acee;
}

.agileinfo-social-grids ul li a i.fa.fa-rss {
    margin: 0 1em 0 0;
}

.agileinfo-social-grids ul li a i.fa.fa-rss:hover {
    color: #f26522;
}

.agileinfo-social-grids ul li a i.fa.fa-vk:hover {
    color: #45668e;
}

.agileinfo-social-grids ul li:nth-child(2) {
    margin: .5em 0;
}

.agileinfo-social-grids ul li:nth-child(3) {
    margin: 0 0 .5em 0;
}


/*-- //social-icons --*/


/*-- //nav bar --*/


@media (max-width: 350px) {
    #navbar{
        padding-left: 4px;
        padding-right: 4px;
    }
}

.nav>li>a {
    padding-left: 10px;
    padding-right: 10px;
}

.navbar-inverse {
    background-color: #fcf8e3;
    border-color: #fcf8e3;
    .navbar-nav {
        >li {
            &.text-or {
                >a {
                    color: #F08300;
                }
            }
            >a {
                color: #555555;
                &:hover,
                &:focus {
                    color: #a94442;
                }
            }
            &.text-or.en {
                >a{
                    padding-top:14px;
                }
            }
        }
        .open {
            >a {
                background-color: #e2c0a87d;
                color: #555555;
                &:hover {
                    background-color: #e2c0a87d;
                    color: #555555;
                }
            }
        }
    }
    .navbar-collapse,
    .navbar-form {
        border-color: transparent;
    }
    .navbar-toggle{
        background-color: #adadad;
    }
}

.dropdown-menu {
    background-color: #CCC;
    >li {
        >a {
            &:hover,
            &:focus {
                color: #262626;
                background-color: #f5f5f5;
            }
        }
    }
}

.nav-container {
    padding-right: 0;
    padding-left: 0;
}

.navbar-nav {
    &.topnav {
        li>a {
            color: #F08300;
        }
        li.cart>a {
            padding-top: 8px;
        }
    }
    &.topnav-right {
        float: right;
    }
    .slash {
        line-height: 50px;
        color: #F08300;
    }
}
@media (min-width: 768px) {
    .navbar-nav{
        > li > a{
            padding-top: 5px;
        }
    }
}

.mobileCart {
    position: relative;
    float: right;
    margin-right: 5vw;
    margin-top: 1.3vh;
}

.car-area{
    display: none;
    /*width: 395px;*/
    // height: 226px;
    padding: 25px;
    background-color: #F7F8F8;
    border: 1px solid #9E9E9F;
    /*font-family: @content-family;*/
    border-radius: 10px;
    position: fixed;
    // left: 50%;
    right: -10px;
    z-index: 1000;
    top: 75px;
    /*&:before{
        content: '';
        border: 1px solid;
        display: block;
        width: 0;
        height: 0;
        border-width: 15px;
        border-color: transparent transparent #9E9E9F transparent;
        position: absolute;
        top: -31px;
        left: 66%;
        margin-left: 25px;
    }
    &:after{
        content: '';
        border: 1px solid;
        display: block;
        width: 0;
        height: 0;
        border-width: 15px;
        border-color: transparent transparent #F7F8F8 transparent;
        position: absolute;
        top: -29px;
        left: 66%;
        margin-left: 25px;
    }*/
    .middle-line{
        width: 340px;
        margin: 0 auto;
        border-bottom: 1px solid #9E9E9F;
        margin-top: 20px;
        margin-bottom: 12px;
    }
    .col1{
        li{
            list-style: none;
            display: inline-block;
            text-align: center;
            margin-right: 12px;
            vertical-align: top;
            .mr;
        }
        .title{
            font-size: 13px;
            color: #595757;
            margin-bottom: 8px;
            position: relative;
        }
        .content{
            font-size: 12px;
            color: #717171;

            br{
                display: none;
            }
        }
        .before-line:before{
            content: '';
            display: block;
            height: 8px;
            border-right: 1px solid #9E9E9F;
            position: absolute;
            top: 6px;
            left: -5px;
        }

        &.noItem{
            text-align: center;
            li{

                .title{
                    color: #B33125;
                }
            }
        }

    }
    .col2{
        text-align: right;
        font-size: 13px;
        color: #717171;
        margin-bottom: 15px;
        span{
            color: #A94442;
        }
    }

    .col3{
        text-align: right;
        span{
            text-align: center;
            display: inline-block;
            color: #fff;
            background-color: #ECB72F;
            width: 70px;
            height: 24px;
            line-height: 23px;
            font-size: 12px;
            border-radius: 4px;
            cursor: pointer;
            &:hover{
                background-color: #000;
            }
        }
    }
    ul li{
        list-style: none;
    }
}
.itemQty{
    position: absolute;
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #f08300;
    color: #FFF;
    text-align: center;
    font-size: 12px;
    line-height: 20px;
    right: 10px;
    .box-border-radius(20px);
}
.mobileCart .itemQty{
    right: 0;
}

/*-- //nav bar --*/

@media (max-width: 768px) {
    .container>.navbar-header,
    .container-fluid>.navbar-header,
    .container>.navbar-collapse,
    .container-fluid>.navbar-collapse {
        margin-left: 0;
        margin-right: 0;
    }
    .navbar-nav {
        &.topnav-right {
            float: none;
        }
    }
}

@media (max-width: 1024px) {
    .navbar-nav>li>a {
        padding-right: 7px;
        padding-left: 7px;
    }
    .agileinfo-social-grids {
        padding-left: 7px;
    }
}

@media (min-width: 1024px) {
    .container.nav-container {
        width: 1000px;
    }
}

@media (min-width: 1200px) {
    .container.nav-container {
        width: 1100px;
    }
    /*.navbar-nav > li > a {
        padding-right: 15px;
        padding-left: 15px;
    }*/
}


/*-- //product sub nav --*/

ul {
    &.produtctSubNav {
        li{
            letter-spacing: 4px;
        }
        a {
            color: #333;
            &:hover,
            &.active {
                color: #A94442;
            }
        }
    }
}


/*-- //product sub nav --*/


/*-- //product --*/
.productList{
    .thumbnail{
        a.addToCartBtn{
            position: absolute;
            right: 20px;
            bottom: 34px;
        }
        a.noToCartBtn{
            position: absolute;
            right: 20px;
            bottom: 34px;
        }
    }
}
@media (max-width: 567px) {
    .productList{
        .thumbnail{
            a.addToCartBtn{
                right: 26px;
                bottom: 12px;
                img{
                    width: 36px !important;
                }
            }
            a.noToCartBtn{
                right: 26px;
                bottom: 12px;
                img{
                    width: 36px !important;
                }
            }
        }
    }
}
.productContainer {
    color: #636162;
    font-size: 14px;
    h3 {
        color: #4D4A49;
        font-size: 22px;
        line-height: 30px;
        border-bottom: 1px solid #E6E6E6;
        margin-bottom: 6px;
    }
    .row {
        .content {
            color: #636162;
            font-size: 14px;
            p {
                color: #636162;
                font-size: 14px;
            }
            &.productContent {
                font-size: 16px;

                .price {
                    line-height: 28px;
                    margin-bottom: 10px;
                    &.oprice{
                        text-decoration:line-through;
                    }
                }
            }

            .cartBtn {
                position: relative;
                display: block;
                background-color: #ECB72F;
                color: #221522;
                line-height: 42px;
                font-size: 20px;
                margin-top: 41px;
                margin-bottom: 10px;

                img {
                    position: relative;
                    float: right;
                    right: 15%;
                    top: 3px;
                }
                &.noToCart{
                    background-color: #ccc;
                    pointer-events: none;
                }
            }
            .quantityContent {
                line-height: 34px;
                height: 34px;
                margin-bottom: 20px;

                .quantityTitle {
                    float: left;
                    margin-right: 6px;
                }
            }
            .input-group {
                display: inline-block;
            }
        }
        .text-center {
            text-align: center;
            img {
                text-align: center;
                margin: auto;
            }
        }
        table {
            width: 100% !important;
        }
    }
}

.red {
    color: #98241B;
}
.text-center {
    text-align: center;
}

/**{
    border: 1px solid #F60;
}*/

.btn-quantity {
    float: left;
    background-color: #DEDFDC;
    width: 32px;
    height: 34px;
    padding: 0px;
    border: solid 1px #BEBEBE;
    font-size: 22px;
    color: #1F1B1A;
    -webkit-border-radius: 1px;
    -moz-border-radius: 1px;
    border-radius: 1px;
}

input[type="text"].input-quantity {
    float: left;
    width: 42px;
    height: 34px;
    text-align: center;
    border: solid 1px #BEBEBE;
    font-size: 18px;
    color: #838081;
}
input.input-quantity {
    float: left;
    width: 42px;
    height: 34px;
    text-align: center;
    border: solid 1px #BEBEBE;
    font-size: 18px;
    color: #838081;
}

.myCaption {
    .thumbnail {
        .caption {
            position: relative;
            padding-right: 0;
            img {
                position: relative;
                float: right;
                top: -6px;
            }
        }
    }
}


/*-- //product --*/


/*-- //product --*/


/*-- //fancybox --*/

.fancybox-slide--iframe {
    padding: 22px 22px 0;
}


/*.fancybox-slide--iframe .fancybox-content {
    width  : 845px;
    height : 845px;
    max-width  : 80%;
    max-height : 80%;
    margin: 0;
}*/

.fancybox-button--close.custom--close {
    position: absolute;
    right: 0;
    z-index: 9999999;
}

.button-close,
.button-previous,
.button-next {
    position: absolute;
    width: 44px;
    height: 44px;
    background: #000;
    text-align: center;
    line-height: 44px;
    color: #fff;
    text-decoration: none;
    border-radius: 50%;
    font-size: 16px;
}

.button-previous,
.button-next {
    top: 50%;
    margin-top: -22px;
    line-height: 42px;
}

.button-previous {
    left: -50px;
}

.button-next {
    right: -50px;
}

.button-close {
    top: -44px;
    right: -44px;
    font-size: 22px;
    color: rgba(255, 255, 255, 0.8);
}


/*-- //fancybox --*/


/*-- submit btn --*/

.btn-submit {
    background-color: #FEEAB4;
}
/*-- submit btn --*/


/*-- map --*/
.mapH {
    height: 350px;
}
.addressInfo{
    min-height: 70px;
}
.mapContainer{
    margin-bottom: 30px;
    text-align: center;
}

@media (min-width: 768px) {
    .container {
        &.mapContainer {
            width: 750px;
            text-align: left;
        }
    }
}

@media (min-width: 992px) {
    .container {
        &.mapContainer {
            width: 970px;
            text-align: left;
        }
    }
}

@media (min-width: 1200px) {
    .container {
        &.mapContainer {
            width: 1170px;
            text-align: left;
        }
    }
}
/*-- map --*/
/*-- contact -*/
.contact-finish-container{
    margin-bottom: 3em;
    p{
        font-weight: bold;
        font-size: 1.2em;
        line-height: 2em;
        letter-spacing: 1px;
    }
}
/*-- contact -*/
/*-- howbuy --*/
.howbuyContainer,
.orderListCantainer{
    font-size: 14px;
    color: #231815;
    h2{
        margin-top: 0px;
        color: #9FA0A0;
        display: inline-block;
        padding: 6px;
        background-color: #EFEFEF;
        font-size: 28px;
        font-weight: normal;
    }
    h3, h4{
        margin-top: 2px;
    }
    h3{
        display: inline-block;
        border: 1px solid #9FA0A0;
        padding: 6px 26px 4px;
        font-size: 16px;
    }
    .subtitle a{
        font-size: 22px;
        color: #E60012;
    }
    ol{
        list-style: none;
        padding-left: 0;
        font-size: 14px;
        li{
            margin-bottom: 20px;
        }
    }
    p{
        font-size: 14px;
    }
    .orderProcess{
        h4{
            color: #B45E18;
        }
    }
    .orderPay{
        h4{
            color: #E60012;
        }
    }
    .red{
        color: #E60012;
    }
    .pink{
        color: #E4007F;
    }
    dl:last-child{
        margin-bottom: 40px;
    }
    button.red {
        color: #E60012;
        font-weight: bold;
        &:active {
            color: #E60012;
            font-weight: bold;
        }
    }
    p.deliveryCash_p{
        margin-bottom: 4px;
    }
    .deliveryCash {
        padding-top: 4px;
        font-size: 12px;
        &.howbuyDeliveryCash{
            padding-top: 0;
        }
        table {
            tr {
                th {
                    text-align: center;
                    padding: 0px 4px;
                    height: 22px;
                }
                td {
                    text-align: right;
                    padding: 0px 4px;
                    height: 22px;
                }
            }
        }
    }
}
@media (max-width: 767px) {
    .howbuyContainer,
    .orderListCantainer{
        h2{
            br{
                display: none;
            }
        }
    }
    /*dl, dd{
        margin-right: -15px;
        margin-left: -15px;
    }*/
}
@media (max-width: 420px) {
    dl, dd{
        margin-right: -15px;
        margin-left: -15px;
    }
}
/*-- howbuy --*/

/*-- form --*/
#twzipcode, #r_twzipcode{
    > div{
        display: inline-block;
    }
}
.zipcode, .r_zipcode{
    width: 8rem;
    display: inline-block;
    margin-right: 4px;
}
.county, .district, .r_county, .r_district {
    width: 9rem;
    display: inline-block;
    margin-right: 4px;
}
/*-- form --*/
/*----- member -----*/
.addFinishMember{
    position: relative;
    font-size: 2em;
    text-align: center;
    p{
        font-size: 0.7em;
    }
    .btn{
        position: relative;
        display: inline-block;
        background-color: #ECB72F;
        color: #221522;
        line-height: 32px;
        font-size: 20px;
        margin-top: 10px;
        margin-bottom: 10px;
        padding: 5px 20px;
        &:hover{
            background-color: #e8ab0c;
        }
    }
}
.QuserPassReset{
    margin-right: 10px;
}
.item-err{
    color: #a94442;
    font-weight: bold;
    letter-spacing: 1px;
    font-size: 1em;
}
.memberList{
    margin-bottom: 30px;
}
.nav-pills{
    > li{
        > a{
            color: #221522;
        }
    }
}
.nav-pills>li.active>a, .nav-pills>li.active>a:focus, .nav-pills>li.active>a:hover{
    color: #221522;
    background-color: #ECB72F;
}
.nav>li>a:focus, .nav>li>a:hover{
    color: #F08300;
}
/*----- member -----*/
/*----- order list -----*/
table.orderListTable{
    thead, tbody{
        tr{
            td,th{
                text-align: center;
                vertical-align: middle;
            }
        }
    }
    tfoot{
        &.total{
            tr{
                td{
                    text-align: right;
                    vertical-align: middle;
                }
            }
        }
    }
    .btn{
        letter-spacing: 2px;
    }
    &.footerOrderListTable{
        thead, tbody{
            tr{
                td{
                    text-align: right;
                }
            }
        }
    }
}
.myCaption .step {
    font-family: "STXihei", HEITI TC, "HEITI TC", "黑體-繁", "微軟正黑體", "黑體", sans-serif;
    color: #fff;
    /*width: 103px;*/
    height: 34px;
    line-height: 34px;
    font-size: 18px;
    letter-spacing: 2px;
    text-align: center;
    background-color: #00afc5;
    border-radius: 4px;
}
.text-or{
    color: #F08300;
}
.btn-warning {
    color: #fff;
    background-color: #F08300;
    border-color: #eea236;
}
.freight-text{
    p{
        font-size: 1.2em;
    }
}
.pdt{
    padding-top: 40px;
}
.paymentContainer{
    .radio-inline{
        display: block;
        margin-left: 0;
    }
}
.reportNot{
    color: #F08300;
    margin-top: 4px;
}
.orderLookList{
    span{
        color: #F08300;
    }
    a{
        color: #717071;
    }
    .detail{
        a{
            color: #c7000b;
        }
    }
}
.orderNot{
    /*border: 1px sol*/
}
/*----- order list -----*/






/*

//@media (max-width: 768px){
@media (max-width: 813px){
    .container > .navbar-header, .container-fluid > .navbar-header, .container > .navbar-collapse, .container-fluid > .navbar-collapse {
        margin-left: 0;
        margin-right: 0;
    }
}
//@media (max-width: 767px){
@media (max-width: 812px){
    .visible-xs {
        display: block !important;
    }
}
//@media (min-width: 768px){
@media (min-width: 813px){
    .navbar-collapse {
        width: auto;
        border-top: 0;
        -webkit-box-shadow: none;
        box-shadow: none;
    }
    .navbar-collapse.collapse {
        display: block!important;
        height: auto!important;
        padding-bottom: 0;
        overflow: visible!important;
    }
    .navbar-nav>li {
        float: left;
    }
    .navbar-nav {
        float: left;
        margin: 0;
    }
    .navbar-nav {
        margin: 15px 0 0 0;
    }
    .navbar>.container .navbar-brand, .navbar>.container-fluid .navbar-brand {
        margin-left: -15px;
    }
    .navbar-toggle {
        display: none;
    }
    .container {
        width: 750px;
    }

    .navbar-static-top {
        border-radius: 0;
    }

}

*/





