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;
  font-family: "Noto Sans TC", sans-serif;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
  overflow-x: hidden;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
body {
  /* font-family: 'Noto Sans TC', sans-serif; */
  background: url("../Pics/bg_home_2.png") no-repeat bottom center / cover;
  background-color: #4868ce;
  min-height: 100vh;
  font-weight: 600;
}
.navbar {
  padding: 1.2vh 2.5vh 0.2vh 2.5vh;
  display: flex;
  flex-direction: row;
  width: 100%;
  flex-grow: 1;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0;
}
.navbar-brand {
  padding: 0;
  height: auto;
}
.navbar-brand img {
  height: 6vh;
  vertical-align: middle;
}
.title-brand {
  font-size: 4.7vh;
  color: #2b4146;
}
.item1 {
  color: #464a50;
  font-size: 4vh;
  text-align: right;
  width: 22.2%;
  white-space: nowrap;
  font-weight: 600;
}
.container-fluid {
  padding-right: 2.5vh;
  padding-left: 2.5vh;
}
.company {
  color: #fff;
}
.grid {
  font-size: 2.6vh;
  color: #464a50;
  border-radius: 0.6vh;
  white-space: nowrap;
  box-shadow: 0 0 8px 2px rgba(3, 8, 24, 0.17);
  margin: 1vh 0 1.8vh 0;
  height: 43.6vh;
}
.RealTimeManager,
.RealTimeWorker,
.work-map,
.enviroment {
  background: rgba(255, 255, 255, 0.9);
}
.RealTimeManager {
  height: 89vh;
}
h3 {
  color: #464a50;
  font-size: 3vh;
  padding: 1.3vh 0 0 0;
  border-radius: 0.6vh 0.6vh 0 0;
  text-align: center;
  height: 5vh;
  background-color: #d4dee8;
}
.RT-info {
  display: flex;
  flex-direction: column;
}
.title {
  color: #808080;
  font-size: 2.2vh;
}
.RT-number,
.item,
.name-position,
.inside-list .title,
.inside-list li {
  display: flex;
  align-items: center;
  flex-grow: 1;
  justify-content: center;
}
.inside-list,
.RT-inout {
  background-color: rgba(223, 223, 231, 0.4);
  box-shadow: 0 0 4px 1px rgba(49, 51, 54, 0.23);
  padding: 1vh;
  border-radius: 0.5vh;
  margin: 1.5vh;
}

.c-differ {
  width: 25%;
  text-align: center;
  font-size: 3.5vh;
}
.RT-number .title {
  margin-right: 2vh;
}
.inside-list {
  height: 50vh;
  margin-left: 2.5vh;
  font-size: 3.8vh;
  margin-bottom: 2vh;
}
.inside-list .title {
  display: flex;
  padding-bottom: 0.7vh;
  margin-bottom: 0.5vh;
  border-bottom: 2px solid rgba(165, 177, 200, 0.2);
}
.inside-list .title h4 {
  text-align: center;
}
.inside-list .title h4:nth-child(1) {
  width: 51%;
}
.inside-list .title h4:nth-child(2) {
  width: 50%;
}
.inside-list .title h4:nth-child(3) {
  width: 15%;
}
.RT-inout {
  height: 22vh;
}
.RT-inout .name-in,
.RT-inout .name-out {
  font-size: 3.8vh;
}
.RT-inout li {
  display: flex;
  align-items: center;
  /* flex-grow: 2; */
  justify-content: space-around;
}
.inside-list li,
.RT-inout li {
  border-bottom: 2px dashed rgba(165, 177, 200, 0.4);
  padding-bottom: 0.6vh;
  margin-bottom: 0.5vh;
}
.inside-list li:nth-child(5),
.RT-inout li:nth-child(3) {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}
.RT-inout .title {
  text-align: center;
  white-space: pre-wrap;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 1vh;
}
.RT-inout div {
  width: 20%;
  text-align: center;
}

.entranceA,
.entranceB {
  display: flex;
  justify-content: center;
  align-items: center;
}
.entranceA h2,
.entranceB h2 {
  background-color: #2f98da;
  color: #fff;
  width: 11vh;
  padding: 1vh;
  border-radius: 0.5vh;
  font-size: 3.2vh;
  text-align: center;
  margin: 0.8vh;
}

.entranceB h2 {
  background-color: #2aa1bb;
}
.c-in-A,
.c-out-A,
#nameA1,
#nameA2 {
  color: #2f98da;
}
.c-in-B,
.c-out-B,
#nameB1,
#nameB2 {
  color: #2aa1bb;
}
.entranceA span,
.entranceB span {
  font-family: Arial;
  font-size: 3.5vh;
}
.c-in-A,
.c-in-B,
.c-out-A,
.c-out-B {
  font-size: 6.2vh;
}
.name-in,
.name-out {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}
.company {
  padding: 1.3vh;
  border-radius: 0.4vh;
  width: 17%;
  text-align: center;
  font-size: 2.6vh;
  margin: 1.3vh 0 1.3vh 1.3vh;
}
.RealTimeManager .company {
  background-color: #506e7e;
}
.item p {
  font-size: 8vh;
  font-weight: 700;
}
.RealTimeManager .inside-list .name-position,
.RealTimeManager .Difference {
  color: #3a84ab;
}
.Temp-alert .valueColor {
  color: #c17f00;
}
.time {
  text-align: center;
  width: 48%;
  font-weight: 500;
  font-size: 3.5vh;
}
.site {
  width: 12%;
  text-align: center;
}

.enviroment td {
  white-space: nowrap;
}
#OMap {
  width: 100%;
  height: 100%;
  overflow: hidden;
  left: 0;
  padding: 0;
  position: relative;
}
.map-sc {
  position: absolute;
  z-index: 1;
  top: 4%;
  left: 4%;
  width: 9vh;
  border: 3px solid #6f8abd;
  border-radius: 8px;
  box-shadow: 0 0 6px 1px rgba(35, 53, 87, 0.55);
}
.envi-info thead th {
  font-size: 3.8vh;
  padding: 1vh;
  border-bottom: 2px dashed #d1d7e2;
  padding-left: 3.5vh;
}
.envi-info thead th:nth-child(1) {
  border-right: 2px dashed #d1d7e2;
}
.envi-info thead h4 {
  width: 11vh;
  padding: 1vh;
  border-radius: 0.5vh;
  font-size: 3.2vh;
  color: #fff;
  text-align: center;
}
.envi-info thead th:nth-child(2) h4 {
  background-color: #2f98da;
}
.envi-info thead th:nth-child(3) h4 {
  background-color: #2aa1bb;
}
.envi-info tr td:nth-child(1) {
  width: 8%;
  text-align: center;
}
.envi-info tr td:nth-child(2) {
  width: 20%;
}
.envi-info tbody tr {
  line-height: 6.5vh;
  border-bottom: 2px dashed #d1d7e2;
}
.envi-info tbody tr:nth-child(4) {
  border-bottom: none;
}
.envi-info .unit {
  font-size: 2.5vh;
  color: #464a50;
}
.envi-info .colorA {
  color: #2f98da;
}
.envi-info .colorB {
  color: #2aa1bb;
}
.warning-value {
  background-color: #19b491;
  width: 2.6vh;
  height: 2.6vh;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 4px 1px #71ce6d;
}
.warning-alert {
  box-shadow: 0 0 4px 1px rgba(255, 97, 97, 0.75);
  animation: alertcolor 2s linear infinite;
}
.warning {
  /* text-shadow: 0 0 2px rgb(167, 42, 0); */
  animation: textcolor 2s linear infinite;
}

@keyframes alertcolor {
  0% {
    background-color: #d16d62;
  }
  50% {
    background-color: #ff0000;
  }
  100% {
    background-color: #d16d62;
  }
}
@keyframes textcolor {
  0% {
    color: #d16d62;
  }
  50% {
    color: #fc2a2a;
  }
  100% {
    color: #d16d62;
  }
}
.titleName {
  color: #808080;
  font-size: 3.8vh;
  font-weight: 600;
  border-right: 2px dashed #d1d7e2;
}
.titleChinese {
  font-size: 3vh;
}
.valueColor {
  color: #464a50;
  font-size: 3.4vh;
  padding-left: 2vh;
}
.footer {
  background-color: #fff;
  /* margin-top: 1vh; */
  padding: 1vh 0;
  overflow: hidden;
  height: 4.6vh;
  position: relative;
}
.footer p {
  color: #464a50;
  font-size: 2.5vh;
  /* width: 100vw; */
  white-space: nowrap;
}
@keyframes leftcrawl {
  0% {
    left: 100%;
    transform: translateX(0%);
  }

  100% {
    left: 0;
    transform: translateX(-100%);
  }
}
#hovertreemarquee p {
  position: absolute;
  -webkit-animation: leftcrawl 23s linear infinite;
  animation: leftcrawl 23s linear infinite;
}

@media screen and (max-width: 1024px) {
  .RT-info {
    flex-wrap: wrap;
  }
  .grid {
    height: auto;
  }
  .navbar {
    text-align: center;
  }
  .item1 {
    text-align: center;
    width: 100%;
  }
  .navbar-brand,
  .title-brand {
    width: 100%;
    margin-bottom: 1vh;
  }
  #OMap {
    height: auto;
  }
  .RT-in,
  .RT-out,
  .RT-number,
  .RT-inout {
    width: 100%;
    margin-left: 0;
  }
  .inside-list {
    margin-left: 0vh;
    font-size: 3vh;
    margin-right: 0;
    width: 100%;
    height: 46vh;
  }
  .titleName {
    font-size: 2.5vh;
  }
  .inside-list .title h4:nth-child(1) {
    width: 30%;
  }
  .inside-list .title h4:nth-child(2) {
    width: 42%;
  }
  .inside-list .title h4:nth-child(3) {
    width: 7%;
  }
  .company {
    margin-left: 0;
    overflow: hidden;
    font-size: 2vh;
  }
  .titleChinese {
    font-size: 2vh;
  }
  .warning-value {
    width: 2vh;
    height: 2vh;
  }
  .time {
    width: 52%;
    font-size: 2.3vh;
    white-space: pre-wrap;
  }
  .item {
    flex-direction: column;
    padding-top: 1vh;
  }
  .valueColor {
    font-size: 2.8vh;
    padding-left: 0;
  }
  .envi-info thead th {
    padding-left: 1.5vh;
  }
  .entranceA h2,
  .entranceB h2 {
    width: 10vh;
    font-size: 2.2vh;
    margin: 1vh;
  }
  .entranceA span,
  .entranceB span {
    font-size: 2.5vh;
  }
  .RT-inout .c-in-A,
  .RT-inout .c-in-B,
  .RT-inout .c-out-A,
  .RT-inout .c-out-B {
    font-size: 4.2vh;
    width: 12%;
  }
  .RT-inout .name-in,
  .RT-inout .name-out {
    font-size: 2.4vh;
  }
}
