.modal-overlay {
  display: none; /* Hidden by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
}

.modal-box {
  background: white;
  width: 400px;
  max-width: 90%;
  margin: 100px auto;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.modal-header {
  background: #007bff;
  color: white;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-weight: bold;
  font-size: 16px;
}

.modal-close {
  cursor: pointer;
  font-size: 18px;
  font-weight: bold;
}

.modal-body {
  padding: 16px;
}

.modal-body input[type="text"] {
  width: 100%;
  padding: 8px;
  font-size: 14px;
  box-sizing: border-box;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding: 12px 16px;
  background: #f1f1f1;
}

.btn {
  padding: 8px 16px;
  border: none;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
}

.btn.confirm {
  background-color: #28a745;
  color: white;
}

.btn.cancel {
  background-color: #dc3545;
  color: white;
}

.Main {
	width: 100%;
	display: flex;
}

.LeftMenu {
	background-color: #24285c;
}




.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #24285c;
  color: white;
  width: 100%;
  font-size: 14px;
  font-weight: normal;
  height:50px;
}

.nav-left {
	margin-left: 20px;
	display: flex;
	align-items: center;
	text-align:center;
}

.logo {
  margin-right: 10px;
}

.brand {
  display: block;
  text-align: center;
  word-wrap: break-word;
  word-break: break-word;
  white-space: normal;
  max-width: 100%;
  margin: 0 auto;
  font-size: 14px;
}

.nav-menu a,
.dropbtn {
  color: white;
  padding: 10px 15px;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1em;
  font-weight: bold;
}

.nav-menu {
  display: flex;
  align-items: center;
}

.nav-user {
  margin-left: auto;
}

.menu-item {
  position: relative;
  padding: 0 5px;
  white-space: nowrap;
  width: 65px;
  text-align: center;
  border-right: 3px solid #2f346a;
}
.menu-item:first-child {
  border-left: 3px solid #2f346a;
}

.menu-item a,
.menu-item .dropbtn {
  color: white;
  background: none;
  border: none;
  text-decoration: none;
  padding: 10px 0;
  font-weight: normal;
  cursor: pointer;
  display: block;
  width: 100%;
  height: 100%;
  border-bottom: 3px solid transparent;
}
.menu-item a:hover,
.menu-item .dropbtn:hover {
  border-bottom: 5px solid #00c2cb;
  /*background-color: #3498db;*/
  color: #3498db;
  transform: scale(1.05);
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
  text-decoration: none;
  transition: all 0.2s ease;
}
.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #ffffff;
  min-width: 160px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  width: 250px;
  top: 100%;
  left: -10px;
  margin-top:-1px;
}

.dropdown-content a {
  color: #0d3a72;
  padding: 5px 5px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {
  background-color: #24285c;
  color: #f0f0f0;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.right {
  right: 0;
  left: auto;
}

.page-container {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  /*overflow-x: hidden;*/
}

.InputBox, .ComboBox {
	font-size: 10pt;
	color: #333333;
	width: 90%;
	padding: 4px;
	border: 1px solid #cccccc;
	border-radius: 4px;
	box-sizing: border-box;
	margin-bottom: 10px;
}

.BannerBottom {
	background-color: #24285c;
	color: #fff;
	display: flex;
	width: 100%;
	border-bottom-left-radius: 15px;
	padding-left: 10px;
	height: 20px;
}

.BannerText, .BannerTextBottom {
	text-align: left;
	font-weight: normal;
	width: 100%;
	text-align: right;
	padding-right:10px;
	padding-top: 4px;
}
.BannerTextBottom > a {
	color: #f9a825;
}

.MainContent {
	flex: 1;
	text-align: center;
	/*overflow:hidden;*/
	margin-top: -1px;
	margin-bottom: -1px;
	background-color: #24285c;
	display:flex;
}
.Content {
	/*overflow: hidden;*/
	background: #f4f4f4;
	flex: 1;
	position: relative;
	border-top-left-radius: 20px;
	border-bottom-left-radius: 20px;
	text-align: left;
	padding-left: 10px;
	margin-left: 10px;
	z-index: 1;
	min-height: 100%;
}
.BlockHeader {
	margin-top: 12px;
	margin-bottom: 12px;
	font-size:12pt;
	font-weight:bold;
	color: #24285c;
}
.Block {
	padding-bottom:12px;
}
.AboutBox {
	/*overflow: hidden;*/
	background: #f4f4f4;
	flex: 1;
	position: relative;
	border-top-left-radius: 20px;
	border-bottom-left-radius: 20px;
	text-align: left;
	padding-left: 10px;
	margin-left: 10px;
	z-index: 1;
	min-height: 100%;
}

.AboutBox::before,
.AboutBox::after {
	content: '';
	position: absolute;
	left: 0;
	width: 20px;
	height: 20px;
	z-index: -1;
}

.AboutBox::before {
	top: 0;
	border-top-left-radius: 20px;
}

.AboutBox::after {
	bottom: 0;
	border-bottom-left-radius: 20px;
}

.Form {
  display: flex;
  flex-direction: column;
  min-height: 96vh;
  margin: 0;
}
body
{
font-weight: normal;
font-size: 8pt;
margin: 0px;
color: #464579;
font-family: Arial, Verdana, Helvetica;
display: flex;
  flex-direction: column;
  min-height: 100vh; /* full viewport height */
}

a:hover {
    color: #ffcc00;
    text-decoration: underline;
}
a {
    font-weight: bold;
    font-family: Arial, Helvetica;
}

.Button {
	font-weight: bold;
	font-size: 12pt;
	color: white;
	background-color: #f9a825;
	border: none;
	padding: 4px 10px;
	border-radius: 5px;
	cursor: pointer;
	text-align: center;
	width: 160px;
}

.NoRightBorder {
	
}

.DisplayFlex {
	display: flex;
	margin-top: 2px;
}

.LeftColumn {
	width: 110px;
	margin-left: 10px;
	text-align: right;
	line-height: 24px;
}

.RightColumn {
	font-size: 1.1rem;
	font-family: "Helvetica";
	font-weight: bolder;
	padding-top: 1px;
}
.RightColumn > .InputBox {
	font-size: 0.75rem;
	border: none;
	height: 24px;
	width: 150px;
}
.FilterButtons {
	padding-bottom: 12px;
}
.InputBox, .ComboBox {
	font-size: 10pt;
	color: #333333;
	width: 90%;
	padding: 4px;
	border: 1px solid #cccccc;
	border-radius: 4px;
	box-sizing: border-box;
	margin-bottom: 10px;
}

.DropDown {
	width: 200px;
}
.GridTable tr:first-child {
	background-color: #f0f4f8;
	color: #333;
	font-weight: 600;
	border-bottom: 2px solid #d1e0ea;
}

.GridTable table tr:first-child td {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	position: sticky;
	top: 0;
	z-index: 2;
	background-color: #f0f4f8;
}


.GridTable table tr:not(:first-child) {
	border-bottom: 1px solid #e0e0e0;
}

.GridTable table tr:nth-child(even):not(:first-child):not(:last-child) {
	background-color: #f9fbfc;
}

.GridTable table tr:hover:not(:first-child):not(:last-child) {
	background-color: #eaf2fb;
	cursor: pointer;
}

.GridTable td {
	padding: 4px 6px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	max-width: 200px;
	border-bottom: 1px solid #cccccc;
}

.GridTable {
	font-size: 8pt;
	color: #333333;
	border: 1px solid #cccccc;
	background-color: white;
	font-weight: normal;
	font-family: Arial, Verdana, Helvetica;
}

.GridTable tr:first-child a {
	color: #333;
}

.GridTable th {
	background-color: #0078d4;
	color: white;
	padding: 10px;
	text-align: left;
}
.GridTable td:first-child > input[type=submit],
.GridTable td:nth-child(2) > input[type=submit] {
  display: inline-block;
  min-width: 18px;
  padding: 6px 6px;
  margin: 0 4px;
  border-radius: 4px;
  background-color: #f9a825;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  border: 1px solid #ccc;
  font-family: sans-serif;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.ButtonBack {
  display: inline-block;
  min-width: 18px;
  padding: 6px 6px;
  margin: 0 4px;
  border-radius: 4px;
  background-color: #f9a825;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  border: 1px solid #ccc;
  font-family: sans-serif;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.ButtonApprove{
  display: inline-block;
  min-width: 18px;
  padding: 6px 6px;
  margin: 0 4px;
  border-radius: 4px;
  background-color: #22aa22;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  border: 1px solid #ccc;
  font-family: sans-serif;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.ButtonSurvey {
  display: inline-block;
  min-width: 18px;
  padding: 6px 6px;
  margin: 0 4px;
  border-radius: 4px;
  background-color: #3333cc;
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  border: 1px solid #ccc;
  font-family: sans-serif;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

.GridTable tr:nth-child(even):not(:last-child) {
	background-color: #f9f9f9;
}

tr.paging-row td {
  text-align: center;
  padding: 10px;
}

/* Base style for buttons */
tr.paging-row td a,
tr.paging-row td span {
  display: inline-block;
  min-width: 18px;
  padding: 6px 6px;
  margin: 0 4px;
  border-radius: 4px;
  background-color: #f0f0f0;
  color: #333;
  text-decoration: none;
  border: 1px solid #ccc;
  font-family: sans-serif;
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
}

/* Hover effect for links */
tr.paging-row td a:hover {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
}

/* Current page (span, not a link) */
tr.paging-row td span {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
  cursor: default;
}
tr:not(:first-child) td:hover {
  /*white-space: normal !important;
  background: #fff;
  word-break: break-word;*/
  min-width: 100%;
  z-index: 10;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);

}
.EstimateApproved {
	background-color: #2e2 !important;
}

.TitleBannerImage {
    width: 230px;
}
.TitleBannerProductName
{
    FONT-WEIGHT: normal;
    FONT-SIZE: 28pt;
    COLOR: navy;
    FONT-FAMILY: Arial, Verdana, Helvetica;
    BACKGROUND-COLOR: transparent
}
.MobileProductName
{
font-weight: normal;
font-size: 12pt;
color:  Navy;
font-family: Arial, Verdana, Helvetica;
text-decoration: none;
background-color: transparent;
}
.TitleBannerCompanyLogo
{
font-weight: bold;
font-style: italic;
font-family: Arial, Verdana, Helvetica;
text-decoration: none;
padding-right: 40px;
color: #eee;
}
.MobileCompanyName
{
font-weight: normal;
font-size: 14pt;
color:  Navy;
font-family: Arial, Verdana, Helvetica;
background-color: transparent;
}
a.TitleBannerCompanyLogo:hover
{
font-weight: bold;
font-style: italic;
font-family: Arial, Verdana, Helvetica;
text-decoration: none;
}
.TitleBannerTime
{
font-weight: normal;
font-size: 8pt;
color: white;
font-family: Arial, Verdana, Helvetica;
text-decoration: none;
}
.Banner
{
    BORDER-RIGHT: 1pt solid;
    BORDER-TOP: 1pt solid;
    FONT-WEIGHT: bold;
    FONT-SIZE: 8pt;
    BORDER-LEFT: 1pt solid;
    COLOR: white;
    BORDER-BOTTOM: 1pt solid;
    FONT-STYLE: normal;
    FONT-FAMILY: Verdana, Arial, Helvetica;
    BACKGROUND-COLOR: blue
}
.BannerMenuItem
{
COLOR: white; 
TEXT-DECORATION: none;
    font-weight: bold
}
a.BannerMenuItem:hover
{
    COLOR: red;
    TEXT-DECORATION: none;
}
.BannerText
{
COLOR: white; 
TEXT-DECORATION: none;
FONT-WEIGHT: normal;
}
.TreeMenu
{
    BORDER-RIGHT: 1pt;
    BORDER-TOP: 1pt;
    PADDING-LEFT: 5px;
    LEFT: 0px;
    BORDER-LEFT: 1pt;
    WIDTH: 210px;
    COLOR: white;
    MARGIN-RIGHT: 5px;
    BORDER-BOTTOM: 1pt;
    BACKGROUND-COLOR: #24285c
}
.TreeMenuHeader
{
    FONT-WEIGHT: bold;
    FONT-SIZE: 9pt;
    COLOR: #f4c692;
    FONT-FAMILY: Arial, Verdana, Helvetica
}
.TreeMenuItem
{
    FONT-WEIGHT: normal;
    COLOR: #dfdbff;
    FONT-FAMILY: Arial, Verdana, Helvetica;
    TEXT-DECORATION: none
}
A.TreeMenuItem:hover
{
    COLOR: Yellow;
    TEXT-DECORATION: underline
}
.TreeMenuItemSelected
{
    FONT-WEIGHT: bold;
    FONT-SIZE: 9pt;
    COLOR: #ffffff;
    FONT-FAMILY: Arial, Verdana, Helvetica;
    BACKGROUND-COLOR: #6e83b6
}
.FilterBox {
	width:90vh;
}
.PageTitle {
	font-weight: bold;
    font-size: 16pt;
    color: navy;
    font-family: Arial, Verdana, Helvetica;
	text-align: center;
	padding: 12px 0px;
}
.PageHeader
{
    font-weight: bold;
    font-size: 14pt;
    color: navy;
    font-family: Arial, Verdana, Helvetica;
	padding-top: 20px;
	padding-bottom: 20px;
}
h1
{
    FONT-WEIGHT: bold;
    FONT-SIZE: 13pt;
    COLOR: navy;
    FONT-FAMILY: Arial, Verdana, Helvetica;
    BACKGROUND-COLOR: transparent
}
h2
{
    FONT-WEIGHT: bold;
    FONT-SIZE: 10pt;
    COLOR: navy;
    FONT-FAMILY: Arial, Verdana, Helvetica;
    BACKGROUND-COLOR: transparent
}
.GridText {
	font-size: 8pt;
	color: #464579;
	font-family: Verdana, Arial, Helvetica;
	display: grid;
}
.Version
{
    color: navy;
    font-size: 8pt;
    font-style: italic;
    font-weight: 200;
	width: 220px;
	text-align: right;
	padding-top: 12px;
}
hr
{
    WIDTH: 90%;
    COLOR: #464579
} 
.ErrorText
{
    COLOR: red;
}

.LoginUser {
	background-color: #24285c;
	color: white;
	text-align: center;
	height: 100%;
	display: inline-block;
	float: left;
	overflow: hidden;
	width: 220px;
	padding-top: 20px;
}
.LoginUser > div {
	margin-bottom: 4px;
}

.LoginUserHeader
{
    FONT-WEIGHT: bold;
    FONT-SIZE: 9pt;
    COLOR: #f4c692;
    FONT-FAMILY: Arial, Verdana, Helvetica
}
.LoginUserLabel
{
    FONT-WEIGHT: normal;
    COLOR: #dfdbff;
    FONT-FAMILY: Arial, Verdana, Helvetica;
    TEXT-DECORATION: none
}
.LoginUserTextBox
{
    FONT-WEIGHT: normal;
    COLOR: #dfdbff;
    FONT-FAMILY: Arial, Verdana, Helvetica;
    TEXT-DECORATION: none
}
.LoginError
{
    COLOR: red;
}
.Label
{
font-weight: bold;
font-size: 8pt;
font-family: Arial, Verdana, Helvetica;
color: Black
}
.datepicker { 
  width: 70px !important;
}
.datepicker2 { 
  width: 70px !important;
  margin-left: 10px;
}

	