@charset "UTF-8";
/*------------------------------------*\
變數和預設值
\*------------------------------------*/
/*排版常用變數*/
/*常用函數組*/
/*預設1rem單位，避免被瀏覽器影響*/
html {
  font-size: 16px;
}

/*------------------------------------*\
header & footer
\*------------------------------------*/
body {
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+0,ffffff+100&1+0,0+100;White+to+Transparent */
  /* FF3.6-15 */
  /* Chrome10-25,Safari5.1-6 */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(10%, white), color-stop(60%, rgba(255, 255, 255, 0))), #c5cd81;
  background: linear-gradient(to bottom, white 10%, rgba(255, 255, 255, 0) 60%), #c5cd81;
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
  min-height: 100vh;
}

#header {
  position: relative;
  padding: 12px 0;
  min-height: 200px;
  background: url(../images/topnav-bg.png) no-repeat top right;
}

/*輪播*/
#sideshow {
  position: absolute;
  bottom: 0px;
  width: 100%;
  max-width: 700px;
  z-index: -1;
  /*.owl-dots {
    margin-top: 0px!important; 
    position: absolute;
    top: 0;
    right: 0;
  }*/
}

#sideshow img {
  max-width: 100%;
}

#sideshow .owl-theme .owl-dots .owl-dot span {
  width: 15px !important;
  height: 15px !important;
  margin: 4px !important;
  background: rgba(138, 153, 10, 0.5) !important;
}

#sideshow .owl-theme .owl-dots .owl-dot.active span, #sideshow .owl-theme .owl-dots .owl-dot:hover span {
  background: #8a990a !important;
}

/*輪播end*/
@media (max-width: 767px) {
  #header {
    min-height: 140px;
    padding: 0;
    background: transparent;
  }
  #sideshow {
    width: 100%;
  }
}

#topnav {
  margin: 0 0 12px 0;
  padding: 0;
  list-style-type: none;
  letter-spacing: 1px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}

#topnav li {
  font-size: 0.85rem;
  line-height: 1.2;
  padding: 0 1rem;
  border-left: 1px dotted #596b00;
}

#topnav li:first-child {
  border-left: 0px;
}

.topnav-fb {
  font-size: 0.85rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  margin-right: 8px;
}

.topnav-fb a {
  display: block;
  border: 1px solid #dddddd;
  border-radius: 4px;
  padding: 0 8px;
  color: #4267B2;
  background: #ffffff;
  -webkit-box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.16);
          box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.16);
}

.topnav-fb a:hover {
  opacity: 0.7;
}

#logo {
  margin: 20px 0 0 100px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
}

#logo img {
  height: 90px;
}

.logo-right {
  font-size: 12px;
  color: #604000;
  line-height: 1.2;
  margin-left: 0.5rem;
}

/*----分享///開始----*/
.share {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}

.share-text {
  padding: 0 4px;
}

.share-icon {
  padding: 0 4px;
}

.share-icon img {
  width: 22px;
}

.share-icon a {
  display: block;
}

.share-icon a:hover {
  opacity: 0.8;
}

@media (max-width: 767px) {
  .share {
    margin: 8px  0;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
  }
  .share i {
    font-size: 22px;
    margin-right: 4px;
  }
}

/*----分享///結束----*/
/*----電腦版選單///start----*/
#mainnavbg {
  position: relative;
  margin: -20px auto 13px auto;
}

#mainNav {
  border-bottom: 4px solid #bfc874;
  margin: 4px 12px;
}

#mainNav ul {
  margin: 0;
  padding: 0 1rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
}

#mainNav li {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  list-style-type: none;
  margin: 0px;
  font-size: 1rem;
  font-weight: 600;
}

#mainNav .nav-link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 100%;
  padding: 0;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: #916A1A;
  line-height: 48px;
  border-radius: 8px 8px 0 0;
}

#mainNav .nav-link:hover {
  color: #c59848;
  background: rgba(197, 152, 72, 0.15);
}

/*----電腦版選單///end----*/
.navbar {
  padding: 0;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

.navbar .navbar-brand {
  padding: 22px 0 0 0;
  float: left;
}

.navbar-header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 1;
      -ms-flex: auto;
          flex: auto;
}

@media (max-width: 991px) {
  #navbar {
    height: 56px;
    margin-left: -12px;
    margin-right: -12px;
    background: rgba(255, 255, 255, 0.9);
    -webkit-box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
            box-shadow: 0 2px 2px rgba(0, 0, 0, 0.2);
  }
  button.navbar-toggler {
    margin: 0 22px 0 0;
    height: 48px;
    padding: 8px;
  }
  .navbar .navbar-toggle .icon-bar {
    color: rgba(0, 0, 0, 0.5);
    width: 24px;
  }
  .navbar .navbar-brand {
    padding: 0;
    width: initial;
    padding-left: 20px;
    height: auto;
    float: none;
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
  }
  .navbar .navbar-brand img {
    padding-top: 8px;
  }
  .navigation-drawer-header {
    font-size: 1rem;
    line-height: 2rem;
    letter-spacing: 0.16px;
    padding: 0 16px;
    line-height: 56px;
    border-bottom: 1px solid #eeeeee;
  }
  .navigation-drawer-header i.material-icons {
    height: 24px;
  }
  .navigation-drawer-header a {
    color: #444444;
  }
  .navigation-drawer-bottom {
    padding: 4px 16px 8px 16px;
  }
}

/*----選單區塊///start----*/
.navbar .navbar-nav > li > a.nav-link {
  padding: 15px 32px 11px 32px;
  /*color:rgba(51,51,51,0.87);*/
}

/*置中*/
.navbar .navbar-nav {
  margin: 0 auto;
}

/*按鈕下拉選單位置移動*/
.navbar .dropdown-menu {
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  -webkit-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  -moz-box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16);
  border-radius: 4px;
  margin-top: 4px;
  border: 1px solid #eeeeee;
}

/*清除選單英文字母變大寫*/
.nav-link {
  text-transform: inherit;
}

@media (max-width: 991px) {
  .mobile-logo {
    padding-top: 4px;
  }
  .mobile-logo a {
    display: block;
  }
  .mobile-logo img {
    height: 46px;
  }
  .navbar {
    padding: 0;
  }
  .navbar .navbar-nav > li > a.nav-link {
    padding: 0 20px;
    line-height: 48px;
  }
  .navbar .navbar-nav > li:hover, .navbar .navbar-nav > li:focus {
    border-bottom: 0px solid #eeeeee;
    background: #F5F5F5;
  }
  .navbar .navbar-nav .open .dropdown-menu > li > a {
    padding-left: 32px;
  }
  /*下拉選單*/
  .navbar .dropdown-menu {
    border-radius: 0px;
    margin-top: 0px;
    background: #f8f9fa;
    border: 0px solid rgba(145, 106, 26, 0.05);
    border-radius: 0;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    border-bottom: 1px solid #eeeeee;
  }
  .navbar .dropdown-menu .dropdown-item {
    padding-left: 2.5rem;
  }
}

/*--側邊滑開選單設定--*/
#dismiss {
  display: none;
}

@media (max-width: 991px) {
  /*確保選單層級*/
  .navbar {
    z-index: 999;
  }
  #navbar-sidebar {
    position: fixed;
    display: block;
    top: 0;
    opacity: 0;
    left: -320px;
    width: 320px;
    height: 100vh;
    z-index: 999;
    background: #fff;
    overflow-y: scroll;
    -webkit-box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
            box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
    -webkit-overflow-scrolling: touch;
    -webkit-transition: all 0.3s ease-in;
    transition: all 0.3s ease-in;
  }
  .navbar-nav {
    padding-top: 18px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eaeaea;
  }
  #navbar-sidebar.active {
    left: 0;
    opacity: 1;
  }
  #dismiss {
    display: block;
    top: 10px;
    right: 10px;
    width: 35px;
    height: 35px;
    line-height: 35px;
    text-align: center;
    position: absolute;
    cursor: pointer;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
  }
  /*黑色底色*/
  .overlay {
    display: none;
    opacity: 0;
    position: fixed;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 998;
    -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
  }
  .overlay.active {
    display: block;
    opacity: 1;
  }
}

@media (max-width: 375px) {
  #navbar-sidebar {
    left: -84vw;
    width: 84vw;
  }
}

/*----選單區塊///end----*/
/*----頁尾///start----*/
footer {
  /*隱藏母站頁尾兩個按鈕*/
}

footer img[style*="currentColor"] {
  display: none;
}

#copyright {
  min-height: 40px;
  margin: 0px auto;
  padding: 24px 0;
  color: #596b00;
  text-align: center;
}

@media (max-width: 991px) {
  /*頁尾下方四大按鈕*/
  footer {
    padding-bottom: 46px;
  }
  #copyright {
    text-align: left;
  }
  #mobile-float {
    background: #8a990a;
    color: #fff;
    padding: 7px 0 2px 0;
    position: fixed;
    width: 100%;
    bottom: 0px;
    -webkit-box-shadow: 0 0 5px #000000;
            box-shadow: 0 0 5px #000000;
    overflow: hidden;
    z-index: 1;
  }
  #mobile-float ul {
    margin: 0px;
    padding: 0px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  #mobile-float ul li {
    list-style-type: none;
    margin: 0px;
    padding: 0px;
    display: block;
    -webkit-box-flex: 1;
        -ms-flex: 1;
            flex: 1;
    text-align: center;
  }
  #mobile-float ul li a {
    color: #fff;
    display: block;
    font-size: 12px;
  }
  #mobile-float ul li a:hover, #mobile-float ul li a:focus {
    opacity: 1;
  }
  #mobile-float ul li i {
    font-size: 24px;
    display: block;
  }
  #mobile-float ul li img {
    width: 24px;
    display: block;
    margin: auto;
  }
  #mobile-float ul li button {
    background-color: transparent;
    width: 100%;
    padding-top: 0px;
    border: 0px;
  }
}

/*----頁尾///end----*/
/*------------------------------------*\
 樣板內
\*------------------------------------*/
#content {
  position: relative;
  border: 8px solid #bfc874;
  border-radius: 20px;
  background: url(../images/content-bg-left.png) repeat-y left top, url(../images/content-bg-right.png) repeat-y right top, #FFFDF0;
}

#content::after {
  content: "";
  display: block;
  position: absolute;
  right: -30px;
  bottom: -45px;
  width: 219px;
  height: 138px;
  background: url(../images/footer-icon.png) no-repeat;
}

h2.main-title {
  margin-top: 0;
  margin-bottom: 0;
  padding: 0 24px;
  color: #bfc874;
}

#main-content {
  position: relative;
  min-height: 300px;
  margin: 0px 76px 36px 76px;
  padding: 0px 0 30px 0;
  background: #ffffff;
  border-left: 1px solid rgba(197, 152, 72, 0.5);
  border-right: 1px solid rgba(197, 152, 72, 0.5);
}

#main-content::before {
  content: "";
  display: block;
  width: 100%;
  height: 15px;
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#fffdf0+0,ffffff+100&1+0,0+100 */
  /* FF3.6-15 */
  /* Chrome10-25,Safari5.1-6 */
  background: -webkit-gradient(linear, left top, left bottom, from(#fffdf0), to(rgba(255, 255, 255, 0)));
  background: linear-gradient(to bottom, #fffdf0 0%, rgba(255, 255, 255, 0) 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}

#main-content::after {
  content: "";
  position: absolute;
  bottom: 0;
  display: block;
  width: 100%;
  height: 30px;
  /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ffffff+0,fffdf0+100&0+1,1+100 */
  /* FF3.6-15 */
  /* Chrome10-25,Safari5.1-6 */
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0)), color-stop(1%, rgba(255, 255, 255, 0)), to(#fffdf0));
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 1%, #fffdf0 100%);
  /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
}

.main-text {
  padding: 0 24px;
}

@media (max-width: 991px) {
  h2.main-title {
    padding: 10px 12px;
    font-size: 24px;
  }
  .main-title-icon img {
    max-width: 40px;
  }
  #main-content {
    margin: 0px 24px 36px 24px;
  }
  #content::after {
    content: "";
    display: block;
    position: absolute;
    right: 0;
    bottom: -20px;
    width: 150px;
    height: 95px;
    background: url(../images/footer-icon.png) no-repeat;
    background-size: cover;
  }
}

@media (max-width: 767px) {
  #main-content {
    margin: 0px 12px 36px 12px;
  }
  .main-text {
    padding: 0 8px;
  }
}

/*------------------------------------*\
 其他設定
\*------------------------------------*/
/*選單滑過去就出現下拉*/
@media (min-width: 992px) {
  .navbar .dropdown:hover > .dropdown-menu {
    display: block;
    opacity: 1;
    -webkit-transform: scale(1);
            transform: scale(1);
  }
}

/*
@media (min-width: 1500px){
.container {
    max-width: 1470px;
}
}*/
@media (min-width: 992px) {
  nav.navbar.navbar-expand-lg.navbar-light {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
}

@media (max-width: 991px) {
  /*material design 邊距*/
  .container, .container-fluid {
    padding-left: 12px;
    padding-right: 12px;
  }
  .row {
    margin-left: -4px;
    margin-right: -4px;
  }
  .col, .col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 {
    padding-left: 4px;
    padding-right: 4px;
  }
  .member_form_content {
    padding: 0 4px;
  }
}

@media (max-width: 767px) {
  .modal-dialog {
    width: 80%;
    margin: 20px auto;
  }
}

@media (max-width: 767px) {
  /*手機上輸入欄至少要1rem.-避免滑動*/
  input, select, textarea {
    font-size: 1rem !important;
  }
}

/*下拉選單過長時-最大符合寬度*/
select.form, select.select {
  max-width: 100%;
}
