body.login {
    background: url("../img/fd-header.png") no-repeat scroll 50% 0px !important;
}
.ie8 body.login h1 a {
    background-image: url('../img/logo-login.png') !important;
}

#resetpassform {
	height: 280px;
}

.login .reset-pass-submit .button {
	float: right;
}

body.login #login:before {
    background:#32819d;
    content:' ';
    display:block;
    height:31px;
    left:0;
    position:absolute;
    right:0;
    top:0;
    width:100%;
}
body.login #login {
  margin: 0 auto;
  max-width: 800px;
  padding:60px 15px 0;
  width: auto;
}
body.login h1 a {
    background:url(../img/logo.png) no-repeat center center !important;
    background-size:260px 128px !important;
    box-shadow: 10px 10px 0 0 #e6e3e8;
    display:block;
    float:left;
    height:128px !important;
    margin-bottom:40px;
    width:260px !important;
}

body.login #login_error,
body.login .message,
body.login form {
    clear:both;
    font-size:16px; 
}

body.login form {
    background: #fafafa none repeat scroll 0 0;
    box-shadow: none;
    clear:both;
    padding-top:80px;
    position:relative;
}

body.login form:before {
    background:#09BAE0;
    color:white;
    content:"connexion à l'intranet";
    display:block;
    font-size:1.25rem;
    padding:20px;
    position:absolute;
    top:0;
    text-align:center;
    text-transform:uppercase;
    left:0;
    right:0;
}

body.login {
    clear: both;
}
body.login label {
    color: #33608d;
    font-family: "Roboto",sans-serif;
    line-height:44px;
    font-size: 1rem;
    font-weight: bold;
}
body.login form input.input {
/*    float:right; */
    font-size: 1rem;
    height:44px;
}
body.login form .forgetmenot,
body.login form .submit {
    display:inline-block;
    clear:none;
    float:left;
    height:30px;
    text-align:right;
    width:79%;
}
body.login form .submit {
    clear:both;
    float:right;
}

body.login form .forgetmenot + .submit {
    clear:none;
    float:left;
}

body.login form .forgetmenot {
    padding-top:5px;
}
body.login form .submit {
    width:20%;
}

body.login input[type="submit"], button[type="submit"] {
  background: #b4c62d none repeat scroll 0 0;
  border: 0 none;
  border-radius:0;
  box-shadow: 1px 1px 0 0 #000;
  color: #fff;
  display: inline-block;
  font-family: "Roboto_condensed","Roboto",sans-serif;
  font-size: 1rem;
  font-weight: bold;
  height: 30px;
  line-height: 30px;
  padding: 0 25px;
  transition: all 0.4s ease-in-out 0s;
  width: auto;
}
/**
 * MEDIA QUERIES
 * -----------------------------------------------------------------------------
 */
@media only screen and (max-width:700px){
    body.login form .forgetmenot {
        width: 70%;
    }
    body.login form .submit {
        width: 30%;
    }
    .login form .input, .login input[type="text"] {
        margin: 2px 0 16px;
    }
}
@media only screen and (max-width:600px){ 
    body.login h1 {
        margin: 0 auto;
        width: 200px;
    }
    body.login h1 a {
        background-size: 200px auto !important;
        height: 98px !important;
        margin: 0 auto 40px;
        width: 200px !important;
        /**/
        -webkit-box-shadow: 5px 5px 0 0 #e6e3e8;
        box-shadow: 5px 5px 0 0 #e6e3e8;
    }
    body.login form:before {
        font-size: 16px;
        font-size:1rem;
    }
    body.login label {
        line-height: 1;
    }
    body.login form input.input {
        float: none;
        height: 35px;
        width: 100%;
    }
    body.login form .forgetmenot {
        display: block;
        float: none;
        text-align: left;
        width: auto;
    }
    #login form .submit {
        display: block;
        float: none;
        width: auto;
    }
    body.login input[type="submit"], 
    button[type="submit"] {
        height: 35px !important;
        margin: 20px 0 0;
        width: 100%;
    }
}
