@charset "utf-8";
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
/* Saudi Riyal Font © Emran Alhaddad */
@font-face {
    font-family: 'saudi_riyal';
    src: url('../fonts/saudi_riyal.woff2') format('woff2'),
        url('../fonts/saudi_riyal.woff') format('woff'),
        url('../fonts/saudi_riyal.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Ensure the icon class correctly loads the Riyal symbol */
.icon-saudi_riyal::before {
    content: "\e900";
    font-family: 'saudi_riyal' !important;
    font-size: inherit;
    color: inherit;
}


/* General CSS Tags */
html,
body {
    height: 100%;
    width: 100%;
}

body,
input,
textarea,
select {
    font-family: "Inter", sans-serif;
    font-size: 12pt;
}

body {
    color: #111;
    background-color: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Inter", sans-serif;
    font-size: 11pt;
    font-weight: bold;
}

h1 {
    margin-bottom: 10px;
    padding-bottom: 2px;
    color: #0d6ecf;
    border-bottom: 1px solid #232877;
}

a {
    text-decoration: none;
    color: #0d6ecf;
}

a:visited {
    color: #1b75bb;
}

a:hover {
    text-decoration: none;
}

strong {
    font-weight: bold;
}

sub {
    font-style: italic;
    font-size: 10pt;
}

input,
textarea {
    outline: 0 none;
}

p {
    line-height: 18pt;
}

/* Layout */

.page-wrap {
    max-width: 960px;
    height: 100%;
    margin: auto;
}

.header {
    /* background: url('../images/header-back-rep.png') repeat-x top left;*/
}

.header img {
    float: left;
    /*margin: 5px 0 0 30px;*/
    margin: 0;
    max-width: 100%;
}

.header #other-logos {
    margin-right: 20px;
    margin-top: 5px;
}

/* Main Navigation Menu */

#nav-main {
    background: url('../images/nav-back-rep.png') repeat-x top left;
    height: 40px;
}

#nav-main li {
    float: left;
    padding: 12px 10px;
    border-right: 1px dotted #ccc;
}

/* :last-child - attribute valid only in CSS 3 */
#nav-main li:last-child {
    border-right: 0 none;
}

/* Content Container */

.content-container {
    min-height: 400px;
    padding: 15px;
}

.content-container .content {
    margin: 5px;
}

/* Footer */

.footer {
    background-color: #f7f7f7;
    height: 25px;
    padding-top: 14px;
    text-align: center;
    font-size: 10pt;
    color: #888;
    margin-top: 50px;
}

.footer a {
    color: #888;
}

/* Pages */

.content a {}

.content a:hover {
    border-bottom: 1px solid #232877;
}

/* Tables */

.content table {
    width: 100%;
    margin: 10px 0;
    border: 1px solid #ddd;
}

.content thead {
    background-color: #0d6ecf;
    color: #fff;
}

.content thead th {
    font-weight: bold;
    padding: 5px 10px;
}

.content table td {
    padding: 5px 10px;
}

.content tbody td {
    border-top: 1px solid #ddd;
    border-right: 1px solid #ddd;
}

.content tbody td .button {
    display: inline-block;
    padding: 4px 8px;
    font-size: 11pt;
}

.content tfoot td {
    border: 1px solid #ddd;
}

.content tfoot sub {
    color: #232877;
}

.content .right-border {
    text-align: right;
    color: #0d6ecf;
    font-weight: bold;
}

.content .actions {
    border-right: 0 none;
    text-align: center;
}

/* Forms */

.signin form,
.signup form {
    max-width: 200px;
}

.content form fieldset {
    margin-bottom: 10px;
}

.content form fieldset ol li {
    margin-bottom: 8px !important;
    margin-top: 8px !important;
}

.content form fieldset ol label {
    display: block;
}

.content form fieldset ol input,
.content form fieldset ol textarea,
.content form fieldset ol select {
    border: 1px solid #ccc;
    padding:6px 10px;
    width: 100%;
    box-sizing: border-box;
    color:#333;
    border-radius: 4px;
}

.content form fieldset ol input:hover,
.content form fieldset ol textarea:hover,
.content form fieldset ol select:hover {
    border-color: #0d6ecf;
}

.content form fieldset ol input:focus,
.content form fieldset ol textarea:focus,
.content form fieldset ol select:focus {
    border-color: #232877;
}

.content form fieldset ol textarea {
    width: 100%;
}

.content .option label {
    display: inline;
    padding-left: 5px;
}

.content .option input {
    width: auto;
    border: 0 none;
}

.content fieldset strong.required {
    color: #ff3300 !important;
}

/* Sign In & Up */

body#signin .content strong,
body#signup .content strong {
    display: block;
    margin-bottom: 10px;
}

/* Registration Form */

body#register .content form,
body#payment .content form,
body#edit-registration .content form {
    width: 100%;
}

.register fieldset li.section {
    border: 1px solid #ccc;
    border-top-color: #ddd;
    border-left-color: #ddd;
    padding: 20px 20px 20px 20px;
    margin: 20px 0 !important;
}

.register fieldset li.section strong {
    margin-top: -28px;
    color: #0d6ecf;
    background-color: #fff;
}

.register fieldset li.section ul {
    margin-top: 5px;
}

.register fieldset li li {
    width: 50%;
    box-sizing: border-box;
    padding: 5px 10px;
}
.register fieldset .items-container ul li {
    width: 100% !important;
}
@media only screen and (max-width: 640px) {
    .register fieldset li li {
        width: 100%;
        padding: 0;
    }
}

.register fieldset li li.full-width {
    width: 100%;
}

.register fieldset li label {
    width: auto !important;
}

.register fieldset li.right {}

.register fieldset li.third {
    width: 33.3%;
}

.register fieldset li.single,
.register fieldset li#registration-type li {
    width: 100%;
}

.register fieldset li#registration-type span,
.register fieldset li#registration-type div {
    font-weight: bold;
}

.register fieldset li#registration-type div {
    padding-top: 5px;
}

.register fieldset li.single label span {
    font-weight: normal;
    width: 100px;
    margin-left: 2px;
}

body#confirm-registration {}

/* Controls */

/* Classes */

.button {
    padding: 8px 12px;
    background-color: #0d6ecf;
    color: #fff;
    border: 0 !important;
    cursor: pointer;
    -webkit-transition: 0.5s;
    transition: 0.5s;
    font-size:11pt;
    font-family: "Inter", sans-serif;
    border-radius: 4px;
}

.button:hover {
    background-color: #232877 !important;
}

.button.reset {
    background-color: #5492d0 !important;
    margin: 0 10px;
    color: #fff !important;
    border: 0 !important;
    -webkit-transition: 0.5s;
    transition: 0.5s;
}

.top-buttons {
    float: left;
    width: 100%;
}

.top-buttons ul {
    margin: 0;
    padding: 0;
    float: right;
}

.top-buttons ul li {
    margin-right: 1px;
    display: inline-block;
}

.top-buttons ul li:last-of-type {
    margin-right: 0;
}

.top-buttons ul li a {
    background-color: #0d6ecf;
    margin: 0;
    color: #fff;
    border: 0;
    -webkit-transition: 0.5s;
    transition: 0.5s;
}

.top-buttons ul li a:hover {
    background-color: #232877 !important;
}

a.button {
    color: #fff;
    text-align: center;
    -webkit-transition: 0.5s;
    transition: 0.5s;
}

.top-buttons ul li .button.red {
    background-color: #cb1f19 !important;
}

.top-buttons ul li .button.red:hover {
    background-color: #a21510 !important;
}

/* Print Invoice & Pay Now Button */

#print-invoice,
.pay-payment form {
    width: 100%;
    text-align: center;
    margin-top: 15px;
    margin-bottom: 8px;
}

#print-invoice input,
.pay-payment input,
.pay-payment .button {
    width: auto !important;
    height: auto !important;
    padding: 6px 8px;
}


/* Misc CSS */

.clear {
    clear: both;
}

.left {
    width: auto;
    float: left;
}

.right {
    width: auto;
    float: right;
}

.alert {
    position: relative;
    padding: .6rem .8rem;
    margin-bottom: .5rem;
    border: 1px solid transparent;
    float: left;
    width: 100%;
    box-sizing: border-box;
    line-height: 1.8;
}

.alert-info {
    color: #055160;
    background-color: #cff4fc;
    border-color: #b6effb;
}

.alert-warning {
    color: #664d03;
    background-color: #fff3cd;
    border-color: #ffecb5;
}

.alert-success {
    color: #0f5132;
    background-color: #d1e7dd;
    border-color: #badbcc;
}

.alert-danger {
    color: #842029;
    background-color: #f8d7da;
    border-color: #f5c2c7;
}

.alert-primary {
    color: #084298;
    background-color: #cfe2ff;
    border-color: #b6d4fe;
}

.alert-secondary {
    color: #41464b;
    background-color: #e2e3e5;
    border-color: #d3d6d8;
}

.alert-dark {
    color: #141619;
    background-color: #d3d3d4;
    border-color: #bcbebf;
}

.alert-light {
    color: #636464;
    background-color: #fefefe;
    border-color: #fdfdfe;
}

.close {
    float: right;
    font-size: 1.2rem;
    font-weight: 700;
    color: #000;
    border: 0;
    background: none;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
    cursor: pointer;
    padding: 0;
    text-align: center;
}

.content form fieldset ol input[type="checkbox"],
.content form fieldset ol input[type="radio"] {
    width: 22px;
    float: left;
}

.payment-success,
.payment-failure {
    margin: 50px auto;
}

.payment-success,
.payment-success h2,
.payment-success p,
.payment-failure,
.payment-failure h2,
.payment-failure p {
    text-align: center;
}

.payment-success h2,
.payment-failure h2 {
    font-size: 16px;
    margin-bottom: 5px;
}

.payment-success p,
.payment-failure p {
    margin-bottom: 10px;
}

.payment-success .icon,
.payment-failure .icon {
    margin: 0 auto;
    text-align: center;
    font-size: 70px;
}

.payment-success .icon {
    color: #28a745;
}

.payment-failure .icon {
    color: #dc3545;
}

.button.primary {
    background-color: #0d6ecf !important;
}

.button.primary:hover {
    background-color: #0a56a2 !important;
}

.button.secondary {
    background-color: #6c757d !important;
}

.button.secondary:hover {
    background-color: #5a6268 !important;
}

.button.success {
    background-color: #28a745 !important;
}

.button.success:hover {
    background-color: #218838 !important;
}

.button.danger {
    background-color: #dc3545 !important;
}

.button.danger:hover {
    background-color: #c82333 !important;
}

.button.warning {
    color: #212529;
    background-color: #ffc107 !important;
}

.button.warning:hover {
    background-color: #e0a800 !important;
}

.button.info {
    background-color: #17a2b8 !important;
}

.button.info:hover {
    background-color: #138496 !important;
}

.button.light {
    color: #212529;
    background-color: #f8f9fa !important;
}

.button.light:hover {
    background-color: #e2e6ea !important;
}

.button.dark {
    background-color: #23272b !important;
}

.button.dark:hover {
    background-color: #141619 !important;
}

.button.disabled,
.button:disabled {
    opacity: .65;
    pointer-events: none;
}

.captcha {
    position: relative;
}

.captcha a {
    color: #1b75bb;
    display: inline-block;
    font-family: "Lucida Sans Unicode";
    font-weight: bold;
    display: inline-block;
    position: absolute;
    right: 0;
    top: 5px;
    font-size: 25px;
    margin: 2px 15px 0 0;
}

.captcha a:hover {
    border: 0;
}

/* label css */
.label-success {
    background-color: #198754;
    /* Bootstrap success color */
    color: #ffffff;
    /* White text */
    padding: 0.2em 0.6em;
    border-radius: 0.25rem;
}

.label-warning {
    background-color: #ffc107;
    /* Bootstrap warning color */
    color: #212529;
    /* Dark text */
    padding: 0.2em 0.6em;
    border-radius: 0.25rem;
}

.label-danger {
    background-color: #dc3545;
    /* Bootstrap danger color */
    color: #ffffff;
    /* White text */
    padding: 0.2em 0.6em;
    border-radius: 0.25rem;
}

/* CSS CODES GIVEN BY RISHAN on 06th Feb 2025 */
/* Main header container for desktop */
.custom-header {
    position: relative;
    height: 230px;
    display: flex;
    flex-direction: column;
    /* Stacks elements vertically */
    align-items: center;
}

/* Light grey background for the space ABOVE the blue ribbon */
.header-top {
    background-color: #DFDFDF;
    /* Light grey */
    width: 100%;
    height: 63px;
    /* Adjusted to match the height of the purple square */
    position: relative;
    z-index: 0;
}

/* Payment Methods image - positioned at the top right */
.payment-methods {
    position: absolute;
    top: 10px;
    right: 20px;
    max-height: 50px;
    /* Adjust based on image size */
    width: auto;
}

/* Blue bar: a centered, thinner bar occupying the rest of the header */
.blue-bar {
    background-color: #1074b9;
    height: 76px;
    /* ~1/3 of 230px */
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    /* Ensure it's above the light grey section */
    margin-top: -10px;
    /* Lifts the blue bar slightly */
}

/* Purple square (logo container): fixed square with updated padding. */
.purple-square {
    background-color: #232877;
    width: 140px;
    height: 180px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    /* Padding remains unchanged */
    box-sizing: border-box;
    /* Padding is included in the total dimensions */
    margin-left: -60%;
    /* Shifts the purple box so that 30% of the blue bar is left of it */
    position: relative;
    z-index: 2;
    /* Brings it in front */
}

.purple-square a:hover {
    border: 0;
}

/* Effat logo styling: scales down to fit within the container */
.effat-logo {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
}

/* Styling for the text within the blue bar */
.blue-bar-text {
    font-size: 24px;
    font-family: Arial, sans-serif;
    color: white;
    margin-left: 20px;
    /* Space between the purple square and the text */
}

/* Pagination styles */

.pagination {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: .25rem;
    margin-top: .5rem;
    margin-bottom: .5rem;
}

.page-link {
    position: relative;
    display: block;
    padding: .5rem .75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: #007bff;
    background-color: #fff;
    border: 1px solid #dee2e6;
}

.page-link:hover,
.page-item.active .page-link {
    color: #0056b3;
    text-decoration: none;
    background-color: #e9ecef;
    border-color: #dee2e6;
}

.page-item:first-child .page-link {
    margin-left: 0;
    border-top-left-radius: .25rem;
    border-bottom-left-radius: .25rem;
}

.page-link:not(:disabled):not(.disabled) {
    cursor: pointer;
}


/* Mobile responsiveness */
@media screen and (max-width: 768px) {
    .custom-header {
        height: auto;
    }

    .header-top {
        background-color: #DFDFDF;
        /* Light grey */
        display: flex;
        align-items: center;
        /* Remove extra vertical spacing */
        justify-content: center;
        height: auto;
        /* Allow it to shrink if needed */
        min-height: 30px;
        /* Adjusted from 50px to 30px */
        margin: 0;
        /* Remove extra white space */
        padding: 0;
        /* Remove extra spacing */
        width: 100vw;
        /* Ensure it spans the full width */
    }

    .payment-methods {
        max-height: 20px;
        /* Adjusted to fit within the new height */
        width: auto;
        top: 5px !important;
    }

    .blue-bar {
        margin-top: 0;
        /* Remove white space */
        height: auto;
        /* Allow content to define height */
        display: flex;
        flex-direction: column;
        /* Stack elements vertically */
        justify-content: center;
        align-items: center;
        padding: 10px;
    }

    .purple-square {
        width: 100px;
        height: 100px;
        margin: 0;
        /* Center logo in the blue bar */
        top: -40px;
    }

    .blue-bar-text {
        font-size: 18px;
        text-align: center;
        width: 100%;
        margin-left: 0;
        margin-top: -20px;
        /* Moves text closer to the logo */
    }
}

/* Extra small devices (mobile in portrait) */
@media screen and (max-width: 480px) {
    .blue-bar-text {
        font-size: 16px;
    }

    .purple-square {
        width: 80px;
    }

    .payment-methods {
        max-height: 18px;
        /* Further reduced size for smaller screens */
    }
}

/* Extra small devices (mobile in portrait) */
@media screen and (max-width: 480px) {
    .blue-bar-text {
        font-size: 16px;
    }

    .purple-square {
        width: 80px;
    }

    .payment-methods {
        max-height: 18px;
        /* Further reduced size for smaller screens */

    }
}

.alert-info {
    background: #eef7ff;
    border: 1px solid #bcd9ff;
    padding: 10px 15px;
    margin-bottom: 5px;
}

.alert-default {
    background: #ffffff;
    border: 1px solid #ffffff;
    padding: 10px 2px;
    margin-bottom: 5px;
}

.align-right {
    text-align: right;
}   
.payment-radio:checked + label {
    color: #0d6ecf !important;
}
.signin, .signup {
    margin-bottom:20px;
}