@import url(bootstrap.min.css);
@import url(font-awesome.min.css);
@import url(preloader.css);
@import url(https://fonts.googleapis.com/css?family=Titillium+Web:300,400,600,700,900);

a, a:focus {
    text-decoration: none;
}

body, h1, h2, h3, h4, h5, h6 {
    font-family: 'Titillium Web',sans-serif;
}

body, html {
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    background-color: #f0f2f5;
}

body {
    font-size: 1.6em;
    font-weight: 400;
    color: #44525f;
}

ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

a:focus {
    outline: 0;
}

h1, h2, h3, h4, h5, h6 {
    color: #2d385e;
}

a, a:focus, a:hover {
    color: #4f77ff;
}

.btn-primary {
    background-color: #4f77ff;
    border-color: #4f77ff;
}

    .btn-primary.active, .btn-primary:active, .btn-primary:active:focus, .btn-primary:active:hover, .btn-primary:focus, .btn-primary:hover {
        background-color: #486ff2;
        border-color: #486ff2;
    }

.brand-logo {
    margin: 0px auto;
}

.authfy-login {
    background-color: #fff;
    height: 400px;
    margin: 25px auto;
    position: relative;
    top: 0;
    left: 0;
    overflow: hidden;
    box-shadow: 0 3px 5px rgba(0,0,0,.05);
}

    .authfy-login .authfy-panel {
        padding: 40px;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        transition: all .5s ease;
        opacity: 0;
        transform: translateX(-100%);
        -webkit-transform: translateX(-100%);
    }

.authfy-panel .authfy-heading {
    margin-bottom: 0px;
}

.authfy-login .auth-title {
    font-weight: 700;
    margin-top: 0;
}

.authfy-login .authfy-panel.active {
    opacity: 1;
    transform: translateX(0);
    -webkit-transform: translateX(0);
}

.authfy-login .social-buttons a {
    color: #fff;
}

    .authfy-login .social-buttons a:hover {
        color: #fff;
        opacity: .9;
    }

.authfy-login .social-buttons .btn-facebook {
    background: #3b5998;
}

.authfy-login .social-buttons .btn-twitter {
    background: #00aced;
}

.authfy-login .social-buttons .btn-google {
    background: #c32f10;
}

.authfy-login .loginOr {
    position: relative;
    font-size: 20px;
    color: #333;
    margin-top: 1em;
    margin-bottom: 1em;
    padding-top: 0px;
    padding-bottom: 0px;
}

    .authfy-login .loginOr .hrOr {
        background-color: #cdcdcd;
        height: 1px;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    .authfy-login .loginOr .spanOr {
        display: block;
        position: absolute;
        left: 50%;
        top: -.75em;
        margin-left: -1.5em;
        background-color: #fff;
        width: 3em;
        text-align: center;
    }

.panel-login .remember-row {
    margin-bottom: 10px;
}

    .panel-login .remember-row label {
        font-weight: 400;
        position: relative;
        cursor: pointer;
        color: #666;
        padding-left: 24px;
    }

.authfy-login .forgotPwd {
    text-align: right;
    margin-top: 10px;
}

.panel-login .form-control {
    background-color: #f6f6f6;
    color: #333;
    font-size: 15px;
    height: auto;
    position: relative;
    padding: 10px;
    outline: 0;
    box-shadow: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

    .panel-forgot .form-control:focus, .panel-login .form-control:focus, .panel-signup .form-control:focus {
        border-color: #4f77ff;
        z-index: 2;
        outline: 0;
        -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
        box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(102,175,233,.6);
    }

.loginForm .email, .loginForm input[type=email] {
    margin-bottom: 10px;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.loginForm .password, .loginForm input[type=password] {
    margin-bottom: 10px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
}

.authfy-panel.panel-forgot {
    padding-top: 85px;
}

.panel-forgot .form-control, .panel-signup .form-control {
    background-color: #fff;
    color: #333;
    font-size: 18px;
    height: 50px;
    margin-bottom: 20px;
    padding: 12px 22px;
    border-radius: 3px;
    box-shadow: 0 3px 6px 0 rgba(0,0,0,.1),0 0 2px 0 rgba(0,0,0,.1);
    border: 1px solid #bcc2ce;
    outline: 0;
}

.pwdMask {
    position: relative;
}

    .pwdMask .pwd-toggle {
        color: #ccc;
        position: absolute;
        z-index: 2;
    }

.panel-login .pwdMask .pwd-toggle {
    top: 12px;
    right: 15px;
}

.panel-signup .pwdMask .pwd-toggle {
    top: 15px;
    right: 15px;
}

.pwdMask .pwd-toggle:focus, .pwdMask .pwd-toggle:hover {
    cursor: pointer;
}

.pwdMask .pwd-toggle.fa-eye, .pwdMask .pwd-toggle:focus, .pwdMask .pwd-toggle:hover {
    color: #4f77ff;
}

.panel-signup .term-policy a {
    text-decoration: underline;
}

.checkbox input[type=checkbox] {
    position: absolute;
    right: 9000px;
    opacity: 0;
    z-index: 1;
    cursor: pointer;
}

    .checkbox input[type=checkbox] + .label-text:after, .checkbox input[type=checkbox] + .label-text:before {
        font-size: 11px;
        display: inline-block;
        width: 17px;
        height: 17px;
        padding: 2px;
        margin-left: 0;
        position: absolute;
        top: 2px;
        left: 0;
    }

    .checkbox input[type=checkbox] + .label-text:before {
        content: "";
        background-color: #fff;
        border: 1px solid #ced4da;
        border-radius: 3px;
        cursor: pointer;
        transition: border .15s ease-in-out,color .15s ease-in-out;
    }

    .checkbox input[type=checkbox] + .label-text:after {
        background-color: #4f77ff;
        color: #fff;
        border-radius: 2px;
        border-color: #4f77ff;
        line-height: 1.4;
    }

    .checkbox input[type=checkbox]:focus + .label-text:before {
        outline: dotted thin;
        outline: -webkit-focus-ring-color auto 5px;
        outline-offset: -2px;
    }

    .checkbox input[type=checkbox]:checked + .label-text:after {
        font-family: FontAwesome;
        content: "\f00c";
    }

@media (min-width:320px) and (max-width:375px) {
    .authfy-login .authfy-panel {
        padding: 32px;
    }

    .panel-login .remember-row {
        margin-bottom: 10px;
        font-size: 14px;
    }
}

@media (max-width:320px) {
    .authfy-login {
        height: 500px;
    }

    .authfy-heading p {
        font-size: 14px;
    }

    .remember-row .col-sm-6 {
        width: 100%;
    }

    .authfy-login .forgotPwd {
        text-align: left;
        margin-top: 0;
    }
}
