﻿body
{
	background-color: #faf0e6;
	font-family: 'Segoe UI' , Tahoma, Arial, Sans-Serif;
	color: #8b4513; /* saddle brown */
	font-weight: normal;
	font-size: 100%;
	text-align: left;
	font-weight: normal;
}
* 
{
	margin: 0;
	padding: 0;
}
a
{
	color: #00008b;
	float: left;
	margin: 0 3px 0 3px;
	/*   
	display: none;
	*/
}

#topdiv
{
	text-align: left;
	width: 950px;		/* any changes affect header column widths !! */
	position: relative;
	margin-left: auto;
	margin-right: auto;
}
#footer
{
	width: 100%;
	float: left;
	height: 1em;
}
#topmatter
{
	font-size: 0.75em;
    text-align: left; 
    float: left;
    width: 100%;
}
h2
{
	/* title */
	font-size: 1.1em;
	font-weight: bold;
	font-variant: small-caps;
	margin-bottom: 0.5em;
	width: 100%;
	text-align: center;
}
span
{
	/* greetings */
	display: inline;
	width: 50%; 			
	height: 3em;
	float: left;
	padding: 0 0 0 0.4em;
}
p
{	
	/* info, sometimes errors */
	color: #00008b;			/* dk blue */
	width: 85%;
	float: left;
	padding: 0 0.4em;
	margin: 0 0 0.5em 0;
}

table
{
	/* countergrid, fixed header, main grid  */
	color: black;
	border: solid 1px dimgray;
	border-collapse: collapse;
}
#topmatter table
{
	/* countergrid only */
	font-weight: bold;
	height: 2.5em;
	width: 25em;
	font-Size: 0.9em;
	float: right;
}
#topmatter table td
{
	/* countergrid cell */
	width: 10.0%;
}

#topmatter a + div
{
	/* this div is the % facts group */
	float: right;
	margin: 0.5em 0px 0.5em 0px;
}
input[type="text"]
{
	/* the % textbox */
	width: 2.5em;
	text-align: right;
	background-color: White;
	border: solid 1px gray; 
	font-size: 0.8em; 
	float: left;
	color: #8b4513; 
	margin-left: 20px; 
}
#topmatter div span
{
	/* the % symbol */
	text-align: left;
    font-size: 0.9em;
    float: left;
    height: 1em;
    width: 1em;
    padding: 0.2em 0 0 .2em;
}

/**   GRID WORK   **/

#gridholder
{ 
	width: 100%;
	height: 650px;		/* same as CONST PanelMax in code */
	margin-left: auto;
	margin-right: auto;
	float: left;
	padding: 0 0 0 1px; /* make left grid border visible  */
	border-bottom: #c0c0c0 1px solid; /* prettier when scroll to non-row boundary */
}

.gridheader, .griddata
{
	font-size: 0.7em;
	white-space: nowrap;
	width: 100%;
}
.gridheader
{
	/* the separate table === fixed header */
	margin: 0 0 0 1px;
	height: 1.5em;
	text-align: center;
	background-color: #d2b48c;      /* tan */
	font-weight: normal;
	color: #00008b;
	float: left;
}

.griddata
{ 
	/* main gridview data table */
	/* remember: row background color is set via code */
}
.griddata tr
{
	font-weight: normal;
	height: 1.7em;		/* row height */ /* vs line-height? both do same here */
}
.griddata td, .gridheader td
{
	border: #696969 1px solid;
	padding: 0 3px;
}

/*   These are the columns in the main grid body (griddata). All browsers. */
.grdist   { text-align: left;}
.grcall   { text-align: left;}
.grfreq   { text-align: center;}
.grtime   { text-align: center;}
.gruptime { text-align: right;}
.grdigi   { text-align: left;}
.gremail  { text-align: left;}
.grrelay  { text-align: center;}
.grnotes  { text-align: left;}
.grdummy  { text-align: center;}

#hdrdummy
{
	/* Use to make corner where fixed-header meets scrollbars look prettier. */
	/* Using transparent did NOT work.    */
	/* Using 0 or none for borders here did NOT work! */
	background-color: #faf0e6;		   
	border-top: solid 1px #faf0e6;     
	border-right: solid 1px #faf0e6;
	border-bottom: solid 1px #faf0e6;
}

#countergrid td
{
	border: #696969 1px solid;	
}
/*  GENERAL USE */

.borderforerror
{
	border: #b22222 3px dashed; /* firebrick */
	padding: 0 0 0 .5em;
}
.bordernoerror
{
	border: 0;
}
.clearthefloats
{
	clear: both;
}

/* POPUP WORK */

#divpopup, #diverror
{
	position: absolute;
	top: 60px;
	left: 35%;
	width: 300px;
	background-color: #e0ffff;
	padding: 10px 15px 10px 40px;
	border-bottom: #00008b 3px solid;
	border-left: #00008b 1px solid;
	border-top: #00008b 1px solid;
	border-right: #00008b 3px solid;
}
#divpopup li, #diverror li
{
	font-size: 1.1em;
    color: #00008b; 
    margin-bottom: 3px;
}

#divpopup li:first-child, #diverror li:first-child
{
	font-variant: small-caps;
	margin: 0 0 5px 0;
	list-style: none;
	color: maroon;
}
#divpopup ul
{
	list-style: circle;
	margin-bottom: 15px;
}     
#diverror ul
{
	list-style: none;
	margin-bottom: 15px;
} 
#divpopup a, #diverror a
{
	float: right;
	color: maroon;
}        
        
.showme
{
	display: block;
}
.hideme
{
	display: none;
}
/* For the visible_x items, we want the rendering/positioning to remain. */
.visible_yes
{
	visibility: visible;
}
.visible_no
{
	visibility: hidden;
}
