/* Form */
.form {
  position: relative;
  z-index: 1;
  background: #FFFFFF;
  max-width: 300px;
  padding: 30px;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin-top: -51px;
}
.form .thumbnail {
  background: #25aee2;
  width: 150px;
  height: 150px;
  margin: 0 auto 30px;
  padding: 50px 30px;
  border-top-left-radius: 100%;
  border-top-right-radius: 100%;
  border-bottom-left-radius: 100%;
  border-bottom-right-radius: 100%;
  box-sizing: border-box;
}
.form .thumbnail img {
  display: block;
  width: 100%;
}
.form select {
  outline: 0;
  background: #f2f2f2;
  width: 100%;
  height: 50px;
  border: solid white 1px;
  margin: 0 0 15px;
  padding: 15px;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
  box-sizing: 20px;
  font-size: 14px;
}
.form input {
  outline: 0;
  background: #f2f2f2;
  width: 100%;
  border: solid white 1px;
  margin: 0 0 15px;
  padding: 15px;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
  box-sizing: border-box;
  font-size: 14px;
}
.form input.has-errors {
  border: solid red 1px;
}
.form button {
  outline: 0;
  background: #25aee2;
  width: 100%;
  border: 0;
  padding: 15px;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  border-bottom-left-radius: 3px;
  border-bottom-right-radius: 3px;
  color: #FFFFFF;
  font-size: 14px;
  -webkit-transition: all 0.3 ease;
  transition: all 0.3 ease;
  cursor: pointer;
}
.form button:disabled {
  color: #888888;
  background: #FFFFFF;
  border: solid #888888 1px;
  cursor: default;
  transition: all 0.3 ease;
}
.form .error-message {
  color: red;
  font-size: 12px;
  margin: 0 0 4px;
}
.form .message {
  margin: 15px 0 0;
  color: #b3b3b3;
  font-size: 12px;
}
.form .message a {
  color: #25aee2;
  text-decoration: none;
}
.container {
  position: relative;
  z-index: 1;
  max-width: 300px;
  margin: 0 auto;
}
.container:before, .container:after {
  content: "";
  display: block;
  clear: both;
}
.container .info {
  margin: 50px auto;
  text-align: center;
}
.container .info h1 {
  margin: 0 0 15px;
  padding: 0;
  font-size: 36px;
  font-weight: 300;
  color: #1a1a1a;
}
.container .info span {
  color: #4d4d4d;
  font-size: 12px;
}
.container .info span a {
  color: #000000;
  text-decoration: none;
}
.container .info span .fa {
  color: #EF3B3A;
}
.or-line {
    margin: 20px auto;
    text-align: center;
    position: relative;
}
.or-line-text {
    display: inline-block;
    font-size: 14px;
    color: #4d4d4d;
    padding-top: 10px;
}
.or-line-text:before, .or-line-text:after {
    background: lightgray;
    display: block;
    height: 1px;
    content: " ";
    width: 35%;
    position: absolute;
    left: 20px;
    top: 1.2em;
}
.or-line-text:after {
    right: 20px;
    left: auto;
}
.facebook-login {
  display: inline-block;
  margin-top: 12px;
}
.footer {
  position: relative;
  z-index: 1;
  background: rgba(0, 0, 0, .6);
  padding: 30px;
  text-align: center;
  position: absolute;
  bottom: 0;
  left: 0;
  color: #FFFFFF;
  width: 100%;
  width: calc(100% - 60px);
}

body {
  background: url("../images/loginbg.jpg");
  font-family: "Roboto", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body:before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  display: block;
  background: rgba(255, 255, 255, 0.7);
  width: 100%;
  height: 100%;
}
.social li a i {
    display: table-cell;
    vertical-align: middle;
}
.social li a {
    font-size: 16px;
    display: table;
    width: 40px;
    height: 40px;
    margin: 0 4px;
    text-decoration: none;
}
.social li {
    list-style: none;
    padding: 0;
    margin: 0;
    display: inline-block;
}
.social.social-circle a {
    background: #337ab7;
    color: #fff;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    -ms-border-radius: 50%;
    border-radius: 50%;
}
.social {
    padding: 0;
    margin: 0;
    display: inline-block;
    position: relative;
    width: 100%;
}

.spinner {
  margin: 0 auto;
  width: 70px;
  text-align: center;
}

.spinner > div {
  width: 18px;
  height: 18px;
  background-color: #337ab7;

  border-radius: 100%;
  display: inline-block;
  -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
  animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.spinner .bounce1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.spinner .bounce2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {
  0%, 80%, 100% { -webkit-transform: scale(0) }
  40% { -webkit-transform: scale(1.0) }
}

@keyframes sk-bouncedelay {
  0%, 80%, 100% {
    -webkit-transform: scale(0);
    transform: scale(0);
  } 40% {
    -webkit-transform: scale(1.0);
    transform: scale(1.0);
  }
}

.hidden {
  display: none;
}

.form button .spinner {
  display: none;
}

.form button p {
  display: block;
}

.form button.loading .spinner {
  display: block;
}

.form button.loading p {
  display: none;
}

@media only screen and (max-height: 800px) {
    .form {
      margin-top: 0;
    }

    .footer {
      display: none;
    }
}

@media only screen and (max-width: 725px) {
    .form {
      position: relative;
      z-index: 1;
      background: #FFFFFF;
      max-width: initial;
      margin: 0;
      border-top-left-radius: 0px;
      border-top-right-radius: 0px;
      border-bottom-left-radius: 0px;
      border-bottom-right-radius: 0px;
      text-align: center;
      position: absolute;
      top: 0%;
      left: 0%;
      padding: 12px;
      height: 100%;
      height: calc(100% - 24px);
      transform: translate(0%, 0%);
      overflow: auto;
      margin-top: 0;
    }

    .footer {
      display: none;
    }

    #backdrop {
      display: none;
    }
}
