/*
* taken from
* http://getbootstrap.com/examples/cover/cover.css
*/

/*
 * Globals
 */

/* Links */
a,
a:focus,
a:hover {
  color: #fff;
}

a {
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: border-color 0.1s ease;
}

a:hover {
  text-decoration: none;
  border-color: rgba(255, 255, 255, 0.8);
}

/* Custom default button */
.btn-default,
.btn-default:hover,
.btn-default:focus {
  color: #333;
  text-shadow: none; /* Prevent inheritance from `body` */
  background-color: #fff;
  border: 1px solid #fff;
}

a.auth-google {
  width: 191px;
  height: 46px;
  background-image: url('/_/static/img/google_signin_focus.png'); /* preload */
  background-image: url('/_/static/img/google_signin_pressed.png'); /* preload */
  background: url('/_/static/img/google_signin.png') center center no-repeat;
  background-size: contain;
  display: block;
  margin: 0 auto;
  border: 0;
}

a.auth-google:focus {
  background-image: url('/_/static/img/google_signin_focus.png');
  outline: none;
}

a.auth-google:active {
  background-image: url('/_/static/img/google_signin_pressed.png');
}

body::after{
    position:absolute; width:0; height:0; overflow:hidden; z-index:-1;
    content:url(/_/static/img/google_signin_focus.png) url(/_/static/img/google_signin_pressed.png) url(/_/static/img/google_signin.png);
}


/*
 * Base structure
 */

html,
body {
  height: 100%;
  background-color: #333;
  background: linear-gradient(to bottom, #75279c, #56008f);
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0,0,0,.5);
}

/* Extra markup and styles for table-esque vertical and horizontal centering */
.site-wrapper {
  display: table;
  width: 100%;
  height: 100%; /* For at least Firefox */
  min-height: 100%;
  /*-webkit-box-shadow: inset 0 0 100px rgba(0,0,0,.5);
          box-shadow: inset 0 0 100px rgba(0,0,0,.5);*/
}
.site-wrapper-inner {
  display: table-cell;
  vertical-align: top;
}
.cover-container {
  margin-right: auto;
  margin-left: auto;
}

/* Padding for spacing */
.inner {
  padding: 30px;
}

h3 {
  margin: 20px 0;
}

p {
  font-size: 17px;
  margin-bottom: 20px;
}

/*
 * Header
 */

.masthead-brand {
  font-family: 'Bitter', serif;
  margin-top: 10px;
  margin-bottom: 10px;
}

.masthead-brand a {
  color: #fff;
  text-decoration: none;
  border: 0;
}

.masthead-brand a:hover {
  color: #fff;
  text-decoration: none;
}

.cover-heading {
  font-family: 'Bitter', serif;
  font-size: 120px;
  white-space: nowrap;
}

@media only screen and (max-width: 500px) {
  .cover-heading {
    font-family: 'Bitter', serif;
    font-size: 40px;
  }
}

.masthead-nav > li {
  display: inline-block;
}
.masthead-nav > li + li {
  margin-left: 20px;
}
.masthead-nav > li > a {
  padding-right: 0;
  padding-left: 0;
  font-size: 16px;
  font-weight: bold;
  color: #fff; /* IE8 proofing */
  color: rgba(255,255,255,.75);
  border-bottom: 2px solid transparent;
}
.masthead-nav > li > a:hover,
.masthead-nav > li > a:focus {
  background-color: transparent;
  border-bottom-color: #a9a9a9;
  border-bottom-color: rgba(255,255,255,.25);
}
.masthead-nav > .active > a,
.masthead-nav > .active > a:hover,
.masthead-nav > .active > a:focus {
  color: #fff;
  border-bottom-color: #fff;
}

@media (min-width: 768px) {
  .masthead-brand {
    float: left;
  }
  .masthead-nav {
    float: right;
  }
}


/*
 * Cover
 */

.cover {
  padding: 0 20px;
}
.cover .btn-lg {
  padding: 10px 20px;
  font-weight: bold;
}


/*
 * Footer
 */

.mastfoot {
  color: #999; /* IE8 proofing */
  color: rgba(255,255,255,.5);
}


/*
 * Affix and center
 */

@media (min-width: 768px) {
  /* Pull out the header and footer */
  .masthead {
    position: fixed;
    top: 0;
  }
  .mastfoot {
    position: fixed;
    bottom: 0;
  }
  /* Start the vertical centering */
  .site-wrapper-inner {
    vertical-align: middle;
  }
  /* Handle the widths */
  .masthead,
  .mastfoot,
  .cover-container {
    width: 100%; /* Must be percentage or pixels for horizontal alignment */
  }
}

@media (min-width: 992px) {
  .masthead,
  .mastfoot,
  .cover-container {
    width: 700px;
  }
}

/*
 * Typed
 */

.typed-cursor {
    opacity: 1;
    -webkit-animation: blink 0.7s infinite;
    -moz-animation: blink 0.7s infinite;
    animation: blink 0.7s infinite;
}
@keyframes blink {
    0% { opacity:1; }
    50% { opacity:0; }
    100% { opacity:1; }
}
@-webkit-keyframes blink {
    0% { opacity:1; }
    50% { opacity:0; }
    100% { opacity:1; }
}
@-moz-keyframes blink {
    0% { opacity:1; }
    50% { opacity:0; }
    100% { opacity:1; }
}

/*
 * Landing
 */

.page-landing p.lead {
  margin: 40px 0;
  font-size: 22px;
  line-height: 32px;
}

/*
 * Global form styling
 */

 .page-cover input {
  font-size: 16px;
  transition: background-color 0.4s ease;
  color: #000;
  background: #efefef;
  padding: 10px;
 }

 .page-cover input:focus {
  background: #fff;
 }

.page-cover input[type="submit"] {
  background-color: #121212;
  color: #eee;
}

.page-cover input[type="submit"]:hover {
  background-color: #000;
  color: #fff;
}

/*
 * Signup form
 */

.form-signup {
}

.form-signup input {
  height: auto;
  font-size: 16px;
}

.form-signup input[type="email"] {
  width: 225px;
  margin-left: auto;
  margin-right: auto;
}

.form-signup input[type="submit"] {
  border: 2px solid #000;
}

/*
 * Login form
 */

 .form-login {
  text-align: left;
  width: 100%;
  max-width: 400px;
  margin: 0 auto 30px auto;
 }

 .form-login input {
  display: block;
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  color: #000;
  height: auto;
  font-size: 16px;
 }

 .form-login input[type="submit"] {
  color: #eee;
  background: #111;
 }

 .form-login input[type="submit"]:hover {
  color: #fff;
  background: #000;
 }

 /*
 * Join form
 */

 .form-join {
  margin: 25px 0;
 }

 .join-status {
  font-style: italic;
 }

/*
 * Create password
 */

.form-create-password {
  width: 100%;
  max-width: 250px;
  margin: 20px auto 0 auto;
}
.form-create-password .progress {
  margin: 10px 0;
}

/*
 * Verify form
 */

 .verify-form {
  text-align: center;
  display: block;
  margin: 40px 0;
}

.verify-form input {
  width: auto;
  display: inline-block;
}

.verify-form input,
.verify-hyphen {
  font-size: 30px;
  text-align: center;
  padding: 45px 10px;
  margin-right: 5px;
}


@media only screen and (max-width: 500px) {
  .verify-form input,
  .verify-hyphen {
    font-size: 20px;
    text-align: center;
    padding: 25px 5px;
  }
}

/*
 * New team
 */

.form-new-team input {
  max-width: 250px;
  margin: 0 auto;
}

.form-new-team .help-block {
  margin-top: 15px;
  color: #eee;
  font-size: 90%;
  font-style: italic;
}

.form-new-team .help-block.with-errors {
  color: #ff4c4c;
  font-style: normal;
  font-weight: bold;
}

.form-new-team .has-error .form-control {
  border-color: #ff4c4c;
}

.form-new-team h4 {
  margin-bottom: 15px;
}

.form-new-team h4:nth-of-type(2) {
  margin-top: 30px;
}

.form-new-team input[type="email"]:last-of-type {
  margin-bottom: 20px;
}

.form-new-team label[for="allow_email_domain"] {
  display: inline;
  padding-left: 3px;
}

.form-new-team input[type="submit"] {
  margin-top: 20px;
  display: block;
}

#domain_link_hint {
  margin: 15px auto 0 auto;
  text-align: left;
  width: 400px;
}