﻿/* Set padding to keep content from hitting the edges */
html {
    direction: rtl;
}

.logo {
    width: 25%;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/
.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default */
/*input,
select,
textarea {
    max-width: 280px;
}*/

.form-control.full-width {
    width: 100% !important;
}

:root {
    --primary-color: #028184;
    --secondary-color: #9ACDCE;
    --custom-gray: #F2F2F2;
    --custom-red: #dc3545;
    --accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='white'%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");
    /*    --accent-color: #F5A623;*/
}

.bg-custom-gray {
    background-color: var(--custom-gray);
}

.primary-color {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

    .primary-color:hover {
        color: var(--secondary-color);
    }

.secondary-color {
    color: var(--secondary-color);
}

.custom-gray {
    color: var(--custom-gray);
}

.custom-button {
    background-color: var(--primary-color);
}

.gray-bg {
    background-color: var(--custom-gray) !important;
}

.primary-bg {
    background-color: #028184;
    color: white;
}

.secondary-bg {
    background-color: var(--secondary-color);
    color: white;
}

.primary-bg-extended {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: white !important;
    border-radius: 5px;
    padding: 5px 20px;
    border-style: solid;
    font-weight: bold;
    transition: background-color 0.3s, border-color 0.3s;
}

.custom-button {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: white !important;
    border-radius: 5px;
    padding: 5px 20px;
    border-style: solid;
    font-weight: bold;
    transition: background-color 0.3s, border-color 0.3s;
}

    .custom-button:hover {
        background-color: var(--secondary-color) !important;
        border-color: var(--secondary-color) !important;
        color: var(--primary-color) !important;
    }

.button-outline {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    color: white !important;
    border-radius: 5px;
    padding: 5px;
    border-style: solid;
    font-weight: bold;
    transition: background-color 0.3s, border-color 0.3s;
}

    .button-outline:hover {
        background-color: var(--primary-color) !important;
        border-color: var(--primary-color) !important;
        color: var(--secondary-color) !important;
    }

.cursor-pointer {
    cursor: pointer;
}


.dt-info {
    margin-top: 5px;
}

.page-link.active, .active > .page-link {
    z-index: 3;
    color: white;
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}



/* General pagination button style */
.pagination .page-link {
    border: none;
    background-color: transparent;
    color: black
}

    /* Hover effect */
    .pagination .page-link:hover {
        background-color: var(--secondary-color);
        color: white;
        border-color: var(--secondary-color);
        cursor: pointer;
    }

    /* Active page */
    .pagination .active > .page-link,
    .pagination .page-link.active {
        background-color: var(--primary-color);
        color: white;
        border-color: var(--primary-color);
        box-shadow: var(--primary-color);
    }

/* Disabled buttons */
.pagination .page-item.disabled .page-link {
    border: none;
    background-color: transparent;
    color: black;
    cursor: not-allowed;
}

.pagination .page-link:focus,
.pagination .page-link:active {
    outline: none;
    box-shadow: none;
    border: none;
}

/*input,
textarea,
select {
    border: 1px solid var(--primary-color) !important;
    box-shadow: var(--primary-color) !important;*/ /* optional: remove default focus glow */
/*}*/

.form-control:focus {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 0.2rem rgba(2, 129, 132, 0.25); /* Adjust if needed */
    outline: none;
}

/* Remove the bottom border line under the tabs */
.nav-tabs {
    border-bottom: none !important;
    padding-right: 0px;
}

    .nav-tabs .nav-link {
        background-color: var(--primary-color);
        color: white;
        border: 1px solid transparent;
        margin-right: 2px;
        border-radius: 4px 4px 0 0;
    }

        .nav-tabs .nav-link.active {
            background-color: var(--secondary-color) !important;
            color: var(--primary-color) !important;
            border-color: var(--secondary-color) var(--secondary-color) transparent;
            border-bottom-color: transparent;
        }

        .nav-tabs .nav-link:hover {
            background-color: var(--secondary-color) !important;
            color: var(--primary-color) !important;
            border-color: var(--secondary-color) var(--secondary-color) transparent;
            border-bottom-color: transparent;
        }

.custom-width {
    width: 100%;
}

@media (min-width: 768px) {
    .custom-width {
        width: 25%;
    }
}

.custom-widthh {
    width: 100%;
}

@media (min-width: 768px) {
    .custom-widthh {
        width: 75%;
    }
}

.form-check {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.sidebar {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100vh;
    background-color: white;
    padding: 1rem;
    border-right: 1px solid #dee2e6;
    transition: left 0.3s ease;
    z-index: 1040;
}

    .sidebar.open {
        left: 0;
    }

.content {
    padding: 2rem;
    transition: margin-right 0.3s ease;
}

    .content.shifted {
        margin-right: 250px;
    }

.sidebarToggle {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
    transition: left 0.3s ease;
}

.sidebarToggle {
    position: absolute;
    left: 250px;
    z-index: 1050;
}

#sidebar.open + #sidebarToggle {
    left: 260px;
}

#sidebarOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1030;
    display: none;
}

    #sidebarOverlay.active {
        display: block;
    }

.sidebar-open .page-wrapper {
    margin-left: 250px;
    transition: margin-left 0.3s ease;
}

.sidebar-nav {
    padding: 0 !important;
    list-style: none !important;
}

.sidebar-nav-item {
    color: var(--primary-color) !important;
    width: 100% !important;
    /*            padding: 5px 0px;*/
}

.sidebar-nav-link {
    display: block;
    color: var(--primary-color) !important;
    text-decoration: none !important;
    padding: 5px 10px;
    width: 100% !important;
}

    .sidebar-nav-link.active {
        background-color: var(--primary-color);
        color: white !important;
        border-radius: 5px !important;
        width: 100% !important;
    }

.sidebar-nav-link.active:hover {
    background-color: var(--secondary-color) !important;
    color: var(--primary-color) !important;
    width: 100% !important;
    border-radius: 5px !important;
}

    .sidebar-nav-link:hover {
        background-color: var(--secondary-color) !important;
        color: var(--primary-color) !important;
        width: 100% !important;
        border-radius: 5px !important;
    }


#loadingOverlay {
    transition: opacity 0.2s ease-in-out;
    opacity: 0;
    visibility: hidden;
}

    #loadingOverlay.show {
        visibility: visible;
        opacity: 1;
    }

/* Client css start */
.arrowText {
    position: absolute;
    right: 28px;
    top: 38px;
    color: white;
}

.applicationButton {
    min-width: 285px;
    width: 20vw;
    margin: auto;
}
/* Upload File button*/
.uploadWhite {
    border: 1px solid black;
    padding: 5px;
    cursor: pointer;
}

.uploadGreen {
    /*height: 2vw;*/
    background-color: var(--primary-color);
    border-color: var(--primary-color) !important;
    color: white !important;
    border-radius: 0;
    padding: 5px;
    cursor: pointer;
}

    .uploadGreen svg {
        height: 16px;
    }

.clickedButton {
    background-color: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
    color: var(--primary-color) !important;
}

.disabledButton {
    background-color: gray !important;
    border-color: gray !important;
    color: white !important;
    border-radius: 5px;
    padding: 5px 20px;
    border-style: solid;
    font-weight: bold;
    transition: background-color 0.3s, border-color 0.3s;
}

input.form-check-input:checked {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

input.form-check-input {
    /*    background-color: var(--primary-color) !important;*/
    border-color: var(--primary-color) !important;
}

.form-check-input:focus {
    box-shadow: none !important;
    border-color: var(--primary-color) !important;
}

input.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(2, 129, 132, 0.25) !important;
    border-color: var(--primary-color) !important;
}

textarea.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(2, 129, 132, 0.25) !important;
    border-color: var(--primary-color) !important;
}

select.form-control:focus {
    box-shadow: 0 0 0 0.25rem rgba(2, 129, 132, 0.25) !important;
    border-color: var(--primary-color) !important;
}

select.form-select:focus {
    box-shadow: 0 0 0 0.25rem rgba(2, 129, 132, 0.25) !important;
    border-color: var(--primary-color) !important;
}

.chevron-box {
    width: 180px;
    height: 40px;
    position: relative;
    z-index: 2;
    border-radius: 0;
}

/* Arrows between chevrons */
.chevron-left, .chevron-right {
    width: 0;
    height: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    position: relative;
    z-index: 1;
}

/* RIGHT-TO-LEFT: chevron-left points to the RIGHT (used AFTER a box) */
.chevron-left {
    border-left: 15px solid;
    margin-left: -1px;
}

/* RIGHT-TO-LEFT: chevron-right points to the LEFT (used BEFORE a box) */
.chevron-right {
    border-right: 15px solid;
    margin-right: -1px;
}

/* Unverified message */
.unverifiedMessage {
    background-color: var(--primary-color);
    color: white;
    padding: 20px;
}

    .unverifiedMessage button {
        background-color: var(--custom-gray) !important;
        border-color: var(--custom-gray) !important;
        color: var(--primary-color) !important;
        border-radius: 5px;
        padding: 5px 20px;
        border-style: solid;
        font-weight: bold;
        transition: background-color 0.3s, border-color 0.3s;
    }

        .unverifiedMessage button:hover {
            background-color: var(--secondary-color) !important;
            border-color: var(--secondary-color) !important;
            color: var(--primary-color) !important;
        }

.validation-summary-errors ul {
    list-style-type: none;
    padding: 0;
}

.filesOverFlowVertical {
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 180px;
    padding-left: 15px;
}

.filesOverFlowHorizontal {
    overflow-y: hidden;
    overflow-x: auto;
    max-width: 40%;
    padding-bottom: 15px;
}

.w-lg-25 {
    width: 25% !important;
}

.w-lg-50 {
    width: 50% !important;
}

.w-lg-75 {
    width: 75% !important;
}

.filesDisplay {
    width: 25%;
}

.filesDisplay2 {
    width: 75%;
}

/* for register page */
.tooltips {
    position: relative;
    display: inline-block;
    /*border-radius: 50%;
    padding: 0px 9px;*/
    color: var(--primary-color);
    /*border: 1px solid;*/
    vertical-align: sub;
}

    .tooltips .tooltiptext {
        visibility: hidden;
        width: 425px;
        background-color: var(--primary-color);
        color: #fff;
        text-align: center;
        border-radius: 6px;
        padding: 5px 0px;
        position: absolute;
        z-index: 1;
        bottom: -200%;
        right: 200%;
        margin-left: -60px;
        opacity: 0;
        transition: opacity 0.3s;
        text-align: right;
        list-style-type: disc;
        padding-right: 25px;
    }

.tooltiptext li::marker {
    background-color: white;
}

.tooltips .tooltiptext::after {
    content: "";
    position: absolute;
    top: 45%;
    left: 100%;
    margin-left: 0px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent transparent var(--primary-color);
}

.tooltips:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}

/* for appointment */
.link {
    color: black;
    text-underline-offset: 5px;
}

.ui-datepicker table {
    direction: rtl;
}

.ui-datepicker {
    width: 20em;
}

.searchBar {
    background: url(images/searchIcon.png) no-repeat scroll 7px 7px;
    background-size: 25px 25px;
}

@media only screen and (max-width: 991px) {
    .accordion-button:not(.collapsed) {
        color: white !important;
        background-color: var(--primary-color) !important;
        box-shadow: inset 0 calc(-1 * var(--bs-accordion-border-width)) 0 var(--primary-color) !important;
    }

    .accordion-button:not(.collapsed)::after {
        background-image: var(--accordion-btn-active-icon) !important;
        margin-right: auto;
        margin-left: 0;
    }

    .accordion-button::after {
        margin-right: auto;
        margin-left: 0 !important;
    }

    .logo {
        width: 150px;
        padding-top: 15px;
    }

    .body-content {
        margin-top: 5rem;
    }

    .fixedNav {
        background: white;
        position: fixed;
        padding: 2% 0;
        z-index: 9;
    }

    .sidebarToggle {
        left: 10px;
        top: 10px;
    }

    .sidebarToggle.open {
        left: 200px;
    }

    .w-lg-25, .w-lg-50, .w-lg-75 {
        width: 100% !important;
    }

    .filesDisplay, .filesDisplay2 {
        width: 100%;
    }

    .nav {
        flex-direction: column;
    }

    .nav-tabs .nav-link {
        width: 100%;
        margin-bottom: 0.3rem !important;
        border-radius: 4px;
    }

    .filesOverFlowVertical {
        width: 100%;
    }

    .tooltips .tooltiptext {
        width: 85vw;
        max-width: 500px;
        bottom: 90%;
        right: -300%;
        padding-left: 2px;
    }

    .tooltips .tooltiptext::after {
        top: 100%;
        left: 89%;
        border-color: var(--primary-color) transparent transparent transparent;
    }

    nav .container {
        max-width: 100% !important;
    }

    .sidebarToggle {
        position: fixed;
    }
}

select option[disabled] {
    display: none;
}

div.dt-processing > div:last-child > div {
    background: var(--primary-color) !important;
}
.timebtn{
    cursor: pointer;
}




