@import url(https://fonts.googleapis.com/css?family=Roboto:300);

html, body {
  background: #fff;
  font-family: serif;
  font-weight: 300;
  height: 100%; /*Allow spacing based on window height*/
  margin: 0;
  min-height: 240px;
}
a{
    text-decoration: underline;
}
/*The form part*/
.content {
/*A box that the form resides in - centered vertically and horizontally based on the window. The max-width and % width combo allow it to resize for small devices*/  
  background: #FFF;
  border-radius: 8px;
  display: block;
  left: 50%;
  width: 100%;
  position: absolute;
  top: 420px;
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  width: 90%;
  z-index: 2;
}

.actionbar {
    display: block;
    width: 90%;
    max-width: 360px;
  background-color: #ffffff;
  height: 50px;
/*  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);*/
}

.actionbar svg {
  cursor: pointer;
  margin-left: 26px;
}

img {
    max-width: 100%;
    height: auto;
}

form {
  display: block;
  margin: auto;
  width: 85%;
}

.fblogin {
    display: block;
  margin: auto;
  /*width: 85%;*/ 
}
/*Text-inputs*/
.mat-in {
  position: relative;
  margin-bottom: 32px;
}

input {
    border: none;
    border-bottom: 1px solid #87CEFA;
    display: block;
    font-size: 16px;
    padding: 8px 0px;
    -webkit-transition: 0.2s border-bottom;
    transition: 0.2s border-bottom;
    width: 100%;
}

input:focus, input:invalid {
  box-shadow: none;
  outline: none;
}

    input:focus {
        border-bottom: 1px solid #6495ED;
    }

/*Labels*/
label {
  /*color: #9E9E9E;
  font-size: 16px;
      top: 10px;*/
  pointer-events: none;
  position: absolute;
  
  -webkit-transition: 0.2s ease all;
  transition: 0.2s ease all;
  color: #828080;
  font-size: 14px;
  top: -16px;
}

input:focus ~ label, input:valid ~ label {
  /*color: #075143;*/
  color: #828080;
  font-size: 14px;
  top: -16px;
}

/*Bar that appears when an input is selected*/
.bar:before, .bar:after {
  background: #075143;
  bottom: 1px;
  content: '';
  height: 2px;
  position: absolute;
  -webkit-transition: 0.2s ease all;
  transition: 0.2s ease all;
  width: 0;
}

.bar:before {
  left: 50%;
}

.bar:after {
  right: 50%;
}

input:focus ~ .bar:before, input:focus ~ .bar:after {
  width: 50%;
}

.topcontent {
    text-align: center;
}

.topcontent h1{
    font-size: 40px;
}

.topcontent p{
    font-size:20px;
    font-style: italic;
    padding: 5px 25px 29px 25px
}

.text-danger{
    font-size:10px;
    vertical-align:text-top;
}

/*Submit Button*/
#login {
    background: #4169E1;
    border: none;
    color: #FFF;
    cursor: pointer;
    font-family: serif;
    font-size: 20px;
    opacity: 0.999;
    padding: 16px 0;
    position: relative;
    -webkit-transition: 0.2s ease background;
    transition: .2s ease background;
    width: 100%;
}

    #login:hover {
        background: #1c41b0;
    }

#login:before, #login:after {
  border-radius: 2px;
  content: '';
  height: 0;
  left: 0;
  opacity: 0;
  position: absolute;
  width: 100%;
  -webkit-transition: 0.2s ease all;
  transition: .2s ease all;
  z-index: -1;
}

#login:before {
  top: 50%;
}

#login:after {
  bottom: 50%;
}

#login:active:before, #login:active:after {
  background: #075143;
  height: 50%;
  opacity: 1;
}

.facebook-button {
  margin-top: 20px;
  background: #ffffff;
  border: 3px solid #3a5597;
  color: #3a5597;
  cursor: pointer;
    font-family: serif;
  font-size: 20px;
  opacity: 0.999;
  padding: 16px 0;
  position: relative;
  -webkit-transition: 0.2s ease background;
  transition: .2s ease background;
  width: 100%;
}

.bottomcontent {
   text-align: center;
    margin-bottom: 40px;
}

.bottomcontent h2{
    font-size: 20px;
}

.bottomcontent a{
    font-size: 20px;
    color: #075143;
}

.logo {
    text-align: center;
}


/*Error Messages*/
.error {
  color: #F44336;
  margin: 16px auto 0;
  text-align: center;
  width: 90%;
}

.loading {
    position: absolute;
    display: none;
    border: 1px solid transparent;
    padding: 2px;
    background-color: transparent;
    color: #ffffff;
    opacity: 0.90;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    width: 100vw;
    height: 100vh;
    text-align: center;
    z-index: 100000;
}
