@import url(http://fonts.googleapis.com/css?family=Sarala);
* {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

body {
  /*background: #2196F3;*/
  /*background-image: url(http://www.pageresource.com/wallpapers/wallpaper/blue-background-full-hd.jpg);*/
  /*background-image: url(http://www.hdwallpaperspulse.com/wp-content/uploads/2013/09/11/url1.jpeg);*/
  /*background-image: url(http://www.hdfondos.eu/preview/get_photo/83126/1680/1050);*/
    background-image: url('../images/background2.png');
    background-repeat: no-repeat;
    font-family:Sarala,sans-serif;
    background-size: cover;
    /*background-position: center;*/
    width: 100vw; /* Chiều rộng 100% viewport width */
    height: 100vh; /* Chiều cao 100% viewport height */
}

img {
  width: 100%;
  margin: 0px 0px 20px 10px;
}

.login-form {
  width: 350px;
  padding: 40px 30px;
  background: #eee;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
  margin: auto;
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
}

.form-group {
  position: relative;
  margin-bottom: 15px;
}

.form-control {
  width: 100%;
  height: 50px;
  border: none;
  padding: 5px 35px 5px 15px;
  background-color: rgba(255, 255, 255, 0.1);;
  color: #666;
  border: 2px solid #ddd;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
}
.form-control:focus, .form-control:focus + .fa {
  border-color: #10CE88;
  color: #10CE88;
}

.form-group .fa {
  position: absolute;
  right: 15px;
  top: 17px;
  color: #999;
}

.log-status.wrong-entry {
  -moz-animation: wrong-log 0.3s;
  -webkit-animation: wrong-log 0.3s;
  animation: wrong-log 0.3s;
}

.log-status.wrong-entry .form-control, .wrong-entry .form-control + .fa {
  border-color: #ed1c24;
  color: #ed1c24;
}

.log-btn {
  background: #005f6e;
  border: 3px solid #005f6e;
  width: 100%;
  font-size: 18px;
  height: 50px;
  color: #fff;
  text-decoration: none;
  border: none;
  -moz-border-radius: 4px;
  -webkit-border-radius: 4px;
  border-radius: 4px;
}

.link {
  text-decoration: none;
  color: #C6C6C6;
  float: right;
  font-size: 12px;
  margin-bottom: 15px;
}
.link:hover {
  text-decoration: underline;
  color: #8C918F;
}

.alert {
  display: none;
  font-size: 12px;
  color: #f00;
  float: left;
}

@-moz-keyframes wrong-log {
  0%, 100% {
    left: 0px;
  }
  20% , 60% {
    left: 15px;
  }
  40% , 80% {
    left: -15px;
  }
}
@-webkit-keyframes wrong-log {
  0%, 100% {
    left: 0px;
  }
  20% , 60% {
    left: 15px;
  }
  40% , 80% {
    left: -15px;
  }
}
@keyframes wrong-log {
  0%, 100% {
    left: 0px;
  }
  20% , 60% {
    left: 15px;
  }
  40% , 80% {
    left: -15px;
  }
}


.login-form, .log-btn {
    box-shadow: 0 2px 4px -1px
        rgba(0,0,0,0.06),0 4px 5px 0
        rgba(0,0,0,0.06),0 1px 10px 0
        rgba(0,0,0,0.08);
}

.error {
    color: red;
}