.container, .dt_nav .sub_nav {
  zoom: 1; }
  .container:before, .dt_nav .sub_nav:before, .container:after, .dt_nav .sub_nav:after {
    content: '';
    display: block; }
  .container:after, .dt_nav .sub_nav:after {
    clear: both; }

* {
  position: relative;
  box-sizing: border-box; }

body {
  font-family: Catamaran, Microsoft JhengHei;
  font-size: 16px;
  line-height: 1.5;
  color: #757575; }
  body.block {
    height: 100%;
    overflow: hidden; }

/*
main {
  background-image: url("../img/repeat.png");
}
*/

section {
  padding: 80px 0; }

img {
  width: 100%;
  margin: 0 auto;
  display: block; }

a {
  text-decoration: none;
  color: #757575; }
  a:hover, a:active {
    color: red; }

h1 {
  font-size: 34px;
  letter-spacing: 3.5px;
  color: #228896;
  margin: 0.7em 0; }

h4 {
  font-size: 24px;
  letter-spacing: 3px;
  color: #f5f5f5;
  line-height: 32px;
  font-weight: normal; }

h5 {
  font-size: 20px;
  letter-spacing: 2.2px;
  color: #228896;
  line-height: 32px; }

header p, header span, header a,
footer p {
  letter-spacing: 2px;
  line-height: 30px; }

.container {
  max-width: 1140px;
  margin: 0 auto; }

.btn {
  border: solid 1px #283739;
  display: inline-block; }
  .btn p {
    color: #283739;
    padding: 7px 35px 3px;
    font-weight: bold;
    transition: all 0.4s ease;
    z-index: 1;
    letter-spacing: 2px;
    line-height: 30px; }
  .btn:after {
    content: "";
    width: 30px;
    height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    -webkit-transform: translateX(-50%) translateY(-50%);
    -ms-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    opacity: 0;
    background-color: #283739;
    transition: all 0.4s ease;
    z-index: 0; }
  .btn:hover p {
    color: #f5f5f5;
    font-weight: normal; }
  .btn:hover:after {
    width: 100%;
    opacity: 1; }

#logo {
  display: block;
  max-width: 230px;
  position: absolute;
  z-index: 102;
  top: -6px; }

.btn_mobile, .bg, .mobile_nav {
  display: none; }

nav.dt_nav {
  background-color: rgba(40, 55, 57, 0.5);
  text-align: center;
  z-index: 99;
  position: absolute;
  width: 100%;
  height: 80px; }
  nav.dt_nav > ul > li {
    display: inline-block; }
    nav.dt_nav > ul > li > a {
      display: block;
      font-size: 20px;
      letter-spacing: 1.5px;
      color: #f5f5f5;
      padding: 13px 25px 7px;
      line-height: 60px; }
      nav.dt_nav > ul > li > a:after {
        content: "";
        width: 2px;
        height: 55%;
        background-color: #f5f5f5;
        position: absolute;
        top: 22%;
        right: -5px; }
    nav.dt_nav > ul > li:last-child a:after {
      display: none; }
    nav.dt_nav > ul > li:hover > a {
      color: #a9c52f; }

.dt_nav .sub_nav {
  display: none;
  position: absolute;
  top: 60px;
  left: 0px;
  -webkit-transform: translateX(-27%);
  -ms-transform: translateX(-27%);
  transform: translateX(-27%);
  min-width: 684px;
  background-color: rgba(240, 240, 240, 0.97);
  padding: 10px; }
  .dt_nav .sub_nav > li {
    width: 50%;
    float: left;
    padding: 10px; }
    .dt_nav .sub_nav > li a {
      display: inline-block; }
      .dt_nav .sub_nav > li a:hover {
        color: #283739;
        text-decoration: underline; }
  .dt_nav .sub_nav.sub_type2 {
    -webkit-transform: translateX(-28%);
    -ms-transform: translateX(-28%);
    transform: translateX(-28%);
    min-width: 342px;
    height: auto; }
    .dt_nav .sub_nav.sub_type2 > li {
      width: 100%;
      float: none; }

footer {
  color: #f5f5f5;
  background-color: #4c4c4c;
  text-align: center;
  padding: 30px 0 15px; }
  footer a {
    color: #f5f5f5; }
  footer .info {
    font-size: 0; }
    footer .info p, footer .info a {
      font-size: 16px; }
    footer .info p {
      display: inline-block;
      width: 50%;
      padding-left: 20px;
      padding-right: 20px; }
      footer .info p:nth-child(2n) {
        text-align: left; }
      footer .info p:nth-child(2n+1) {
        text-align: right; }
    footer .info:after {
      content: "";
      display: block;
      width: 1px;
      height: 70%;
      position: absolute;
      top: 16%;
      left: 50%;
      background-color: #f5f5f5; }
  footer .right {
    text-align: left; }
  footer a {
    padding: 0 5px;
    display: inline-block; }
    footer a:hover {
      color: gold;
      text-decoration: underline; }
  footer small {
    font-size: 10px;
    letter-spacing: 1px;
    line-height: 15px; }
  footer .btn_top {
    width: 50px;
    height: 50px;
    border-radius: 100%;
    border: solid 2px #228896;
    background-color: #228896;
    cursor: pointer;
    position: absolute;
    top: 0;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    transition: all 0.4s ease; }
    footer .btn_top small {
      top: 12px;
      transition: all 0.4s ease; }
    footer .btn_top:hover {
      background-color: #f5f5f5;
      border-color: #a9c52f; }
      footer .btn_top:hover small {
        color: #283739;
        font-weight: bold; }
  footer p {
    padding: 3px 0; }
  footer .rights {
    margin-top: 10px;
    display: block; }
  #fixed_contact {
    position: fixed;
    right: 0;
    bottom: 10%;
    background-color: #228896;
    border-radius: 5px;
    padding: 8px;
    z-index: 85;
    transition: all 0.4s ease;
    height: 120px;
    line-height: 10px; }
    #fixed_contact i {
      color: #f5f5f5;
      font-size: 13px;
      width: 13px; }
    #fixed_contact p {
      -webkit-writing-mode: vertical-lr;
      -ms-writing-mode: tb-lr;
      writing-mode: vertical-lr;
      color: #f5f5f5;
      line-height: 10px;
      padding-top: 10px; }
    #fixed_contact:hover {
      background-color: #a9c52f; }
      #fixed_contact:hover i {
        color: #283739; }
      #fixed_contact:hover p {
        color: #283739;
        font-weight: bold; }

@media (max-width: 1024px) {
  .container {
    max-width: 960px; }
  .banner {
    overflow-x: hidden; }
}

@media (max-width: 768px) {
  h3 {
    font-size: 26px;
    letter-spacing: 3px;
    color: #228896;
    line-height: 32px; }
  h4 {
    font-size: 20px;
    letter-spacing: 2.2px;
    color: #f5f5f5;
    line-height: 32px; }
  h5 {
    font-size: 16px;
    letter-spacing: 2px;
    color: #757575;
    line-height: 30px; }
  p, span, a {
    font-size: 13px;
    letter-spacing: 2px;
    line-height: 20px; }
  .container {
    max-width: 720px; }
  section {
    padding: 50px 0; }
  header {
    background: rgba(40, 55, 57, 0.5); }
  .banner {
    overflow-x: hidden; }
  #logo {
    max-width: 270px;
    margin: 0 auto;
    position: relative;
    top: 0;
    max-height: 60px; }
  #logo img {
    width: auto;
    max-height: 60px;
    max-width: 100%; }
  .dt_nav {
    display: none; }
  .btn_mobile {
    display: block;
    position: absolute;
    top: 17px;
    right: 13px;
    z-index: 103;
    width: 35px;
    height: 25px;
    cursor: pointer; }
    .btn_mobile span {
      width: 35px;
      height: 3px;
      background-color: #eee;
      display: block; }
      .btn_mobile span:nth-child(1) {
        top: 0px; }
      .btn_mobile span:nth-child(2) {
        top: 7px; }
      .btn_mobile span:nth-child(3) {
        top: 14px; }
  .mobile_nav {
    display: block;
    position: fixed;
    top: 0;
    left: -65%;
    width: 65%;
    height: 100%;
    z-index: 104;
    padding: 20px;
    background-color: #f5f5f5;
    transition: all 0.4s ease; }
    .mobile_nav > ul {
      position: absolute;
      top: 50%;
      left: 50%;
      -webkit-transform: translateX(-50%) translateY(-50%);
      -ms-transform: translateX(-50%) translateY(-50%);
      transform: translateX(-50%) translateY(-50%);
      white-space: nowrap; }
      .mobile_nav > ul > li > a {
        font-size: 30px;
        letter-spacing: 2.2px;
        color: #283739;
        line-height: 50px;
        font-weight: bold; }
    .mobile_nav .mobile_sub_nav {
      display: none;
      padding: 5px 0;
      border-top: solid 1px #283739;
      border-bottom: solid 1px #283739;
      margin-left: 20px; }
      .mobile_nav .mobile_sub_nav a {
        font-size: 22px;
        letter-spacing: 2px;
        color: #757575;
        line-height: 40px; }
    .mobile_nav .mobile_sub {
      padding: 5px 0 5px 20px;
      font-weight: normal;
      font-size: 24px;
      line-height: 38px; }
      .mobile_nav .mobile_sub.active {
        color: #228896;
        font-weight: bold; }
    .mobile_nav.active {
      left: 0; }
  .close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    z-index: 99;
    cursor: pointer;
    background-color: #a9c52f; }
    .close span {
      width: 40px;
      height: 3px;
      background-color: #f5f5f5;
      display: block; }
      .close span:nth-child(1) {
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
        transform: rotate(45deg);
        top: 20px; }
      .close span:nth-child(2) {
        -webkit-transform: rotate(-45deg);
        -ms-transform: rotate(-45deg);
        transform: rotate(-45deg);
        top: 17px; }
  .bg {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 89; }
    .bg.active {
      display: block; }
  footer .info p, footer .info a {
    font-size: 13px; }
  footer .info p {
    width: 100%;
    padding-left: 0px;
    padding-right: 0px; }
    footer .info p:nth-child(2n) {
      text-align: center; }
    footer .info p:nth-child(2n+1) {
      text-align: center; }
  footer .info:after {
    display: none; } }

@media (max-width: 480px) {
  .container {
    max-width: 98%; }
  img.photo_tri {
    width: 48%;
    margin: 2% 1%;
    display: inline-block; }
  #logo {
    max-width: 210px; }
  .mobile_nav > ul > li > a {
    font-size: 22px;
    line-height: 35px; }
  .mobile_nav .mobile_sub_nav a {
    font-size: 16px;
    line-height: 30px; }
  .mobile_nav .mobile_sub {
    font-size: 20px;
    line-height: 25px; }
  .close {
    width: 30px;
    height: 30px; }
    .close span {
      width: 30px; }
      .close span:nth-child(1) {
        top: 14px; }
      .close span:nth-child(2) {
        top: 11px; } }
