
button, input, optgroup, select, textarea,#countdown {
  font-family: emoji;
}
*{
  font-size: 14px;
}
.fleld{
  width: 500px;
  height: auto;
  position: fixed;
  top: calc(50% - 200px);
  left:calc(50% - 250px);
  background: #fff;
}
.fleld h1{
  text-align: center;
  font-size: 25px;
  line-height: 80px;
  color: #000;
}
.bg-back{
width:100vw;
height:100vh;
}

.is-visible{
  display: none;
}

/* --------------------------------

xsigin/signup popup

-------------------------------- */
.cd-user-modal {
}
.cd-user-modal.is-visible {
  visibility: visible;
  opacity: 1;
  -webkit-transition: opacity 0.3s 0, visibility 0 0;
  -moz-transition: opacity 0.3s 0, visibility 0 0;
  transition: opacity 0.3s 0, visibility 0 0;
}
.cd-user-modal.is-visible .cd-user-modal-container {
  -webkit-transform: translateY(0);
  -moz-transform: translateY(0);
  -ms-transform: translateY(0);
  -o-transform: translateY(0);
  transform: translateY(0);
}

.cd-user-modal-container {
  position: relative;
  width: 488px;
  height:445px;
  background: #FFF;
  margin: 3em auto 4em;
  cursor: auto;
  border-radius: 0.25em;
  -webkit-transform: translateY(-30px);
  -moz-transform: translateY(-30px);
  -ms-transform: translateY(-30px);
  -o-transform: translateY(-30px);
  transform: translateY(-30px);
  -webkit-transition-property: -webkit-transform;
  -moz-transition-property: -moz-transform;
  transition-property: transform;
  -webkit-transition-duration: 0.3s;
  -moz-transition-duration: 0.3s;
  transition-duration: 0.3s;
}
.cd-user-modal-container .cd-switcher:after {
  content: "";
  display: table;
  clear: both;
}
.cd-user-modal-container .cd-switcher li {
  width: 40%;
  text-align: center;
  float:left;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.cd-user-modal-container .cd-switcher li:first-child a {
  border-radius: .25em 0 0 0;
}
.cd-user-modal-container .cd-switcher li:last-child a {
  border-radius: 0 .25em 0 0;
}
.cd-user-modal-container .cd-switcher a {
  display: block;
  width: 50%;
  height: 50px;
  font-size:16px;
  font-weight: bold;
  line-height: 50px;
  color: #809191;
}
.cd-user-modal-container .cd-switcher a.selected {
    background: #FFF;
    color: #505260;
    font-size:16px;
    font-weight: bold;
    color:#3277FC;
    border-bottom: 5px solid #3277FC;
}
@media only screen and (min-width: 600px) {
  .cd-user-modal-container {
    margin: 30vh auto;
     box-shadow: 0 10px 20px rgba(0, 0, 0, 0.22), 0 14px 56px rgba(0, 0, 0, 0.25);
  }
  .cd-user-modal-container .cd-switcher a {
    height: 70px;
    line-height: 70px;
  }
}

.cd-form {
  padding: 22px;

}
.cd-form .fieldset {
  position: relative;
  display: flex;
  margin: 20px 0;
}
.cd-form .fieldset:first-child {
  margin-top: 0;
}
.cd-form .fieldset:last-child {
  margin-bottom: 0;
}
.cd-form label {
  font-size: 14px;
  font-size: 14px;
}
.cd-form label.image-replace {
  /* replace text with an icon */
  display: inline-block;
  position: absolute;
  left: 15px;
  top: 50%;
  bottom: auto;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  height: 20px;
  width: 20px;
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  color: transparent;
  text-shadow: none;
  background-repeat: no-repeat;
  background-position: 50% 0;
}
.cd-form label.cd-username {
  background-image: url("../icon/cd-icon-username.png");
  background-size: 100%;
}
.cd-form label.cd-email {
  background-image: url("../icon/cd-icon-email.svg");
    background-size: 100%;
}
.cd-form label.cd-password {
  background-image: url("../icon/cd-icon-password.png");
    background-size: 100%;
}
.cd-form label.cd-code {
  background-image: url("../icon/code.png");
    background-size: 100%;
}
.cd-form input {
  margin: 0;
  padding: 0;
  background-color: #ECEEF0;
  border-radius: 10px;
}
.cd-form input.full-width {
  width: 100%;

}
.cd-form input.has-padding {
  padding: 12px 20px 12px 50px;
}
.cd-form input.has-border {
  border: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;
}
.cd-form input.has-border:focus {
  border-color: #343642;
  box-shadow: 0 0 5px rgba(52, 54, 66, 0.1);
  outline: none;
}
.cd-form input.has-error {
  border: 1px solid #d76666;
}
.cd-form input[type=password] {
  /* space left for the HIDE button */
  padding-right: 65px;
}
.button {
  cursor: pointer;
  color:#ffffff;
  width: 100%;
  height: 56px;
  text-align: center;
  line-height: 56px;
  font-size: 15px;
  background: #3277FC;
  border-radius: 4px;
  border-radius: 4px;
  text-align: center;
  font-weight: bold;
  border: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;
}
.buttonBtn {
  padding: 16px 0;
  margin-top: 2em;
  cursor: pointer;
  color:#ffffff;
  background: #3277FC;
  border-radius: 4px;
  border-radius: 4px;
  text-align: center;
  font-weight: bold;
  border: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;
}
.no-touch .button:hover, .no-touch .button:focus {
  background: #3277fcb8;
  outline: none;
}
.cd-form .hide-password {
  width:120px;
  display: inline-block;
  position: absolute;
  right:5px;
  font-size:16px;
  cursor: pointer;
  color: #ffffff;
  background: #3436421a;
  border: 1px solid #979797;
  border-radius: 1px;
  border-radius: 1px;
  font-weight: bold;
  border: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;
  top: 0;
  padding: 6px 15px;
  border-left: 1px solid #d2d8d8;
  top: 50%;
  bottom: auto;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  font-size: 14px;
  font-size:14px;
  color: #3277fc;
}
.cd-form .hide-password:focus{
outline:none
}
.error{
  color: red;
  display: none;
  position: absolute;
  left: 0;
  bottom: -22px;
}
.cd-form .cd-error-message {
  display: inline-block;
  position: absolute;
  left: -5px;
  bottom: -35px;
  background: rgba(215, 102, 102, 0.9);
  padding: .8em;
  z-index: 2;
  color: #FFF;
  font-size: 13px;
  font-size: 13px;
  border-radius: 10px;
  /* prevent click and touch events */
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity 0.2s 0, visibility 0 0.2s;
  -moz-transition: opacity 0.2s 0, visibility 0 0.2s;
  transition: opacity 0.2s 0, visibility 0 0.2s;
}
.cd-form .cd-error-message::after {
  /* triangle */
  content: '';
  position: absolute;
  left: 22px;
  bottom: 100%;
  height: 0;
  width: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid rgba(215, 102, 102, 0.9);
}
.cd-form .cd-error-message.is-visible {
  opacity: 1;
  visibility: visible;
  -webkit-transition: opacity 0.2s 0, visibility 0 0;
  -moz-transition: opacity 0.2s 0, visibility 0 0;
  transition: opacity 0.2s 0, visibility 0 0;
}
.cd-form-message {
  padding: 1.4em 1.4em 0;
  font-size: 14px;
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}
@media only screen and (min-width: 600px) {
  .cd-form-message {
    padding: 2em 2em 0;
  }
}

.cd-form-bottom-message {
  position: absolute;
  width: 100%;
  left: 0;
  bottom: -30px;
  text-align: center;
  font-size: 14px;
  font-size: 14px;
}
.cd-form-bottom-message a {
  color: #FFF;
  text-decoration: underline;
}

.cd-close-form {
  /* form X button on top right */
  display: block;
  position: absolute;
  width: 40px;
  height: 40px;
  right: 0;
  top: -40px;
  background: url("../img/cd-icon-close.svg") no-repeat center center;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}
@media only screen and (min-width: 1170px) {
  .cd-close-form {
    display: none;
  }
}

/* #cd-login, #cd-signup, #cd-reset-password {
  display: none;
} */

#cd-login.is-selected, #cd-signup.is-selected, #cd-reset-password.is-selected {
  display: block;
}


.drive,
.shadows {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.drive li {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 1vw 3vw rgba(0, 0, 0, 0.5) inset;
  width: 100vw;
  height: 100vh;
  animation: drive 10s linear infinite;
  animation-direction: reverse;
}

.shadows li {
  position: absolute;
  left: 50%;
  top: 50%;
  background: #000;
  width: 100vw;
  height: 100vh;
  animation: shadows 10s linear infinite;
  animation-direction: reverse;
}

.drive li:nth-child(1) {
  animation-delay: 0;
}

.drive li:nth-child(2) {
  animation-delay: -1s;
}

.drive li:nth-child(3) {
  animation-delay: -2s;
}

.drive li:nth-child(4) {
  animation-delay: -3s;
}

.drive li:nth-child(5) {
  animation-delay: -4s;
}

.drive li:nth-child(6) {
  animation-delay: -5s;
}

.drive li:nth-child(7) {
  animation-delay: -6s;
}

.drive li:nth-child(8) {
  animation-delay: -7s;
}

.drive li:nth-child(9) {
  animation-delay: -8s;
}

.drive li:nth-child(10) {
  animation-delay: -9s;
}

.shadows li:nth-child(1) {
  animation-delay: 0;
}

.shadows li:nth-child(2) {
  animation-delay: -1s;
}

.shadows li:nth-child(3) {
  animation-delay: -2s;
}

.shadows li:nth-child(4) {
  animation-delay: -3s;
}

.shadows li:nth-child(5) {
  animation-delay: -4s;
}

.shadows li:nth-child(6) {
  animation-delay: -5s;
}

.shadows li:nth-child(7) {
  animation-delay: -6s;
}

.shadows li:nth-child(8) {
  animation-delay: -7s;
}

.shadows li:nth-child(9) {
  animation-delay: -8s;
}

.shadows li:nth-child(10) {
  animation-delay: -9s;
}

@keyframes drive {
  0% {
    transform: translate(-50%, -50%) scale(1.05) rotate(0deg);
  }
  100% {
    transform: translate(-50%, -50%) scale(0) rotate(-45deg);
  }
}

@keyframes shadows {
  0% {
    transform: translate(-50%, -50%) scale(1.05) rotate(0deg);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, -50%) scale(0) rotate(-45deg);
    opacity: 0.25;
  }
}

.overlay {
  position: fixed; /* 或 absolute，取决于你的需求 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5); /* 半透明黑色 */
  z-index: 9999; /* 确保它位于其他元素之上 */
  display: none; /* 初始时隐藏蒙层 */
}
.cd-login {
  z-index: 99999; /* 确保它位于其他元素之上 */
  font-family: 'Courier New', Courier, monospace;
}
/* 显示蒙层时，可以通过JavaScript或其他方式将其设置为block或flex等 */
.overlay.show {
  display: block; /* 或 flex、grid 等 */
}

.header-area .main-nav .nav li a.login-log {
  padding: 0 24px;
  font-family: "montserrat-medium", sans-serif;
  font-size: 14px;
  text-transform: none;
  letter-spacing: normal;
  margin: 0;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  border-radius: 8px;
  transition: all 0.3s ease-in-out;
  /* background-color: #c5c5c5; */
  /* border: .3rem solid #c5c5c5; */
  display: flex;
  justify-content: center;
  align-items: center;
}
#countdown {
  width: 80px;
  height: 30px;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  font-family: "montserrat-medium", sans-serif;
  font-size: 14px;
  text-transform: none;
  letter-spacing: normal;
  margin: auto;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  border-radius:8px;
  transition: all 0.3s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #ccc;
  color: #fff;
}


/* 吐丝提示效果 */
/* CSS样式 */
#toast {
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  top: 0;
  margin: auto;
  /* width: 92px; */
  height: 38px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease-in-out;
  z-index: 99;
}
#toast .text {
  background-color: rgba(0, 0, 0, 0.6);
  padding: 10px;
  font-size: 14px;
  border-radius: 4px;
}
#toasts {
  width: 92px;
  height: 92px;
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  top: 0;
  margin: auto;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  padding: 10px;
  border-radius: 4px;
  font-size: 14px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease-in-out;
  z-index: 99;
}
#toast.show,#toasts.show {
  opacity: 1;
  pointer-events: auto;
}



table {
  border-collapse: collapse;
  width: 100%;
}

table, th, td {
  border: 1px solid #cccc;
}

th, td {
  padding: 20px;
  text-align: left;
}

tr:nth-child(even) {
  background-color: #f2f2f2;
}

.delete-btn {
  background-color: red;
  color: white;
  padding: 5px 10px;
  border: none;
  cursor: pointer;
}
/* Custom modal styles */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal content */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 400px;
  border-radius: 10px;
}

/* Close button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
.button{
  border: none;
}
.buttonBtn {
  width: 100px;
  height: 30px;
  border: none;
  line-height: 0px;
}
.confirmDelete{
  float: left;
}
.quit{
  float: right;
}
.log-out {
  height: 40px;
  width: 100px;
  font-family: "montserrat-medium", sans-serif;
  font-size: 14px;
  text-transform: none;
  letter-spacing: normal;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
  white-space: nowrap;
  border-radius: 8px;
  transition: all 0.3s ease-in-out;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #3277FC;
  color: #fff;
}
.nav-log-out {
  display: flex;
  margin: 20px;
  margin-left: 0;
}
.nav-log-out img {
  display: block;
  height: 40px;
  margin-right: 20px;
  cursor: pointer;
}
.notice-win {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  font-size: 17px;
  color: #fff;
  display: none;
  justify-content: center;
  align-items: center;
}
.Dear-users {
  display: flex;
  width: 70%;
  background-color: #000;
  border-radius: 8px;
  cursor: pointer;
}
.mistake_content {
  position: relative;
}
.Dear-users .mistake {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.Dear-users div {
  flex: 1;
}
.Dear-users img {
  width: 100%;
}
.Dear-users .text {
  padding: 10px;
}
.Dear-users .text p {
  display: flex;
  justify-content: space-between;
}