﻿/******************** Login Popup ********************/
.registerPopup:before { content: ""; position: fixed; width: 100%; height: 100%; top: 0; left: 0; right: 0; opacity: 0; visibility: hidden; bottom: 0; background: rgba(29,29,29,0.90); z-index: 99999; pointer-events: none; -webkit-transition: all 0.2s ease-in-out 0s; -moz-transition: all 0.2s ease-in-out 0s; -o-transition: all 0.2s ease-in-out 0s; -ms-transition: all 0.2s ease-in-out 0s; transition: all 0.2s ease-in-out 0s }
.openRegister .registerPopup:before { visibility: visible; opacity: 1 }
.login-box { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); font-family: droidLight, arial; z-index: 100000; width: 480px; height: 400px; border-radius: 6px; overflow: hidden; background: #fff; box-shadow: 0 6px 6px -3px rgba(0, 0, 0, 0.1); opacity: 0; visibility: hidden; -webkit-transition: opacity .3s 0s, visibility 0s .3s; -moz-transition: opacity .3s 0s, visibility 0s .3s; -o-transition: opacity .3s 0s, visibility 0s .3s; -ms-transition: opacity .3s 0s, visibility 0s .3s; transition: opacity .3s 0s, visibility 0s .3s; }
.login-box h3 { display: inline-block; float: right; width: 100%; font-family: droidBold, Arial; font-size: 18px; color: #fff; height: 60px; background: #000; text-align: center; line-height: 3.6; margin-bottom: 20px; }
.login-box.loginActive { height: 510px }
.login-box.loginActive.error { height: 550px }
.login-box.loginActive.error .social-login { margin-bottom: 20px }
.login-box.loginActive h3:before { content: "تسجيل دخول" }
.login-box.signUpActive { height: 510px }
.login-box.signUpActive.error { height: 560px }
.login-box.signUpActive h3:before { content: "مستخدم جديد" }
.login-box.profileActive h3:before { content: "حساب مستخدم" }
.login-box.profileActive { height: 470px }
.login-box.error .u-form-group { margin-bottom: 0; margin-top: 20px }
.openRegister .login-box { opacity: 1; visibility: visible; transition: opacity .3s 0s, visibility 0s 0s; -webkit-transition: opacity .3s 0s, visibility 0s 0s; -moz-transition: opacity .3s 0s, visibility 0s 0s; -ms-transition: opacity .3s 0s, visibility 0s 0s; -o-transition: opacity .3s 0s, visibility 0s 0s; }
.openRegister .login-box.phonenumber .email-login.complete { display: none }
.openRegister .login-box.phonenumber .lb-header { border-bottom: 0 }
.openRegister .login-box.phonenumber { height: 340px }
.lb-header { display: inline-block; float: right; width: 100%; position: relative; color: #00415d; padding-bottom: 10px; border-bottom: 1px solid #D1D2D4; text-align: center; z-index: 1; }
.lb-header a { display: inline-block; margin: 0 25px; padding: 0 20px; text-decoration: none; color: #666; font-size: 15px; -webkit-transition: all 0.1s linear; -moz-transition: all 0.1s linear; transition: all 0.1s linear; }
.lb-header .active { color: #45B3EB; }
.lb-header .profile { display: inline-block; float: right; width: 100%; }
.lb-header .profile .userImg { display: inline-block; width: 75px; height: 75px; border-radius: 50%; overflow: hidden; }
.lb-header .profile .UserData { display: inline-block; float: right; width: 100% }
.lb-header .profile .UserData .data { display: inline-block; float: right; width: 100%; padding: 10px 20px 0; text-align: right }
.lb-header .profile .UserData .data label { display: inline-block; float: right; width: 60px; font-family: droidLight, Arial; font-size: 15px; margin-left: 5px; color: #000 }
.lb-header .profile .UserData .data span { display: inline-block; float: right; font-family: droidLight, Arial; font-size: 15px; color: #000; width: auto; margin-top: 0 }
.social-login { position: relative; float: left; width: 100%; height: auto; padding: 10px 0 16px 0; border-bottom: 1px solid #D1D2D4; margin-bottom: 16px }
.social-login a { position: relative; float: left; width: 100%; text-decoration: none; color: #fff; border: 1px solid rgba(0,0,0,0.05); padding: 8px 12px; border-radius: 4px; font-size: 12px; text-transform: uppercase; margin: 0; text-align: center; margin-bottom: 10px }
.social-login a:last-of-type { margin-bottom: 0 }
.social-login a.loginFbBtn { background-color: #49639F; }
.social-login a.loginGglBtn { background-color: #E05449 }
.email-login, .email-signup { position: relative; float: left; width: 100%; height: auto; text-align: center; padding: 20px; }
.email-login .complete { display: inline-block; width: 100%; text-align: right; color: #45B3EB; font-size: 15px; margin-bottom: 5px }
.email-login.complete { padding: 10px 20px 0 }
/*.u-form-group { width: 100%; margin-bottom: 15px; display: inline-block; position: relative }
.u-form-group .itemError { display: inline-block; position: absolute; font-family: droidLight, arial; font-size: 12px; color: red; left: 0; top: -20px; text-align: left }
.u-form-group.error { margin-top: 25px; margin-bottom: 0 }
.u-form-group input[type="email"],
.u-form-group input[type="password"],
.u-form-group input[type="text"], .u-form-group input[type="tel"] { width: 100%; height: 45px; outline: none; border: 1px solid #aaa; padding: 0 10px; border-radius: 4px; font-family: droidLight, arial; color: #333; font-size: 0.8rem; -webkit-transition: all 0.1s linear; -moz-transition: all 0.1s linear; transition: all 0.1s linear; }
.u-form-group input::-webkit-input-placeholder { color: #aaa; opacity: 1; font-weight: normal; font-size: inherit }
.u-form-group input:focus { border: 1px solid #aaa !important }
.u-form-group .labelHint { display: inline-block; font-size: 12px; position: absolute; right: 10px; top: -12px; background-color: #fff; color: #525252; padding: 0 5px }
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill,
select:-webkit-autofill:hover,
select:-webkit-autofill:focus { border: 1px solid #aaa; -webkit-text-fill-color: #000; -webkit-box-shadow: 0 0 0px 1000px #fff inset; }
.u-form-group input:valid { background: #fff !important; }
.signUpActive .u-form-group.error.passwrd .labelHint, .signUpActive .u-form-group.error.confirmPass .labelHint { top: 8px }
.signUpActive.error .email-signup .u-form-group:nth-of-type(1), .loginActive.error .email-login .u-form-group.emails { margin-top: 0 }

.u-form-group input:focus { border-color: #358efb; background-color: #fff !important }
.u-form-group button, .u-form-group .Compelete, .u-form-group .SigninBtn, .u-form-group .SignupBtn { display: inline-block; position: relative; width: 50%; background-color: #45B3EB; border: none; font-family: droidLight, Arial; outline: none; color: #fff; font-size: 14px; font-weight: normal; padding: 6px 0; border-radius: 2px; margin-top: 10px; }
.u-form-group .Compelete { width: calc(50% - 20px) }
.forgot-password { width: 50%; text-align: left; text-decoration: underline; color: #888; font-size: 0.75rem; }*/
.login-box .closePopup { position: absolute; top: 15px; left: 16px; width: 30px; height: 30px; z-index: 2 }
.login-box .closePopup:after, .login-box .closePopup:before { content: ''; position: absolute; top: 0; width: 2px; height: 100%; background-color: #fff; opacity: 1; transition: all .2s ease-in-out 0s; -webkit-transition: all .2s ease-in-out 0s; -moz-transition: all .2s ease-in-out 0s; -ms-transition: all .2s ease-in-out 0s; -o-transition: all .2s ease-in-out 0s; }
.login-box .closePopup:before { -webkit-transform: rotate(45deg); -moz-transform: rotate(45deg); -ms-transform: rotate(45deg); -o-transform: rotate(45deg); transform: rotate(45deg); }
.login-box .closePopup:after { -webkit-transform: rotate(-45deg); -moz-transform: rotate(-45deg); -ms-transform: rotate(-45deg); -o-transform: rotate(-45deg); transform: rotate(-45deg); }
.LoaderLogin { width: 100%; height: 50px; position: absolute; right: 0; top: 0; background-color: #5b0e25 }
.LoaderLogin img { display: inline-block; height: 36px; float: right; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.generalError { display: inline-block; float: right; text-align: right; color: red; font-size: 12px; font-family: droidLight,Arial }

.active {
    display: block;
}

@media screen and (min-width: 320px) and (max-width: 767px) {
     .login-box.loginActive, .openRegister .login-box.signUpActive { width: calc(100% - 20px); height: calc(100% - 70px); top: 60px; transform: translateX(-50%); }

    .openRegister .login-box { width: calc(100% - 20px) !important; height: calc(100% - 200px) !important; top: 210px; transform: translateX(-50%) }
    .openRegister .login-box.phonenumber { height: 340px !important;top:200px }
    .login-box h3 { height: 50px; line-height: 3 }
    .login-box .closePopup { top: 12px }
    .lb-header a { margin: 0 0 0 20px; width: calc((100% - 20px) /2); float: right }
    .lb-header a:last-child { margin: 0 }
    .email-login { padding: 10px }
    .email-signup { padding: 20px 10px 10px }

    .signUpActive .u-form-group.error .pass, .signUpActive .u-form-group.error .ConfirmPassword { margin-top: 20px }
    .login-box h3 { margin-bottom: 10px }
    .login-box.loginActive.error { height: calc(100% - 70px); margin-top: 0 }
}