/*-----基本設定------*/
body{
  color: #555;
  font-size: 14px;
  font-family: Helvetica, Arial, '微軟正黑體', Sans-serif, 新細明體;
}
.hide-text {
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}
a{
  color: #5a5a5a;
}
a:hover{
  color: #aaa;
}
a:focus{
  outline: 0;
}
hr{
  border-color: #ccc
}
#gotop {
  display: none;
  position: fixed;
  right: 20px;
  bottom: 20px;    
  cursor: pointer;
}
@media (min-width:992px){
  .vs-mobile{
    display: none;
  }
}
/*-----主要結構-----*/
.wrapper{
  padding: 0;
}
.slider{
  background-position: 35% center;
  height: 300px;
}
header{
  position: relative;
  height: 80px;
  background: url(../images/bg_header.jpg) repeat-x;
  box-shadow: 0 3px 30px 5px #555;
}
a.logo{
  width: 149px;
  height: 60px;
  background: url(../images/logo.png) no-repeat;
  display: inline-block;
  margin: 10px 0 0 0;
  -webkit-background-size: contain;
  background-size: contain;
}
ul.topbar{
  display: none;
}
section.main{
  background: #fff;
  padding: 40px 0;
}
footer{
  padding: 30px 0;
  background: #3c433c;
  border-top: 7px solid #9fc800;
  color: #b5b5b5;
}
footer a{
  color: #b5b5b5;
  margin-bottom: 3px;
  display: block;
}
footer ul{
  list-style-type: none;
  padding: 0;
}
footer .link, footer .location{
  margin-bottom: 20px;
}
footer h1{
  color: white;
  margin: 0 0 10px 0;
  font-size: 20px;  
}
footer p{
  margin: 3px 0;
}
@media (min-width: 768px){

}
@media (min-width: 992px){
  header{
    z-index: 10;
    height: 100px;
  }
  .slider{
    background-position: center center;
  }
  a.logo{
    height: 86px;
    margin: 15px 80px 0 0;
    float: left;
  }
  ul.topbar{
    display: block;
    list-style-type: none;
    margin: 10px 10px 0 0;
    padding: 0;
    float: right;
  }
  ul.topbar li{
    float: left;
    margin: 0;
  }
  ul.topbar li a{
    color: #c6e864;
    border-right: 1px solid #c6e864;
    padding: 0 10px;
  }
  ul.topbar li:last-child a{
    border-right: 0;
  }
  ul.topbar li a:hover{
    color: #137600;
  }
  footer .copyright{
    text-align: center;
  }
}
@media (min-width: 1170px){
  a.logo{
    margin: 7px 120px 0 25px;
  }
}
/*-----主選單-----*/
nav{
  list-style-type: none;
  padding: 0;
  position: absolute;
  top: 75px;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  z-index: 99;
  height: 0;
  visibility: hidden;
  opacity: 0;
  transition: .5s;
}
nav::before{
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(236, 236, 236, 0.85);
  z-index: -1;
}
nav.active{
  height: auto;
  visibility: visible;
  opacity: 1;
}
nav > li{
  display: block;
  text-align: center;
  font-size: 18px;
  padding: 0; 
  border-top: 1px solid #444;
}
nav > li > a{
  border: 0;
  padding: 20px;
  color: #168600;
  display: inline-block;
  font-size: 16px;
  font-weight: bold;
}
nav > li > a > em{
  display: none;
}
nav > li > span.glyphicon.toggle{
  position: absolute;
  right: 20px;
  top: 22px;
  font-size: 40px;
  line-height: 20px;
  cursor: pointer;
  z-index: 99;
  color: #168600;
}
nav > li > a:hover{
  color: #000;
}
.dropdown-menu{
  position: relative;
  border-radius: 0;
  margin: 0 0 20px 0;
  background: #168600;
  min-width: 100%;
  border-bottom: 1px solid #444;
}
.dropdown-menu li{
  width: 50%;
  float: left;
}
.dropdown-menu > li > a{
  padding: 15px;
  color: #000;
  font-size: 16px;
}
.dropdown-menu > li > a:hover{
  color: #fff;
  background: #168600;
}
#nav-toggle {
  display: block;
  position: absolute;
  top: 15px;
  right: 15px;
  cursor: pointer;
  z-index: 100;
  color: #000;
  background: #cfa972;
  width: 50px;
  padding: 23px;
  border-radius: 3px;
}
#nav-toggle.active {
  background: #168600;
}
#nav-toggle .text{
  font-size: 18px;
}
#nav-toggle span, #nav-toggle span:after, #nav-toggle span:before {
  cursor: pointer;
  border-radius: 4px;
  height: 3px;
  width: 25px;
  background: #fff;
  position: absolute;
  display: block;
  content: '';
}
#nav-toggle span{
  left: 13px;
  top: 21px;
}
#nav-toggle span:before {
  top: -7px
}
#nav-toggle span:after {
  bottom: -7px
}
#nav-toggle span, #nav-toggle span:after, #nav-toggle span:before {
  transition: all 500ms ease-in-out
}
#nav-toggle.active span {
  background-color: transparent
}
#nav-toggle.active span:after, #nav-toggle.active span:before {
  top: 0
}
#nav-toggle.active span:before {
  transform: rotate(45deg)
}
#nav-toggle.active span:after {
  transform: rotate(-45deg)
}
#nav-toggle.active{
  position: fixed;
}
@media (min-width: 992px){
  nav{
    display: block;
    margin-top: 33px;
    position: static;
    opacity: 1;
    visibility: visible;
    height: auto;
  }
  nav::before{
    background: transparent;
    position: absolute;
  }
  nav > li{
    display: inline-block;
    border-top: 0;
  }
  nav > li:hover > .dropdown-menu{
    display: block;
  }
  nav > li > a{
    border-top: none;
    padding: 10px 15px;
    border-top: 3px solid transparent;
    transition: .3s;
    color: #000;
  }
  nav > li > a > em{
    display: block;
    font-family: 'Times New Roman';
    font-size: 12px;
  }
  nav > li > a:hover, nav > li > a.active{
    text-decoration: none;
    border-top: 3px solid #168600;
    color: #c22032;
    cursor: pointer;
  }
  .dropdown-menu{
    position: absolute;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
  }
  .dropdown-menu li{
    float: none;
    width: auto;
  }
  .dropdown-menu > li > a{
    padding: 5px;
    font-size: 14px;
    border: 0;
    background: #fff;
    color: #168600;
    border: 1px solid #168600;
  }
  .dropdown-menu > li+li > a{
    border-top: 0;
  }
  #nav-toggle{display: none;}
}
@media (min-width: 1170px){
  nav > li > a{
    font-size: 18px;
  }
}
/*-----內頁看板-----*/
.banner{
  margin: 20px 0;
}
/*-----內頁左選單-----*/
.panel-custom > .panel-heading{
  background: #168600;
  border-radius: 0;
  color: #fff;
  font-family: 'SimSun';
  font-weight: bold;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 1px;
  position: relative;
}
/*.panel-custom > .panel-heading:before{
  position: absolute;
  left: 25px;
  top: 15px;
  content: url(../images/bg_panel.png) no-repeat;
}
.panel-custom > .panel-heading:after{
  position: absolute;
  right: 25px;
  top: 15px;
  content: url(../images/bg_panel.png) no-repeat;
}*/
.panel-custom > .panel-heading > em{
  font-size: 16px;
  font-weight: normal;
  padding-left: 5px;
}
.panel-custom > .panel-body{
  background: #eee;
}
.list-group-item{
  background: #eeeeee;
  font-size: 15px;
  border:  0;
}
.list-group-item > a{
  color: #313131;
  font-size: 18px;
}
.list-group-item > a:hover, .list-group-item > a.active{
  color: #C5001E;
  font-size: 18px;
}
ul.second-list{
  list-style-type: none;
  padding: 0;
  margin-top: 5px;
}
ul.second-list > li:before{
  content: '－';
  float: left;
}
ul.second-list > li{
  padding: 3px 0;
}
ul.second-list > li > a{
  color: #555;
  display: block;
  overflow: hidden;
}
ul.second-list > li > a:hover, ul.second-list > li > a.active{
  color: #D36000;
}

/*-----麵包屑-----*/
.breadcrumb{
  font-family: 'SimSun';
  padding: 0 0 0 60px;
  position: relative;
  overflow: hidden;
  min-height: 70px;
  background: url(../images/bg_breadcrumb.png) no-repeat;
}
.breadcrumb:after{
  content: url(../images/bg_breadcrumb_after02.png);
  position: absolute;
  right: 0;
  bottom: 2px;
  z-index: -1;
}
.breadcrumb > li{
  display: block;
  float: left;
  padding: 10px 0 0 0;
  color: #a72f1b;
  font-size: 16px;
}
.breadcrumb > li:last-child{
  padding-right: 15px;
}
.breadcrumb > li.active, .breadcrumb > li + li:before{
  color: #a72f1b;
}
.breadcrumb > li + li:before{
  padding: 0 -5px 0 5px;
  content: '/'
}
.breadcrumb > li > a{
  color: #a72f1b;
  font-size: 16px;
}
@media (min-width: 992px){
  .breadcrumb:after{
    content: url(../images/bg_breadcrumb_after.png);
  }
}
/*-----首頁-----*/
h1.home{
  background: url(../images/h1_hot.png) no-repeat top center;
  height: 78px;
  margin-bottom: 40px;
}
.question h1.home{
  background: url(../images/h1_question.png) no-repeat top center;
  margin-bottom: 20px;
}
.album h1.home{
  background: url(../images/h1_album.png) no-repeat top center;
  margin-bottom: 20px;
}
section.intro{
  background: #1a1a1a;
  color: white;
  line-height: 1.6;
  padding: 20px;
  font-size: 16px;
  font-family: 'SimSun';
}
section.intro h1{
  color: #de5900;
  font-size: 18px;
  line-height: 1.6em;
}
section.hot{
  padding: 20px 0;
}
section.hot .item{
  text-align: center;
}
section.hot .item h2{
  font-family: 'SimSun';
  font-size: 24px;
  font-weight: bold;
  margin: 5px;
}
section.hot .item h3{
  font-size: 16px;
  margin: 10px 0 20px 0;
  line-height: 1.6em;
}
section.hot .item img{
  max-width: 100%;
  border: 10px solid #ddd;
  margin-bottom: 20px;
}
section.hot .item a{
  font-size: 20px;
  font-weight: bold;
}
section.hot .item a span{
  border-left: 2px solid #555;
  border-right: 2px solid #555;
  padding: 5px 5px 0px 5px;
}
section.hot .item a i{
  color: #a72f1b;
  font-size: 28px;
  margin-top: 5px;
}
section.main{
  background: #f0f0f0;
  text-align: center;
}
section.main .question, section.main .album{
  margin-bottom: 60px;
}
section.main .question ul{
  list-style-type: none;
  padding: 0;
  margin: 0;
}
section.main .question li{
  text-align: center;
  border-bottom: 1px dotted #aaa;
  font-size: 18px;
  padding: 10px 0;
}
section.main .album .item img{
  max-width: 100%;
  margin-bottom: 10px;
}
section.main .item a{
  font-size: 18px;
}
@media (min-width: 992px){
  section.intro{
    text-align: center;
  }
  section.intro h1{
    font-size: 20px;
  }
  section.intro p{
    font-size: 18px;
  }
  section.hot .item{
    margin: 0 20px;
  }
  section.main .album .item{
    margin: 0 10px;
  }
}
/*-----內頁Grid-----*/
section.inner{
  padding: 30px 0;
}
.col-md-4:nth-child(3n+1){
  clear:left;
}
.grid{
  text-align: center;
  margin-bottom: 20px;
}
.grid .pic{
  margin-bottom: 10px;
}
.grid a{
  color: #898989;
}
.grid .title{
  font-size: 16px;
  margin-bottom: 30px;
}
.grid .link{
  border-top: 1px solid #d5d5d5;
}
.grid .link a{
  height:30px;
  width:60px;
  border-radius: 0 0 50px 50px;
  -moz-border-radius: 0 0 50px 50px;
  -webkit-border-radius: 0 0 50px 50px;
  background:#168600;
  display: inline-block;
  font-size: 10px;
  color: white;
  padding-top: 5px;
}
.grid .link a:hover{
  color: #898989;
}
/*-----文章分享-----*/
.article > .item{
  padding-bottom: 20px;
  margin-bottom: 20px;
}
.article > .item > .pic{
  margin-bottom: 20px;
}
.article > .item > .title{
  font-size: 20px;
  color: #168600;
  margin-bottom: 10px;
  display: block;
}
.article > .item > .title > a{
  font-size: 20px;
  color: #168600;
  margin-bottom: 10px;
  display: block;
}
.article > .item > .text{
  margin-bottom: 20px;
  font-size: 16px;
  line-height: 1.6;
}
.article.list > .item{
  border-bottom: 1px solid #ddd;
}
@media (min-width: 768px){
  .article.list > .item{
    padding-bottom: 10px;
  }
  .article.list > .item > .pic{
    width: 250px;
    margin-right: 20px;
    float: left;
  }
  .article.list > .item  > a.btn{
    float: right; 
  }
}
/*-----常見問題-----*/
.panel-question > .panel-heading > h4 > a, .panel-question > .panel-heading > h4 > a:focus{
  color: #168600;
  font-weight: bold;
  font-size: 18px;
}
.panel-question > .panel-collapse > .panel-body{
  font-size: 16px;
}
/*-----訪客留言-----*/
table.message thead th{
  background: #168600;
  border-bottom: 25px solid #9BAE63;
  color: white;
  font-size: 16px;
}
table.message thead th a i.fa-circle{
  color: #fff;
}
table.message thead th a i.fa-reply{
  color: #168600;
}
table.message .title{
  color: #006EB2;
  font-size: 15px;
  word-break: break-all;
}
table.message .admin{
  color: #999;
  margin-bottom: 10px;
}
/*-----聯絡我們-----*/
.map{
  margin-bottom: 20px;
}
.map iframe{
  width: 100%;
}
h2.contact{
  color: #168600;
  margin: 15px 0;
  font-size: 18px;
}
ul.contact{
  list-style-type: none;
  padding: 0;
}
ul.contact > li{
  font-size: 16px;
  margin: 3px 0;
}
label{
  font-size: 16px;
}
.form-control{
  border-radius: 0;
}
.validation label{
  display: block;
}
img.vali{
  width: 24%;
}
.input-captcha {
  width: 76%;
  height: 32px;
  border-left-width: 0;
}
/**/
/* datepicker */
/**/
.ui-datepicker {
  display: none;
  padding: 10px 12px;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 0 10px rgba(0,0,0,.3);
  font: 13px/1.55 'Open Sans', Helvetica, Arial, sans-serif;
  text-align: center;
  color: #666;
}
.ui-datepicker a {
  color: #404040;
}
.ui-datepicker-header {
  position: relative;
  margin: -10px -12px 10px;
  padding: 10px;
  border-bottom: 1px solid rgba(0,0,0,.1);
  font-size: 15px;
  line-height: 27px;
}
.ui-datepicker-prev, 
.ui-datepicker-next {
  position: absolute;
  top: 0;
  display: block;
  width: 47px;
  height: 47px;
  font-size: 15px;
  line-height: 47px;
  text-decoration: none;
  cursor: pointer;
}
.ui-datepicker-prev {
  left: 0;
}
.ui-datepicker-next {
  right: 0;
}
.ui-datepicker-calendar {
  border-collapse: collapse;
  font-size: 13px;
  line-height: 27px;
}
.ui-datepicker-calendar th {
  color: #999;
}
.ui-datepicker-calendar a,
.ui-datepicker-calendar span {
  display: block;
  width: 31px;
  margin: auto;
  text-decoration: none;
  color: #404040;
}
.ui-datepicker-calendar a:hover {
  background: rgba(0,0,0,.05);  
}
.ui-datepicker-calendar span {
  color: #bfbfbf;
}
.ui-datepicker-today a {
  font-weight: 700;
}
.ui-datepicker-calendar .ui-state-active {
  background: rgba(0,0,0,.05);
  cursor: default;  
}
.ui-datepicker-inline {
  border: 2px solid #e5e5e5;
  background: #fff;
  box-shadow: none;
}
.ui-datepicker-inline .ui-datepicker-header {
  line-height: 47px;
}
.ui-datepicker-inline .ui-datepicker-calendar {
  width: 100%;
}
/*-----Btn-----*/
.btn-default {
    color: #fff;
    background-color: #168600;
    border-color: #168600
}
.btn-default.active, .btn-default:active, .btn-default:focus, .btn-default:hover, .open .dropdown-toggle.btn-default {
    color: #fff;
    background-color: #659919;
    border-color: #659919
}
/*-----Pagination-----*/
.pagination {
  margin: 20px 0; 
  display: block;
  text-align: center;
}
.pagination a {
  font-size: 16px;
  cursor: pointer;
  color: #777;
  margin: 0 3px;
}
.pagination a:hover {
  color: #f65c3a;
}

.pagination a.jp-current, a.jp-current:hover { 
  color: #f65c3a;
}

.pagination a.jp-disabled, a.jp-disabled:hover {
  color: #f65c3a;
}

.pagination a.jp-current, a.jp-current:hover,
.pagination a.jp-disabled, a.jp-disabled:hover {
  color: #f65c3a;
}
@media (min-width: 992px){
  .pagination a{
    font-size: 14px;
  }
}


/*0121*/
.dropdown-menu > li > a:hover,.dropdown-menu>li>a:focus, .dropdown-menu>li>a:hover {
   background:transparent;
}


@media (max-width:768px){
  .pagination a{
    font-size: 14px;
  }
  .dropdown-menu {
    width: 100%;
  }

  .dropdown-menu li {
   width: 100%;
    float: none;
}

.dropdown-menu>li>a {
    white-space: normal;
}
}