@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@100;300;400;500;700;900&family=Open+Sans:ital,wght@0,300;0,400;0,600;0,700;1,400;1,600;1,700&display=swap');
body {
    font-family: 'Noto Sans TC', 'Open Sans', sans-serif;
    font-size: 17px;
    background-color: #abd7f3;
    color: #333;
}

/* 共用項目
===================================*/
.topic {
    position: relative;
    padding-bottom: 30px;
}

.blue {
    color: #305292;
}

.bg-blue {
    background-color: #abd7f3;
}

.bg-gray {
    background-color: #e7e7e7;
}

.bg-white {
    background-color: #fff;
}

.green {
    color: #009846;
}

.orange {
    color: #de7d2d;
}

.shadow-box {
    -ms-box-shadow: 0 8px 20px 0 rgba(0, 0, 0, .1);
    /* IE 9 */
    -webkit-box-shadow: 0 8px 20px 0 rgba(0, 0, 0, .1);
    /* Safari */
    -moz-box-shadow: 0 8px 20px 0 rgba(0, 0, 0, .1);
    /* Safari */
    -o-box-shadow: 0 8px 20px 0 rgba(0, 0, 0, .1);
    /* Opera */
    box-shadow: 0 8px 20px 0 rgba(0, 0, 0, .3);
}

.thumbnail {
    padding: 20px 15px;
    border: inherit;
    border-radius: inherit;
    margin-bottom: inherit;
}

.image-logo {
    position: absolute;
    top: -70px;
    right: 10px;
    width: 180px;
    height: 180px;
    z-index: 1;
}

.share-icon {
    width: 60px;
    height: 60px;
}

.wrap {
    padding-top: 52px;
}

.container .jumbotron {
    background-image: url('../img/bnr_20190610.jpg');
    background-size: cover;
    min-height: 60vh;
    background-position: center bottom;
    border-radius: inherit;
    margin-bottom: inherit;
}

.xinFeng-default .navbar-nav>li>a {
    line-height: 50px;
    color: #305292;
    font-weight: 700;
}

.xinFeng-default .navbar-nav>.active>a {
    background-color: #e7e7e7;
    color: #24181C;
}

.xinFeng-default {
    background-color: #abd7f3;
    border-color: #abd7f3;

    -ms-box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.1);
    /* IE 9 */
    -webkit-box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.1);
    /* Safari */
    -moz-box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.1);
    /* FireFox */
    -o-box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.1);
    /* Opera */
    box-shadow: 0 5px 10px 0 rgba(0, 0, 0, 0.1);
}

.xinFeng-default .navbar-brand {
    font-size: 27px;
    color: #231815;
    height: inherit;
    line-height: 50px;
}

.top10 {
    position: relative;
    margin-top: -80px;
    z-index: 1;
    margin-bottom: 36px;
}

.inner {
    margin: 80px 0;
    display: inline-block;
}

h1 {
    font-size: 23px;
    font-weight: 500;
    margin-bottom: 20px;
    line-height: 1.5em;
}

h2 {
    font-size: 21px;
    margin-top: 10px;
    margin-bottom: 10px;
    line-height: 1.5em;
    position: relative;
    /* 高度为需要显示的行数*行高，比如这里我们显示两行，则为3 */
    height: 3em;
    overflow: hidden;
}

.top {
    z-index: 2;
}

#index .navbar-default .navbar-toggle {
    background-color: #fff;
}

@media(max-width: 768px) {
    .xinFeng-default .navbar-brand {
        line-height: inherit;
    }

    .container .jumbotron {
        background-position: right top;
    }

    #aboutUs,
    #proudctList,
    #gift,
    #footer {
        padding-top: 70px;
    }

    .shadow-box {
        -ms-box-shadow: inherit;
        /* IE 9 */
        -webkit-box-shadow: inherit;
        /* Safari */
        -moz-box-shadow: inherit;
        /* Safari */
        -o-box-shadow: inherit;
        /* Opera */
        box-shadow: inherit;
    }

    .top10 {
        margin-bottom: 16px;
    }

    .image-logo {
      position: absolute;
      top: -140px;
      right: 10px;
      width: 180px;
      height: 180px;
      z-index: 1;
  }
}

@media(max-width: 320px){
    .image-logo {
      position: absolute;
      top: -156px;
      right: 10px;
      width: 180px;
      height: 180px;
      z-index: 1;
  }
}

/* 產品資訊
===================================*/
#productInfo .bg::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-image: url(../img/bg_productInfo.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-color: #fffcdb;
}

#productInfo .date {
    font-size: 21px;
    font-weight: 600;
    font-family: 'Open Sans', sans-serif;
    margin-bottom: inherit;
}

#productInfo .h2 {
    font-size: 15px;
    display: inline-block;
    color: #aaa;
    font-weight: 500;
    margin-top: 10px;
    line-height: 1.5em;
    margin-bottom: inherit;
}

#productInfo .h2.txt-white {
    color: #fff;
}

@media(max-width: 768px) {
    #productInfo .bg::before {
        background-repeat: repeat;
        background-size: unset;
        background-color: #fffcdb;
    }

    #productInfo .thumbnail {
        margin: 15px;
    }

    #productInfo .h2 {
        font-size: inherit;
        height: inherit;
    }
}

/* 企業故事
===================================*/
#aboutUs {
    padding-top: 140px;
}

@media(max-width: 768px) {
    #aboutUs p {
        font-size: 17px;
        margin-bottom: 20px;
    }
}

/* 產品項目
===================================*/
#proudctList {
    position: relative;
    padding-top: 140px;
}

#proudctList .bg::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background-image: url(../img/bg_productList.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-color: #fffcdb;
}

#proudctList .content {
    padding: 20px;
    background-color: #e7e7e7;
    border-radius: 6px;
}

#proudctList h2 {
    position: relative;
    height: 2em;
    font-weight: 500;
}

#proudctList h2::after {
    content: "";
    position: absolute;
    top: 34px;
    left: 0px;
    background-color: #305292;
    width: 100%;
    height: 3px;
}

#proudctList h2:first-of-type {
    margin-top: inherit;
}

#proudctList ul {
    margin-bottom: 30px;
}

#proudctList ul li {
    margin-bottom: 10px;
}

#proudctList ul:first-of-type li {
    display: inline-block;
    padding-right: 1.5em;
}


#proudctList .content {
    padding: 20px;
    background-color: #e7e7e7;
    border-radius: 6px;
}

@media (max-width: 992px){
    #proudctList .inner {
        margin: 22px 0;
    }
    #proudctList .content {
        margin-bottom: 20px;
    }
}
@media(max-width: 768px) {
    #proudctList .bg::before {
        background-repeat: repeat;
        background-size: unset;
        background-color: #fffcdb;
    }
}

/* 伴手禮
===================================*/
#gift {
    padding-top: 140px;
}

#gift .caption{
    padding: initial;

}
#gift .caption h2 {
    font-weight: 600;
    height: inherit;
    text-align: center;
}

#gift .caption p {
    position: relative;
    line-height: 1.5em;
    /* 高度为需要显示的行数*行高，比如这里我们显示两行，则为3 */
    height: 6em;
    overflow: hidden;
}

#gift .image-item {
    padding: 10px;
    border-radius: 6px;
}

@media (max-width: 992px){
    #gift .thumbnail {
        margin-bottom: 20px;
    }
    #gift .caption p {
        position: relative;
        line-height: 1.5em;
        /* 高度为需要显示的行数*行高，比如这里我们显示两行，则为3 */
        height: 3em;
        overflow: hidden;
    }    
}

@media(max-width: 768px) {
    #gift .caption p {
        height: inherit;
    }
}

/* 門市資訊
===================================*/
#footer {
    padding-top: 140px;
}

#footer ul.list,
#footer ul.list-share {
    padding-left: initial;
}

#footer ul.list>li {
    list-style-type: none;
    line-height: 1.5em;
    margin-bottom: 10px;
}

#footer ol.list {
    padding-left: 22px;
}

#footer ul.list-share li {
    display: inline-block;
    margin-top: 20px;
    padding-right: 10px;
}

#footer ul.list-share li:hover{
    opacity: .8;
}

@media(max-width: 992px){
    #footer .image-logo{
        top: -170px;
    }
}

@media(max-width: 480px){
    #footer .image-logo{
        top: -210px;
    }
}

@media(max-width: 320px){
    #footer .image-logo{
        top: -256px;
    }
}

/* To Top Button Styles
===================================*/

.top {
    display: none;
    background-color: #a2a2a2;
    bottom: 2em;
    color: #305292;
    opacity: 0.8;
    padding: 1.2em;
    position: fixed;
    right: 1.5em;
    text-decoration: none;
    transition-duration: 1s;
}

.top:hover {
    opacity: 1;
    transition: 1s;
    text-decoration: none;
    color: #abd7f3;
}


/* jQuery Styles
===================================*/

.navbar-scroll {
    background: #abd7f3;
    padding: 0;
    /*box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.4);*/
    transition-duration: 0.6s;
}

.navbar-scroll .navbar-nav>li>a {
    line-height: inherit;
    color: #305292;
}

.navbar-scroll .xinFeng-default .navbar-nav>.active>a {
    background-color: #e7e7e7;
}

.navbar-scroll .xinFeng-default {
    border-color: #aaa;
}

.navbar-scroll .navbar-brand {
    line-height: inherit;
    padding: 8px 15px;
    color: #231815;
}