﻿body {
    background-color: #f3f3f3;
    font-family: "Open Sans";
    color: #616162;
}

.cs-container {
    bottom: 0;
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
}

.content {
    background-color: #ffffff;
    height: 100%;
    overflow: hidden;
    width: 100%;
}

.cs-blade {
    bottom: 0;
    left: 0;
    padding: 40px;
    position: absolute;
    right: 0;
    top: 0;
}

.signin-blade {
    bottom: 120px;
    overflow: auto;
    pointer-events: auto;
    transition: top linear 200ms, opacity linear 200ms;
    transition-delay: 200ms;
}

.forgot-blade {
    opacity: 0;
    bottom: 0;
    overflow: auto;
    pointer-events: none;
    top: 160px;
    transition: top linear 200ms, opacity linear 200ms;
    transition-delay: 100ms;
}

.logo-blade {
    background-color: #F37320;
    background-image: url('/images/logo-on-dark.png');
    background-position: center;
    background-size: 50%;
    background-repeat: no-repeat;
    bottom: 0;
    height: 120px;
    padding: 0px !important;
    margin: 0;
    top: auto;
    transition: bottom ease-out 400ms, margin-top ease-out 400ms;
}

.content.forgot .signin-blade {
    opacity: 0;
    pointer-events: none;
    top: -40px;
    transition-delay: 100ms;
}

.content.forgot .forgot-blade {
    opacity: 1;
    top: 120px;
    pointer-events: auto;
    transition-delay: 200ms;
}

.content.forgot .logo-blade {
    bottom: 100%;
    margin-bottom: -120px;
}

h1 {
    border-bottom: 1px solid #F37320;
    color: #002D56;
    display: inline-block;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 32px;
    text-transform: uppercase;
}

p {
    font-size: 14px;
}

.cs-url {
    color: #A4A4A5;
    font-weight: 300;
    font-size: 12px;
    text-decoration: underline;
}

form {
    margin-top: 32px;
}

.form-control {
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid #D2D2D2;
    font-weight: lighter;
    font-size: 14px;
}

    .form-control:active, .form-control:focus {
        box-shadow: none;
        border-bottom: 1px solid #F37320;
        outline: none;
    }

.cs-btn {
    background-color: #FFFFFF;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid #F37320;
    color: #616162;
    margin-top: 40px;
    text-transform: uppercase;
}

    .cs-btn:hover {
        background-color: #f2f2f2;
    }

    .cs-btn:active {
        background-color: #D2D2D2;
        box-shadow: none;
    }

    .cs-btn i {
        padding-left: 5px;
    }

.sign-in-btn {
    left: 40px;
}

.send-btn {
    right: 40px;
}

.alert {
    border-radius: 0;
    box-shadow: rgba(0,0,0,0.16) 0 5px 10px;
    font-size: small;
    position: relative;
    vertical-align: middle;
}

.alert-error {
    border-left: 2px solid #F37320;
}

.alert-success {
    background-color: #ffffff;
    border: none;
    margin-top: 20px;
    margin-bottom: -20px;
}

.alert-icon {
    bottom: 0;
    display: flex;
    left: 0;
    position: absolute;
    text-align: center;
    top: 0;
    width: 60px;
}

    .alert-icon i {
        margin: auto;
    }

.alert-success .alert-icon {
    background-color: #3584CB;
    color: #ffffff;
}

.alert-with-icon .alert-text {
    margin-left: 60px;
}

@media (min-width: 576px) {
    .signin-blade {
        bottom: 0;
        right: auto;
        transition: left linear 200ms, opacity linear 200ms;
        transition-delay: 200ms;
        width: 50%;
    }

    .forgot-blade {
        bottom: 0;
        left: auto;
        right: -40px;
        top: 0;
        transition: right linear 200ms, opacity linear 200ms;
        transition-delay: 100ms;
        width: 50%;
    }

    .logo-blade {
        background-size: 70%;
        height: auto;
        left: auto;
        top: 0;
        width: 50%;
        transition: right ease-out 400ms;
    }

    .content.forgot .signin-blade {
        left: -40px;
        top: 0;
        transition-delay: 100ms;
    }

    .content.forgot .forgot-blade {
        right: 0;
        top: 0;
        transition-delay: 200ms;
    }

    .content.forgot .logo-blade {
        bottom: 0;
        margin-bottom: 0;
        right: 50%;
    }
}

@media (min-height: 650px) and (min-width: 992px) {
    .content {
        height: 600px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 768px;
    }
}
