﻿@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&display=swap');

:root {
    --eServiceSecColor: #149da8;
    --card-content-color: #163166;
    --eService-primary-color: #4C3E84;
    --eService-secondery-color: #149DA8;
    --eService-main-text-color: #4A5568;
    --backBtnBackground: #9E9E9E;
    --nextBtnBackground: #449DD7;
}

* {
    font-family: "Roboto", sans-serif;
}


/* buttons */

html[lang="ar"] * {
    font-family: "Almarai", sans-serif;
}

span.wlcMessage {
    color: var(--eService-secondery-color);
}

.studentName {
    color: var(--eService-main-text-color);
}

.input-validation-error {
    border: 1px solid rgb(var(--bs-danger-rgb)) !important;
    box-shadow: none !important;
}

.error {
    --bs-text-opacity: 1;
    color: rgba(var(--bs-danger-rgb), var(--bs-text-opacity)) !important;
}

.danger-text {
    font-size: 12px;
}

.select {
    background-position: right .75rem center;
    padding: .75rem;
}

/* style components */
.pio-minh-inherit {
    min-height: inherit;
}

.pio-minvh-100 {
    min-height: 100vh !important;
}

.pio-vh-100 {
    height: 100vh !important;
}

.pio-overflow-hidden {
    overflow: hidden !important;
}

.pio-overflow-auto {
    overflow: auto !important;
}

/* e-service style */
/* section image slide */
img.slide-img {
    height: 100vh;
    width: 100%;
}

.slide-child-block {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

img.slide-img-child {
    max-width: 320px;
}

/* section main */
/* scollbar */
.scrollbar::-webkit-scrollbar-track {
    border-radius: 0;
    background-color: #fff;
}

.scrollbar::-webkit-scrollbar {
    width: 5px;
    background-color: #fff;
}

.scrollbar::-webkit-scrollbar-thumb {
    border-radius: 0;
    background-color: #4c3e84;
}


/* header */
.sticky {
    z-index: 1;
    position: sticky;
    top: 0;
    background-color: #fff;
    height: 100%;
}

    .sticky::after {
        position: fixed;
        content: '';
        width: calc(100% - 10px);
        height: 110px;
        top: 0;
        background: #fff;
        z-index: -1;
        left: 5px;
        right: unset;
    }

    .sticky > div {
        padding-top: 0.5rem;
    }

.img-logo {
    max-width: 112px;
}


a.btn-lang svg path:hover,
a.btn-lang svg:hover path,
a.btn-lang:hover svg path {
    fill: var(--eServiceSecColor);
}

a.btn-lang svg {
    width: 24px;
    height: 24px;
}

.custom-nav {
    position: relative;
    left: -1.5rem;
    right: unset;
    width: 80vw;
    margin-top: 1.5rem;
}

.menu-header {
    background: var(--eService-primary-color);
}

.custom-nav div {
    border-radius: 0 28px 28px 0;
}

.menu-header .menu-title {
    font-size: 16px;
}

.welcome-box-head {
    width: 100%;
    display: flex;
    flex-direction: column-reverse;
    gap: 15px;
}

    .welcome-box-head h1 {
        color: var(--eService-primary-color );
        font-size: 24px;
        font-weight: bold;
    }

    .welcome-box-head h2 {
        color: var(--eService-secondery-color);
        font-size: 20px;
        font-weight: bold;
    }

/*Cards */
.card-row > div {
    padding-right: 1rem !important;
}


.pio-card {
    border-inline-end-width: 0.75rem;
    border-radius: 12px;
    background: #FFF;
    box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.10);
    max-width: 320px;
}

    .pio-card > .card-body {
        align-items: center;
        padding: 1rem;
        gap: 0.75rem;
        justify-content: space-between;
    }


        .pio-card > .card-body > div {
            max-width: 50vw;
        }

        .pio-card > .card-body .card-title {
            font-weight: bold;
            color: var(--card-content-color);
            margin-top: 0.5rem;
            margin-bottom: 0.5rem;
            font-size: 12px;
        }

        .pio-card > .card-body .card-desc {
            color: var(--card-content-color);
            min-height: 50px;
            margin-bottom: 1rem;
            font-size: 10px;
        }

        .pio-card > .card-body .pio-card-img {
            min-width: 80px;
            height: 80px;
        }


        .pio-card > .card-body .card-btn {
            border-radius: 20px;
            width: calc(100% - 33px);
            color: #fff;
        }


/*Menu*/
.navbar-menu {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 1rem;
    width: 80vw;
    left: 0;
    background: white;
    color: var(--eService-primary-color);
    box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.10);
    border-radius: 0 0 15px 0 !important;
    z-index: 1;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
    padding-bottom: 1rem;
    padding-top: 1rem;
    transition: all .3s ease-in-out;
}

    .navbar-menu a {
        color: var(--eService-primary-color);
        font-size: 14px;
        font-weight: 700;
        height: 25px;
        display: flex;
        align-items: center;
    }

        .navbar-menu a:hover {
            text-decoration: underline !important;
            transition: font-weight 0.3s ease-out;
            font-weight: 800;
        }


.btn-pio-submit {
    background-color: rgba(68,157,215,1);
    border-color: rgba(68,157,215,1);
    color: #fff;
}

    .btn-pio-submit:hover {
        background-color: rgba(68,157,215,0.9);
        color: #fff;
    }

.btn-pio-next,
.btn-pio-back {
    min-width: 120px;
    border-radius: 10px;
    font-size: 12px;
}

.btn-pio-next {
    color: #fff;
    background-color: rgba(68,157,215,1);
    border-color: rgba(68,157,215,1);
}

    .btn-pio-next:hover {
        color: #fff;
        background-color: rgba(68,157,215,0.8);
    }

.btn-pio-back {
    color: #fff;
    background-color: #9E9E9E;
    border-color: #9E9E9E;
}

    .btn-pio-back:hover {
        color: #fff;
        background-color: rgba(158, 158, 158,0.8);
    }

.btn-pio-link {
    background-color: transparent;
    color: #459EA6;
    text-decoration: none;
}

    .btn-pio-link:hover {
        color: #459EA6;
        text-decoration: underline;
    }

.btn-pio-submit,
.btn-pio-link {
    font-size: 14px;
}

form[name="frmNationalNumber"] label:first-child {
    color: var(--eService-main-text-color);
    font-weight: bold;
    font-size: 14px;
}

.btn-back {
    color: #fff;
    background-color: #9E9E9E;
    border-color: #9E9E9E;
    min-width: 120px;
    font-size: 12px;
    width: 120px;
}

/* spinner */
.spinner {
    position: absolute;
    z-index: 2;
    width: 100%;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #fff;
    gap: 0.25rem;
}

/*radio buttons*/
.custom-control-input:checked ~ .custom-control-label::before {
    color: #fff;
    border-color: var(--eService-primary-color) !important;
    background-color: var(--eService-primary-color) !important;
}

/*text headers*/
.text-header {
    color: #149DA8;
    font-size: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

.accordion-header {
    margin-bottom: 10px;
}

/*Accordion custom*/
.accordion-header-custom, .accordion-header {
    --bs-accordion-btn-focus-box-shadow: 0;
}

.accordion-item {
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.10);
    border-radius: 14px !important;
}

.accordion-button-custom.collapsed::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button-custom:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}


.accordion-button-custom {
    background: #589AA5 !important;
    color: white !important;
    font-weight: 700 !important;
    border-radius: 14px !important;
}

.accordion-button-custom2 {
    background: #fff !important;
    color: black !important;
    font-weight: 700 !important;
    border-radius: 14px !important;
}

.accordion-item-custom {
    border: 1px solid rgba(0, 0, 0, 0.10);
    border-radius: 14px !important;
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.10);
}

.accordion-body {
    padding-bottom: 4rem;
}

.delete-btn {
    background: #E9E9E9;
    border-bottom-left-radius: unset;
    border-top-left-radius: unset;
}

    .delete-btn:hover {
        background: rgba(233,233,233,0.8);
    }

.fees-calc-btn {
    background: #D29460;
    bottom: 0;
    right: 0;
    height: 42px;
    border-radius: 10px 0;
}



/* payment buttons*/
.btns > .col-md-4 button {
    font-size: 13px;
    color: white;
}

.btns > .col-md-4:nth-child(1) button {
    background-color: var(--eService-primary-color);
    border: 1px solid var(--eService-primary-color);
}

.btns > .col-md-4:nth-child(2) button {
    background-color: #9C6;
    border: 1px solid #9C6;
}

.btns > .col-md-4:nth-child(3) button,
.btns > .col-md-4:nth-child(4) button {
    background-color: #41949C;
    border: 1px solid #41949C;
}


.btns > .col-md-4:nth-child(1) button:hover {
    background-color: rgb(76,62,132,0.8);
}

.btns > .col-md-4:nth-child(2) button:hover {
    background-color: rgb(153,204,102,0.8);
}

.btns > .col-md-4:nth-child(3) button:hover,
.btns > .col-md-4:nth-child(4) button:hover {
    background-color: rgb(65,148,156,0.8);
}

.pay-labels {
    font-size: 15px;
    color: var(--eService-primary-color);
}

/* E-regestration */
.E-reg-card {
    border-radius: 18px;
    box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.10);
}

.add-btn,
.edit-btn {
    border-radius: 0 10px;
    font-size: 10px;
    height: 100%;
    flex: 0 0 140px;
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.edit-btn {
    background: #41949C;
    color: white;
}

    .edit-btn:hover {
        background: rgba(65,148,156,0.9);
        color: white;
    }

.add-btn {
    background: #449DD7;
    color: white;
}

    .add-btn:hover {
        background: rgba(68,157,215,0.9);
        color: white;
    }

.normal-font-size {
    font-size: 12px;
}

.card-header-custom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 42px;
}

.header-custom {
    font-size: 12px;
    color: #163166;
    font-weight: 600;
}

.card-header-custom > .header-custom {
    border-bottom: 1px solid #4A5568;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    height: 100%;
}

.row-color > div {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}

    .row-color > div:nth-child(odd) {
        background: rgba(215,228,255,0.26);
    }

.students-data > div .header-custom {
    font-weight: 400;
}

.all-btns button,
.all-btns a {
    background: #41949C;
    border: #41949C;
    color: #fff;
    font-size: 10px;
}

    .all-btns button:hover,
    .all-btns a:hover {
        background: rgba(65,148,156,0.9);
        color: #fff;
    }

.students-data {
    overflow-x: auto;
    white-space: nowrap;
}

.card-header {
    border-bottom: none;
}

/*Fees Calculator*/
.btn-pio-fees {
    background: #D29460;
    border: #D29460;
    padding: 8px 15px;
    color: white;
    font-size: 13px;
    border-radius: 10px;
}

    .btn-pio-fees:hover {
        background: rgb(210,148,96,0.9);
    }

.pio-form-fees .form-group label {
    font-weight: 700;
    font-size: 12px;
    margin-bottom: 9px;
    color: var(--eService-main-text-color);
    padding-inline-start: 0.4rem;
}

.recalc-fees {
    background: white;
    border-radius: 10px;
    border: 1px solid #F5821F;
    background: #FFF;
    padding: 23px 22px 28px 10px;
    box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.25);
}


/*Form*/
.pio-form .form-group label {
    font-size: 12px;
    margin-bottom: 9px;
    font-weight: 600;
    color: var(--eService-main-text-color);
    padding-inline-start: 0.4rem;
    text-wrap: nowrap;
}

.pio-form .form-group .form-control {
    border-radius: 10px;
    height: 45px;
    line-height: 3;
}

.pio-form .form-group input {
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.10);
}

.pio-form .form-group .select {
    height: 44px;
    font-size: 0.8rem;
    box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.10);
}

.pio-form .form-group .form-control input,
input::placeholder {
    font-size: 0.8rem;
}

.hijri-greg a {
    color: var(--eService-primary-color) !important;
    font-size: 14px;
    cursor: pointer;
    font-weight: bold;
}

    .hijri-greg a:hover {
        color: #2501b5 !important;
    }

.hijri-greg a {
    color: var(--eService-primary-color) !important;
    font-size: 14px;
    cursor: pointer;
    font-weight: bold;
}

    .hijri-greg a:hover {
        color: #16b7f5 !important;
    }

    .hijri-greg a:active {
        color: #0078a7;
        text-decoration: none;
    }

/*Re Registration*/

.dearParent {
    font-size: 1rem !important;
}

.re-reg-name {
    font-size: 0.75rem;
}

.Re-Reg-msg {
    font-size: 13px;
}

.on-off-fs {
    font-size: 9px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.Re-Reg-msg {
    font-size: 13px;
}

.on-off-fs {
    font-size: 9px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 34px;
}

    .switch input {
        opacity: 0;
        width: 0;
        height: 0;
    }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

    .slider:before {
        position: absolute;
        content: "";
        height: 26px;
        width: 26px;
        left: 4px;
        bottom: 4px;
        background-color: white;
        -webkit-transition: .4s;
        transition: .4s;
    }

input:checked + .slider {
    background-color: #2196F3;
}

input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

.slider.round {
    border-radius: 34px;
}

    .slider.round:before {
        border-radius: 50%;
    }

/* Upload Attachments */
.pio-upload-attachments {
    border: 1px solid rgba(0, 0, 0, 0.10);
    box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.10);
    border-radius: 10px;
    padding-top: 0.5rem !important;
    padding-bottom: 1.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.pio-upload-inner {
    border: 3px dashed rgba(0, 0, 0, 0.10);
    border-radius: 10px;
}

.upload-btn {
    display: inline-block;
    background-color: #fff;
    color: var(--eService-secondery-color);
    padding: 0.5rem;
    border: 1px solid #d1f8fb;
    font-family: sans-serif;
    border-radius: 0.3rem;
    cursor: pointer;
    margin-top: 0.5rem;
}

    .upload-btn:hover {
        background: var(--eService-secondery-color);
        color: white;
    }

.pio-upload-inner span {
    color: var(--backBtnBackground);
    font-size: 12px;
}
/*footer*/
.footer {
    align-items: center;
    display: flex;
    background-color: rgb(241 244 249 / 40%);
    color: #4c3e84;
    font-size: 10px;
    justify-content: center;
    flex-direction: column;
    gap: 0.5rem;
}

    .footer > p {
        margin: 0;
    }

        .footer > p > a {
            color: #4c3e84;
            text-decoration: none;
        }

            .footer > p > a:hover {
                color: #4c3e84;
                text-decoration: underline;
            }


/*datepicker*/
.input-group:not(.has-validation) > .dropdown-toggle:nth-last-child(n+3),
.input-group:not(.has-validation) > .form-floating:not(:last-child) > .form-control,
.input-group:not(.has-validation) > .form-floating:not(:last-child) > .form-select,
.input-group:not(.has-validation) > :not(:last-child):not(.dropdown-toggle):not(.dropdown-menu):not(.form-floating) {
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

/* progress */
.pio-progress-bar {
    position: relative;
    height: 3px;
    width: 250px;
}

progress {
    display: block;
    position: relative;
    width: 100%;
    height: 4px;
    background: #4C3E84 !important;
    appearance: none;
    background: none;
    transition: 1s;
    will-change: contents;
}

    progress::-webkit-progress-bar {
        background-color: #B9B9B9;
    }

    progress::-webkit-progress-value {
        background-color: var(--eService-primary-color);
        transition: all 0.5s ease-in-out;
    }

.step {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 20px;
    display: block;
    background: #B9B9B9;
    top: -5px;
    transition: all 0.2s ease-in-out;
    transition-delay: 0.3s;
    will-change: transform;
}

.pio-progress-bar .active {
    background: var(--eService-secondery-color) !important;
    animation: bounce 0.5s forwards;
    animation-delay: 0.5s;
}

.step.one {
    left: 0;
}

.step.two {
    right: 50%;
}

.step.three {
    right: 0;
}

.calendar header a.simple-calendar-btn path,
.calendar header a.simple-calendar-btn {
    font-size: 18px;
    fill: var(--eService-primary-color)
}

    .calendar header a.simple-calendar-btn path:hover,
    .calendar header a.simple-calendar-btn:hover {
        opacity: 0.7 !important;
    }

.calendar header .month {
    font-size: 18px;
    font-weight: bold;
}

.pio-calendar {
    box-shadow: 0px 0px 6px 0px rgba(0, 0, 0, 0.30);
    padding: 0.25rem;
    border-radius: 10px;
}

    .pio-calendar table {
        text-align: center;
        font-size: 9px;
        font-weight: 700;
    }

table.table.pio-table tr td, table.table.pio-table tr th {
    padding: 1rem 0.2rem;
    border: none;
}

.pio-calendar table {
    text-align: center;
}

.day {
    line-height: 1.8;
    margin: 0 auto;
    width: 20px;
    height: 20px;
}

    .day.disabled {
        color: #000;
    }

        .day.disabled.wrong-month {
            opacity: 0.3;
        }

    .day.has-event {
        background-color: var(--eService-primary-color);
        color: #fff;
        border-radius: 5px;
        cursor: pointer;
    }

        .day.has-event:hover {
            opacity: 0.8;
        }

.event {
    background: #A7BBC5;
    color: #fff;
    border-radius: 10px;
    max-width: 370px;
}

    .event .event-date {
        background: var(--eService-secondery-color);
        color: #fff;
        padding: 0.5rem;
        border-radius: 10px;
        font-size: 12px;
    }

    .event .event-hour {
        font-size: 12px;
    }

.event-container .heading {
    font-size: 16px;
    font-weight: bold !important;
    color: var(--eService-secondery-color) !important;
    padding-top: 20px;
}

.heading {
    font-size: 16px;
    font-weight: bold !important;
    color: var(--eService-secondery-color) !important;
    padding-top: 20px;
}

.appoitment-btn {
    background: var(--eService-primary-color) !important;
    color: #fff;
}

    .appoitment-btn:hover {
        opacity: 1;
    }

.cancel-appointment {
    color: #fff;
    background-color: #9E9E9E;
    border-color: #9E9E9E;
    cursor: pointer;
}

    .cancel-appointment:hover {
        opacity: 0.8;
    }

.bootstrap-datetimepicker-widget.dropdown-menu {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.list-unstyled {
    padding: 0.5rem;
}

    .list-unstyled .datepicker table tr {
        margin-bottom: 0.5rem;
        display: inline-table;
        width: 100%;
    }


    .list-unstyled .datepicker table th, .datepicker table td {
        padding: 0.25rem;
        margin: 0 auto;
        text-align: center;
        font-size: 12px;
    }

.table-responsive-pio {
    overflow: auto;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.25));
}

    .table-responsive-pio .table-bordered th {
        background: var(--eService-secondery-color);
        color: #fff;
    }


    .table-responsive-pio.scrollbar::-webkit-scrollbar {
        height: 2px;
    }


.swal2-actions {
    gap: 10px;
}

.demo-2 {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    max-width: 125px;
}
