@import url('https://fonts.googleapis.com/css?family=Roboto:100,300,400,700,300italic,400italic,700italic|Product+Sans');
@import url('https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css');

html,
body {
  width: 100%;
  height: 100%;
}
body {
  font-family: 'Roboto',Arial,sans-serif;
}
.h1, h1 {
  font-family: 'Product Sans','Roboto',Arial,sans-serif;
  border-bottom: 3px solid #eee;
  margin: 40px 0 20px;
  padding-bottom: 9px;
}
.h2, h2 {
  color: #a8aaac;
  margin: 40px 0 10px;
}
footer {
  position: fixed;
  left: 0;
  bottom: 0;
  height: 20px;
  width: 100%;
  padding: 2px 8px;
  background-color: #666;
  color: #ccc;
  font-size: 12px;
  text-align: right;
}

label.error {
  color: #f00;
  font-weight: 400;
}
.text-vertical-center {
  display: table-cell;
  vertical-align: middle;
}
.text-vertical-center > .container {
  margin-bottom: 40px;
}
.text-success {
  color: #00ff00;
}

/* Auth page */
.generic-page {
  display: table;
  position: relative;
  width: 100%;
  height: 100%;
}
.generic-page h1 {
  margin-top: 0;
}
.auth-page .auth-container {
  margin: 40px auto;
  max-width: 480px;
}
.auth-page .auth-form input {
  text-align: center;
}
.auth-page .auth-form label.error {
  display: block;
  text-align: center;
  margin-top: 4px;
}
.auth-page .countdown {
  position: relative;
}
.auth-page .countdown .text {
  position: absolute;
  top: 10px;
  left: 50px;
}
.auth-page .countdown .timer {
  position: absolute;
  display: block;
  text-align: center;
  top: 10px;
  left: 0;
  width: 40px;
  z-index: 10;
}
/* Busy indicator (https://loading.io/css/) */
.lds-dual-ring {
  display: inline-block;
  width: 40px;
  height: 40px;
}
.lds-dual-ring:after {
  content: " ";
  display: block;
  width: 32px;
  height: 32px;
  margin: 4px;
  border-radius: 50%;
  border: 2px solid #aaa;
  border-color: #aaa transparent #aaa transparent;
  animation: lds-dual-ring 1.0s linear infinite;
}
@keyframes lds-dual-ring {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
