﻿@charset "UTF-8";
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block;
}

body {
  line-height: 1;
}

ol, ul {
  list-style: none;
}

a {
  text-decoration: none;
}

blockquote, q {
  quotes: none;
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

html, body {
  font-family: 'Times New Roman','微軟正黑體', 'Microsoft JhengHei', 'Arial';
  font-size: 16px;
  width: 100%;
  height: auto;
  box-sizing: border-box;
  background: #FEFEFE;
  overflow-x: hidden;
}

.hide {
  display: none;
}

.position-fixed {
  position: fixed;
}

header {
  font-family: 'Times New Roman','微軟正黑體', 'Microsoft JhengHei', 'Arial';
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  border-top-color: #0A63AE;
  border-top-style: solid;
  border-top-width: 8px;
  background: rgba(255, 255, 255, 0.85);
}

@media screen and (max-width: 780px) {
  header {
    border-top-width: 6px;
    position: relative;
  }
}

header .d-header {
  width: 100%;
  max-width: 1024px;
  margin: 0 auto;
  display: table;
}

@media screen and (max-width: 780px) {
  header .d-header {
    display: none;
    min-width: 100%;
  }
}

header .d-header a.d-logo {
  display: inline-block;
}

header .d-header figure {
  display: table-cell;
  width: 27%;
  margin: 0;
  padding: 13px 2vw;
  transition-duration: .333s;
  -webkit-transition: ease-out 0.6s;
  -moz-transition: ease-out 0.6s;
  transition: ease-out 0.6s;
}

header .d-header figure img {
  width: 230px;
  height: 64px;
  -webkit-transition: ease-out 0.6s;
  -moz-transition: ease-out 0.6s;
  transition: ease-out 0.6s;
}

header .d-header nav {
  display: table-cell;
  vertical-align: middle;
}

header .d-header nav .lang {
  padding: 0 50px 0 0;
  text-align: right;
}

header .d-header nav .lang a {
  color: #1D1D1D;
  font-size: 0.85rem;
}

header .d-header nav .lang a:hover {
  font-weight: bold;
}

header .d-header nav .lang a.active {
  font-weight: bold;
}

header .d-header nav ul {
  display: flex;
  padding: 0 40px 0 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}

header .d-header nav li {
  flex: 0 0 auto;
}

header .d-header nav li a {
  color: #1D1D1D;
  display: block;
  padding: 10px;
}

header .d-header nav li a:hover {
  font-weight: bold;
}

header .d-header nav li a.active {
  font-weight: bold;
}

header .d-header-smaller figure {
  padding: 8px 2vw;
  transition-duration: .333s;
  -webkit-transition: ease-out 0.6s;
  -moz-transition: ease-out 0.6s;
  transition: ease-out 0.6s;
}

header .d-header-smaller figure img {
  zoom: 75%;
  -webkit-transition: ease-out 0.6s;
  -moz-transition: ease-out 0.6s;
  transition: ease-out 0.6s;
}

header .m-header {
  display: none;
}

@media screen and (max-width: 780px) {
  header .m-header {
    width: 100%;
    display: flex;
    justify-content: flex-start;
  }
  header .m-header a.m-logo {
    display: inline-block;
  }
  header .m-header figure {
    margin: 0;
    padding: 9px 2vw;
    transition-duration: .333s;
    -webkit-transition: ease-out 0.6s;
    -moz-transition: ease-out 0.6s;
    transition: ease-out 0.6s;
  }
  header .m-header figure img {
    width: 194px;
    height: 54px;
    -webkit-transition: ease-out 0.6s;
    -moz-transition: ease-out 0.6s;
    transition: ease-out 0.6s;
  }
  header .m-header .menu-toggle {
    display: flex;
    flex: 0 1 auto;
    align-items: center;
    justify-content: flex-end;
    width: 100%;
    /*padding-right: 30px;*/
  }
  header .m-header .menu-toggle .lang {
    padding: 0 6px 0 0;
    text-align: right;
  }
  header .m-header .menu-toggle .lang a {
    color: #1D1D1D;
    font-size: 0.85rem;
  }
  header .m-header .menu-toggle .lang a:hover {
    font-weight: bold;
  }
  header .m-header .menu-toggle .lang a.active {
    font-weight: bold;
  }
}

@media screen and (max-width: 780px) and (max-width: 780px) {
  header .m-header .menu-toggle {
    padding-right: 5px;
    /*i {
                        width: 1.6rem;
                        color: $rgbaGreenBlue;
                        cursor: pointer;
                    }*/
  }
  header .m-header .menu-toggle img {
    width: 1.6rem;
    color: rgba(3, 88, 130, 0.75);
    cursor: pointer;
  }
}

header .m-header-smaller figure {
  padding: 8px 2vw;
  transition-duration: .333s;
  -webkit-transition: ease-out 0.6s;
  -moz-transition: ease-out 0.6s;
  transition: ease-out 0.6s;
}

header .m-header-smaller figure img {
  zoom: 90%;
  -webkit-transition: ease-out 0.6s;
  -moz-transition: ease-out 0.6s;
  transition: ease-out 0.6s;
}

header .m-nav {
  display: none;
  z-index: 99;
  width: 100%;
}

header .m-nav nav ul {
  display: flex;
  align-items: center;
  flex-direction: column;
}

header .m-nav nav li {
  flex: 0 0 auto;
  width: 100%;
  text-align: center;
}

header .m-nav nav li a {
  color: #1D1D1D;
  display: inline-block;
  padding: 1rem 0;
  width: 100%;
}

header .m-nav nav li a:hover {
  font-weight: bold;
}

header .m-nav nav li a.active {
  font-weight: bold;
}

main {
  font-family: 'Times New Roman','微軟正黑體', 'Microsoft JhengHei', 'Arial';
  display: block;
  max-width: 1024px;
  margin: 0 auto;
}

@media screen and (max-width: 780px) {
  main {
    width: 100%;
  }
}

main img {
  padding: 0;
  display: block;
  margin: 0 auto;
  max-height: 100%;
  max-width: 100%;
}

.banner {
  font-family: Century;
  position: relative;
  color: #035882;
  width: 100%;
}

.banner img {
  width: 100%;
}

@media screen and (max-width: 780px) {
  .banner {
    text-align: center;
  }
}

.banner .title {
  font-family: 'Times New Roman','微軟正黑體', 'Microsoft JhengHei', 'Arial';
  position: absolute;
  /*top: 62%;
        left: 16%;*/
  top: 72%;
  left: 14%;
  font-size: 32px;
  line-height: 1rem;
  display: inline-block;
  width: 100%;
  box-sizing: border-box;
}

@media screen and (max-width: 780px) {
  .banner .title {
    font-family: 'Times New Roman','微軟正黑體', 'Microsoft JhengHei', 'Arial';
    top: 52%;
    left: 16%;
    font-size: 30px;
    text-align: left;
    line-height: 1rem;
  }
}

.banner .subtitle {
  position: absolute;
  /*top: 68%;
        left: 16%;*/
  top: 78%;
  left: 14%;
  font-size: 24px;
  line-height: 1rem;
  line-height: 33px;
}

@media screen and (max-width: 780px) {
  .banner .subtitle {
    top: 65%;
    left: 16%;
    font-size: 24px;
  }
}

.banner .banner-link {
  position: absolute;
  top: 69%;
  left: 56%;
  padding: 10px 0;
}

@media screen and (max-width: 780px) {
  .banner .banner-link {
    top: 35%;
    left: 0;
    width: 100%;
  }
}

.banner .banner-slogan {
  font-family: 'Times New Roman','微軟正黑體', 'Microsoft JhengHei', 'Arial';
  position: absolute;
  top: 62%;
  left: 56%;
  font-size: 26px;
}

@media screen and (max-width: 780px) {
  /*Mae修改*/
  .banner .banner-slogan {
    top: 66%;
    left: 46%;   
    font-size: 20px;
  }
}

.banner .system-wrap {
  position: absolute;
  right: 0;
  bottom: 3rem;
  /*width: 65%;*/
  width: 67%;
  padding: 0 3rem 3rem 0;
  box-sizing: border-box;
}

@media screen and (max-width: 780px) {
  .banner .system-wrap {
    display: none;
  }
}

.banner .system-wrap .login-note {
  font-family: 'Times New Roman','微軟正黑體', 'Microsoft JhengHei', 'Arial';
  display: table-cell;
  vertical-align: bottom;
  line-height: 24px;
  color: #FFFFFF;
}

.banner .system-wrap .login-note p {
  padding: 0.5rem 0;
}

.banner .system-wrap .login {
  display: table-cell;
  width: 40%;
  text-align: right;
  position: relative;
}

.banner .system-wrap .login .col-inline {
  width: 100%;
  display: inline-flex;
}

.banner .system-wrap .login i {
  color: #FFFFFF;
  font-weight: bold;
  text-align: right;
  padding: 1rem 1rem 0 0;
  cursor: pointer;
  position: absolute;
  right: -3rem;
}

.m-system-wrap {
  font-family: 'Times New Roman','微軟正黑體', 'Microsoft JhengHei', 'Arial';
  display: none;
}

@media screen and (max-width: 780px) {
  .m-system-wrap {
    display: block;
    padding: 1rem;
  }
  .m-system-wrap .login-note {
    padding: 1rem 0;
    color: #484848;
  }
  .m-system-wrap .login-note p {
    padding: 0.5rem 0;
  }
}

section {
  font-family: 'Times New Roman','微軟正黑體', 'Microsoft JhengHei', 'Arial';
  padding: 30px 0;
}

section#tech {
  padding-top: 0;
}

@media screen and (max-width: 780px) {
  section .service-wrap {
    display: none;
  }
}

section .service-wrap ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}

section .service-wrap li {
  text-align: center;
  padding: 15px;
}

section .service-wrap li .box-stack-wrap {
  display: none;
}

section .service-wrap li .box-wrap {
  position: relative;
  box-sizing: border-box;
  color: #FFFFFF;
  font-size: 16px;
  font-weight: bold;
}

section .service-wrap li .box-wrap .box-content {
  box-sizing: border-box;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 1;
  background: rgba(3, 88, 130, 0.75);
  padding: 23px 16px;
}

section .service-wrap li .box-wrap .box-overlay {
  box-sizing: border-box;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  background: rgba(255, 129, 16, 0.8);
  z-index: 2;
  overflow: hidden;
  width: 100%;
  height: 0;
  text-align: center;
  -moz-transition: all 0.3s ease-in-out;
  -webkit-transition: all 0.3s ease-in-out;
  -o-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}


section .service-wrap li .box-wrap .box-overlay .caption {
  position: absolute;
  top: 3rem;
  padding: 0 26px;
  line-height: 24px;
  text-align: justify;
}

section .service-wrap li .box-wrap:hover .box-overlay {
  height: 100%;
}

section .service-wrap li .box-wrap:hover .box-content {
  display: none;
}

section .service-wrap li .no-overlay:hover .box-content {
  display: block;
}

section .m-service-wrap {
  display: none;
}

@media screen and (max-width: 780px) {
  section .m-service-wrap {
    display: block;
  }
  section .m-service-wrap ul {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: flex-start;
    align-items: stretch;
  }
  section .m-service-wrap li {
    padding: 1rem;
    width: 48%;
    box-sizing: border-box;
  }
}

@media screen and (max-width: 780px) and (max-width: 780px) {
  section .m-service-wrap li {
    width: 100%;
    padding: 0;
  }
}

@media screen and (max-width: 780px) {
  section .m-service-wrap li .box-wrap {
    width: 100%;
    overflow: hidden;
    text-align: left;
    background: #F1F1F1;
  }
  section .m-service-wrap li .box-wrap img {
    float: left;
    width: 40%;
  }
  section .m-service-wrap li .box-wrap p {
    box-sizing: border-box;
    /*padding: 1rem;*/
    padding: 3rem 1rem;
    color: #035882;
    font-size: 16px;
    line-height: 24px;
    overflow: hidden;
  }
  section .m-service-wrap .box-wrap-table {
    width: 100%;
  }
  section .m-service-wrap .box-wrap-table table {
    width: 90%;
    margin: 0 auto;
    margin-bottom: 1.5rem;
  }
  section .m-service-wrap .box-wrap-table table td {
    background-color: #F2F2F2;
  }
  section .m-service-wrap .box-wrap-table table td img {
    display: block;
    width: 100%;
  }
  section .m-service-wrap .box-wrap-table table td.right-title {
    width: 60%;
    vertical-align: middle;
    padding: 0 1rem;
    font-size: 1.2rem;
    line-height: 1.5rem;
    color: #035882;
  }
}

@media screen and (max-width: 780px) and (max-width: 420px) {
  section .m-service-wrap .box-wrap-table table td.right-title {
    font-size: 1.05rem;
  }
}

@media screen and (max-width: 780px) {
  section .m-service-wrap .box-wrap-table table td.bottom-content {
    width: 100%;
    background-color: #FF8110;
    color: #FFFFFF;
    padding: 1rem;
    font-size: 1rem;
    line-height: 1.3rem;
  }
}

@media screen and (max-width: 780px) and (max-width: 420px) {
  section .m-service-wrap .box-wrap-table table td.bottom-content {
    font-size: 0.8rem;
  }
}

section .intro-wrap {
  display: flex;
  flex-wrap: wrap;
  padding: 10px 20px;
}

section .intro-wrap .intro-content {
  flex-basis: 60%;
  color: #1E1E1E;
  font-size: 18px;
  line-height: 30px;
  padding: 20px;
  margin: 0 10px;
  box-sizing: border-box;
  /*Mae修改*/
  text-align: justify;
}

@media screen and (max-width: 780px) {
  section .intro-wrap .intro-content {
    flex-direction: column;
    flex-basis: 100%;
    /*Mae修改*/
    text-align: justify;
  }
}

section .intro-wrap .intro-highlight {
  /*Mae修改*/
  padding: 10px;
  box-sizing: border-box;
  width: 35%;
}

@media screen and (max-width: 780px) {
  section .intro-wrap .intro-highlight {
    flex-direction: column;
    flex-basis: 100%;
  }
}

section .intro-wrap .intro-highlight li {
  margin: 10px 0;
  padding: 9px 15px;
  vertical-align: middle;
  border: 1px solid rgba(173, 173, 173, 0.75);
  border-radius: 26px;
}

section .intro-wrap .intro-highlight li .highlight-title {
  display: table-cell;
  vertical-align: middle;
  font-size: 32px;
  color: #FF8110;
  padding-left: 10px;
}

section .intro-wrap .intro-highlight li .highlight-content {
  display: table-cell;
  vertical-align: middle;
  font-size: 16px;
  color: #035882;
  padding-left: 10px;
}

section .intro-philosophy {
  padding: 0 2rem;
  box-sizing: border-box;
}

section .intro-philosophy li {
  width: 100%;
  display: flex;
  flex-direction: row;
  padding: 2rem 0;
  font-size: 20px;
  border-bottom: solid 1px #D8D8D8;
}

@media screen and (max-width: 780px) {
  section .intro-philosophy li {
    flex-direction: column;
    align-items: center;
  }
}

section .intro-philosophy li li:last-child {
  border-bottom: none;
}

section .intro-philosophy li .philosophy-title {
  width: 15%;
  color: #484848;
  padding: 0 1rem;
}

@media screen and (max-width: 780px) {
  section .intro-philosophy li .philosophy-title {
    padding: 1rem;
    width: 100%;
    text-align: center;
  }
}

section .intro-philosophy li .philosophy-content {
  color: #035882;
  font-weight: bold;
  padding: 0 1rem;
  line-height: 1.5rem;
}

section .tech-wrap {
  position: relative;
}

section .tech-wrap .tech-content {
  position: absolute;
  width: 55%;
  top: 20%;
  left: 0;
}

section .tech-wrap .tech-content h2 {
  text-align: center;
  font-size: 1.4rem;
  font-weight: bold;
  color: #FFFFFF;
  padding: 0 0 10% 0;
}

section .tech-wrap .tech-content img {
  /*width: 90%;*/
  width: 75%;
  text-align: center;
}

@media screen and (max-width: 780px) {
  section .tech-wrap .tech-content {
    position: absolute;
    width: 100%;
    top: 25%;
    left: 0;
    margin: 0 auto;
  }
  section .tech-wrap .tech-content h2 img {
    width: 100%;
    padding: 0 2vw;
  }
}

section .spirit-wrap {
  display: block;
  /*li .box-wrap p {
            padding: 1rem;
        }*/
}

section .spirit-wrap ul {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  justify-content: flex-start;
  align-items: stretch;
}

section .spirit-wrap li {
  padding: 1rem;
  width: 48%;
  box-sizing: border-box;
}

@media screen and (max-width: 780px) {
  section .spirit-wrap li {
    width: 100%;
    padding: 0;
  }
}

section .spirit-wrap li .box-wrap {
  width: 100%;
  overflow: hidden;
  text-align: left;
  background: #F1F1F1;
}

section .spirit-wrap li .box-wrap img {
  float: left;
  width: 40%;
}

section .spirit-wrap li .box-wrap p {
  box-sizing: border-box;
  /*padding: 1rem;*/
  padding: 3rem 1rem;
  color: #035882;
  font-size: 16px;
  line-height: 24px;
  overflow: hidden;
}

section .spirit-wrap .box-wrap-table {
  width: 100%;
}

section .spirit-wrap .box-wrap-table table {
  width: 100%;
  margin: 0 auto;
  margin-bottom: 1.5rem;
}

section .spirit-wrap .box-wrap-table table td {
  background-color: #F2F2F2;
}

section .spirit-wrap .box-wrap-table table td img {
  display: block;
  width: 100%;
}

section .spirit-wrap .box-wrap-table table td.right-title {
  width: 60%;
  vertical-align: middle;
  padding: 0 1rem;
  font-size: 1rem;
  line-height: 1.5rem;
  color: #035882;
}

@media screen and (max-width: 420px) {
  section .spirit-wrap .box-wrap-table table td.right-title {
    font-size: 0.85rem;
  }
}

section .spirit-wrap .box-wrap-table table td.bottom-content {
  width: 100%;
  background-color: #FF8110;
  color: #FFFFFF;
  padding: 1rem;
  font-size: 1rem;
  line-height: 1.3rem;
}

@media screen and (max-width: 420px) {
  section .spirit-wrap .box-wrap-table table td.bottom-content {
    font-size: 0.8rem;
  }
}

@media screen and (max-width: 780px) {
  section .spirit-wrap {
    display: none;
  }
}

section .contact-wrap {
  display: flex;
  flex-direction: row;
}

@media screen and (max-width: 780px) {
  section .contact-wrap {
    display: block;
    width: 94%;
    padding: 1rem;
  }
}

section .contact-wrap h2 {
  color: #484848;
  font-size: 18px;
  font-weight: bold;
  padding: 2rem 0;
  text-align: left;
}

section .contact-wrap .map {
  display: block;
  width: 50%;
  padding: 1.2rem;
  box-sizing: border-box;
}

@media screen and (max-width: 780px) {
  section .contact-wrap .map {
    width: 100%;
  }
}

section .contact-wrap .contactus {
  display: inline-block;
  text-align: center;
  width: 50%;
  padding: 1.2rem;
  box-sizing: border-box;
}

    section .contact-wrap .contactus a {
        width: 90%;
    }

    /* 2019/05/25 Add form bottom message */
    section .contact-wrap .contactus table {
        width: 110%;
    }

        section .contact-wrap .contactus table tr td {
            vertical-align: middle;
        }

    section .contact-wrap .contactus .form-msg {
        color: #1d1d1d;
        padding: 1rem 0 0 0.5rem;
        text-align: left;
    }

@media screen and (max-width: 780px) {
    section .contact-wrap .contactus a {
        width: 93%;
    }

    section .contact-wrap .contactus {
        width: 100%;
    }

    section .contact-wrap img {
        display: none;
    }

    section .contact-wrap .form-msg {
        display: block;
    }
}


footer {
  font-family: 'Times New Roman','微軟正黑體', 'Microsoft JhengHei', 'Arial';
  border-bottom-color: #FF8110;
  border-bottom-style: solid;
  border-bottom-width: 8px;
  text-align: center;
  background: #F7F7F7;
}

footer .gotop {
  text-align: center;
  padding: 20px 0;
  background: #FEFEFE;
}

footer .gotop img {
  cursor: pointer;
}

footer .foot-wrap {
  max-width: 1024px;
  width: 100%;
  margin: 0 auto;
  padding: 25px 10px 10px 40px;
  box-sizing: border-box;
}

footer .foot-wrap .info {
  width: 50%;
  float: left;
  color: #1D1D1D;
  text-align: left;
}

@media screen and (max-width: 780px) {
  footer .foot-wrap .info {
    width: 100%;
    padding-bottom: 20px;
  }
}

footer .foot-wrap .info h4 {
  font-size: 18px;
  font-weight: bold;
  padding-bottom: 15px;
}

footer .foot-wrap .info p {
  font-size: 15px;
  line-height: 24px;
}

@media screen and (max-width: 780px) {
  footer .foot-wrap .foot-menu {
    display: none;
  }
}

footer .foot-wrap .foot-menu ul {
  width: 50%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

footer .foot-wrap .foot-menu li {
  flex: 1 0 auto;
  border-right: solid 1px #1D1D1D;
  padding: 0 1rem;
  margin: 0.3rem 0;
}

footer .foot-wrap .foot-menu li:last-child {
  border-right: none;
}

footer .foot-wrap .foot-menu li a {
  color: #484848;
}

footer .foot-wrap .foot-menu li a:hover {
  color: #1D1D1D;
}

footer .foot-wrap:after {
  content: "";
  display: block;
  clear: both;
}

footer .copyright {
  display: block;
  max-width: 1024px;
  margin: 0 auto;
  text-align: right;
  padding-right: 40px;
  padding-bottom: 60px;
  box-sizing: border-box;
}

@media screen and (max-width: 780px) {
  footer .copyright {
    display: none;
  }
}

/* Chrome/Opera/Safari */
::-webkit-input-placeholder {
  color: rgba(173, 173, 173, 0.75);
  font-size: 16px;
}

/* Firefox 19+ */
::-moz-placeholder {
  color: rgba(173, 173, 173, 0.75);
  font-size: 16px;
}

/* IE 10+ */
:-ms-input-placeholder {
  color: rgba(173, 173, 173, 0.75);
  font-size: 16px;
}

/* Firefox 18- */
:-moz-placeholder {
  color: rgba(173, 173, 173, 0.75);
  font-size: 16px;
}

input[type=submit] {
  font-family: 'Times New Roman','微軟正黑體', 'Microsoft JhengHei', 'Arial';
  color: #FFFFFF;
  display: inline-block;
  width: 6rem;
  padding: 10px 20px;
  background: #FF8110;
  border-radius: 4px;
  text-align: center;
  vertical-align: middle;
  font-size: 18px;
  border: none;
  width: 100%;
  box-sizing: border-box;
  margin-top: 0.5rem;
  cursor: pointer;
}

a.btn {
  font-family: 'Times New Roman','微軟正黑體', 'Microsoft JhengHei', 'Arial';
  color: #FFFFFF;
  display: inline-block;
  width: 6rem;
  padding: 10px 20px;
  background: #FF8110;
  border-radius: 4px;
  text-align: center;
  vertical-align: middle;
  font-size: 18px;
}

input[type=text],
input[type=email],
input[type=password],
textarea {
  font-family: 'Times New Roman','微軟正黑體', 'Microsoft JhengHei', 'Arial';
  padding: 1rem;
  width: 98%;
  margin: 0.3rem;
  box-sizing: border-box;
  font-size: 16px;
  border: solid 1px #D8D8D8;
}

input[type=text].username {
  font-family: 'Times New Roman','微軟正黑體', 'Microsoft JhengHei', 'Arial';
  background: url(../img/member.svg) no-repeat 0.4rem 50%;
  padding-left: 2.4rem;
  background-color: #FFFFFF;
}

input[type=password].pwd {
  font-family: 'Times New Roman','微軟正黑體', 'Microsoft JhengHei', 'Arial';
  background: url(../img/lock.svg) no-repeat 0.6rem 50%;
  padding-left: 2.4rem;
  background-color: #FFFFFF;
}

.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 20%;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  /*background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);*/
}

@media screen and (max-width: 780px) {
  .modal {
    padding-top: 40%;
  }
}

.modal-content {
  background-color: #FFFFFF;
  margin: auto;
  padding: 2rem;
  box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.5);
  border-radius: 4px;
  width: 20%;
  height: 10%;
  position: relative;
  color: #035882;
  font-size: 18px;
}

@media screen and (max-width: 780px) {
  .modal-content {
    width: 62%;
    height: 15%;
  }
}

.close {
  position: absolute;
  top: -1rem;
  left: calc(50% - 18px);
  font-size: 28px;
  height: 36px;
  width: 36px;
  background-color: #FF2E2E;
  border-radius: 50%;
}

.close .text {
  color: #FFF;
  text-align: center;
  vertical-align: middle;
  font-weight: bold;
  font-family: 'Arial';
  width: 36px;
  padding-top: 3px;
}

.close-text {
  color: #FF8110;
  position: absolute;
  bottom: 1rem;
  left: 0;
  width: 100%;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

.close-text:hover {
  cursor: pointer;
}
