@charset "UTF-8";
body {
  color: #333;
  font-family: "微軟正黑體", "黑體-繁", Helvetica, sans-serif, monospace;
  background-color: white;
  padding: 1em 0em;
  visibility: hidden;
  touch-action: manipulation;
}

label {
  font-weight: normal;
}

.btn:focus,
.btn:active {
  outline: none;
}

a {
  outline: none;
  border: none;
  text-decoration: none;
}
a:focus, a:focus {
  outline: none;
}

/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

input {
  -webkit-appearance: none;
}

h1 {
  display: flex;
  color: #0066cc;
  font-weight: bolder;
  padding-left: 3rem;
}

a {
  color: #0066cc;
  text-decoration: none;
  font-weight: bolder;
}

.part:nth-child(2) {
  border-bottom: 1px solid #ddd;
}

.part:last-child {
  display: flex;
  flex-direction: row;
  margin: 2em 0 1em 0;
}

.row {
  display: flex;
  flex-flow: row wrap;
  align-items: center;
  height: 4em;
  font-size: 0.9em;
  background-color: #eee;
  padding: 0em 1.5em;
}
.row:first-child {
  padding-top: 1.5em;
}
.row:last-child {
  padding-bottom: 1.5em;
}
.row .col-text {
  margin: 0 0.5em;
  width: 5em;
  text-align: center;
}
.row .col-text.must {
  font-weight: bolder;
  text-decoration: underline;
}
.row input {
  width: 12em;
  height: 2.5em;
  padding-left: 0.5em;
  margin-right: 3em;
  font-size: 1em;
  border-radius: 0.5em;
  border: 1px solid #ddd;
}
.row select, .row option {
  width: 12em;
  margin-right: 3em;
}
.row input[type=submit] {
  width: 10rem;
  height: 3rem;
  background-color: DeepSkyBlue;
  color: white;
  font-weight: bolder;
  font-size: 1rem;
  border-radius: 1em;
  margin-left: 5em;
}
.row input[type=submit]:hover {
  cursor: pointer;
  background-color: white;
  color: #0066cc;
}
.row.submit {
  background-color: white;
  width: auto;
  padding: 0;
  height: auto;
}

.btn {
  width: 10rem;
  height: 3rem;
  background-color: #0066aa;
  color: white;
  font-weight: bolder;
  font-size: 1em;
  border-radius: 1em;
  border: 1px solid #ddd;
  margin-left: 5em;
}
.btn:hover {
  cursor: pointer;
  background-color: white;
  color: #0066cc;
}
.btn.disabled, .btn[disabled] {
  opacity: 1;
}

.check {
  display: flex;
  flex-direction: row;
  width: 92%;
  margin: 0 auto;
  padding: 0;
}
.check .col {
  width: 50%;
  display: flex;
  flex-direction: column;
  margin: 0 0.5em;
}
.check .door {
  display: flex;
  flex-direction: row;
  font-size: 0.9em;
  justify-content: center;
  text-align: center;
}
.check .door:hover {
  background: #eee;
}
.check .door:hover .box {
  border-top-color: transparent;
  border-left-color: transparent;
  border-right-color: transparent;
}
.check .door > .log {
  width: 7.5%;
}
.check .door > .no {
  width: 7.5%;
  text-align: center;
}
.check .door > .id {
  width: 10%;
}
.check .door > .id img {
  height: 1em;
}
.check .door > .id button.reload {
  height: 1em;
  width: 1em;
  background: #ffc000;
}
.check .door > .name {
  width: 25%;
}
.check .door > .date {
  width: 30%;
}
.check .door > .state, .check .door > .relay {
  width: 10%;
  text-align: center;
}
.check .head {
  color: white;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.5em;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  background-color: #666;
}
.check .head:not(:first-child) {
  border-left: 2px solid white;
}
.check .head.name {
  justify-content: center !important;
}
.check .box {
  min-height: 2.5em;
  justify-content: center;
  border-bottom: 1px solid #ccc;
  color: #555;
  display: flex;
  align-items: center;
}
.check .box:not(:first-child) {
  border-left: 2px solid white;
}
.check .box.name {
  cursor: pointer;
}
.check .box.no, .check .box.state, .check .box.relay {
  justify-content: center;
}
.check .box.btn {
  cursor: pointer;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid #ccc;
  background: transparent;
  height: auto;
  margin: 0;
  padding: 0;
}
.check .box.btn:disabled {
  color: #555;
  font-weight: normal;
  cursor: not-allowed;
}
.check .box .showId {
  background: transparent;
  border: none;
  outline: none;
  height: 1.5em;
}
.check .box img {
  height: 1em;
}
.check .box .authBtn {
  color: inherit;
  font-size: 0.9rem;
  font-weight: normal;
  height: 100%;
  width: 100%;
  text-align: center;
}
.check .box .authBtn:hover {
  color: inherit;
}
.check .line {
  width: 0.5em;
  height: auto;
  background-color: #eee;
  visibility: hidden;
}

.show-log-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  padding: 0;
  border: 0;
  outline: none;
}
.show-log-btn:hover, .show-log-btn:focus {
  background: transparent;
  padding: 0;
  border: 0;
  outline: none;
}

#mask {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(230, 230, 230, 0.8);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}
#mask.showMask {
  display: flex;
}
#mask .partBlock {
  display: none;
  z-index: 1500;
  background-color: white;
  box-shadow: 0px 0px 5px 0px rgba(26, 26, 26, 0.2);
  border-radius: 0.5em;
  padding: 1em 2em;
}
#mask .closeBtn {
  position: absolute;
  background: transparent;
  outline: none;
  border: none;
  font-size: 1.5em;
  color: #333;
  height: 2em;
  width: 2em;
  top: 0;
  right: 0;
  cursor: pointer;
}
#mask #validatedBlock {
  width: 20em;
  height: 10em;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  position: relative;
}
#mask #validatedBlock label {
  display: flex;
  align-items: center;
  margin: 0;
  font-size: 0.9em;
}
#mask #validatedBlock.showPart {
  display: flex;
}
#mask #validatedBlock #authorityCode {
  margin-left: 1em;
  border: 1px solid #ccc;
  border-radius: 0.3em;
  height: 2em;
  width: 40%;
  padding: 0.5em;
}
#mask #validatedBlock #authorityCode:focus {
  border-color: #2196f3;
  outline: none;
}
#mask #validatedBlock .closeBtn {
  height: 1.5em;
  width: 1.5em;
}
#mask #validatedBlock .confirmBtn {
  width: 8em;
  height: 2em;
  border: none;
  border: none;
  background: #0066aa;
  border-radius: 1.5em;
  color: #fff;
  outline: none;
  cursor: pointer;
}
#mask #validatedBlock .confirmBtn:hover {
  background: #fff;
  color: #0066aa;
  border: 1px solid #ccc;
}
#mask #validatedBlock .confirmBtn:disabled {
  cursor: default;
  background: #fff;
  border: 1px solid #ccc;
  color: #ccc;
}
#mask #validatedBlock .confirmBtn:disabled:hover {
  background: #fff;
  color: #ccc;
  border: 1px solid #ccc;
}
#mask #editOnlineDate {
  height: 15%;
  width: 80%;
  max-width: 350px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}
#mask #editOnlineDate.showPart {
  display: flex;
}
#mask #editOnlineDate .inputGroup {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 1em 0;
}
#mask #editOnlineDate .inputGroup label {
  font-size: 0.9em;
}
#mask #editOnlineDate .inputGroup #onlineDate {
  font-size: 1.1em;
  width: 8em;
  height: 1.8em;
  padding: 0 1em;
  outline: none;
  border-radius: 0.3em;
  border: 1px solid #ccc;
  margin-left: 1em;
}
#mask #editOnlineDate .inputGroup #onlineDate:focus {
  border-color: #2196f3;
  outline: none;
}
#mask #editOnlineDate .btnGroup {
  display: flex;
  justify-content: center;
  margin: 0.5em 0;
  width: 100%;
}
#mask #editOnlineDate .btnGroup .btn {
  font-size: 0.9em;
  margin: 0 0.5em;
  height: 2.5em;
  width: 8em;
  border-radius: 1.5em;
}
#mask #infoBlock {
  height: 10em;
  width: 100%;
  max-width: 300px;
  position: relative;
  flex-direction: column;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
}
#mask #infoBlock div {
  display: flex;
  width: 100%;
  flex-wrap: nowrap;
  margin: 1em 0;
  padding-left: 30%;
}
#mask #infoBlock div span {
  display: flex;
  justify-content: flex-start;
}
#mask #infoBlock div span.mark {
  width: auto;
  padding: 0 1.5em 0 0.5em;
}
#mask #infoBlock.showPart {
  display: flex;
}
#mask #configBlock {
  flex-direction: row;
  flex-wrap: nowrap;
  position: relative;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  max-height: 750px;
  max-width: 900px;
  padding: 2em;
}
#mask #configBlock.showPart {
  display: flex;
}
#mask #configBlock.hasUpdate .btn {
  display: flex;
}
#mask #configBlock .controlPart {
  display: flex;
  flex-direction: column;
  height: 95%;
  width: 40%;
  padding: 0 1em 0 0;
  border-right: 1px solid #ccc;
}
#mask #configBlock .controlPart .title {
  margin-bottom: 0.5em;
  border-bottom: 1px solid #ccc;
}
#mask #configBlock .controlPart .blockRow {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  min-height: 2.5em;
  margin: 0.5em 0 0;
  padding: 0 0.5em 0.5em;
}
#mask #configBlock .controlPart .blockRow:not(:last-of-type) {
  border-bottom: 1px solid #ccc;
}
#mask #configBlock .controlPart .blockRow div {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}
#mask #configBlock .controlPart .blockRow .rowTitle {
  width: 30%;
  justify-content: flex-start;
}
#mask #configBlock .controlPart .blockRow .rowContent {
  width: 70%;
  justify-content: flex-end;
}
#mask #configBlock .controlPart .blockRow .rowContent p {
  margin: 0;
}
#mask #configBlock .controlPart .blockRow .rowContent .unit {
  margin-left: 0.5em;
}
#mask #configBlock .controlPart .blockRow .rowContent .btn {
  display: none;
  width: auto;
  height: auto;
  background: transparent;
  outline: none;
  border: none;
  margin-left: 0.5em;
}
#mask #configBlock .controlPart .blockRow .rowContent .btn img {
  transform: translateY(3px);
  width: 16px;
}
#mask #configBlock .controlPart .blockRow.charge {
  flex-wrap: wrap;
}
#mask #configBlock .controlPart .blockRow.charge .rowTitle {
  width: 100%;
}
#mask #configBlock .controlPart .blockRow.charge .rowContent {
  width: 100%;
  justify-content: space-between;
  margin-top: 0.5em;
}
#mask #configBlock .controlPart .blockRow.charge .rowContent .chargeBtn {
  width: 5.5em;
  height: 2.5em;
  background: transparent;
  outline: none;
  border: 1px solid #ccc;
  border-radius: 0.5em;
  margin: 0 0.5em;
}
#mask #configBlock .controlPart .blockRow.charge .rowContent input {
  border: none;
  outline: none;
  height: 2em;
  width: 12em;
  border-bottom: 1px solid #ccc;
  text-align: center;
}
#mask #configBlock .controlPart .blockRow.charge .rowContent input:focus {
  border-bottom: 1px solid #2196f3;
}
#mask #configBlock .listPart {
  display: flex;
  flex-direction: column;
  height: 95%;
  width: 60%;
  padding: 0 0 0 1em;
}
#mask #configBlock .listPart .listTitle {
  margin-bottom: 1em;
  border-bottom: 1px solid #ccc;
}
#mask #configBlock .listPart .list {
  width: 98%;
  height: 100%;
  flex-direction: column;
}
#mask #configBlock .listPart .list .listRow {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  height: 7%;
}
#mask #configBlock .listPart .list .listRow .cell {
  display: flex;
  align-items: center;
  justify-content: center;
}
#mask #configBlock .listPart .list .listRow .cell:first-of-type {
  width: 60%;
}
#mask #configBlock .listPart .list .listRow .cell:nth-of-type(2), #mask #configBlock .listPart .list .listRow .cell:nth-of-type(3) {
  width: 20%;
  border-left: 1px solid #fff;
}
#mask #configBlock .listPart .list .listRow.rowTitle {
  color: #fff;
  background: #aaa;
}
#mask #configBlock .listPart .list .listRow:not(.rowTitle):nth-of-type(2n + 1) {
  background: #eee;
}
#mask #configBlock .listPart.noRecord {
  position: relative;
}
#mask #configBlock .listPart.noRecord .cover {
  display: flex;
  position: absolute;
  z-index: 100;
  background: rgba(255, 255, 255, 0.3);
  height: 100%;
  width: 100%;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
}
#mask #messageBlock {
  position: relative;
  justify-content: center;
  align-items: center;
  width: 15em;
  height: 4em;
}
#mask #messageBlock p {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
}
#mask #messageBlock.showPart {
  display: flex;
}
#mask #log-block {
  padding: 0;
  position: relative;
  width: 500px;
  max-height: 80vh;
  min-height: 563px;
}
#mask #log-block.showPart {
  display: block;
}

.changeBtn {
  background: transparent;
  outline: none;
  border: none;
  padding: 0;
  margin-left: 0.5rem;
}
.changeBtn img {
  width: 15px;
  transform: translateY(-4px);
}

.changeStartDate,
.changeUnitPrice {
  width: 100%;
  outline: none;
  border: none;
  border-bottom: 1px solid #ccc;
}
.changeStartDate:focus,
.changeUnitPrice:focus {
  border-color: #2196f3;
}

.block-head {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8em 1.5em;
  border-bottom: 1px solid #ccc;
}
.block-head .close-log-btn {
  position: absolute;
  background: transparent;
  outline: none;
  border: none;
  font-size: 1.5em;
  color: #333;
  height: 2em;
  width: 2em;
  top: 50%;
  right: 0.5em;
  transform: translateY(-50%);
}
.block-head .log-name {
  font-size: 16px;
}

.dateTime-picker {
  display: flex;
  align-items: center;
  margin-bottom: 1em;
}

.to {
  margin: 0 2em;
}

.start-input,
.end-input {
  position: relative;
  flex-grow: 1;
}

.bi-calendar4-week {
  position: absolute;
  top: 50%;
  left: 0.5em;
  transform: translateY(-55%);
}

#log-start,
#log-end {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 0.3em;
  padding: 0.3em 0 0.3em 4.2em;
  cursor: pointer;
  text-align: start;
}
#log-start:focus,
#log-end:focus {
  outline: none;
  border-color: #2196f3;
}

.block-content {
  padding: 1em 1.75em 2em 1.75em;
  max-height: calc(80vh - 49.1px);
  overflow-y: auto;
  scrollbar-gutter: stable;
}
.block-content .log-table {
  width: 100%;
  table-layout: auto;
}
.block-content .log-table tr {
  border-bottom: 1px solid #ccc;
}
.block-content .log-table tr:hover {
  background: #eee;
}
.block-content .log-table tr.blank {
  pointer-events: none;
  background: #f8f8f8;
}
.block-content .log-table th {
  padding: 0.3em 0.5em;
  text-align: center;
  border-right: 1px solid #fff;
  border-left: 1px solid #fff;
  background-color: #666;
  color: #fff;
  height: 33px;
}
.block-content .log-table td {
  padding: 0.4em 0.5em;
  text-align: center;
  height: 33px;
}
.block-content .log-table img {
  max-height: 1em;
}
.block-content .table-empty {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  height: 396px;
  background: #f8f8f8;
  opacity: 70%;
}
.block-content .table-empty .no-data-icon {
  width: 3.5em;
  height: 3.5em;
}

@media (max-width: 575.98px) {
  #mask #configBlock {
    flex-wrap: wrap;
    overflow: auto;
  }
  #mask #configBlock .controlPart,
  #mask #configBlock .listPart {
    height: auto;
    width: 100%;
    flex-shrink: 0;
    border: none;
    padding: 0;
    box-sizing: content-box;
  }
  #mask #configBlock .listPart {
    padding-top: 1rem;
    margin-top: 1rem;
    border-top: 1px solid #ccc;
  }
  #mask #configBlock .listPart .listRow {
    min-height: 2em;
  }
  #mask #log-block {
    width: 100%;
    max-height: 90vh;
  }
  .block-head {
    padding-left: 1em;
    padding-right: 1em;
  }
  .block-content {
    padding: 1.5em 1em;
    max-height: calc(90vh - 49.1px);
  }
  .bi-calendar4-week {
    position: absolute;
    top: 50%;
    left: 0.5em;
  }
  .to {
    margin: 0 0.75em;
  }
  #log-start,
  #log-end {
    padding: 0.3em 0em 0.3em 3em;
  }
  h1 {
    margin-left: 0;
    margin: 0 auto;
    text-align: center;
  }
  .check {
    flex-direction: column;
  }
  .check .col {
    width: 100%;
    margin: 0;
  }
  .check .door > .id, .check .door > .date {
    display: none;
  }
  .check .door > .log {
    width: 15%;
  }
  .check .door > .no {
    width: 15%;
  }
  .check .door > .name {
    width: 55%;
    justify-content: start;
  }
  .check .door > .state {
    width: 15%;
  }
  .check .door > .relay {
    width: 15%;
  }
  .check .door .box.date {
    padding-left: 1em;
    justify-content: flex-start;
    text-align: left;
  }
  .check .door .box .authBtn {
    text-align: left;
  }
  .check .line {
    display: none;
  }
}
@media (min-width: 576px) and (max-width: 767.98px) {
  h1 {
    margin-left: 0;
    margin: 0 auto;
    text-align: center;
  }
  .check {
    flex-direction: column;
  }
  .check .col {
    width: 100%;
    margin: 0;
  }
  .check .line {
    display: none;
  }
}/*# sourceMappingURL=mqtt.css.map */