#sms_authentication{
  -webkit-text-size-adjust: none;
  background: rgba(0,0,0,0.6);
  display: none;
  height: 100%;
  left: 0;
  overflow: scroll;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 10000;
}
body.sms_authentication #sms_authentication,
body.sms_send #sms_authentication,
body.authentication_finished #sms_authentication{
  display: block;
  animation: modalanime 0.2s ease-in 0s;
}
@keyframes modalanime {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

#sms_authentication .container{
  background: #f5f5f5;
  border: solid #ccc 1px;
  box-sizing: border-box;
  color: #333;
  left: 50%;
  margin-left: -220px;
  position: absolute;
  top: 100px;
  width: 440px;
}

#sms_authentication .container .err{
  color: #c03;
  text-align: center;
}

#sms_authentication .container .step01,
#sms_authentication .container .step02,
#sms_authentication .container .step03{
  display: none;
}

body.sms_authentication #sms_authentication .container .step01,
body.sms_send #sms_authentication .container .step02,
body.authentication_finished #sms_authentication .container .step03{
  display: block;
}

#sms_authentication .container .caption_line{
  background: #fff;
  border-bottom: solid #e5e5e5 2px;
  box-sizing: border-box;
  font-weight: bold;
  font-size: 18px;
  line-height: 2em;
  text-align: center;
}

#sms_authentication .container .normaltxt{
  font-size: 14px;
  line-height: 1.5em;
  margin: 30px 0;
  text-align: center;
}

#sms_authentication .container .phone_number{
  background: #fff;
  border-bottom: solid #e5e5e5 1px;
  border-top: solid #e5e5e5 1px;
  box-sizing: border-box;
  font-weight: bold;
  font-size: 14px;
  line-height: 50px;
  margin: 30px 0;
  padding: 0 30px;
  position: relative;
}

#sms_authentication .container .phone_number_input{
  border: none;
  box-sizing: border-box;
  caret-color: #c03;
  font-size: 18px;
  line-height: 40px;
  margin: 5px 0;
  outline: none;
  padding: 0;
  position: absolute;
  right: 30px;
  text-align: right;
  top: 0;
}

#sms_authentication .send_btn{
  -webkit-appearance: none;
  background: #c03;
  border: none;
  border-radius: 5px;
  color: #fff;
  display: block;
  font-size: 18px;
  font-weight: bold;
  line-height: 2.5em;
  margin: 0 auto;
  outline: 0;
  text-align: center;
  text-shadow: none;
  transition : all 0.5s ease 0s;
  width: 80%;
}

#sms_authentication .send_btn:hover{
  cursor: pointer;
  background: #e03;
}

#sms_authentication .sms_nosend{
  -webkit-appearance: none;
  background: transparent;
  border: solid #c03 2px;
  border-radius: 5px;
  color: #c03;
  display: block;
  font-size: 14px;
  font-weight: bold;
  line-height: 2em;
  margin: 0 auto;
  text-align: center;
  text-shadow: none;
  transition : all 0.5s ease 0s;
  width: 50%;
}

#sms_authentication .sms_nosend:hover{
  background: #c03;
  color: #fff;
  cursor: pointer;
}

#sms_authentication .container .authentication_number{
  box-sizing: border-box;
  font-weight: bold;
  font-size: 14px;
  line-height: 50px;
  margin: 30px 0;
  padding: 0 30px;
  position: relative;
  text-align: center;
}

#sms_authentication .container .authentication_number input[type="text"]{
  -webkit-appearance: none;
  background: #fff;
  border: solid #ccc 1px;
  box-sizing: border-box;
  caret-color: #c03;
  display: inline-block;
  font-size: 18px;
  line-height: 40px;
  margin: 5px;
  outline: none;
  text-align: center;
  width: 50px;
}

#sms_authentication .step03 p{
  padding: 60px 0;
}

#sms_authentication .step03 p span{
  font-weight: bold;
}

#sms_authentication .step03 a{
  border: solid #666 2px;
  border-radius: 5px;
  color: #666;
  display: block;
  font-size: 14px;
  font-weight: bold;
  line-height: 2em;
  margin: 0 auto;
  text-align: center;
  text-decoration: none;
  width: 30%;
}

#sms_authentication .cr{
  display: block;
  font-size: 12px;
  margin: 30px;
  text-align: center;
}

#sms_authentication .cr span{
  font-family:'Times New Roman', 'Times';
}

@media screen and (max-width:500px) { 
#sms_authentication .container{
  left: 50%;
  margin-left: -45%;
  top: 30px;
  width: 90%;
}

#sms_authentication .container .phone_number{
  font-size: 12px;
  padding: 0 15px;
}

#sms_authentication .container .phone_number_input{
  right: 15px;
  width: 160px;
}

#sms_authentication .container .normaltxt span{
  display: block;
}
}