.landing:lang(ar) {
    background-image: url('../../images/applay.webp');
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    background-position: center;
    transform: scaleX(-1);
}

.landing:lang(en) {
    background-image: url('../../images/applay.webp');
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    background-position: center;
}

.landing_container:lang(ar) {
    transform: scaleX(-1);
}

.landing_container:lang(en) {
    transform: scaleX(1);
}

.applay_border {
    color: #fff;
    border-left: 3px solid #fff;
}

.applay_border:lang(ar) {
    border-left: 0px solid #fff;
    border-right: 3px solid #fff;

}

.landing .nav-pills {
    display: table !important;
    width: 100%;
    border-radius: 10px;
    background: #fff;
}

.landing .nav-pills .nav-link {
    padding: .7rem 0;
}

.landing .nav-item {
    display: table-cell;
    background: #fff;
    border-radius: 10px;
}

.landing .nav-item a {
    color: rgba(228, 69, 21, 1);
}

.landing .form {
    padding: 10px;
    height: 300px;
}

.form input {

    margin-bottom: 12px;
    border-radius: 3px;
}


.landing .form input:focus {

    box-shadow: none;
}


.landing .form button {

    margin-top: 20px;
}

.login_list {
    position: relative;
}

.login_list::after {
    position: absolute;
    content: '';
    width: 4px;
    height: 73%;
    background-color: var(--main-site);
    right: -2px;
    top: 8px;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    color: #fff;
    background-color: rgba(228, 69, 21, 1);
}

.btns_apply {
    position: absolute;
    bottom: -20px;
}

/*form*/
.eduction {
    background: rgba(239, 239, 240, 1);
    border-radius: 25px;
}

.eduction .form-control {
    background-color: #fff;
}

.eduction_degree {
    background: rgba(239, 239, 240, 1);
    border-radius: 25px;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(228, 69, 21, 1);
    box-shadow: unset !important;

}

.form-check-input:focus {
    box-shadow: unset !important;

}

.form-check-input:checked {
    background-color: rgba(228, 69, 21, 1);
    border-color: rgba(228, 69, 21, 1);

}

.form_container {
    border-radius: 15px;
}

.btn_save {
    background: var(--main-site);
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 1px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px auto;
    display: block;
}

.form-control {
    border: 1px solid rgba(239, 239, 240, 1);
    border-radius: 25px;
    background-color: rgba(239, 239, 240, 1);
    padding: 14px;
}

.form-select:lang(ar) {
    background-position: left .75rem center;
}

.form-select {

    border-radius: 25px;
    background-color: rgba(239, 239, 240, 1);
    border: 1px solid rgba(239, 239, 240, 1);
    padding: 14px;
}

.file-upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background-color: rgba(228, 69, 21, 1);
    /* Orange color */
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.file-upload img {
    width: 90%;
    height: 90%;
    object-fit: cover;
    border-radius: 50%;
}

.file-upload input[type="file"] {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-upload .icon {
    font-size: 24px;
    color: white;
}

.file-upload .text {
    color: white;
    font-family: Arial, sans-serif;
    font-size: 14px;
    text-align: center;
}


/*stepsform*/
.steps {
    position: relative;
    font-family: Segoe UI;
}

.steps fieldset {
    width: 100%;
    transform: unset !important;

    left: unset !important;
}

.steps fieldset:not(:first-of-type) {
    display: none;
}

.addrow_butn {
    width: fit-content;
    height: fit-content;
    background-color: rgb(239 239 240);
}

.steps .action-button,
.action-button {
    width: 100px !important;
    background: var(--main-site);
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 1px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px auto;
    display: block;
}

.steps .next,
.steps .submit {
    float: right;
}

.textarea-height {
    height: 55px !important;
}

.steps .previous {
    float: left;
}

.steps .action-button:hover,
.steps .action-button:focus,
.action-button:hover,
.action-button:focus {
    background: var(--main-site);
}

.steps .explanation {
    display: block;
    clear: both;
    width: 540px;
    background: #f2f2f2;
    position: relative;
    margin-left: -30px;
    padding: 22px 0px;
    margin-bottom: -10px;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    top: 10px;
    text-align: center;
    color: #333333;
    font-size: 12px;
    font-weight: 200;
    cursor: pointer;
}


/*headings*/
.fs-title {
    text-transform: uppercase;
    margin: 0 0 5px;
    line-height: 1;
    color: #7B1FA2;
    font-size: 18px;
    font-weight: 400;
    text-align: center;
}

.fs-subtitle {
    font-weight: normal;
    font-size: 13px;
    color: #837E7E;
    margin-bottom: 20px;
    text-align: center;
}

/*progressbar*/
#progressbar {
    margin-bottom: 30px;
    overflow: hidden;
    /*CSS counters to number the steps*/
    counter-reset: step;
    width: 100%;
    text-align: center;
    display: flex;
    /* flex-direction: row-reverse; */
}

#progressbar li {
    list-style-type: none;
    color: rgb(51, 51, 51);
    text-transform: uppercase;
    font-size: 15px;
    width: 20%;
    float: left;
    position: relative;
}

#progressbar li:before {
    content: counter(step);
    counter-increment: step;
    width: 27px;
    line-height: 27px;
    display: block;
    font-size: 16px;
    color: #333;
    background: #e8e8e8;
    border-radius: 50%;
    margin: 0 auto 5px auto;
}

/*progressbar connectors*/
#progressbar li:after {
    content: '';
    width: 100%;
    height: 2px;
    background: #e8e8e8;
    position: absolute;
    left: 52%;
    top: 9px;
    z-index: -1;
}

#progressbar li:lang(en):after {

    left: -52%;

}

#progressbar:lang(ar) {
    margin-bottom: 30px;
    overflow: hidden;
    counter-reset: step;
    width: 100%;
    text-align: center;
    display: flex;
}

#progressbar li:first-child:after {
    content: none;
}

#progressbar li.active:before,
#progressbar li.active:after {
    background: var(--main-site);
    color: white;
}


/* Info */
.info {
    width: 300px;
    margin: 35px auto;
    text-align: center;
    font-family: 'roboto', sans-serif;
}

.info h1 {
    margin: 0;
    padding: 0;
    font-size: 28px;
    font-weight: 400;
    color: #333333;
    padding-bottom: 5px;

}

.info span {
    color: #666666;
    font-size: 13px;
    margin-top: 20px;
}

.info span a {
    color: #666666;
    text-decoration: none;
}

.info span .fa {
    color: rgb(226, 168, 16);
    font-size: 19px;
    position: relative;
    left: -2px;
}

.info span .spoilers {
    color: #999999;
    margin-top: 5px;
    font-size: 10px;
}

.error1 {
    -moz-border-radius: 3px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    -moz-box-shadow: 0 0 0 transparent;
    -webkit-box-shadow: 0 0 0 transparent;
    box-shadow: 0 0 0 transparent;
    position: absolute;
    padding: 0 10px;
    height: 39px;
    display: block;
    color: rgb(228 69 21);
    border: 0;
    font: 14px Corbel, "Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", "DejaVu Sans", "Bitstream Vera Sans", "Liberation Sans", Verdana, "Verdana Ref", sans-serif;
    line-height: 39px;
    white-space: nowrap;

}

.error-log {
    margin: 5px 5px 5px 0;
    font-size: 15px;
    position: relative;
    bottom: -2px;
}


.add-row-btn {
    background: none;
    border: none;
    color: green;
    font-size: 1.5em;
    cursor: pointer;
    padding: 0;
    margin-left: 10px;
    line-height: 1;

}

.student-question {
    background-color: rgb(239 239 240);
    padding: 11px;
    border-radius: 23px;
}

.relatives-info-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.relatives-info-row .mb-3 {
    margin-bottom: 0;
    flex-grow: 1;
}

.relatives-info-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;

}

.relatives-info-row .form-label {
    margin-bottom: 0.25rem;
    margin-right: 10px;
}

.relatives-info-row .form-control {
    flex-grow: 1;
    margin-right: 10px;
}

.add-row-btn,
.delete-row-btn {
    background: none;
    border: none;
    font-size: 1.2em;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    margin-left: 5px;
    margin-right: 5px;

}

.add-row-btn {
    color: green;
    font-size: 32px !important;
}

.delete-row-btn {
    color: red;
    font-size: 32px !important;
}


.relatives-info-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.relatives-info-row .form-label {
    margin-bottom: 0.25rem;
    margin-right: 10px;
}

.input-with-buttons {
    display: flex;
    align-items: center;
    flex-grow: 1;
}

.input-with-buttons .form-control {
    flex-grow: 1;
    margin-right: 5px;
}

.add-row-btn,
.delete-row-btn {
    background: none;
    border: none;
    font-size: 1.2em;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    margin-left: 5px;
}

.add-row-btn {
    color: green;
}

.delete-row-btn {
    color: red;
}

@media (max-width: 900px) {

    #progressbar li {
        list-style-type: none;
        color: rgb(51, 51, 51);
        text-transform: uppercase;
        font-size: 13px;
        width: 35%;
        float: left;
        position: relative;
    }
}