html {
  height: 100%;
}

body {
  font-family: "Roboto", sans-serif;
  overflow-x: hidden;
  overflow-y: auto;
  background: linear-gradient(45deg, #d2a4fd, #366de7);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
}

.box {
  margin: 25em auto;
  opacity: 1;
  padding: 0px 40px 40px 280px;
  width: 280px;
  height: 320px;
  background: whitesmoke url(../imgs/cclinicas_box_login.png);
  background-repeat: no-repeat;
  background-position: left;
  background-size: 40%;
  border-radius: 10px;
  transform: scale(1);
  -webkit-transform: scale(1);
  -ms-transform: scale(1);
  z-index: 10;
  -webkit-box-shadow: 2px 2px 5px #333;
  -moz-box-shadow: 2px 2px 5px #333;
  box-shadow: 2px 2px 5px #333;
}

@-webkit-keyframes autofill {
  to {
    color: #666;
    background: transparent;
  }
}

input:-webkit-autofill {
  -webkit-animation-name: autofill;
  -webkit-animation-fill-mode: both;
}

.title {
  text-align: center;
  float: center;
  line-height: 60px;
  font-size: 20px;
  font-weight: 400;
  letter-spacing: 0.5px;
  color: rgba(0, 0, 0, 0.8);
}

.text {
  text-align: left;
  float: left;
  line-height: 16px;
  font-size: 16px;
  font-weight: 200;
  color: rgba(0, 0, 0, 0.8);
}

.input,
.input label,
.input input,
.button,
.button button .button.login button i.fa,
.material-button .shape:before,
.material-button .shape:after,
.button.login button {
  transition: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-transition: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  -ms-transition: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.material-button,
.alt-2,
.material-button .shape,
.alt-2 .shape,
.box {
  transition: 400ms cubic-bezier(0.4, 0, 0.2, 1);
  -webkit-transition: 400ms cubic-bezier(0.4, 0, 0.2, 1);
  -ms-transition: 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.input,
.input label,
.input input,
.button,
.button button {
  width: 100%;
  float: left;
  outline: none;
}

.input,
.button {
  margin-top: 15px;
}

.input {
  height: 65px;
}

.button {
  height: 50px;
}

.input,
.input input,
.button,
.button button {
  position: relative;
}

.input input,
.input label,
.button button {
  font-family: "Roboto", sans-serif;
  font-size: 24px;
  color: rgba(0, 0, 0, 0.8);
  font-weight: 300;
}

.input input {
  font-size: 16px;
  height: 50px;
  top: 10px;
  border: none;
  background: transparent;
}

.button button {
  border-radius: 5px;
}

.input:before {
  content: "";
  background: rgba(0, 0, 0, 0.1);
  z-index: 3;
  width: 100%;
  height: 2px;
  position: absolute;
  bottom: 0;
  left: 0;
}

.input label {
  position: absolute;
  top: 10px;
  left: 0;
  z-index: 2;
  line-height: 16px;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.button.login {
  width: 60%;
  left: 20%;
  margin-top: 30px;
}

.button.login button,
.button button {
  width: 100%;
  line-height: 40px;
  left: 0%;
  background-color: #8795ee;
  border: none;
  font-weight: 500;
  font-size: 16px;
  color: rgb(255, 255, 255);
}

.button.login button:hover {
  background-color: #7391ea;
  cursor: pointer;
}

.button.login.disabled button:hover {
  background-color: #4e535d96;
  cursor: no-drop;
}

.box-footer {
  width: 100%;
  float: left;
  text-align: center;
  color: #8795ee;
  font-size: 14px;
  margin-top: 15px;
}

.box-footer-new-pass {
  width: 100%;
  float: left;
  text-align: left;
  color: rgba(0, 0, 0, 0.8);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2px;
}

.box-footer-new-pass-valid {
  width: 100%;
  float: left;
  text-align: left;
  color: #366de7;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2px;
}

.box-footer-new-pass-invalid {
  width: 100%;
  float: left;
  text-align: left;
  color: #e54e43;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2px;
}

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

.footer {
  background-color: #4e535d8a;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  text-align: center;
  color: whitesmoke;
  font-size: 12px;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
}

@font-face {
  font-family: Roboto Slab;
  src: url(RobotoSlab-Regular.ttf);
}

@media only screen and (max-height: 600px) {
  .box {
    margin: auto;
  }
}

@media only screen and (min-height: 601px) and (max-height: 800px) {
  .box {
    margin: 5em auto;
  }
}

@media only screen and (min-height: 801px) and (max-height: 900px) {
  .box {
    margin: 10em auto;
  }
}

@media only screen and (min-height: 901px) and (max-height: 1000px) {
  .box {
    margin: 15em auto;
  }
}

@media only screen and (min-height: 1001px) and (max-height: 1200px) {
  .box {
    margin: 20em auto;
  }
}
