/*
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 300;
  src: local('Raleway Light'), local('Raleway-Light'), url('../fonts/raleway-v14-latin-300.woff2') format('woff2'), url('../fonts/raleway-v14-latin-300.woff') format('woff');
}
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 400;
  src: local('Raleway'), local('Raleway-Regular'), url('../fonts/raleway-v14-latin-regular.woff2') format('woff2'), url('../fonts/raleway-v14-latin-regular.woff') format('woff');
}
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 500;
  src: local('Raleway Medium'), local('Raleway-Medium'), url('../fonts/raleway-v14-latin-500.woff2') format('woff2'), url('../fonts/raleway-v14-latin-500.woff') format('woff');
}
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 700;
  src: local('Raleway Bold'), local('Raleway-Bold'), url('../fonts/raleway-v14-latin-700.woff2') format('woff2'), url('../fonts/raleway-v14-latin-700.woff') format('woff');
}
@font-face {
  font-family: 'Raleway';
  font-style: normal;
  font-weight: 800;
  src: local('Raleway ExtraBold'), local('Raleway-ExtraBold'), url('../fonts/raleway-v14-latin-800.woff2') format('woff2'), url('../fonts/raleway-v14-latin-800.woff') format('woff');
}*/
/* nunito-sans-300 - latin-ext_latin */
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 300;
  src: local('Nunito Sans Light'), local('NunitoSans-Light'),
       url('../fonts/nunito-sans-v5-latin-ext_latin-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/nunito-sans-v5-latin-ext_latin-300.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* nunito-sans-regular - latin-ext_latin */
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Nunito Sans Regular'), local('NunitoSans-Regular'),
       url('../fonts/nunito-sans-v5-latin-ext_latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/nunito-sans-v5-latin-ext_latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* nunito-sans-600 - latin-ext_latin */
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 600;
  src: local('Nunito Sans SemiBold'), local('NunitoSans-SemiBold'),
       url('../fonts/nunito-sans-v5-latin-ext_latin-600.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/nunito-sans-v5-latin-ext_latin-600.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* nunito-sans-700 - latin-ext_latin */
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 700;
  src: local('Nunito Sans Bold'), local('NunitoSans-Bold'),
       url('../fonts/nunito-sans-v5-latin-ext_latin-700.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/nunito-sans-v5-latin-ext_latin-700.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

/* nunito-sans-800 - latin-ext_latin */
@font-face {
  font-family: 'Nunito Sans';
  font-style: normal;
  font-weight: 800;
  src: local('Nunito Sans ExtraBold'), local('NunitoSans-ExtraBold'),
       url('../fonts/nunito-sans-v5-latin-ext_latin-800.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */
       url('../fonts/nunito-sans-v5-latin-ext_latin-800.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */
}

html,
body {
  font-size: 16px;
  height: 100%;
}
body {
  font-family: "Nunito Sans", Helvetica, Arial, sans-serif;
  color: var(--body-color);
  font-weight: 400;
  line-height: 1.5;
  margin: 0 auto;
  padding: 0;
  height: 100vh;
  background-image: url('../images/login.jpg');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
}
a {
  color: #8898aa;
  display: inline-block;
  text-decoration: none;
  -webkit-transition: all .35s ease;
  -moz-transition: all .35s ease;
  -o-transition: all .35s ease;
  transition: all .35s ease;
  outline: none;
  cursor: pointer;
}
div.wrap {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  min-height: 100%;
  padding: 1rem;
}
h2 {
  text-align: center;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  display: inline-block;
  margin: 2.5rem .5rem .875rem;
  color: var(--grey-color-500);
}
.avatar {
  margin-bottom: 2rem;
}
#formContent {
  background-color: #fff;
  padding: 0;
  border-radius: .5rem;
  width: 90%;
  max-width: 450px;
  position: relative;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);
  text-align: center;
}
.formFooter {
  border-top: 1px solid #cbd5e0;
  padding: 1.750rem;
  text-align: center;
  border-radius: 0 0 .5rem .5rem;
}
footer {
  text-align: center;
  padding-top: 1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  margin-top: 2em;
  font-size: .938em;
}
input[type="text"],
input[type="password"] {
  background-color: #fff;
  color: #4a5568;
  padding: .875rem 2rem;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 1em;
  width: 85%;
  outline: none;
  margin: 0.5rem 0;
  -webkit-appearance: none;
  border: 0px solid #dee2e6;
  transition: all 0.15s ease 0s;
  border-radius: .250rem;
  font-family: inherit;
  box-shadow: 0 1px 3px 0 rgba(0,0,0,.1), 0 1px 2px 0 rgba(0,0,0,.06);
  font-weight: 400;
}
input[type=text]:focus,
input[type="password"]:focus {
  background-color: #fff;
  border: 0px solid #6979f8;
  box-shadow: 0 0 0 3px rgba(66,153,225,.5);
}
 input[type=text]:placeholder, input[type="password"]:placeholder,  ::-webkit-input-placeholder {
 color: #cbd5e0;
}
 input:-webkit-autofill {
 box-shadow: 0 0 0px 30px #fff inset;
 background-color: #fff;
 -webkit-text-color: #fff;
 color:#fff;
}
input:-webkit-autofill:focus {
 -webkit-text-color: #fff;
 color:#fff;
}
.input-container.error {
  background-color: rgba(248,0,0,0.15);
}
button[name=submit],
button[name=doopass] {
  outline: none;
  border: none;
  color: #FFF;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  text-transform: uppercase;
  font-size: .875rem;
  cursor: pointer;
  box-shadow: 0 10px 30px 0 rgba(105, 121, 248, 0.1);
  border-radius: .250rem;
  user-select: none;
  transition: all .3s ease-in-out;
  font-family: inherit;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  padding: 1rem 8rem;
  width: 85%;
  background-color: var(--primary-color);
  letter-spacing: 2px;
}
button[name=submit]:hover {
  background-color: var(--primary-color-hover);
  box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -2px rgba(0,0,0,.05);
}
button[name=submit]:active,
button[name=doopass]:active {
  background-color: #4a5568;
}
.underlineHover:after {
  display: block;
  left: 0;
  bottom: -10px;
  width: 0;
  height: 2px;
  background-color: #4a5568;
  content: "";
  transition: width 0.2s;
}
.underlineHover:hover {
  color: #4a5568;
}
.underlineHover:hover:after {
  width: 100%;
}
/* == Loading == */
button.loading {
  position: relative;
  cursor: default;
  color: transparent;
  opacity: 1;
  pointer-events: auto;
  -webkit-transition: all 0s linear, opacity 0.1s ease;
  transition: all 0s linear, opacity 0.1s ease;
}
button.loading:before {
  position: absolute;
  content: '';
  top: 50%;
  left: 50%;
  width: 1.5em;
  height: 1.5em;
  border-radius: 500rem;
  transform: translate(-50%, -50%);
  border: 4px solid rgba(0, 0, 0, 0.15);
}
button.loading:after {
  position: absolute;
  content: '';
  top: 50%;
  left: 50%;
  width: 1.5em;
  height: 1.5em;
  margin-left: -.875em;
  margin-top: -.875em;
  -webkit-animation: button-spin 0.6s linear;
  animation: button-spin 0.6s linear;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  border-radius: 500rem;
  border-color: #ffffff transparent transparent;
  border-style: solid;
  border-width: 4px;
  box-shadow: 0px 0px 0px 1px transparent;
}
@-webkit-keyframes button-spin {
 from {
 -webkit-transform: rotate(0deg);
 transform: rotate(0deg);
}
 to {
 -webkit-transform: rotate(360deg);
 transform: rotate(360deg);
}
}
@keyframes button-spin {
 from {
 -webkit-transform: rotate(0deg);
 transform: rotate(0deg);
}
 to {
 -webkit-transform: rotate(360deg);
 transform: rotate(360deg);
}
}