html, body{
  height: 100%;
  font-family: 'lato';
  padding: 0;
  margin: 0
}

body{
  display: flex;
  flex-direction: column;
  align-content: center;
  justify-content: center;
  background: url('/static/img/stratis-bg.png') no-repeat;
  background-size: cover;
}

/* Bootstrap Overrides */
.form-group{
  margin: 15px 0 14px;
  position: relative;
}
.custom-input-group .custom-input-group-prepend{
  width: 44px;
  height: 44px;
  position: absolute;
  z-index: 10;
  text-align: center;
  color: #0073cb;
}
.custom-input-group .custom-input-group-prepend i{
  line-height: 44px;
}
.custom-input-group .form-control{
  padding-left: 44px;
  display: inline-block !important;
}
.form-control{
  font-size: 18px;
  box-shadow: none;
  border-radius: 0;
  border: 1px solid transparent;
  border-bottom-color:#0073cb;
  padding: .6em;
  height: auto;
  line-height: 1.15;
}
.form-control:focus{
  box-shadow: none;
  border-color: #0073cb;
}
.form-control:focus::-webkit-input-placeholder {
  color: #ddd;
}
.btn{
  background: #0094fe;
  box-shadow: none;
  border: none;
  padding: 6px 25px;
  border-radius: 20px;
  font-size: 16px;
  text-shadow: none;
  line-height: 24px;
}
.btn:active{
  outline: none;
}
.btn:hover{
  background: #0073cb;
}
a:hover{
  text-decoration: none;
}

.form-wrapper{
  background: #fff;
  box-shadow: rgba(0, 0, 0, 0.5) 1px 3px 10px;
  padding: 32px;
  border-radius: 6px;
  width: 450px;
}
.form-wrapper img.logo{
  max-height: 38px;
  max-width: 158px;
  margin: 10px auto;
  display: block;
}
.form-wrapper h1{
  color: #0094fe;
  font-size: 30px;
  text-align: center;
  margin: 40px 20px;
}
.form-wrapper h2{
  color: #ababab;
  font-size: 20px;
  margin: 0 0 10px;
  text-align: center;
  text-transform: uppercase;
}
.form-wrapper form{
  padding-top: 10px;
}
.form-wrapper form .form-footer{
  margin-top: 20px;
  margin-bottom: 8px;
  display: flex;
  vertical-align: middle;
}

p{
  color: #ababab;
  font-size: 16px;
  font-weight: 400;
}

a{
  color: #0073cb;
}
a.terms{
  color: #fff;
  font-size: 15px;
  font-weight: 500;
}
a.forgot-password{
  color: #0073cb;
  font-size: 18px;
  font-weight: 500;
  line-height: 36px;
}
.content-footer{
  width: 502px;
  padding: 12px;
  margin: 0 auto;
}
.download-links,
.success{
  padding: 40px 0;
}
.error{
  width: 450px;
  color: #BF0011;
  font-size: 16px;
  font-weight: 400;
  vertical-align: middle;
  display: table-cell;
  overflow: hidden;
  text-align: center;
}
.error span {
  display: inline-block;
  vertical-align: top;
  text-align: left;
}
.error .errorextra{
  padding-top: 10px;
}
ul.errorlist{
  color: #BF0011;
  text-align: left;
  margin: 0;
  padding-left: 17px;
  font-size: 14px;
}
.success{
  text-align: center;
}
.success p{
  color: #0094fe;
}
/* Xfinity Overrides */
body.xfinity{
  background: #1F232E;
}
body.xfinity .form-wrapper{
  background: rgb(54, 57, 67);
}
body.xfinity h1,
body.xfinity .success p{
  color: #7FD06E;
}
body.xfinity .btn{
  background: #7FD06E;
}
body.xfinity .btn:hover{
  background: rgb(110, 202, 91);
}
body.xfinity .btn:active{
  background: rgb(144, 214, 129);
}
body.xfinity .form-control,
body.xfinity .form-control:hover{
  border-color: #ababab;
}
body.xfinity a.forgot-password,
body.xfinity a{
  color: #ababab;
}
body.xfinity .custom-input-group .custom-input-group-prepend{
  color: #1F232E;
}

@media only screen and (max-width: 600px) {
  .form-wrapper{
    width: 100%;
    height: 100%;
    border-radius: 0;
    padding: 24px;
  }
  .content-footer{
    position: absolute;
    padding: 12px 9px 24px;
    width: 100%;
    bottom: 0;
    margin: 0;
  }
  .error{
    width: auto;
  }
  a.terms{
    color: #0073cb;
  }
  body.xfinity .form-wrapper{
    background: #1F232E;
  }
  body.xfinity a.terms{
    color: #ababab;
  }
}
