@charset "UTF-8";
html {
  box-sizing: border-box;
  -ms-overflow-style: scrollbar;
  padding: 0;
  margin: 0;
  font-size: 16px;
  box-sizing: border-box;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  line-height: 1;
}

body:lang(zh-tw) {
  font-family: "微軟正黑體", "Microsoft JhengHei"," Noto Sans CJK","Xingothic TC","Droid Sans Fallback","PingFang TC","Heiti TC","LiHei Pro","Arial","Helvetica","sans-serif","PMingLiU";
}

body:lang(en) {
  font-family: 'Spectral SC', serif;
}

* {
  box-sizing: inherit;
}

*::before, *::after {
  box-sizing: inherit;
}

main {
  display: block;
}

a {
  text-decoration: none;
  color: #000;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
  border: none;
  height: 1px;
  background: light-gray;
}

pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

code, kbd, pre, samp {
  font-family: monospace,monospace;
  font-size: 1em;
}

a {
  background-color: transparent;
  text-decoration: none;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

b, strong {
  font-weight: bolder;
}

code, kbd, samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

img {
  border-style: none;
}

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, 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;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block;
}

button, input, optgroup, select, textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button, input {
  overflow: visible;
}

fieldset {
  border: 1px solid silver;
  margin: 0 2px;
  padding: .35em .625em .75em;
}

legend {
  border: 0;
  padding: 0;
}

textarea {
  overflow: auto;
}

optgroup {
  font-weight: bold;
}

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

td, th {
  padding: 0;
}

button, select {
  text-transform: none;
}

button, [type="button"], [type="reset"], [type="submit"] {
  -webkit-appearance: button;
  outline: none;
  border: none;
  cursor: pointer;
  padding: 10px 15px;
}

button::-moz-focus-inner, [type="button"]::-moz-focus-inner, [type="reset"]::-moz-focus-inner, [type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring, [type="button"]:-moz-focusring, [type="reset"]:-moz-focusring, [type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type="checkbox"], [type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

[type="number"]::-webkit-inner-spin-button, [type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

details {
  display: block;
}

summary {
  display: list-item;
}

template, [hidden] {
  display: none;
}

ol, ul, li {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

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

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

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

img {
  width: 100%;
}

select {
  width: 100%;
  cursor: pointer;
  padding: 10px 15px;
  outline: 0;
  border: 0;
  border-radius: 0;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  position: relative;
}

select:disabled {
  opacity: 0.5;
  pointer-events: none;
}

.select__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 15px;
  width: 0;
  height: 0;
  pointer-events: none;
  border-style: solid;
  border-width: 8px 5px 0 5px;
  border-color: light-gray transparent transparent transparent;
  z-index: 1;
}

.select select:focus ~ .select__arrow {
  border-top-color: #003161;
}

.select select:disabled ~ .select__arrow {
  border-top-color: #003161;
}

.margin-auto {
  margin: 0 auto;
}

img {
  width: 100%;
}

/*文字大小 */
h1, .h1 {
  font-size: 2rem;
}

h2, .h2 {
  font-size: 1.75rem;
}

h3, .h3 {
  font-size: 1.5rem;
}

h4, .h4 {
  font-size: 1.25rem;
}

p, .p {
  font-size: 16px;
}

/*編輯器要加的 */
.editor h2, .editor h3, .editor h4, .editor h5, .editor h6 {
  margin-bottom: 1rem;
}

.editor p {
  line-height: 1.5rem;
  margin-bottom: 0;
  word-wrap: break-word;
  font-weight: initial;
}

.editor img {
  width: 100%;
}

.editor div img {
  width: 100%;
}

.editor ol li {
  margin-bottom: 10px;
}

.editor sup {
  color: initial;
}

@media screen and (max-width: 990px) {
  /*文字大小 */
  h1, .h1 {
    font-size: 1.75rem;
  }
  h2, .h2 {
    font-size: 1.55rem;
  }
  h3, .h3 {
    font-size: 1.25rem;
  }
  h4, .h4 {
    font-size: 1rem;
  }
  p, .p {
    font-size: 14px;
  }
  .editor img {
    width: 100% !important;
    height: auto !important;
  }
}

/*GOOGLE MAP RWD */
.maps {
  position: relative;
  padding-bottom: 65%;
  height: 0;
  overflow: hidden;
}

.maps iframe, .maps object, .maps embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

form.forms-group dl dd {
  margin-bottom: 1rem;
}

body form.forms-group button {
  background-color: #003161;
  color: white;
}

.forms-group dl dd label sup {
  color: red;
}

form.forms-group dl dd .wi50 {
  width: 50%;
}

form.forms-group input {
  border: 1px solid light-gray;
  border-radius: 5px;
}

body form.forms-group select, body form.forms-group textarea {
  border: 1px solid light-gray;
  border-radius: 5px;
}

form.forms-group input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  outline: none !important;
}

body form.forms-group select, body form.forms-group textarea {
  width: 100%;
  padding: 0.5rem 0.75rem;
  outline: none !important;
}

.form-check {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
}

.form-check .form-check-label {
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-check .form-check-label input {
  margin-top: 0;
  margin-right: 10px;
}

form.forms-group [type="checkbox"], form.forms-group [type="radio"], form.forms-group [type="checkbox"], form.forms-group [type="radio"] {
  width: auto !important;
}

form.forms-group input, form.forms-group select, form.forms-group textarea {
  border: 1px solid light-gray;
  border-radius: 5px;
  background: #ffffff;
}

form.forms-group textarea {
  height: 150px;
}

form.forms-group input, form.forms-group select, form.forms-group textarea {
  width: 100%;
  padding: 0.5rem 0.75rem;
  outline: none !important;
}

form.forms-group dl dd .boxwi .dsboxw {
  width: 33.33%;
  margin-right: 10px;
  position: relative;
}

form.forms-group dl dd .boxwi .dsboxw:last-child {
  margin-right: 0px;
}

form.forms-group input:hover, form.forms-group select:hover, form.forms-group textarea:hover {
  border-color: gray;
}

form.forms-group dl dd #xcode {
  width: 10rem;
}

img#imgcode {
  width: 140px;
  height: 40px;
  margin-left: 10px;
}

form.forms-group button {
  background-color: #003161;
  -webkit-transition: all 0.30s ease-in-out;
  -moz-transition: all 0.30s ease-in-out;
  -ms-transition: all 0.30s ease-in-out;
  -o-transition: all 0.30s ease-in-out;
}

form.forms-group button:hover {
  background: gray;
  color: #ffffff;
}

form.forms-group button[type="reset"] {
  background: gray;
  border-color: #003161;
  color: #ffffff;
}

form.forms-group button[type="reset"]:hover {
  background: gray;
  color: #ffffff;
}

form.forms-group button[type="submit"] {
  background: #003161;
  color: #ffffff;
  padding: 10px 25px;
}

form.forms-group button[type="submit"]:hover {
  background: gray;
  color: #ffffff;
}

form.forms-group button[type="reset"] {
  padding: 10px 25px;
}
/*# sourceMappingURL=presets.css.map */