body,
html {
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    background-color: #f0f2f5;
}

body {
    font-family: 'Titillium Web', sans-serif;
    font-size: 1.6em;
    font-weight: 400;
    color: #44525f;
}

ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

a {
    text-decoration: none;
    color: #2d385e;

}

a:focus {
    outline: none;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Titillium Web', sans-serif;
    color: #2d385e;
}

a,
a:hover,
a:focus {
    color: #4f77ff;
}

.btn-primary {
    background-color: #4f77ff;
    border-color: #4f77ff;
}

.btn-primary:hover,
.btn-primary:active:hover,
.btn-primary:focus,
.btn-primary:active:focus,
.btn-primary:active,
.btn-primary.active {
    background-color: #486ff2;
    border-color: #486ff2;
}

.brand-logo {
    margin: 35px auto;
}

/*--------------------*/
/* 03. Section Panel UI CSS */
/*--------------------*/

.authfy-login {
    background-color: #fff;
    margin: 15px 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: 30px;
}

.authfy-login .auth-title {
    font-weight: 700;
    margin-top: 0px;
}

.authfy-login .authfy-panel.active {
    opacity: 1;
    transform: translateX(0);
    -webkit-transform: translateX(0);
    position: relative;
}

.authfy-login .social-buttons a {
    color: white;
}

.authfy-login .social-buttons a:hover {
    color: white;
    opacity: 0.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: 1.5em;
    color: #aaa;
    margin-top: 1em;
    margin-bottom: 0.3em;
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}

.authfy-login .loginOr .hrOr {
    background-color: #cdcdcd;
    height: 1px;
    margin-top: 0px !important;
    margin-bottom: 0px !important;
}

.authfy-login .loginOr .spanOr {
    display: block;
    position: absolute;
    left: 50%;
    top: -0.75em;
    margin-left: -1.5em;
    background-color: white;
    width: 3em;
    text-align: center;
}

.panel-login .remember-row {
    margin-bottom: 10px;
}

.panel-login .remember-row label {
    font-weight: normal;
    position: relative;
    cursor: pointer;
    color: #666;
    padding-left: 24px;
}

.authfy-login .forgotPwd {
    text-align: right;
    margin-top: 10px;
}

.panel-login .form-control,
.panel-signup .form-control,
.panel-forgot .form-control {
    color: #333333;
    font-size: 16px;
    height: 50px;
    padding: 12px 0px;
    outline: none;
    border: 0 none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.panel-login .form-control:focus + .focus-input:before,
.panel-signup .form-control:focus + .focus-input:before,
.panel-forgot .form-control:focus + .focus-input:before {
    width: 100%;
}

.wrap-input {
    width: 100%;
    position: relative;
    border-bottom: 2px solid #d9d9d9;
}

.focus-input {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.focus-input:before {
    background-color: #4f77ff;
    content: "";
    width: 0;
    height: 2px;
    display: block;
    position: absolute;
    bottom: -2px;
    left: 0;
    -webkit-transition: all 0.4s;
    -o-transition: all 0.4s;
    -moz-transition: all 0.4s;
    transition: all 0.4s;
}

.authfy-panel.panel-forgot {
    padding-top: 85px;
}

.pwdMask {
    position: relative;
}

.pwdMask .pwd-toggle {
    color: #cccccc;
    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:hover,
.pwdMask .pwd-toggle:focus {
    cursor: pointer;
}

.pwdMask .pwd-toggle:hover,
.pwdMask .pwd-toggle:focus,
.pwdMask .pwd-toggle.fa-eye {
    color: #4f77ff;
}

.panel-signup .term-policy a {
    text-decoration: underline;
}

/*--------------------*/
/* 04. Check box UI CSS */
/*--------------------*/

.checkbox input[type="checkbox"] {
    position: absolute;
    right: 9000px;
}

.checkbox input[type="checkbox"] + .label-text:before,
.checkbox input[type="checkbox"] + .label-text:after {
    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: #ffffff;
    border: 1px solid #ced4da;
    border-radius: 3px;
    cursor: pointer;
    transition: border 0.15s ease-in-out, color 0.15s ease-in-out;
}

.checkbox input[type="checkbox"] + .label-text:after {
    background-color: #4f77ff;
    color: #ffffff;
    border-radius: 2px;
    border-color: #4f77ff;
    line-height: 1.4;
}

.checkbox input[type="checkbox"] {
    opacity: 0;
    z-index: 1;
    cursor: pointer;
}

.checkbox input[type="checkbox"]:focus + .label-text:before {
    outline: thin dotted;
    outline: 5px auto -webkit-focus-ring-color;
    outline-offset: -2px;
}

.checkbox input[type="checkbox"]:checked + .label-text:after {
    font-family: "FontAwesome";
    content: "\f00c";
}

/*--------------------*/
/* 05. Responsive CSS */
/*--------------------*/

@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-heading p {
        font-size: 14px;
    }

    .remember-row .col-sm-6 {
        width: 100%;
    }

    .authfy-login .forgotPwd {
        text-align: left;
        margin-top: 0px;
    }
}

.logo {
    max-height: 180px;
    max-width: 250px;
}

label {
    text-align: left;
    display: block;
    font-weight: normal;
    padding-bottom: 0;
    margin-bottom: -10px;
}
