/* BASE */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    background-color: #e5e5e5;
}

p {
    margin-bottom: 15px;
}

hr {
    margin: 1rem 0;
    color: inherit;
    border: 0;
    border-top: 1px solid #cbcbcb;
}

label {
    display: inline-block;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

/* LOGIN */
.container {
    display: flex;
    height: 100vh;
    padding: 0 15px;
}

.frame {
    width: 100%;
    max-width: 400px;
    margin: auto;
}

.login {
    position: relative;
    padding: 15px;
    background-color: #f5f5f5;
    margin-bottom: 15px;
}

.preloader {
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    width: 100%;
    height: 100%;
    background-color: rgba(255,2550,255,0.75);
}
    .preloader figure {
        margin: auto;
    }

.preloader.active {
    visibility: visible;
}

.title {
    margin-top: 10px;
    line-height: 1;
}

.form-control {
    display: block;
    width: 100%;
    padding: 10px 15px;
    font-size: 1.25rem;
    line-height: 1.5;
    margin-bottom: 10px;
    border: 1px solid #909090;
    border-radius: 5px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: all .1s ease-in-out;
}

.form-control:focus {
    outline: none;
    border-color: #0071bd;
}

.form-control__code {
    text-align: center;
    font-family: monospace;
    font-weight: 600;
}

.btn {
    display: inline-block;
    padding: 10px 15px;
    font-size: 16px;
    color: #909090;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    border: 1px solid #909090;
    border-radius: 5px;
    transition: all .1s ease-in-out;
}

.btn:focus {
    outline: none;
}

.btn-wide {
    width: 100%;
}

.btn-login {
    color: #fff;
    background-color: #0071bd;
    border-color: #0071bd;
    font-weight: 600;
}

.btn-login:hover,
.btn-login:focus {
    background-color: #0056b3;
    border-color: #0056b3;
}

.btn-small {
    padding: 6px 12px;
    font-size: 14px;
}

.btn-small:hover {
    background-color: #909090;
    color: #fff;
}

.sitename {
    text-align: right;
    font-size: 13px;
    font-weight: 600;
    color: #909090;
    margin-top: 25px;
}

/* ALERT */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.alert-success {
    background-color: #dff0d8;
    border-color: #d6e9c6;
    color: #3c763d;
}

.alert-danger {
    background-color: #f2dede;
    border-color: #ebcccc;
    color: #a94442;
}

/* ANIMATION */
.animation-fade {
    opacity: 0;
    visibility: hidden;
    position: relative;
    bottom: -75px;
    animation: fadeInFromBottom 1s ease forwards;
}

@keyframes fadeInFromBottom {
    from {
        opacity: 0;
        visibility: hidden;
        bottom: -75px;
    }
    to {
        opacity: 1;
        visibility: visible;
        bottom: 0;
    }
}