
@font-face {
    font-family: 'Almarai';
    src: local('Almarai Regular'), url('/fonts/Almarai-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Almarai';
    src: local('Almarai Light'), url('/fonts/Almarai-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Almarai';
    src: local('Almarai Bold'), url('/fonts/Almarai-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Almarai';
    src: local('Almarai ExtraBold'), url('/fonts/Almarai-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}

.form-label {
    padding-right: 3px; /* Adjust this as needed */
    margin-right:3px;
}

.btn-custom-blue {
    color: #ffffff; /* لون النص (أبيض) */
    background-color: #007bff; /* الخلفية باللون الأزرق */
    border-color: #007bff; /* لون الحدود الأزرق نفسه */
}

    .btn-custom-blue:hover {
        color: #007bff; /* النص باللون الأزرق عند التمرير */
        background-color: #e6f2ff; /* خلفية خفيفة تناسب اللون الأزرق */
        border-color: #007bff; /* اللون الأزرق للحدود عند التمرير */
    }
.btn-custom-green {
    color: #ffffff; /* لون النص (أبيض) */
    background-color: #375f2b; /* الخلفية باللون الأخضر */
    border-color: #375f2b; /* لون الحدود الأزرق نفسه */
}
    .btn-custom-green:hover {
        color: #375f2b; /* Blue text on hover */
        background-color: #4d7e3e; /* Light blue background on hover */
        border-color: #375f2b; /* Blue border on hover */
        transform: scale(1.05); /* Slight zoom effect on hover */
    }
/*line between world*/
.divider-text:before,
.divider-text:after {
    color: white;
    content: "";
    flex: 1;
    border-bottom: 1px solid #35A8DF;
    margin: auto 0.25rem;
    box-shadow: 0 -2px;
}

.logout-button {
    font-weight: bold; /* Bold */
    font-style: italic; /* Italic */
    text-decoration: underline; /* Underline */
    color: #035a8d; /* Optional: Set color */
    background: none; /* Ensure no background if using btn-unstyled */
    border: none; /* Ensure no border if using btn-unstyled */
    cursor: pointer; /* Pointer cursor on hover */
}
html {
    font-size: 14px;
}

body div.container-custom {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    padding-bottom: 150px;
    direction: rtl;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
        font-family: "Almarai";
    }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    /*margin-bottom: 60px;*/
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    justify-content: space-between;
}

#Headcard
{
    background-color : red;
}
/*Generel CSS*/
/*flex column Center  */
.fxcc {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
fxcl {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: end;
}
.btn-container-style1 {
    display: flex;
    flex-direction: column;
}
.btn-style1 {
    font-family: 'Almarai', sans-serif;
    background-color: #35A8DF; /*blue*/
    /*background-color: #676869; grey*/
}

.text-red {
    color: red !important;
}

.btn-style1:hover {
        background-color: #676869;
        color: #fff;
}

.btn-style2 {
    font-family: 'Almarai', sans-serif;
    background-color: #35A8DF; /*blue*/
    /*background-color: #676869; grey*/
    color:#fff;
}

    .btn-style2:hover {
        background-color: #fff;
        border: 1px solid #35A8DF;
    }

.btn-style3 {
    color: #fff;
    background-color: rgb(103, 104, 105);
    border-color: rgb(103, 104, 105);
}
.btn-style3:hover {
    color: rgb(103, 104, 105);
    background-color: #fff;
    border-color: rgb(103, 104, 105);
}
.btn-style4 {
    color: #fff;
    background-color: rgb(103, 104, 105);
    border-color: rgb(103, 104, 105);
}

.btn-style5 {
    color: #fff;
    background-color: #ba181b;
    border-color: #d00000;
}
    .btn-style5:hover {
        color: #d00000;
        background-color: transparent;
        border-color: #d00000;
    }

    .btn-style4:hover {
        color: rgb(103, 104, 105);
        background-color: transparent;
        border-color: rgb(103, 104, 105);
    }

.bg-white{
        background-color:#ffffff;
}

.bg-grey {
    background-color: #676869;
}
.bg-blue {
    background-color: #35A8DF;
}

.bg-navbar {
    background-color: rgba(255, 255, 255, 0.85);
}
.custom-navbar {
    padding-top: 0.2rem; /* تقليل المسافة العلوية */
    padding-bottom: 0.2rem; /* تقليل المسافة السفلية */
}

.custom-navbar-nav .custom-nav-link {
    padding-top: 0.1rem; /* تقليل المسافة داخل الروابط */
    padding-bottom: 0.1rem;
}

.custom-navbar img {
    height: 40px; /* تقليل ارتفاع الصورة */
    width:40px;
}


.bf-title1 {
    white-space: pre-wrap;
    overflow: visible;
    color: rgba(30, 125, 193, 1);
    font-family: 'Almarai';
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    line-height: 1;
}
.bf-logo{
    border-radius: 20px;
}
.bf-bb {
    border-bottom: 5px solid rgb(30, 125, 193);
}
/*fonts*/
.fnt-white {
    color: #ffffff;
}
.fnt-balck {
    color: #000000;
}
.fnt-blue {
    color: rgba(30, 125, 193, 1);
}
.fnt-grey {
    color: #676869;
}
.custom-row {
     --bs-gutter-x: 0; 
    --bs-gutter-y: 0;
    gap:10px;
}
/*text alignment*/
    .text-right{
    text-align: right;
}
.text-left {
    text-align: left;
}
.text-center {
    text-align: center;
}

button.close{
    padding:5px;
    background-color: #fff;
    font-size:48px;
    line-height:1;
    border: none;
}
.header-styling-position {
    display:flex;
    flex-direction: column;
    gap:40px;
}

/*input fields*/
form-control:focus {
    border: solid 1px #ebebeb;
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}


.field-lgrey {
    background-color: #fcfcfc;
}

.modal-header {
    background-color: #fff;
    color: rgb(52, 92, 136);
    border-bottom: solid;
    border-bottom-width: 5px;
    border-bottom-color: rgb(30, 125, 193);
    font-family: 'Almarai', sans-serif;
}
   

.modal-footer {
    justify-content: center;
}

.table-style1 {
    padding: 10px 0px;
}
    .table-style1 thead {
        background: #676869;
        color: #fff;
        font-family: 'Almarai', sans-serif;
        vertical-align:middle;
    }
    /*======================= Custom CSS ============================================*/
    /*------------------Home index Page*/
.container.login-sec {
    max-width: 600px !important;
}

.login-sec .card {
    box-shadow: rgba(103, 104, 105, 0.8) 2px 2px 8px 4px;
    background-color: rgb(255, 255, 255);
    border-radius: 20px;
}

.login-sec input:focus + .login-lbl {
    display: none; /* Assuming you want to hide labels when input is focused, adjust selector accordingly */
}
/*------------------Main Section Page*/
.container.login-sec1 {
    max-width: 3500px !important;
}

.login-sec1 .card {
    box-shadow: rgba(103, 104, 105, 0.8) 2px 2px 8px 4px;
    background-color: rgb(255, 255, 255);
    border-radius: 20px;
    margin-bottom:20px;
}

.login-sec1 input:focus + .login-lbl {
    display: none; /* Assuming you want to hide labels when input is focused, adjust selector accordingly */
}

login-lbl {
    color: #333; /* Default text color for labels */
    font-size: 14px; /* Default font size for labels */
    display: block; /* Make sure labels are block level by default */
}
.frgt .card-header, .login-sec1 .card-header {
    border-bottom-style: solid;
    border-bottom-color: #35A8DF;
    border-bottom-width: 2px;
    border-radius: 20px 20px 0 0;
}
/*------------------Home userInformation Page*/
.main-container {
    display: flex;
    flex-direction: row;
    background-color: #fff;
    color: rgb(52, 92, 136);
    border-bottom: solid;
    border-bottom-width: 5px;
    justify-content: space-between; /* Space between the child elements */
    border-bottom-color: rgb(30, 125, 193);
  
}
.main-container .main-sec {
    display: flex;
    flex-direction: column;
    justify-content:center;

}
.main-container .welcome-name h1 {
        font-size: 20px;
        padding: 10px;
        text-align: right;
        margin-right:5px;
    }
.main-container .welcome-name{
    width: 40%;
}
.main-container .main-sec .row {
    padding: 10px 5px;
}

    .main-container .main-sec .row a {
        color: rgb(52, 92, 136);
        display: flex;
        flex-direction: column;
        align-items: center;
        font-size: 18px;
        justify-content: space-around;
        cursor: pointer;
    }

.last-login-div {
    margin-left: 5px;
    padding: 10px;
    font-size: 16px;
    font-weight: 500;
    width: 40%;
    text-align: left; /* Centers text horizontally within the element */
}
/*------------------Forget Password Page*/
section.forget-pass {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

    section.forget-pass form#account {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }


div .container.frgt {
    max-width: 600px;
}

.frgt .card-header, .login-sec .card-header {
    border-bottom-style: solid;
    border-bottom-color: #35A8DF;
    border-bottom-width: 2px;
    border-radius: 20px 20px 0 0;
}

/*nav bar */
header .navbar {
    background-color: #Fff;
    border-bottom: none;
    border-color: #35A8DF;
}

header .offcanvas-header {
    color: rgb(52, 92, 136);
    padding-bottom:0;
    padding-top: 20px;
    
}
header .offcanvas-header h4 {
    color: rgb(52, 92, 136);
    font-family: 'Almarai', sans-serif;
}

header .offcanvas-body {
    color: rgb(52, 92, 136);   
    padding-top: 0px;
}

header .navbar .nav-item .nav-link, header .navbar .nav-item .nav-link:hover {
    color: rgb(52, 92, 136);
    font-family: 'Almarai', sans-serif;
} 
header .navbar .nav-item:hover {
    background: rgba(132, 189, 224, 0.46);
    color: rgb(52, 92, 136);
}

label{
    color:#000;
}
/*footer*/
/*.footer {
    display:flex;
    flex-direction: column;
    height: max-content;*/ /* Adjust this value based on the footer height */
    /*bottom: 0;
    width: 100%;
    margin: 10px 0 0 0;
    padding: 5px;*/
    /*background-color: #676869;
    color: #fff;
    gap: 5px;
    
}*/
.footer {
    height: max-content; /* Adjust this value based on the footer height */
    position: absolute;
    bottom: 0;
    width: 100%;
    margin: 12px 0 0 0;
    padding: 5px;
    background-color: #676869;
    vertical-align: middle;
    color: #fff;
    gap: 5px;
}

    .footer .footer-container {
        font-size: 14px;
        display: flex;
        flex-direction: row;
        align-content: center;
        vertical-align:middle;
        bottom: 0;
    }
    .footer .pre-footer-container {
        font-size: 12px;
        display: flex;
        flex-direction: row;
        align-content: center;
        vertical-align: middle;
        bottom: 0;
    }
    footer .pre-footer-container .container:first-child, .footer .footer-container .container:first-child {
        text-align: right;
    }
    footer .pre-footer-container .container:nth-child(2), .footer .footer-container .container:nth-child(2) {
        text-align: left;
    }
    .footer .pre-footer-container div p{
           margin: 0;
    }

    /*Tabs styling*/
    #exTab1 .tab-content {
        margin-top: 20px;
        text-align: right;
        color: white;
        padding: 5px 15px;
    }

#exTab1 .tab-content h4 {
    color: #000;
}



#exTab1 .nav-pills > li > a {
    direction: rtl;
    text-align: right;
    border-radius: 0;
}

#exTab1 ul.nav.nav-pills li a {
    color: #fff;
    text-decoration: none;
    background-color: rgb(30, 125, 193);
}
#exTab1 ul.nav.nav-pills li.active a {
    color: rgb(30, 125, 193);
    background-color: #fff;
    border-top: 1px;
    border-color: rgb(30, 125, 193);
    border: solid 1px rgb(30, 125, 193);
    margin: 2px;
}
#exTab1 ul.nav.nav-pills li {
    padding: 0;
    margin: 0;
}
#exTab1 ul.nav.nav-pills li a{
    padding: 10px; 
    margin:0;
}

table input[type="file"]{
    width:100%;
}

/*#tblDeviceTools th:nth-child(2) {
    max-width: 250px;*/
    /*word-wrap: break-word;*/
/*}*/

/*#tblDeviceTools td:nth-child(2) {
    max-width: 250px;*/
    /*word-wrap: break-word;*/
/*}*/

/*width of pupup */
@media 
(min-width: 576px) {
    .modal-dialog {
        max-width: 1000px !important ;
        margin: 1.75rem auto;
    }
}

/**/
.form-controlstyle1 {
    display: block;
    width: 100%;
     padding: 0.375rem 0.75rem; 
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border-radius: 0.25rem;
    margin-top:30px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    height: 50px;
}
.th-height-60 {
    height: 60px; /* Set the height */
    padding: 0 4px; /* Assuming you want the same padding for all */
    text-align: center;
    font-size: medium;
}

/*-----------------------------Home-UserInterface-Page*/
.card-Welcom {
    margin-top: 50px;
    background-color: #fff;
    margin-bottom: 15px;
    border-radius: 10px;
    max-width: 900px; /* Important to limit the card width */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Soft shadow for depth */
    padding: 20px; /* Added padding for content spacing */
}

.welcome-header {
    text-align: center;
    margin-top: 10px; /* Reduced top margin */
    font-size: 24px; /* Adjusted font size for better readability */
    color: #035a8d; /* Dark blue color for text */
}

.btn-style22 {
    font-family: 'Almarai', sans-serif;
    background-color: #035a8d; /* Dark blue color */
    color: white;
    border: none;
    text-align: center;
    font-size: 16px; /* Adjusted font size */
    padding: 10px 20px; /* Adjusted padding for better clickability */
    font-weight: bold;
    width: auto;
    display: inline-block;
    margin-top: 20px; /* Adjusted top margin for button */
    border-radius: 5px; /* Rounded corners for buttons */
    transition: background-color 0.3s ease; /* Smooth transition on hover */
}

    .btn-style22:hover {
        background-color: #35A8DF; /* Blue on hover */
        color: #fff;
    }

/* Additional class for button margin */
.btn-margin {
    margin-top: 10px; /* Adds margin at the top of the button */
}

.rowCard {
    display: flex;
    flex-wrap: wrap;
}

.col-sm-12-card {
    flex: 1 1 100%;
}

.col-md-6-card {
    flex: 1 1 50%;
    padding: 20px;
}

.text-center img {
    max-height: 150px; /* Increased max height for better visibility */
    border-radius: 10px; /* Rounded corners for images */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Soft shadow for images */
}

/* Navbar Styles */
header {
    background-color: #f8f9fa;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    display: flex;
    align-items: center;
    color: #035a8d; /* Default dark blue color for text */
    text-decoration: none; /* Remove underline from links */
}

    .navbar-brand small {
        color: #035a8d; /* Dark blue color for BrandName */
        transition: color 0.3s ease-in-out;
        margin-left: 8px;
    }

    .navbar-brand:hover small {
        color: #35A8DF; /* Lighter blue color on hover */
    }

    .navbar-brand img {
        max-height: 50px; /* Smaller max height for the navbar */
        border-radius: 5px; /* Rounded corners for images */
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Soft shadow for images */
        transition: transform 0.2s ease-in-out;
        margin-left: 8px;
    }

        .navbar-brand img:hover {
            transform: scale(1.05);
        }


.btn-unstyled {
    font-size: 16px;
    font-weight: 500;
    color: #035a8d;
    background: none;
    border: none;
    padding: 0;
    margin-left: 15px;
    transition: color 0.2s ease-in-out;
    cursor: pointer;
}

    .btn-unstyled:hover {
        color: #35A8DF;
    }

.styled-link {
    font-size: 16px;
    font-weight: 500;
    color: #035a8d;
    background: none;
    border: none;
    padding: 0;
    margin-left: 15px;
    transition: color 0.2s ease-in-out;
    cursor: pointer;
}
    .styled-link:hover {
        color: #35A8DF;
    }

/* Menu List Styles */
#Menu-list {
    top: 5rem;
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 10px;
    padding: 0;
}

    #Menu-list ul {
        padding: 0;
        margin: 0;
    }

        #Menu-list ul::-webkit-scrollbar {
            width: 10px;
        }

        #Menu-list ul::-webkit-scrollbar-track {
            background-color: #f1f1f1;
        }

        #Menu-list ul::-webkit-scrollbar-thumb {
            background-color: #c1c1c1;
            border-radius: 10px;
        }

            #Menu-list ul::-webkit-scrollbar-thumb:hover {
                background-color: #a0a0a0;
            }

.Menu-item {
    border: 1px solid #dee2e6;
    border-radius: 5px;
    margin-bottom: 5px;
}

    .Menu-item:hover {
        background-color: #f8f9fa;
    }

    .Menu-item a {
        display: block;
        width: 100%;
        height: 100%;
        text-decoration: none;
        color: #035a8d; /* Changed to fnt-blue */
    }

    .Menu-item:hover a {
        color: #035a8d !important;
    }
/* Card and Table Styles */

/* Table Styles */
.table-style123 {
    width: 60%;
    margin-bottom: 1rem;
    color: #212529;
}

.table-style123 th, .table-style1 td {
    padding: 1rem;
    vertical-align: middle;
    border-top: 1px solid #dee2e6;
}

.table-style123 thead th {
    vertical-align: bottom;
    border-bottom: 2px solid #dee2e6;
    background-color: #035a8d;
    color: white;
    font-weight: bold;
    padding: 1rem;
    text-align: center;
    border-radius: 0 0 10px 10px;
}

.table-style123 tbody tr:nth-child(odd) {
    background-color: #f8f9fa;
}

.table-style123 tbody tr:hover {
    background-color: #e9ecef;
}


.custom-dark-bg {
    background-color: #035a8d;
    color: #ffffff;
}

.fnt-blue {
    color: #035a8d !important;
}

.btn-info {
    background-color: #35a8df;
    border-color: #35a8df;
}

    .btn-info:hover {
        background-color: #0288d1;
        border-color: #0288d1;
    }
.style-font {
    text-decoration: underline !important; /* Add underline */
    text-decoration-color: #0d6efd; /* Optional: specify color of underline */
}
.position-sticky {
    top: 10px;
}

.sidebar {
    min-height: 100vh;
}