/* ------------------------------ GENERAL ------------------------------ */
*,
*:before,
*:after
{
    box-sizing: border-box;
}

html
{
    font-size: 62.5%;
    line-height: normal; /* fix normalize.css */

    position: relative;

    min-height: 100%;
}

body
{
    font-family: 'Titillium Web', sans-serif;
    font-size: 1.6rem;

    text-align: left;

    color: #000;
    background-color: #000;

    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

a
{
    transition: .5s;
    text-decoration: none;

    color: #000;
}

a:hover
{
    text-decoration: none;

    color: #00a2bf;
}

p
{
    margin: 0;
}

/* --- FORMS --- */
label
{
    font-size: 0;
}

input[type='text'],
input[type='email'],
input[type='url'],
input[type='password'],
input[type='tel'],
input[type='number'],
input[type='search'],
textarea
{
    font-family: 'Titillium Web', sans-serif; /* fix normalize.css */
    font-size: 1.6rem;
    line-height: 40px;

    position: relative;

    display: block;

    width: 100%;
    height: 40px;
    padding: 0 10px;

    transition: .3s;

    border: 1px solid #d3d3d3;
    background: #fbfbfb;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
}

textarea
{
    line-height: normal;

    height: 300px;
    padding: 5px 10px;
}

input[type='text']:focus,
input[type='email']:focus,
input[type='url']:focus,
input[type='password']:focus,
input[type='tel']:focus,
input[type='number']:focus,
input[type='search']:focus,
textarea:focus
{
    z-index: 1;

    border-color: #66afe9;
    outline: 0;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(0, 162, 191, .6);
}

button,
input[type='submit']
{
    font-family: 'Titillium Web', sans-serif; /* fix normalize.css */
    font-size: 1.6rem; /* fix normalize.css */
    line-height: normal; /* fix normalize.css */

    padding: 0;

    cursor: pointer;
    transition: .5s;

    border: none;
    background: none;
}

button:hover,
input[type='submit']:hover
{
    text-decoration: underline;
}

button:focus,
input[type='submit']:focus
{
    outline: none;
}

input[type='submit']
{
    font-size: 1.8rem;
    font-weight: 600;

    display: block;

    width: 100%;
    height: 40px;

    color: #fff;
    border: none;
    border-radius: 5px;
    background: #00a2bf;
}

input[type='submit']:hover
{
    text-decoration: none;

    background: #006c7f;
}

/* ------------------------------ LOGIN FORM ------------------------------ */
#login
{
    position: fixed;
    top: 50%;
    left: 50%;

    width: 300px;

    -webkit-transform: translate(-50%, -50%);
        -ms-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
}

.login h1
{
    display: none;
}

#login form
{
    padding: 0 24px 24px 24px;

    border-radius: 10px;
    background: #fff;
}

#user_login
{
    border-radius: 7px 7px 0 0;
}

#lostpasswordform #user_login
{
    margin-bottom: 15px;

    border-radius: 7px;
}

#user_pass,
#user_email
{
    margin-top: -26px;

    border-radius: 0 0 7px 7px;
}

.forgetmenot
{
    margin: 10px 0;
}

.forgetmenot label
{
    font-size: 1.4rem;

    position: relative;

    padding-left: 24px;

    cursor: pointer;
}

.forgetmenot #rememberme
{
    display: none;
}

.forgetmenot label span
{
    position: absolute;
    top: 2px;
    left: 0;

    width: 17px;
    height: 17px;

    border: 1px solid #d3d3d3;
    border-radius: 50%;
    background: #fbfbfb;
}

.forgetmenot label span:before
{
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;

    display: block;

    width: 7px;
    height: 7px;
    margin: auto;

    content: '';
    transition: .5s;

    border-radius: 50%;
    background: transparent;
}

.forgetmenot #rememberme:checked + span:before
{
    background: #00a2bf;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075), 0 0 8px rgba(0, 162, 191, .6);
}

.login #login_error,
.login .message
{
    font-size: 16px;
    font-weight: bold;

    top: -40px;
    left: 0;

    width: 100%;
    margin-bottom: 15px;
    padding: 10px;

    text-align: center;

    color: #fff;
    border-radius: 8px;
}

.login .message
{
    color: #8a6d3b;
    border: none;
    background: #faf2cc;
}

.login #login_error
{
    border: none;
    background: #dd3d36;
}

.login #login_error a
{
    text-decoration: underline;

    color: #fff;
}

.login #nav
{
    margin-top: 15px;
    padding: 10px 24px;

    text-align: center;

    border-radius: 10px;
    background: #fff;
}

.login #nav a
{
    margin: 0 5px;
}

#backtoblog,
#reg_passmail
{
    display: none;
}

@media (max-height: 280px)
{
    .login #nav
    {
        display: none;
    }
}
