/* shamelessly taken from wordpress 2.5 - thank you guys!!! */
* {
    margin: 0;
    padding: 0;
}

body {
    font: 12px "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif;
}

form {
    padding: 16px 16px 16px 16px;
    border-radius: 5px;
}

#login form input.submit {
    font-family: "Lucida Grande", "Lucida Sans Unicode", Tahoma, Verdana, sans-serif;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    float: right;
    height: 35px;
    padding: 0 20px;
    cursor: pointer;
    font: bold 15px Arial, Helvetica;
}

#login form div {
    margin-bottom: 24px;
}

.updated, .login #login_error, .login .message {
    background-color: #ffffe0;
    border-color: #e6db55;
    margin: 0 auto;
    width: 330px;
}

#login fieldset {
    border: 0;
}

#login fieldset.actions {
    line-height: 35px;
    width: 315px;
    margin-top: 10px;
}

#login h1 {
    text-align: center;
    color: #666;
    margin: 0 0 30px 0;
    font: normal 26px/1 Verdana, Helvetica;
    position: relative;
}

#login {
    background-color: #fafafa;
    width: 360px;
    padding: 30px;
    margin: 50px auto 0 auto;
    z-index: 0;
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -webkit-box-shadow: 0 0 2px rgba(0, 0, 0, 0.2), 0 1px 1px rgba(0, 0, 0, .2);
    -moz-box-shadow: 0 0 2px rgba(0, 0, 0, 0.2), 1px 1px 0 rgba(0, 0, 0, .1);
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.2), 0 1px 1px rgba(0, 0, 0, .2);
}

#login form {
    margin: 0 5px;
    position: relative;
}

#login form input[type="text"],
#login form input[type="password"] {
    padding: 10px 15px 10px 45px;
    margin: 0 0 15px 0;
    width: 253px; /* 258 + 2 + 55 = 315 */
    border: 1px solid #ccc;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    -moz-box-shadow: 0 1px 1px #ccc inset, 0 1px 0 #fff;
    -webkit-box-shadow: 0 1px 1px #ccc inset, 0 1px 0 #fff;
    box-shadow: 0 1px 1px #ccc inset, 0 1px 0 #fff;
}

#login_form_rememberme {
    vertical-align: middle;
}

#login_error, .message {
    margin: 0 0 16px 8px;
    border: 1px solid;
    padding: 12px;
}

#nav, #piwik {
    margin: 0 0 0 8px;
    padding: 16px;
}

#nav {
    text-align: center;
}

#nav a:hover {
    text-decoration: underline;
}

#login_form_password, #reset_form_password,
#reset_form_password_bis, #login_form_login, #reset_form_login {
    background: #fff url(../../../themes/default/images/login-sprite.png) no-repeat;
}

#login_form_password, #reset_form_password, #reset_form_password_bis {
    background-position: 10px -51px !important;
}

#login_form_login, #reset_form_login {
    background-position: 10px 11px !important;
}

#login_form_password, #reset_form_password, #reset_form_password_bis,
#login_form_login, #reset_form_login {
    font-size: 20px;
    width: 97%;
    padding: 3px;
    margin-right: 6px;
}

#login #login_error {
    background-color: #ffebe8;
    border-color: #c00;
}

#login form input.submit {
    background-color: #e5e5e5;
}

#login form input.submit:hover {
    background-color: #eee;
}

.login #login_error {
    background-color: #ffffe0;
    border-color: #e6db55;
}

.login #nav a {
    color: #777;
}

.login #piwik a {
    color: #CDCDCD;
}

body.login {
    border-top-color: #464646;
}

#login form input {
    color: #555;
}

a {
    text-decoration: none;
}

#logo {
    margin: 100px auto 0 auto;
    width: 240px;
    position: relative;
}

#logo .description a {
    font: 16px/16px 'Patrick Hand';
    color: #666666;
    right: auto;
    text-decoration: none;
}

#logo .description {
    position: absolute;
    left: -40px !important;
    top: -30px !important;
    -webkit-transform: rotate(-6deg);
    -moz-transform: rotate(-6deg);
    -ms-transform: rotate(-6deg);
    -o-transform: rotate(-6deg);
}

#logo .description .arrow {
    background: url(../../../themes/default/images/affix-arrow.png);
    width: 50px;
    height: 68px;
    position: absolute;
    left: -35px;
}

#logo img {
    border: 0;
    vertical-align: bottom;
    width: 260px;
}

#logo .h1 {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-weight: normal;
    color: #136F8B;
    font-size: 45pt;
    text-transform: none;
}

.loadingPiwik {
    float: left;
    margin-left: 16px;
}

/* IE < 9 will use this */
html.old-ie .ie-hide {
    display: none;
}
