/* 全站重要權益公告蓋板視窗 */
#announcementModal {
  background-color: rgba(0, 0, 0, .5);
}

#announcementModal.modal .modal-dialog .modal-content {
  height: unset !important;
}

#announcementModal .modal-dialog {
  max-width: 800px;
}

@media screen and (min-width: 768px) {
  #announcementModal .modal-dialog {
    min-width: 500px;
  }
}

#announcementModal .announcement-modal-content {
  position: relative;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, .18);
}

.modal .announcement-modal-content .modal-body {
  padding: 32px 28px 24px;
}

#announcementModal .close-btn-wrapper {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  color: #888;
  cursor: pointer;
  border-radius: 50%;
  transition: background-color .2s, color .2s;
}

#announcementModal .close-btn-wrapper:hover {
  background-color: #f2f2f2;
  color: #333;
}

#announcementModal .modal-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #1f7a4d;
  text-align: center;
  margin-bottom: 20px;
  padding-right: 24px;
}

#announcementModal .notice-lead {
  font-weight: 700;
  font-size: 1.02rem;
  line-height: 1.6;
  color: #1f7a4d;
  margin-bottom: 18px;
}

#announcementModal p {
  font-size: .94rem;
  line-height: 1.75;
  color: #444;
  margin-bottom: 14px;
}

#announcementModal p strong {
  color: #222;
}

#announcementModal .notice-sign {
  text-align: right;
  font-weight: 600;
  color: #333;
  margin-top: 20px;
  margin-bottom: 22px;
}

#announcementModal .btn.btn-success {
  font-size: 1rem;
  font-weight: 600;
  padding: 12px 24px;
  border: none;
  border-radius: .75rem;
  background-color:#f5b31b !important;;
  color: #fff !important;
}
