/*!
 * Start Bootstrap - Modern Business HTML Template (http://startbootstrap.com)
 * Code licensed under the Apache License v2.0.
 * For details, see http://www.apache.org/licenses/LICENSE-2.0.
 */

/* Global Styles */

html,
body {
    height: 100%;
}

body {
    padding-top: 80px; /* Required padding for .navbar-fixed-top. Remove if using .navbar-static-top. Change if height of navigation changes. */
    background-color: #f4f7d4;
    /*background-image: url(../images/bg.jpg);*/
    background-repeat: repeat-x;
    font-family: Arial,sans-serif,"微軟正黑體",FreeSans,Lantinghei SC Extralight,Heiti TC Light,Meiryo,Microsoft JhengHei,sans-serif;
}

hr {
    margin-top: 5px;
    margin-bottom: 5px;
    border-top: 1px solid #eee;
}

    hr.footerhr {
        border-top: 1px solid #a7a7a7;
    }

.bg-color {
    background-color: #FFF;
}

img {
    width: auto;
    height: auto;
    max-height: 100%;
    max-width: 100%;
}

.img-portfolio {
    margin-bottom: 30px;
}

.img-hover:hover {
    opacity: 0.8;
}

a {
    color: #333333;
}

    a:focus, a:hover {
        color: #0ea341;
        text-decoration: none;
    }

.panel-heading > h3 {
    margin-top: 0px;
    margin-bottom: 0px;
}

.padding5 {
    padding: 5px;
}

.padding10 {
    padding: 10px;
}

.relative {
    position: relative;
}

.absolute {
    position: absolute;
}

.well > h4 {
    line-height: 1.5em;
}

    .well > h4 > ul {
        padding-left: 15px;
    }

.btn-car {
    position: absolute;
    right: 30px;
    bottom: 40px;
    padding: 2px 6px;
}

@media(max-width:767px) {
    .btn-car {
        right: 30px;
        bottom: 20px;
    }
}

.productprop {
    font-size: 16px;
    line-height: 30px;
}

/*上方選單*/
.navbar-inverse {
    background-color: #fff;
    /*border-color: #eee;*/
    border: 0;
    box-shadow: 0px 0px 3px rgba(20%,20%,40%,0.5);
}

    .navbar-inverse .navbar-nav > li > a {
        color: #333;
        font-weight: bold;
        line-height: 30px;
        padding-left: 16px;
        padding-top: 25px;
    }

@media(max-width:767px) {
    .navbar-inverse .navbar-nav > li > a {
        padding-top: 10px;
    }
}

.navbar-inverse .navbar-nav > li > a:focus, .navbar-inverse .navbar-nav > li > a:hover {
    color: #006e39;
    background-color: transparent;
}

.navbar-inverse .navbar-nav .open .dropdown-menu > li > a {
    color: #333;
}

.navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:focus, .navbar-inverse .navbar-nav > .open > a:hover {
    color: #fff;
    background-color: #0ea341;
}

.navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus, .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover {
    color: #fff;
    background-color: #0ea341;
}

.navbar-toggle {
    background-color: #0ea341;
    margin-top: 22px;
}

.navbar-inverse .navbar-toggle {
    border-color: #006e39;
}

    .navbar-inverse .navbar-toggle:focus, .navbar-inverse .navbar-toggle:hover {
        background-color: #006e39;
    }

.navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form {
    border-color: #fff;
}

.nav > li {
    border-top: 1px solid #eee;
}

.navbar {
    min-height: 80px;
}

/*常見問題選單*/

#accordion > .panel {
    margin-bottom: 0px;
    background-color: #fff;
    border: 0px solid transparent;
    border-radius: 4px;
    -webkit-box-shadow: 0 0px 0px rgba(0,0,0,.05);
    box-shadow: 0 0px 0px rgba(0,0,0,.05);
}

.margin-bottom10 {
    margin-bottom: 10px;
}

.margin-search {
    margin: 0 -15px 0 -5px;
}

@media(max-width:767px) {
    .margin-search {
        margin: 0 -15px 10px -15px;
    }

    .breadcrumb {
        padding: 8px 15px;
        margin-bottom: 10px;
    }
}

#nav-select > .dropdown {
    border-top: 0px solid #eee;
    margin-bottom: 8px;
}

    #nav-select > .dropdown > a {
        position: relative;
        display: block;
        background-color: #5cb85c;
        border: 1px solid #4cae4c;
        padding: 7px 15px;
        color: #FFF;
        text-decoration: none;
    }

        #nav-select > .dropdown > a:focus, #nav-select > .dropdown > a:hover {
            background-color: #4cae4c;
        }

.nav-pills > li.active > a, .nav-pills > li.active > a:focus, .nav-pills > li.active > a:hover {
    color: #fff;
    background-color: #5cb85c;
}

.dropdown-menu > .active > a, .dropdown-menu > .active > a:focus, .dropdown-menu > .active > a:hover {
    color: #fff;
    text-decoration: none;
    background-color: #5cb85c;
    outline: 0;
}

/* owl */
#owl {
    padding-bottom: 10px;
}

#owl-image .item {
    margin: 0px;
}

    #owl-image .item img {
        display: block;
        width: 100%;
        height: auto;
    }

#owl h1 {
    z-index: 1;
    color: #333;
    text-align: center;
    text-shadow: 1px 1px #FFF;
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 20px;
    background: rgba(100%, 100%, 100%, 0.8);
    margin: 0px;
}

.title-header {
    color: #333;
    text-shadow: 1px 1px #FFF;
    position: absolute;
    left: 10%;
    top: 35%;
    background: rgba(100%, 100%, 100%, 0);
    margin: 0px;
}
/* Home Page Carousel */
.hot-box {
    padding: 20px 0 21px 0;
    height: 260px;
    border-bottom: 1px solid #eee;
}

.news-box {
    height: 260px;
}

.news-list {
    padding: 10px 0 5px 0;
}

    .news-list + .news-list {
        border-top: 1px solid #eee;
    }

header.carousel {
    height: 50%;
}

    header.carousel .item,
    header.carousel .item.active,
    header.carousel .carousel-inner {
        height: 100%;
    }

    header.carousel .fill {
        width: 100%;
        height: 100%;
        background-position: center;
        background-size: cover;
    }

/* 404 Page Styles */

.error-404 {
    font-size: 100px;
}

/* Pricing Page Styles */

.price {
    display: block;
    /*font-size: 50px;
    line-height: 50px;*/
}

    .price sup {
        top: -20px;
        left: 2px;
        font-size: 20px;
    }

.period {
    display: block;
    font-style: italic;
}

.owl-buttons {
    display: none;
}

.navbar-brand {
    height: 60px;
    padding: 0 0 0 15px;
    margin-top: 8px;
}

.img-border {
    border: 1px solid #ddd;
    padding: 0px;
    border-radius: 4px;
}

.panel-qa > .panel-heading {
    color: #333;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
}

a.text-warning:hover {
    color: #8a6d3b;
    text-decoration: underline;
}
/*fb*/
.fb_iframe_widget {
    display: inline-block;
    position: relative;
    width: 100%;
    margin-bottom: 10px;
}

/* Footer Styles */
footer {
    margin: 30px 0 130px 0;
}

.footer-box {
    height: 90px;
    padding-left: 50px;
    border-right: 1px solid #eee;
}

.footer-link {
    width: 100%;
    color: #9d9d9d;
    text-align: center;
    background-color: #4f4f4f;
    position: fixed;
    bottom: 0;
    padding: 15px 5px;
    z-index: 1000;
}

    .footer-link a:link, .footer-link a:visited {
        color: #b0b0b0;
    }

    .footer-link a:hover {
        color: #fff;
        background-color: transparent;
        text-decoration: none;
    }

/*購物車*/
.step {
    background: #0ea341;
    height: 50px;
    width: 25%;
    float: left;
    position: relative;
    text-align: center;
    padding: 0px;
    line-height: 50px;
    color: #fff;
    font-size: 1.2em;
}

    .step:after {
        content: '';
        position: absolute;
        width: 0;
        height: 0;
        overflow: hidden;
        line-height: 0;
        left: -24px;
        top: 0;
        border-style: solid;
        border-width: 25px 0 25px 25px;
        border-color: #0ea341 #0ea341 #0ea341 transparent;
    }

    .step:before {
        content: '';
        position: absolute;
        width: 5px;
        height: 0;
        overflow: hidden;
        line-height: 0;
        right: 0;
        top: 0;
        border-style: solid;
        border-width: 25px 0 25px 25px;
        border-color: #fff #fff #fff #0ea341;
    }

    .step.selected {
        background: #f6ab00;
        color: #fff;
    }

        .step.selected:after {
            border-color: #f6ab00 #f6ab00 #f6ab00 transparent;
        }

        .step.selected:before {
            border-color: #fff #fff #fff #f6ab00;
        }

.step-left.selected {
    background: #f6ab00;
}

    .step-left.selected:after {
        border-color: transparent;
    }

.step-left:after {
    border-color: transparent;
}

.step-right:before {
    content: '';
    position: absolute;
    width: 5px;
    height: 0;
    overflow: hidden;
    line-height: 0;
    right: 0;
    top: 0;
    border-style: solid;
    border-width: 25px 0 25px 25px;
    border-color: #0ea341;
}

.step-right.selected:before {
    border-color: #f6ab00;
}

.shop-header {
    padding: 10px 0;
}

.underline {
    border-bottom: 1px #eee solid;
}

.form-control-number {
    /*display: block;
     width: 100%; */
    height: 30px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    color: #555;
    background-color: #fff;
    background-image: none;
    border: 1px solid #ccc;
    border-radius: 4px;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075);
    -webkit-transition: border-color ease-in-out .15s,-webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
}

.panel-body {
    font-size: 1em;
}

.padding-top7 {
    padding-top: 7px;
}

.padding4 {
    padding: 4px;
}

.modal-footer {
    padding: 20px;
    text-align: center;
}

.padding-left20 {
    padding-left: 20px;
}

.pagination > .active > a, .pagination > .active > a:focus, .pagination > .active > a:hover, .pagination > .active > span, .pagination > .active > span:focus, .pagination > .active > span:hover {
    z-index: 2;
    color: #fff;
    cursor: default;
    background-color: #0ea341;
    border-color: #006e39;
}

.pagination > li > a, .pagination > li > span {
    position: relative;
    float: left;
    padding: 6px 12px;
    margin-left: -1px;
    line-height: 1.42857143;
    color: #0ea341;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #ddd;
}

.box-productdetal {
    line-height: 1.5em;
    margin-top: 20px;
}

.bd-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bd-desc {
    height: 80px;
    display: block;
    overflow: hidden;
}

.box-index {
    margin-bottom: 10px;
}

.bd-nutrition-list {
    height: 70px;
}

.list-unstyled {
    line-height: 26px;
}

    .list-unstyled li {
        height: 26px;
        line-height: 26px;
        overflow-y: hidden;
    }

.productitem .text-success {
    height: 48px;
    font-weight: bold;
    font-size: 1.5em;
    line-height: 1.3;
}

.productitem .text-muted {
    font-weight: bold;
    font-size: 1.2em;
}

.btn-car {
    /* position: absolute; */
    right: 30px;
    bottom: 40px;
    padding: 2px 6px;
}

.wr-scrollup {
    background-color: #8C847E;
    border-radius: 50%;
    display: table;
    font-size: 16px;
    line-height: 24px;
    height: 50px;
    opacity: 0.75;
    right: 35px;
    bottom: 35px;
    text-align: center;
    width: 50px;
}

    .wr-scrollup a {
        color: #FFF;
        display: table-cell;
        vertical-align: middle;
    }

        .wr-scrollup a:before {
            border-style: solid;
            height: 0;
            width: 0;
            content: "";
            border-color: transparent transparent #FFF transparent;
            border-width: 0 5px 9px 5px;
            display: block;
            margin: 2px auto;
        }

.docitem {
    min-height: 430px;
}

.nutrition-indexpic {
    max-height: 250px;
}

@media (max-width:767px) {
    .docitem {
        min-height: 370px;
    }
}

@media (max-width:767px) {
    .wr-scrollup {
        display: none !important;
    }
}

/* Responsive Styles */
@media (min-width:768px) {
    .box-news {
        height: 220px;
    }

    .box-list {
        width: 100%;
        height: 155px !important;
        padding: 10px;
    }

    .box-index {
        height: 110px;
    }
}

@media(max-width:991px) {
    .customer-img, .img-related {
        margin-bottom: 30px;
    }

    footer {
        margin: 50px 0 30px 0;
    }

    .footer-box {
        height: 85px;
        padding-left: 15px;
        border-right: 1px solid #eee;
    }
}

@media(max-width:767px) {
    .img-portfolio {
        margin-bottom: 15px;
    }

    header.carousel .carousel {
        height: 70%;
    }

    footer {
        margin: 30px 0 60px 0;
    }

    .footer-box {
        height: auto;
        padding-left: 15px;
        border-right: 0px solid #eee;
    }

    .hot-box, .news-box {
        height: inherit;
    }

    #owl h1 {
        font-size: 2em;
        padding: 10px;
    }

    .title-header {
        left: 5%;
        top: 20%;
    }

    .step {
        padding: 0 0 0 12px;
        text-align: left;
        line-height: 50px;
        font-size: 1em;
    }

    .box-news {
        height: auto;
    }

    .box-list {
        height: auto !important;
        padding: 10px;
    }

    .box-index {
        height: 130px;
    }
}

@media(max-width:479px) {
    .bd-contacttel2 {
        display: block;
    }
}

.img-position {
    width: auto;
    height: 250px;
    text-align: center;
    margin: 0 auto;
    border: 1px solid #ddd;
    border-radius: 4px;
}

    /*.img-position:before {
        content: "";
        height: 100%;
        vertical-align: middle;
    }*/

    .img-position img {
        max-width: 100%;
        max-height: 100%;
        width: auto !important;
        height: auto;
        display: inline-block !important;
        vertical-align: middle;
    }

@media (min-width: 980px) {
    .img-position {
        height: 200px;
    }
}

@media (min-width: 768px) and (max-width: 979px) {
    .img-position {
        height: 145px;
    }
}

@media (min-width: 321px) and (max-width: 767px) {
    .img-position {
        height: 330px;
    }
}

@media(max-width: 320px) {
    .img-position {
        height: 260px;
    }
}