﻿/* http://meyerweb.com/eric/tools/css/reset/
   v2.0 | 20110126
   License: none (public domain)
*/

@font-face {
  font-family: "EUDC";
  font-style: normal;
  src: url('../../fonts/EUDC/EUDC.woff2') format('woff2'),
    url('../../fonts/EUDC/EUDC.woff') format('woff'),
    url('../../fonts/EUDC/EUDC.ttf') format('truetype');
}

.red-text {
  color:#ff3333;
}
.red-text:hover,
.red-text:active,
.red-text:focus {
  color: #ff9999;
}

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;
  padding: 2rem;
}

.container-box {
  max-width: 950px;
  margin: auto;
  background: white;
  padding: 1rem 2rem;
  border-radius: 10px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

ol,
ul {
  list-style: none;
  display: flex;
  flex-direction: row;
  padding: 5px 0px;
  margin-right: 15px;
}
ul {
  padding: 1rem 0;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

select {
  width: 220px;
  border-radius: 6px;
  border: 1px solid #ced4da;
  color: #495057;
  font-size: 1rem;
  padding: 0.65625rem;
  height: 2.75rem;
}

select:focus {
  border-color: #3b82f6;
  outline: 0 none;
  outline-offset: 0;
  box-shadow: 0 0 0 0.18rem #bfdbfe;
}

/*-------------------------------------------------------------------------------*/
body {
  color: #525253;
  font-family: Arial, Helvetica, 'EUDC', sans-serif;
  font-size: 12px;
  /* line-height: 150%; */
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}
a {
  color: #12768e;
  text-decoration: none;
}
a:hover,
a:active,
a:focus {
  color: #333;
  text-decoration: none;
}

.bg {
  background: #f5f5f5;
}
.fx {
  max-width: 100%;
  height: auto;
}

img {
  width: 500px;
}
.tit {
  height: 44px;
  font-size: 1.25rem;
  padding: 0.5rem 1rem;
  min-width: 150px;
  position: relative;
  box-sizing: border-box;
  line-height: 1.8rem;
  font-weight: 400;
  background-color: #6fa8dc;
  color: white;
  letter-spacing: 2px;
  text-align: center;
}
input[type="text"] {
  width: 220px;
  border-radius: 6px;
  border: 1px solid #ced4da;
  color: #495057;
  font-size: 1rem;
  padding: 0.65625rem;
  height: 2.75rem;
  box-sizing: border-box;
}
input[type="tel"] {
  width: 220px;
  border-radius: 6px;
  border: 1px solid #ced4da;
  color: #495057;
  font-size: 1rem;
  padding: 0.65625rem;
  height: 2.75rem;
  box-sizing: border-box;
}
input[type="number"] {
  width: 220px;
  border-radius: 6px;
  border: 1px solid #ced4da;
  color: #495057;
  font-size: 1rem;
  padding: 0.65625rem;
  height: 2.75rem;
  box-sizing: border-box;
}
input[type="submit"] {
  margin: 0px;
  border-radius: 3px;
  -webkit-appearance: none;
}

.tag {
  color: red;
  font-size: 1.25rem;
  line-height: 2.75rem;
  margin-left: 1rem;
}

.bun,
.bun_2 {
  /* background: url(../images/button-bg.png) repeat-x bottom transparent; */
  border: none;
  padding: 0.5rem 3rem;
  color: #fff;
  border-radius: 6px;
  font-size: 1.125rem;
  margin: 0 0.25rem;
}

.bun {
  background-color: #3b82f6;
}

.bun:hover {
  background-color: #2563eb;
}

.bun:focus {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #9dcefb;
}

.bun_2 {
  background-color: #ef4444;
}

.bun_2:hover {
  background-color: #e53935;
}

.bun_2:focus {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px #f7a2a2;
}

#main-floor,
#main-floor a {
  color: #ffffff;
  text-align: center;
  margin-bottom: 10px;
}
.floor-link {
  text-align: center;
  font-size: 13px;
  line-height: 23px;
}
.floor-text {
  text-align: left;
  font-size: 13px;
  line-height: 23px;
}
.orgpro {
  text-align: left;
  font-size: 15px;
  line-height: 25px;
  vertical-align: middle;
  background: url(../images/front_bg.jpg) repeat;
}
.orgpro ul {
  list-style-type: cjk-ideographic;
  margin-left: 30px;
}
.orgpro ol {
  list-style-type: decimal;
  margin-left: 15px;
  display: flex;
  flex-direction: row;
}
.orgprotit {
  background-color: #3c2417;
  color: #ffffff;
  line-height: 25px;
}

.o-main-left {
  background: url(../images/bg-1.png) repeat-y;
}
.o-main-center {
  background: #ffffff;
}
.o-main-right {
  background: url(../images/bg-1.png) repeat-y right;
}

.header {
  width: 100%;
  padding: 0px;
  background: url(../images/banner-bg.png) top center repeat-x;
}

.hornav {
  background-color: #ffffff;
  border-top: 1px solid #e5e5e5;
  border-bottom: 1px solid #e5e5e5;
  background-color: #efefef;
  background: url("../images/button-bg.gif") repeat-x bottom;
  width: 100%;
  /*height:40px;*/
}

.hornav h1 {
  font-size: 180%;
  font-weight: bold;
  text-transform: uppercase;
  border: 0 !important;
  margin: 10px 0 0 !important;
  padding: 0 !important;
  color: #12768e;
  margin-bottom: 5px;
}

.menustyle_l {
  background: url(../images/styles/style1/nav-active-l.png) no-repeat bottom
    left;
  width: 7px;
  height: 50px;
  margin: 5px;
  margin-bottom: 0px;
  margin-right: 0px;
}
.menustyle {
  background: url(../images/styles/style1/nav-active-r.png) no-repeat bottom
    right;
  text-align: center;
  vertical-align: bottom;
  height: 50px;
  margin: 5px;
  margin-left: 0px;
  margin-bottom: 0px;
}

.menustyle_l_2 {
  background: url(../images/styles/style1/nav-active-l_2.png) no-repeat bottom
    left;
  width: 7px;
  height: 50px;
  margin: 5px;
  margin-bottom: 0px;
  margin-right: 0px;
}

.menustyle_2 {
  background: url(../images/styles/style1/nav-active-r_2.png) no-repeat bottom
    right;
  text-align: center;
  vertical-align: bottom;
  height: 50px;
  margin: 5px;
  margin-left: 0px;
  margin-bottom: 0px;
}

.menustyle a {
  margin-right: 7px;
  line-height: 35px;
  color: #fff;
}

.menustyle_2 a {
  margin-right: 7px;
  line-height: 35px;
  color: #12768e;
}

.divider {
  background: url(../images/divider.png) no-repeat top center;
  width: 100%;
  font-size: 13px;
}
.divider div {
  padding: 0px 8px;
  margin-top: 20px;
}

.sp-bottom {
  background-color: #12768e;
  color: #fff;
  line-height: 23px;
  font-size: 1rem;
  padding: 1rem;
  margin: 20px 0px;
  border-radius: 6px;
}
.sp-footer-left {
  margin-bottom: 30px;
  background: url(../images/footer-bg.gif) no-repeat bottom left;
  text-align: center;
  padding-top: 10px;
}
.sp-footer {
  height: 70px;
  margin-bottom: 30px;
  background: url(../images/footer-bg-m.gif) repeat-x bottom center;
  text-align: center;
  padding-top: 10px;
}
.sp-footer-right {
  margin-bottom: 30px;
  background: url(../images/footer-bg.gif) no-repeat bottom right;
  text-align: center;
  padding-top: 10px;
}

.gvstyle td {
  box-sizing: border-box;
  height: 25px;
  vertical-align: top;
  padding: 1rem 0.5rem;
  font-size: 1rem;
}
.gvstyle th {
  box-sizing: border-box;
  font-size: 1rem;
  font-weight: 400;
  color: black;
  background-color: #6fa8dc;
  letter-spacing: 2px;
  padding: 0.5rem;
  text-align: left;
}
.gvstyle div {
  margin: 0px;
  padding: 0px;
  border: 0px;
}
.pagestyle td {
  padding: 0px;
  border: 0px;
}

.timetable {
  width: 100%;
  text-align: center;
}
.timetable td {
  width: 20%;
  box-sizing: border-box;
}
.timetable input {
  margin-left: 0px;
}

.time-for-pad {
  line-height: 16px;
  vertical-align: middle;
  height: 59px;
}

.tdstyle {
  border-bottom: dashed 2px black;
  line-height: 23px;
  /* padding: 4px; */
}
.ttstyle {
  border-top: dashed 2px black;
  line-height: 23px;
}
.CAL table td {
  padding: 1px;
}
.CAL .ajax__calendar_container {
  border: 1px solid #646464;
  background-color: #f1f1f1;
  color: blue;
}
.CAL .ajax__calendar_other .ajax__calendar_day,
.CAL .ajax__calendar_other .ajax__calendar_year {
  color: black;
}
.CAL .ajax__calendar_hover .ajax__calendar_day,
.CAL .ajax__calendar_hover .ajax__calendar_month,
.CAL .ajax__calendar_hover .ajax__calendar_year {
  color: black;
}
.CAL .ajax__calendar_active .ajax__calendar_day,
.CAL .ajax__calendar_active .ajax__calendar_month,
.CAL .ajax__calendar_active .ajax__calendar_year {
  color: black;
  font-weight: bold;
}

.but3 {
  width: 20px;
  height: 100px;
}
.tit:after {
  position: absolute;
  top: 3px;
  left: 3px;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  border: 1px solid white;
  content: "";
}

.visitor {
  font-size: 1.25rem;
  padding-top: 1rem;
  text-align: center;
  margin-top: 1rem;
}

/* --- 極小螢幕 --- */
@media screen and (max-width: 399.98px) {
  img {
    width: 100% !important;
  }
  .container-box {
    padding: 0.2rem;
  }
  .gvstyle th {
    font-size: 0.7rem;
    padding: 0.2rem;
  }
  .gvstyle td {
    font-size: 0.6rem;
    word-break: break-word;
    padding: 0.2rem;
  }

  .bun,
  .bun_2 {
    margin-bottom: 1rem;
  }
}

/* --- 400~600px：小手機、小平板 --- */
@media screen and (min-width: 400px) and (max-width: 600px) {
  img {
    width: 70%;
  }
  .gvstyle th {
    font-size: 0.75rem;
  }
  .gvstyle td {
    font-size: 0.75rem;
    word-break: break-word;
  }
}

/* --- 600~900px：平板直式 ~ 小筆電 --- */
@media screen and (min-width: 600px) and (max-width: 900px) {
  .gvstyle th {
    font-size: 0.75rem;
    padding: 0.25rem 0.8rem;
  }
  .gvstyle td {
    font-size: 0.75rem;
    word-break: break-word;
    padding: 0.25rem 0.8rem;
  }
  img {
    width: 70%;
  }
  .bun,
  .bun_2 {
    margin-bottom: 1rem;
  }
}

/* --- max-width: 900px：手機、平板（整合通用版） --- */
@media screen and (max-width: 900px) {
  ul,
  ol {
    flex-direction: column;
    text-align: center;
    width: 100%;
    margin-right: 0;
  }
  input[type="text"],
  input[type="tel"],
  input[type="number"],
  select {
    width: 100%;
    margin: 0px;
    box-sizing: border-box;
  }
  .tag {
    display: block;
  }
  .o-main,
  .sp-footer {
    width: 100%;
  }
  .time-for-pc {
    display: none;
  }
  .time-for-pad {
    display: block;
  }
  .timetable td {
    height: 60px;
    line-height: 16px;
  }

  .gvstyle th {
    padding: 0.6rem 0.1rem;
    word-break: break-all;
    font-size: 1rem;
  }
  .gvstyle td {
    padding: 0.8rem 0.2rem;
    word-break: break-all;
  }
  .form-block,
  .tit {
    width: 100%;
  }
  .form-row {
    display: flex;
    flex-direction: column;
  }
  th {
    padding: 0.5rem;
  }
  .bun,
  .bun_2 {
    font-size: 1rem;
    padding: 0.5rem 3rem;
  }
  img {
    width: 70%;
  }
  .container-box {
    padding: 1rem;
  }
  .printdiv {
    display: none;
  }
}

/* --- 900~1200px：平板橫式、筆電 --- */
@media screen and (min-width: 900px) and (max-width: 1200px) {
  select {
    margin: 0px;
    box-sizing: border-box;
  }
  .o-main {
    margin: auto;
    width: 95%;
  }
  .o-main-left,
  .o-main-right {
    width: 30px;
  }
  .sp-footer-left,
  .sp-footer-right {
    width: 50px;
  }
  .time-for-pc {
    display: block;
  }
  .time-for-pad {
    display: none;
  }
  .gvstyle .tit {
    width: 110px;
  }
  .printdiv {
    display: none;
  }
  .form-block {
    width: 100%;
  }
}
