/*/////////////////////////////////////////////////////// OVERALL DEFINITIONS ///////////////////
_______________________________________________________________________________________________________ */

body {
	margin: 0px;
	padding: 0px;
	border: none;
	font-family: Verdana, sans-serif;
	font-size: 8px;
	line-height: 8px;
	color: #000000;
	}

h3 { font-size: 1.4em; line-height: 1.0em; margin: 0.5em 0px; }
h4 { font-size: 1.2em; line-height: 1.0em; margin: 0.5em 0px; }
h5 { font-size: 1.1em; line-height: 1.0em; margin: 0.5em 0px; }
h6 { font-size: 1.0em; line-height: 1.0em; margin: 0.5em 0px; }
 p { font-size: 1.0em; line-height: 1.0em; margin: 0.5em 0px; }

form, form fieldset { margin: 0px; padding: 0px; border: none; }
	
a { color: #FF0000; }
a:visited { border: none; }


/*/////////////////////////////////////////////////////// COMMON DEFINITIONS //////////////
_______________________________________________________________________________________________________ */


/*............................... TABLES ........*/

table.preformatted {
	background: #EEEEEE;
	border: 1px solid #999999;
	}
	
	table.preformatted td {	vertical-align: top; }


table tr.pagination {}
	table tr.pagination td { padding: 2px 0px 4px 0px; }
		table tr.pagination td span { padding: 0px 2px; background: #CCCCCC; font-size: 8px }
		table tr.pagination td a { padding: 0px 1px; color: #FFFFFF; text-decoration: none; background: #0099CC; font-size: 8px }



/*............... IMAGE BUTTON LINKS (component) ..........*/

/* NOTE: margins and paddings are set for a 22x22 icon,
   so please override locally otherwise */

table.imgbtngrp { margin: 0px; }

table.imgbtnlnk {
	margin: 0px;
	padding: 0px;
	text-align: left;
	/*border-collapse: collapse;*/
	/*border-spacing: 0px;*/
	border: none;
	}

	table.imgbtnlnk td { text-align: left; vertical-align: middle; }
		table.imgbtnlnk td.imgstatus { padding-right: 3px; }

	table.imgbtnlnk td img {
		margin: 0px;
		padding: 0px;
		display: block;
		border: none;
		}

	table.imgbtnlnk td span {
		margin: 0px 0px 0px 3px;
		padding-bottom: 2px;
		display: block;
		font-size: 9px;
		line-height: 9px;
		white-space: nowrap;
		color: #666666;
		}

	table.imgbtnlnk td p ,
	table.imgbtnlnk td blockquote {
		margin: 0px 0px 0px 3px;
		padding: 0px;
		font-size: 10px;
		line-height: 10px;
		font-weight: bold;
		white-space: nowrap; 
		}

			
/* ==== STATUS BAR APPPEARENCE ==== */

table.imgbtngrp.statusbar table.imgbtnlnk td img { width: 22px; height: 22px; }

	table.imgbtngrp.statusbar table#statusMonitorPlant { margin-left: 5px; }
		table.imgbtngrp.statusbar table#statusMonitorPlant td span { display: none; }
		table.imgbtngrp.statusbar table#statusMonitorPlant td blockquote { margin-left: 0px; }

	table.imgbtngrp.statusbar table#statusMonitorConnection { margin-left: 5px; border-left: 1px solid #D0D0D0; }
	table.imgbtngrp.statusbar table#statusMonitorConnection td.imgstatus { padding-left: 5px; }
	
	table.imgbtngrp.statusbar table#statusMonitorConnection td.txtstatus { display: none; }
	table.imgbtngrp.statusbar table#statusMonitorAcquisition td.txtstatus  { display: none; }
	table.imgbtngrp.statusbar table#statusMonitorAlarm td.txtstatus  { display: none; }


	table.imgbtngrp.statusbar table#statusProfileUser { display: none; }
	table.imgbtngrp.statusbar table#statusProfileHome { margin-left: 2px; border-left: 1px solid #D0D0D0; }
		table.imgbtngrp.statusbar table#statusProfileHome td.imgstatus { padding-left: 5px; padding-right: 0px; }
	table.imgbtngrp.statusbar table#statusProfileLogout { display: none; }


/* ==== COMPACT APPPEARENCE (login) ==== */

table.imgbtngrp.compact table.imgbtnlnk td img { width: 22px; height: 22px; }

	table.imgbtngrp.compact table#statusMonitorPlant { margin-left: 5px; }
		table.imgbtngrp.compact table#statusMonitorPlant td span { display: none; }
		table.imgbtngrp.compact table#statusMonitorPlant td blockquote { margin-left: 0px; width: 110px; height: 10px; display: block; overflow: hidden; }

	table.imgbtngrp.compact table#statusMonitorConnection { margin-left: 5px; border-left: 1px solid #D0D0D0; }
	table.imgbtngrp.compact table#statusMonitorConnection td.imgstatus { padding-left: 5px; }
	
	table.imgbtngrp.compact table#statusMonitorConnection td.txtstatus { display: none; }
	table.imgbtngrp.compact table#statusMonitorAcquisition td.txtstatus  { display: none; }
	table.imgbtngrp.compact table#statusMonitorAlarm td.txtstatus  { display: none; }



/*............... NETWORK > INSTRUMENTS TABLES (component) ..........*/

td.grdCmds * { display: none; }



/*||||||||||||||||||||||||||||||| STATUS HEADER ||||||
__________________________________________________________ */

#syStatusbar {
	position: relative;
	height: 28px;
	margin: 0px;
	padding: 0px;
	background:  #C0C0C0;
	/*border-bottom: 2px solid #1B0000; POCKET IE ALWAYS SHOWS FRAMESET BORDER, SO NOT NECESSARY */
	}

	#syStatusbar table#syStatusbarWrapper {
		width: 240;
		margin: 4px 0px;
		padding: 0px;
		border-collapse: collapse;
		border-spacing: 0px;
		border: none;
		}

		#syStatusbar td #syStatusbarWrapperLeft { margin: 0px; padding: 0px; text-align: left; }
			#syStatusbar td#syStatusbarWrapperLeft table.imgbtngrp { margin-right: auto; }

		#syStatusbar td#syStatusbarWrapperRight { margin: 0px; padding: 0px; text-align: right; }
			#syStatusbar td#syStatusbarWrapperRight table.imgbtngrp { margin-left: auto; }



/*||||||||||||||||||||||||||||||| WORKING AREA ||||||
__________________________________________________________ */

#workingArea {
	width: 240px; 
	margin: 0px;
	padding: 0px;
	}

	/* ==== DEBUGGING ==== */
	/*#workingArea { background: transparent url(/Images/_layoutgrid.png) no-repeat top left; }*/


/*............... WRAPPER AREA ...............*/

#workingArea .wkaWrapperArea {
	width: 240px;
	margin: 0px;
	padding: 0px;
	border: none;
	overflow: auto;
	}

	#workingArea .wkaWrapperArea.showFilter {
		width: 238px;
		height: 288px;
		background: #EEEEEE;
		border: 1px solid #999999;
		}


/*............... TOOLBAR AREA ...............*/

#workingArea .wkaToolbarArea { display: none; }



/*............... FILTER AREA ...............*/

#workingArea .wkaFilterArea { display: none; }

	#workingArea .wkaWrapperArea.showFilter .wkaFilterArea {
		width: 232px;
		margin: 2px;
		padding: 5px 0px 0px 0px;
		display: block;
		background: #DDDDDD;
		border: 1px solid #666666;
	}

	/* >>>>>>>>>>>>>>>>>>>>>>>>>>>>>> what is it? */
	.wkaFilterArea table {
		margin: 0px 5px 2px;		
		border-collapse: collapse;
		border-spacing: 0px;
		border: none;
		font-size: 8px;
		}


/*............... CONTENT AREA ...............*/

#workingArea .wkaContentArea {
	width: 240px;
	margin: 0px;
	padding: 0px;
	text-align: left;
	font-size: 8px;
	}

	#workingArea .wkaWrapperArea.showFilter .wkaContentArea {
		width: 232px;
		margin: 2px;
		background: #FFFFFF;
		border: 1px solid #999999;
		}


/*/////////////////////////////////////////////////////// SPECIFIC PAGES DEFINITIONS ////////////
_______________________________________________________________________________________________________ */


/*||||||||||||||||||| LOGIN PAGE ||||||||||||||||
__________________________________________________________ */


#boxLogin { width: 240px; }
	
	#boxLogin table.preformatted { width: 240px; }

	#boxLogin #boxLoginHead { display: none; }
	
	#boxLogin #boxLoginMonitor #boxLoginMonitorWrap { 
		margin: 2px;
		padding: 5px 0px;
		background: #C0C0C0;
		border: 1px solid #999999;
		}

	#boxLogin #boxLoginMonitor hr { margin: 5px 20px; }
	
	#boxLogin #boxLoginInput { padding: 0px 40px; }
	#boxLogin #boxLoginStore { padding: 5px 40px; }

	#boxLogin #boxLoginError { padding: 0px 20px; text-align: center; }
			
			#boxLogin #boxLoginError strong {
				margin: 0px;
				padding: 2px 5px;
				color: #FF0000;
				display: block;
				background:  #FFFFCC;
				border: 1px solid #666666;
			}

	#boxLogin #boxLoginSubmt { padding: 0px 20px 10px 20px; text-align: center; }
		#boxLogin #boxLoginSubmt input { width: 120px; height: 20px; margin: 2px auto 0px; }


/*||||||||||||||||||| ERROR PAGE ||||||||
__________________________________________________________ */

/* WARNING: DEPENDING ON ASP:PANEL SO SOMETIMES TABLE, SOMETIMES DIV */

.customCourtesy {
	margin: 10px 20px;
	padding: 5px 10px 15px 10px;
	}

	.customCourtesy.error { background:  #FFFFCC; border: 1px solid #666666; }

	.customCourtesy h3 { margin-bottom: 20px; padding-bottom: 2px; border-bottom: 1px solid #999999; }
		.customCourtesy.message h3 { color: #001447; }
		.customCourtesy.error h3 { color: #CC0000; }

	.customCourtesy h4 { margin-bottom: 15px; }
	.customCourtesy.message h4 { font-weight: normal; color: #333333; }

	div.customCourtesy pre { display: none; }
