@import url(https://fonts.googleapis.com/earlyaccess/notosanstc.css);

/*--------------------------------------------------*/
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Noto Sans TC", sans-serif, "微軟正黑體";
}

html {
  font-size: 62.5%;
}

body {
  font-size: 1.6rem;
  line-height: 1.5;
  letter-spacing: 0.1em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.4;
}

p {
  font-size: 1.6rem;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  font-weight: 400;
  line-height: 1.8;
  text-align: justify;
}

a {
  color: #000;
  text-decoration: none;
}

img {
  /* display: block; */
}

br {
  font-family: unset !important;
  font: unset !important;
}

.phone.phone.phone {
  display: none;
}
* {
  /* outline: 1px solid #f00; */
}

/********************************************************
singIn
********************************************************/
.singIn {
  display: flex;
  width: 100%;
}
.singIn.theme-HPIS {
  height: calc(100vh - 70px);
}
.singIn.theme-general {
  height: calc(100vh - 45px);
}

/********************************************************
pretty
********************************************************/
.singInMain-form .pretty.p-svg .state .svg {
  font-size: 1.4rem;
  top: calc((0% - (100% - 1.3em)) - 8%);
}
.singInMain-form .pretty .state label:after,
.singInMain-form .pretty .state label:before {
  top: calc((0% - (100% - 1.3em)) - 8%);
}
.pretty {
  white-space: initial;
}
.pretty .state label {
  text-indent: 0;
  margin-left: 1.5em;
  line-height: 1.2;
}
.pretty.p-svg .state .svg,
.pretty .state label:after,
.pretty .state label:before {
  top: 0.05em;
}

/********************************************************
singInMain
********************************************************/
.singInMain {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30%;
  padding: 30px;
  overflow-y: auto;
}
.singInMainContent {
  max-width: 400px;
  width: 100%;
}
.singInMainTop {
  margin-bottom: 4em;
  display: flex;
  align-items: flex-end;
}
.mtLOGO {
  margin-top: 30%;
}
.singInMainTop-logo img {
  width: 100%;
  height: auto;
}
.singInMainTop-text {
  line-height: 1.2em;
  margin-left: 2em;
  margin-bottom: 0;
  padding: 0;
  color: #000;
  font-weight: 500;
}
.singInMain h1 {
  font-size: 1.8rem;
  letter-spacing: 0;
}
.theme-HPIS h1,
.color-HPIS {
  color: #00b188;
}
.theme-general h1 {
  color: #d60812;
}
.singInMain-form {
  margin-top: 1em;
  width: 400px;
}
.input-group {
  width: 100%;
}
.input-group .form-control {
  margin-bottom: 16px;
}
.theme-HPIS .form-control:focus {
  border-color: #53daba;
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),
    0 0 8px rgba(0, 177, 136, 0.6);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),
    0 0 8px rgba(0, 177, 136, 0.6);
}
.theme-general .form-control:focus {
  border-color: #d60812;
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),
    0 0 8px rgba(255, 109, 109, 0.6);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075),
    0 0 8px rgba(255, 109, 109, 0.6);
}

.form-row {
  display: flex;
  margin-left: -5px;
  margin-right: -5px;
}
.form-row .form-group {
  padding: 5px;
}
.form-group .form-group {
  margin-bottom: 0;
}
.singInMain-form .form-group {
  display: flex;
  width: 100%;
}

.singInMain-form .form-group label {
  margin-right: 1em;
  white-space: nowrap;
  font-weight: 400;
  text-align: right;
  flex-basis: 70px;
  flex-shrink: 0;
}

.form-check {
  margin-top: 2em;
}
.form-check label {
  font-size: 1.4rem;
  font-weight: 400;
}
.btnBox {
  display: flex;
}
.btnBox .btn {
  width: calc(100% - 1em);
}
.btnBox .btn + .btn {
  margin-left: 1em;
}
.btn {
  width: 100%;
  padding: 0.5em 1em;
  color: #fff;
  border-radius: 5px;
  margin: 1em 0;
}
.btn-basic {
  background-color: #aaa;
}
.btn-HPIS {
  background-color: #00b188;
}
.btn-general {
  background-color: #d60812;
}
.btn:hover {
  color: #fff;
  opacity: 0.8;
}

.loginPassword {
  display: flex;
  justify-content: center;
}
.loginPassword a {
  text-decoration: none;
  font-size: 1.4rem;
}
.loginPassword a + a {
  margin-left: 0.5em;
}
.loginPassword a + a:before {
  content: "|";
  margin-right: 0.5em;
}
.loginPassword a + a:hover:before {
  color: #000;
}
.loginPassword a:hover {
  color: #999;
}

/********************************************************
singInKV
********************************************************/
.singInKV {
  width: 70%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.theme-HPIS .singInKV {
  background-image: url(../images/singInKV_1.png);
}
.theme-general .singInKV {
  background-image: url(../images/singInKV_2.png);
}

/********************************************************
nav
********************************************************/
.nav {
  background-color: #e8e8e8;
  width: 100%;
  padding: 0.5em 15px;
}
.nav ul {
  max-width: 1110px;
  width: 100%;
  display: flex;
  justify-content: flex-end;
  list-style: none;
  margin: 0 auto;
}
.nav li {
  font-weight: 300;
}
.nav li + li {
  margin-left: 10px;
}
.nav li + li:before {
  content: "|";
  margin-right: 10px;
}
.nav li a {
  text-decoration: none;
}
.nav li a:hover {
  color: #000;
  opacity: 0.8;
}

.nav li [class*="link"] {
  font-weight: 500;
  margin-left: 0.5em;
}
.nav li [class*="link"]:hover {
  opacity: 0.8;
}
.nav li .link-HPIS:hover {
  color: #00b188;
}
.nav li .link-general:hover {
  color: #d60812;
}

.link-HPIS {
  color: #00b188;
}
.link-general {
  color: #d60812;
}

/********************************************************
pageKV
********************************************************/
.pageKV {
  width: 100%;
  height: 0;
  padding-bottom: 20.833%;
  overflow: hidden;
}
.pageKV img {
  width: 100%;
  height: auto;
}

/********************************************************
content
********************************************************/
.content {
  max-width: 1110px;
  margin: 0 auto;
  padding: 20px;
}
.pageContent * {
  color: #444;
}
[class*="pageTitle"] {
  text-align: center;
  font-size: 3rem;
}
[class*="pageText-L"] {
  font-size: 1.8rem;
}
[class*="formItemTitle"] {
  font-weight: 500;
  font-size: 2rem;
  margin-bottom: 15px;
}
.pageTitle-HPIS,
.pageText-L-HPIS,
.formItemTitle-HPIS {
  color: #00b188;
}
.pageTitle-general.pageTitle-general,
.pageText-L-general,
.formItemTitle-general {
  color: #000;
}
.formItemSubTitle {
  margin-top: -15px;
  margin-bottom: 1em;
}
.pageText-S {
  font-size: 1.6rem;
  color: #000;
}
.content ul,
.content ol {
  margin-left: 1.5em;
}

/********************************************************
pageForm
********************************************************/
.pageForm {
  background-color: #f5f4f4;
  margin-top: 5em;
  margin-bottom: 5em;
  padding: 30px;
}
.pageFormBody {
  max-width: 880px;
  margin: 0 auto;
}
.memoText {
  color: #999;
  text-align: center;
}
.pageForm label {
  font-weight: 400;
}
.form-row .form-group {
  width: 100%;
}
.mt-5 {
  margin-top: -5px;
}
.mt33 {
  margin-top: 33px;
}
.mb-s {
  margin-bottom: 0;
}
.flex-basis-150 {
  flex-basis: 150px;
  flex-shrink: 0;
}
.formItem .form-group label {
  color: #666;
}
.formItemTitleBox {
  display: flex;
  align-items: center;
  margin-bottom: 0;
}
.formItemTitleBox .pretty {
  margin-left: 10px;
  margin-top: -18px;
}

.formItemTitleBox .pretty label {
  font-size: 1.4rem;
}
.formItemTitleBox .pretty.p-svg .state .svg {
  font-size: 1.4rem;
  /* top: calc((0% - (100% - 1.3em)) - 8%); */
  top: 4px;
}
.formItemTitleBox .pretty .state label:after,
.formItemTitleBox .pretty .state label:before {
  /* top: calc((0% - (100% - 1.3em)) - 8%); */
  top: 4px;
}
.form-group-inline {
  display: inline-block;
}
.form-group-inline input {
  display: inline-block;
  max-width: 200px;
}
.mt1em {
  margin-top: 1em;
}
.mt3em {
  margin-top: 3em;
}
.note {
  padding: 15px;
  background-color: #fff;
  height: 300px;
  overflow-y: scroll;
}
.notRobot {
  margin-top: 4em;
  margin-left: 50%;
  margin-bottom: 1em;
  transform: translateX(-50%);
}

.map {
  width: 100%;
  height: 400px;
  padding: 15px;
  margin-bottom: 5em;
}
.map-HPIS {
  border: 3px solid #00b188;
}
.map-general {
  border: 3px solid #d60812;
}

/********************************************************
groupBlock
********************************************************/
.groupBlock {
  border: 1px solid #bbb;
  padding: 30px 30px 15px 30px;
  position: relative;
  margin-bottom: 30px;
}
.groupBlock:nth-last-of-type(1) {
  margin-bottom: 15px;
}
.groupBlockTitle {
  font-weight: 600;
  padding: 0 1em;
  color: #666;
  background-color: #f5f4f4;
  display: inline-block;
  position: absolute;
  top: -1em;
  left: 15px;
}

/********************************************************
popuup
********************************************************/
.popuupBox {
  width: 100%;
  height: 100%;
  padding: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.8);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  display: none;
}
.popuup {
  background-color: #fff;
  padding: 15px;
  overflow: hidden;
  max-width: 600px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.popuup h4 {
  text-align: center;
  margin-top: 2em;
}
.popuup p {
  margin: 2em 0;
  max-width: 420px;
}
.popuup .btn {
  max-width: 5em;
}
.display-flex {
  display: flex;
}
.popuup-singIn {
}
.popuup-singIn p {
  text-align: center;
}
.popuup-btnBox {
  display: flex;
  margin-bottom: 2em;
}
.popuup-btnBox .btn {
  max-width: 10em;
  margin: 5px;
}
.popuupBox-HPISmember .popuup .btn-HPIS {
  max-width: 15em;
}

/********************************************************
footer
********************************************************/
.footer {
  background-color: #000;
  color: #fff;
  text-align: center;
  padding: 10px 15px;
  font-size: 1.4rem;
}
.footer p {
  text-align: center;
  margin-bottom: 0;
  padding-top: 0em;
  padding-bottom: 0em;
  font-size: 1.4rem;
}
.footer a {
  color: #fff;
}
.padding-left-2em {
  padding-left: 1.2em;
}
