:root {
    --input-padding-x: 1.5rem;
    --input-padding-y: 0.75rem;
    --color1: #5290A2;
    --color5: #AB986C;
    --redcolor: #DA1414;
    --hovercolor: #004AD7;
    --color2: #CDCDCD;
    --darkcolor: #202124;
    --color3: #6F777E;
    --color4: #fff;
    --font-family-1: 'DIN Next LT Arabic Medium', sans-serif;
    --font-size-12: 12px;
    --font-size-13: 13px;
    --font-size-14: 14px;
    --font-size-18: 18px;
}

@font-face {
    font-family: 'DIN Next LT Arabic Medium';
    src: url('DINNextLTArabic-Regular.woff');
}

html,
body {
    height: 100%;
    background-image: url('../img/bg.jpg');
    background-size: cover;
    background-position: center;
    font-family: 'DIN Next LT Arabic Medium';
}

.font {
    font-family: var(--font-family-1);
}

html[lang="ar"] body {
    direction: rtl
}


/* the same for any other elements */

html[lang="ar"] .input-group {
    padding-left: 0;
    padding-right: 20px
}

body {
    display: -ms-flexbox;
   /* display: flex;*/
    -ms-flex-align: center;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 40px;
    background-color: #fff;
}

@media only screen and (min-width: 400px) {
    .imamlogo {
        background-image: url('../img/imamlogo.svg');
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        height: 75.63px;
        width: 413px;
        margin-bottom: 50px;
    }
    .v2030logo {
        background-image: url('../img/2030.svg');
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        height: 75.63px;
    }
    .v2025logo {
        background-image: url('../img/20252.png');
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        height: 70px;
        width: 210.94px;
    }
}

.logo {
    background-image: url('../img/Logo-1.svg');
    background-size: cover;
    width: 121px;
    height: 130px;
    display: block;
    margin-bottom: 30px;
}


/* Small devices (landscape phones, 576px and up)*/

@media (min-width: 300px) {
    .imamlogo {
        background-image: url('../img/imamlogo.svg');
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        height: 75.63px;
        width: 413px;
        margin-bottom: 50px;
    }
    .logo {
        background-image: url('../img/Logo-1.svg');
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        height: 100px;
        display: block;
        margin-bottom: 30px;
    }
    h3.text-center.login-heading.mb-4.mt-4 {
        font-size: 13px;
        font-weight: bold;
        margin-top: 5px !important;
        margin-bottom: 5px !important;
    }
    p.headdes.font.font-weight-normal.mb-3.text-center {
        font-size: 12px;
        color: #B3B3B3;
    }
    p.foter.font.font-weight-normal.mb-3.text-center {
        font-size: 12px;
        color: rgb(61, 59, 59);
    }
    p.headdes.font.font-weight-normal.mb-3.text-center a {
        font-size: 12px;
        color: #B3B3B3;
    }
    label {
        font-size: 12px;
    }
    span#basic-addon1 {
        font-size: 12px;
    }
    button.btn.font.float-left {
        font-size: 12px;
    }
    div#loginrow {
        padding: 2px !important;
        width: 520px;
        height: 555px;
        background-color: #f4f4f4;
        margin-right: auto !important;
        margin-left: auto !important;
    }
    button#next {
        font-size: 12px;
        padding: 1px;
    }
    small#emailHelp {
        margin-top: 5px !important;
        font-size: 11px;
    }
    input#usernamed {
        background-color: #fff;
        font-size: small;
    }
    div .emailHelp {
        font-size: x-small !important;
        margin-top: 0px !important;
    }
    div#emailHelp {
        font-size: x-small !important;
        margin-top: 0px !important;
    }
    button#btnGroupDrop1 {
        font-size: x-small;
    }
    button#feedbackb {
        font-size: x-small !important;
    }
    button#contactb {
        font-size: x-small !important;
    }
    button#helpb {
        font-size: x-small !important;
    }
    button#forgetpass {
        font-size: x-small !important;
    }
    button#entry {
        font-size: x-small !important;
    }
}

@media (min-width: 370px) {
    .imamlogo {
        background-image: url('../img/imamlogo.svg');
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        height: 75.63px;
        width: 413px;
        margin-bottom: 50px;
    }
    .logo {
        margin-top: 20px;
        background-image: url('../img/Logo-1.svg');
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        height: 130.16px;
        display: block;
        margin-bottom: 30px;
    }
    h3.text-center.login-heading.mb-4.mt-4 {
        font-size: 20px;
        font-weight: bold;
        margin-top: 15px !important;
        margin-bottom: 15px !important;
    }
    label {
        font-size: 14px;
    }
    span#basic-addon1 {
        font-size: 14px;
    }
    small#emailHelp {
        margin-top: 5px !important;
        font-size: 13px;
    }
    input#usernamed {
        background-color: #fff;
        font-size: small;
    }
    div .emailHelp {
        font-size: small !important;
        margin-top: 0px !important;
    }
    button#btnGroupDrop1 {
        font-size: small !important;
    }
    button#feedbackb {
        font-size: small !important;
    }
    button#contactb {
        font-size: small !important;
    }
    button#helpb {
        font-size: small !important;
    }
    button#forgetpass {
        font-size: small !important;
    }
    button#entry {
        font-size: small !important;
    }
    div#emailHelp {
        font-size: small !important;
        margin-top: 1px !important;
    }
}


/*// Medium devices (tablets, 768px and up)*/

@media (min-width: 768px) {
    .imamlogo {
        background-image: url('../img/imamlogo.svg');
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        height: 75.63px;
        width: 413px;
        margin-bottom: 50px;
    }
}


/*// Large devices (desktops, 992px and up)*/

@media (min-width: 992px) {
    .imamlogo {
        background-image: url('../img/imamlogo.svg');
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        height: 75.63px;
        width: 413px;
        margin-bottom: 50px;
    }
    h3.text-center.login-heading.mb-4.mt-4 {}
}


/*// Extra large devices (large desktops, 1200px and up)*/

@media (min-width: 1200px) {
    .imamlogo {
        background-image: url('../img/imamlogo.svg');
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        height: 75.63px;
        width: 413px;
        margin-bottom: 50px;
    }
}

.toplogos {
    background-color: var(--color1);
}

@media only screen and (min-width: 400px) {
    .imamlogo {
        background-image: url('../img/imamlogo.svg');
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        height: 75.63px;
        width: 413px;
        margin-bottom: 50px;
    }
    .v2030logo {
        background-image: url('../img/2030.svg');
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        height: 90px;
        width: 135.25px;
    }
    .v2025logo {
        background-image: url('../img/20252.png');
        background-repeat: no-repeat;
        background-size: contain;
        background-position: center;
        height: 70px;
        width: 210.94px;
    }
}

.imamlogo {
    background-image: url('../img/imamlogo.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    height: 75.63px;
    width: 413px;
    margin-bottom: 50px;
}

.v2030logo {
    background-image: url('../img/2030.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    height: 50px;
    width: 100%;
}

.v2025logo {
    background-image: url('../img/20252.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    height: 50px;
    width: 100%;
}

.itlogo {
    background-image: url('../img/itlogo.png');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    height: 50px;
    width: 100%;
}

.btn-primary {
    font-size: var(--font-size-13);
    color: var(--color4);
    background-color: var(--color1) !important;
    border-color: var(--color1) !important;
}

.btn-se {
    font-size: var(--font-size-13);
    color: var(--color4);
    background-color: var(--color5) !important;
    border-color: var(--color5) !important;
}

h5,
h1,
h2,
h3,
h4 {
    font-family: var(--font-family-1);
}

.login,
.image {
    min-height: 100vh;
}

.bg-image {
    background-image: url('../img/bg.jpg');
    background-size: cover;
    background-position: center;
}

div#loginrow {
    border: 1px solid #5290a280;
    border-radius: 6px;
    padding-top: 30px;
    padding-bottom: 30px;
}

.login-heading {
    font-weight: 300;
}

.btn-login {
    font-size: 0.9rem;
    letter-spacing: 0.05rem;
    padding: 0.75rem 1rem;
    border-radius: 2rem;
}

.form-label-group {
    position: relative;
    margin-bottom: 1rem;
}

.form-label-group>input,
.form-label-group>label {
    padding: var(--input-padding-y) var(--input-padding-x);
    height: auto;
    border-radius: 6px;
    font-family: var(--font-family-1);
}

.form-label-group>label {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    margin-bottom: 0;
    /* Override default `<label>` margin */
    line-height: 1.5;
    color: #495057;
    cursor: text;
    /* Match the input under the label */
    border: 1px solid transparent;
    border-radius: .25rem;
    transition: all .1s ease-in-out;
}


/*
.form-label-group input::-webkit-input-placeholder {
    color: transparent;
}

.form-label-group input:-ms-input-placeholder {
    color: transparent;
}

.form-label-group input::-ms-input-placeholder {
    color: transparent;
}

.form-label-group input::-moz-placeholder {
    color: transparent;
}

.form-label-group input::placeholder {
    color: transparent;
}

.form-label-group input:not(:placeholder-shown) {
    padding-top: calc(var(--input-padding-y) + var(--input-padding-y) * (2 / 3));
    padding-bottom: calc(var(--input-padding-y) / 3);
}

.form-label-group input:not(:placeholder-shown)~label {
    padding-top: calc(var(--input-padding-y) / 3);
    padding-bottom: calc(var(--input-padding-y) / 3);
    font-size: 12px;
    color: var(--hovercolor);
    top: -1.2em;
    right: .75rem;
    width: fit-content;
    background: #fff;
}
 */


/* Fallback for Edge
  -------------------------------------------------- */


/*
@supports (-ms-ime-align: auto) {
    .form-label-group>label {
        display: none;
    }
    .form-label-group input::-ms-input-placeholder {
        color: #777;
    }
}
*/


/* Fallback for IE
  -------------------------------------------------- */


/*
@media all and (-ms-high-contrast: none),
(-ms-high-contrast: active) {
    .form-label-group>label {
        display: none;
    }
    .form-label-group input:-ms-input-placeholder {
        color: #777;
    }
}
*/

span#basic-addon1 {
    float: right;
    position: absolute;
    height: 100%;
    color: #B3B3B3;
    border: 1px;
    background: #fff;
    border-radius: .25rem;
    border-left: 0px;
    padding-bottom: 0px;
    padding-top: 5px;
    height: 56px;
    margin-top: 1px;
    margin-right: 1px;
    background-color: #f2f2f2;
}

button.btn.btn-link {
    font-family: 'Noto Kufi Arabic', sans-serif;
    font-size: 13px;
    color: #6F777E;
}

button.btn.btn-link2 {
    font-family: 'Noto Kufi Arabic', sans-serif;
    font-size: 13px;
    color: #174A73;
}

button#btnGroupDrop1 {
    color: #202124;
}

.fa {
    padding-right: 5px;
    padding-left: 5px;
}

.clearfix.mt-4.login34 {
    margin-bottom: 5px;
}

.login.d-flex.align-items-start.flex-column {
    max-width: 60vh;
}

.col-md-8.col-lg-6.p-0 {
    max-width: 60vh;
    background-color: #fff;
}

input#usernamed {
    background-color: #fff;
}

div#emailHelp {
    font-size: small;
}

div .emailHelp {
    font-size: small;
}