body {
    font-family: 'Microsoft JhengHei', 'Hind', 'Arial';
    font-size: 15px;
    color: #333;
    line-height: 1.4em;
}

::selection {
    background: #27aad6;
    color: #fff;
    text-shadow: none;
}

strong {
    font-weight: 600;
}

a,
a:hover,
a:focus {
    text-decoration: none;
    -o-transition: all .3s;
    -moz-transition: all .3s;
    -webkit-transition: all .3s;
    -ms-transition: all .3s;
    transition: all .3s;
}

a {
    color: #333;
}

a:hover,
a:focus {
    color: #27aad6;
}

h1,
h2,
h3 {
    margin-top: 10px;
    line-height: 1.4em;
    text-transform: uppercase;
}

h1 {
    font-size: 24px;
}

h2 {
    font-size: 22px;
}

h3 {
    font-size: 20px;
}

p {
    margin: 0 0 5px;
}

img {
    max-width: 100%;
}

.clear {
    clear: both;
}

hr {
    margin-top: 0;
}

/***** 區塊留白 *****/

.blank {
    height: 60px;
    clear: both;
}

.blank5 {
    height: 5px;
    clear: both;
}

.blank10 {
    height: 10px;
    clear: both;
}

.blank20 {
    height: 20px;
    clear: both;
}
.blank30 {
    height: 30px;
    clear: both;
}

.mtop95 {
    margin-top: 95px;
}

.mtop20 {
    margin-top: 20px;
}

.p10 {
    padding: 10px;
}

.p30 {
    padding: 30px;
}

.p40 {
    padding: 40px 0px;
}

.p60 {
    padding: 60px 0px;
}

.left {
    float: left;
}

.right {
    float: right;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

table {
    border: #d0d0d0 1px solid;
    margin-bottom: 10px;
}

caption {
    background-color: #e08721;
    padding: 5px 8px;
    font-weight: 600;
    color: #fff;
}

.table-responsive {
    display: block;
    min-width: 100%;
}

.table > tbody > tr > td,
.table > tbody > tr > th,
.table > tfoot > tr > td,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > thead > tr > th {
    line-height: 2.2em;
    border-bottom: 1px solid #d0d0d0;
}

table th,
table td {
    border: #d0d0d0 1px solid;
}

th {
    background-color: #d8eeff;
}

tr:nth-child(even) {
    background: rgba(0, 0, 0, .05);
}

tr:nth-child(odd) {
    background: rgba(255, 255, 255, .5);
}

::-moz-selection {
    background: #e08721;
    color: #fff;
    text-shadow: none;
}

/***** menu *****/
.top {
    padding: 10px 10px 5px 0;
}

.navbar {
    margin-bottom: 0;
    background: #fff;
    -o-transition: all .6s;
    -moz-transition: all .6s;
    -webkit-transition: all .6s;
    -ms-transition: all .6s;
    transition: all .6s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
}

ul.navbar-nav {
    font-size: 14px;
    margin-top: 18px;
}

.navbar-inverse ul.navbar-nav li a {
    margin: 10px 0;
    padding-top: 15px;
    padding-bottom: 15px;
    color: #333;
}

.navbar-inverse ul.navbar-nav li a:hover {
    color: #fff;
    background-color: #27aad6;
    opacity: 1;
    display: block;
}

.navbar-inverse ul.navbar-nav .active {
    color: #27aad6;
    display: block;
}

.navbar-brand img {
    max-width: 190px;
}

.navbar-toggle {
    margin-top: 25px;
    margin-bottom: 20px;
}

.bar {
    background-color: #4075a8;
    border-radius: 50px;
    padding: 5px 15px;
    color: #fff;
}

/***** header *****/
#header {
    width: 100%;
    overflow: hidden;
    margin-top: 90px;
}

.carousel-inner .header-bg {
    background-color: rgba(0, 0, 0, .4);
    height: 480px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.carousel-inner .header-type {
    max-width: 820px;
    text-align: center;
}

.carousel-inner .header-type h1 {
    margin: 20px;
    font-size: 36px;
    font-weight: 600;
    line-height: 70px;
    color: #fff;
}

#carouselheader .carousel-control.right,
#carouselheader .carousel-control.left {
    top: 50%;
    background-image: none;
    margin-top: -20px;
}

.carousel-control .fa {
    width: 40px;
    height: 40px;
    font-size: 30px;
    color: #fff;
    background: rgba(255, 255, 255, .32);
    text-shadow: none;
    padding: 5px;
}

.carousel-inner .item {
    background-size: cover !important;
    background-position: center center !important;
}

.carousel-fade .carousel-inner .item {
    transition-property: opacity;
}

.carousel-fade .carousel-inner .item,
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
    opacity: 0;
}

.carousel-fade .carousel-inner .active,
.carousel-fade .carousel-inner .next.left,
.carousel-fade .carousel-inner .prev.right {
    opacity: 1;
}

.carousel-fade .carousel-inner .next,
.carousel-fade .carousel-inner .prev,
.carousel-fade .carousel-inner .active.left,
.carousel-fade .carousel-inner .active.right {
    left: 0;
    transform: translate3d(0, 0, 0);
}

.carousel-control-prev,
.carousel-control-next {
    position: absolute;
    top: 0;
    bottom: 0;
    z-index: 1;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-pack: center;
    justify-content: center;
    width: 10%;
    color: #fff;
    text-align: center;
    opacity: 0.5;
    transition: opacity 0.15s ease;
}

.carousel-control-prev:hover,
.carousel-control-prev:focus,
.carousel-control-next:hover,
.carousel-control-next:focus {
    color: #fff;
    text-decoration: none;
    outline: 0;
    opacity: 0.9;
}

.carousel-control-prev {
    left: 0;
}

.carousel-control-next {
    right: 0;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background: no-repeat 50% / 100% 100%;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M5.25 0l-4 4 4 4 1.5-1.5L4.25 4l2.5-2.5L5.25 0z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' width='8' height='8' viewBox='0 0 8 8'%3e%3cpath d='M2.75 0l-1.5 1.5L3.75 4l-2.5 2.5L2.75 8l4-4-4-4z'/%3e%3c/svg%3e");
}

.carousel-fade .carousel-control {
    z-index: 2;
}

/** 內頁  **/
.breadcrumb {
    padding: 10px;
    margin-bottom: 0;
}

.breadcrumb ol {
    padding: 0px 5px 0px 20px;
    line-height: 2.3em;
}

.breadcrumb li {
    display: inline-block;
}

.breadcrumb a {
    color: #565656;
}

.breadcrumb,
.breadcrumb .active {
    color: #898989;
}

.content {
    max-width: 980px;
    min-height: 200px;
    margin: 10px auto;
}

.title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 16px;
    line-height: 1.6em;
}

.title h2 {
    margin: 0;
    font-size: 22px;
}

.title .line {
    width: 50px;
    height: 2px;
    background-color: #1994bc;
    margin: 0px auto;
}

.section-heading {
    margin-bottom: 20px;
    border-bottom: 2px solid #EEE;
    padding-bottom: 15px;
    position: relative;
    padding-right: 60px;
}

.section-heading:before {
    content: "";
    display: block;
    width: 70px;
    height: 2px;
    background: #003567;
    position: absolute;
    bottom: -2px;
    left: 0px;
}

.section-heading h2 {
    font-size: 1.4em;
    font-weight: 600;
    color: #282828;
    float: left;
    margin: 0px;
}

.section-heading:after {
    content: "";
    display: table;
    clear: both;
}

.item-box {
    display: block;
    height: 100%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, .2);
    margin-bottom: 25px;
}

.box-img {
    position: relative;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    height: 220px;
}

.box-title {
    padding: 10px;
    text-align: center;
    color: #333;
    height: 100px;
}

.box-title h3, .pro-title h3 {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    margin-bottom: 5px;
}

.box-title p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.item-pro {    
    display: block;
    height: 100%;
    margin-bottom: 40px;
}

.pro-title {
    padding: 5px 10px;
    text-align: center;
    color: #333;
}

.pro-title h3 {
    font-size: 16px;
}

.color-red {
    color: red;
    font-size: 18px;
    font-weight: 600;
}

.promote {
    font-size: 1em;
    margin-top: 0px;
    margin-bottom: 20px;
    color: #939393;
}


#product .form-group {
    font-size: 14px;
    margin-bottom: 10px;
}

#product label {
    width: 80px;
    text-align: left;
    float: left;
}

#product .form-control {
    width: 100px;
    height: 30px;
    padding: 3px;
    margin-bottom: 10px;
    float: left;
}


.btn-info {
    color: #6c6a68;
    background-color: #ffffff;
    border-color: #646464;
    margin: 0px auto;
    display: block;
    padding: 10px;
}

.btn-danger {
    width: 150px;
    padding: 10px 15px;
    margin: 10px auto;
    display: block;
}

.btn-danger a {
    color: #fff;
}

.member {
    max-width: 650px;
    margin: 10px auto 20px auto;
    padding: 50px 30px;
    background: #FFF;
    -moz-box-shadow: 0 2px 25px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0 2px 25px rgba(0, 0, 0, 0.1);
    box-shadow: 0 2px 25px rgba(0, 0, 0, 0.1);
}

.list-menu {
    background-color: #f5f5f5;
    text-align: center;
}

/***** 聯絡我們 *****/
.bg1 {
    background-image: url(../images/bg1.jpg);
    background-size: cover;
    background-position: right bottom;
}

.bg2 {
    background-image: url(../images/bg2.jpg);
    background-size: cover;
    background-position: center bottom;
}

.bg3 {
    background-image: url(../images/bg3.jpg);
    background-size: cover;
    background-position: center bottom;
}

.form-control {
    background-color: #fbfbfb;
    border: 1px solid #e4e4e4;
}

.pro .form-control {    
    padding: 2px 5px;
    height: 35px;
    background: #FFF;
}

.pro .btn-search {
    background: #FFF;
    width: 42px;
    height: 33px;
    border: 0;
}

.pro .input-group-addon {
    padding: 0px;
    border-left: 0;
    background: #FFF;
}

/***** 分頁 *****/
#pagination {
    display: block;
    text-align: center;
}

ul.pagination {
    display: inline-block;
    padding: 0;
    margin-top: 50px;
}

ul.pagination li {
    display: inline;
}

ul.pagination li a {
    color: black;
    float: left;
    padding: 6px 13px;
    text-decoration: none;
    transition: background-color .3s;
    border: 1px solid #ddd;
}

ul.pagination li a.active, .pagination>.active>a {
    background-color: #209cc5;
    border-color: #209cc5;
    color: white;
}

ul.pagination li a:hover:not(.active) {
    background-color: #ddd;
    color: #333;
}

/***** Footer *****/

footer {
    background: #e5e5e5;
    color: #555;
    line-height: 1.6em;
}

.footerLogo {
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footerLogo img {
    max-width: 150px;
}

footer h4 {
    border-bottom: 1px solid #c4c4c4;
    padding-bottom: 5px;
    margin-bottom: 15px;
    margin-right: 20px;
}

footer ul li {
    float: left;
    margin-bottom: 8px;
    width: 90px;
    padding-right: 10px;
}

footer a {
    color: #555;
}

.copyright {
    font-size: 14px;
    background-color: #222;
    padding: 10px 0;
    color: #fff;
    text-align: center;
}

#gotop {
    position: fixed;
    padding: 8px 8px 8px 12px;
    right: 20px;
    bottom: 30px;
    background: rgb(184 184 184 / 70%);
    border-radius: 3.125rem;
    text-align: center;
    transition-duration: 300ms;
    transition-property: all;
    transition-timing-function: cubic-bezier(0.7, 1, 0.7, 1);
    z-index: 1000;
    color: #fff;
}

#gotop .fas {
    padding-right: 5px;
    font-weight: 700;
}

#gotop:hover {
    background: #f7982c;
}

@media (min-width: 992px) and (max-width: 1199px) {}

@media (min-width: 768px) and (max-width: 991px) {}

@media (max-width: 767px) {

    .mtop95 {
        margin-top: 82px;
    }

    h1,
    h2 {
        font-size: 22px;
    }

    h3 {
        font-size: 18px;
    }

    #header {
        margin-top: 82px;
    }

    ul.navbar-nav {
        padding-bottom: 30px;
        margin-top: 0px;
    }

    .navbar-collapse {
        border: 0;
    }

    .navbar-inverse ul.navbar-nav li a {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .navbar-brand img {
        max-width: 160px;
    }

    .carousel-inner .header-bg {
        height: 180px;
    }

    .carousel-indicators {
        bottom: 10px;
    }

    .carousel-inner .header-type h1 {
        font-size: 20px;
        line-height: 30px;
    }

    .title {
        font-size: 16px;
    }

    .member {
        max-width: 650px;
        padding: 50px 10px;
    }

}