label[data-drupal-selector="edit-general-lab-requirements"],
label[data-drupal-selector="edit-central-lab-provisions"],
label[data-drupal-selector="edit-electrical-provision"],
label[data-drupal-selector="edit-additional-information-and-supporting-documents"],
label[data-drupal-selector="edit-lab-condition-requirements"],
label[data-drupal-selector="edit-lab-furniture-and-equipment"],
label[data-drupal-selector="edit-research-hazards"],
label[data-drupal-selector="edit-other-facilities-equipments"] {
  font-size: xx-large;
  padding-top: 20px;
  padding-bottom: 20px;
  line-height: 1;
  display: block;
}
.video-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  /* 16:9 aspect ratio */
  overflow: hidden;
}
.video-container video {
  width: 100%;
  height: auto;
}
.video-container .video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.3);
}
.video-container .overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.video-container #welcome {
  font-size: 2.7em;
  line-height: 1.5;
}
.video-container #welcome,
.video-container #welcome-description {
  margin: 0;
  color: #fff;
  padding-bottom: 30px;
  padding-top: 30px;
}
.video-container a {
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.5);
  padding: 20px;
  color: #000;
  text-decoration: none;
}
.department-Section {
  background-color: #003366;
  color: white;
  padding: 40px;
  position: relative;
  height: 90vh;
}
.department-Section .section-title {
  font-size: 2em;
  font-weight: 700;
  height: 15vh;
  margin-top: 20px;
}
.department-Section .wrapper {
  display: flex;
}
.department-Section .wrapper .item {
  padding: 20px;
  width: 23vw;
}
.department-Section .wrapper:after {
  content: '';
  background-image: url(https://join.hkust.edu.hk/sites/default/files/2021-08/05_URAO_website_Why%20HKUST_image_desktop-1440x700-3.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  width: 20vw;
  height: 100%;
  top: 0;
  right: 0;
}
#our-mission {
  color: #000000;
  line-height: 1.5;
  padding-top: 50px;
}
#font-line {
  line-height: 1.5;
  padding-bottom: 50px;
}
#anchor hr {
  width: 50%;
  border-color: #000000;
  border-width: 2px;
}
.lab-spaces {
  padding: 40px;
  position: relative;
  height: 100%;
}
.lab-spaces .section-title {
  font-size: 2em;
  font-weight: 700;
  height: 15vh;
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lab-spaces .wrapper {
  display: flex;
}
.lab-spaces .wrapper .item {
  padding: 20px;
  flex-basis: 0;
  flex-grow: 1;
}
.lab-spaces .wrapper .item hr {
  border-color: #000000;
  border-width: 2px;
  padding: 20px;
}
.lab-spaces .wrapper .item .item-control {
  height: 100%;
}
.img-container {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
}
.img-container .img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 300px;
  background-color: rgba(0, 0, 0, 0.3);
}
.img-container .overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
.img-container #welcome {
  line-height: 1.5;
}
.img-container #welcome,
.img-container #welcome-description {
  margin: 0;
  color: #fff;
  padding-bottom: 30px;
  padding-top: 30px;
}
.img-container a {
  display: inline-block;
  background-color: #003366;
  padding: 10px;
  color: #fff !important;
  text-decoration: none;
}
.padding {
  padding-top: 80px;
}
#pureblue {
  height: 400px;
  background-color: #003366;
}
.contact-text {
  padding-bottom: 80px;
}
#chat-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  cursor: pointer;
}
#chat-icon img {
  width: 100px;
  height: 100px;
}
#chat-box {
  position: fixed;
  bottom: 0;
  right: 0;
  max-width: 45%;
  max-height: 80%;
  background-color: #fff;
  border-radius: 10px;
  z-index: 9998;
  display: none;
  width: -webkit-fill-available;
  font-family: Muli;
}
#chat-header {
  background-color: #007adb;
  color: #fff;
  padding: 10px;
  display: flex;
  align-items: center;
  border-top-left-radius: 10px;
  /* 上左圆角 */
  border-top-right-radius: 10px;
  /* 上右圆角 */
  border-bottom: 20px solid #e2f1ff;
  /* 下边框 */
}
.line {
  position: absolute;
  left: 0;
  top: 57px;
}
#chat-title {
  font-size: 16px;
  font-weight: bolder;
  flex-grow: 1;
}
#close-button {
  background-color: transparent;
  border: none;
  cursor: pointer;
  margin-bottom: 25px;
}
#close-button img {
  width: 21px;
  height: 21px;
  scale: 1.3;
}
#chat-content {
  flex-grow: 1;
  padding: 10px;
  overflow-y: auto;
  height: 65vh;
  background-color: #e2f1ff;
}
#chat-content::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #F5F5F5;
  border-radius: 10px;
}
#chat-content::-webkit-scrollbar {
  width: 10px;
  background-color: #F5F5F5;
}
#chat-content::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0.44, #7a99d9), color-stop(0.72, #497dbd), color-stop(0.86, #1c3a94));
}
#user-input-container {
  display: flex;
  align-items: center;
  padding: 10px;
  bottom: 0;
  z-index: 1;
  background: linear-gradient(rgba(211, 211, 211, 0.5), rgba(192, 192, 192, 0.5));
  box-shadow: 0 0 10px rgba(192, 192, 192, 0.5);
}
#user-input {
  flex-grow: 1;
  padding: 13px 20px;
  border: 1px solid #ccc;
  border-radius: 35px;
  font-family: 'Lato', sans-serif;
  font-size: 14px;
  color: #041e42;
  box-shadow: 0px -6px 10px 0 #ccc;
}
#send-button {
  margin-left: 10px;
  padding: 0;
  background-color: transparent;
  border: none;
  color: #fff;
  cursor: pointer;
}
#send-button img {
  width: 22px;
  height: 22px;
}
/* 鼠标悬停效果示例 */
#close-button:hover,
#send-button:hover {
  border-radius: 50%;
}
.message {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 10px;
}
.message .content {
  background-color: #007adb;
  padding: 15px 20px;
  position: relative;
  color: #fff;
  border-radius: 20px 5px 20px 20px;
  font-size: 14px;
}
.reply {
  display: inline-block;
}
.reply .content {
  background-color: #ffffff;
  white-space: pre-line;
  overflow-wrap: anywhere;
  color: #000;
  font-size: 14px;
  border-radius: 5px 20px 20px 20px;
  font-family: 'Lato', sans-serif;
}
.message-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  border-radius: 50%;
  background-color: #007adb;
  color: #fff;
  margin-right: 15px;
  margin-top: 5px;
}
.message-icon i {
  font-size: 16px;
}
#disclaimer {
  position: relative;
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-left: 10px;
  cursor: pointer;
}
#expand-button {
  margin-top: 10px;
  text-align: center;
  cursor: pointer;
  color: blue;
  text-decoration: underline;
}
#collapse-button {
  text-align: center;
  cursor: pointer;
  color: blue;
  text-decoration: underline;
  display: none;
  /* 初始状态下隐藏缩回按钮 */
}
#end-conversation-button {
  background-color: dodgerblue;
  color: #fff;
  border: none;
  border-radius: 50%;
  height: 40px;
  width: 40px;
  font-size: 14px;
  cursor: pointer;
}
#end-conversation-button:hover {
  background-color: rgba(30, 143, 255, 0.397);
}
#role-buttons,
#iso-buttons {
  margin-top: 10px;
  display: flow;
  padding-bottom: 30px;
  font-family: "Open Sans";
}
.role-public,
.role-student,
.role-staff,
.role-Internal {
  background-color: #f7f7f7;
  color: #333;
  border: none;
  border-radius: 5px;
  padding: 8px 12px;
  font-size: 14px;
  margin-right: 10px;
  cursor: pointer;
}
.role-public:hover,
.role-student:hover,
.role-staff:hover,
.role-Internal:hover {
  background-color: #e0e0e0;
}
.role-staff,
.role-Internal {
  display: none;
}
.received {
  background-color: #ffffff;
  padding: 15px 20px;
  display: inline-block;
  border-radius: 5px 20px 20px 20px;
}
.sent {
  background-color: #dcf8c6;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  border-bottom-left-radius: 10px;
  padding: 10px;
  display: inline-block;
  max-width: 70%;
}
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.message-content {
  display: flex;
  align-items: flex-start;
  font-size: 14px;
  font-family: 'Lato', sans-serif;
}
.received .message-content {
  flex-direction: row-reverse;
}
.message-text {
  background-color: #f7f7f7;
  border-radius: 10px;
  padding: 10px;
  position: relative;
}
.received .message-text {
  border-top-right-radius: 0;
}
.sent .message-text {
  border-top-left-radius: 0;
  background-color: #dcf8c6;
}
#iso-buttons,
#iso-message,
#fo-message {
  display: none;
  color: #000;
}
button.iso-staff {
  margin-bottom: 10px;
  font-size: 14px;
  border: 2px solid #007adb;
  background-color: transparent;
  color: #238de1;
  padding: 5px 10px;
  margin-right: 5px;
  margin-bottom: 13px;
  border-radius: 15px;
  cursor: pointer;
  font-family: "Open Sans";
}
button.iso-staff:hover {
  background-color: #007adb;
  color: #fff;
}
#iso-buttons {
  flex-wrap: wrap;
  justify-content: space-around;
  text-align: center;
  font-family: "Open Sans";
}
.loading-animation {
  display: none;
  justify-content: center;
  align-items: center;
  height: 20px;
  background-color: #e2f1ff;
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #000;
  margin: 0 5px;
  opacity: 0.3;
  animation: blink 1.5s infinite;
}
.dot:nth-child(2) {
  animation-delay: 0.5s;
}
.dot:nth-child(3) {
  animation-delay: 1s;
}
@keyframes blink {
  0%,
  50%,
  100% {
    opacity: 0.3;
  }
  25%,
  75% {
    opacity: 1;
  }
}
#disclaimer-box {
  width: 860px;
  background-color: #000;
  color: #ffffff;
  padding: 20px;
  position: fixed;
  font-size: medium;
  bottom: 33%;
  display: none;
}
#hkust-profile {
  padding-right: 15px;
}
.disclaimer {
  font-size: 14px;
  text-decoration: underline;
  cursor: pointer;
}
.sorry-button {
  padding-top: 10px;
  padding-bottom: 10px;
  line-height: 20px;
}
.lato {
  font-family: 'Lato', sans-serif !important;
  text-align: left;
}
#chat-box a {
  color: #0074bc;
}
#char-count {
  position: absolute;
  bottom: 7px;
  right: 60px;
  font-size: 12px;
  color: #888;
}
