﻿body {
    font-family: 'Robotic', 'Ropa Sans', 'sans-serif';
    color: #666;
    font-size: 14px;
    color: #333;
}

li, ul, body, input {
    margin: 0;
    padding: 0;
    list-style: none;
}

#login-form {
    max-width: 350px;
    margin: 20px auto;
    background: #f8f8f8;
    overflow: hidden;
    border-radius: 7px;
}

.alert-success h4 {
   margin:0 10px 0 10px;
}

.alert-success h4 {
    color: forestgreen;
    text-align: center;
    font-weight: 500;
    font-size: 1.2em;
    padding: 10px 10px 10px 10px;
    line-height:1.2em;
}

.form-header {
    display: table;
    clear: both;
}

.form-header label {
    display: block;
    cursor: pointer;
    z-index: 999;
}

.form-header li {
    margin: 0;
    line-height: 60px;
    width: 350px;
    text-align: center;
    background: #dfdfdf;
    font-size: 18px;
    float: left;
    transition: all 600ms ease;
}

/*sectiop*/
.section-out {
    width: 700px;
    float: left;
    transition: all 600ms ease;
}

    .section-out:after {
        content: '';
        clear: both;
        display: table;
    }

    .section-out section {
        width: 350px;
        float: left;
    }

.login {
    padding: 20px;
}

.ul-list {
    clear: both;
    display: table;
    width: 100%;
}

    .ul-list:after {
        content: '';
        clear: both;
        display: table;
    }

    .ul-list li {
        margin: 0 auto;
        margin-bottom: 12px;
    }

.input {
    background: #fff;
    transition: all 800ms;
    width: 240px;
    border-radius: 3px 0 0 3px;
    font-family: 'Ropa Sans', sans-serif;
    border: solid 1px #ccc;
    border-right: none;
    outline: none;
    color: #999;
    height: 50px;
    line-height: 50px;
    display: inline-block;
    padding-left: 10px;
    font-size: 16px;
}

.input, .login span.icon {
    vertical-align: top;
}

.login span.icon {
    width: 50px;
    transition: all 800ms;
    text-align: center;
    color: #999;
    border-radius: 0 3px 3px 0;
    background: #e8e8e8;
    height: 50px;
    line-height: 40px;
    display: inline-block;
    border: solid 1px #ccc;
    border-left: none;
    font-size: 16px;
}

.input:focus:invalid {
    border-color: red;
}

    .input:focus:invalid + .icon {
        border-color: red;
    }

.input:focus:valid {
    border-color: green;
}

    .input:focus:valid + .icon {
        border-color: green;
    }

#check, #check1 {
    top: 1px;
    position: relative;
}

.btn {
    border: none;
    outline: none;
    background: #0099CC;
    border-bottom: solid 4px #006699;
    font-family: 'Ropa Sans', sans-serif;
    margin: 0 auto;
    display: block;
    height: 40px;
    width: 100%;
    padding: 0 10px;
    border-radius: 3px;
    font-size: 16px;
    color: #FFF;
}

.social-login {
    padding: 15px 20px;
    background: #f1f1f1;
    border-top: solid 2px #e8e8e8;
    text-align: right;
}

    .social-login a {
        display: inline-block;
        height: 35px;
        text-align: center;
        line-height: 35px;
        width: 35px;
        margin: 0 3px;
        text-decoration: none;
        color: #FFFFFF;
    }

.form a i.fa {
    line-height: 35px;
}

.fb {
    background: #305891;
}

.tw {
    background: #2ca8d2;
}

.gp {
    background: #ce4d39;
}

.in {
    background: #006699;
}

.remember {
    width: 50%;
    display: inline-block;
    clear: both;
    font-size: 14px;
}

    .remember:nth-child(2) {
        text-align: right;
    }

    .remember a {
        text-decoration: none;
        color: #666;
    }

.hide {
    display: none;
}

/*swich form*/
#signup:checked ~ .section-out {
    margin-left: -350px;
}

#login:checked ~ .section-out {
    margin-left: 0px;
}

#login:checked ~ div .form-header li:nth-child(1), #signup:checked ~ div .form-header li:nth-child(2) {
    background: #e8e8e8;
}

.alert-danger {
    color: #b94a48;
    background-color: #f2dede;
    border-color: #eed3d7;
    text-align: center
}

/*************REGISTRATION*****************/
#success_message {
    display: none;
}

#result-form {
    max-width: 70%;
    background: #FFF;
    margin: 20px auto;
    background: #f8f8f8;
    overflow: hidden;
    border-radius: 7px;
}

.alert-result {
    color:forestgreen;
    background-color: #f8f8f8;
    font-weight:600;
    border-color: #eed3d7;
    text-align: center;
    font-size:2.0em;
}

.result-form h4{
    color: forestgreen;
    font-weight: 500;
    font-size: 1.4em;
    text-align: center;
    margin:1.5em 1em 2.0em 1em;
}

