label {
    color:white;
}
.myButton {
    box-shadow: 0px 1px 0px 0px #fff6af;
    background:linear-gradient(to bottom, #ffec64 5%, #ffab23 100%);
    background-color:#ffec64;
    border-radius:6px;
    border:1px solid #ffaa22;
    display:inline-block;
    cursor:pointer;
    color:#333333;
    font-family:Arial;
    font-size:15px;
    font-weight:bold;
    padding:6px 24px;
    text-decoration:none;
    text-shadow:0px 1px 0px #ffee66;
}
.myButton:hover {
    background:linear-gradient(to bottom, #ffab23 5%, #ffec64 100%);
    background-color:#ffab23;
}
.myButton:active {
    position:relative;
    top:1px;
}


#loginPassword, #createroompassword, #joinroompassword{
  -webkit-text-security:disc;
}


p {
    margin:5px 0px 0px 0px;
}


.input {
    position: relative;
    font-size: 1em;
    background: linear-gradient(21deg, #10abff, #1beabd);
    padding: 0px 3px 2px 3px;
    display: inline-block;
    border-radius: 9999em;
  }
  .input *:not(span) {
    position: relative;
    display: inherit;
    border-radius: inherit;
    margin: 0;
    border: none;
    outline: none;
    padding: 0 0.5em;
    z-index: 1;
    width:180px;
  }
  .input *:not(span):focus + span {
    opacity: 1;
    -webkit-transform: scale(1);
            transform: scale(1);
  }
  .input span {
    -webkit-transform: scale(0.993, 0.94);
            transform: scale(0.993, 0.94);
    -webkit-transition: opacity 0.25s, -webkit-transform 0.5s;
    transition: opacity 0.25s, -webkit-transform 0.5s;
    transition: transform 0.5s, opacity 0.25s;
    transition: transform 0.5s, opacity 0.25s, -webkit-transform 0.5s;
    opacity: 0;
    position: absolute;
    z-index: 0;
    margin: 4px;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    border-radius: inherit;
    pointer-events: none;
    box-shadow: inset 0 0 0 3px #fff, 0 0 0 4px #fff, 3px -3px 30px #1beabd, -3px 3px 30px #10abff;
  }
  
  html {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    line-height: 1.5;
    font-size: 1em;
  }
  
  body {
    text-align: center;
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
            align-items: center;
    -webkit-box-pack: center;
            justify-content: center;
  }
  
  html,
  body {
    height: 100%;
    touch-action: none;
  }
  /* canvas{
    z-index: -10; 
    position: fixed;
  } */
  
  input {
    font-family: inherit;
    line-height: inherit;
    color: #2e3750;
    /* min-width: 12em; */
  }
  
  ::-webkit-input-placeholder {
    color: #cbd0d5;
  }
  
  ::-moz-placeholder {
    color: #cbd0d5;
  }
  
  :-ms-input-placeholder {
    color: #cbd0d5;
  }
  
  ::-ms-input-placeholder {
    color: #cbd0d5;
  }
  
  ::placeholder {
    color: #cbd0d5;
  }
  
  html::after {
    content: "";
    /* height: 3px; */
    width: 100%;
    position: absolute;
    left: 0;
    top: 0;
  }
/* modified by Bismarck 20210127 */
.containerLogin {
  position:absolute;
  bottom:16%;
  width:100%;
  display: flex;
  justify-content: center;
}

#loginform{
  position:relative;
  padding:2% 2%;
  background-image: url(/src/public/images/login/bg_login_box0.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}



.registercontainer {
  position:absolute;
  width:100%;
  display: flex;
  justify-content: center;
}
.chargecontainer{
  position:absolute;
  top:10%;
  width:100%;
  display: flex;
  justify-content: center;
}
.dischargecontainer{
  position:absolute;
  top:10%;
  width:100%;
  display: flex;
  justify-content: center;
}
.moneychangecontainer{
  position:absolute;
  top:10%;
  width:100%;
  display: flex;
  justify-content: center;
}
.askanswercontainer{
  position:absolute;
  top:10%;
  width:100%;
  display: flex;
  justify-content: center;
}

#chargeform{
  width: 90%;
  position:relative;
  padding:1% 1%;
  background-image: url(/src/public/images/aknew/box_dlg_1.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
#dischargeform{
  width: 90%;
  position:relative;
  padding:1% 1%;
  background-image: url(/src/public/images/aknew/box_dlg_1.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
#moneychangeform{
  width: 80%;
  position:relative;
  padding:1% 1%;
  background-image: url(/src/public/images/aknew/box_dlg_1.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
#askanswerform{
  width: 80%;
  position:relative;
  padding:1% 1%;
  background-image: url(/src/public/images/aknew/box_dlg_1.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
}
input:focus{
  outline: none;
}
#loginUsername{
  margin: 21px 0 11px 0;
  background: transparent;
  border: 0;
  color: white;
}
#loginPassword{
  margin: 2px 0 31px 0;
  background:transparent;
  border: 0;
  color: white;
}
#loginButton{
  background-image: url(/src/public/images/login/btn_login_normal.png);
  background-size: 100% 100%;
}
#registerButton{
  background-image: url(/src/public/images/login/btn_reg_normal.png);
  background-size: 100% 100%;
}

#chargeOkButton{
  background-image: url(/src/public/images/aknew/btn_ok_normal.png);
  background-size: 100% 100%;
  width: 10%;
  height: 100%;
}

#askanswerOkButton{
  background-image: url(/src/public/images/aknew/btn_ok_normal.png);
  background-size: 100% 100%;
  width: 10%;
  height: 100%;
}
#askanswerCancelButton{
  background-image: url(/src/public/images/aknew/btn_cancel_normal.png);
  background-size: 100% 100%;
  width: 10%;
  height: 100%;
}
#main>div{
  z-index: 1000;
}
::-webkit-scrollbar {
  height: 2px;
  width: 2px;
  background: #000;
}

.dlg_container {
  width:100%;height:100%;overflow: hidden;position:absolute;left: 0;top: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}

.dlg_wrap {
  position:absolute;
  width:100%;
  display: flex;
  justify-content: center;
}

.dlg_form {
  width: 90%;
  height: 100%;
  position:relative;
  padding:1% 1%;
  background-image: url(/src/public/images/aknew/box_dlg_1.png);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.dlg_title {
  text-align: center;
  height: 4vh;
  padding: 8px;
}

.dlg_title>.img {
  width: 100%;
  height: 100%;
  background-image: url(/src/public/images/aknew/title_reg.png);
  background-size: auto 100%;
  background-repeat: no-repeat;
  background-position: center;
}

.dlg_back {
  padding: 4px;
  background: #1a283e;
  display: flex;
  flex-direction: column;
  flex: 1;
  margin: 0 32px 0 32px;
}

.dlg_back > div {
  height: 8%;
}

.registerform > .dlg_back > div {
  flex: 1;
}

.dlg_footer {
  width: 100%; height: 8%; margin-top: 1%;
}

input:-webkit-autofill,
input:-webkit-autofill:hover, 
input:-webkit-autofill:focus, 
input:-webkit-autofill:active  {
  transition: background-color 5000s;
  -webkit-text-fill-color: #fff !important;
}
.bg-secondary{
  background-color:#272727!important;
}