@charset "UTF-8";

:root {
  --Cyan-color: #197584;
  --White-color: #ffffff;
  --Silver-color: #f2f2f2;
  --Iron-color: #e4e4e4;
  --Steel-color: #d1d1d1;
  --Stone-color: #b5b5b5;
  --Dark-color: #343434;
  /* --Ice-color: #D7F7F5; */
  --Ice-color: #e2f0f1;
  --Sea-color: #69cad9;
  --Plum-color: #9e1e5c;
  --Blossom-color: #f4eaee;
  --Yellow-color: #d8a603;
  --Pale-color: #faf4e1;
  --Green-color: #148930;
  --Orange-color: #da3c03;
  --Lime-color: #c0e9ba;
  --Custard-color: #ffeaa3;
  --Chiffon-color: #ffb078;
  --Peach-color: #fc8779;
  --Salmon-color: #ff6d5c;
}

/*Basic html style*/

body {
  padding: 0;
  margin: 0;
  line-height: 1em;
  font-size: 1em;
  color: var(--Dark-color);
  font-family: Arial;
  font: apple-system-body;
}

a {
  color: var(--Cyan-color);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol {
  font-weight: normal;
  margin: 0;
  padding: 0;
}

h1 {
  font-size: 1.375em;
}

h2 {
  font-size: 1.125em;
  font-weight: bold;
}

h2:after {
  content: "";
  display: block;
  clear: both;
}

h3 {
  font-size: 1em;
  font-weight: bold;
}

h2 img {
  vertical-align: middle;
  margin-right: 0.5em;
}

h3 img {
  vertical-align: middle;
  margin-right: 0.75em;
}

p {
  line-height: 1.5em;
}

.inner-list {
  margin-left: 1em;
}

main {
  overflow: hidden;
}

.login-main {
  background-color: var(--White-color);
}

input[type="text"],
input[type="password"] {
  border-style: solid;
  border-width: 1px;
  border-color: var(--Steel-color);
  border-radius: 5px;
  color: var(--Dark-color);
  width: 100%;
  padding: 0.625em 0.625em 0 1.813em;
  font-size: 1.125em;
  height: 3.125em;
  box-sizing: border-box;
}

input[type="text"]:focus,
input[type="date"]:focus,
input[type="password"]:focus {
  outline: none;
  /*box-shadow: 0 0 0.313em 0.125em #E4E4E4;*/
}

textarea {
  border-style: solid;
  border-width: 1px;
  border-color: var(--Steel-color);
  color: var(--Dark-color);
  width: 100%;
  padding: 0.938em;
  font-size: 1em;
  border-radius: 5px;
  box-sizing: border-box;
}

textarea:focus {
  outline: none;
  border-color: var(--Dark-color);
}

.time-box {
  display: flex;
}

.time-box input {
  flex-basis: 100%;
}

.time-box select.line-style {
  flex: 0 0 5.375em;
  margin-left: 15px;
}

.date-box {
  display: flex;
  align-items: center;
}

.date-box input {
  flex-basis: 50%;
}

.date-box span {
  margin: 0 0.938em;
}

.date-select {
  padding-left: 2em;
  margin-bottom: 2em;
}

.time-select {
  display: flex;
  align-items: center;
}

.time-select select {
  flex-basis: 5em;
  margin-right: 0.625em;
}

.time-select span {
  margin-right: 0.625em;
}

input[type="text"].short {
  width: 60px;
  text-align: center;
}

input[type="text"].has-text {
  border-color: #197584;
  color: #197584;
  font-weight: bold;
}

input[type="date"] {
  border: none;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  border-bottom-color: var(--Steel-color);
  color: var(--Dark-color);
  width: 100%;
  padding: 0.938em 0;
  font-size: 1em;
  font-family: Arial;
  position: relative;
  background-image: url(../images/icon-date-click.png);
  background-position: center right;
  background-repeat: no-repeat;
}

input[type="date"]::-webkit-calendar-picker-indicator {
  background-image: url(../images/bg-no.png);
}

input[type="date"].short {
  width: 120px;
  text-align: center;
}

input[type="date"].medium {
  width: 200px;
  text-align: center;
}

::placeholder {
  color: var(--Stone-color);
}

.select-wrap {
  border-width: 1px;
  border-style: solid;
  border-color: var(--Steel-color);
  border-radius: 5px;
  height: 3.125em;
  clear: both;
}

.select-wrap-small {
  border-width: 1px;
  border-style: solid;
  border-color: var(--Steel-color);
  border-radius: 5px;
  height: 2.775em;
  clear: both;
  width: 50%;
  display: inline;
}

.select-wrap-small select {
  width: calc(100% - 0em);
  margin-left: 0em;
}

.select-wrap-small .absolute-2 {
  position: absolute;
  left: calc(50% + 20px);
  top: -0.313em;
  background-color: var(--White-color);
  padding: 0 0.313em;
  font-size: 0.85em;
}

select {
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
  border: none;
  padding: 0.625em 0.625em 0.625em 0.625em;
  font-size: 1.125em;
  background-color: transparent;
  background-image: url(../images/btn-down-green.svg);
  background-repeat: no-repeat;
  background-position: right 0.625em center;
  position: relative;
  width: calc(100% - 1em);
  margin-left: 1em;
  text-align: left;
  height: 2.75em;
  color: var(--Stone-color);
  /* color: var(--Dark-color); */
}

select option:first-child {
  color: var(--Stone-color);
}

select option:not(:first-child) {
  color: var(--Dark-color);
}

.noEmpty select option:first-child {
  color: var(--Dark-color);
}

select.selected-style {
  color: var(--Cyan-color);
  font-weight: bold;
}

select.line-style {
  border: none;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: var(--Steel-color);
  border-radius: 0px;
  background-image: url(../images/icon-date-click.png);
  padding-bottom: 0.625em;
  padding-top: 0.625em;
  height: auto;
  width: 100%;
  font-size: 1em;
}

::-ms-expand {
  display: none;
}

select:focus {
  outline: none;
  /* box-shadow: 0 0 0.313em 0.125em #e4e4e4; */
}

/*選單弧形*/
.select-wrap select:focus {
  outline: none;
  /*box-shadow: 0 0 0.313em 0.125em #E4E4E4;
 border-radius: 50px;*/
}

select.line-style:focus {
  outline: none;
  box-shadow: 0 0 0em 0em #fff;
  border-bottom-color: var(--Dark-color);
}

.select-wrap select.large {
  margin-left: 0;
}

select.large {
  width: 100%;
}

select.small {
  width: 3em;
}

.select-wrap.selected,
.select-wrap-small.selected {
  border-color: var(--Cyan-color);
}

/* select.normal{ */
/* padding:0 2.5em 0 0; */
/* width: 12em; */
/* margin-left: 1em; */
/* height: 5 0em; */
/* } */

@media screen and (max-width: 992px) {
  main {
    /*padding-top: 3.063em; yuki update*/
    padding-top: 0.313em;
  }

  .login-main {
    padding-top: 0;
  }
}

@media screen and (max-width: 992px) {
  body {
    font-size: 1.125em;
  }

  select {
  }

  input[type="date"] {
    font-size: 0.8em;
  }

  .date-select {
    padding-left: 0.5em;
  }
  /* select.normal{ */
  /* width: 6em; */
  /* } */
}

/*表格樣式*/
.pop-window .table-wrap {
  border-radius: 0;
  margin-top: 0;
}

.table-wrap {
  margin-top: 0.938em;
  border-width: 1px;
  border-style: solid;
  border-color: var(--Steel-color);
  border-radius: 5px;
  overflow: hidden;
}

.table-wrap-info {
  margin-top: 0.938em;
}

.table-wrap-info table {
}

.table-wrap-info > div:nth-child(1) {
  margin-left: calc(31px + 7em);
  border-width: 1px;
  border-style: solid;
  border-color: var(--Steel-color);
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  overflow: hidden;
}

.table-wrap-info > div:nth-child(2) {
  border-width: 1px;
  border-style: solid;
  border-color: var(--Steel-color);
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  margin-top: -0.063em;
  overflow: hidden;
}

.table-wrap-info > div:nth-child(2) tbody th {
  text-align: left;
}

.table-wrap-info th:first-child {
  text-align: center;
}

.table-wrap-info th {
  font-weight: bold;
}

.table-wrap-info td:first-child {
  font-weight: bold;
  text-align: center;
}

table {
  border-collapse: collapse;
  width: calc(100% + 2px);
  margin: -0.063em;
  line-height: 1.5em;
}

thead th {
  background-color: var(--Ice-color);
}

thead th span {
  display: block;
}

thead th em {
  font-style: normal;
}

tbody th {
  background-color: #f5f5f5;
  font-weight: normal;
}

tbody th:first-child {
  font-weight: bold;
}

th,
td {
  padding: 0.938em;
  border-width: 1px;
  border-style: solid;
  border-color: var(--Steel-color);
}

td {
  text-align: center;
}

td:first-child {
  text-align: center;
}

td.no-show,
th.no-show {
  display: none;
}

th:first-child {
  text-align: center;
}

.table-no-vborder th,
.table-no-vborder td {
  border-left-width: 0;
  border-right-width: 0;
}

.table-no-vborder td {
  border-top-width: 0;
  border-bottom-width: 0;
}

/*給card-link中的table使用*/
.card-table {
  margin-bottom: 0.625em;
}

.card-table th,
.card-table td {
  border: none;
  text-align: center;
  line-height: 1em;
}

.card-table thead tr {
  color: #197584;
  font-weight: bold;
  border-bottom: 1px solid var(--Stone-color);
}

.card-table tbody td.num {
  text-align: right;
  padding-right: 20%;
}

.no-border {
  border: none !important;
}

.align-left {
  text-align: left;
}

.sign-red {
  color: var(--Orange-color);
}

.sign-green {
  color: var(--Green-color);
}

.sign-stone {
  color: var(--Stone-color);
}

.mt-zero {
  margin-top: 0 !important;
}

.mt-extend {
  margin-top: 0.938em !important;
}

.mt-extend-2 {
  margin-top: 1.875em !important;
}

.mb-extend {
  margin-bottom: 0.938em !important;
}

.pt-extend-s {
  padding-top: 0.625em !important;
}

.pt-extend {
  padding-top: 0.938em !important;
}

.pt-zero {
  padding-top: 0 !important;
}

.pr-extend {
  padding-right: 0.313em !important;
}

.pb-zero {
  padding-bottom: 0em !important;
}

@media screen and (max-width: 992px) {
  thead th span {
    display: inline;
  }

  thead th em {
    display: none;
  }

  .table-scroll {
    width: calc(100vw - 40px);
    overflow: auto;
    margin-left: -20px;
    padding-left: 20px;
  }

  .table-scroll-2 {
    width: calc(100vw - 40px);
    overflow: auto;
  }

  th,
  td {
    padding: 0.375em;
  }

  td {
    line-height: 1.5em;
  }

  .th-name-s {
    font-size: 0.875em;
  }

  .table-wrap-info th,
  .table-wrap-info td {
    padding-left: 5px;
    padding-right: 0.313em;
  }

  .table-wrap-info > div:nth-child(1) {
    margin-left: calc(11px + 7em);
  }
}

@media screen and (max-width: 540px) {
  .table-wrap {
  }

  .special-mobile-table-01 th:nth-child(2),
  .special-mobile-table-01 td:nth-child(2),
  .special-mobile-table-01 th:nth-child(5),
  .special-mobile-table-01 td:nth-child(5),
  .special-mobile-table-01 th:nth-child(6),
  .special-mobile-table-01 td:nth-child(6),
  .special-mobile-table-01 th:nth-child(7),
  .special-mobile-table-01 td:nth-child(7) {
    display: none;
  }
}

/*Grid*/
.container {
  padding: 0 42px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  margin: 0 -0.625em;
}

.row-more .col {
}

.row-nowrap {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  margin: 0 -0.625em;
  justify-content: space-between;
}

.row-nowrap-2 {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  margin: 0 -0.625em;
  justify-content: flex-start;
}

.row-nowrap-start {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  margin: 0 -0.625em;
  justify-content: space-between;
}

.row-nowrap-stretch {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  margin: 0 -0.625em;
  justify-content: space-between;
}

.row-nowrap.col-1,
.row-nowrap.col-2 {
  margin-bottom: 0.938em;
}

.row-nowrap.col-1:last-child {
  margin-bottom: 0;
}

.row.emergency {
  display: none;
}

.col {
  margin-left: 10px;
  flex-grow: 0;
  flex-shrink: 1;
}

.col-free {
  margin: 0;
  flex-grow: 1;
  flex-shrink: 1;
}

.col-1 {
  flex-basis: 100%;
}

.col-2 {
  flex-basis: calc(50% - 1.25em);
}

.col-3 {
  flex-basis: calc(33.333333% - 1.25em);
}

.col-6 {
  flex-basis: calc(66.666666% - 1.25em);
}

.col-fixed-1 {
  flex-basis: 5.625em;
}

.col-fixed-2 {
  flex-basis: 13.75em;
}

.col-icon {
  flex-basis: 1.563em;
}

.col-edit {
  flex-basis: 3.75em;
}

@media screen and (max-width: 992px) {
  .container {
    padding: 0 1.25em;
  }

  .row {
    /*margin:0 -0.438em;*/
    margin: auto;
  }

  .row-nowrap {
    margin: 0 -0.438em;
  }

  .row.emergency {
    display: block;
  }

  .col {
    margin-left: 7px;
  }

  .col-2,
  .col-2.fix,
  .col-3,
  .col-6,
  .col-fixed-1,
  .col-fixed-2 {
    flex-basis: 100%;
  }

  .col-edit {
    font-size: 0.7em;
  }

  .card-link-2 .col {
    margin-left: 0 10px;
  }

  .card-link-3 {
    display: none;
  }

  .card-link-4 .name-xxl {
    flex-basis: 8em;
  }

  .card-link-5 {
    display: none;
  }
}

/*Header*/

header.container {
  padding-top: 0.625em;
  padding-bottom: 0.625em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /*border-bottom-width: 2px;
	border-bottom-style: solid;
	border-bottom-color: var(--Cyan-color);*/
  background-color: #187483;
  overflow: hidden;
  box-sizing: border-box;
  padding-left: 15px;
}

header.login-container {
  padding: 1.875em 0.938em 1.25em 0.938em;
}

.logo {
  overflow: hidden;
  width: 250px;
  height: 70px;
  background-image: url(../images/Logo_2.png);
  background-repeat: no-repeat;
  background-size: contain;
}

.logo a {
  display: block;
  text-indent: -300px;
  height: 100%;
}

.nav-menu div {
  display: flex;
  align-items: stretch;
}

.nav-menu span {
  color: var(--Cyan-color);
  cursor: pointer;
}

.nav-menu a {
  padding-top: 0.313em;
  padding-bottom: 0.313em;
}

.nav-menu a,
.nav-menu span {
  display: flex;
  align-items: center;
  margin-left: 28px;
}

.nav-menu a.current,
.nav-menu span.current {
  color: var(--Dark-color);
}

#nav-index {
  display: none;
}

#n01 {
  display: none;
}

#n02 {
  margin-left: 0;
}

.btn-logout {
  background-image: url(../images/icon-logout-desktop.png);
  background-repeat: no-repeat;
  background-position: right center;
  padding-right: 25px;
}

.btn-menu {
  display: none;
  cursor: pointer;
}

@media screen and (max-width: 1254px) {
  .logo {
    width: 210px;
    height: 60px;
  }

  .nav-menu a,
  .nav-menu span {
    margin-left: 20px;
  }
}

@media screen and (max-width: 1145px) {
  .logo {
    width: 140px;
    height: 40px;
  }

  .nav-menu a,
  .nav-menu span {
    margin-left: 15px;
  }
}

@media screen and (max-width: 992px) {
  header.container {
    padding: 0;
    display: block;
    border-bottom-width: 0px;
  }

  .page-name-title {
    background-color: var(--Cyan-color);
    position: fixed;
    width: 100vw;
    left: 0;
    top: 0;
    z-index: 88888;
  }

  .btn-menu img {
    width: 16px;
    margin-left: 5px;
  }

  .page-name-title a,
  .page-name-title span {
    color: var(--White-color);
    text-align: center;
    padding: 0.938em;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .page-name-title .btn-back {
    padding: 0.813em;
    left: 0px;
    top: 0em;
    background-repeat: no-repeat;
    background-position: center;
  }

  .logo {
    /*width: 89px;
        height: 2em; yuki update */

    margin-left: 5px;
    margin-top: 0.313em;
    margin-bottom: 0.313em;
    /*width: 198px;
        height: 3.813em;*/
    width: 248px;
    height: 58px;
    background-repeat: no-repeat;
  }

  .nav-menu {
    position: fixed;
    width: 100vw;
    height: calc(100vh - 3.063em);
    z-index: 99999;
    background-color: rgba(0, 0, 0, 0.5);
    left: 0;
    top: 3.063em;
    display: none;
  }

  .nav-menu div {
    width: 335px;
    display: block;
    margin: 0.938em auto;
    background-color: var(--White-color);
    border-radius: 5px;
    max-height: 75vh;
    overflow: auto;
  }

  .nav-open {
    display: block;
  }

  .nav-menu a,
  .nav-menu span {
    margin-left: 0px;
    margin-right: 0em;
    display: block;
    padding: 1.25em;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: var(--Steel-color);
    background-repeat: no-repeat;
    background-position: left center;
  }

  .nav-menu span:nth-last-child(2) {
    border-bottom: none;
  }

  .nav-menu a.current,
  .nav-menu span.current {
    background-image: url(../images/nav-menu-current.png);
    background-size: 1em 1em;
    background-position: center right 1.25em;
  }

  #nav-index {
    display: block;
  }

  .nav-menu a.btn-logout {
    background-position: left 60px center;
    border-bottom: none;
  }
}

/*Footer*/
footer.container {
  /* background-color: var(--Dark-color); */
  /* color: var(--White-color); */
  /* padding-top: 1.25em; */
  /* padding-bottom: 1.25em; */
  /* font-size: 0.875em; */
  background-color: #187483;
  height: 3.75em;
  box-sizing: border-box;
  text-align: center;
  color: #ffffff;
  padding-top: 1.125em;
}
/*.footer-link{
	display: flex;
	flex-wrap: wrap;
	padding-bottom: 1.25em;
	border-bottom-width: 1px;
	border-bottom-style:solid;
	border-bottom-color: #fff;
	margin-bottom: 1.25em;
}*/
.footer-link a {
  /* color: var(--White-color);
	margin-right: 1.25em; */
  text-decoration: none;
  color: #ffffff;
  font-size: 0.9375;
}

@media screen and (max-width: 992px) {
  .footer-nav {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100vw;
    display: flex;
    align-items: stretch;
    justify-content: center;
    background-color: var(--White-color);
    border-top: 1px solid #d3d3d3;
  }

  .footer-nav a {
    display: block;
    width: 75px;
    font-size: 0.625em;
    color: #606060;
    background-repeat: no-repeat;
    background-position: center top 0.438em;
    text-align: center;
    padding: 2.25em 0 0.438em 0;
  }

  .footer-nav a.current {
    color: #000000;
  }

  #fn-01 {
    background-image: url(../images/footer-icon-01.png);
  }

  #fn-02 {
    background-image: url(../images/footer-icon-02.png);
  }

  #fn-03 {
    background-image: url(../images/footer-icon-03.png);
  }

  #fn-04 {
    background-image: url(../images/footer-icon-04.png);
  }

  #fn-05 {
    background-image: url(../images/footer-icon-05.png);
  }
}

@media screen and (max-width: 768px) {
  .footer-link {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
  }

  .footer-link a {
    flex-basis: 46%;
  }
}

@media screen and (max-width: 576px) {
  .footer-link a {
    flex-basis: 100%;
  }
}

/* 標題與麵包屑*/
.page-title {
  min-height: 3.75em;
  display: flex;
  align-items: center;
  display: flex;
}

/*.page-title2 {
    font-size: 1em;
    line-height: 1.563em;
    padding-left: 20px;
    padding-right: 0.938em;
}*/

.content-title {
  /* font-weight: normal; */
  margin: 0;
  /* padding-bottom: 2.5em;*/
  padding-bottom: 0.625em;
  font-size: 1.25em;
  font-weight: bold;
  text-align: center;
  line-height: 1; /*1110720*/
}

/*.content-title2 {
    margin: 0;
    padding-bottom: 0.625em;
    font-size: 1.125em;
    font-weight: bold;
    text-align: center;
}*/
.bread {
  display: flex;
  align-items: stretch;
}

.bread a {
  font-size: 0.875em;
  background-color: var(--White-color);
  padding: 0.625em;
  border-radius: 20px;
  box-shadow: 0 0.25em 0.625em rgba(0, 0, 0, 0.1);
}

.bread span {
  display: flex;
  align-items: center;
  margin: 0 0.625em;
}

.block {
  margin-bottom: 0.938em;
  padding-top: 1.25em;
  padding-bottom: 1.25em;
}

.block-title {
  color: var(--Cyan-color);
}

@media screen and (max-width: 992px) {
  .page-title {
    /* display: none;*/
    font-size: 1em;
    line-height: 1.563em;
    padding-left: 20px;
    padding-right: 0.938em;
    display: inherit;
  }

  .content-title {
    /*display: none;
        font-size: 1.125em;*/
  }

  .block-title {
    text-align: center;
  }
}

/*卡片樣式*/
.card-link {
  background-color: #fff;
  border-radius: 5px;
  box-sizing: border-box;
  margin-top: 0.938em;
}

.card-link:active {
  position: relative;
  left: 2px;
  top: 0.125em;
}

.card-link.no-click:active {
  position: relative;
  left: 0px;
  top: 0em;
}

.card-link > a {
  display: block;
  height: 100%;
  padding: 1.25em;
}

.card-link a {
  color: var(--Dark-color);
}

/*1110309 irene卡片樣式有兩種，無:給院所清單使用；-2:title有顏色給其他資料內容使用*/
.card-link-2 {
  border-color: var(--Steel-color);
  border-width: 1px;
  border-style: solid;
  border-radius: 5px;
  /* box-shadow: 0.063em 0.063em 0.25em rgba(0,0,0,0.3); */
  box-sizing: border-box;
  margin-top: 0.938em;
}

.card-link-2:active {
  position: relative;
  left: 2px;
  top: 0.125em;
}

.card-link-2.no-click:active {
  position: relative;
  left: 0px;
  top: 0em;
}

.card-link-2 > a {
  display: block;
  height: 100%;
  padding: 1.25em;
}

.card-link-2 a {
  color: var(--Cyan-color);
  text-decoration: underline;
}

.card-link-2 .row-more .col {
  margin-bottom: 0.938em;
  padding-left: 5px;
}

.card-link-2 div.col-content {
  padding: 0;
  margin: 0;
}
/*1110318 irene提供急診即時資訊使用，小版面為card，大版面為table*/
.card-link-3 table,
.card-link-3 th,
.card-link-3 td {
  border: none;
}

.card-link-3 thead th {
  vertical-align: bottom;
  /* background-color: #ffffff; */
}

.card-link-3 th,
.card-link-3 td {
  line-height: 1.2em;
  padding: 0.375em;
  border-bottom: 1px solid var(--Stone-color);
}

.card-link-3 a {
  font-weight: bold;
  color: var(--Cyan-color);
  text-decoration: underline;
}

.card-link-3 td {
  text-align: right;
  padding-right: 4%;
}

.card-link-3 td:nth-child(5) {
  padding-right: 6%;
}

.card-link-3 td:first-child,
.card-link-3 td:last-child {
  text-align: center;
  padding: 0;
}
/*1110329 Jenny新增卡片樣式 -4:特材清單使用(連結文字無底線)*/
.card-link-4 {
  border-color: var(--Steel-color);
  border-width: 1px;
  border-style: solid;
  border-radius: 5px;
  /* box-shadow: 0.063em 0.063em 0.25em rgba(0,0,0,0.3); */
  box-sizing: border-box;
  margin-top: 0.938em;
}

.card-link-4:active {
  position: relative;
  left: 2px;
  top: 0.125em;
}

.card-link-4.no-click:active {
  position: relative;
  left: 0px;
  top: 0em;
}

.card-link-4 > a {
  display: block;
  height: 100%;
  padding: 1.25em;
}

.card-link-4 a {
  color: var(--Cyan-color);
  /*text-decoration: underline;*/
}

.card-link-4 .row-more .col {
  margin-bottom: 0.938em;
  padding-left: 5px;
}

.card-link-4 div.col-content {
  padding: 0 1em 0 0;
  margin: 0;
}

/*1110414 Jenny提供醫材比價網使用，小版面為card=>card-link-4，大版面為table=>card-link-5*/
.card-link-5 table,
.card-link-5 th,
.card-link-5 td {
  border: none;
}

.card-link-5 th,
.card-link-5 td {
  line-height: 1.2em;
  padding: 0.375em;
  border-bottom: 1px solid var(--Stone-color);
}

.card-link-5 a {
  font-weight: bold;
  color: var(--Cyan-color);
  /*text-decoration: underline;*/
}

.card-link .col-content a,
.card-link .content-txt a {
  color: var(--Cyan-color);
}

.col-content2 a {
  color: var(--Cyan-color);
}

.content-txt {
  margin-top: 0.625em;
}

.content-txt p {
  margin-bottom: 1em;
}

.content-wrap {
  margin-top: 0.313em;
}

.box-title {
  background-color: var(--Ice-color);
  padding: 0.938em;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: var(--Steel-color);
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  font-weight: bold;
}

.content-name-title {
  font-size: 1.125em;
  color: #4e4e4e;
  font-weight: bold;
}

.content-name-title2 {
  font-size: 1.25em;
  color: #4e4e4e;
  font-weight: bold;
}

.box-content {
  padding: 0.125em 0em;
}

.card-link-2 .box-content {
  padding: 0.625em 0em;
}

.card-link-4 .box-content {
  padding: 0.625em 0em;
}

.hospital-card {
  background-image: url(../images/icon-hospital.svg);
  background-repeat: no-repeat;
  padding-left: 40px;
  padding-right: 0.938em;
  background-position: center left 15px;
  border: 1px solid #d1d1d1;
  border-radius: 0;
  padding-top: 0.125em;
}

.hospital-card-2 {
  background-image: url(../images/icon-map-green.svg);
  background-repeat: no-repeat;
  padding-left: 40px;
  padding-right: 0.938em;
  background-position: center left 15px;
  border: 1px solid #d1d1d1;
  border-radius: 0;
}

.article-card {
  background-image: url(../images/book-atlas-solid.svg);
  background-repeat: no-repeat;
  background-size: 1.375em;
  padding-left: 40px;
  padding-right: 0.938em;
  background-position: center left 15px;
  border: 1px solid #d1d1d1;
  border-radius: 0;
  padding-top: 0.125em;
}

.HomeHealthCare-card {
  background-image: url(../images/nav-icon-07.png);
  background-repeat: no-repeat;
  padding-left: 40px;
  padding-right: 0.938em;
  background-position: center left 15px;
  border: 1px solid #d1d1d1;
  border-radius: 0;
}

.HomeHealthCare9em-card {
  background-image: url(../images/nav-icon-07-144px.png);
  background-repeat: no-repeat;
  background-size: 3.125em;
  padding-left: 40px;
  padding-right: 0.938em;
  background-position: center left 15px;
  border: 1px solid #d1d1d1;
  border-radius: 10px;
}

.Hospselect-card {
  background-image: url(../images/icon_hospital.png);
  background-repeat: no-repeat;
  background-size: 3.125em;
  padding-left: 40px;
  padding-right: 0.938em;
  background-position: center left 15px;
  border: 1px solid #d1d1d1;
  border-radius: 10px;
  padding-top: 0.125em;
}

.DentalandTrauma-card {
  background-image: url(../images/title-health-measure-07-3.125em.png);
  background-repeat: no-repeat;
  padding-left: 40px;
  padding-right: 0.938em;
  background-position: center left 15px;
  border: 1px solid #d1d1d1;
  border-radius: 0;
  padding-top: 0.125em;
}

.DentalandTrauma9em-card {
  background-image: url(../images/title-health-measure-07-9em.png);
  background-repeat: no-repeat;
  background-size: 3.125em;
  padding-left: 40px;
  padding-right: 0.938em;
  background-position: center left 15px;
  border: 1px solid #d1d1d1;
  border-radius: 0;
  border-radius: 10px;
}

@media screen and (max-width: 992px) {
  .hospital-card {
    padding-left: 35px;
    padding-right: 0;
    padding-bottom: 0.938em;
    background-position: center left 0;
    border: none;
    border-bottom: 1px solid #d1d1d1;
  }
  /*1110308 irene 因要仿照hospital-card的模式，加入下方區塊，在畫面大小調整時才能有一樣的效果*/
  .hospital-card-2 {
    padding-left: 35px;
    padding-right: 0;
    padding-bottom: 0.938em;
    background-position: center left 0;
    border: none;
    border-bottom: 1px solid #d1d1d1;
  }

  .article-card {
    padding-left: 35px;
    padding-right: 0;
    padding-bottom: 0.938em;
    background-position: center left 0;
    border: none;
    border-bottom: 1px solid #d1d1d1;
  }
}

.friendly-card {
  background-image: url(../images/friendly.png);
  background-repeat: no-repeat;
  background-size: 1.563em;
  padding-left: 40px;
  padding-top: 0.094em;
  background-position: center left 5px;
}

.filter2-card {
  background-image: url(../images/filter2.svg);
  background-repeat: no-repeat;
  background-size: 0.938em;
  padding-left: 20px;
  padding-top: 0.094em;
  background-position: right 3.75em bottom 50%;
}

.filter2-card-18 {
  background-image: url(../images/filter2.svg);
  background-repeat: no-repeat;
  background-size: 1em;
  padding-left: 20px;
  padding-top: 0.125em;
  background-position: right 4.688em bottom 50%;
}

.content-catalog-small {
  /*color: var(--Stone-color);
	font-size: 0.875em;*/
  color: #4e4e4e;
  font-size: 1em;
  background-repeat: no-repeat;
  line-height: 1.125em;
  margin-top: 0.313em;
}

.content-address-small {
  color: #484848;
  /*font-size: 0.875em;*/
  font-size: 1em;
  background-image: url(../images/icon-map.svg);
  background-repeat: no-repeat;
  padding-left: 20px;
  line-height: 1.125em;
  margin-top: 0.313em;
}

.content-tel-small {
  /*color: var(--Stone-color);
	font-size: 0.875em;*/
  color: #4e4e4e;
  font-size: 1em;
  background-image: url(../images/icon-phone.svg);
  background-size: 0.875em;
  background-repeat: no-repeat;
  padding-left: 20px;
  line-height: 1.125em;
  margin-top: 0.313em;
}

.col-name {
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: 5em;
  display: flex;
  align-items: center;
  align-items: flex-start;
  line-height: 1.4em;
  font-weight: bold;
}

.col-name-icon {
  display: flex;
}

.name-icon {
  width: 15px;
  margin-right: 0.5em;
  margin-top: 0.313em;
  display: flex;
  align-items: center;
  height: 100%;
}

.bold {
  font-weight: bold;
}

.name-s {
  flex-basis: 2em;
}

.name-sm {
  flex-basis: 3em;
}

.name-m {
  flex-basis: 4em;
}

.name-ml {
  flex-basis: 5em;
}

.name-l {
  flex-basis: 6em;
}

.name-2l {
  flex-basis: 6.5em;
}

.name-xl {
  flex-basis: 7em;
}

.name-3l {
  flex-basis: 8em;
}

.name-xxl {
  flex-basis: 9em;
  padding-right: 1em;
}

.name-5xl {
  flex-basis: 11em;
}

.name-6xl {
  flex-basis: 13em;
}

.name-12xl {
  flex-basis: 24em;
}

.name-long {
  flex-basis: 100%;
  margin-bottom: 0.313em;
}

.col-name-flex {
  flex-grow: 1;
  flex-shrink: 0;
  align-items: center;
}

.col-content {
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: 7em;
  display: flex;
  align-items: center;
  line-height: 1.4em;
  align-items: flex-start;
}

.col-content2 {
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: 7em;
  display: flex;
  align-items: center;
  line-height: 1.4em;
  align-items: flex-start;
  font-weight: bold;
}

.no-flex {
  display: block;
}

.content-long {
  padding-left: 23px;
}

.content-long2 {
  padding-left: 50%;
  padding-right: 0.188em;
  padding-top: 0.313em;
  text-align: right;
  color: grey;
  font-size: 0.8em;
  /*width:35%;*/
}

.display-block {
  display: block;
}

.col-content-medium {
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: 80%;
}

.col-content-long {
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: 100%;
}

.col-option {
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: 3.125em;
  display: flex;
  align-items: center;
  /* justify-content: flex-end; */
}

.row-nowrap-wrap {
  margin-bottom: 0.938em;
}

.row-nowrap-wrap:last-child {
  margin-bottom: 0;
}

.card-time-line-group {
  padding-left: 30px;
}

.card-time-line-group .card-link {
  position: relative;
}

.card-time-line-group .card-link:before {
  content: "";
  display: block;
  width: 22px;
  height: 1.375em;
  background-color: var(--Cyan-color);
  border-radius: 22px;
  position: absolute;
  left: -30px;
  top: 0.625em;
}

.card-time-line-group .card-link:after {
  content: "";
  display: block;
  width: 5px;
  height: 115%;
  background-color: var(--Cyan-color);
  position: absolute;
  left: -21px;
  top: 0.625em;
}

.card-time-line-group .card-link:last-child:after {
  display: none;
}

.row-block {
  border: 1px solid #ccc;
  border-top: none;
  box-sizing: border-box;
  /*padding: 0.938em;*/
  padding: 0.625em;
}

.row-block:first-child {
  border-top: 1px solid #ccc;
}

@media screen and (max-width: 992px) {
  .row-block {
    /*margin-bottom: 1.25em;*/
    margin-bottom: 0.125em;
    border: none;
    border-bottom: 1px dashed #ccc;
    /*padding-bottom: 0.938em;*/
    padding-bottom: 0.625em;
  }

  .row-block:first-child {
    border-top: none;
  }

  .row-block:last-child {
    margin-bottom: 0;
  }

  .name-icon {
  }
}

@media screen and (max-width: 768px) {
  .nowrap-wrap .col-name {
    flex-basis: 100%;
  }

  .nowrap-wrap .col-content {
    flex-basis: 100%;
    margin-top: 0.938em;
  }
}

@media screen and (max-width: 576px) {
  .row-nowrap-wrap .col-name {
    flex-basis: 100%;
  }

  .row-nowrap-wrap .col-content {
    flex-basis: 100%;
    margin-top: 0.313em;
  }

  .row-more .name-xxl {
    flex-basis: 100%;
  }
}

/*卡片樣式-貼心提醒樣式*/

.card-block {
  border-color: var(--Steel-color);
  border-width: 1px;
  border-style: solid;
  border-radius: 5px;
  border-left-width: 5px;
  border-left-color: var(--Cyan-color);
  box-shadow: 0.063em 0.063em 0.25em rgba(0, 0, 0, 0.3);
  box-sizing: border-box;
  margin-top: 0.938em;
  overflow: hidden;
  padding: 0.938em 0.938em 5.313em 0.938em;
  position: relative;
}

.pd-fix {
  padding-bottom: 0.938em;
}

.hint-info {
  line-height: 1.5em;
}

.btn-hint {
  color: var(--Plum-color);
  background-color: var(--Ice-color);
  display: block;
  border-radius: 5px;
  position: absolute;
  left: 15px;
  bottom: 0.938em;
  width: calc(100% - 60px);
  padding: 0.938em;
}

.btn-hint img {
  vertical-align: middle;
  margin-right: 0.313em;
}

.btn-more-recorder {
  color: var(--Plum-color) !important;
  background-image: url(../images/icon-18px-next.png);
  background-size: 0.563em auto;
  background-repeat: no-repeat;
  background-position: right center;
  padding-right: 0.938em;
  float: right;
}

.align-right {
  float: right;
}

.form-row {
  margin-top: 0.3125em;
  margin-bottom: 0.625em;
  position: relative;
}

/*有時段的區塊用*/
.form-row-time {
  margin-bottom: 4.375em;
  position: relative;
}

.form-input-flex {
  display: flex;
  align-items: center;
}

.form-name.absolute {
  position: absolute;
  left: 15px;
  top: -0.313em;
  z-index: 9;
  font-size: 0.85em;
  background-color: var(--White-color);
  padding: 0 0.313em;
}

.form-name {
  position: relative;
  font-size: 1.125em;
}

.form-content-txt {
  padding: 0.938em 0;
}

.form-content-txt ul {
  margin-left: 1.5em;
}

.photo-wrap img {
  width: 100%;
}

.photo-txt {
  padding: 0.938em;
}

.photo-switch-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 1.25em 0;
  padding: 0 0.938em;
}

.dotted-switch-bar {
  display: flex;
  align-items: center;
  justify-content: center;
}

.dotted-switch-bar a {
  display: block;
  width: 10px;
  height: 0.625em;
  background-color: var(--Stone-color);
  border-radius: 10px;
  margin: 0 0.313em;
}

.dotted-switch-bar a.current {
  background-color: var(--Dark-color);
}

.ics {
  display: inline-block;
  background-color: var(--Sea-color);
  border-radius: 5px;
  color: #fff;
  padding: 0.313em;
}

.option-btn-group {
  position: absolute;
  right: 0.938em;
  top: 0.938em;
}

.option-btn-group a {
  margin-left: 5px;
}

@media screen and (max-width: 992px) {
  .photo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vw;
  }
}

/*卡片樣式-第三方APP資料-生理量測*/
.box-data-group {
  line-height: 1.5em;
}

.box-data-list {
  margin-left: 2em;
}

.edit-record-box {
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: var(--Steel-color);
  margin: 0 -0.938em 0.938em -0.938em;
  padding: 0 0.938em 0.938em 0.938em;
}

.edit-record-box:last-child {
  margin-bottom: 0;
  border-bottom: none;
}

/*文字內文樣式*/
.sys-txt p {
  margin-bottom: 1em;
}

.sys-txt p:last-child {
  margin-bottom: 0;
}

.sys-txt ul {
  margin-left: 1.5em;
}

.sys-txt li {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  line-height: 1.5em;
}

.graphic-area {
  margin-top: 1.25em;
}

.graphic-area h3 {
  text-align: center;
  margin-bottom: 0.938em;
}

.tooth-img {
  max-width: 640px;
  width: 100%;
  border-width: 1px;
  border-color: var(--Steel-color);
  border-style: solid;
  border-radius: 5px;
  margin: auto;
  display: block;
}

.line-bar {
  border-bottom-style: solid;
  border-bottom-width: 1px;
  border-bottom-color: var(--Steel-color);
  margin: 1.25em 0;
  width: 100%;
}

.desktop-block {
  display: block;
}

.mobile-block {
  display: none !important;
}

.border-block {
  border-color: var(--Steel-color);
  border-width: 1px;
  border-style: solid;
  border-radius: 5px;
  padding: 1.25em 0.938em;
  margin-top: 0.938em;
  position: relative;
  overflow: hidden;
}

.open-close {
  position: absolute;
  right: 0.625em;
  top: 0.625em;
}

.stuts-block {
  border-radius: 5px;
  padding: 0.938em;
  font-size: 1.375em;
  line-height: 1.5em;
  text-align: center;
}

.stuts-block span {
  font-size: 0.72em;
}

.bg-iron {
  background-color: var(--Iron-color);
}

.bg-lime {
  background-color: var(--Lime-color);
}

.bg-custard {
  background-color: var(--Custard-color);
}

.bg-chiffon {
  background-color: var(--Chiffon-color);
}

.bg-peach {
  background-color: var(--Peach-color);
}

.bg-Salmon {
  background-color: var(--Salmon-color);
}

.open {
  display: block;
}

.close {
  display: none;
}

@media screen and (max-width: 992px) {
  .desktop-block {
    /* display: none; */
  }

  .mobile-block {
    display: block !important;
  }
}

/*篩選條件盒子樣式*/

.fliter-box {
  border-radius: 30px;
  padding: 0.8em 1em;
  line-height: 1.5em;
  background-color: var(--Blossom-color);
  color: var(--Plum-color);
  box-shadow: 0.063em 0.063em 0.25em rgba(0, 0, 0, 0.3);
  display: block;
}

.fliter-title {
  font-weight: bold;
}

.flter-rule {
  margin-left: 1em;
}

/*清單式資料樣式*/

.date-news-list li {
  display: flex;
  padding: 0.938em 0;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: var(--Steel-color);
  line-height: 1.5em;
  list-style: none;
}

.date-news-list li:last-child {
  border-bottom: none;
}

.date-time {
  flex-grow: 0;
  flex-shrink: 0;
  flex-basis: 6.25em;
}

.date-news {
  flex-grow: 1;
  flex-shrink: 1;
  flex-basis: 100%;
  color: var(--Cyan-color);
}

.date-news-content {
  color: var(--Dark-color);
  font-size: 0.9em;
}

.read-more {
  color: var(--Plum-color);
}

.family-list {
  background-color: var(--White-color);
  padding: 0 0.938em;
  border-radius: 5px;
  border-width: 1px;
  border-style: solid;
  border-color: var(--Steel-color);
}

.family-list li {
  padding: 0.938em 0;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: var(--Steel-color);
  list-style: none;
}

.family-list li:last-child {
  border-bottom: none;
}

/*tab樣式*/
.tab {
  display: flex;
  align-items: stretch;
  justify-content: center;
  margin-top: 0.313em;
}

.tab a {
  width: 50%;
  max-width: 230px;
  border-bottom-style: solid;
  border-bottom-width: 1px;
  border-bottom-color: var(--Steel-color);
  text-align: center;
  color: var(--Stone-color);
  padding: 0.938em 0;
}

.tab a.current {
  border-bottom-color: var(--Dark-color);
  border-bottom-width: 2px;
  color: var(--Dark-color);
}

.tab.three-tab a {
  width: 30%;
}

.stab a.current {
  color: var(--Dark-color);
}

.tab-large {
  margin-top: 0.938em;
}

.tab-large a {
  padding: 0.625em 0;
  color: var(--Steel-color);
}

.tab-large a.current {
  border-color: var(--Cyan-color);
  border-style: solid;
  border-width: 1px;
  border-bottom-width: 2px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

@media screen and (max-width: 992px) {
  .tab a {
    width: 50%;
    max-width: 150px;
  }

  .tab-large a {
    max-width: 230px;
  }
}

/*按鈕*/

.btn-wrap {
  display: flex;
  margin-top: 0.938em;
}

.btn-wrap input[type="file"] {
  display: none;
}

.btn-align-center {
  justify-content: center;
}

.form-btn-wrap {
  /* box-shadow: 0em -0.063em 0.25em rgba(0,0,0,0.3); */
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
}

.form-btn-wrap .btn {
  box-shadow: none;
  z-index: 99;
}

.fltter-btn-wrap {
  justify-content: flex-end;
  margin-top: -1.25em !important;
  padding-right: 0.625em;
  padding-bottom: 0.625em;
}

.mrf {
  margin-right: 1.25em;
}

.btn {
  text-align: center;
  display: block;
  color: var(--White-color) !important;
  background-color: var(--Cyan-color);
  border-radius: 24px;
  box-shadow: 0.063em 0.063em 0.25em rgba(0, 0, 0, 0.3);
  padding: 0.938em;
  box-sizing: border-box;
  cursor: pointer;
  font-weight: normal;
}

.btn-word {
  text-align: center;
  display: block;
  padding: 0.938em;
  box-sizing: border-box;
  cursor: pointer;
}

.btn-l {
  width: 220px;
}

.btn-m {
  width: 180px;
}

.btn-s {
  padding: 0.625em;
}

.file-no {
  background-image: url(../images/icon-12px-download-gray.png);
  color: var(--Steel-color);
}

.btn-edit {
  background-image: url(../images/icon-edit.png);
  background-repeat: no-repeat;
  background-position: left center;
  padding-left: 15px;
  color: var(--Plum-color) !important;
}

.btn-set {
  float: right;
  background-image: url(../images/icon-25px-set.png);
  background-repeat: no-repeat;
  background-position: left center;
  display: block;
  width: 25px;
  height: 1.563em;
}

.btn-go-more {
  color: var(--Plum-color);
  background-image: url(../images/icon-12px-next.png);
  background-repeat: no-repeat;
  background-position: right center;
  padding-right: 0.938em;
  float: right;
}

.btn-search {
  color: var(--Plum-color);
  background-image: url(../images/icon-25px-search.png);
  background-repeat: no-repeat;
  background-position: right center;
  width: 25px;
  height: 1.563em;
  display: block;
  position: absolute;
  right: 0em;
  top: 0.625em;
}

.btn-search2 {
  width: 100%;
  text-align: right;
  padding: 1.563em 0em;
  font-size: 1em;
}

/*進階查詢*/
.btn-search-more {
  text-align: right;
  padding: 0.313em 0em;
}

.btn-search-more img {
  width: 14px;
  height: 0.875em;
}

.btn-fliter {
  color: var(--Plum-color);
  background-image: url(../images/icon-25px-fliter.png);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 25px;
  height: 1.563em;
  display: block;
  position: absolute;
  left: 0px;
  top: 0.625em;
}

.search-bar {
  position: relative;
}

.btn-form {
  width: auto;
  flex-basis: 50%;
  border-radius: 0;
}

.btn-form-single {
  width: auto;
  flex-basis: 100%;
  border-radius: 0;
}

.btn-blossom {
  background-color: var(--Blossom-color);
  color: var(--Plum-color) !important;
}

.btn-iron {
  background-color: var(--Iron-color);
}

.btn-iron-color {
  color: var(--Iron-color);
}

.btn-delete {
  color: var(--Plum-color);
  float: right;
}

.btn-add-recoder {
  min-width: 140px;
  float: right;
}

.btn-plum-color,
.plum-color {
  color: var(--Plum-color) !important;
}

.cyan-color {
  color: var(--Cyan-color);
}

.stone-color {
  color: var(--Stone-color);
}

.bg-ice-color {
  background-color: var(--Ice-color);
}

.bg-special-color {
  background-color: #e9f7f4;
  color: var(--Cyan-color);
  font-size: 1.35em;
}

.btn-bold,
.font-bold {
  font-weight: bold;
}

.small-txt {
  font-size: 0.875em;
}

/*20231211 S02 點選更多資料image的大小*/
.btn-more-option-link {
  width: 50px;
  height: 6.25em;
  display: flex;
  align-items: center;
}

@media screen and (max-width: 992px) {
  a.btn {
    width: 100%;
  }

  .file-no {
    background-color: var(--Iron-color);
  }

  .btn-s {
    width: auto !important;
  }

  .btn-add-recoder {
    float: none;
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100vw;
    background-image: none;
    padding-left: 0;
    padding-top: 1.25em;
    padding-bottom: 1.25em;
    text-align: center;
    color: var(--White-color);
    background-color: var(--Cyan-color);
    border-radius: 0;
  }
}

/*頁碼*/
.page-wrap {
  /*display: flex;*/
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: space-between;
  margin: 2.625em -0.625em 0 -0.625em;
}

.page-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: center;
}

.page-col {
  margin: 0 0.313em;
  flex-grow: 0;
  flex-shrink: 0;
}

.page-row a {
  display: block;
  line-height: 1.25em;
  width: 30px;
  text-align: center;
  font-size: 0.875em;
}

.page-btn {
  color: var(--Cyan-color);
  display: block;
}

.page-btn.current {
  border-width: 1px;
  border-style: solid;
  border-color: var(--Cyan-color);
}

/*Checkbox群組 & Radiobtn群組*/
.checkbox-wrap label {
  display: block;
  margin: 1em 0;
}

.checkbox-wrap-2 label {
  display: inline-block;
  margin: 1em 1.5em 0 0;
}

.checkbox-label {
  word-break: normal;
  width: 86%;
  display: inline-grid;
  white-space: pre-line;
  word-wrap: break-word;
  overflow: hidden;
  line-height: 1.25em;
}

input[type="checkbox"] {
  display: none;
}

.checkbox-unit:before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1.5em;
  background-image: url(../images/icon-uncheck.png);
  margin-right: 0.938em;
  vertical-align: middle;
}

.checkbox-unit.single:before {
  margin-right: 0;
}

.checkbox-unit.smr:before {
  margin-right: 0.313em;
}

input[type="checkbox"]:checked + span.checkbox-unit:before {
  background-image: url(../images/icon-check.png);
}

.radiobtn-wrap {
  display: flex;
}

.radiobtn-wrap label {
  display: flex;
  align-items: center;
  margin-right: 0.313em;
}

input[type="radio"] {
  display: none;
}

.radio-unit:before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 1.5em;
  background-image: url(../images/icon-radio-uncheck.png);
  margin-right: 0.313em;
}

input[type="radio"]:checked + span.radio-unit:before {
  background-image: url(../images/icon-radio-check.png);
}

.radiobtn-newstyle .radio-unit:before {
  width: 0;
  height: 0;
  display: none;
}

.radiobtn-newstyle label {
  margin-right: 0.063em;
}

.radiobtn-newstyle span {
  background-color: var(--Iron-color);
  padding: 0.625em;
  color: var(--Stone-color);
}

.radiobtn-newstyle input[type="radio"]:checked + span {
  background-color: var(--Cyan-color);
  color: var(--White-color);
}

.radiobtn-wrap-block label {
  display: block;
  margin: 1em 0;
}

.radio-unit-green:before {
  content: "";
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  background-image: url(../images/icon-radio-uncheck-green.png);
  background-size: 1.5em;
  margin-right: 0.3125em;
  vertical-align: middle;
}

input[type="radio"]:checked + span.radio-unit-green:before {
  background-image: url(../images/icon-radio-check-green.png);
}

.radio-unit-box {
  border: 2px solid #d1d1d1;
  border-radius: 5px;
  padding: 0.188em 0.313em;
  font-size: 0.875em;
}

input[type="radio"]:checked + span.radio-unit-box {
  border: 2px solid #197584;
  background-color: #197584;
  color: #fff;
}

.time-set.radiobtn-wrap {
  float: right;
  /*margin-bottom: 0.625em;*/
  margin-bottom: 1.125em;
}

.mtmb {
  margin: 1.25em 0 0.625em 0;
  font-size: 0.85em;
}

.form-name.mtmb {
  position: relative;
}

.fs-name {
  position: absolute;
  left: 15px;
  top: -0.313em;
  background-color: var(--White-color);
  padding: 0 0.313em;
  z-index: 99;
}

.fs-name.sp {
  top: 1.875em;
  background-color: var(--White-color);
  padding: 0 0.313em;
}

/*食物成分表*/
.food-info-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.25em;
}

.fibox {
  flex-grow: 1;
  text-align: center;
}

.fname {
  margin-bottom: 0.625em;
}

.food-list {
  display: flex;
  align-items: center;
}

.food-list span {
  margin-right: 0.938em;
}

.food-list select {
  flex-basis: calc(100% - 5em);
}

/*行事曆類別色塊*/
.color-box {
  display: inline-block;
  width: 15px;
  height: 0.938em;
}

.form-name .color-box {
  margin-left: 10px;
  vertical-align: top;
}

.calander-txt .color-box {
  margin-right: 0.625em;
  vertical-align: center;
}

.calander-txt {
  width: 100%;
  margin-bottom: 0.313em;
}

.color-box-select {
  display: flex;
  align-items: center;
}

.color-00 {
  background-color: var(--Orange-color);
}

.color-01 {
  background-color: var(--Sea-color);
}

.color-02 {
  background-color: var(--Lime-color);
}

.color-03 {
  background-color: var(--Custard-color);
}

.color-04 {
  background-color: var(--Cyan-color);
}

.date-switch {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0.938em 0;
}

.date-switch div {
  margin: 0 0.938em;
}

/*登入相關*/
.login-container {
  padding-top: 0.938em;
  padding-bottom: 0.938em;
}

.login-info {
  margin-top: 1.25em;
}

.login-info h2 {
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: var(--Stone-color);
  padding-bottom: 0.938em;
  padding-top: 0.938em;
  position: relative;
  background-image: url(../images/icon-date-click.png);
  background-repeat: no-repeat;
  background-position: right center;
}

.login-info h2:before {
  content: "";
  display: block;
  width: 3px;
  height: 0.938em;
  background-color: var(--Cyan-color);
  display: inline-block;
  margin-right: 0.938em;
}

.align-center {
  text-align: center !important;
}

.bold {
  font-weight: bold;
}

.normal {
  font-weight: normal;
  color: var(--Stone-color);
}

.login-info-box {
  margin-bottom: 3.125em;
}

.login-box {
  max-width: 420px;
  margin: auto;
}

.login-box .btn {
  margin: 0 0.313em;
}

.login-main .btn {
  border-radius: 5px;
}

.login-main .form-content {
  padding-bottom: 0.938em;
}

.login-box .form-input-block {
  display: flex;
  align-items: center;
}

.card-number span {
  margin: 0 0.313em;
}

.card-number input {
  text-align: center;
}

.login-footer {
  margin-top: 1.875em;
}

.login-footer img {
  width: 60px;
}

/*衛教資訊*/
.news-info-list {
  /*margin-top: 0.938em;*/
  line-height: 1.325em;
  font-size: 1.15em;
}

.news-info-list a {
  display: block;
  border-bottom-width: 1px;
  border-bottom-style: solid;
  border-bottom-color: var(--Steel-color);
  padding: 0.938em 0;
}

.news-info-list a:last-child {
  border-bottom-width: 0;
  padding-bottom: 0;
}

@media screen and (max-width: 992px) {
  .news-info-list {
    line-height: 1.325em;
    font-size: 1.25em;
  }
}

/*常用功能*/
.sort-btn-group {
  flex-basis: 6.25em;
  display: flex;
  justify-content: space-between;
  margin-right: 1.25em;
}

.sort-btn {
  display: inline-block;
}

.sort-up {
}

.sort-down {
}
/*家醫問卷*/
.paper-title {
  text-align: center;
  line-height: 1.5em;
}

.paper-txt p {
  margin-bottom: 1em;
}

.bottom-btn-wrap {
  justify-content: center;
}

@media screen and (max-width: 992px) {
  .bottom-btn-wrap .btn {
    position: fixed;
    left: 0;
    bottom: 0;
    border-radius: 0;
    width: 100vw;
  }
}

/*眷屬管理 bar*/
.escrow-bar {
  display: flex;
  align-items: center;
  padding-top: 0.938em;
  padding-bottom: 0.938em;
  background-color: var(--Pale-color);
}

.escrow-bar img {
  margin-right: 0.625em;
}

.escrow-bar span {
  margin-right: 1.875em;
}

@media screen and (max-width: 992px) {
  .escrow-bar {
    position: relative;
    top: 3.063em;
    width: 100%;
  }
}
/* The container must be positioned relative: */
.custom-select {
  position: relative;
  font-family: Arial;
}

.custom-select select {
  display: none; /*hide original SELECT element: */
}

/* .select-selected { */
/* background-color: var(--White-color); */
/* } */

/* Style the arrow inside the select element: */
.select-selected:after {
  position: absolute;
  content: "";
  top: 0.063em;
  right: 0em;
  width: 35px;
  height: calc(100% - 0.125em);
  background-image: url(../images/select-down.png);
  background-repeat: no-repeat;
  background-position: center;
  border-left-style: solid;
  border-left-width: 1px;
  border-left-color: var(--Iron-color);
}

/* Point the arrow upwards when the select box is open (active): */
.select-selected.select-arrow-active:after {
  background-image: url(../images/select-up.png);
}

/* style the items (options), including the selected item: */

.select-items div,
.select-selected {
  color: var(--Dark-color);
  padding: 0.5em 1em;
  cursor: pointer;
}

.select-selected {
  border-width: 1px;
  border-style: solid;
  border-color: var(--Yellow-color);
  border-radius: 5px;
  box-shadow: 0 0 0.313em 0.125em rgba(0, 0, 0, 0.1);
  background-color: var(--White-color);
}

/* Style items (options): */
.select-items {
  position: absolute;
  background-color: var(--White-color);
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
  border-width: 1px;
  border-style: solid;
  border-color: var(--Yellow-color);
  border-radius: 5px;
  box-shadow: 0 0 0.313em 0.125em rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

/* Hide the items when the select box is closed: */
.select-hide {
  display: none;
}

.selected-style-homecare {
  padding: 0em 1.875em 0em 0em;
  width: 75%;
  height: 1.875em;
  border: 1px solid;
  margin-left: 0em;
  margin-bottom: 0.625em;
}
.select-items div:hover,
.same-as-selected {
  background-color: var(--Blossom-color);
}

/*彈跳視窗-透明黑底*/
.cover-bg {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 99999;
}

.close-cover {
  display: none;
}

.pop-window {
  background-color: var(--White-color);
  width: 460px;
  position: relative;
  max-height: 100vh;
}

.btn-close {
  position: absolute;
  left: 20px;
  top: 1em;
  display: block;
  width: 24px;
  height: 1.5em;
  background-image: url(../images/btn-close.png);
}

.btn-back {
  position: absolute;
  left: 20px;
  top: 1em;
  display: block;
  width: 24px;
  height: 1.5em;
  background-image: url(../images/btn-back-green.png);
}

.fltter-window {
  border-radius: 5px;
  max-height: 75vh;
  overflow: scroll;
}

.scroll-window {
  max-height: 90vh;
  overflow: scroll;
}

.pop-hint {
  padding: 1.25em;
}

.form-title {
  text-align: center;
  font-size: 1.125em;
  padding: 1.25em;
  border-bottom-style: solid;
  border-bottom-width: 2px;
  border-color: var(--Cyan-color);
}

.form-content {
  padding: 1.25em 1.25em 1.25em 1.25em;
  box-sizing: border-box;
}

.form-content.scroll {
  /* max-height: 80vh; */
  max-height: calc(100vh - 3em);
  overflow: auto;
}

.pt-fix {
  padding-bottom: 2.5em;
}

.form-content-gray {
  padding: 0 0 5.625em 0;
  box-sizing: border-box;
  background-color: var(--Silver-color);
  height: 100%;
  max-height: 80vh;
  overflow: auto;
}

.form-content-gray .container {
  padding-left: 15px;
  padding-right: 0.938em;
}

.file-name {
  margin-top: 0.938em;
  flex-grow: 1;
  flex-grow: 1;
}

.square {
  display: inline-block;
  margin-right: 0.313em;
  vertical-align: top;
  width: 17px;
  height: 1.063em;
  background-color: var(--Dark-color);
  border-radius: 5px;
}

.file-name a .square {
  background-color: var(--Cyan-color);
}

.fold-title {
  font-weight: bold;
  font-size: 1.15em;
}

.fold-title span.close {
  display: inline-block;
  padding-right: 1.563em;
  background-image: url(../images/icon-12px-up.png);
  background-repeat: no-repeat;
  background-position: right center;
}

.fold-title span.open {
  display: inline-block;
  padding-right: 1.563em;
  background-image: url(../images/icon-12px-down-2.png) !important;
  background-repeat: no-repeat;
  background-position: right center;
}

.form-block-wrap {
  margin-top: 1.25em;
}

@media screen and (max-width: 992px) {
  .cover-bg {
    align-items: flex-start;
  }

  .pop-window {
    width: 100vw;
    height: 100%;
  }

  .pop-window.fltter-window {
    width: 335px;
    height: auto;
    margin-top: 3.75em;
  }

  .form-title {
    background-color: var(--Cyan-color);
    color: var(--White-color);
  }

  .btn-close {
    position: absolute;
    left: 20px;
    top: 1em;
    display: block;
    width: 24px;
    height: 1.5em;
    background-image: url(../images/btn-close-mobile.png);
  }

  .btn-back {
    background-image: url(../images/btn-back.png);
  }
}

/*loading畫面*/
.loading-box {
  text-align: center;
  margin-bottom: 2.5em;
}

@keyframes typing {
  from {
    width: 0;
  }
}

.loading-txt {
  width: 11em;
  margin: auto;
  overflow: hidden;
  white-space: nowrap;
  animation: typing 3s steps(11) infinite;
}

/*下載服務說明展開與收闔*/
.txt-more {
  text-align: right;
}

#more-hidden {
  display: block;
  width: 85px;
  height: 1em;
  background-repeat: no-repeat;
  background-position: center;
  color: var(--Plum-color);
  float: right;
  margin-top: 0.625em;
}

#more-hidden.txt-more:before {
  content: "更多";
}

#more-hidden.txt-hidden:before {
  content: "隱藏";
}

#more-hidden.txt-hidden {
}

#some-info {
  overflow: hidden;
  height: 1.875em;
}

.height-l {
  height: auto !important;
}

/*眷屬管理展開與收闔樣式改寫*/
.nwrap {
  display: none;
}

.open {
  display: block;
}

.button-up-down {
  display: block;
  width: 36px;
  height: 2.25em;
  background-image: url(../images/button-down.png);
}

.button-up-down.open {
  background-image: url(../images/button-up.png);
}

/*院所查詢*/
.map-area {
  margin-top: 0.938em;
}

.map-area iframe,
.map-area-s iframe {
  width: 100%;
}

.map-fliter-box {
  align-items: center;
}

.map-fliter-box .btn,
.map-fliter-box div {
  margin-right: 0.938em;
}

@media screen and (max-width: 992px) {
  .map-area {
    margin-left: -20px;
    margin-right: -1.25em;
  }
}

@media screen and (max-width: 500px) {
  .map-fliter-box {
    flex-wrap: wrap;
  }

  .km-box {
    flex-basis: 100%;
    margin-bottom: 0.938em;
  }
}

/*醫材比價*/
.flex-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.flex-box-2 {
  display: flex;
  align-items: center;
}

.flex-inner-1 {
  flex-basis: calc(100% - 1.5em);
  flex-grow: 0;
  flex-shrink: 1;
  margin-right: 0.5em;
}

.flex-inner-2 {
  flex-basis: calc(100% - 2.5em);
  flex-grow: 0;
  flex-shrink: 1;
  margin-right: 0.5em;
}

.flex-box-2 select {
  margin-right: 1em;
}

.flex-box-2 select:last-child {
  margin-right: 0;
}

.box-content .form-content {
  padding-left: 0;
  padding-right: 0;
  padding-bottom: 0em;
}

/*查詢條件*/
.s-box {
  background-color: var(--Silver-color);
  font-size: 0.875em;
  color: var(--Cyan-color);
  padding: 1.25em;
}

.s-title {
  font-weight: bold;
}

.size-14 {
  font-size: 0.875em;
}

.size-18 {
  font-size: 1.125em;
}

@media screen and (max-width: 992px) {
  .s-box {
    margin-left: -20px;
    margin-right: -1.25em;
  }
}

.col-content-li {
  margin-left: 1em;
}

.max-width-1 {
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
}

.max-width-2 {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
}

@media screen and (max-width: 992px) {
  .max-width-1 {
    max-width: 100%;
  }

  .max-width-1 .form-content {
    padding-left: 0;
    padding-right: 0;
  }

  .max-width-2 .form-content {
    padding-left: 0;
    padding-right: 0;
    padding-bottom: 3.125em;
  }

  .max-width-2 .row-nowrap {
    flex-wrap: wrap;
  }

  .max-width-2 .col-2 {
    flex-basis: calc(100% - 0.875em);
  }
}

/*院所查詢，進階查詢的其他樣式*/
.more-info-btn {
  margin-left: 5px;
  padding-right: 1.25em;
  background-image: url(../images/icon-12px-down-green.png);
  background-repeat: no-repeat;
  background-position: right center;
}

.more-info-btn.close {
  display: inline-block;
  margin-left: 5px;
  padding-right: 1.25em;
  background-image: url(../images/icon-12px-up-green.png);
  background-repeat: no-repeat;
  background-position: right center;
}

.more-info-block {
  /* background-color: #D7F1F5; */
  padding: 0.625em;
  color: #4e4e4e;
  /* position: absolute; */
  left: 140px;
  bottom: 0;
  /* width: 225px; */
  font-size: 16x;
  display: none;
  border: 1.25px solid var(--Cyan-color);
  margin: 0.313em;
}

.info-open {
  display: block;
}

.hr-line {
  border-top: 2px solid var(--Stone-color);
  margin: 1.25em 3.125em 1.25em 3.125em;
}
.hr-line-green {
  border-top: 2px solid var(--Green-color);
  margin: 1.25em 1.875em 1.25em 1.875em;
}

/*20220412 Jenny 帶有excel下載時的result-group-bar*/
.btn-download {
  text-align: center;
  display: block;
  color: var(--White-color) !important;
  background-color: var(--Cyan-color);
  border-radius: 24px;
  box-shadow: 0.063em 0.063em 0.25em rgba(0, 0, 0, 0.3);
  padding: 0.5em;
  box-sizing: border-box;
  cursor: pointer;
  font-weight: normal;
}

.result-group-bar {
  margin: 0.625em 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.result-group-bar .btn-download {
  margin-right: 0.938em;
}
/*11110412 Jenny end */

/*Allen section*/
.pager-big {
  display: block;
}

.pager-small {
  display: none;
}

.card-link-5 {
  display: block;
}

@media screen and (max-width: 992px) {
  .pager-big {
    display: none;
  }

  .pager-small {
    display: block;
  }

  .card-link-5 {
    display: none;
  }
}
/*Allen section*/

.gototop {
  display: none;
}

/* top 1110615 add*/
@media screen and (max-width: 992px) {
  .gototop {
    display: block;
    width: 50px;
    height: 3.125em;
    background-color: #343434ad;
    border-radius: 40px;
    text-align: center;
    color: #fff;
    line-height: 3.125em;
    position: fixed;
    right: 0.938em;
    bottom: 5em;
    z-index: 999;
    font-size: 80%;
  }
}
