﻿@charset "UTF-8";
/* CSS Document
2015/10
Created by Peilun Hsu
*/
*, *:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

@font-face {
  font-family: "MyriadPro-Bold";
  src: url("../font/MyriadPro-Bold.otf") format("opentype");
  font-weight: normal;
  font-family: "DFT_PDC";
  src: url("../font/DFT_PDC.ttf") format("truetype");
  font-weight: normal;
}
body {
  font-family: Comic Sans MS, arial, helvetica, sans-serif;
  margin: 0px;
  padding: 0px;
  color: #666;
  font-size: 13px;
  line-height: 1.7em;
  background-color: #fff;
  background-image: url(../images/body_green.jpg);
  background-position: top;
  background-repeat: repeat-x;
}

header, article, aside, footer {
  border: 1px solid #111;
  padding: 10px 1em;
  margin: 0 5% 10px;
}

h1 {
  font-size: 2em;
  font-family: 微軟正黑體, Comic Sans MS, arial, serif;
}

h2 {
  font-size: 1.5em;
  color: #3779ba;
}

h3 {
  font-size: 1.2em;
}

h1, h2 {
  font-weight: bold;
  margin: 5px 0;
}

p {
  font-size: 1em;
  margin: 5px 0;
}

ul {
  padding-left: 10px;
  margin: 10px 0;
  list-style-type: disc;
}

li {
  margin-left: 10px;
  padding-left: 10px;
}

a {
  color: #020B39;
  text-decoration: none;
}
a:hover {
  color: #39F;
  text-decoration: none;
  -webkit-transform: translate(1px, 1px);
  -ms-transform: translate(1px, 1px);
  -o-transform: translate(1px, 1px);
  transform: translate(1px, 1px);
}

.content {
  border: 0;
  padding: 5px 1em;
  margin: 0 5% 10px;
  font-size: 1.2em;
}
.content table {
  padding: 0;
  margin: 0;
}
.content h3 {
  color: #39C;
}
.content h2 {
  color: #3779ba;
  font-style: normal;
  font-weight: bold;
  line-height: 1.4;
  border-left: 12px groove #ccc;
  background-color: #F8F8F8;
  margin: 0 3px 1px 0;
  padding: 3px 3px 1px;
}
.content img {
  width: 320px;
}

.intro_side2 {
  width: 100%;
  margin-left: 2px;
  margin-right: 0;
}

.intro_side2 li {
  list-style-image: url("../images/arrow.gif");
}

/* menu-頂層連結 english,ntou */
#tooplate_menu {
  padding: 0 5%;
}
#tooplate_menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
#tooplate_menu li {
  padding: 0px;
  margin: 0px;
  display: inline;
}
#tooplate_menu a {
  float: right;
  display: block;
  height: 35px;
  padding: 0 5px;
  font-size: 16px;
  text-align: center;
  text-decoration: none;
  color: #1d364b;
  font-weight: normal;
  outline: none;
}

/* end of menu */
/* 來賓換證 */
.rdate {
  float: right;
  color: #999;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.9em;
  padding-top: 3px;
  clear: both;
}

/* end of 來賓換證 */
/* 表頭 */
header {
  margin-top: 0;
  border: 0;
  background-image: url(../images/header.jpg);
}

/* end of 表頭 */
/* 導航列 */
nav {
  font-family: 微軟正黑體, Comic Sans MS, arial, sans-serif;
}
nav ul {
  list-style-type: none;
  margin: 25px 0 0;
  padding: 0;
}
nav li {
  border: 0 solid #666;
  background-color: #98C1E2;
  margin: 3px 0 0;
  padding: 10px 1em;
  text-align: center;
  font-size: 1.5em;
}
nav li a {
  text-decoration: none;
  color: #fff;
  font-size: 1.2em;
  display: block;
}
nav li a:hover {
  color: #fff;
}

/* end of 導航列 */
/* 最新消息  */
.news {
  font-size: 1.2em;
  font-family: "MyriadPro-Bold", Comic Sans MS, arial, helvetica, sans-serif;
}

/* end of 最新消息  */
/* 最新消息 more  */
.more {
  clear: both;
  text-align: center;
  font-size: 11px;
  color: #000;
  font-weight: bold;
  line-height: 1;
  display: inline-block;
  padding: 8px 15px;
  min-width: 104px;
  background-color: #318ED7;
  border: 1px solid #0A497A;
  border-radius: 8px;
  -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.85);
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.85);
}
.more:hover {
  text-decoration: none;
  color: #fff;
  background-image: linear-gradient(to bottom, #4D93CA, #1F8BE0);
}
.news .more {
  float: right;
}

/* end of 最新消息 more  */
aside {
  font-size: 1.2em;
  font-family: "DFT_PDC", Comic Sans MS, arial, helvetica, sans-serif;
}

/* 網頁底部宣告 */
footer {
  border: 0;
  clear: both;
  text-align: left;
  /*  background: #7DC2FF;*/
  background: #FFFFFF;
}
footer a {
  color: #000;
}
footer img {
  margin-top: -95px;
  clear: both;
  position: absolute;
  right: 80px;
  width: 150px;
  display: block;
}

/* end of 網頁底部宣告 */
#fullpage {
  max-width: 83em;
  margin: auto;
}

.intro_side2 img {
  width: 300px;
}

.button_small2, .btn {
  font: normal 110% Arial, Helvetica, sans-serif;
  width: 80px;
  height: 64px;
  padding: 5px 2px 7px 2px;
  background: #CCC;
  background: -moz-linear-gradient(#FFF, #BBB);
  background: -o-linear-gradient(#FFF, #BBB);
  background: -webkit-linear-gradient(#FFF, #BBB);
  border-radius: 7px 7px 7px 7px;
  -moz-border-radius: 7px 7px 7px 7px;
  -webkit-border: 7px 7px 7px 7px;
  -webkit-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px;
  -moz-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px;
  box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 5px;
}

.button_small2 a, .btn {
  color: #000;
  text-shadow: 1px 1px #FFF;
  padding-left: 5px;
}

.btn {
  display: inline-block;
  width: auto;
  height: auto;
  padding: 5px 10px;
}
button.btn {
  cursor: pointer;
  border: 0;
}

@media only screen and (min-width: 50em) {
  h1 {
    font-size: 3em;
  }

  .rdate {
    font-size: 1em;
  }

  nav ul {
    list-style-type: none;
    padding-bottom: 0;
    margin: 0;
  }
  nav li {
    width: 100%;
    display: inline;
  }
  nav li a {
    font-size: 0.8em;
  }

  article {
    width: 90%;
    float: left;
    margin-right: 0;
  }

  aside {
    width: 21%;
    float: right;
    margin-left: 0;
  }

  .rol {
    border: 0;
  }

  .contant table {
    padding: 0;
    margin: 0;
    font-size: 1em;
  }

  .contant img {
    width: 330px;
  }

  .intro_side2 {
    width: 47%;
    float: right;
    margin-left: 3%;
    margin-right: 0;
    padding: 0;
    border: 0;
    font-size: 1.1em;
  }
  .intro_side2 img {
    width: 300px;
  }

  footer {
    clear: both;
  }
}
@media only screen and (min-width: 55em) {
  h1 {
    font-size: 3em;
  }

  .rdate {
    font-size: 1.1em;
  }

  nav ul {
    list-style-type: none;
    padding-bottom: 0;
    margin: 0;
  }
  nav li {
    width: 100%;
    display: inline;
  }
  nav li a {
    font-size: 0.7em;
  }

  aside {
    width: 21%;
    float: right;
    margin-left: 0;
  }

  .rol {
    border: 0;
  }

  .contant {
    width: 90%;
    float: right;
    margin-left: 0;
    border: 0;
  }

  .contant table {
    padding: 0;
    margin: 0;
    font-size: 1.1em;
  }

  .contant img {
    width: 230px;
  }

  footer {
    clear: both;
  }
}
@media only screen and (max-width: 45em) and (min-width: 35em) {
  .contant img {
    width: 420px;
  }
}
@media only screen and (max-width: 28em) {
  .contant img {
    width: 220px;
  }

  .intro_side2 img {
    width: 200px;
  }
}
.site-title {
    /*background: url(../images/icon-flag.gif) no-repeat 0 center/12% auto;*/
    padding-left: 12.5%;
    line-height: 1.1;
    margin-bottom: 8px;
    margin-top: 24px;
}
@media (min-width: 64em) {
  .site-title {
    background-size: auto 100%;
  }
}
.site-title small {
  font-size: 15.6px;
  text-shadow: 0 0 0 #000;
  font-weight: bold;
  color: #000;
}

.border-3 {
  border: #666 3px groove;
}

.table-list {
  border-collapse: collapse;
  border-spacing: 0;
  margin-bottom: 30px !important;
  width: 100%;
}
.table-list th, .table-list td {
  padding: 5px;
}
.table-list th {
  border: 1px solid #53A8C7;
  background: #C1E9F8;
}
.table-list td {
  border: 1px solid #53A8C7;
}

.form-label {
  display: block;
  margin-bottom: 3px;
}
.form-input {
  width: 100%;
  padding: 3px 5px;
}
.form-input[readonly] {
  border: 1px solid #eee;
  background-color: #f7f7f7;
}

.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

.text-center {
  text-align: center;
}

.p-0 {
  padding: 0;
}

.m-0 {
  margin: 0;
}

.mb-s {
  margin-bottom: 8px;
}

.mb-m {
  margin-bottom: 16px;
}

.mx-s {
  margin-left: 8px;
  margin-right: 8px;
}

.font-lg {
  font-size: 17px;
}

.row {
  margin-left: -1%;
  margin-right: -1%;
}

.pull-right {
  float: right;
}

.pull-left {
  float: left;
}

.clear {
  clear: both;
}

.clearfix:after,
.row:after {
  content: "";
  display: table;
  clear: both;
}

.col {
  float: left;
}
.col.half {
  width: 48%;
  margin: 0 1%;
}

.block {
  display: block;
}

.sub-nav {
  background: #eee;
  border: 1px solid #ccc;
  border-radius: 10px;
  display: inline-block;
  padding: 8px 15px;
  font-size: 1.25em;
}
.sub-nav.active {
  background: #6db5cf;
  color: #fff;
}

.member-login {
  float: right;
  margin-top: -10px;
}

.btn-login {
  border: none;
  display: inline-block;
  background: #666;
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
}
.btn-login:hover {
  color: #fff;
  background: #0FA1E0;
}

.foot-info dt {
  font-weight: bold;
  font-size: 18px;
  color: #333;
}
.foot-info dd {
  margin: 0;
}

.overlay, .overlay body {
  height: 100%;
}
.overlay body {
  overflow: hidden;
}

.modal {
  overflow-y: auto;
  z-index: 999;
  -webkit-overflow-scrolling: touch;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: #000;
  background-color: rgba(0, 0, 0, 0.7);
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s 0.2s, opacity 0.2s ease-in-out;
}
@media (max-width: 47.94em) {
  .modal {
    padding-top: 5%;
  }
}
.modal.in {
  visibility: visible;
  opacity: 1;
  transition: opacity 0.2s ease-in-out;
}
.modal-container {
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.15);
  max-width: 540px;
  margin: 70px auto;
  padding: 0 30px 30px 30px;
  font-size: 17px;
}
.modal-container form:last-child {
  margin-bottom: 0;
}
.modal-close {
  background: none;
  border: none;
  font-size: 32px;
  margin-right: 8px;
  position: absolute;
  top: 0;
  right: 0;
  opacity: 0.8;
  transition: 0.35s ease-in;
}
.modal-close:hover, .modal-close:focus {
  opacity: 1;
  cursor: pointer;
}
.modal .modal-footer, .modal .modal-header {
  margin-left: -30px;
  margin-right: -30px;
}
.modal-header {
  background: #AFE6F8;
  font-size: 24px;
  margin-bottom: 30px;
  padding: 10px 40px 10px 20px;
  position: relative;
}
.modal-footer {
  border-top: 1px solid #ddd;
  background: #f1f1f1;
  padding: 15px 0;
  margin-top: 30px;
  margin-bottom: -30px;
  text-align: center;
}
.modal-footer .btn {
  margin: 0 5px;
}

.animate-top {
  position: relative;
  animation: slide-down 0.4s;
}
@-webkit-keyframes slide-down {
  from {
    top: -300px;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}
@-moz-keyframes slide-down {
  from {
    top: -300px;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}
@-ms-keyframes slide-down {
  from {
    top: -300px;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}
@-o-keyframes slide-down {
  from {
    top: -300px;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}
@keyframes slide-down {
  from {
    top: -300px;
    opacity: 0;
  }
  to {
    top: 0;
    opacity: 1;
  }
}

.tabs {
  border-bottom: 1px solid #ddd;
  margin-top: 32px;
  margin-bottom: 16px;
}

.tab-nav {
  display: inline-block;
  margin-right: 5px;
  padding: 5px 15px;
  border: 1px solid #ddd;
  border-bottom-color: #fff;
  border-radius: 5px 5px 0 0;
  font-size: 1.13em;
}
.tab-nav:hover {
  transform: none;
}
.tab-nav.active {
  position: relative;
  bottom: -1px;
}

.tab-content {
  display: none;
}
.tab-content.current {
  display: inherit;
}

.btn-group {
  position: relative;
  top: 50px;
  margin: 0 5% 150px;
  text-align: center;
}
.btn-group .btn {
  margin: 0 24px;
  padding: 15px 30px;
  font-size: 32px;
}

.icon {
  vertical-align: middle;
  width: 50px;
}
.icon.sm {
  width: 20px;
}

.th-sort-toggle {
  color: inherit;
  font-size: 1em;
  font-weight: bold;
  text-align: inherit;
  cursor: pointer;
  position: relative;
  width: 100%;
  transition: color 0.3s;
  padding: 0 10px 0;
}
button.th-sort-toggle {
  display: block;
  border: 0;
  background: none;
}

.th-sort-toggle:hover {
  color: #53A8C7;
}
.th-sort-toggle:focus {
  outline: 0;
}
.th-sort-toggle:before, .th-sort-toggle:after {
  position: absolute;
  right: 0;
  top: 50%;
  border: 4px solid transparent;
}
.th-sort-toggle:before, .th-sort-toggle:after {
  content: "";
  display: block;
}

.th-sort-toggle:before {
  margin-top: -9px;
  border-top-width: 2px;
  border-bottom: 6px solid #53A8C7;
}
.th-sort-toggle:after {
  border-bottom-width: 2px;
  border-top: 6px solid #53A8C7;
}
.th-sort-toggle.asc:before {
  border-bottom-color: rgba(83, 168, 199, 0.8);
}
.th-sort-toggle.asc:after {
  border-top-color: rgba(83, 168, 199, 0.1);
}
.th-sort-toggle.desc:after {
  border-top-color: rgba(83, 168, 199, 0.8);
}
.th-sort-toggle.desc:before {
  border-bottom-color: rgba(83, 168, 199, 0.1);
}

@media (min-width: 50em) {
  .banner {
    float: left;
    width: 65%;
    margin: 10px 0 20px 66px;
  }

  .news-list {
    position: relative;
    right: 12px;
    top: 10px;
  }

  .more-news {
    position: absolute;
    right: 0;
    top: 101%;
  }
}
@media (max-width: 49.9em) {
  .banner {
    margin: 0 5% 10px;
  }
}

@media (min-width: 64.75em) {
  .news-list {
    height: 391px;
  }
}
