body {
    background: url('../images/background.jpg') repeat;
    background-size: cover;
    color: #666666;
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 1.8em;
    font-family: "微軟正黑體", "Microsoft JhengHei", sans-serif;
    overflow-x: hidden;
    position: relative;
}

img {
    border: 0;
    padding: 0;
    margin: 0;
    vertical-align: middle;
    max-width: 100%;
    width: auto\9;
    /* ie8 */
}

form {
    margin: 0;
}

input:focus {
    outline: none;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-text-fill-color: #000000;
    -webkit-box-shadow: none;
    transition: background-color 5000s ease-in-out 0s;
}

a {
    color: #666666;
    background: transparent;
    text-decoration: none;
}

a:active,
a:hover,
a:focus {
    outline: 0;
    color: #666666;
}

#scrollUp {
    bottom: 75px;
    right: 0;
    padding: 10px 20px;
}

.container {
    width: 1080px;
}

@media (max-width: 1080px) {
    .container {
        width: 100%;
    }
}

/*===================== Header =====================*/
header {
    border-top: 10px solid #9b2027;
    position: relative;
    width: 100%;
    top: 0;
    z-index: 3;
}

header>.container {
    background: rgba(0, 0, 0, 0.6);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 1080px;
    min-height: 150px;
    max-height: 150px;
    z-index: 2;
}

header #date {
    width: 40%;
    float: right;
    clear: right;
    padding-top: 20px;
    text-align: right;
}

.navbar-default {
    background: transparent;
    border: 0;
    padding: 20px 10px;
    color: #ffffff;
    margin-bottom: 0;
}

.navbar-default .navbar-nav>li:first-child {
    padding: 10px 15px;
}

.navbar-default .navbar-nav>li+li::before {
    content: "|";
    display: inline-block;
    padding: 0 5px;
}

.navbar-default .navbar-nav>li>a {
    color: #ffffff;
    display: inline-block;
    padding: 5px 15px;
    margin: 10px 0;
}

.navbar-default .navbar-nav>li>a:focus,
.navbar-default .navbar-nav>li>a:hover {
    background: #9b2027;
    color: #ffffff;
}

.navbar-default .logo {
    display: block;
    padding-top: 10px;
}

@media (max-width: 1080px) {
    header>.container {
        width: 95%;
    }

    header #date {
        padding-top: 0;
    }

    .navbar-default .navbar-nav>li:first-child {
        padding: 0;
        padding-top: 10px;
        padding-left: 15px;
        float: none;
    }
}

@media (max-width: 991px) {
    .navbar-default {
        padding: 20px 10px;
    }

    .navbar-default .logo {
        padding-top: 20px;
    }

    .navbar-default .logo img {
        width: 350px;
    }
}

@media (max-width: 767px) {
    header>.container {
        min-height: 150px;
        max-height: none;
    }

    header #date {
        float: none;
        width: auto;
    }

    .navbar-toggle {
        margin-top: 30px;
    }

    .navbar-default .navbar-collapse {
        border: 0;
    }

    .navbar-default .navbar-toggle:focus,
    .navbar-default .navbar-toggle:hover {
        background: transparent;
    }

    .navbar-default .navbar-nav>li:first-child {
        padding: 10px 15px;
    }

    .navbar-default .navbar-nav>li+li::before {
        display: none;
    }

    .navbar-default .navbar-nav>li>a {
        width: 100%;
    }

    .navbar-default .navbar-nav>li>a:focus,
    .navbar-default .navbar-nav>li>a:hover {
        color: #ffffff;
        background: rgba(155, 32, 39, .8);
    }

    .navbar-default .logo {
        float: left;
        width: 80%;
        padding-top: 0;
    }
}

@media (max-width: 600px) {
    header #date {
        padding-top: 20px;
    }

    header>.container {
        background: rgba(0, 0, 0, 0);
        padding: 0;
    }

    .navbar-default {
        padding: 0;
    }

    .navbar-default .navbar-collapse {
        background: rgba(0, 0, 0, 0.5);
        margin-top: 30px;
    }

}

@media (max-width: 480px) {
    header #date {
        text-align: left;
    }

    .navbar-default .logo {
        float: none;
        width: 100%;
        padding-top: 10px;
    }

    .navbar-toggle {
        position: absolute;
        right: -20px;
        top: -15px;
    }

    .navbar-default .navbar-collapse {
        margin-top: 20px;
    }
}

@media (max-width: 400px) {
    .navbar-default {
        padding: 20px 0;
    }

    header #date {
        padding-top: 0;
    }

    .navbar-default .logo {
        padding-top: 20px;
    }

    .navbar-default .navbar-collapse {
        margin-top: 15px;
    }
}

/*===================== Banner =====================*/
#scene {
    position: relative;
    min-height: 1000px;
    overflow: hidden;
}

.layer {
    width: 100%;
    height: 100%;
    position: absolute;
}

.egg {
    background: url('../images/egg.png') no-repeat;
    width: 345px;
    height: 330px;
    position: absolute;
    top: -110px;
    right: 8%;
}

.gherkin {
    background: url('../images/gherkin.png') no-repeat;
    width: 230px;
    height: 330px;
    position: absolute;
    top: 8%;
    right: 2%;
}

.chopsticks {
    background: url('../images/chopstick.png') no-repeat;
    width: 700px;
    height: 520px;
    position: absolute;
    top: 38%;
    right: -22%;
}

.surface {
    background: url('../images/surface.png') no-repeat;
    width: 700px;
    height: 400px;
    position: absolute;
    bottom: 0;
    left: -10%;
}

@media (max-width: 1680px) {
    .chopsticks {
        right: -25%;
    }
}

@media (max-width: 1440px) {
    .chopsticks {
        right: -38%;
    }
}

@media (max-width: 1366px) {
    .egg {
        background: url('../images/egg_s.png') no-repeat;
        width: 200px;
        height: 191px;
        top: -50px;
    }

    .gherkin {
        background: url('../images/gherkin_s.png') no-repeat;
        width: 200px;
        height: 287px;
    }

    .chopsticks {
        display: none;
    }

    .surface {
        left: -20%;
    }
}

@media (max-width: 991px) {
    .gherkin {
        right: 3%;
    }

    .surface {
        top: auto;
        bottom: 0;
    }
}

@media (max-width: 767px) {
    .egg {
        right: 20%;
    }

    .gherkin {
        background: url('../images/gherkin_xs.png') no-repeat;
        width: 200px;
        height: 287px;
        top: 2%;
        right: -5%;
    }
}

@media (max-width: 600px) {

    .egg,
    .gherkin,
    .surface {
        display: none;
    }
}

/*===================== Content =====================*/
#content {
    box-shadow: 0px 20px 20px #000000;
    position: relative;
    top: -850px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    margin-bottom: -850px;
    min-height: 850px;
    width: 1080px;
}

#content>.container {
    position: relative;
    background: url('../images/content_bg.jpg') repeat;
    width: 1080px;
    overflow: hidden;
    min-height: 850px;
}

#content>.container::before,
#content>.container::after {
    content: "";
    background: #6a1014;
    width: 1px;
    height: auto;
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
}

#content>.container::before {
    left: 10px;
}

#content>.container::after {
    right: 10px;
}

.content {
    padding: 40px 100px;
}

.content h1 {
    color: #6a1014;
    font-size: 24px;
    text-align: center;
    position: relative;
}

.content h1::before,
.content h1::after {
    content: "";
    background: #6a1014;
    width: 300px;
    height: 1px;
    position: absolute;
    top: 50%;
}

.content h1::before {
    left: 0;
}

.content h1::after {
    right: 0;
}

.content h2 {
    font-size: 16px;
    text-align: center;
    padding-bottom: 20px
}

.view {
    /* overflow-x: hidden;
    overflow-y: auto;
    height: 650px; */
    padding-bottom: 20px;
}

.view::-webkit-scrollbar {
    -webkit-appearance: none;
    width: 10px;
    height: 10px;
}

.view::-webkit-scrollbar-thumb {
    border-radius: 5px;
    border: 3px solid #ffffff;
    background-color: rgba(106, 16, 20, .3);
}

@media (max-width: 1080px) {
    #content {
        width: 95%;
    }

    #content>.container {
        width: 100%;
    }

    .content {
        padding: 30px 50px;
    }

}

@media (max-width: 991px) {

    .content h1::before,
    .content h1::after {
        width: 200px;

    }

    .content h3 {
        width: 40%;
    }
}

@media (max-width: 767px) {

    .content h1::before,
    .content h1::after {
        width: 150px;

    }

    .content h2 span {
        display: block;
    }
}

@media (max-width: 600px) {
    .content {
        padding: 30px;
    }

    .content h1::before,
    .content h1::after {
        width: 100px;

    }

    .content h2 {
        line-height: 2em;
    }

    .content h2 span:first-child {
        display: none;
    }
}

@media (max-width: 480px) {

    .content h1::before,
    .content h1::after {
        display: none;

    }

    .content {
        padding: 15px;
    }

    .content h2 {
        padding-bottom: 0;
    }

    .content h3 {
        float: none;
        width: auto;
    }
}

/*===================== Products =====================*/
.title {
    margin-bottom: 30px;
}

.title h3 {
    font-size: 18px;
    line-height: 2em;
    padding-left: 10px;
    color: #6a1014;
    border-left: 1px dotted #604c3f;
    float: left;
    width: 50%;
}

.title h3 i {
    padding: 0 10px;
}

.cate {
    float: right;
    width: 30%;
    padding: 10px 0
}

.cate>span {
    float: left;
    width: 20%;
}

.cate select {
    float: right;
    width: 75%;
}

.nav-tabs {
    float: right;
    width: 75%;
    border-bottom: 0;
}

.nav-tabs>li>a {
    min-width: 150px;
    border: 1px solid #666666;
    border-radius: 0;
    background: transparent;
    position: relative;
}

.nav .open>a,
.nav .open>a:focus,
.nav .open>a:hover,
.nav-tabs>li>a:hover,
.nav-tabs>li>a:focus,
.nav-tabs>li.active>a,
.nav-tabs>li.active>a:focus,
.nav-tabs>li.active>a:hover {
    min-width: 150px;
    border: 1px solid #666666;
    border-radius: 0;
    background: transparent;
}

.nav-tabs i {
    font-size: 24px;
    color: #6a1014;
    text-align: right;
    position: absolute;
    right: 10px;
}

.dropdown-menu {
    background: rgba(255, 255, 255, 0.8)
}

.dropdown-menu>li>a {
    padding: 10px 15px;

}

.dropdown-menu>li>a:focus,
.dropdown-menu>li>a:hover,
.dropdown-menu>.active>a,
.dropdown-menu>.active>a:focus,
.dropdown-menu>.active>a:hover {
    background: #9b2027;
    color: #ffffff;
}

.title2 .cate {
    float: left;
}

.title2 .cate label {
    width: 40%;
}

.title2 .cate select {
    float: right;
    width: 60%;
}

@media (max-width: 991px) {
    .title2 h3 {
        width: 100%;
    }

    .cate {
        width: 50%;
    }

    .cate>span {
        float: left;
        width: 30%;
    }

    .nav-tabs {
        float: left;
        width: 50%;
    }

}

@media (max-width: 600px) {

    .title h3,
    .cate {
        float: none;
        width: auto;
    }

    .cate label {
        padding-left: 10px;
    }
}

/*===================== Select =====================*/

.form-control {
    background-color: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    border-bottom: 1px solid #666666;
}

select.form-control {
    border: 1px solid #666666;
    /*移除箭頭樣式*/
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    background: url('../images/select_arrow.png') right center no-repeat transparent;
    background-position-x: 95%;
}

/*IE隱藏箭頭樣式*/
select.form-control::-ms-expand {
    display: none;
}

.form-control:focus {
    border-color: #6a1014;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(106, 16, 20, .6);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(106, 16, 20, .6);
}

/*===================== Table =====================*/
.table-responsive {
    margin-bottom: 30px
}

.table i {
    color: #6a1014;
}

.table>thead>tr>th {
    color: #6a1014;
    border-bottom: 1px solid #6a1014;
}

.table>tbody>tr>td {
    border-top: 1px solid #a8a8a8;
    vertical-align: middle;
    padding: 10px;
    width: 20%;
}

.table>tbody>tr:last-child>td {
    border-bottom: 1px solid #a8a8a8;
}

.table select.form-control {
    border-radius: 4px;
    width: 50%;
}

.table2>thead>tr>th {
    background: #9b2027;
    color: #ffffff;
    border-bottom: 1px solid #9b2027;
    text-align: center;
    border-left: 1px solid #ffffff;
}

.table2>thead>tr>th:first-child {
    text-align: left;
    border-left: 0;
}

.table2>tbody>tr>td {
    text-align: center;
    width: 25%;
}

.table2>tbody>tr>td:first-child {
    text-align: left;
}

.table2>tbody>tr:last-child>td {
    border-bottom: 1px solid #9b2027;
}

.table3>thead>tr>th {
    text-align: center;
}

.table3>thead>tr>th:first-child {
    text-align: left;
    border-left: 0;
}

.table3>tbody>tr>td {
    text-align: center;
    width: 25%;
}

.table3>tbody>tr>td:first-child {
    text-align: left;
}

@media (max-width: 767px) {
    .table-responsive {
        border: 0;
    }

}

@media (max-width: 600px) {
    .table select.form-control {
        width: auto;
    }

}

/*===================== Orderinfo =====================*/
.order {
    margin-bottom: 10px;
}

.order .col-sm-4 {
    background: #6a1014;
    color: #ffffff;
    padding: 10px 15px;
    text-align: center;
}

.order span::after {
    content: "";
    width: 1px;
    height: 13px;
    background: #ffffff;
    display: inline-block;
    margin: 0 10px;
}

.orderinfo-title {
    margin-bottom: 15px;
    color: #6a1014;
}

.orderinfo {
    border-top: 1px solid #6a1014;
    border-bottom: 1px solid #6a1014;
    padding: 20px 0 10px;
    margin: 0 0 30px;
}

.orderinfo span {
    color: #9b2027;
}

.pice {
    padding: 0 65px;
}

/*===================== Finish =====================*/
.finish {
    border: 1px solid #9b2027;
    padding: 80px 60px 60px;
    margin-top: 20%;
    position: relative;
}

.finish img {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
}

.finish h1 {
    margin-bottom: 30px;
}

.finish h1::before,
.finish h1::after {
    display: none
}

.finish p {
    margin-bottom: 30px;
}

@media (max-width:991px) {
    .finish {
        margin-top: 30%;
    }
}

@media (max-width:480px) {
    .finish {
        padding: 80px 30px 60px;
        margin-top: 50%;
    }
}

/*===================== Info =====================*/
.info p {
    color: #000000;
}

/*===================== Pagination =====================*/
.pagination>li>a {
    background: transparent;
    color: #666666;
    border: 0;
    border-radius: 0;
}

.pagination>li:first-child>a,
.pagination>li:last-child>a {
    border-radius: 0;
}

.pagination>li>a:focus,
.pagination>li>a:hover,
.pagination>li>a.active {
    background: #9b2027;
    color: #ffffff;
}

/*===================== Button =====================*/
.btn-wrap {
    position: absolute;
    right: -50px;
    top: 50px;
    z-index: 5;
    -webkit-writing-mode: vertical-rl;
    writing-mode: vertical-rl;
    text-align: center;
}

.btn-wrap .btn {
    width: 50px;
    height: 120px;
    background: #9b2027;
}

.btn-wrap .btn:hover {
    background: #6a1014;
    color: #ffffff;
}

.btn {
    background: #6a1014;
    border-radius: 0;
    vertical-align: middle;
    font-size: 18px;
    color: #ffffff;
    width: 200px;
    margin-bottom: 20px;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: color, background-color;
    transition-property: color, background-color;
}

.btn:hover,
.btn:focus {
    background: #9b2027;
    color: #ffffff;
}

.btns {
    background: #9b2027;
    margin-right: 20px;
}

.btns:hover,
.btns:focus {
    background: #6a1014;
    color: #ffffff;
}

@media (max-width: 1200px) {
    .btn-wrap {
        right: 0;
        top: 0;
    }
}

@media (max-width: 767px) {
    .btns {
        margin-right: 0;
    }
}

@media (max-width: 480px) {
    .btn-wrap .btn {
        width: 40px;
        height: 100px;
        font-size: 16px;
        padding: 10px;
    }
}

/*===================== Footer =====================*/
footer {
    background: #6a1014;
    width: 100%;
    position: relative;
    bottom: 0;
    z-index: 3;
    margin: auto;
    padding: 5px 0;
    color: #ffffff;
    font-size: 13px;
}

footer a {
    color: #ffffff;
    font-size: 13px;
}

footer a:hover {
    color: #ffffff;
}