
h1 {
    font-size: 30px;
    color: #000;
    font-weight: 700;
    text-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.error {
    display: none;
    position: absolute;
    top: 27px;
    right: -55px;
    width: 40px;
    height: 40px;
    background: #2d2d2d; /* browsers that don't support rgba */
    background: rgba(45,45,45,.25);
    -moz-border-radius: 8px;
    -webkit-border-radius: 8px;
    border-radius: 8px;
}

    .error span {
        display: inline-block;
        margin-left: 2px;
        font-size: 40px;
        font-weight: 700;
        line-height: 40px;
        text-shadow: 0 1px 2px rgba(0,0,0,.1);
        -o-transform: rotate(45deg);
        -moz-transform: rotate(45deg);
        -webkit-transform: rotate(45deg);
        -ms-transform: rotate(45deg);
    }

.connect {
    width: 305px;
    margin: 35px auto 0 auto;
    font-size: 18px;
    font-weight: 700;
    text-shadow: 0 1px 3px rgba(0,0,0,.2);
}

    .connect a {
        display: inline-block;
        width: 32px;
        height: 35px;
        margin-top: 15px;
        -o-transition: all .2s;
        -moz-transition: all .2s;
        -webkit-transition: all .2s;
        -ms-transition: all .2s;
    }

        .connect a.facebook {
            background: url(../img/facebook.png) center center no-repeat;
        }

        .connect a.twitter {
            background: url(../img/twitter.png) center center no-repeat;
        }

        .connect a:hover {
            background-position: center bottom;
        }

* {
    box-sizing: border-box;
}


h1 {
    font-weight: bold;
    margin: 0;
}

h2 {
    text-align: center;
    color: #fff;
}

p {
    font-size: 14px;
    font-weight: 100;
    line-height: 20px;
    letter-spacing: 0.5px;
    margin: 20px 0 30px;
}

span.ghost {
    font-size: 15px;
    cursor: pointer;
}

    span.ghost a {
        font-size: 17px;
    }

        span.ghost a:hover {
            text-decoration: none;
        }

a {
    color: #333;
    font-size: 14px;
    text-decoration: none;
    margin: 15px 0;
}

.button {
    border-radius: 20px;
    border: 1px solid #02387a;
    background-color: #02387a;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: bold;
    padding: 12px 45px !important;
    text-transform: uppercase;
    transition: transform 80ms ease-in;
    -moz-box-shadow: 0 15px 30px 0 rgba(255,255,255,.25) inset, 0 2px 7px 0 rgba(0,0,0,.2);
    -webkit-box-shadow: 0 15px 30px 0 rgba(255,255,255,.25) inset, 0 2px 7px 0 rgba(0,0,0,.2);
    box-shadow: 0 15px 30px 0 rgba(255,255,255,.25) inset, 0 2px 7px 0 rgba(0,0,0,.2);
}

    .button:active {
        transform: scale(0.95);
    }

    .button:focus {
        outline: none;
    }

    .button.ghost {
        /*background-color: transparent;
        border-color: #FFFFFF;*/
    }



.logo img {
    height: 50px;
}

.form {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 30px;
    height: 100%;
    text-align: center;
    position: relative;
    width: 80%;
    margin: 15px auto 0 auto;
    background-color: #fff;
    border-radius:10px;
}

input, select, textarea {
    background-color: #eee;
    border: none;
    padding: 12px 15px;
    margin: 8px 0;
    width: 100%;
}

.container {
    background-color: #2e66aa;
    border-radius: inherit;
    box-shadow: 0 0px 8px rgb(0 0 0 / 18%), 0 -2px 1px rgb(0 0 0 / 22%);
    position: relative;
    overflow: hidden;
    width: 85%;
    max-width: 100%;
    min-height: 636px;
    margin-top: 2%;
}

.form-container {
    
    position: absolute;
    top: 0;
    height: 88%;
    transition: all 0.6s ease-in-out;
    
    margin-top: 32px;
    border-radius: 10px;
}

.sign-in-container {
    left: 0;
    margin-left: 37px;
    width: 43% !important;
    z-index: 2;
}

.container.right-panel-active .sign-in-container {
    transform: translateX(120%);
}

.sign-up-container {
    left: 0;
    width: 50%;
    opacity: 0;
    z-index: 1;
    margin-left: 37px;
    width: 44% !important;
}

.container.right-panel-active .sign-up-container {
    transform: translateX(115%);
    opacity: 1;
    z-index: 5;
    animation: show 0.6s;
}

@keyframes show {
    0%, 49.99% {
        opacity: 0;
        z-index: 1;
    }

    50%, 100% {
        opacity: 1;
        z-index: 5;
    }
}

.form-box {
    width: 100%;
}

.overlay-container {
    position: absolute;
    top: 0;
    left: 50%;
    width: 50%;
    height: 100%;
    overflow: hidden;
    transition: transform 0.6s ease-in-out;
    z-index: 100;
}

.container.right-panel-active .overlay-container {
    transform: translateX(-100%);
}

.overlay {
    background: #20508a;
    background: -webkit-linear-gradient(to right, #FF4B2B, #FF416C);
    background: linear-gradient(to right, #26558d, #3472bf);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 0 0;
    color: #FFFFFF;
    position: relative;
    left: -100%;
    height: 100%;
    width: 200%;
    transform: translateX(0);
    transition: transform 0.6s ease-in-out;
}

.container.right-panel-active .overlay {
    transform: translateX(50%);
}

.overlay-panel {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0 40px;
    text-align: center;
    top: 0;
    height: 100%;
    width: 50%;
    transform: translateX(0);
    transition: transform 0.6s ease-in-out;
}

    .overlay-panel img {
        width: 90%
    }

.overlay-left {
    transform: translateX(-20%);
}

.container.right-panel-active .overlay-left {
    transform: translateX(0);
}

.overlay-right {
    right: 0;
    transform: translateX(0);
}

.container.right-panel-active .overlay-right {
    transform: translateX(20%);
}

.social-container {
    border: 1px solid #DDDDDD;
    border-radius: 25px;
    padding: 0 20px;
}

    .social-container:hover {
        border: 1px solid #fff;
        background-color: #02387a;
        color: #FFFFFF;
    }

    .social-container a {
        border-radius: 50%;
        display: inline-flex;
        justify-content: center;
        align-items: center;
        text-decoration: none;
        color: #2d2d2d
    }

        .social-container a:hover {
            text-decoration: none;
            color: #FFFFFF;
        }

    .social-container i {
        margin-right: 10px;
    }

footer {
    background-color: #222;
    color: #fff;
    font-size: 14px;
    bottom: 0;
    position: fixed;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 999;
}

    footer p {
        margin: 10px 0;
    }

    footer i {
        color: red;
    }

    footer a {
        color: #3c97bf;
        text-decoration: none;
    }

.cust-head {
    background: linear-gradient(to right, #26558d, #3472bf);
    color: #fff;
}

@media (max-width: 576px) {

    .overlay-container{
        display:none;
    }
    .sign-in-container {
        width: 100%;
        position: absolute;
        top: 0;
    }

    .sign-up-container {
        left: 0;
        width: 100%;
        opacity: 0;
        z-index: 1;
    }

    .container.right-panel-active .sign-up-container {
        transform: translateX(0%);
        
    }

    .container {
       min-height: 703px;
       margin:10px 20px!important;
    }
}

@media (max-width: 340px) {
    .overlay-container {
        display: none;
    }

    .sign-in-container {
        width: 100%;
        position: absolute;
        top: 0;
    }

    .sign-up-container {
        left: 0;
        width: 100%;
        opacity: 0;
        z-index: 1;
    }

    .container.right-panel-active .sign-up-container {
        transform: translateX(0%);
    }

    .container {
        min-height: 703px;
    }
}

.r-t {
    top: 5px;
    right: 0;
    z-index: 99999;
}