
@import url(https://fonts.googleapis.com/css?family=Roboto:300);

body {
  position : absolute;
  display : block;
  left : 0px;
  top : 0px;
  right : 0px;
  bottom : 0px;
  margin : 0px;
  padding : 0px;
  background : #bababa;
  background-size: contain;
  background-repeat : no-repeat;
  background-position: center center;
  font-family : "Roboto", sans-serif;
  -webkit-font-smoothing : antialiased;
  -moz-osx-font-smoothing : grayscale;
}

.back-page {
  position : fixed;
  display : block;
  left : 0px;
  top : 0px;
  right : 0px;
  bottom : 0px;
  background-image : url("../img/working-office.jpg");
  opacity: 1;
  width: 100%;
  height: 100%;
  background-size: cover;
}

.login-page {
  position: fixed;
  top: 65px; /* pour descendre le bloc connexion augmenter la valeur */
  width: 360px;
  margin: auto;
  left: 0;
  right: 0;
  border-radius: 10px;
  z-index: 1;
  margin-top: 15px; /* ajustez cette valeur selon votre souhait */
}
.login-page h2 {
  margin-top: 2px;
}
.login-page .form {
  border-radius: 10px;
}

.logo-page-login {
  position: absolute;
  padding: 5px;
  padding-left: 20px;
  left: 0px;
  top: 15px;
  width: 310px;
  height: 70px;
  background: #FFFFFF;
}

.logo-page-login:before {
  content:'';
  position:absolute;
  top:0; right:0px;
  width:100%; height:100%;
  border-right:40px solid #34c823 ;
  -webkit-transform-origin:100% 100%;
  -ms-transform-origin:100% 100%;
  transform-origin:100% 100%;
  -webkit-transform:skewX(-30deg);
  -ms-transform:skewX(-30deg);
  transform:skewX(-25deg);
}

.footer-page-login {
  position: absolute;
  padding: 5px;
  padding-left: 20px;
  right: 0px;
  bottom: 2px;
  width: 200px;
  height: 30px;
  background: #FFFFFF;
}
.footer-page-login:before {
  content:'';
  position:absolute;
  top:0; left:-250px;
  width:100%; height:100%;
  border-right:30px solid #34c823 ;
  -webkit-transform-origin:100% 100%;
  -ms-transform-origin:100% 100%;
  transform-origin:100% 100%;
  -webkit-transform:skewX(-30deg);
  -ms-transform:skewX(-30deg);
  transform:skewX(-25deg);
}

.form button {
  background: #34c823!important;
  color:white!important;
  font-weight: bold!important;
  text-transform:none!important;
}

.load-page {
  position: relative;
  top: 50%;
  width: 400px;
  height: 150px;
  margin: auto;
  margin-top: -75px;
  overflow : hidden;
  border-radius: 10px;
  display: none;
}

.error-page  {
  position: relative;
  top: 50%;
  width: 360px;
  height: 350px;
  margin: auto;
  margin-top: -175px;
  border-radius: 10px;
  display: none;
}
.load-page h2 , .error-page h2 {
  margin-top: 2px;
}

.load-page-process {
  position: relative;
  top: 50%;
  width: 400px;
  height: 150px;
  margin: auto;
  margin-top: -75px;
  overflow : hidden;
}

.help-page {
  position: relative;
  top: 50%;
  width: 360px;
  margin: auto;
  margin-top: -175px;
  display: none;
}
.help-page h2 {
  margin-top: 2px;
}

.alinkform {
  margin-top: 5px;
  display: inline-block;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
}
.form {
  position: relative;
  z-index: 1;
  background: #FFFFFF50;
  max-width: 360px;
  margin: 0 auto 100px;
  padding: 45px;
  text-align: center;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.2), 0 5px 5px 0 rgba(0, 0, 0, 0.24);
}
.form input {
  font-family: "Roboto", sans-serif;
  outline: 0;
  background: #f2f2f2;
  width: 100%;
  border: 0;
  margin: 0 0 15px;
  padding: 15px;
  box-sizing: border-box;
  font-size: 14px;
}
.form button {
  font-family: "Roboto", sans-serif;
  text-transform: uppercase;
  outline: 0;
  background: #4CAF50;
  width: 100%;
  border: 0;
  padding: 15px;
  color: #FFFFFF;
  font-size: 14px;
  -webkit-transition: all 0.3 ease;
  transition: all 0.3 ease;
  cursor: pointer;
}
.form button:hover,.form button:active,.form button:focus {
  background: #43A047;
}
.form .message {
  margin: 15px 0 0;
  color: #b3b3b3;
  font-size: 12px;
}
.form .message a {
  color: #4CAF50;
  text-decoration: none;
}
.form .register-form {
  display: 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;
}
fieldset {
  border: 0!important;
}
fieldset label {
  display : inline-block;
  margin-bottom: 5px;
  padding-bottom: 5px;
}

@media only screen and (max-width: 400px) {
  .back-page {
    background-size:cover;
  }
  .load-page ,.error-page,.login-page,.help-page  {
    width: 100%;
  }
}

