﻿#bodyLogin {
    background-image: url("../images/PersonalBusBackground_Bluecube_2.jpg");
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

body, html {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    display: table;
}

body {
    display: table-cell;
    vertical-align: middle;
}

.box {
    display: table; /* shrinks to fit content */
    margin: auto;
}

.container {
    position: absolute;
    width: auto;
    height: auto;
    top: calc(50% - 240px);
    left: calc(50% - 160px);
}

form {
    position: absolute;
    text-align: center;
    background: #fff;
    width: 360px;
    height: 560px;
    border-radius: 5px;
    padding: 0px 20px 0 20px;
    box-shadow: 0 10px 50px 0 rgba(0, 0, 0, 0.25);
    box-sizing: border-box;
}

p {
    font-weight: 100;
    text-transform: uppercase;
    font-size: 12px;
    color: #87613d;
    margin-bottom: 40px;
}

    p > span {
        padding-top: 3px;
        display: block;
        font-weight: 400;
        font-size: 9px;
    }

h3 {
    text-transform: uppercase;
    color: #34495E;
}

input,
button {
    outline: none !important;
}

    button.fb {
        border: none;
        background: #3b5998;
        width: 160px;
        height: 25px;
        color: #fff;
        text-transform: uppercase;
        border-radius: 4px;
        border: 1px solid #29487d;
        cursor: pointer;
        margin-bottom: 20px;
        transition: all 0.3s linear;
    }

        button.fb:hover {
            background: #fff;
            color: #3b5998;
        }

    button.form-btn {
        position: absolute;
        width: 50%;
        height: 60px;
        bottom: 0;
        border: 0;
        text-transform: uppercase;
        cursor: pointer;
    }

        button.form-btn.sx {
            left: 0;
            border-radius: 0 0 0 5px;
            background-color: #A3E4D7;
            color: #fff;
            transition: all 0.3s linear;
        }

            button.form-btn.sx:hover {
                background-color: #48C9B0;
                color: #fff;
            }

            button.form-btn.sx.back {
                background-color: #AEB6BF;
                transition: all 0.3s linear;
            }

                button.form-btn.sx.back:hover {
                    background-color: #5D6D7E;
                }

        button.form-btn.dx {
            right: 0;
            border-radius: 0 0 5px 0;
            background-color: #ff7d00;
            color: #fff;
        }

.signIn input,
.signUp .w100 {
    width: 100%;
}

.signIn {
    z-index: 1;
    transform: perspective(100px) translate3d(100px, 0px, -30px);
    opacity: 0.5;
}

.signUp {
    z-index: 2;
}

.active-dx {
    animation-name: foregrounding-dx;
    animation-duration: 0.9s;
    animation-fill-mode: forwards;
}

.active-sx {
    animation-name: foregrounding-sx;
    animation-duration: 0.9s;
    animation-fill-mode: forwards;
}

.inactive-dx {
    animation-name: overshadowing-dx;
    animation-duration: 0.9s;
    animation-fill-mode: forwards;
}

.inactive-sx {
    animation-name: overshadowing-sx;
    animation-duration: 0.9s;
    animation-fill-mode: forwards;
}

@keyframes overshadowing-dx {
    0% {
        z-index: 2;
        transform: perspective(100px) translate3d(0px, 0px, 0px);
        opacity: 1;
        box-shadow: 0 10px 50px 0 rgba(0, 0, 0, 0.25);
    }

    100% {
        z-index: 1;
        transform: perspective(100px) translate3d(100px, 0px, -30px);
        opacity: 0.5;
        box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.25);
    }
}

@keyframes overshadowing-sx {
    0% {
        z-index: 2;
        transform: perspective(100px) translate3d(0px, 0px, 0px);
        opacity: 1;
        box-shadow: 0 10px 50px 0 rgba(0, 0, 0, 0.25);
    }

    100% {
        z-index: 1;
        transform: perspective(100px) translate3d(-100px, 0px, -30px);
        opacity: 0.5;
        box-shadow: 0 10px 20px 0 rgba(0, 0, 0, 0.25);
    }
}

@keyframes foregrounding-dx {
    0% {
        z-index: 1;
        transform: perspective(100px) translate3d(100px, 0px, -30px);
        opacity: 0.5;
    }

    50% {
        z-index: 2;
        transform: perspective(100px) translate3d(400px, 0px, -30px);
    }

    100% {
        z-index: 2;
        transform: perspective(100px) translate3d(0px, 0px, 0px);
        opacity: 1;
    }
}

@keyframes foregrounding-sx {
    0% {
        z-index: 1;
        transform: perspective(100px) translate3d(-100px, 0px, -30px);
        opacity: 0.5;
    }

    50% {
        z-index: 2;
        transform: perspective(100px) translate3d(-400px, 0px, -30px);
    }

    100% {
        z-index: 2;
        transform: perspective(100px) translate3d(0px, 0px, 0px);
        opacity: 1;
    }
}

.button {
    -webkit-box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
    padding: 0.84rem 2.14rem;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, -webkit-box-shadow 0.15s ease-in-out;
}

    .button:hover {
        box-shadow: 0 5px 11px 0 rgba(0, 0, 0, 0.18), 0 4px 15px 0 rgba(0, 0, 0, 0.15);
    }

.button--round {
    border-radius: 10em;
}

.button--border {
    border: 2px solid;
}

.button--default {
    background: #2bbbad;
    color: #fff;
}

.button--default-outline {
    background: #fff;
    color: #2bbbad;
    border-color: #2bbbad;
}

.button--primary {
    background: #4285f4;
    color: #fff;
}

.button--primary-outline {
    background: #fff;
    color: #4285f4;
    border-color: #4285f4;
}

.button--secondary {
    background: #a6c;
    color: #fff;
}

.button--secondary-outline {
    background: #fff;
    color: #a6c;
    border-color: #a6c;
}

.button--info {
    background: #33b5e5;
    color: #fff;
}

.button--info-outline {
    background: #fff;
    color: #33b5e5;
    border-color: #33b5e5;
}

.button--success {
    background: #00c851;
    color: #fff;
}

.button--success-outline {
    background: #fff;
    color: #00c851;
    border-color: #00c851;
}

.button--warning {
    background: #fb3;
    color: #fff;
}

.button--warning-outline {
    background: #fff;
    color: #fb3;
    border-color: #fb3;
}

.button--danger {
    background: #ff3547;
    color: #fff;
}

.button--danger-outline {
    background: #fff;
    color: #ff3547;
    border-color: #ff3547;
}

input {
    box-sizing: border-box;
    width: 100%;
    height: calc(3em + 2px);
    margin: 0 0 1em;
    padding: 1em;
    border: 1px solid #ccc;
    border-radius: 1.5em;
    background: #fff;
    resize: none;
    outline: none;
}

    input[required]:focus {
        border-color: #00bafa;
    }

        input[required]:focus + label[placeholder]:before {
            color: #00bafa;
            opacity: 1.0;
        }

        input[required]:focus + label[placeholder]:before,
        input[required]:valid + label[placeholder]:before {
            transition-duration: 0.2s;
            -webkit-transform: translate(0, -1.5em) scale(0.9, 0.9);
            transform: translate(0, -1.5em) scale(0.9, 0.9);
        }

    input[required]:invalid + label[placeholder][alt]:before {
        content: attr(alt);
    }

    input[required] + label[placeholder] {
        display: block;
        pointer-events: none;
        font-weight: normal;
        line-height: 1.25em;
        margin-top: calc(-3em - 2px);
        margin-bottom: calc((3em - 1em) + 2px);
    }

        input[required] + label[placeholder]:before {
            content: attr(placeholder);
            display: inline-block;
            margin: 0 calc(1em + 2px);
            padding: 0 2px;
            color: #898989;
            opacity: 0.7;
            white-space: nowrap;
            transition: 0.3s ease-in-out;
            background-image: linear-gradient(to bottom, #fff, #fff);
            background-size: 100% 5px;
            background-repeat: no-repeat;
            background-position: center;
        }

    input[required] + label[placeholder] {
        display: block;
        pointer-events: none;
        font-weight: normal;
        line-height: 1.25em;
        margin-top: calc(-3em - 2px);
        margin-bottom: calc((3em - 2em) + 2px);
    }

/*.skewBtn {
    width: 70%;
    height: 40px;
    outline: none;
    cursor: pointer;
    background: none;
    transition: .5s;
    font-size: 16px;
    border-radius: 1.5em;
}

    .skewBtn:hover {
        border: none;
        color: white;
        font-size: 18px;
        -webkit-transform: scale(1.1);
        transform: scale(1.1);
    }


.blue {
    border: 1px solid #AEB6BF;
    color: #AEB6BF;
}

    .blue:hover {
        border: 1px solid #5D6D7E;
        color: #5D6D7E;
        transition: all 0.3s ease-in-out;
    }*/

.blue:hover {
    background-color: rgba(39,174,96,0.5) !important;
}

.box-error {
    position: absolute;
    bottom: 60px;
    text-align: center;
    right: 0;
    left: 0;
    margin: auto;
}
/*
.alert-danger {
    color: red;
    background-color: #fff;
}*/

.errorMessage {
    position: absolute;
    text-align: center;
    color: red;
    bottom: 70px;
    left: 0;
    right: 0;
}



.spinner-login {
    width: 50px;
    height: 50px;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.double-bounce1, .double-bounce2 {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: white;
    opacity: 0.6;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-animation: sk-bounce 2.0s infinite ease-in-out;
    animation: sk-bounce 2.0s infinite ease-in-out;
}

.double-bounce2 {
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
}

@-webkit-keyframes sk-bounce {
    0%, 100% {
        -webkit-transform: scale(0.0)
    }

    50% {
        -webkit-transform: scale(1.0)
    }
}

@keyframes sk-bounce {
    0%, 100% {
        transform: scale(0.0);
        -webkit-transform: scale(0.0);
    }

    50% {
        transform: scale(1.0);
        -webkit-transform: scale(1.0);
    }
}
