html {
    height: 100%;
}

body {
    width: 100%;
    margin: auto;
    margin-bottom: 0;
    font-family: 'Open Sans', 'WeblySleek', Helvetica, Arial, Serif, serif;
    transition: color 1s;
    background: url("../ressources/img/pexels-photo-566862.jpg") no-repeat scroll;
    background-size: 100% auto;
    color: #d4d4d4;
}

a {
    color: #d4d4d4;
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: deepskyblue;
    text-decoration: none;
}

#main {
    width: 100%;
    box-sizing: border-box;
    margin: auto;
}

#title {
    width: 100%;
    height: 100px;
    line-height: 100px;
    text-align: center;
    font-size: 3em;
    text-transform: uppercase;
    background: rgba(20, 20, 20, 0.7);
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    color: white;
}

#box_behind {
    background: url(../ressources/img/pexels-photo-566862.jpg) no-repeat scroll;
    background-size: 100% auto;
    width: 300px;
    box-sizing: border-box;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    margin-top: 200px;
    z-index: 99;
    background-position: center -200px;
}

#box {
    width: 500px;
    box-sizing: border-box;
    margin: auto;
    margin-top: 200px;
    padding: 20px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    background: rgba(20, 20, 20, 0.6);
    position: relative;
    z-index: 100;
}

#box input {
    -webkit-border-radius: 2px;
    -moz-border-radius: 2px;
    border-radius: 2px;
    height: 35px;
    padding: 4px;
    width: 300px;
/ / box-sizing: border-box;
/ / margin-top: 30 px;
    border: 0;
    border-bottom: 1px solid lightgrey;
    color: white;
    outline: none;
}

#box table {
    text-align: center;
    width: 100%;
}

#box td {
    height: 30px;
}

#box #login_table .error, #box #login_table_forget_psw .error {
    color: red;
}

#box #username {
    background: rgba(34, 34, 34, 0);
    /* padding-left: 40px; */
    padding: 20px;
    transition: background 0.5s;
}

#box #username:focus {
/ / background: rgba(34, 34, 34, 0.55) url("../ressources/img/glyphicons-4-user.png") no-repeat scroll 4 px 3 px;
/ / padding-left: 40 px;
}

#box #password {
    background: rgba(34, 34, 34, 0);
    /* padding-left: 40px; */
    padding: 20px;
    transition: background 0.5s;
}

#box #password:focus {
    /*background: rgba(34,34,34,0.55) url("../ressources/img/glyphicons-45-keys.png") no-repeat scroll 4px 2px;
	padding-left:40px;*/
}

#box #email {
    background: rgba(34, 34, 34, 0) url("../ressources/img/glyphicons-125-message-plus.png") no-repeat scroll 4px 8px;
    padding-left: 40px;
    transition: background 0.5s;
}

#box #email:focus {
    background: rgba(34, 34, 34, 0.55) url("../ressources/img/glyphicons-125-message-plus.png") no-repeat scroll 4px 8px;
    padding-left: 40px;
}

/* Personalized buttons */
.button {
    display: inline-block;
    white-space: nowrap;

    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#3f4c6b+0,3f4c6b+100;Blue+Grey+Flat */
    background: #3f4c6b; /* Old browsers */
    background: -moz-linear-gradient(top, #3f4c6b 0%, #3f4c6b 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #3f4c6b 0%, #3f4c6b 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #3f4c6b 0%, #3f4c6b 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#3f4c6b', endColorstr='#3f4c6b', GradientType=0); /* IE6-9 */

    width: 300px;
    height: 50px;
    line-height: 50px;
    border: 0;
    padding: 0 1.5em;
    margin-top: 20px;
    text-decoration: none;
    color: white;
    border-radius: .2em;
    cursor: pointer;
    font-weight: bold;
}

.button:hover {
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#4096ee+0,4096ee+100;Blue+Flat+%232 */
    background: #4096ee; /* Old browsers */
    background: -moz-linear-gradient(top, #4096ee 0%, #4096ee 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(top, #4096ee 0%, #4096ee 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, #4096ee 0%, #4096ee 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#4096ee', endColorstr='#4096ee', GradientType=0); /* IE6-9 */
}

.button:focus {
    outline: 0;
}


#login_tabs {
    display: table;
    list-style: none;
    padding: 0;
    text-align: center;
    margin: auto;
}

#login_tabs li {

    text-transform: uppercase;
    float: left;
    background-color: transparent;
    height: 40px;
    line-height: 40px;
    font-weight: bold;
    font-size: 14px;
/ / padding-left: 30 px;
/ / padding-right: 30 px;
    border-bottom: 4px solid transparent;
    width: 150px;
    box-sizing: border-box;
}

#login_tabs a {
    color: white;
}

#login_tabs a:hover,
#login_tabs a:focus {
    /*border-bottom-color: @middle-blue; /*#2ac7e1;*/
    /*opacity: 1;
    filter: alpha(opacity=100);*/
}

#login_tabs li:hover,
#login_tabs li:focus {
    /*border-bottom-color: @middle-blue; /*#2ac7e1;*/
    /*opacity: 1;
    filter: alpha(opacity=100);*/

    color: deepskyblue;
    transition-duration: 400ms;
}

#login_tabs a:focus {
    /*outline: 0;*/
}

#login_tabs #current {
    /*z-index: 3;
    border-bottom-color: @middle-gray;
    opacity: 1;
    filter: alpha(opacity=100);*/

    color: deepskyblue;
}

#login_tabs .current {
    border-bottom: 4px solid deepskyblue;

    transition-duration: 400ms;
}

#timeoutDisconnectedMessage {
    display: none;
    width: 700px;
    text-align: center;
    color: white;
    position: absolute;
    top: 110px;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    background: darkorange;
    border-radius: 10px;
    padding: 10px;
    z-index: 100;
}

#timeoutDisconnectedMessage .title {
    font-size: 1.4em;
    margin: 0;
    font-weight: bold;
}

#timeoutDisconnectedMessage .text {
    margin: 5px 0 0;
}

.lang {
    color: white;
}

.lang_selected {
    color: deepskyblue;
}

.lang:hover {
    color: deepskyblue;
}