/******************************************************************************************
 Section 1: CSS Classes used in JSP Pages. 
 Begin Classes used in JSP pages     

 Descriptions:            
	 These are being phased out:
		 navline:
			 Navigation history links: Home | Insured Search etc.; these sit in the
			 upper nav bar.
		 helpline:
			 This creates the little grey help areas where help stuff is given.
	 plaintext:
		 This determines font size anywhere there is plain text info in the app.
	 Control
		 We use this on occasion for custom controls; it is often specified in Form meta-data.
	 HeaderMenu:
		 This is the upper-level menu on the launch pad.
	 CopyRight:
		 Used where we display copyright.
	 NoWrap:
		 This comes in handy for grid displays.
	 ActiveFrameBackground:   Our main background color.
	 InactiveFrameBackground:
	 ApplicationTitle:      This is used only once, in the launch pad for app title.
	 2nd-level windows:     2nd-level windows share the same Tab definitions as the "Launch Pad"
													window. Also, they have these distinct areas:
				 WindowTItle        This is the title area at the top of the window.
				 PageTitle          Used for the title area under the tabs (for example, "Policy Summary"). The
														Page Title is more specific than the Window Title.
				 NavArea            The Nav History area
				 HelpArea           Area where help will be displayed. This sucks, using HelpFont & HelpColor instead.
				 HelpFont           Help area font.
				 HelpColor          Colors for help bg & font.
				 ActionArea         Area where buttons / actions for the current context will be placed
				 MainArea           A single TD that surrounds everything under the tabs. Mainly just needs
														a background color.
***********************************************************************************************/
BODY{background:white}


/**
 *  Set everything to same font:
 */
.plaintext
,.Control
,.messageline
,.navline
,.NavArea
,TD.ActionArea
,.HelpArea
,.HelpFont
,.ApplicationTitle
,.WindowTitle
,.HeaderMenu
,.PageTitle
,.PageTitlePadding {font-family: Verdana, Arial, Helvetica;}


/**
 *  Set up font-sizes for everything:
 */
.ApplicationTitle {
	font-size: 1.3em;
}
.PageTitle{
	font-size: 1.2em;
}
.WindowTitle {
	font-size: 1.0em;
	font-weight:bold;
}
.Control,.plaintext,.messageline{
	font-size: 0.9em;
}
.NavArea,.HelpArea, .HelpFont, TD.ActionArea, .HeaderMenu, .Copyright {
	font-size: 0.8em;
}
.PageTitlePadding{
	font-size: 0.2em;
}



.PageTitle{color:white;}

.HeaderMenu a:link,.HeaderMenu a:visited{color: black;}
.HeaderMenu a:active,.HeaderMenu a:hover{color: #0000FF;}

.messageline{
	padding:3;
}

.messagelineStatus{
	background-color: #66CC66; /* Light green */
	color: black;
}

.messagelineError{
	background-color: #FF6666; /* Red */
	color: black;
}

.messagelineGenericError{
	background-color: #FCAE1E; /* Shade of Yellow */
	color: black;
}

.messagelineWarn {
  background-color: #CFCF74;
  /* Yellow */
  color: #1a1a1a; }

.NavArea a:link,
.NavArea a:visited{color: black;}
.NavArea a:active,
.NavArea a:hover{color: #0000FF;}
.NavArea a:link,
.NavArea a:visited,
.NavArea a:active,
.NavArea a:hover{
	font-weight: bold;
	/* text-decoration: none;*/
}
.NavArea{
	color: white;
	font-weight: bold;
	background: #9ECCCC;/* Light green */
	/* text-decoration: none;*/
}

.NoWrap{
	white-space:nowrap;
}

/**
 * ActionArea:
 */
TD.ActionArea A:link,
TD.ActionArea A:visited{
	font-weight:bold;
	color:black;
}
TD.ActionArea A:hover,
TD.ActionArea A:active{
	font-weight:bold;
	color:#0000FF;
}
TD.ActionArea{
	font-weight:bold;
	background: #E1E1E1; /* Light grey */
	text-align: left;
	padding:3;
}



/**
 * HelpArea & HelpColor:
 */
.HelpArea{background-color: #CCCCCC; color: #666666;}
.HelpArea a:link,
.HelpArea a:visited{
		font-weight:bold;
		color:black;
}
.HelpArea a:active,
.HelpArea a:hover{
		font-weight:bold;
		color: blue;
}
.HelpColor{background-color: #CCCCCC; color: #666666;}
.HelpColor a:link,
.HelpColor a:visited{
		font-weight:bold;
		color:black;
}
.HelpColor a:active,
.HelpColor a:hover{
		font-weight:bold;
		color: blue;
}

/** Used by old-style navline on Admin layout; this is being phased out. */

.navline,.PageTitle,.MainArea,.MainBackground{background-color: #3366CC;}
.navline  {color:#FFFFFF; font-weight:bold;}
.navline a:link,       .navline a:visited{color:#FFFFFF;}
.navline a:active,       .navline a:hover {color: #99CCFF;} /* less contrasty blue */
.navline       {text-align:left;   }

.helpline,.navline {
	font-size: 0.9em;
}


.Red {color:red;}











/****************************************************
 Section 2: CSS Classes used by ActionRenderer java class.
******************************************************/
.ActionLink{padding:7}
.ActionLinkDisabled{padding:7; color:#bfbfbf;}

.ActionLinkDisabled :hover{
 	background-color: #ededed;
 }


/****************************************************
 Section 3: CSS Classes used by java Form Generator code
******************************************************/


/*
 Definitions:
	 "formControlCell" is the class for TD elements containing an editable field.
	 "formLabelCell" corresponds to the TD element that shows a title next to the FormControlCell.
	 "formErrorLabelCell" modifies a formlabelcell to make it red (or whatever).
	 "formControl" is the default class for individual editable controls.
	 "formError" The form rendering system uses it to list data entry errors at top of form.
	 "gridheader" is a label bar that appears above the grid and shows a title.
	 "gridrow1" & "gridrow2" are simply alternating rows in the grid; their purpose is to
			allow alternating colors.
	 "SSTButton"     The world-famous SST button. Man, what a button.
	 "submitrow"     Is the class for <td>'s that contain a row of buttons at the bottom of an edit
*/


/* Same font for all controls: */
.formControl,
.formControlError,
.formControlMandatory,
.formError,
.formWarning,
.formLabelCell,
.gridheader,
.gridrow1,
.gridrow2,
.gridcell,
.title,
.url,
.SSTButtonDisabled,
.SSTButton {font-family:Verdana,Helvetica,Arial; }

/** Be careful about putting stuff here. When classes get piled on top of each other, the ##.##em
		specification gets multiplied.*/
.formControl,
.formControlError,
.formControlMandatory,
.formError,
.formWarning,
.formLabelCell,
.gridheader,
.url {font-size:0.90em;}

.formControlError{background-color: #FF6666;}
.formControlMandatory{background-color: #EEF0A6;}
/* Cool color: #E1F1B1; */

.formError,
.formErrorLabelCell {color:red;}
.formWarning{color:orange;}
.formLabelCell {background-color:#E1E1E1;}
.gridHeader {color:white;background-color:#4D9999;font-weight:bold; padding:3}
.gridHeaderLeft {text-align:left}
.gridHeaderRight {text-align:right}
.gridHeaderCenter{text-align:center}
.gridCellLeft {text-align:left}
.gridCellRight{text-align:right}
.gridCellCenter {text-align:center}


.pagination {color:#3366CC;font-size:10px;font-family:Verdana,Helvetica,Arial;}

.gridrow1   {background:#EFEFEF;}
.gridrow1 a:link,
.gridrow1 a:visited{color: black;}
.gridrow1 a:active,
.gridrow1 a:hover{color: #0000FF;}

.gridrow2 {background:#FFFFFF;}
.gridrow2 a:link,
.gridrow2 a:visited{color: black;}
.gridrow2 a:active,
.gridrow2 a:hover{color: #0000FF;}


.gridcell {padding-left:4; padding-right:4; padding-top:1; padding-bottom:1;}
/* Netscape requires this stupid ".submit" thing. Fine.*/
.submit{
}

.SSTButtonDisabled,
.SSTButton {
	text-align:center;
	vertical-align:top;
	font-weight:bold;
	font-size:70%;
	border-color:#3366CC;
	border-style:outset;
	border-width:thin;
	background-color:#3366CC;
	color: white;
	padding:2.2; /* percentages cause spectaculaclulaclular errors in i.e.*/
}

.submitrow {
	text-align:left;
	vertical-align:top;
	horizontal-align:middle;
}

/****************************************************
 Section 3: General CSS Classes
 ******************************************************/
.TextAlignLeft {text-align:left};
.TextAlignRight {text-align:right};
.TextAlignCenter {text-align:center};



/*******************************
 Section 4: Close screen button
 *******************************/

/* Holds the close button that we use on some forms. Like "Active", this cascades
	 over tab middle. "cascades over", duh huh huh. */
TD.CloseWindow{
	font-family: Verdana, Arial, Helvetica;
	font-size:0.7em;
	border-left:none;
	border-right:none;
	border-top:none;
	text-align: center;
	text-decoration: none;
	background:white;
	font-weight: bold;
	padding:2;
}
TD.CloseWindow A{
	color: black;
	text-decoration: none;
}
TD.CloseWindow a:link,
TD.CloseWindow a:visited{color:pink;}
TD.CloseWindow a:active,
TD.CloseWindow a:hover{color:red;}
tr.PageTitle {
    background: #1F3D7A;
}
.login,.password
{
	font-size:13px;
}
}
