/*------------------------------- Common styles ------------------------------- */

body
{
}

.StdLabel
{
	font: bold 11px Tahoma;
	color: #336699;
}

.StdLabelOnly
{
	font: bold 11px Tahoma;
	text-decoration: underline;
	color: #336699;
}

.StdButton
{
/*	background: #800000;*/
	background: url(../Res/Graphics/Backgrounds/Button4.jpg) repeat-x left top;
	border: outset 2px #769AFA;
/*	border: outset 2px #0000FF; for Button6.jpg*/
	color: #FFFFFF;
	font: bold 11px Tahoma;
	padding: 1;
	height: 26px;
}

.StdTextBox
{
	background: #ffffff;
	border: solid 1px #769AFA;
	color: #336699;
	font: bold 11px Tahoma;
	padding-left: 2px;
}

.StdViewTextBox
{
	color: #336699;
	font: bold 11px Tahoma;
}

.StdCheckBox
{
	color: #336699;
	font: bold 11px Tahoma;	
}

.StdViewCheckBox
{
	color: #336699;
	font: bold 11px Tahoma;
}

.StdRadioButtonList
{
	border: solid 1px #769AFA;
	color: #336699;
	font: bold 11px Tahoma;
}

.StdViewRadioButtonList
{
	color: #336699;
	font: bold 11px Tahoma;
}

.StdLink
{
	font: normal 11px Tahoma;
	color: #336699;
}

.StdLink:hover
{
	color: #769AFA;
}

.FormNameLabel
{
	color: #000000;
	font: bold 13px Tahoma;
	line-height: 40px;
	padding-left: 10px;
}

.InvalidEntry
{
	font: bold 11px Tahoma;
	margin-left: 4px;
}

/*------------------------------- DateBox styles ------------------------------- */

SPAN.ExcDateBox
{
	white-space: nowrap; /* required to prevent line break between textbox and button*/
	font-size:15px;	/* exactly this value required for nice layout */
	padding-bottom: 0px;
	padding-top: 0px;
}

.ExcDateBoxButton
{
	background: url(../Res/Graphics/Backgrounds/Button4.jpg) repeat-x left top;
	border-left: outset 1px #5989C3;
	border-top: outset 1px #769AFA;
	border-right: outset 1px #769AFA;
	border-bottom: outset 1px #769AFA;
	color: #FFFFFF;
	font: bold 8px Tahoma;
	margin-bottom: -1px; /* exactly this value required for nice layout */	
	margin-top: -1px;
	height: 17px; /* necessary to display button of same size as textbox in Gadzilla */
	width: 17px;
	vertical-align: middle; /* necessary to valign equally button and textbox both in IE and Gadzilla */
}

.ExcDateBoxTextBox
{
	background: #ffffff;
	border: solid 1px #769AFA;
	color: #336699;
	font: bold 11px Tahoma;
	padding-left: 2px;	/* exactly this value required for nice layout */
	margin-bottom: -1px;	/* exactly this value required for nice layout */
	margin-top: -1px;
	vertical-align: middle; /* necessary to valign equally button and textbox both in IE and Gadzilla */
}

.ExcDateBoxMonthHeader
{
	background: #5989C3;
	background: url(../Res/Graphics/Backgrounds/Button4.jpg) repeat-x left top;	
	color: #FFFFFF;
	font: bold 11px Tahoma;
	text-decoration: underline;
}

.ExcDateBoxDayHeader
{
	background: #85B4F4;
	color: #000000;
	font: bold 11px Tahoma;
	width: 16px;	/* for equal width of the datepane for all months */
}

.ExcDateBoxSelectedDate
{
	background: #336699;
	color: #FFFFFF;
	font: bold 11px Tahoma;
	text-decoration: none;
}

.ExcDateBoxTodayDay
{
	background: #FFFFFF;
	color: #85B4F4;
	font: bold 11px Tahoma;
	text-decoration: none;
}

.ExcDateBoxGoToToday
{
	color: #336699;
	font: bold 9px Tahoma;
}

.ExcDateBoxWeekday
{
	background: #FFFFFF;
	color: #000000;
	font: 11px Tahoma;
	text-decoration: none;
}

.ExcDateBoxWeekend
{
	background: #FFFFFF;
	color: #FF0000;
	font: bold 11px Tahoma;
	text-decoration: none;
}

.ExcDateBoxOffMonth
{
	background: #d0d0d0;
	color: #000000;
	font: 11px Tahoma;
	text-decoration: none;
}

/*------------------------------- Login page ---------------------------------- */

body.LoginPageBorderFrame
{
	background: #ffffff;
}

TABLE.LoginPageMainBackground
{
/*	background: #336699;*/
/*	background: #808080;*/
/*	background: url(../Res/Graphics/Backgrounds/SilverGradient10.jpg) repeat-x scroll left top;*/
	background: #FFFFFF;
}

TD.LoginPageTitleStripe
{
/*	background: #0080e0;*/
/*	background: #336699;*/
/*	background: #85B4F4;*/
/*	background: #3472AC;*/
/*	background: url(../Res/Graphics/Backgrounds/SilverGradient10.jpg) repeat-x scroll left top;*/
	background: #FFFFFF;
/*	color: #A0A0A0;*/
	color: #909090;
	font-family: Tahoma;
	font-size: 11px;
	font-weight: bold;	
}

TD.LoginPageBottomText
{
	font-family: Tahoma;
	font-size: 11px;
	font-weight: normal;	
}

/*------------------------------- Main page styles ------------------------------- */

.TitleText
{
	font-family: Tahoma;
	font-size: 11px;
	font-weight: normal;
	color: #000000;
	text-decoration: none;
}

.TitleText:hover
{
	color: #85B4F4;
}

td.TopMenuCell
{
/*	background: #0080e0;*/
/*	background: url(../Res/Graphics/Backgrounds/Button2.jpg) repeat-x left top;*/
	background: url(../Res/Graphics/Images/menu_bg.gif) repeat-x left top;
/*	height: 26px;*/
	height: 36px;
/*	border-top-color: #B9BCC0;
	border-left-color: #B9BCC0;
	border-bottom-color: #FFFFFF;
	border-right-color: #FFFFFF;
	border-width: 2px;
	border-style: solid;	*/
}

/* Used to make texts in menu items a little bit lower */
td.TopMenuTextSubCell
{
	padding-top: 6px;
}

.TopMenuCellControl
{
	font: bold 11px Verdana, Arial, Helvetica;
/*	color: #336699;*/
	color: #FFFFFF;
	text-decoration: none;
	margin-left: 15px;
	margin-right: 15px;
}

.TopMenuCellControl:hover
{
/*	color: #85B4F4; */
/*	color: #FFFFFF;	*/
	color: #000000;
}

td.TopMenuCellSelected
{
/*	background: #85B4F4;*/
	background: url(../Res/Graphics/Images/menu_bg.gif) repeat-x left top;
}

.TopMenuCellControlSelected
{
	font: bold 11px Verdana, Arial, Helvetica;
	color: #336699;
	text-decoration: none;
	margin-left: 15px;
	margin-right: 15px;
}

.TopMenuCellControlSelected:hover
{
/*	color: #FFFFFF;*/
/*	text-decoration: underline;	*/
}

/* Upper Title band (wide stripe below the menu) and Footer band */
td.TopMenuBasisCell
{
/*	background: #005090;*/
/*	background: #85B4F4;*/
/*	background: #388BFF;	*/
/*	background: #75A4E4;*/
	background: #e0e0e0;
	font-family: Tahoma;
	font-size: 11px;
	font-weight: normal;
	color: #336699;
	padding-left: 10px;
	padding-right: 10px;
}

/* Upper Title band (wide stripe below the menu) and Footer band */
/* This one with the same background as the main menu */
td.TopMenuBasisCellAsMenu
{
/*	background: #005090;*/
/*	background: #85B4F4;*/
	background: url(../Res/Graphics/Images/menu_bg.gif) repeat-x left top;
/*	background: #388BFF;	*/
/*	background: #75A4E4;*/
	font-family: Tahoma;
	font-size: 11px;
	font-weight: normal;
	color: #FFFFFF;
	padding-left: 10px;
	padding-right: 10px;
}

td.TopMenuUnderlineCell
{
	background: url(../Res/Graphics/Images/line_bg.gif) repeat-x left top;
}

td.MenuItemSeparator
{
	background: url(../Res/Graphics/Images/menu_bg.gif) repeat-x left top;	
	padding-left: 0px;
	padding-right: 0px;
	padding-top: 0px;
	padding-bottom: 0px;	
}

/*------------------------------- Tabs page styles ------------------------------- */

.Tabs
{
}

.TabCell
{
	background: url(../Res/Graphics/Backgrounds/Button2.jpg) repeat-x left top;
	height: 20px;
	border-top-color: #B9BCC0;
	border-left-color: #B9BCC0;
	border-bottom-color: #FFFFFF;
	border-right-color: #FFFFFF;
	border-width: 2px;
	border-style: solid;	
}

.TabCellControl
{
	font: bold 11px Tahoma;
	color: #336699;
	text-decoration: none;
	margin-left: 8px;
	margin-right: 8px;
}

.TabCellControl:hover
{
/*	color: #85B4F4;*/
	color: #000000;
}

.TabCellSelected
{
	background: #85B4F4;
}

.TabCellControlSelected
{
	font: bold 11px Tahoma;
	color: #FFFFFF;
	text-decoration: none;
	margin-left: 8px;
	margin-right: 8px;
}

.TabCellControlSelected:hover
{
/*	color: #FFFFFF;	
	text-decoration: underline;*/
}

/*------------------------------- Data pane styles ------------------------------- */
TD.PrimaryDataPane
{
	padding-top: 4px;
	padding-left: 5px; 
	padding-bottom: 4px; 
}

.DataPane
{
	padding-left: 5px; 
	padding-top: 4px; 	
	padding-bottom: 4px; 
	border: solid 1px #A0A0A0;
	background: #efefef;
}

TABLE.DataPaneColumnTable
{
	height: 100%;
}

TABLE.DataPaneColumnTable_Spreaded
{
	width: 100%;
	height: 100%;
}

TD.DataPaneColumn
{
	text-align: left;
	vertical-align :top;
}

TABLE.DataPaneControlCellTableInColumn
{
}

TABLE.DataPaneControlCellTableInColumn_Spreaded
{
	width: 100%;
	height: 100%;
}

TD.DataPaneControlCell
{
	vertical-align :middle;	 /* to align labels and text boxes nicely vertically */
	padding-right: 10px;
/*	height: 18px;*/
	height: 20px;
}

/* For IFrame elements only */
TD.DataPaneControlCell_SpreadedVertically
{
	vertical-align :middle;
	padding-right: 10px;
}

TD.ButtonCell
{
	padding-bottom: 10px;
	padding-left: 10px;
}

/*------------------------------- Grid page styles ------------------------------- */

.TablePage
{
	color: #70A837;
}

/* Grid Table itself */
TABLE.GridTable
{	
}

.TableCell
{
	padding-left: 10px;
	padding-right: 10px;
}

.TableLink
{
	padding-left: 5px;
	padding-right: 5px;	
}

TR.TableRowHeader
{
	color: #000000;
	background: #CCCCCC;
}

TR.TableRowEdit
{
}

TR.TableRowSelected
{
	color: #000000;
}

TR.TableRowUsual
{
	color: #000000;
	background: #FFFFFF;
}

TR.TableRowAlternating
{
	color: #000000;
	background: #E0E0E0;	
}

/*------------------------------- Start Local Module page ---------------------------------- */

body.BodyStartLocalModule
{
	background: #005090;
}

/*------------------------------- The Matrix ---------------------------------- */

.TDMatrixCell
{
	color: #666666;	
	text-align: center;
/*	background-color: #CFD2D7;*/
	background-color: #bbbbbb;
	
	border-top: none 0px #000000;
	border-left: none 0px #000000;
	border-right: solid 1px #000000;
	border-bottom: solid 1px #000000;
	
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 10px;
	padding-bottom: 10px;	
}

.TDTitleMatrixCell
{
	color: #666666;	
	text-align: center;
	background-color: #DFE2E7;
	
	border-top: none 0px #000000;
	border-left: none 0px #000000;
	border-right: solid 1px #000000;
	border-bottom: solid 1px #000000;
	
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 10px;
	padding-bottom: 10px;	
}

.MatrixTextBox
{
	background: #f0ffff;
	border: solid 1px #A0A0A0;
	color: #000000;
	font: bold 11px Tahoma;
	padding-left: 2px;
	text-align: center;
}
