﻿/**********************************************************************
 * Styles.css                                                         *
 *                                                                    *
 * This file is initially empty and you can add any additional styles *
 * or modify any of the styles defined in BaseStyles.css              *
 * This file will never be overwritten.                               *
 *                                                                    *
 * For example, if you want to override just the top padding for a    *
 * menu, you can simply add the following lines:                      *
 *                                                                    *
 * .menus {                                                           *
 * 	padding-top: 20px;                                            *
 * 	}                                                             *
 *                                                                    *
 * This will keep all the other styles of the "menus" style as-is,    *
 * but modify the top padding to be 20px.                             *
 *                                                                    *
 * You can also, add a new style by just specifying it.               *
 *                                                                    *
 * .menus {                                                           *
 * 	padding-top: 20px;                                            *
 * 	text-align: center;                                           *
 * 	}                                                             *
 * 	                                                              *
 * In the above case, we added the text-align style.  This style was  *
 * not specified in the original declaration of the menus style.      *
 *                                                                    *
 **********************************************************************/
input:disabled,
button:disabled,
select:disabled,
textarea:disabled,
a:disabled,
themebutton:disabled {
    background-color: #f0f0f0;
    color: #999999;
    cursor: not-allowed;
    border: 1px solid #cccccc;
    opacity: 0.6;
}
.inactiveControl{
    background-color: #f0f0f0;
    color: #999999;
    cursor: not-allowed;
    border: 1px solid #cccccc;
    opacity: 0.6;
}

.printDv{ /* panel container (includes panel header) */
	-moz-border-radius: 0px;
	-moz-box-shadow: 0px 0px 0px #bbbbbb;
	-webkit-border-radius: 0px;
	-webkit-box-shadow: 0px 0px 0px #bbbbbb;
	background-color: #ffffff;
	border-radius: 0px;
	box-shadow: 0px 0px 0px #bbbbbb;
	margin-bottom: 10px;
	padding-bottom: 2px;
	text-align: left;
	vertical-align: top;
	width: auto;
	}

.dialog_body, .dBody {
    color: #555555;
    padding: 5px;
    /* text-align: left; */
}

.dialog_header, .dh {
    background-color: #ddeaff;
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
    height: 34px;
    vertical-align: middle;
}
.dialog_header_text, .dht {
    color: #4b8df8;
    font-family: 'Open Sans Condensed', Arial, Verdana, sans-serif;
    font-size: 18px;
    font-weight: 500;
    padding-left: 10px;
    text-transform: none;
    white-space: nowrap;
    text-shadow: 1px 1px 1px #b3c0d6;
}
.pageBackground, .nopBack { /* body */
	background-color: #ffffff;
	margin: 0px;
	width: 100%;
	}
.field_input_m, .fi_m {
   background-color: #f8f9fa;  /* Lighter background for modern look */
    border: 1px solid #ced4da;   /* Softer gray for the border */
    border-radius: 0.375rem;     /* Rounded corners (6px), similar to Tailwind */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);  /* Light shadow for depth */
    color: #495057;  /* Dark gray text color */
    font-family: 'Segoe UI', Arial, sans-serif;  /* Clean modern font */
    font-size: 0.75rem;  /* Modern readable font size (16px) */
    padding: 0.5rem 0.5rem;  /* Padding for input: vertical 8px, horizontal 16px */
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out; /* Smooth transitions for hover/focus */
}

.field_input_m:focus, .fi_m:focus {
    border-color: #ced4da; /* Light blue border on focus (Bootstrap-style) */
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.25); /* Slight blue glow on focus */
    outline: none;  /* Remove default browser outline */
    }
/* Refactored input field styles for a more modern, clean look */
.field_input, .fi {
    background-color: #e7feff;  /* Light gray background for modern look */
    border: 1px solid #ced4da;    /*Soft gray border */
    border-radius: 0.375rem;     /* Slightly rounded corners */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);  /* Subtle shadow for depth */
    color: #495057;  /* Dark gray text color */
    font-family: 'Segoe UI', Arial, sans-serif;  /* Modern font family */
    font-size: 0.8rem;  /* Readable font size (16px) */
    padding: 0.375rem 0.75rem;  /* Padding for spacing */
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;  /* Smooth transition */
}


.field_input:hover, .fi:hover {
    border-radius: 0.375rem; 
    background-color: #ffffff;
    border: 1px solid #4b8df8;    /* Slightly rounded corners */
    
}
.field_input:focus, .fi:focus {
    border-color: #ced4da;  /* Blue border on focus */
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.25);  /* Slight glow on focus */
    outline: none;  /* Remove default outline */
}

.field_input_currency, .fi_currency {
    background-color: #e7feff;  /* Light gray background for modern look */
    border: 1px solid #ced4da;    /*Soft gray border */
    border-radius: 0.375rem;     /* Slightly rounded corners */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);  /* Subtle shadow for depth */
    color: #495057;  /* Dark gray text color */
    font-family: 'Segoe UI', Arial, sans-serif;  /* Modern font family */
    font-size: 0.8rem;  /* Readable font size (16px) */
    text-align:right;
    padding: 0.375rem 0.75rem;  /* Padding for spacing */
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;  /* Smooth transition */
}
.field_input_currency:hover, .fi_currency:hover {
    border-radius: 0.375rem; 
    background-color: #ffffff;
    border: 1px solid #4b8df8;    /* Slightly rounded corners */
    
}
.field_input_currency:focus, .fi_currency:focus {
    border-color: #ced4da;  /* Blue border on focus */
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.25);  /* Slight glow on focus */
    outline: none;  /* Remove default outline */
}

.field_input_small, .fi_small {
    background-color: #e7feff;  /* Light gray background for modern look */
    border: 1px solid #ced4da;    /*Soft gray border */
    border-radius: 0.375rem;     /* Slightly rounded corners */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);  /* Subtle shadow for depth */
    color: #495057;  /* Dark gray text color */
    font-family: 'PT Sans Narrow', Arial, Verdana, sans-serif;
    font-size: 0.7rem;  /* Readable font size (16px) */
    padding: 0.3rem 0.5rem;  /* Padding for spacing */
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;  /* Smooth transition */
}
.field_input_small:hover, fi_small:hover { /* input textbox hover state */
	border: 1px solid #4ba8f7;    /*Soft gray border */
    border-radius: 0.375rem;     /* Slightly rounded corners */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);  /* Subtle shadow for depth */
	}
.field_input_small:focus, fi_small:focus {
    background-color: #ffffff;
    border-color: #4ba8f7;  /* Blue border on focus */
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.25);  /* Slight glow on focus */
    outline: none;  /* Remove default outline */
}

.field_input_blank, .fi_blank {
     /* Light gray background for modern look */
    border: none; /* solid #ced4da;    /*Soft gray border */
    font-family: 'PT Sans Narrow', Arial, Verdana, sans-serif;
    font-size: 0.8rem;  /* Readable font size (16px) */
    padding: 0.3rem 0.5rem;  /* Padding for spacing */
    outline: none;
}
.field_input_blank:focus, .fi_blank:focus {
    
    border: none; /* solid #ced4da;    /*Soft gray border */
    font-family: 'PT Sans Narrow', Arial, Verdana, sans-serif;
    font-size: 0.8rem;  /* Readable font size (16px) */
    padding: 0.3rem 0.5rem;  /* Padding for spacing */
    outline: none;
}

.field_input_watermark, .fi_small_wm {
    background-color: #e7feff;  /* Light gray background for modern look */
    border: 1px solid #ced4da;    /*Soft gray border */
    border-radius: 0.375rem;     /* Slightly rounded corners */
    color: #495057;  /* Dark gray text color */
    font-family: 'Segoe UI', Arial, sans-serif;  /* Modern font family */
    font-size: 0.8rem;  /* Readable font size (16px) */
    padding: 0.375rem 0.75rem;  /* Padding for spacing */
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;  /* Smooth transition */
}

/* Refactored search box styles */
/*.Search_Input, .si {
    border: 1px solid #ced4da;  
    border-radius: 0.375rem; 
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); 
    color: #495057; 
    font-family: 'Segoe UI', Arial, sans-serif;  
    font-size: 0.875rem; 
    padding: 0.5rem;  
    transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}*/
div.fixedHeaderScrollRegion {
    background-color: #ffffff;
    height: auto;
    overflow-x: hidden;
    overflow-y: auto;
}


.error-message {
    color: red;
    font-size: 12px;
    margin-top: 5px;
}


/* .themeButton */
.themeButton {
    border-radius:4px;
    padding: 0.5rem 1rem 0.5rem 1rem;  /* Reduced padding */
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    height: 1rem; 
    line-height: normal;  /* No line-height to prevent vertical shifting */
    text-align: center;
    text-shadow:none;
}

/* Hover state for .themeButton */
.themeButton:hover {
   
}
.themeButton:hover a.button_link{
      
    color: #4ba8f7;
}

/* .themeButton #FFBE3D #F06543
*/
.themeButton_my {
    background: -moz-linear-gradient( center top, #FFBE3D 5%, #F06543 100% );
	background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #FFBE3D), color-stop(1, #F06543) );
	background: -ms-linear-gradient(top, #FFBE3D 5%, #F06543 100%);
	border: 1px solid #d1d1d1;
	filter: progid:DXImageTransform.Microsoft.Gradient(startColorStr='#FFBE3D', endColorStr='#F06543');
    border-radius:4px;
    padding: 0.5rem 1rem 0.5rem 1rem;  /* Reduced padding */
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    height: 1rem; 
    line-height: normal;  /* No line-height to prevent vertical shifting */
    text-align: center;
    text-shadow:none;
    white-space: nowrap;
}

/* Hover state for .themeButton */
.themeButton_my:hover {
   
}
.themeButton_my:hover a.button_link{
      
    color:#f8f9fa;
}

/* .button_link */
a.button_link,
.bC a.button_link,
.buttonPadding a.button_link,
.dBody a.button_link,
.galleryttc a.button_link,
.popupTableCellValue a.button_link,
.tableCellValue a.button_link,
.thc a.button_link,
.tic a.button_link,
.ttc a.button_link {
    font-size: .8rem;  /* 12pt equivalent */
    font-weight: bold;
   
    color: #495057;  /* White text */
    text-decoration: none;  /* No underline initially 
    display: inline-block;*/
    height: 1rem;  
    text-align: center;
   /* transition: color 0.2s ease, background-color 0.2s ease, text-decoration 0.2s ease;
    cursor: pointer;
    border-bottom: 2px solid transparent;   Border for hover effect */
}

/* Hover state for .button_link */
a.button_link:hover,
.bC a.button_link:hover,
.buttonPadding a.button_link:hover,
.dBody a.button_link:hover,
.galleryttc a.button_link:hover,
.popupTableCellValue a.button_link:hover,
.tableCellValue a.button_link:hover,
.thc a.button_link:hover,
.tic a.button_link:hover,
.ttc a.button_link:hover {
   color: ##4ba8f7;  /*  Black text on hover 
    border-bottom: 2px solid #000000;  /* Black underline on hover */
}



/* Refactored panel container styles for a modern touch */
.dialog_view, .dv, .panelC {
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    /* text-align: center; 
    margin: auto;*/
	}
/* Refactored panel container styles for a modern touch */
.dialog_viewC, .dvC  {
    background-color: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
    padding: 1rem;
    /* text-align: center; */
    margin: auto;
	}

/* Refactored label styles */
.field_label, .fl {
    color: #777777;  /* Bootstrap-like muted text 
    font-family: 'Segoe UI', Arial, sans-serif;*/
    font-size: 1rem;
    padding-bottom: 0.25rem;
    text-align: left;
}

/* Apply similar styles to button links 
a.button_link {
    color: #007bff;  /* Bootstrap primary color 
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 1rem;
    text-decoration: none;
}

a.button_link:hover {
    color: #0056b3;  /* Darker on hover
    text-decoration: underline;
}
 */
.otp-input {
            width: 50px;
            height: 50px;
            font-size: 20px;
            text-align: center;
            margin: 5px;
            border: 1px solid #ccc;
            border-radius: 5px;
        }

/* .tableCellLabel */
.tableCellLabel {
    color: #3d74cc;  /* Dark gray text color for contrast */
    font-family: 'Open Sans Condensed', Arial, sans-serif;  
    font-size: 0.85rem;  /* Same font size as .field_input */
    font-weight: 400;  /* Normal weight for label */
    padding: 0.275rem 0.6rem;  /* Padding similar to .field_input */
    display: inline-block;
    line-height: 2;       /* Ensure text is vertically centered */
    transition: color 0.2s ease;  /* Smooth transition for text color on hover */
    vertical-align:middle;
}



/* --------------------------------------------------------------------------*/
/*------------------ Collapsible menu ---------------------------------------*/
/* --------------------------------------------------------------------------*/
/*#menuWrapper{
    background-color:#ffffff;
    min-width:30px;
    padding:5px;
    border-top-right-radius:4px;
    border-bottom-right-radius:4px;
    
}
#toggleMenuButton{
    min-width:20px;
    cursor:pointer;
}
/* Hide the menu by default 
div.MLMmenuV {
    display: block;
    
}


    

/* General wrapper styles */
#layoutWrapper {
    display: flex;
  
/*   height: 100vh;  */
}

#menuWrapper {
    width: 200px; /* Default menu width */
    flex-shrink: 0;
    /*background-color: #f4f4f4;
    border-right: 1px solid #ddd;*/
    position: relative;
    transition: width 0.3s ease; /* Smooth transition for collapsing */
   /* Prevent overflow initially */
   border-radius:4px;
   margin-right:10px;
   margin-top:5px;
   height:auto;
}

#menuWrapper table,
#menuWrapper ul {
    width: 100%;
}

/* Handle the submenus */
#menuWrapper li {
    position: relative;
}

#menuWrapper .has-popup > ul {
    display: none; /* Initially hide submenus */
    position: absolute;
    left: 100%;
    top: 0;
    z-index: 10; /* Ensure submenus are above other content */
}

/* When hovering or focusing on a parent menu item, display its submenu */
#menuWrapper .has-popup:hover > ul,
#menuWrapper .has-popup:focus-within > ul {
    display: block;
}

/* Collapse the menu when checkbox is checked */
#menuToggle:checked ~ #menuWrapper {
    width: 50px; /* Narrow width when collapsed */
    overflow: hidden; /* Hide overflow when collapsed */
}

/* Content area */
#contentWrapper {
    flex-grow: 1;
    padding: 5px;
    overflow: auto;
}

/* Smooth transition for menu collapse/expand */
#menuWrapper {
    transition: width 0.3s ease;
}
#menuWrapper:hover {
    transition: width 0.3s ease;
    width: 200px; /* Default menu width */
    flex-shrink: 0;
}

/* Adjust behavior when the menu is collapsed */
#menuToggle:checked ~ #menuWrapper {
    width: 50px; /* Narrow width when collapsed */
    overflow: hidden; /* Hide overflow when collapsed */
}

#menuWrapper ul {
    transition: opacity 0.3s ease;
}

/* Adjust menu text size and icons when collapsed */
#menuToggle:checked ~ #menuWrapper ul a {
    font-size: 0; /* Hide text */
}

#menuToggle:checked ~ #menuWrapper ul a::before {
    content: ''; /* Optionally show icons only when collapsed */
}

/* Allow the submenus to display correctly when the menu is expanded */
#menuWrapper .has-popup > ul {
    display: none;
    position: absolute;
    left:-40px;
    top: 0;
}

#menuWrapper .has-popup:hover > ul {
    display: block;
}

#menuWrapper #menuToggle:checked ~ #menuWrapper .has-popup > ul {
    display: none; /* Hide submenus when collapsed */
}

#menuWrapper ul a {
    display: block;
    padding: 10px;
    font-size: 14px;
    text-decoration: none;
}

#menuWrapper #toggleMenuButton {
    display: block;
    padding-top: 4px;
    padding-bottom:4px;
    padding-left:10px;
    padding-right:10px;
    background-color: #495057;
    text-align: center;
    cursor: pointer;
    width:auto;
    color:#ffffff;
    border-top-left-radius:4px;
    border-top-right-radius:4px;
}







/* Static Menu Item Style (MLMmvC) */
.MLMmvC {
    background-color: #ffffff;
    border: 1px solid #ced4da;
    color: #495057;
    font-family: 'PT Sans Narrow';
    font-size: 0.9rem;
    padding: 0.5rem 0.5rem 0.5rem 0.5rem;
    text-align: left;
    display: flex;
    min-width: 180px;
    min-height: 30px;

}
.MLMmvC:hover {
    -moz-transition: all 0.2s ease-in-out 0s;
	background: -moz-linear-gradient( center top, #4ba8f7 5%, #3d74cc 100% );
	background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #4ba8f7), color-stop(1, #3d74cc) );
	background: -ms-linear-gradient(top, #ced4da 5%, #b3ac95 100%);
    	filter: progid:DXImageTransform.Microsoft.Gradient(startColorStr='#4ba8f7', endColorStr='#3d74cc');
	white-space: nowrap;
   color:#ffffff; 

}
.MLMmvC a{
    
    color: #495057;  /* Dark gray text */
  
}
.MLMmvC a:hover{
    
    color: #ffffff;  /* Dark gray text */
   /* font-family: 'Segoe UI', Arial, sans-serif;   Modern font */
    
}
.MLMmvC img{
    
    /* color: #495057;  Dark gray text */
   /* font-family: 'Segoe UI', Arial, sans-serif;   Modern font */
   /* font-size: .75rem;   Font size for readability */
   height:24px;
   border:none;
   position : relative;
   padding-right: 10px;
}
/* Static Hover Style (MLMmvoC) */
.MLMmvoC:hover {
    background-color: #ced4da;  /* Light gray background on hover */
    color: #ffffff;  /* Blue text on hover */
    border-color: #adb5bd;  /* Darker border on hover */
    cursor: pointer;  /* Pointer cursor on hover */
}

/* Dynamic Menu Container Style (MLMmenuVsub) */
.MLMmenuVsub {
    background-color: #ffffff;  /* White background for submenus */
    border: 1px solid #ced4da;  /* Light gray border */
    border-radius: 0.375rem;  /* Rounded corners */
    padding: 0.5rem 0;  /* Padding inside the dynamic menu */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);  /* Light shadow for depth */
}

.MLMmenuVsub a{
    color: #495057;  /* Dark gray text */
}

.MLMmenuVsub:hover {
    -moz-transition: all 0.2s ease-in-out 0s;
	background: -moz-linear-gradient( center top, #4ba8f7 5%, #3d74cc 100% );
	background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #4ba8f7), color-stop(1, #3d74cc) );
	background: -ms-linear-gradient(top, #ced4da 5%, #b3ac95 100%);
    filter: progid:DXImageTransform.Microsoft.Gradient(startColorStr='#4ba8f7', endColorStr='#3d74cc');
	white-space: nowrap;
    font-family: 'PT Sans Narrow';
    font-size: 0.9rem;
    padding: 0.5rem 0.5rem 0.5rem 0.5rem;
    text-align: left;
    display: flex;
    min-width: 180px;
    min-height: 30px;
}
.MLMmenuVsub a:hover{
    color:#ffffff;
}

/* Dynamic Menu Item Style (MLMsubmvC) */
.MLMsubmvC {
    background-color: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
    color: #495057;
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    display: block;
    text-align: left;
    transition: background-color 0.2s ease, color 0.2s ease;
    font-family: 'PT Sans Narrow';
    min-width: 150px;
}
.MLMsubmvC:hover {
    -moz-transition: all 0.2s ease-in-out 0s;
	background: -moz-linear-gradient( center top, #4ba8f7 5%, #b3ac95 100% );
	background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #4ba8f7), color-stop(1, #3d74cc) );
	background: -ms-linear-gradient(top, #ced4da 5%, #b3ac95 100%);
    filter: progid:DXImageTransform.Microsoft.Gradient(startColorStr='#4ba8f7', endColorStr='#3d74cc');
	white-space: nowrap;
   
}
.MLMsubmvC a:hover {
    
    color: #ffffff;
   
}

/* Dynamic Hover Style for Sub-menu Items (MLMsubmvoC) */
.MLMsubmvoC:hover {
    background-color: #4ba8f7;  /* Slightly darker gray background on hover */
    color: #ffffff;  /* Blue text on hover */
    cursor: pointer;  /* Pointer cursor on hover */
}

.themeButtonDropdown {
   background: -moz-linear-gradient( center top, #fbfbfb 5%, #ececec 100% );
	background: -webkit-gradient( linear, left top, left bottom, color-stop(0.05, #fbfbfb), color-stop(1, #ececec) );
	background: -ms-linear-gradient(top, #fbfbfb 5%, #ececec 100%);
	
	display: inline-block;
	filter: progid:DXImageTransform.Microsoft.Gradient(startColorStr='#fbfbfb', endColorStr='#ececec');
    color: #4b8df8;
    border-radius: 0.375rem;
    border-color:#ced4da;
    font-size: 12px;        /* Slightly smaller font size */
    padding: 0.375rem 0.75rem;  /* Smaller padding for a compact button */
    text-transform: uppercase;  /* Uppercase text for a clean look */
    text-decoration: none;      /* Remove underline from links */
    display: inline-block;      /* Inline block for alignment */
    cursor: pointer;            /* Pointer cursor on hover */
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;  /* Smooth transition for hover/focus */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); 
}
.themeButtonDropdown a.button_link, .themeButtonDropdown a.button_link:hover, .themeButtonDropdown a, .themeButtonDropdown a:hover { /* link within small theme button */ 
	color: #4b8df8;
	font-family: Arial, Verdana, sans-serif;
	font-size: 12px;
	font-weight: bold;
	text-decoration: none;
	text-shadow: none;
	text-transform: uppercase;
	}
/* Hover state for button */
.themeButtonDropdown:hover {
    color: #4b8df8;
    /*background-color: #ced4da;*/
}

/* Focus state for button */
.themeButtonDropdown:focus {
    outline: none; /* Remove default outline */
    box-shadow: none; /* Remove focus ring */
  color: #4b8df8;
    /*background-color: #ced4da;*/
}

/* Active state for button */
.themeButtonDropdown:active {
    outline: none;
    /*box-shadow: none;
    color: #ffffff;*/ /* Ensure text color remains white */
}


.themeButtonMini {
   /* background-color: #e7feff;   Primary blue background 
    border: 1px solid #007bff; /*  Matching border with background 
        /* Rounded corners for a modern touch 
    color: #ffffff;             /* White text color */
  /*  font-family: 'Segoe UI', Arial, sans-serif;  Modern font */
    border-radius: 0.375rem;
    font-size: 0.875rem;        /* Slightly smaller font size */
    padding: 0.375rem 0.75rem;  /* Smaller padding for a compact button */
    text-transform: uppercase;  /* Uppercase text for a clean look */
    text-decoration: none;      /* Remove underline from links */
    display: inline-block;      /* Inline block for alignment */
    cursor: pointer;            /* Pointer cursor on hover */
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;  /* Smooth transition for hover/focus */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);  /* Subtle shadow for depth */
}

/* Hover state for button */
.themeButtonMini:hover {
   /* background-color: #0056b3;   Darker blue on hover 
    border-color: #0056b3;      /* Darker border color 
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);  /* Slightly stronger shadow on hover */
}

/* Active state for button */
.themeButtonMini:active {
   /* background-color: #004085;   Even darker blue when button is pressed 
    border-color: #004085;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);  /* Subtle shadow on active state */
}

/* Focus state for accessibility */
.themeButtonMini:focus {
    outline: none;  /* Remove default outline */
    box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.5);  /* Focus ring */
}


.required-highlight {
    border: 1px solid #ffc796 !important;  /* Ensuring it overrides other border styles */
    /*background-color: #fffaf0 !important;   Light background to show highlight */
    box-shadow: 0px 0px 5px rgba(255, 165, 0, 0.6); /* Optional: subtle glow to enhance visibility */
}

.QSSizeL { /* iframe within which quick selector is displayed */ 
	height: 278px;
	width: 450px;
	}

.QSttc {
    /* White background */
    border: 1px solid #ced4da;   /* Light gray border */
    border-radius: 0.375rem;     /* Rounded corners for a modern touch */
    color: #495057;  /* Dark gray text */
  /*  font-family: 'Segoe UI', Arial, sans-serif;   Clean modern font */
    font-size: 0.875rem;         /* Slightly smaller font size */
    padding: 0.5rem 1rem;        /* Padding for content spacing */
    margin: 0.5rem 0;            /* Vertical spacing */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);  /* Subtle shadow for depth */
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;  /* Smooth transitions */
}

.QSttc:hover {
    background-color: #3d74cc;  /* Light gray background on hover */
    color:#ffffff;
    border-color: #adb5bd;       /* Darker border on hover */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);  /* Stronger shadow on hover */
}

.QSttc:focus {
    border-color: #ced4da;       /* Light blue border on focus */
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.25); /* Blue glow on focus */
    outline: none;  /* Remove default outline */
}

/* .tableCellValue */
.tableCellValue {
    color: #544a4a;  /* Dark gray text color, consistent with theme */
    font-family: 'Segoe UI', Arial, sans-serif;  
    font-size: 0.85rem;  /* Match font size to .field_input (14px) */
    padding: 0.5rem 0.5rem;  /* Padding for consistency with theme */
    text-align: left;  /* Left-aligned text */
    vertical-align: middle;  /* Align text to the top */
     /* line-height: 1.5; Improve readability with line-height */
}
.tableCellValue_small {
    color: #333333;  /* Dark gray text color, consistent with theme */
    font-family: 'Segoe UI', Arial, sans-serif;  
    font-size: 0.75rem;  /* Match font size to .field_input (14px) */
    font-style:italic;
    padding: 0.25rem 0.5rem;  /* Padding for consistency with theme */
    text-align: left;  /* Left-aligned text */
    vertical-align: middle;  /* Align text to the top */
     /* line-height: 1.5; Improve readability with line-height */
}


/* Header Cells */
.header_cell, .header_cell_scrolling, .thc, .thcs, .thcnb, .thcwb {
    /*background-color: #f8f9fa;   Light background for headers */
    border-bottom: 1px solid #ced4da;  /* Solid gray border, more modern look */
    color: #4ba8f7;  /* Dark gray text for headers 
    font-family: 'Segoe UI', Arial, sans-serif;  /* Modern font family, matching .tableCellValue */
    font-size: 0.9rem;  /* Match the font size to .tableCellValue (14px) */
    font-weight:500;  /* Keep bold for header emphasis */
    padding: 0.5rem 1rem;  /* Consistent padding with .tableCellValue */
    text-align: left;  /* Left-aligned text */
    vertical-align: top;  /* Align text at the top */
}

.failed {
    color: red;            /* Red text color */
    font-weight: bold;      /* Bold text to make it stand out */
    background-color: #ffe6e6; /* Light red background (optional) */
    border: 0px none red;  /* Red border (optional) */
    padding: 10px;          /* Padding around the text */
    margin: 10px 0;         /* Spacing between elements */
    border-radius: 5px;     /* Rounded corners (optional) */
}

.themeButtonG {
    background: linear-gradient(180deg, #3c9405 5%, #c8fcbe 100%);  
    border: 1px solid #3c9405;
    border-radius: 0.375rem;
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 1rem;  /* 12pt equivalent */
    font-weight: bold;
    padding: 0.4rem 1rem 0.75rem 1rem;  /* Reduced padding */
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
     color: #495057;
   /* transition: background-color 0.2s ease, border-color 0.2s ease;
    height: 1.5rem;    Fixed height */
    line-height: normal;  /* No line-height to prevent vertical shifting */
    text-align: center;
    text-shadow:none;
}

/* Hover state for .themeButton */
    .themeButtonG:hover {
        background: #007bff;
        border-color: #3c9405;
        color: #f8f9fa;
    }

    .themeButtonG input {
    color: #495057;  /* Bootstrap primary color  */
    font-family: 'Segoe UI', Arial, sans-serif;
    font-size: 1rem;
    text-decoration: none;
}

 .themeButtonG input:hover {
    color: #f8f9fa;  /* Darker on hover */
    text-decoration: underline;
}
 .pcC { /* page container center (contents of page container) */
	height: calc(100vh - 144px);  /*678px; */
	margin-left: auto;
	margin-right: auto;
	padding: 10px;
	/*text-align: center;*/
	vertical-align: top;
	}
 .pcL { /* page container left middle edge (vertical menu container) */
	padding-top: 10px;
	vertical-align: top;
    width:240px;
	}
 .pcT {
    background-color: #264880;
    height: auto;
    left: 0px;
    opacity: 1.0;
    position: fixed;
    top: 0px;
    width: 100%;
    z-index: 101;
}
 .pHeaderC { /* page header logo container */
	text-align: left;
	vertical-align: middle;
	width: calc(100vw - 240px); /*750px;*/
	}
 .pHeaderR { /* page header security panel container */
	text-align: right;
	width: 250px;
	}

 
 /*-- **************************************************************--
     FILTER Area

 --*****************************************************************--*/
 
.Filter_Input, .fili { /* filter drop-down list */
	background-color: #e7feff;  /* Lighter background for modern look */
    border: 1px solid #ced4da;   /* Softer gray for the border */
    border-radius: 0.25rem;     /* Rounded corners (6px), similar to Tailwind */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);  /* Light shadow for depth */
    color: #495057;  /* Dark gray text color */
    font-family: 'Segoe UI', Arial, sans-serif;  /* Clean modern font */
    font-size: 0.75rem;  /* Modern readable font size (16px) */
    padding: 0.3rem 0.3rem;  /* Padding for input: vertical 8px, horizontal 16px */
   
    font-size: 0.75rem;
	margin-bottom: 0px;
	margin-left: 2px;
	margin-right: 2px;
	padding-top: 0px;
	}

.Filter_Input:focus, .fili:focus {
    border-color: #80bdff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.25);
    outline: none;
     border-radius: 0.25rem;
}

.Filter_Input:hover, .fili:hover {

     border-radius: 0.25rem;
}

.filter_area, .fila { /* filter label */
	 font-family: 'Segoe UI', Arial, sans-serif;  /* Clean modern font */
    font-size: 0.75rem;  /* Modern readable font size (16px) */
	padding: 4px 7px 4px 7px;
	text-align: right;
	vertical-align: middle;
	white-space: nowrap;	
	}
	
.Pagination_Input, .pri { /* pagination row input textbox/drop-down list container */
	background-color: #e7feff;  /* Lighter background for modern look */
    border: 1px solid #ced4da;   /* Softer gray for the border */
    border-radius: 0.25rem;     /* Rounded corners (6px), similar to Tailwind */
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);  /* Light shadow for depth */
    color: #495057;  /* Dark gray text color */
    font-family: 'Segoe UI', Arial, sans-serif;  /* Clean modern font */
    font-size: 0.75rem;  /* Modern readable font size (16px) */
    padding: 0.1rem 0.1rem; 
	text-align: center;
	}
.Pagination_Input:hover, .pri:hover {
     border-radius: 0.25rem;
}
.Pagination_Input:focus, .pri:focus {
    border-color: #80bdff;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.25);
    outline: none;
}
	
.search_area, .sa { /* search area container */
	 font-family: 'Segoe UI', Arial, sans-serif;  /* Clean modern font */
    font-size: 0.75rem;  /* Modern readable font size (16px) */
	padding-top: 5px;
	padding-bottom: 2px;
	}

.search_label, .sl { /* search label */
	 font-family: 'Segoe UI', Arial, sans-serif;  /* Clean modern font */
    font-size: 0.75rem;  /* Modern readable font size (16px) */
	padding: 5px;
	vertical-align: middle;
	white-space: nowrap;	
	}

.rangeFilterText, .rft { /* range filter label */
	color: #555555;
	 font-family: 'Segoe UI', Arial, sans-serif;  /* Clean modern font */
    font-size: 0.75rem;  /* Modern readable font size (16px) */
	font-weight: normal;
	padding-left: 6px;
	padding-right: 6px;
	text-decoration: none;
	text-transform: none;
	}
/*--------------------------- SEarch Input--------------------*/
.panelSearchBox {
	background-color: #ffffff;
	border: 1px solid #dddddd;
	border-radius: 4px;
	
	padding: 0px;	
	padding-left: 8px;
	padding-right: 4px;
	width: 286px;
	}

.panelSearchBox:hover { /* panel search textbox hover state */
	background-color: #ffffff;
	border: 1px solid rgba(0, 123, 255, 0.25);
	border-radius: 4px;
	/* box-shadow: 0px 0px 0px 2px rgba(75, 141, 187, 0.25); */
	}
.Search_Input, .si { /* search textbox */
	
   	color: #555555;
	 font-family: 'Segoe UI', Arial, sans-serif;  /* Clean modern font */
    font-size: 0.75rem; 
	font-weight: normal;
	border-radius: 4px;
	
	padding: 0px;	
	
	width: 246px;
    outline:none;
	} 

.Search_InputHint { /* "search for..." text inside search textbox */
	border: none;
	color: #999999;
	font-family: 'Segoe UI', Arial, sans-serif;  /* Clean modern font */
    font-size: 0.75rem; 
	padding: 0px;	
	
	width: 246px;
	} 
/**********************************************************************
 * Tailwind Calendar Styles                                           *
 **********************************************************************/
.MyCalendar {
    left: inherit !important;
    top: inherit !important;
}

.MyCalendar .ajax__calendar_container {
    @apply bg-white border border-gray-500 text-black z-20;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    background-color: #e7feff;  /* Light gray background for modern look */
    border: 1px solid #ced4da;
}

.MyCalendar .ajax__calendar_container table {
    @apply w-full h-full;
}

.MyCalendar .ajax__calendar_day {
    @apply border border-transparent;
    font-family: 'Segoe UI', Arial, sans-serif;  /* Clean modern font */
    font-size: 0.75rem; 
	font-weight: normal;
}

.MyCalendar .ajax__calendar_other .ajax__calendar_day,
.MyCalendar .ajax__calendar_other .ajax__calendar_year {
    @apply border-transparent text-gray-500;
}

.MyCalendar .ajax__calendar_hover .ajax__calendar_day,
.MyCalendar .ajax__calendar_hover .ajax__calendar_month,
.MyCalendar .ajax__calendar_hover .ajax__calendar_year {
    font-size: 0.8rem; 
	font-weight: normal;
    border-radius: 1px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    color:#ffffff;
    background-color: #007bff;  /* Light gray background for modern look 
    border: 1px solid #007bff;*/
}

.MyCalendar .ajax__calendar_active .ajax__calendar_day,
.MyCalendar .ajax__calendar_active .ajax__calendar_month,
.MyCalendar .ajax__calendar_active .ajax__calendar_year {
    @apply bg-blue-100 border border-blue-600 text-blue-600;
}

.MyCalendar .ajax__calendar_invalid .ajax__calendar_day,
.MyCalendar .ajax__calendar_invalid .ajax__calendar_month,
.MyCalendar .ajax__calendar_invalid .ajax__calendar_year { /* AJAX calendar current day/month/year container */
	background-color: #effbff;
	border: 0px solid #0065ce;
	color: #dddddd;
	}

.MyCalendar .ajax__calendar_invalid_hover .ajax__calendar_day,
.MyCalendar .ajax__calendar_invalid_hover .ajax__calendar_month,
.MyCalendar .ajax__calendar_invalid_hover .ajax__calendar_year  { /* AJAX calendar current day/month/year container */
	background-color: #effbff;
	border: 0px solid #0065ce;
	color: #dddddd;
	}

/*----------------------------------------------*/
/*------------- Quickselector Selection --------*/
/*----------------------------------------------*/

.QStr:hover, .QStrHighlighted, .QStrHighlighted:hover, .QStrSelected:hover { /* quick selector hover/highlighted state */
	background-color: #4ba8f7;
	}

.QStrSelected { /* quick selector selected state */
	background-color: rgba(0, 123, 255, 0.25);
	}


.error-message {
    color: red;
    font-size: 12px;
    margin-top: 5px;
}

.column_header a,
.column_header_scrolling a,
.tch a,
.tchs a { /* column header link text */
	color: #4ba8f7;
	cursor: pointer !important;
	font-family: 'PT Sans Narrow', Arial, Verdana, sans-serif;
	font-size: 15px;
	font-weight: normal;
	text-decoration: none;
	} 
	
.column_header a:hover,
.column_header_scrolling a:hover,
.tch a:hover,
.tchs a:hover { /* column header link text hover state */
	color: #233b7b;
	text-decoration: underline;
	}
/*.QSContainer .scrollRegion div { 
	margin: 0px;
    background-color:#ffffff;
	}*/

/* Hide the original checkbox */
input[type="checkbox"] {
  appearance: none; /* Remove default checkbox styles */
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 36px; /* Width of the toggle */
  height: 16px; /* Height of the toggle */
  background-color: #ccc; /* Default background */
  border:1px solid #ced4da;
  border-radius: 32px; /* Rounded edges */
  position: relative; /* Position for the slider */
  cursor: pointer;
  transition: background-color 0.4s ease;
  vertical-align:middle
}

/* Create the slider (circle) */
input[type="checkbox"]::before {
  content: "";
  position: absolute;
  height: 12px; /* Diameter of the slider */
  width: 12px;
  left: 1px; /* Position inside the toggle */
  bottom: 1.5px;
  background-color: white;
  border-radius: 50%; /* Make it circular */
  transition: transform 0.4s ease;
}

/* Change appearance when the checkbox is checked */
input[type="checkbox"]:checked {
  background-color: #4ba8f7; /* Background when toggled */
}

input[type="checkbox"]:checked::before {
  transform: translateX(20px); /* Move the slider to the right */
}

input[type="radio"]:checked {
  border-color: #155fce; /* Border color when checked */
  background-color: #155fce; /* Background color when checked */
}


/* Highlight style */
/*.copied-highlight {
    border: 2px solid orange;
    background-color: #fff8e1;
    position: relative;
}*/
.field_hidden {
    display: none;
    border:none;
}
/* Callout style */
.callout {
    display: inline-flex;
    align-items: center;
    position: absolute;
    /*background-color: #f9f9f9;
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 5px;
    font-size: 12px;
    color: #333;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);*/
    z-index: 10;
}



.callout .info-icon {
    width: 16px;
    height: 16px;
    /*margin-right: 5px;*/
    background-color: #ff6600;
    border-radius: 50%;
    display: inline-block;
    text-align: center;
    color: #ffffff;
    font-size: 10px;
    font-weight: bold;
    line-height: 16px;
    cursor: help;
    position: relative;
}

.callout .info-icon:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    font-size: 10px;
    padding: 5px;
    border-radius: 3px;
    white-space: nowrap;
    z-index: 1001;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.status-draft, .status-new {
    color: #f0ad4e;  /* Set the text color to amber */
    font-weight: bold;  /* Make the text bold */
    display: flex;
    align-items: center;
    padding-left: 20px;
    position: relative;
}

.status-draft_auto, .status-new_auto {
    color: #0d21b8;  /* Set the text color to amber */
    font-weight: bold;  /* Make the text bold */
    display: flex;
    align-items: center;
    padding-left: 20px;
    position: relative;
}
.status-draft_auto:before, 
.status-new_auto:before {
    content: '';
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: #0d21b8; /* Amber color for the circle */
    border-radius: 50%;
    animation: blink 1s infinite; /* Apply the blinking animation */
}

/* Define the blinking animation */
@keyframes blink {
    0%, 100% {
        opacity: 1; /* Fully visible */
    }
    50% {
        opacity: 0; /* Invisible */
    }
}
/* Add a circle next to the text */


/* Sent status */
.status-sent {
   
    color: #5bc0de;  /* Set the text color to amber */
    font-weight: bold;  /* Make the text bold */
    display: flex;
    align-items: center;
    padding-left: 20px;
    position: relative;
}

.status-sent:before {
    content: '';
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: #5bc0de;  
    border-radius: 50%;
}

/* Paid status */
.status-paid {
    color: #5cb85c;  /* Set the text color to amber */
    font-weight: bold;  /* Make the text bold */
    display: flex;
    align-items: center;
    padding-left: 20px;
    position: relative;
}

.status-paid:before {
    content: '';
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: #5cb85c;  
    border-radius: 50%;
}
.status-partial {
    color: #ff6600;  /* Set the text color to amber */
    font-weight: bold;  /* Make the text bold */
    display: flex;
    align-items: center;
    padding-left: 20px;
    position: relative;
}
.status-partial:before {
    content: '';
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-color: #ff6600;  
    border-radius: 50%;

}
.notification-container {
    position: relative;
    display: inline-block;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -10px;
    background-color: red;
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 3px 7px;
    border-radius: 50%;
    min-width: 20px;
    text-align: center;
}
.truncate {
  white-space: nowrap;      /* Prevents text from wrapping */
  overflow: hidden;         /* Hides overflow */
  text-overflow: ellipsis;  /* Shows "..." when truncated */
  width: 180px;             /* Adjust width as needed */
}

.truncateLg {
  white-space: nowrap;      /* Prevents text from wrapping */
  overflow: hidden;         /* Hides overflow */
  text-overflow: ellipsis;  /* Shows "..." when truncated */
  width: 250px;             /* Adjust width as needed */
}

.truncateSm {
  white-space: nowrap;      /* Prevents text from wrapping */
  overflow: hidden;         /* Hides overflow */
  text-overflow:clip ;  /* Shows "..." when truncated */
  width: 120px;             /* Adjust width as needed */
}

.watermark {
        position: fixed;
        top: 50%;
        left: 45%;
        transform: translate(-50%, -30%) rotate(315deg);
        font-size: 180px;
        font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        font-weight:700;
        color: rgba(200, 200, 200, 0.3); /* Light grey */
        text-transform: uppercase;
        z-index: 9999;
        pointer-events: none;
        user-select: none;
        white-space: nowrap;
        letter-spacing: 20px;
    }
.popupTableCellLabel {/* popup table cell field label text */
	color: #ffffff;
	font-family: 'Open Sans Condensed', Arial, Verdana, sans-serif;
	font-size: 13px;
	padding-bottom: 4px;
	padding-left: 6px;
	padding-right: 2px;
	padding-top: 4px;
	text-align: left;
	text-transform: none;
	vertical-align: top;
	white-space: nowrap;
	}