/* body {
  margin: 0;
  color: #6a6f8c;
  background: #c8c8c8;
  font: 600 16px/18px "Open Sans", sans-serif;
} */

*,
:after,
:before {
  box-sizing: border-box;
}

.clearfix:after,
.clearfix:before {
  content: "";
  display: table;
}

.clearfix:after {
  clear: both;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.modal-content,
.modal-dialog,
.login-wrap,
.modal-show {
  border-radius: 25px !important;
  background-color: rgba(40, 57, 101, 0.9);
  border: 1px solid rgba(40, 57, 101, 0.9);
}

.close {
  position: absolute;
  z-index: 2;
  right: 22px;
  color: #fff;
  top: 16px;
  opacity: 1;
}

.login-wrap {
  overflow: hidden;
  width: 100%;
  margin: auto;
  max-width: 525px;
  min-height: 465px;
  position: relative;
  background: url('../theme_academy/images/bg.jpg') no-repeat center;
  box-shadow: 0 12px 15px 0 rgba(0, 0, 0, 0.24),
    0 17px 50px 0 rgba(0, 0, 0, 0.19);
}

.login-html {
  width: 100%;
  height: 100%;
  position: absolute;
  padding: 25px 70px 50px 70px;
  background: rgba(40, 57, 101, 0.9);
}

.login-html .sign-in-htm,
.login-html .sign-up-htm,
.login-html .forgot-htm {
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  position: absolute;
  transform: rotateY(180deg);
  backface-visibility: hidden;
  transition: all 0.4s linear;
}

.login-form {
  margin-top: 30px;
}

.login-form label {
  color: white;
  opacity: 1;
}

.login-html .sign-in,
.login-html .sign-up,
.login-html .forgot,
.login-form .group .check {
  display: none;
}

.login-html .tab,
.login-form .group .label,
.login-form .group .button {
  text-transform: uppercase;
  font-weight: bold;
}

.login-html .tab {
  color: #00adb1;
  font-size: 22px;
  margin-right: 15px;
  cursor: pointer;
  padding-bottom: 5px;
  margin: 0 15px 10px 0;
  display: inline-block;
  border-bottom: 2px solid transparent;
}

.login-html .sign-in:checked + .tab,
.login-html .sign-up:checked + .tab,
.login-html .forgot:checked + .tab {
  color: #fff;
  border-color: #00adb1;
  cursor: pointer;
}

.login-form {
  min-height: 345px;
  position: relative;
  perspective: 1000px;
  transform-style: preserve-3d;
}

.login-form .group {
  margin-bottom: 15px;
}

.login-form .group .label,
.login-form .group .input,
.login-form .group .button {
  width: 100%;
  color: #fff;
  display: block;
}

.login-form .group .input,
.login-form .group .button {
  border: none;
  padding: 15px 20px;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.1);
}

.login-form .group input[data-type="password"] {
  -webkit-text-security: circle;
}

.login-form .group .label {
  font-size: 12px;
}

.login-form .group .button {
  background: #00adb1;
  cursor: pointer;
}

.login-form .group .button:hover {
  background: #1454c4;
  cursor: pointer;
}

.login-form .group label .icon {
  width: 15px;
  height: 15px;
  border-radius: 2px;
  position: relative;
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
}

.login-form .group label .icon:before,
.login-form .group label .icon:after {
  content: "";
  width: 10px;
  height: 2px;
  background: #fff;
  position: absolute;
  transition: all 0.2s ease-in-out 0s;
}

.login-form .group label .icon:before {
  left: 3px;
  width: 5px;
  bottom: 6px;
  transform: scale(0) rotate(0);
}

.login-form .group label .icon:after {
  top: 6px;
  right: 0;
  transform: scale(0) rotate(0);
}

.login-form .group .check:checked + label {
  color: #fff;
}

.login-form .group .check:checked + label .icon {
  background: #1161ee;
}

.login-form .group .check:checked + label .icon:before {
  transform: scale(1) rotate(45deg);
}

.login-form .group .check:checked + label .icon:after {
  transform: scale(1) rotate(-45deg);
}

.login-html .sign-in:checked + .tab + .sign-up + .tab + .forgot + .tab + .login-form .sign-in-htm {
  transform: rotate(0);
}

.login-html .sign-up:checked + .tab + .forgot + .tab + .login-form .sign-up-htm {
  transform: rotate(0);
}

.login-html .forgot:checked + .tab + .login-form .forgot-htm {
  transform: rotate(0);
}

.hr {
  height: 2px;
  margin: 30px 0 30px 0;
  background: rgba(255, 255, 255, 0.2);
}

.foot-lnk {
  text-align: center;
}

.foot-lnk a {
  color: white;
}

@media (max-width: 576px) {
  .login-html {
    padding: 25px 20px 20px 20px;
  }
}
