@font-face {
    font-family: Sahel;
    src: url("../fonts/Sahel/Sahel-FD.eot");
    src: url("../fonts/Sahel/Sahel-FD.eot?#iefix") format("embedded-opentype"), url("../fonts/Sahel/Sahel-FD.woff") format("woff"), url("../fonts/Sahel/Sahel-FD.ttf") format("truetype");
    font-weight: normal;
}

@font-face {
    font-family: Sahel;
    src: url("../fonts/Sahel/Sahel-Bold-FD.eot");
    src: url("../fonts/Sahel/Sahel-Bold-FD.eot?#iefix") format("embedded-opentype"), url("../fonts/Sahel/Sahel-Bold-FD.woff") format("woff"), url("../fonts/Sahel/Sahel-Bold-FD.ttf") format("truetype");
    font-weight: bold;
}

@font-face {
    font-family: Sahel;
    src: url("../fonts/Sahel/Sahel-Black-FD.eot");
    src: url("../fonts/Sahel/Sahel-Black-FD.eot?#iefix") format("embedded-opentype"), url("../fonts/Sahel/Sahel-Black-FD.woff") format("woff"), url("../fonts/Sahel/Sahel-Black-FD.ttf") format("truetype");
    font-weight: 900;
}

.container-fluid{
    padding:0;
}
body {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /*overflow-y: hidden;*/
    /*display: flex;
  justify-content: center;
  align-items: center;*/
    background: #dde5f4;
    height: 100vh;
    font-family: 'Sahel','B Yekan','Open Sans', sans-serif;
    direction:rtl;
    text-align:right;
    overflow-x:hidden;
}
.select-font select > option {
    font-family: IranNastaliq !important;
}
option {
    font-family: 'Sahel'
}
.padding-3em{
    padding:3em;
}
.login-form {
    display: flex;
    justify-content: center;
    align-items: center;
    position:relative;
    height:100vh;
    /*margin-top:50px;*/
}
    .login-form .screen-1 {
        background: #f1f7fe;
        padding: 1.5em 2em;
        display: flex;
        flex-direction: column;
        border-radius: 30px;
        box-shadow: 0 0 2em #e6e9f9;
        gap: 1.5em;
        width: 385px;
        left:5%;
        position: relative;
    }
.register-user.login-form .screen-1 {
    width: 80%;
    display: block !important;
    margin-right: auto;
    margin-left: auto;
    left:0;
}
    .register-user.login-form .screen-1 .password input {
        width:88%;
    }
/*.login-form.register-user .screen-1 {
    display:inline-block;
}*/
.login-form.register-user .screen-1 .phone, .login-form.register-user .screen-1 .password, .login-form.register-user .form-group {
    margin: 15px 10px;
}
    .login-form.register-user .screen-1 .login {
        position: relative;
        bottom: 0;
        width: 100%;
        margin-top: 30px;
        margin-bottom: 10px;
    }
.login-form.register-library .screen-1 {
    gap: 2em;
}
.login-form .screen-1 .logo {
    margin-top: -3em;
}
        .login-form .screen-1 .phone {
            background: white;
            box-shadow: 0 0 2em #e6e9f9;
            padding: 0 10px;
            display: flex;
            flex-direction: column;
            /*gap: 0.5em;*/
            border-radius:20px;
            color: #4d4d4d;
            text-align: right;
            height:43px;
            /*border: 1px solid #ddd;*/
        }
            .login-form .screen-1 .phone input {
                outline: none;
                border: none;
                width: 90%;
                text-align: right;
                height: 43px;
                border-radius: 20px;
                direction: RTL;
                background:transparent;
            }
                /*.login-form .screen-1 .phone input:focus{
                    text-align:left;
                }*/
                /*input:-internal-autofill-selected{
    background:red !important;
}*/
                .login-form input:-webkit-autofill,
                .login-form input:-webkit-autofill:focus {
                    transition: background-color 600000s 0s, color 600000s 0s;
                }
    .login-form .screen-1 .phone input::-moz-placeholder {
        color: #777;
        font-size: 0.9em;
    }
    .login-form .screen-1 .phone input:-ms-input-placeholder {
        color: #777;
        font-size: 0.9em;
    }
    .login-form .screen-1 .phone input::placeholder {
        color: #777;
        font-size: 0.9em;
    }
    .login-form .screen-1 .phone ion-icon {
        color: #777;
        margin-bottom: -0.2em;
    }
    .login-form .screen-1 .password {
        background: white;
        box-shadow: 0 0 2em #e6e9f9;
        padding: 0 10px;
        display: flex;
        flex-direction: column;
        /*gap: 0.5em;*/
        border-radius: 20px;
        color: #4d4d4d;
        text-align: right;
        /*border: 1px solid #ddd;*/
        height:43px;
    }
.search-lib a {
    position: absolute;
    left: 40px;
    margin-top: 0px;
    height: 43px;
    line-height: 28px;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    width:100px;
}
.login-form .screen-1 .password input {
    outline: none;
    border: none;
    width: 90%;
    text-align: right;
    height: 43px;
    border-radius: 20px;
    background:transparent;
}
    .login-form .form-control {
        height: 43px;
        background: white;
        box-shadow: 0 0 2em #e6e9f9;
        padding: 0 1em;
        display: flex;
        flex-direction: column;
        /*gap: 0.5em;*/
        border-radius: 20px;
        color: #777;
        border:none;
        text-align:right !important;
    }
    .login-form.register-library .error {
        color: red;
        margin-top:3px;
        margin-bottom: 0px;
        font-size: 12px;
    }
    .login-form .error {
        color: red;
        margin-top: -10px;
        margin-bottom: 0px;
        font-size: 12px;
    }
.login-form.register-user .error {
    margin-top: 3px;
}
.login-form.register-user .field-validation-error {
    font-size: 12px;
    color: red;
    position: absolute;
    right: 20px;
    top: 62px;
}
        .alert-danger {
            color: #f51414;
            background-color: #fdd0d0;
            border-color: #fdd0d0;
            margin-bottom: 0;
        }
    .login-form .screen-1 .password input::-moz-placeholder {
        color: #777;
        font-size: 0.9em;
    }
.login-form .screen-1 .password input:-ms-input-placeholder {
    color: #777;
    font-size: 0.9em;
}
.login-form .screen-1 .password input::placeholder {
    color: #777;
    font-size: 0.9em;
}
.login-form .screen-1 .password ion-icon {
    color: #777;
    margin-bottom: -0.2em;
}
        .login-form .screen-1 .password .show-hide {
            margin-left: -5em;
        }
    .login-form .screen-1 .login {
        padding: 1em;
        background: #09ab4b;
        color: white;
        border: none;
        border-radius: 30px;
        font-weight: 600;
    }
    .login-form .screen-1 .footer {
        /*display: flex;*/
        font-size: 0.7em;
        color: #5e5e5e;
        gap: 20em;
        padding-bottom: 1em;
    }
.btn-default:active, .btn-default.active, .open > .dropdown-toggle.btn-default
{
    background-color:transparent !important;

}
.btn-default:hover {
    background-color: transparent !important;
    border: none !important;
}
.btn-default:focus ,.btn-default .focus {
    background-color: transparent !important;
    border:none !important;
}
.float-right {
    float: right;
}
.float-left {
    float: left;
    
}
.login-form .screen-1 .footer a {
    cursor: pointer;
    position: relative;
    font-size: 14px;
    color: #09ab4b;
    font-weight: bold;
}
    .login-form .screen-1 .footer a:hover {
        text-decoration: none;
    }
    .login-form .screen-1 .footer a i {
        padding-left: 5px;
    }
.login-form .screen-1 .title {
    color: #1f8ee7;
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin:15px 0;
}
.login-form label {
    font-weight: normal !important;
}
.login-form button {
    cursor: pointer;
}
/*.logo-info {
    height: 100vh;
    position: relative;
    width: 100%;
    margin-top: 0px;
    padding-top: 5px;
}*/
.no-padding{
    padding:0;
}
 .logo-info {
    position: relative;
    background: url('../img/ketabaa-logo.png')50% 35% no-repeat,url('../img/desktop-bubble-small.png') top no-repeat,url('../img/desktop-bubble1.svg') 100% 100% no-repeat,url('../img/desktop-bubble3.svg') 0 0 no-repeat,linear-gradient(135deg,#1f8ee7,#21c1d6 85%);
    /*background: url('../img/ketabaa-logo.png')50% 25% no-repeat,url('../img/desktop-bubble-small.png') top no-repeat,url('../img/openbook800.jpg') center 10% no-repeat;*/
    /*width: 50vw;*/
    height: 100vh;
    /*background-image: url('');*/
    /*background-image: url('../img/librarysm.jpg');*/
}
.register-captcha {
    position: absolute;
    display: block;
    right: 15%;
    margin-top:25px !important;
}
.login-form:before {
    content:'';
    position: absolute;
    background: url(../img/ketabaa-logo100.png)50% 10% no-repeat,url(../img/desktop-bubble-small.png) top no-repeat,url(../img/desktop-bubble1.svg) 100% 100% no-repeat,url(../img/desktop-bubble3.svg) 0 0 no-repeat,linear-gradient(135deg,#1f8ee7,#21c1d6 85%);
    height: 300px;
    width: 100%;
    top: 0;
    z-index: -1;
    display:none;
}
.desktop-hidden{
    display:none;
}
.login-form .ketaba-logo {
    width: 100px;
    display: block;
    margin-right: auto;
    margin-left: auto;
    display: none;
}
.margin-top-25{
    margin-top:25px !important;
}
.logo-info-text {
    /*display: none;*/
    font-weight: 700;
    color: #fff;
    font-size: 32px;
    text-align: center;
    position: relative;
    top: 55%;
}
.logo-info .sub-footer {
    position: absolute;
    bottom: 10px;
    text-align: center;
    width: 100%;
    color: #fff;
}
    .logo-info .sub-footer p{
        margin-bottom:5px;
    }
    /*.logo-info:before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    right: 0;
    top: -10px;
    background-image: url('../img/banner.png');
}*/
    .login-form .rememberpas {
        display: block;
        text-align: center;
        margin-top: 0px;
        font-weight: bold;
    }
.login-form .form-group {
    margin-bottom: 0;
}
.login-form .rememberpas a {
    color: #09ab4b;
    display: block;
    margin-top: 20px;
}
.login-form .sub-footer {
    /*position: absolute;*/
    margin-top: 10px;
    font-size: 13px;
}
.login-form .header {
    padding: 10px 20px;
}
    .login-form .header a {
        color: #fff;
        font-size: 14px;
        line-height: 20px;
        display: inline-block;
        margin-left: 20px;
        margin-top: 15px;
        font-weight: bold;
    }
        .login-form .header a i {
            padding-left: 5px;
        }
        .no-mo-padding{
            padding:0;
        }
/*input, button, select, select option, textarea {
    font-family:inherit;
}*/
.register-user.login-form .checkbox1 label {
    margin-top: 20px;
}
@media only screen and (max-width:1100px) {
    .register-user.login-form .screen-1 {
        width:100%;
    }
}
@media only screen and (max-width:991px) {
    .register-captcha {
        position: relative;
        right:0 ;
    }
    .no-mo-padding {
            padding: 0;
        }
        .login-form .ketaba-logo {
            display: block;
        }
    .login-form:before{
        display:block;
    }
    .mobile-hidden{
        display:none !important;
    }
        .login-form .screen-1 .footer {
            gap: 10em;
        }
    .login-form .screen-1 {
        display: inline-grid;
        flex-direction: column;
        border-radius: 30px;
        box-shadow: none;
        gap: 1em;
        width: 60% !important;
        margin-top: 150px;
        text-align: right;
        padding: 1em 3em;
        left: auto;
    }
    .login-form.register-library-info .screen-1 {
        gap:1.5em;
    }
    .login-form {
        text-align: center;
        display: contents;
    }

        .login-form .rememberpas {
            margin-top: 0px;
        }
        .login-form .sub-footer {
            /*bottom: -41px;*/
            text-align: center;
            width: 100%;
        }
            .login-form .sub-footer p{
                margin:5px ;
            }
            .desktop-hidden {
                display: inline;
            }
    .login-form .screen-1 .login{
        margin-top:12px;
    }
}
.login-form button.close {
    position: relative;
}
.login-form .close {
    top: -10px;
    left: 10px;
    font-size: 16px;
}
.login-form .capcha-refresh {
    margin-right: 5px;
    margin-top: 3px;
    position: absolute;
}
@media only screen and (max-width:768px) {
    .login-form .screen-1 {
        width: 80% !important;
    }
}
@media only screen and (max-width:580px) {
    .register-user.login-form .screen-1 {
        padding: 0.5em 1em 1em;
    }
    .search-lib a{
        left:25px;
    }

}

    @media only screen and (max-width:480px) {
    .login-form .screen-1 .footer {
        gap: 10em;
    }

    .login-form .screen-1 {
        display: inline-grid;
        flex-direction: column;
        border-radius: 30px;
        gap: 0.75em;
        width: 95% !important;
        margin-top: 155px;
        text-align: right;
        padding: 0.5em 2em 1em;
    }

    
    .login-form .rememberpas {
        margin-top: -5px;
    }

    .login-form:before {
        content: '';
        position: absolute;
        background: url(../img/ketabaa-logo100.png)50% 18% no-repeat,url(../img/desktop-bubble-small.png) top no-repeat,url(../img/desktop-bubble1.svg) 100% 100% no-repeat,url(../img/desktop-bubble3.svg) 0 0 no-repeat,linear-gradient(135deg,#1f8ee7,#21c1d6 85%);
        height: 300px;
        width: 100%;
        top: 0;
        z-index: -1;
    }
}