


/* Scrollbar for vertical (Y-axis) */
::-webkit-scrollbar {
  width: 10px;  /* Width of the scrollbar for Y-axis */
}

/* Scrollbar for horizontal (X-axis) */
::-webkit-scrollbar {
  height: 10px;  /* Height of the scrollbar for X-axis */
}

/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey;
  border-radius: 0;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: var(--bar-color);
  border-radius: 0;
  cursor: pointer;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: var(--bar-color);
}









/* table css */


/* Change background and text color of selected row */

.table>thead{
  background-color: var(--subbar-color);
  color: #fff;
}
.table tbody td {
/*    background-color: #fff !important;  /* White background */
vertical-align: middle;
}

/* Set the background color for the first column in the main table header */
.table thead th {
    background-color: var(--subbar-color) !important; 
    border-color:#fff !important; /* Blue background */

}


table.dataTable tbody tr>.dtfc-fixed-start, table.dataTable tbody tr>.dtfc-fixed-end{
     background-color: #fff !important ;  /* White background */
}
.table{
    font-size: 11px !important;
}
/* Set the background color for the first column in the fixed table body */
.DTFC_LeftBodyLiner table tbody tr td {
    background-color: #fff !important;  /* White background */
}

/* Set the background color for the first column in the fixed table header */
.DTFC_LeftHeadWrapper table thead tr th {
    background-color: var(--bar-color) !important;  /* Blue background */
}

/* Ensure the background color of cloned cells in the fixed column */
.DTFC_Cloned td {
    background-color: #fff !important;  /* White background */
}

/* Ensure the background color of cloned header cells in the fixed column */
.DTFC_Cloned th {
    background-color: var(--bar-color) !important;  /* Blue background */
}
div.dt-scroll-body {
    border-bottom: 0px solid #dee2e6  !important; /* Change the bottom border to solid black */
}
.table tbody tr {
    border-bottom: 1px solid #ddd; /* Light gray border for rows */
}
table.dataTable {
    border-collapse: collapse !important;
}
table.dataTable th.dt-type-numeric, table.dataTable th.dt-type-date, table.dataTable td.dt-type-numeric, table.dataTable td.dt-type-date{
    text-align: left !important;
}
/* table css end */



.dropdown-menu{
  padding: 0;
}

.form-select{
  font-size: 11px;
}


.card-header{
    --border-radius: 3px !important;
}


/* For empty & filled inputs (start) */
.filled {
    background-color: #f9f9f9;
  }
  .empty {
    background-color: #fff;
  }
  
  /* For empty & filled inputs (end) */

.heading{

    font-size: 15px;

    color:  var(--bar-color);
}

.nbar{
	padding: 5px;
	font-size: 14px;
	color: white;
	--border-radius: 2px;
	--box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px !important;
	background-color: var(--bar-color);
	--border-radius: 3px !important;
	border-top-left-radius: 4px !important;
	border-top-right-radius: 4px !important;
}


.bar{
    padding: 5px;
    font-size: 14px;
    color: white;

    border-radius: 2px;

    --box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px !important;
    background-color: var(--bar-color);
    border-radius: 3px !important;
	border-top-left-radius: 15px !important;
	border-top-right-radius: 15px !important;
}
.sbar {
  padding: 5px;
  font-size: 13px;
  color: white;
  background-color: #4989E5;
  border-top-left-radius: 15px !important;
  border-top-right-radius: 15px !important;
}
.cbar {
  padding: 5px;
  font-size: 13px;
  color: #313137;
  background-color: #E5E6E7;
  border-top-left-radius: 2px !important;
  border-top-right-radius: 2px !important;
  border-bottom-left-radius: 2px !important;
  border-bottom-right-radius: 2px !important;
}

.modal-header{
 padding: 5px;
    font-size: 14px;
    color: white;
    
    border-radius: 2px;

    box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px !important;
    background-color: var(--bar-color);
}

.blurbody {
    pointer-events: none;
    opacity: 0.5;
}

button:focus {
    outline: none;
	box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px !important;
}



.filter-section{
box-shadow: rgba(9, 30, 66, 0.25) 0px 4px 8px -2px, rgba(9, 30, 66, 0.08) 0px 0px 0px 1px;
padding: 0.5rem!important;
margin-top: 0.5rem!important;
margin-left: 1rem!important;
margin-right: 1rem!important;
}

.btn-primary{
    color: #fff !important;
    background-color: var(--bar-color) !important;
    border-color: var(--bar-color) !important;

}



.page-item.active .page-link{

    
    background-color: var(--bar-color);
    border-color: var(--bar-color);
}



p {
   word-wrap: break-word; 
   overflow-wrap: break-word; 
   white-space: pre-wrap;
   }
 
/* 
 .btn-sm-x {
    padding: 0px 5px;
    border-radius: 2px;
 }
 .form-select{
    border-radius: 2px;
 }
 .btn-sm {
    border-radius: 2px;
}
.btn{
    border-radius: 2px;
} */


.btn-close {
    background: transparent; /* Ensure the background is transparent */
    border: none; /* Remove default border */
    color: #fff; /* Set icon color to black or any color you prefer */
    font-size: 14px; /* Adjust the icon size */
    padding: 0; /* Remove padding to fit the icon */
    height: auto;
}

.btn-close:hover {
    color: #fff; /* Change color on hover if desired */
}


.spinner-border{
  display: block;
  position: fixed;
  top: 50%;
  left: 50%;
}



.select2-container{
    display: block !important;
}

.custom-card {
    border-radius: 3px;
    border: 0;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 6px 12px -2px, rgba(0, 0, 0, 0.3) 0px 3px 7px -3px !important;
}


.td-bg-danger{
    background-color: #dc3545 !important;
}
.td-bg-success{
    background-color: #198754 !important;
}


.card-detail {
    background: #fff;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    height: auto;
    margin: auto;
    padding: 5px;
    border-radius: 3px !important;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
}
.bg-light-blue{
     background: #e8f4ff;
}
.nav-tabs li{
    background: #fff ;
    padding: 0px;
}
.nav-item{
    padding: 2px !important;
}
.nav-tabs li a:hover{
  box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px;
}
.nav-tabs li{

}
.nav-tabs li .nav-link{
    color: #000;
    font-weight: bold;
     border-radius: 0;
}
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active{
    /* background: var(--bar-color) !important; */
    box-shadow: rgba(50, 50, 93, 0.25) 0px 2px 5px -1px, rgba(0, 0, 0, 0.3) 0px 1px 3px -1px;
    color: #fff;
}
.nav-tabs{
    border-bottom: none;
}




  .record-container {
            
            padding: 20px;
            border: 1px solid #ddd;
            border-top-left-radius: 10px !important;
            border-top-right-radius: 10px !important;
            background-color: #f8f9fa;
            box-shadow: 0 4px 8px rgba(0,0,0,0.1);
/*            font-weight: bold;*/
        }
        .record-header {
            margin-bottom: 10px;
        }
        .record-header p {
            margin: 0;
        }
        .record-header .row {
            display: flex;
            justify-content: space-between;
        }
        .record-header .col {
            flex: 1;
            margin-right: 10px;
        }
        .record-header .col:last-child {
            margin-right: 0;
        }
        .record-header .field-label {
            font-weight: bold;
        }
        .record-details {
            margin-bottom: 20px;
        }
        .record-details p {
            margin: 0;
        }
        .signature {
            margin-top: 30px;
            font-weight: bold;
        }
        .checkbox-group {
            margin-top: 5px;
        }
        .checkbox-group input[type="checkbox"] {
            margin-right: 5px;
        }

        input[type="search"]{
                width: 11rem !important;
        }


.popover-header{
    padding: 4px 7px;
    margin-bottom: 0;
    font-size: 12px;
    background-color: var(--subbar-color);
    color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, .2);
    border-top-left-radius: calc(.3rem - 1px);
    border-top-right-radius: calc(.3rem - 1px);
}
.popover{
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
    border: 2px solid #fff;
    min-width: 150px;

}


.tag-btn {
    position: relative;
    transition: background-color 0.3s ease;
}

.tag-btn.active:after {
       content: "";
    position: absolute;
    bottom: -9px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-top: 7px solid var(--bar-color);
    transition: border-color 0.3s ease;
}



.tag-btn.active:after {
    border-top-color: var(--bar-color); /* Changes the V-shape's color when active */
}

 .float-bottom-nav-menu {
   position: absolute;
    bottom: 0;
    padding: 0;
    /* left: 5px; */
    font-size: 15px;
    width: 100%;
    background: #cbd5df !important;
    color: #0b0b0b !important;
    border-radius: 3px;
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 1px 3px 1px;
}
.float-bottom-nav-menu:hover {
 background: var(--bar-color) !important;
 color: #fff !important;
}


/* mini left-menu */
.nav-left,header{
 transition: .1s ease-in-out;
}
/*.nav-left.nav-item a{
 opacity: 0 !important;
 transition: opacity var(--ant-motion-duration-slow) var(--ant-motion-ease-in-out), 
 margin var(--ant-motion-duration-slow), 
 color var(--ant-motion-duration-slow);
}*/

.nav-left-mini{
    width: 50px;
    transition: .1s ease-in-out;
}
.nav-left ul li a span {
    opacity: 1;
    transition: opacity 0.3s ease-in-out, margin 0.3s ease, color 0.3s ease-in-out;
}

.nav-left-mini ul li a span {
    opacity: 0; /* Reduced opacity when nav-left-mini is applied */
    transition: opacity 0.3s ease-in-out, margin 0.3s ease, color 0.3s ease-in-out;
}

..nav-left .logo img {
    opacity: 1;
    transition: opacity 0.3s ease-in-out, margin 0.3s ease, color 0.3s ease-in-out;
}

.nav-left-mini .logo img {
    opacity: 0; /* Reduced opacity when nav-left-mini is applied */
    transition: opacity 0s ease-in-out, margin 0s ease, color 0s ease-in-out;
}


/*.nav-left-mini .nav-item .nav-link {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: .1s ease-in-out;
}*/

/*.nav-left-mini .nav-item.nav-link span {
    display: none;
}*/
.nav-left-mini-header{
width: calc(100% - 50px);
transition: .1s ease-in-out;
}
.nav-left-mini-main{
margin: 64px 0 0 50px;
transition: .1s ease-in-out;
}
.logo-mini {
        
        height: 56px;
        background: url(../images/shifa-logo-1.svg) no-repeat center;
        background-size: 40px 40px;
        opacity: 1;
        transition: opacity 0.3s ease-in-out, margin 0.3s ease, color 0.3s ease-in-out;
    }

.row{
    --bs-gutter-x: 0 !important;
}


.btn-link-shadow{
    box-shadow: rgba(60, 64, 67, 0.3) 0px 1px 2px 0px, rgba(60, 64, 67, 0.15) 0px 2px 6px 2px;
}
.popover-body{
    padding: 7px;
    font-size: 11px;
    max-width: 250px;
}
.left-popover-link:hover{
    background: var(--bar-color);
    cursor: pointer;
    color: #fff;
}
.left-popover-link.active{
    background: var(--bar-color);
    color: #fff;
}
.navbar-nav .nav-link
{
    padding-left: 10px;
}

.no-transition * {
    transition: none !important;
}

.transparent_input_bg{
    border: none;
    background: transparent;
}



.table thead th{
    padding: 5px;
}

.table tbody td {
    padding: 5px;
}



.sub-table thead th {
    background-color: var(--subbar-color) !important; 

}
.sub-table-x thead th {
    background-color: #5da8ff !important; 

}



.accordion-button::after {
   display: none;
}

.accordion-item {
    border: 2px solid rgb(255 255 255 / 13%);
}


.field-label{
    font-size: 12px;
    color: #3270a7;
    font-weight: bold;

}
.accordion-button:not(.collapsed){
    color: var(--bar-color);
}
.select2-container--default .select2-selection--single{
    border-radius: 0 !important;

}

.table{
    margin-bottom: 5px;
}

.accordion-body{
    padding: 5px;
}






.table input[type="date"]::-webkit-calendar-picker-indicator {
    display: none;
}

/* Hide the calendar icon in Firefox */
.table input[type="date"] {
    -moz-appearance: textfield;
}

/* Hide the calendar icon in Internet Explorer */
.table input[type="date"]::-ms-clear {
    display: none;
}


.custom-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background: white;
    padding: 20px;
    border-radius: 3px;
    text-align: center;
}

.popup-content button {
    margin: 5px;
    width: 50px;

}
.form-control-sm-x {
    height: 21px;
    padding: 5px;
}


.tag_reason_btn{
    background: #f0f8ff;
    padding: 2px 5px;
    cursor: pointer;
}

.form-control:disabled, .form-control[readonly]{
    background-color: #fff;
}

  .tag_select:checked + .btn {
        box-shadow: 0 0 5px 2px rgba(0, 0, 0, 0.2);
        transform: scale(1.05); /* Slightly enlarge the button */
        opacity: 0.8; /* Dim the button */
    }
    .pointer
    {
        cursor: pointer;
    }


    .input-group-text label{
        font-size: 11px;
    }

.input-group-text{
     border-radius: 0;
     padding: 6px 5px 4px 5px;
}

.selected-fields{
    padding: 7px 5px 3px 5px;
    min-height: 40px;

}

.selected-investigations{
    padding: 7px 5px 3px 5px;
    min-height: 40px;

}

#investigation-options{
    max-height: 100px;
    overflow-y: scroll;
   
    box-shadow: rgba(0, 0, 0, 0.1) 0px 1px 3px 0px, rgba(0, 0, 0, 0.06) 0px 1px 2px 0px;
    padding: 5px 20px;
    margin-bottom: 0;
}

.filter-container {
	
	padding-top: 10px;
	padding-right: 0px;
	padding-bottom: 10px;
	padding-left: 10px;
	border: 1px solid #ddd;
	border-top-left-radius: 10px !important;
	border-top-right-radius: 10px !important;
	--background-color: #f8f9fa;
	--box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 5px 0px, rgba(0, 0, 0, 0.1) 0px 0px 1px 0px;
}



.input-wrapper {
    position: relative;
    display: inline-block;
}

.SEARCH_FILTER {
    padding-right: 24px; /* Adjust padding to make space for the clear icon */
}

.clear-icon {
    position: absolute;
    top: 50%;
    right: 8px;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 14px;
    color: #aaa;
    display: none; /* Initially hidden */
}

.input-wrapper .SEARCH_FILTER:not(:placeholder-shown) ~ .clear-icon {
    display: block;
}
 .required:after {
    content:" *";
    color: red;
    font-weight: bold;
  }


  .popover-label {
    font-size: 10px;
    color: #3270a7;
    font-weight: bold;
    margin-bottom: 0;
}

.accordion-item{
    background-color: transparent;
}

.field-label-sm {
    font-size: 11px;
    color: #415362;
    font-weight: bold;
}


.dtp-header {
    position: relative;
    z-index: 100;
	width: 100%;
	background: #1381EE !important;
}
.dtp-close {
    position: absolute;
    right: 10px;
    top: 10px;
}
.dtp table.dtp-picker-days tr > th{
	padding: 0px !important;
}
.dtp div.dtp-picker-month{
	padding-bottom: 6px !important;
}

.dtp-picker-days thead th {
	background-color: #F2F2F2 !important;
	color: #4a4848 !important;
}
.dtp .dtp-date{
	background: #1381EE !important;
}
.dtp table.dtp-picker-days tr > td > a.selected{
	background: #1381EE !important;
}
.dtp header.dtp-header{
	height: 30px !important;
}
.dtp table.dtp-picker-days, 
.dtp table.dtp-picker-days tr, 
.dtp table.dtp-picker-days tr > td {
    border-bottom: 0.5px solid #ccc !important;
}

.male-color{
	color: #1D4A88;
}
.female-color{
	color: #B5469C;
}
.btn, .form-select{
	border-radius: 2px;
}

.nav-left .nav-item .nav-link.active {
    position: relative;
}

.nav-left .nav-item .nav-link.active::after {
    content: "";
    position: absolute;
    right: -5px; /* Adjust position to align the border properly */
    top: 0;
    bottom: 0;
    width: 3px;
    background-color: #1890ff;
}

.form-check-input{
	padding: 6px !important;
	margin-top: 0px !important;
}