* {
  margin: 0px auto;
  padding: 0px;
  text-align: center;
}

input:focus {
  outline: none;
}

button:focus {
  outline: none;
}

.wrapper {
  position: relative;
  width: 320px;
  margin-top: 100px;
}
@media (max-width: 992px) {
  .wrapper {
    margin-top: 50px;
  }
}

.main {
  position: absolute;
  width: 380px;
  height: 400px;
  top: 0px;
  left: -30px;
  background-color: #fff;
  border: 1px solid #f1f1f1;
  padding: 50px 0 0 0;
}
.main:after {
  content: "";
  position: absolute;
  top: 10px;
  right: -10px;
  z-index: -1;
  width: 380px;
  height: 450px;
  background-color: #cddc39;
}

.bg_left {
  position: absolute;
  left: -520px;
  top: 60px;
}
@media (max-width: 992px) {
  .bg_left {
    display: none;
  }
}

.bg_right {
  position: absolute;
  left: 370px;
  top: 60px;
}
@media (max-width: 992px) {
  .bg_right {
    display: none;
  }
}

.cont_news {
  position: absolute;
  left: 400px;
  top: 210px;
  width: 350px;
  min-height: 210px;
  background-color: #fff;
  border-radius: 5px;
  border: 1px solid #e8e8e8;
  -webkit-box-shadow: 0px 3px 12px rgba(0, 0, 0, 0.2);
          box-shadow: 0px 3px 12px rgba(0, 0, 0, 0.2);
}
.cont_news .cont_news_bar {
  background-color: #cddc39;
  border-radius: 5px 5px 0 0;
  color: #fff;
  padding: 10px 0;
}
.cont_news .cont_news_text {
  color: #838383;
  font-size: 0.9rem;
  height: 80%;
  line-height: 1.3rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 20px;
}
.cont_news .cont_news_text ul {
  width: 100%;
}
.cont_news .cont_news_text ul li {
  text-align: left;
  margin-bottom: 5px;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  list-style-position: inside;
}
.cont_news .cont_news_text ul li a {
  color: #9b9b9b;
  text-decoration: none;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}
.cont_news .cont_news_text ul li a:hover {
  color: #000;
}
.cont_news .cont_news_link {
  color: #fff;
  font-size: 0.7rem;
  position: absolute;
  right: 20px;
  top: 12px;
}
.cont_news .cont_news_link:hover {
  color: #fffdbb;
}
@media (max-width: 992px) {
  .cont_news {
    left: -15px;
    top: 500px;
  }
}

/* ======= Login Form ======= */
.cont_form_login input {
  padding: 12px 15px 12px 30px;
  margin-top: 25px;
  width: 220px;
  border: 1px solid #ebebeb;
  border-radius: 3px;
  text-align: left;
  color: #757575;
}

.icon_user {
  position: relative;
}
.icon_user:before {
  content: "";
  width: 20px;
  height: 20px;
  background: url(../images/icon_user.svg) no-repeat;
  position: absolute;
  left: 6px;
  top: 0px;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.icon_user.fc:before {
  left: 9px;
}

.icon_pwd {
  position: relative;
}
.icon_pwd:before {
  content: "";
  width: 20px;
  height: 20px;
  background: url(../images/icon_pwd.svg) no-repeat;
  position: absolute;
  left: 6px;
  top: 0px;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.icon_pwd.fc:before {
  left: 9px;
}

.icon_key {
  position: relative;
}
.icon_key:before {
  content: "";
  width: 20px;
  height: 20px;
  background: url(../images/icon_key.svg) no-repeat;
  position: absolute;
  left: 6px;
  top: 0px;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.icon_key.fc:before {
  left: 9px;
}

.ver_code {
  margin-top: 10px;
}

.btn_login {
  background-color: #cddc39;
  border: none;
  padding: 10px;
  width: 130px;
  border-radius: 20px;
  color: #fff;
  margin-top: 20px;
  cursor: pointer;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}
.btn_login:hover {
  width: 140px;
  background-color: rgba(205, 220, 57, 0.9);
}

/* ======= Forget Password ======= */
.btn_forget_pwd {
  position: absolute;
  right: 38px;
  top: 20px;
  font-size: 12px;
  color: #979797;
}
.btn_forget_pwd:hover {
  color: #727171;
}

.cont_forget_pwd {
  position: absolute;
  z-index: 1;
  padding: 20px 20px;
  max-width: 300px;
  left: calc(50% - 170px);
  top: -15px;
  opacity: 0;
  display: none;
  background-color: rgba(0, 0, 0, 0.5);
}
.cont_forget_pwd input {
  margin-top: 25px;
  padding: 10px 15px 10px 30px;
  text-align: left;
  border: none;
  border-radius: 3px;
}
.cont_forget_pwd .forget_note {
  font-size: 13px;
  color: #fff;
  margin-top: 10px;
  width: 70%;
  text-align: left;
}

.btn_forget_close {
  position: relative;
  display: block;
  width: 20px;
  height: 20px;
  -webkit-transition: 0.5s all ease-in-out;
  transition: 0.5s all ease-in-out;
}
.btn_forget_close:before, .btn_forget_close:after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 26px;
  height: 1px;
  content: "";
  background-color: #fff;
}
.btn_forget_close:before {
  -webkit-transform: translateX(-50%) rotate(45deg);
          transform: translateX(-50%) rotate(45deg);
}
.btn_forget_close:after {
  -webkit-transform: translateX(-50%) rotate(-45deg);
          transform: translateX(-50%) rotate(-45deg);
}
.btn_forget_close:hover {
  -webkit-transform: rotate(90deg);
          transform: rotate(90deg);
}

.icon_user_forget {
  position: relative;
}
.icon_user_forget:before {
  content: "";
  width: 20px;
  height: 20px;
  background: url(../images/icon_user_forget.svg) no-repeat;
  position: absolute;
  left: 6px;
  top: 0px;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.icon_user_forget.fc:before {
  left: 9px;
}

.icon_key_forget {
  position: relative;
}
.icon_key_forget:before {
  content: "";
  width: 20px;
  height: 20px;
  background: url(../images/icon_key_forget.svg) no-repeat;
  position: absolute;
  left: 6px;
  top: 0px;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.icon_key_forget.fc:before {
  left: 9px;
}

.btn_forget_send {
  background-color: rgba(205, 220, 57, 0.9);
  border: none;
  padding: 10px;
  width: 120px;
  border-radius: 20px;
  -webkit-box-shadow: 1px 5px 20px -5px rgba(0, 0, 0, 0.4);
          box-shadow: 1px 5px 20px -5px rgba(0, 0, 0, 0.4);
  color: #fff;
  margin-top: 20px;
  cursor: pointer;
  -webkit-transition: all 0.5s;
  transition: all 0.5s;
}
.btn_forget_send:hover {
  width: 130px;
  background-color: #cddc39;
}

.cont_forget_pwd_active {
  -webkit-animation: showup 1s cubic-bezier(0.5, -0.68, 0.49, 1.6) forwards;
          animation: showup 1s cubic-bezier(0.5, -0.68, 0.49, 1.6) forwards;
  display: block;
}

@-webkit-keyframes showup {
  0% {
    top: 0px;
    opacity: 0;
  }
  100% {
    top: 30px;
    opacity: 1;
  }
}

@keyframes showup {
  0% {
    top: 0px;
    opacity: 0;
  }
  100% {
    top: 30px;
    opacity: 1;
  }
}
.cont_forget_pwd_deactive {
  -webkit-animation: hideup 1s cubic-bezier(0.5, -0.68, 0.49, 1.6) forwards;
          animation: hideup 1s cubic-bezier(0.5, -0.68, 0.49, 1.6) forwards;
}

@-webkit-keyframes hideup {
  0% {
    top: 30px;
    opacity: 1;
  }
  100% {
    top: 0px;
    opacity: 0;
  }
}

@keyframes hideup {
  0% {
    top: 30px;
    opacity: 1;
  }
  100% {
    top: 0px;
    opacity: 0;
  }
}