html {
    position: relative;
    min-height: 100%;
}

body {
    background: #eee;
    font-family: Roboto, Arial;
    padding-top: 50px;
    color: #616161;
}

.card {
    background: url(/auth/static/form_bg.png) no-repeat center top;
    width: 380px;
    height: 550px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 140px;
}

h1 {
    font-size: 18px;
    margin: 0 auto;
    text-align: center;
    color:#fff;
}

h2 {
    font-size: 16px;
    font-style: italic;
    margin: 0 auto;
    max-width: 300px;
    text-align: center;
    padding-top: 20px;
}

p {
    font-size: 12px;
    margin-left: 40px;
    margin-right: 40px;
    margin-bottom: 0;
    text-align: justify;
    max-width: 300px;
}

p.password_rules {
    font-size: 14px;
    margin-left: 40px;
    margin-right: 40px;
    margin-bottom: 0;
    text-align: center;
    max-width: 300px;
}

.success, .error {
    font-size: 14px;
    font-style: italic;
    margin: 0 auto;
    max-width: 300px;
    text-align: center;
    padding-top: 50px;
}

.error {
    padding-top: 10px;
    color: #f44336
}

.lab {
    padding: 15px 0px 5px 0px;
    font-size: 14px
}

.form-signin {
    max-width: 330px;
    margin: 0 auto;
    padding-left: 65px;
}

.btn {

    box-shadow: 0 1px 4px rgba(0, 0, 0, .6);
    background-color: #666;
    transition: background-color .3s;
    text-align: center;
}

.btn:hover, .btn:focus {
    background-color: #d2278d;
}

.btn span {
    display: block;
    padding: 12px 24px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;

}

button {
    padding: 12px 20px !important;
    color: #fff;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-weight: bold;
}


.sub {
    text-align: center;
    padding-top: 10px;
    margin-left: -65px;
}

a {
    color: #d22d78;
    font-size: 12px;
    text-decoration: none;
}

.contact {
    top: 515px;
    padding: 0px 42px;
    text-align: center;
    position: absolute;
    max-width: 300px;
}

.contact p {
    font-size: 12px;
}

.form-signin .form-signin-heading,
.form-signin .checkbox {
    margin-bottom: 10px;
}
.form-signin .checkbox {
    font-weight: normal;
}
.form-signin .form-control {
    position: relative;
    height: auto;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 10px;
    font-size: 16px;
    width: 250px;
    border-radius: 20px !important;
    border: 2px solid #eee;
    outline: none !important;
    transition: border 0.3s linear;
}

.form-signin .form-control:focus {
    z-index: 2;
    border: 2px solid #d2278d;
}
.form-signin input[type="email"] {
    margin-bottom: -1px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}


.footer {
    position: absolute;
    bottom: 0;
    height: 60px;
    text-align: center;
    font-size: 12px;
    width: 400px;
}

.footer a {
    color: #616161;
}

