﻿@charset "UTF-8";
@import url("https://fonts.googleapis.com/css?family=Noto+Sans+TC:100,300,400,500,700,900&display=swap&subset=chinese-traditional");
html,
body {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  background: url("../images/page-bg.jpg") no-repeat;
  background-position: top center;
  background-size: cover;
  font-size: 16px;  
  font-family: 新細明體,Arial,Helvetica,sans-serif;
  /*font-family: 'Noto Sans TC', 'PingFang TC', 'Heiti TC', 微軟正黑體, 'Microsoft JhengHei', 'Microsoft JhengHei UI', 'Microsoft YaHei', 'Microsoft YaHei UI', 'Apple LiGothic', 'LiHei Pro', 'Noto Sans T Chinese', 'PMingLiU', Arial, sans-serif;*/ 
}

button {
  border: none;
  outline: none; 
}

.main-width {
  width: 1200px;
  margin: 0 auto;
  -webkit-box-sizing: border-box;
  box-sizing: border-box; 
}

.header {
  padding: 0 30px;
  height: 100px;
  background: url("../images/header-bg.png"), #EBEDEF;
  background-repeat: no-repeat, no-repeat;
  background-position: top center; 
  font-family: 'Noto Sans TC', 'PingFang TC', 'Heiti TC', 微軟正黑體, 'Microsoft JhengHei', 'Microsoft JhengHei UI', 'Microsoft YaHei', 'Microsoft YaHei UI', 'Apple LiGothic', 'LiHei Pro', 'Noto Sans T Chinese', 'PMingLiU', Arial, sans-serif;
}

.header .main-width {
  position: relative;
  height: 100px; }

.boe-logo {
  float: left;
  height: 100%;
  line-height: 100px;
  vertical-align: middle; 
}

.boe-logo img {
  vertical-align: middle;
  max-height: 53px; 
  top: calc(50% - 25px);
  position: absolute;
}

.header-login {
  width: 150px;
  float: right; 
}

.login-btn {
  position: absolute;
  padding: 15px 30px;
  right: 25px;
  bottom: 0;
  background: #313131;
  color: white;
  font-size: 18px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  cursor: pointer; 
  text-decoration: none;  
}

.login-btn:hover {
  background: #000; 
}

.login-btn i {
  padding-right: 10px; 
}

nav {
  background-color: #1abc9c; 
  font-family: 'Noto Sans TC', 'PingFang TC', 'Heiti TC', 微軟正黑體, 'Microsoft JhengHei', 'Microsoft JhengHei UI', 'Microsoft YaHei', 'Microsoft YaHei UI', 'Apple LiGothic', 'LiHei Pro', 'Noto Sans T Chinese', 'PMingLiU', Arial, sans-serif;
}

.menu-wrap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 0;
  padding: 0;
  list-style: none;
  /*font-size: 18px;*/ 
  font-size: 16px; 
}

.one-menu {
  position: relative;
  float: left;
  display: block;
  width: 200px;
  background-color: #16a085;
  text-align: center;
  border-right: 1px solid #59bba8;
  -webkit-transition: background-color .5s;
  -o-transition: background-color .5s;
  transition: background-color .5s; 
}

.one-menu:hover {
  background-color: #127360; 
}

.second-menu {
  position: relative;
  float: left;
  display: block;
  width: 200px;
  background-color: #1b7c69;
  text-align: center;
  border-top: 1px solid #59bba8;
  border-right: 1px solid #59bba8;
  -webkit-transition: background-color .5s;
  -o-transition: background-color .5s;
  transition: background-color .5s; 
}

.second-menu:hover {
  background-color: #126454; 
}

.menu-link {
  display: block;
  padding-top: 15px;
  padding-bottom: 15px;
  color: white;
  text-decoration: none; 
}

.dropdown-content {
  width: 100%;
  margin: 0;
  padding: 0;
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  -webkit-box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 2; 
}

.dropdown-content li {
  color: black;
  padding: 10px 15px;
  text-align: left;
  text-decoration: none;
  display: block;
  /*font-size: 16px;*/
  font-size: 14px;
  background: #313131;
  border-bottom: 1px solid #ababab;
  cursor: pointer;
  -webkit-transition: background-color .5s;
  -o-transition: background-color .5s;
  transition: background-color .5s; 
}

.dropdown-content li a {
  color: #1abc9c;
  text-decoration: none; 
}

.dropdown-content li:hover {
  background: #707070; 
}

.dropdown-content li:hover a {
  color: white;
  text-decoration: none; 
}

.one-menu:hover .dropdown-content,
.second-menu:hover .dropdown-content {
  display: block; 
}

.index-sitemap {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 5px 30px 0px 30px;
  background-color: white; 
}

.index-slider {
    margin-bottom: 20px;
}

.index-col {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding:0px 30px 10px 30px;
  background-color: white; 
}

.home-col {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 0 0 20px 0;
  background-color: white; 
}

.left-col,
.right-col {
  width: 500px; 
  font-family: 'Noto Sans TC', 'PingFang TC', 'Heiti TC', 微軟正黑體, 'Microsoft JhengHei', 'Microsoft JhengHei UI', 'Microsoft YaHei', 'Microsoft YaHei UI', 'Apple LiGothic', 'LiHei Pro', 'Noto Sans T Chinese', 'PMingLiU', Arial, sans-serif;
}

.list-ul {
  margin: 0;
  padding: 0;
}

.list-ul li {
  padding: 6px 0;
  line-height: 22px;
  list-style: none;
  border-bottom: 1px solid #dcdcdc; 
}

.list-ul a {
  display: inline-block;
  width: 400px;
  overflow: hidden;
  white-space: nowrap;
  -o-text-overflow: ellipsis;
  text-overflow: ellipsis;
  color: #1abc9c;
  text-decoration: none; 
}

.list-ul a:hover {
  color: #126454;
  text-decoration: underline; 
}

.small-date {
  padding-left: 10px;
  line-height: inherit;
  text-align: right;
  font-size: 14px;
  color: #666; 
}

.h2 {
  padding-bottom: 20px;
  font-size: 24px;
  color: #333;
  font-weight: 500; 
}

.get-more {
  float: right;
  margin-top: 20px;
  margin-bottom: 60px;
  padding: 15px 30px;
  color: white;
  border-radius: 2px;
  background-color: #4c4c4c;
  text-decoration: none;
  -webkit-transition: all .5s;
  -o-transition: all .5s;
  transition: all .5s; 
}

.get-more:hover {
  background-color: #383838;
  -webkit-box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
}

.get-more i {
  padding-left: 10px;
}

footer {
  position: relative;
  padding: 20px;
  background-color: #16a085;
  color: white;
  text-align: center; 
  font-family: 'Noto Sans TC', 'PingFang TC', 'Heiti TC', 微軟正黑體, 'Microsoft JhengHei', 'Microsoft JhengHei UI', 'Microsoft YaHei', 'Microsoft YaHei UI', 'Apple LiGothic', 'LiHei Pro', 'Noto Sans T Chinese', 'PMingLiU', Arial, sans-serif;
}

footer::before {
  position: absolute;
  top: -10px;
  left: 50%;
  content: "";
  border-right: 10px solid transparent;
  border-left: 10px solid transparent;
  border-bottom: 10px solid #16a085;
  display: inline-block; 
}

.login-modal {
  display: none;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
  -webkit-animation-name: fadeIn;
  animation-name: fadeIn;
  -webkit-animation-duration: 0.5s;
  animation-duration: 0.5s; 
  font-family: 'Noto Sans TC', 'PingFang TC', 'Heiti TC', 微軟正黑體, 'Microsoft JhengHei', 'Microsoft JhengHei UI', 'Microsoft YaHei', 'Microsoft YaHei UI', 'Apple LiGothic', 'LiHei Pro', 'Noto Sans T Chinese', 'PMingLiU', Arial, sans-serif;
}

.modal-content {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  width: 600px;
  height: 400px;
  padding-top: 50px;
  background: url('../images/login-bg.jpg') no-repeat;
  text-align: center;
  border-radius: 2px;
  -webkit-box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2); 
}

@-webkit-keyframes fadeIn {
  from {
    opacity: 0; 
  }
  to {
    opacity: 1; 
  } 
}

@keyframes fadeIn {
  from {
    opacity: 0; 
  }
  to {
    opacity: 1; 
  } 
}

.modal-title {
  color: #1abc9c;
  font-size: 30px;
  font-weight: 500;
  text-align: center; 
}

.modal-title .close {
    padding: 1rem 1rem;
    margin: -3rem auto;
    float: right;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .2;
}

.modal-form {
  margin: 0 auto;
  width: 250px;
  padding-top: 30px; 

}

.modal-input1 {
  display: block;
  margin-top: 10px;
  margin-right: auto;
  margin-left: auto;
  width: 100%;
  padding: 10px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  border: 1px solid #bfbfbf;
  border-radius: 2px; 

}

.form-inline {
  margin-top: 10px;
  margin-right: auto;
  margin-left: auto;
  overflow: hidden; 
}

.form-img {
  float: left;
  width: 100px;
  line-height: 40px; 
}

.form-img img {
  vertical-align: middle; 
  padding-top: 8px;
}

.modal-input2 {
  float: right;
  width: 120px;
  padding: 10px;
  border: 1px solid #bfbfbf;
  border-radius: 2px; 
}

::-webkit-input-placeholder {
  color: #ccc;
  opacity: 1; 
}

:-ms-input-placeholder {
  color: #ccc;
  opacity: 1; 
}

::-ms-input-placeholder {
  color: #ccc;
  opacity: 1; 
}

::placeholder {
  color: #ccc;
  opacity: 1; 
}

.login-modal-btn {
  width: 100%;
  margin-top: 20px;
  padding: 15px 0;
  display: block;
  background-color: #1abc9c;
  color: white;
  border-radius: 2px;
  -webkit-transition: all .5s;
  -o-transition: all .5s;
  transition: all .5s; 
  text-decoration: none;
}

.login-modal-btn:hover {
  background-color: #1b7c69;
  -webkit-box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2);
  box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.2); 
}

.form-link {
  margin-top: 20px;  
}

    .form-link span {
      float: left;
      color: #FF0000;
    }

    .form-link a {
        float: right;
        color: #878787;
        text-decoration: none;
    }

    .form-link a:hover {
      text-decoration: underline; 
    }

    .form-link i {
      padding-right: 5px; 
    }
