/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline; 
}

/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
  display: block; 
}

body {
  line-height: 1; 
}

ol, ul {
  list-style: none; 
}

blockquote, q {
  quotes: none; 
}

blockquote:before, blockquote:after,
q:before, q:after {
  content: '';
  content: none; 
}

table {
  border-collapse: collapse;
  border-spacing: 0; 
}

button,input {
  outline: none;
}

button {
  cursor: pointer;
}

textarea,
button,
input.text,
input[type="text"],
input[type="button"],
input[type="submit"],
input[type="password"],
.input-checkbox {
  font-family: Microsoft JhengHei;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 0;
  -webkit-tap-highlight-color: transparent; 
}

/*主體*/

html {
  font-family: Microsoft JhengHei;
  width: 100%;
  height: 100%;
  min-width: 1280px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  background: #202022;
  overflow: hidden;
}
.container {
  width: 100%;
  min-width: 1280px;
  height: 980px;
  overflow: hidden;
}
.container .login {
  position: relative;
  width: 500px;
  height: auto;
  margin: 0px auto; 
}

/*logo*/

.container .login .logo {
  width: 445px;
  height: 245px;
  margin: 30px auto -50px;
  background: url('../images/logo.png') no-repeat;
  position: relative;
  z-index: 2;
}

/*input*/

.container .login .input-area {
  width: 340px;
  height: auto;
  padding: 25px 30px 80px;
  background: #0000009e;
  margin: 0px auto;
  border: solid 2px #2d2d2d;
  border-radius: 10px;
  text-align: center;
}
/*for IE*/

@media screen and (-ms-high-contrast: active),(-ms-high-contrast: none){
  .container .login .input-area {
    background: #000;
  }
}

/*for IE 9*/
@media all and (min-width:0\0) and (min-resolution:.001dpcm){
  .container .login .input-area {
    background: #000;
  }
}
.container .login .input-area .login-input {
  width: 100%;
  height: auto;
  margin-top: 40px;
}
.container .login .input-area .login-input label {
  position: relative;
}
.container .login .input-area .login-input label input {
  width: calc(100% - 60px);
  height: 52px;
  font-size: 18px;
  padding-left: 60px;
  border-radius: 10px;
  background: #2b2d2f;
  border: none;
  color: #fff;
  margin-bottom: 24px;
}
.container .login .input-area .login-input label:before {
  content: "";
  position: absolute;
  width: 22px;
  height: 25px;
  background: url('../images/inputIC.png') no-repeat;
  top: 50%;
  transform: translateY(-50%);
  left: 15px;
}
.container .login .input-area .login-input label:nth-of-type(2):before {
  background-position-y: 100%;
}
.container .login .input-area .login-input label span:after {
  content: "";
  position: absolute;
  width: 1px;
  height: 22px;
  left: 50px;
  top: 50%;
  transform: translateY(-50%);
  background: #4f4f4f;
}
.container .login .input-area .login-input label input::-webkit-input-placeholder {
  color: #8d8d8d;
  padding-left: 70px;
  font-size: 15px;
  font-weight: bold;
}
.container .login .input-area.c {
  top: 310px;
}

/*按鈕*/

.container .input-area .version {
  position: relative;
  z-index: 3;
}
.container .input-area .version button {
  background: transparent;
  border: none;
  color: #e7e7e7;
  width: 49%;
  height: auto;
  font-size: 17px;
  font-weight: bold;
  position: relative;
}
.container .input-area .version button:last-child:after {
  content: "";
  position: absolute;
  width: 2px;
  height: 21px;
  background-image: linear-gradient(#6a6a6b 33%,transparent 0%);
  background-position: right;
  background-size: 2px 6px;
  left: 0px;
}
.container .input-area .version button:hover,
.container .input-area .active-new-web .btnNew,
.container .input-area .active-old-web .btnOld {
  color: #00ef98;
}
.container .input-area .version button:hover:before,
.container .input-area .version button:active:before,
.container .input-area .version button.active:before {
  content: "";
  position: absolute;
  background: #00ef98;
  border-radius: 10px;
  width: 9px;
  height: 9px;
  left: 34px;
  top: 55%;
  transform: translateY(-50%);
}
.container .input-area .welecome {
  color: #898a8a;
  font-size: 13px;
  letter-spacing: 5px;
  position: relative;
  margin-bottom: 24px;
}
.container .input-area .welecome:before {
  content: "";
  position: absolute;
  width: 100px;
  height: 1px;
  top: 50%;
  left: 0px;
  background: #898a8a;
}
.container .input-area .welecome:after {
  content: "";
  position: absolute;
  width: 100px;
  height: 1px;
  top: 50%;
  right: 0px;
  background: #898a8a;
}
.container .input-area .loginBtn {
  width: 100%;
  height: 50px;
  border-radius: 10px;
  border: none;
  background: #fff;
  font-size: 24px;
  font-weight: bold;
}
.container .input-area .loginBtn:hover,
.container .input-area .loginBtn:active,
.container .input-area .loginBtn.active {
  background: linear-gradient(to top,#956513 0%,#fde97a 47%,#fff1cf 100%);
  background-color: #fde97a;
}

/*圖片*/

.container .coins {
  width: 318px;
  height: 336px;
  position: absolute;
  left: -540px;
  bottom: -225px;
  background: url('../images/img1.png') no-repeat;
  background-size: 100%;
  z-index: -1;
  animation: move 0.8s ease-out 0s;
}
.container .coins2 {
  width: 248px;
  height: 248px;
  position: absolute;
  bottom: -210px;
  right: -310px;
  background: url('../images/img2.png') no-repeat;
  z-index: -1;
  overflow: hidden;
  border-radius: 200px;
}
.container .coins2:before {
  content: "";
  position: absolute;
  width: 80px;
  height: 300px;
  transform: rotate(45deg);
  background: linear-gradient(to right,transparent 0%,#fff 25%,transparent 100%);
  left: -60px;
  top: -160px;
  animation: flash 1.6s linear 0s infinite;
}

/*背景*/

.container .BG {
  position: absolute;
  top: 0;
  background: url('../images/bg.png') no-repeat top center;
  /* background-size: cover; */
  width: 100%;
  height: 100%;
  min-width: 1280px;
  z-index: -999;
}

/*動畫*/

@keyframes move {
  0% {
    opacity: 0.3;
    left: -50px;
    bottom: 330px;
    transform: scale(0);
  }
  60% {
    left: -1000px;
    bottom: 200px;
    transform: scale(0.3);
  }
  70% {
    left: -1000px;
    bottom: -500px;
  }
  100% {
    opacity: 1;
    left: -540px;
    bottom: -225px;
    transform: scale(1);
  }
}

@keyframes flash {
  0% {
    opacity: 0;
    left: 215px;
    top: 90px;
  }
  25% {
    opacity: 1;
    left: 66px;
    top: -20px;
  }
  50% {
    opacity: 0;
    left: -60px;
    top: -160px;
  }
  100% {
    opacity: 0;
    left: -60px;
    top: -160px;
  }
}