﻿body {
    background-color: #f2f2f2;
}

* {
    font-family: 'Roboto', sans-serif;
    box-sizing: border-box;
}

.fixed-logo {
    position: absolute;
    left: 22px;
    top: 32px;
}

.fixed-logo img {
    width: 89px;
    height: auto;
}

#content-section {
    margin: 160px auto;
    width: 343px;
    height: calc(100vh - 320px);
    display: flex;
    justify-content: center;
    align-items: center;
}

#content-section h1 {
    margin-bottom: 24px;
    font-size: 28px;
}

.content-wrapper {
    width: 100%;
}

#oauth a {
    width: 100%;
}

.subtext {
    margin-bottom: 64px;
}

.list {
    padding-left: 16px;
    line-height: 1.4;
}

#oauth .btn-wrapper {
    margin-bottom: 16px;
}

#oauth p {
    text-align: center;
}

#oauth .btn-primary-outline img {
    height: 24px;
    width: auto;
    vertical-align: middle;
    margin-right: 8px;
}

#oauth p.or {
    margin-top: 40px;
}

#oauth p a {
    text-decoration: underline;
    cursor: pointer;
}

.ipt {
    margin-bottom: 16px;
}

.ipt.email {
    margin-bottom: 64px;
}

#LoginForm .btn-primary {
    width: 100%;
}

#ForgotForm .btn-primary {
    width: 100%;
}

#ResetForm .btn-primary {
    width: 100%;
}

#up #password {
    margin-top: 40px;
    margin-bottom: 24px;
}

#up .back {
    margin-top: 24px;
    text-align: center;
}

#up p a {
    text-decoration: underline;
    cursor: pointer;
}

#up .forgot, #up .remember {
    display: inline-block;
    width: 49%;
    vertical-align: middle;
    margin-bottom: 64px;
}

#up .error-message, #oauth .error-message {
    margin-top: 16px;
    text-align: center;
    color: #db1000;
}

#up .response-message {
    margin-top: 16px;
    text-align: center;
    color: #3b3b3b;
}

#up .forgot {
    color: #6e6e6e;
    text-align: right;
}

@media(max-width: 575px) {
    .fixed-logo {
        top: 24px;
    }

    .fixed-logo img {
        width: 64px;
        height: auto;
    }

    #content-section {
        margin: 120px 16px;
        width: inherit;
        height: calc(100vh - 240px);
    }
}

/**
 * ==============================================
 * Dot Flashing
 * ==============================================
 */
.dot-flashing {
    position: relative;
    width: 12px;
    height: 12px;
    border-radius: 6px;
    background-color: #3b3b3b;
    color: #3b3b3b;
    animation: dotFlashing 0.6s infinite linear alternate;
    animation-delay: 0.3s;
    margin: 6px auto;
}

    .dot-flashing::before, .dot-flashing::after {
        content: '';
        display: inline-block;
        position: absolute;
        top: 0;
    }

    .dot-flashing::before {
        left: -18px;
        width: 12px;
        height: 12px;
        border-radius: 6px;
        background-color: #3b3b3b;
        color: #3b3b3b;
        animation: dotFlashing 0.6s infinite alternate;
        animation-delay: 0s;
    }

    .dot-flashing::after {
        left: 18px;
        width: 12px;
        height: 12px;
        border-radius: 6px;
        background-color: #3b3b3b;
        color: #3b3b3b;
        animation: dotFlashing 0.6s infinite alternate;
        animation-delay: 0.6s;
    }

@keyframes dotFlashing {
    0% {
        background-color: #3b3b3b;
    }

    50%, 100% {
        background-color: #a1a1a1;
    }
}