/*-----基本設定------*/
body{
  color: #5a5a5a;
  font-size: 14px;
  font-family: '微軟正黑體',arial
}
a{
  color: #5a5a5a;
}
a:hover{
  color: #aaa;
}
a:focus{
  outline: 0;
}
hr{
  border-color: #ccc
}
iframe{
  width: 100%;
  border: 3px solid #fff;
}
.wrapper{
  padding-top: 15px;
}
.margin-bottom-10{
  margin-bottom: 10px;
}
.margin-bottom-20{
  margin-bottom: 20px;
}
.col-md-3:nth-of-type(4n+1) {
  clear: left;
}
@media (max-width: 768px){
  .col-xs-6:nth-of-type(2n+1) {
    clear: left;
  }
}
.col-md-4:nth-of-type(3n+1) {
  clear: left;
}
@media (max-width: 768px){
  .col-xs-6:nth-of-type(2n+1) {
    clear: left;
  }
}
/*-----HEADER-----*/
.header{
  margin-bottom: 10px;
}
a.logo{
  position: relative;
  top: 5px;
}
.topbar{
  float: right;
  display: inline-block;
}
ul.language{
  list-style-type: none;
  padding: 0;
  text-align: right; 
}
ul.language > li{
  display: inline-block;
  margin-right: 15px;
  vertical-align: middle;
}
ul.language > li:last-child{
  margin: 0;
}
ul.language > li > a{
  font-size: 14px;
}
.searchbar{
  vertical-align: middle;
  display: inline-block;
}
@media(min-width: 588px){
  .searchbar {
    padding-top: 31px;
  }
}

.searchbar input[type=text] {
  font-family: FontAwesome;
  background: transparent;
  outline: 0;
  padding: 3px;
  width: 180px;
  border: 1px solid #aaa;
  height: 24px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
  top: 1px;
  left: 1px;
}
.searchbar input[type=submit] {
  background: #111;
  outline: 0;
  color: white;
  border: none;
  font-size: 13px;
  border-radius: 3px;
  padding: 3px;
  letter-spacing: 1px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}
@media (max-width: 767px) {
  .topbar{
    float: none;
    text-align: left;
    margin-top: 20px;
  }
  .topbar > li{
    margin-right: 5px;
  }
  ul.language{
    text-align: left;
    display: inline-block;
    margin-right: 20px;
  }
}
/*-----主選單-----*/
ul.nav.navbar-nav.navbar-right{
  background: #000;
}
.navbar{
  min-height: 0;
  margin-bottom: 0; 
  border-radius: 0;
}
.navbar-default{
  background: #000;
  border: none;
}
.navbar-default .navbar-nav>li>a{
  color: white;
  padding: 8px 30px;
  border-left: 1px solid #777;
  border-right: none;
  font-size: 16px;
  transition: .3s;
}
.navbar-default .navbar-nav>li:last-child>a{
  border-right: 1px solid #777;
}
.navbar-default .navbar-nav>li>a:hover{
  background: #64C7C7;
  color: white;
}
.navbar-default .navbar-nav>li>a.active{
  background: #64C7C7;
  color: white;
}
/*-----Footer-----*/
footer{
  background: #1e2124;
  font-size: 14px;
  color: white;
  padding-top: 10px;
}
footer ul{
  list-style-type: none;
  padding: 0;
  margin: 0; 
}
footer ul li{
  margin: 5px;
}
footer ul li:last-child{
  margin-bottom: 10px;
}
footer ul li.copyright{
  margin-right: 135px;
}
footer ul li a{
  display: block;
}
footer .col-md-6:last-child{
  float: right;
  text-align: right;
}
footer #gotop{
  position: absolute;
  bottom: 0;
  right: 15px;
  cursor: pointer;
}
@media (max-width: 768px){
  footer .col-md-6:last-child{
    float: none;
    text-align: left;
  }
  footer ul li:last-child{
    margin-bottom: 0;
  }
}
@media (min-width: 1200px){
  .footer-wrapper{
    width: 1170px;
    margin: 0 auto;
  }
}
/*-----麵包屑的部分-----*/
.banner{
  background:url(../images/bg_nav.jpg) no-repeat center top;
  background-size:cover;
  height:120px;
}
.banner h2{
  float:left;
  position:relative;
  padding-top:25px;
  font-size:15px;
  font-family: 'Montserrat', sans-serif;
  color: #2AADB3;
  text-transform: uppercase;
}
.banner h2 strong{
  display:block;
  font-family:"微軟正黑體", "LiHei Pro", "新細明體", sans-serif;
  font-size:25px;
  font-weight:normal;
  color: #050505;
}
.banner .breadcrumb{
  float:right;
  padding-right:20px;
  padding-top:70px;
  font-size:13px;
  color:#808080;
}
.banner .breadcrumb>li+li:before {
    color: #777
}
.banner .breadcrumb a{
  color:#808080;
}
.banner .breadcrumb a.back{
  color:#009987;
}
/*左側選單
------------------------------------*/
.panel-body{
  padding: 0;
}
.panel-default > .panel-heading {
  border-top: 4px solid #6FB6A2;
  color: #FFF;
  background-color: #1e2124;
}
.panel-title > a{
  display: block;
}
.tree .dropdown-menu {
  position: relative !important;
  float: none !important;
  box-shadow: none !important;
  border-right: 0 !important;
  border-bottom: 0 !important;
  border-top: 0 !important;
}
.open-tree > .dropdown-menu {
  display: block;
}
.open-tree > .dropdown-menu-tree {
  display: block;
}
.dropdown-menu-tree {
  display: none;
  margin-bottom: 20px;
}
.dropdown-menu-tree > li.active > a{
  color: #08779a !important
}
.dropdown-tree-a:hover{
  cursor: pointer;
}
.nav.tree > li.active, .nav.tree > li > a:focus, .nav.tree > li a:hover{
  background:none;
  color:#6FB6A2;
}
.nav.tree .open-tree > a, .nav.tree .open-tree > a:hover, .nav.tree .open-tree > a:focus {
  background:none;
  color:#A83838;
}
.nav-tabs {
  border-bottom: 3px solid #BFC9CA;
}
.nav-stacked > li {
  border-bottom: solid 1px #eee;
}
.nav-stacked > li a:hover {
  color: #fff;
}
.nav-stacked > li.active > a, .nav-stacked > li.active {
  background: none;
  color: #48A99B;
  font-weight: bold;
}
.category-level-2 {
  border-left: 1px solid #DDDDDD !important;
  margin-left: 13px;
  list-style: none;
  padding: 0;
}
.category-level-2 li {
  margin-top: 2px;
  padding-left: 15px;
}
.category-level-2 li a {
  font-weight: normal;
  padding: 2px 0;
  color: #000000;
}
.category-level-2 li a:visited {
  color: #fff;
}
.category-level-2 li a.active, .category-level-2 .dropdown-tree.active .dropdown-tree-a, .category-level-2 .open-tree .dropdown-tree-a {
  color: black;
  font-weight: bold;
}
@media (min-width: 992px) {
  .category-level-2 li {
    margin: 7px 0;
    padding-left: 15px;
  }
}
/*-----首頁-----*/
.home .owl-carousel{
  margin-bottom: 20px;
  padding: 0 30px;
}
.home{
  margin-top: 000px;
  position: relative;
  z-index: 99;
}
.home .main{
  border-top: 9px solid #50cdba;
  background: #ebebeb;
  padding: 20px 30px 50px;
}
.home .item{
  margin: 0 10px;
}
.home .item img{
  border-radius: 5px;
}
.home .product{
  background: #fff;
  padding: 10px 10px 30px 10px;
  border: 1px solid #777;
  color: #39769c;
}
.home .product h1{
  font-size: 16px;
}
.home .product p{
  margin-bottom: 10px;
}
.home .product a{
  color: white;
  background: #929292;
  padding: 5px 15px;
  border-radius: 5px;
  font-size: 12px;
}
.home .last-grid{
  background: #353535;
  padding: 10px;
  border-radius: 5px;
  color: white;
}
.home .box h1{
  font-size: 18px;
  margin-top: 0;
  padding-bottom: 5px;
  border-bottom: 3px solid #5b5b5b;
  position: relative;
}
.home .box h1::after{
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  border-bottom: 3px solid #50cdba;
  width: 100px;
}
.home .box ul{
  list-style-type: none;
  padding: 0;
}
.home .box li{
  padding: 10px;
  border-bottom: 1px dotted #5a5a5a;
}
.home .box .date{
  font-size: 13px;
}
.home .box .text{
  padding-left: 10px;
  background: url(../images/arrow_text.jpg) no-repeat left 5px;
}
.home .box .text a{
  font-size: 14px;
  color: white;
}
.home .box p{
  font-size: 14px;
  padding: 0 10px;
}
@media (max-width: 768px){
  .home .product, .home .last-grod{
    margin-bottom: 20px;
  }
}
@media (min-width: 769px){
  .home .item img{
    width: 100%;
    max-height: 150px;  
  }
}
/*-----關於我們-----*/
.about{
  padding: 40px 0;
}
.about p{
  line-height: 2em;
}
.texteditor:first-letter {
  font-size: 50px;
  float: left;
  padding: 17px 5px 0 0;
  line-height: 20px;
}
@media (max-width: 640px){
  .texteditor img.pull-right{
    float: none !important;
  }
}
/*-----最新消息-----*/
.news{
  padding: 40px 0;
}
.news .item {
  border-bottom: 1px solid #ccc;
  padding-top: 15px;
  padding-bottom: 15px;
}
.news .item .title{
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 20px;
  display: inline-block;
}
.news .item .date{
  float: right;
}
.news .item .text{
  margin-bottom: 15px;
}
/*-----產品介紹-----*/
.product{
  padding: 40px 0;
}
.product .item {
  border: 1px solid #ccc;
  padding: 10px;
  margin-bottom: 20px;
  min-height: 280px
}
.product .item .title{
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 17px;
}
.product .item .date{
  float: right;
}
.product .item .text{
  margin-bottom: 15px;
}
.product .item .text .table{
  width: auto;
}
@media (max-width: 768px){
  .product .item .image{
    float: left;
    margin-right: 15px;
    margin-bottom: 15px;
    width: 100%;
  }
  .product .item .text .table{
    width: 100%;
  }
}
/*-----產品內頁-----*/
.product-inside{
  padding: 40px 0;
}
.product-inside .item {
  padding-top: 15px;
  padding-bottom: 15px;
}
.product-inside .title {
  font-size: 24px;
  margin-bottom: 15px;
}
.product-inside .information-title {
  font-size: 20px;
  margin-bottom: 5px;
}
/*-----產品搜尋-----*/
.search{
  padding: 40px 0;
}
.search .item {
  border-bottom: 1px solid #ccc;
  padding-top: 15px;
  padding-bottom: 15px;
}
.search .item .image{
  float: left;
  margin-right: 15px;
  width: 250px;
  min-height: 200px;
}
.search .item .title{
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 20px;
  display: inline-block;
}
.search .item .date{
  float: right;
}
.search .item .text{
  margin-bottom: 15px;
}
.search .item .text .table{
  width: auto;
}
/*-----聯絡我們-----*/
.contact{
  padding: 40px 0;
}
.contact .map{
  margin-bottom: 40px;
}
.contact .form-control {
  box-shadow: none;
  border-radius: 0;
}
.contact .form-control:focus {
  border-color: #bbb;
  box-shadow: 0 0 2px #c9c9c9;
}
/*-----Btn-----*/
.btn-primary {
  color: #fff;
  background-color: #48A99B;
  border-color: #328D94;
}
.btn-primary:hover, .btn-primary:focus {
  color: #fff;
  background-color: #50cdba;
  border-color: #60cdba;
  outline: 0;
}
/*-----Tabs-----*/
.nav-tabs{
  text-align: center;
  margin-bottom: 20px;
  border-bottom: none;
}
.nav-tabs>li{
  display: inline-block;
  float: none;
}
.nav-tabs>li>a{
  border-radius: 0;
}
.nav-tabs>li.active>a, .nav-tabs>li.active>a:hover, .nav-tabs>li.active>a:focus{
  border-bottom: 1px solid #ddd;
}
.photo{
  text-align: left;
  margin-bottom: 2%;
}
.photo img{
  width: 100%;
}
/*-----Modal-----*/
.modal-content{
    padding: 20px;
}
.modal-member{
    width: 100%;
    height: 100%;
    padding: 0;
    margin: 0;
}
.modal-member .modal-content {
    height: 100%;
    border-radius: 0;
    overflow: auto;
    background: url(../images/bg.jpg);
}
.modal-backdrop.in{
  z-index: 0;
}
.modal-content button span{
  font-size: 5em;
  line-height: .7em;
}
/*-------2014/12/16-------*/
.nav{
  background: #B8B8B8;
}
.nav-pills>li>a {
  font-weight: bold;
  color: #222222;
}
img.vali{
  width: 24%;
}
.input-captcha {
  width: 76%;
  height: 32px;
  border-left-width: 0;
}
.download{
  display: inline-block;
}
.download > p {
  display: inline-block;
  text-align: right;
}
ul.bxslider{
  list-style-type: none;
  padding: 0;
}
.bx-wrapper{
  position: absolute !important;
  top: 155px;
  width: 1260px;
  z-index: -1;
}
.bx-wrapper img{
  width: 1260px !important;
}
@media (min-width: 768px){
  .bx-wrapper{
    top: 116px;
  }
}
@media (min-width: 1170px){
  .bx-wrapper{
    left: 50%;
    margin: 0 0 0 -630px !important;
  }

}
