*,
*:after,
*:before {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -o-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

.clearfix:after {
    content: "";
    display: table;
    clear: both;
}


.form_login {
    /* Size and position */
    width: 340px;
    margin: 60px auto 30px;
    padding: 15px;
    position: relative;

    /* Styles */
    background: #fffaf6;
    border-radius: 4px;
    color: #7e7975;
    box-shadow:
        0 2px 2px rgba(0,0,0,0.2),        
        0 1px 5px rgba(0,0,0,0.2),        
        0 0 0 12px rgba(255,255,255,0.4); 
}

.form_login h1 {
    font-size: 15px;
    font-weight: bold;
    color: #bdb5aa;
    padding-bottom: 8px;
    border-bottom: 1px solid #EBE6E2;
    text-shadow: 0 2px 0 rgba(255,255,255,0.8);
    box-shadow: 0 1px 0 rgba(255,255,255,0.8);
}

.form_login h1 .log-in,
.form_login h1 .sign-up {
    display: inline-block;
    text-transform: uppercase;
}

.form_login h1 .log-in {
    color: #6c6763;
    padding-right: 2px;
}

.form_login h1 .sign-up {
    color: #ffb347;
    padding-left: 2px;
}

.form_login .float {
    width: 50%;
    float: left;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,1);
}

.form_login .float:first-of-type {
    padding-right: 5px;
}

.form_login .float:last-of-type {
    padding-left: 5px;
}

.form_login label {
    display: block;
    padding: 0 0 5px 2px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 400;
    text-shadow: 0 1px 0 rgba(255,255,255,0.8);
    font-size: 11px;
}

.form_login label i {
    margin-right: 5px; /* Gap between icon and text */
    display: inline-block;
    width: 10px;
}

.form_login input[type=text],
.form_login input[type=password] {
    font-family: 'Lato', Calibri, Arial, sans-serif;
    font-size: 13px;
    font-weight: 400;
    display: block;
    width: 100%;
    padding: 5px;
    margin-bottom: 5px;
    border: 3px solid #ebe6e2;
    border-radius: 5px;
    -webkit-transition: all 0.3s ease-out;
    -moz-transition: all 0.3s ease-out;
    -ms-transition: all 0.3s ease-out;
    -o-transition: all 0.3s ease-out;
    transition: all 0.3s ease-out;
}

.form_login input[type=text]:hover,
.form_login input[type=password]:hover {
    border-color: #CCC;
}

.form_login label:hover ~ input {
    border-color: #CCC;
}

.form_login input[type=text]:focus,
.form_login input[type=password]:focus {
    border-color: #BBB;
    outline: none; /* Remove Chrome's outline */
}

.form_login input[type=submit]
 {
    /* Size and position */
    width: 49%;
    height: 38px;
    float: left;
    position: relative;

    /* Styles */
    box-shadow: inset 0 1px rgba(255,255,255,0.3);
    border-radius: 3px;
    cursor: pointer;

    /* Font styles */
    font-family: 'Lato', Calibri, Arial, sans-serif;
    font-size: 14px;
    line-height: 38px; /* Same as height */
    text-align: center;
    font-weight: bold;
}

.form_login .forgotpass {
    /* Size and position */
    width: 49%;
    height: 38px;
    float: left;
    position: relative;

    /* Styles */
    box-shadow: inset 0 1px rgba(255,255,255,0.3);
    border-radius: 3px;
    cursor: pointer;

    /* Font styles */
    font-family: 'Lato', Calibri, Arial, sans-serif;
    font-size: 12px;
    line-height: 38px; /* Same as height */
    text-align: center;
    font-weight: normal;
}

.form_login input[type=submit] {
    margin-left: 1%;
    background: #fbd568; /* Fallback */
    background: -moz-linear-gradient(#fbd568, #ffb347);
    background: -ms-linear-gradient(#fbd568, #ffb347);
    background: -o-linear-gradient(#fbd568, #ffb347);
    background: -webkit-gradient(linear, 0 0, 0 100%, from(#fbd568), to(#ffb347));
    background: -webkit-linear-gradient(#fbd568, #ffb347);
    background: linear-gradient(#fbd568, #ffb347);
    border: 1px solid #f4ab4c;
    color: #996319;
    text-shadow: 0 1px rgba(255,255,255,0.3);
}

.form_login .forgotpass {
    margin-left: 1%;
    background: #6C6763; /* Fallback */
    background: -moz-linear-gradient(#6C6763, #898785);
    background: -ms-linear-gradient(#6C6763, #898785);
    background: -o-linear-gradient(#6C6763, #898785);
    background: -webkit-gradient(linear, 0 0, 0 100%, from(#6C6763), to(#898785));
    background: -webkit-linear-gradient(#6C6763, #898785);
    background: linear-gradient(#6C6763, #898785);
    border: 1px solid #6C6763;
    color: #ffffff;
    text-shadow: 0 -1px rgba(0,0,0,0.3);
    text-decoration: none;
}

.form_login input[type=submit]:hover,
.form_login .forgotpass:hover {
    box-shadow: 
        inset 0 1px rgba(255,255,255,0.3), 
        inset 0 20px 40px rgba(255,255,255,0.15);
}

.form_login input[type=submit]:active,
.form_login .forgotpass:active{
    top: 1px;
}

/* Fallback fro broswers that don't support box shadows */
.no-boxshadow .form_login input[type=submit]:hover {
    background: #ffb347;
}

.no-boxshadow .form_login .forgotpass:hover {
    background: #2a8ac4;
}

.form_login p:last-of-type {
    clear: both;    
}

.form_login .opt {
    text-align: right;
    margin-right: 3px;
}

.form_login label[for=showPassword] {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 400;
    text-transform: capitalize;
}

.form_login input[type=checkbox] {
    vertical-align: middle;
    margin: -1px 5px 0 1px;
}