html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
}

#app-body {
  /* position: fixed; */
  overflow: hidden;
  display: flex;
  height: 100%;
  width: 100%;
  justify-content: space-between;
  flex-grow: 1;
}

#app {
  flex-grow: 1;
}

#app-container {
  height: 100%;
  width: 100%;
  border-radius: 5px 5px 5px 5px;
  background-color: #102a43;

  -webkit-box-shadow: 0px 0px 2px 2px rgba(219, 222, 222, 1);
  -moz-box-shadow: 0px 0px 2px 2px rgba(219, 222, 222, 1);
  box-shadow: 0px 0px 2px 2px rgba(25, 25, 25, 1);

  -webkit-box-shadow: 0px 0px 2px 2px rgba(219, 222, 222, 1);
  -moz-box-shadow: 0px 0px 2px 2px rgba(219, 222, 222, 1);
  box-shadow: 0px 0px 2px 2px rgba(25, 25, 25, 1);
}

#app-screen {
}

#discovery {
  width: 12%;
  flex-grow: 0;
  margin-right: 5px;
}

#app-meta {
  display: block;
  padding-bottom: 10px;
  flex-grow: 0;
  align-items: center;
  flex-shrink: 1;
}

#chat {
  margin-left: 5px;
  width: 25%;
  display: flex;
  flex-direction: column;
  flex-grow: 0;
}

#discoverydropdown {
  width: 100%;
  border: 0px;
  outline: 0px;
  overflow: auto;
  overflow-wrap: break-word;
  background-color: #616e7c;
  color: #eeeeee;
}

/* #chatoutput {
  flex-grow: 1;
  margin-top: 0px;
  margin-bottom: 5px;
  border-radius: 2px;
} */

#chatoutput {
  max-height: 100%;
  overflow: auto;
  overflow-wrap: break-word;
  background-color: #616e7c;
  color: #eeeeee;
  flex-grow: 1;
  margin-top: 0px;
  margin-bottom: 5px;
  border-radius: 2px;
}

#chatinput {
  width: 100%;
  display: flex;
  flex-direction: row;
}

#usernamelabel {
  width: 100px;
}

input[type="text"] {
  width: 100%;
  display: flex;
  flex-direction: row;
  color: #f0f4f8;
  box-sizing: border-box;
  background-color: #616e7c;
  border: none;
  border-radius: 2px;
  margin: 5px auto;
  transition: background-color 0.5s ease;
}

#messagelabel {
  width: 100px;
}

#chatmessage {
  width: 100%;
  display: flex;
  flex-direction: row;
  background-color: #616e7c;
  margin: 5px auto;
  color: #f0f4f8;
  border-radius: 2px;
}

.output-row {
  display: flex;
  flex-direction: row;
}

.output-user-label {
  width: 80px;
  flex: 0 0 33.33%;
}

.output-message-label {
  width: 80px;
}

label {
  color: #f0f4f8;
}

body {
  /* background-color: #121212; */
  background-color: #102a43;
}

* {
  /* font-family: Arial, Helvetica, sans-serif; */
  font-family: "Josefin Sans", sans-serif;
}

input {
  color: #121212;
}

::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: #fcdab7;
  opacity: 0.5; /* Firefox */
}

a {
  color: #fcdab7;
}

/* daba-tooltip 断面标签 hover 提示框 */
.daba-tooltip {
  position: fixed;
  z-index: 99999;
  transform: translate(-50%, -100%);
  pointer-events: none;
  display: none;
  min-width: 200px;
  max-width: 320px;
  background: rgba(2, 62, 138, 0.95);
  border: 1px solid rgba(14, 165, 233, 0.6);
  border-radius: 6px;
  padding: 14px 18px;
  box-shadow: 0 4px 20px rgba(0, 50, 100, 0.4);
  font-size: 18px;
  animation: dabaTooltipFadeIn 0.15s ease-out;
}
.daba-tooltip::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid rgba(2, 62, 138, 0.95);
}
@keyframes dabaTooltipFadeIn {
  from { opacity: 0; transform: translate(-50%, calc(-100% - 4px)); }
  to { opacity: 1; transform: translate(-50%, -100%); }
}
.daba-tooltip-title {
  font-size: 17px; font-weight: 600; color: #e0f7ff;
  padding-bottom: 8px; margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}
.daba-tooltip-item {
  position: relative; padding: 3px 0 3px 14px;
  font-size: 15px; line-height: 1.7; color: #cbd5e1; word-break: break-word;
}
.daba-tooltip-item::before {
  content: ''; position: absolute; left: 0; top: 11px;
  width: 5px; height: 5px; border-radius: 50%; background: #38bdf8;
}

/* 断面标签样式 */
.waterLevel {
  position: absolute;
  z-index: 1000;
  width: 7rem;
  top: 16%;
  left: 30%;
}
.waterLevel img {
  width: 100%;
}
.waterLevel .content {
  position: absolute;
  top: 16%;
  left: 25%;
  white-space: nowrap;
}
.waterLevel .content .text {
  font-size: 20px;
}

.damScreen {
  position: absolute;
  box-sizing: border-box;
  top: 431.312px;
  left: 630.192px;
  width: 18rem;
  height: 3rem;
  padding: 0px;
  margin: 0px;
  overflow: hidden;
  display: block;
  z-index: 3;
}
.damScreen img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}
.damScreen .content {
  display: flex;
  position: relative;
  width: 100%;
  min-height: 100%;
  z-index: 2;
  align-items: center;
}
.damScreen .content .box {
  width: 2.2rem;
  height: 100%;
  box-sizing: border-box;
}
.damScreen .content .text {
  flex: 1 1 0%;
  height: 100%;
  display: flex;
  font-size: 18px;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}
