﻿<link href="Styles/ui-1.12.1/jquery-ui.min.css" rel="stylesheet" />
<link href="Styles/ui-1.12.1/jquery-ui.theme.min.css" rel="stylesheet" />
<script src="Scripts/jquery-1.7.1.min.js" type="text/javascript"> </script>
<script src="Styles/ui-1.12.1/jquery-ui.min.js" type="text/javascript"> </script>
<style type="text/css" >
#HelpDiv {
	visibility: hidden;
}

td.FilterTableHeader
{
	background-color: #336699;
	font-size: small;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: #FFFFFF;
	font-weight: bold;
}
span.reportfieldcaption {
	font-weight: bold;
	font-size: small;
	padding-right: 3px;
	padding-left: 5px;
}

table.reportfieldcontent {
	font-size: small;
}
 
span.reportfieldcontent
{ 
 }
 
 .collapsePanelHeader{
	width:100%;
	height:30px;
	background-color: #336699;
	color:#FFFFFF;
	font-weight:bold;
	font-size: small;
	font-family: Verdana, Arial, Helvetica, sans-serif;
}


body
{
	font-family: Arial, Helvetica, sans-serif;
	background-color:#ffffff;  /*#e6e6fa*/
	font-size:.80em;
}
a.OldHelp
{
	visibility:hidden;
}
.daytitle
{
	color: #000000;
	font-weight: bold;
	text-decoration: none;
}
.daytitleblue
{
	color: #000099;
	font-weight: bold;
	text-decoration: none;
}
.calshift
{
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	white-space: nowrap;
	margin: 5px;
}
.calstatus
{
	COLOR: #000099;
	white-space: nowrap;
	font-weight: bold;
	text-decoration: none;
	margin: 5px;
}
.calunbold
{
	font-weight: normal;
}
.calbg_signed
{
	background-color: #FFFFD9;  
}

.calbg_signed_alt
{
	background-color: #E9E9BE; 
}

.calbg_alt
{
	background-color: #cccccc;
}

.calshift_bg_signed
{
	/*background-color: #FFCC66;*/
	background-color: #C7DEF1;
	padding: 2px;
	margin-bottom: 3px;
	margin-top: 3px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
}

.caltr_today
{
	background-color: #F2F2F2;
}

.holiday
{
	padding: 3px;
	/*border: 1px solid #9a9cff;*/
	/*background-color: #D5D6FF;*/
	margin-bottom: 5px;
	font-size: 11px;
	font-weight: bold;
	font-family: Arial, Helvetica, sans-serif;
	display: inline-block;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
}

.errorMsg
{
	font-size: 12px;
	font-weight: bold;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: red;
}
.completeMsg
{
	font-size: 12px;
	font-weight: bold;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	color: #009900;
}
/* Styles for success message */
.success-message {
	color: #28a745; /* Green color */
	font-weight: bold;
	margin-bottom: 10px;
	font-size: 12px;
}

.examples { 
    		font-weight: normal;
    		font-size: 12px;
    		font-family: Arial;
    		font-style: italic; }

.notes
{
	font-style: italic;
	font-weight: normal;
}

.tbl_container
{
    display: table;
    width:auto;
}

.tbl_row
{
	margin: 5px;
	padding: 5px;
	display: table-row;
	width: auto;
}

.tbl_col
{
    display: table-cell;
    text-align: center;
    vertical-align: top;
    margin: 5px;
	padding: 5px;
}

.textarea
{
 float:right;
 height:300px;
 width:100%;
 overflow:auto;
 border-style: solid; 
 border-width: 1px;
 font-family: Arial,Helvetica,sans-serif; 
 font-size: 12px;
 padding: 3px
}

input.text { margin-bottom:12px; width:95%; padding: .4em; }
input.field {display:block;}
label.caption {display:block;}


/* Container for the entire header */
.header {
	display: flex; 
	flex-direction: row; 
	align-items: flex-start; 
	max-width: 950px; 
	margin: 0 auto; 
	padding: 10px; 
	box-sizing: border-box; 
	flex-wrap: wrap; 
}

/* Styling for the logo section */
.header-logo {
	flex: 0 0 auto; 
	margin-right: 20px; 
}

/* Styling for the logo image */
.logo-image {
	max-height: 90px; /* Limits the logo's height */
	height: auto; 
	width: auto; 
	display: block; 
}

/* Styling for the header text sections */
.header-text {
	flex: 0 0 auto; 
	min-width: 0; 
	margin-bottom: 10px; 
	margin-left: 20px;
	font-family: Arial, Helvetica, sans-serif; 
	font-size: 13px; 
	color: #000; 
	overflow-wrap: break-word; 
	word-break: break-all; 
}

.header-text:first-child {
	margin-left: auto; /* Pushes this and subsequent header-text elements to the right */
}


.modalBackground {
	background-color:Gray;
	filter:alpha(opacity=70);
	opacity:0.7;
}

.modalPopup {
	background-color:#ffffdd;
	border-width:3px;
	border-style:solid;
	border-color:Gray;
	padding:5px;
	width:300px;
	font-size: 12px;
}
.title-text
{
    font-size: 14px;
	font-weight: bold;
	font-family:Arial,Helvetica,sans-serif;
}

.text-muted {
	color: #6c757d !important;
}

.form-text {
	font-family: Arial, Helvetica, sans-serif;
	display: inline-block;
	margin-top: .25rem;
}

.form-text-comp { /*compatiable*/
	font-family: Arial, Helvetica, sans-serif;
	/*font-size: smaller;*/
	display: inline-block;
}

.form-label {
	font-family: Arial, Helvetica, sans-serif;
	font-size: smaller;
	font-weight: bold;
	color: #333366;
	padding-right: 0px;
	vertical-align: top;
}

.small, small {
	font-size: 85%;
	font-weight: 400;
}
/* Responsive Adjustments (Optional) */
@media (max-width: 800px) {
	.header {
		padding: 5px; 
	}

	.header-logo {
		margin-right: 10px; 
	}

	.header-text {
		font-size: 13px; 
	}

	.logo-image {
		max-height: 70px; 
	}
}

.listbox_fixed {
	overflow-x: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 14px;
	line-height: 1.5;
	padding: 4px 8px;
}

/* jquery UI smoothness css overwrite */
.ui-widget.ui-widget-content {
	border: 0px solid #d3d3d3 !important;
}
.ui-widget-header {
	border-style: solid;
	border-width: 0px 0px 1px 0px;
	border-color: #aaaaaa;
	background-position: 50% 50%;
	background: #ffffff url(images/ui-bg_highlight-soft_75_ffffff_1x100.png) 50% 50% repeat-x;
	color: #222222;
	font-weight: bold;
	font-size: 12px;
}
</style >

<style type="text/css" >
/* Overlay covers the entire viewport with a semi-transparent background */
#spinner-overlay {
	display: none; 
	position: fixed; 
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.3); 
	z-index: 9999; /* ensure it's on top of other content */
}
/* Container to position the spinner image */
#spinner-container {
	position: absolute;
	width: 100%;
	text-align: center;
	top: 30%; /* roughly 1/3 from the top */
}

/* menu bar */
/* Remove bullets, default padding, margins */
#navMenu, #navMenu ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* The top-level UL is horizontal */
#navMenu.ui-menu-horizontal {
	border: none;
	box-shadow: none;
	display: inline-block;
	white-space: nowrap;
	background-color: #fff; /* [NEW] Solid background, not transparent */
	padding-bottom: 4px; /* [NEW] Some space below the menu */
}

/* Each top-level LI is inline */
#navMenu.ui-menu-horizontal > li {
	display: inline-block;
	position: relative;
	margin-right: 15px;
	vertical-align: middle; /* helps align items on one line */
}

/* Basic link styling */
#navMenu.ui-menu-horizontal li a {
	text-decoration: none;
	color: #0066cc;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 15px;
	padding: 5px 8px;
}

/* Hover/focus states */
#navMenu.ui-menu-horizontal li a:hover,
#navMenu.ui-menu-horizontal li a.ui-state-active {
	background-color: #d0d0d0;
}

/* Submenu positioning */
#navMenu.ui-menu-horizontal ul {
	position: absolute;
	top: 100% !important; /* Position below parent */
	left: 0 !important;
	z-index: 1000;
	background: white;
	border: 1px solid #ccc;
	min-width: 160px;
}

/* Hide submenu by default */
#navMenu.ui-menu-horizontal > li ul {
	display: none;
}

/* Show submenu on parent hover */
#navMenu.ui-menu-horizontal > li:hover ul {
	display: block;
}

/* Submenu items spacing */
#navMenu.ui-menu-horizontal ul li {
	padding: 2px 0; /* Increased vertical spacing between items */
}

/* Submenu links styling */
#navMenu.ui-menu-horizontal ul li a {
	padding: 4px 6px; /* More compact padding */
	display: block;
	transition: all 0.2s ease;
	border: 1px solid transparent; /* Prepare for hover state */
}

/* Hover state adjustments */
#navMenu.ui-menu-horizontal ul li a:hover {
	background-color: #f0f0f0;
	border: 1px solid #c0c0c0; /* Add border on hover */
	padding: 7px 11px; /* Compensate for border width */
	margin: -1px; /* Prevent layout shift */
}

/* Submenu container styling */
#navMenu.ui-menu-horizontal ul {
	padding: 6px 0; /* Add breathing room at top/bottom */
	box-shadow: 0 3px 6px rgba(0,0,0,0.1); /* Better visual separation */
}

/* Add these styles to handle 3rd level menus */
#navMenu.ui-menu-horizontal ul ul {
	left: 100% !important;
	top: 0 !important;
	margin-left: 2px;
}

/* Add right arrow for nested menus */
/*#navMenu li:has(ul) li:has(ul) > a::after {
	content: " ▶";
	font-size: 0.7em;
	margin-left: 5px;
	color: #666;
}*/

/* Adjust padding for nested items */
#navMenu.ui-menu-horizontal ul ul li a {
	padding: 6px 15px;
	font-size: 14px;
}

/* Ensure proper z-index stacking */
#navMenu.ui-menu-horizontal ul {
	z-index: 1001;
}

#navMenu.ui-menu-horizontal ul ul {
	z-index: 1002;
}

/* Add this to fix "My Commitments" styling */
#navMenu li li:has(ul) > span {
	/* Match parent menu item styling */
	color: #0066cc;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 15px;
	padding: 5px 8px;
	display: block;
	cursor: default; /* Remove pointer cursor */
}

/* Match hover state for parent items */
#navMenu li li:has(ul):hover > span {
	background-color: #e0e0e0;
}

/* Adjust the arrow styling for consistency */
/*#navMenu li li:has(ul) > span::after {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230066cc'%3E%3Cpath d='M10 17l5-5-5-5z'/%3E%3C/svg%3E");
	margin-left: 8px;
}
*/
/* Fix spacing for nested items */
#navMenu.ui-menu-horizontal ul ul {
	margin-top: -5px; /* Align submenu properly */
}

/*.move-handle {
	cursor: move;
	display: inline-block;
	margin-right: 4px;
	color: #666;
}

.move-handle:hover {
	color: #000;
}*/
</style >

<script type="text/javascript">
function showSpinner() {
	var overlay = document.getElementById("spinner-overlay");
	if (overlay)
	{
		overlay.style.display = "block";
		setTimeout(hideSpinner, 7000);
	}
}

function hideSpinner() {
	var overlay = document.getElementById("spinner-overlay");
	if (overlay)
{
	overlay.style.display = "none";
}
}

window.onload = function() {
	var forms = document.getElementsByTagName("form");
	for (var i = 0; i < forms.length; i++)
	{
		var oldHandler = forms[i].onsubmit;

		forms[i].onsubmit = function()	{
			if (typeof showSpinner === "function") showSpinner();
			if (typeof oldHandler === "function")
			{
				var result = oldHandler.call(this, event);
				return result;
			}
			return true; 
		}
	}
}

if(window.self !== window.top) {
	var navMenu = document.getElementById('navMenu');
	if (navMenu)
	{
		navMenu .style.display = 'none';
	}
}

</script>
<!-- The spinner overlay HTML -->
<div id="spinner-overlay" >
<div id="spinner-container" >
<img src="images/ajax-loader_big.gif" alt="Loading..." / >
</div >
</div >
