#mode-login {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(242, 242, 242, .42);
    z-index:500
}

#mode-login:target, .login h1 a {
    display:block
}

.popup-block-login {
    display: block;
    background: #f7f7f7;
    overflow-y: scroll;
    overflow-x: hidden;
    position: relative;
    margin: 6% auto;
    width: 500px;
    height: 500px;
    box-shadow: 3px 3px 6px #e9e9e9;
    padding: 20px 4px 0;
    border-radius: 3px;
    -moz-border-radius: 3px;
    -webkit-border-radius:3px
}

#login .paragraphe {
    width: 100%;
    margin: 200px auto 0 auto;
    text-align: center;
    font-size: 26px;
}

.login :-moz-placeholder, :-moz-placeholder {
    color:#a9a9a9
}

.login input[type=password], .login input[type=text], .login select, .login textarea {
    border: 0;
    border-bottom: 1px solid #f1f1f1;
    background-color: #fff;
    color: #ccc;
    outline: 0;
    -webkit-transition: .05s border-color ease-in-out;
    transition:.05s border-color ease-in-out
}

.login input[type=password]:focus, .login input[type=text]:focus, .login select:focus, .login textarea:focus {
    border-color:#f6d528
}

.login input, .login select, .login submit, .login textarea {
    font-family: inherit;
    font-size: inherit;
    font-weight:inherit
}

.login input, .login select, .login textarea {
    font-size: 13px;
    -webkit-border-radius: 0;
    border-radius:0
}

.login input, .login select {
    margin: 1px;
    padding:3px 5px
}

.login h1 {
    text-align:center
}

.login form, .login h1 a {
    font-weight: 400;
    overflow:hidden
}

.login * {
    margin: 0;
    padding:0
}

.login form {
    margin-top: 12px;
    margin-left: 0;
    padding: 20px 24px 32px;
    background: #fff;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, .13);
    box-shadow:0 1px 3px rgba(0, 0, 0, .13)
}

.login .submit {
    float:right
}

#login form p {
    margin-bottom:0
}

.login label {
    color: #777;
    font-size:14px
}

.login #backtoblog a, .login #nav a, .login #nav span, .login h1 a {
    text-decoration: none;
    color:#999
}

.login form .forgetmenot label {
    font-size: 12px;
    line-height:19px
}

.login h1 a {
    background-image: url(/css/images/logotype-L.svg);
    -webkit-background-size: 100%;
    background-size: 100%;
    background-position: center top;
    background-repeat: no-repeat;
    width: 190px;
    height: 64px;
    font-size: 20px;
    line-height: 1.3em;
    margin: 0 auto 6px;
    padding: 0;
    text-indent: -9999px;
    outline:0
}

#login {
    width: 400px;
    padding: 8% 0 0;
    margin:auto
}

.login #backtoblog, .login #nav {
    text-align: left;
    font-size: 13px;
    padding:0 24px
}

.login #nav {
    margin:12px 0 0
}

#backtoblog {
    margin:16px 0 0
}

.login #backtoblog a:focus, .login #backtoblog a:hover, .login #nav a:focus, .login #nav a:hover, .login h1 a:focus, .login h1 a:hover {
    color:#f6d528
}

.login form .input, .login input[type=text] {
    font-size: 24px;
    width: 344px;
    padding: 3px;
    margin:2px 6px 16px 0
}

#login .submit {
    float: right;
    text-transform: uppercase;
    -webkit-appearance: none;
    background: #ccc;
    color: #fff;
    font-weight: 400;
    font-size: 13px;
    cursor: default;
    padding: 9px 12px;
    border: 0;
    border-radius: 1px;
    -moz-border-radius: 1px;
    -webkit-border-radius:1px
}

#login .submit:hover {
    background:#f6d528
}

.shaked {
    animation:shake .5s
}

@keyframes shake {
    0% {
        transform:translate(1px, 1px) rotate(0)
    }

    10% {
        transform:translate(-1px, -2px) rotate(-1deg)
    }

    20% {
        transform:translate(-3px, 0) rotate(1deg)
    }

    30% {
        transform:translate(3px, 2px) rotate(0)
    }

    40% {
        transform:translate(1px, -1px) rotate(1deg)
    }

    50% {
        transform:translate(-1px, 2px) rotate(-1deg)
    }

    60% {
        transform:translate(-3px, 1px) rotate(0)
    }

    70% {
        transform:translate(3px, 1px) rotate(-1deg)
    }

    80% {
        transform:translate(-1px, -1px) rotate(1deg)
    }

    90% {
        transform:translate(1px, 2px) rotate(0)
    }

    100% {
        transform:translate(1px, -2px) rotate(-1deg)
    }
}

#p-OKd, #p-email {
    display:none
}

#p-pass1 {
    text-align:left
}

#p-pass2 {
    text-align:left
}

#errorLog {
    display: block;
    margin-top: 14px;
    height: 14px;
    text-align: center;
    font-size: 14px;
    color: #f6d528
}