html {
  height: 100%;
}

body {
  background-image: url("/static/images/background_7.3ae01c267a40.jpg");
  background-repeat: repeat-y;
  background-position: center;
  background-size: cover;
  height: 100%;
}

.main {
  margin: 0 auto;
  max-width: 400px;
}

 /* Bordered form */
form {
  border-radius: 10px;
  background-color: white;
  box-shadow: 5px 5px 5px #f1f1f1;
  margin-top: 20px;
}

.loginfb {
  border: 3px solid #f1f1f1;
  border-radius: 10px;
}

/* Full-width inputs */
input[type=text], input[type=password], input[type=email] {
  width: 100%;
  padding: 12px 20px;
  margin: 8px 0;
  display: inline-block;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

input[required] {
  border-color: #809fff;
}

/* Set a style for all buttons */
button,.btn2 {
  background-color: #04AA6D;
  color: white;
  padding: 14px 20px;
  margin: 8px 0;
  border: none;
  border-radius: 4px;
  box-sizing: border-box;
  cursor: pointer;
  font-size: 17px;
  width: 100%;
}

.btn {
  width: 100%;
  padding: 14px 20px;
  border: none;
  border-radius: 4px;
  box-sizing: border-box;
  margin: 8px 0;
  display: inline-block;
  font-size: 17px;
  line-height: 20px;
  text-decoration: none; /* remove underline from anchors */
}

.btn2 {
  display: inline-block;
  text-align: center;
  text-decoration: none;
}

/* Add a hover effect for buttons */
button:hover,.btn:hover,.btn2:hover {
  opacity: 0.8;
}

/* Extra style for the cancel button (red) */
.cancelbtn {
  width: auto;
  padding: 10px 18px;
  background-color: #f44336;
}

/* Center the logo image inside this container */
.imgcontainer {
  text-align: center;
  padding: 25px 0 0 0;
}

/* Logo image */
img.logo {
  width: 30%;
  border-radius: 50%;
  border: 2px solid #f1f1f1;
}

/* Add padding to containers */
.container {
  padding: 25px;
}

.fb {
  background-color: #3B5998;
  color: white;
}

/* horizontal line */
.hl {
  border-bottom: 1px solid #ddd;
  text-align: center;
  width: 100%;
  line-height: 0.1em;
  margin: 25px 0;
}

/* text inside the horizontal line */
.hl-innertext {
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 50%;
  padding: 8px 8px;
}

/* The "Forgot password" text */
span.psw {
  float: right;
  padding-top: 16px;
}

/* Change styles for span and cancel button on extra small screens */
@media screen and (max-width: 300px) {
  span.psw {
    display: block;
    float: none;
  }
  .cancelbtn {
    width: 100%;
  }
}

/* Styles for message texts */
.success {
  text-align: center;
  color: green;
}

.danger {
  text-align: center;
  color: red;
}

 /* The alert message box */
.alert {
  border-radius: 10px;
  padding: 20px;
  background-color: white;
  margin-bottom: 15px;
}

/* The close button */
.closebtn {
  margin-left: 15px;
  color: gray;
  font-weight: bold;
  float: right;
  font-size: 22px;
  line-height: 20px;
  cursor: pointer;
  transition: 0.3s;
}

/* When moving the mouse over the close button */
.closebtn:hover {
  color: black;
}

.slogan {
  font-size: 1.5em;
  padding: 15px 20px 0 20px;
  text-align: center;
}

.float-msg {
    position: fixed;
    top: 40px;
    right: 20px;
}

.float-msg-animation {
    animation-name: float-msg-fading;
    animation-duration: 8s;
    animation-timing-function: ease-in;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

@keyframes float-msg-fading {
    0% {opacity:0}
    10% {opacity:1}
    25% {opacity:1}
    50% {opacity:1}
    75% {opacity:1}
    90% {opacity:0.8}
    100% {opacity:0; display: none;}
}

.msg-box {
  margin-bottom: 0.5rem;
  margin-left: auto;
  margin-right: auto;
  max-width: 400px;
}