/*the body tag*/

body {
	background-color: #77aacc;
	color: #000000;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 10pt;
	text-align: center;	
	margin: 0;
	padding: 20px 0 50px 0; 
}


/*frame for the whole page*/
#frame {
  position: relative; 
  background-color:  white;
  margin: 0px auto;
  text-align: left;
  width: 790px;
  border: 1px solid black;
  padding: 0 
}


/*******the topBox***********/

#topBox {
  padding: 1px;
  margin: 0;  
  clear: both;
  background-color: white;  
  color: black;
}

/*table-layout*/
#topBox table { 
	background-image: url('images/cern_logo2.gif'); background-repeat: no-repeat; 
   width: 100%; 
   text-align: center 
}

/*the headline*/
#topBox table h1 { 
		 font-family: "Arial", serif;
		 font-size: 200%;
		 margin-bottom: 10px;
		 margin-top: 10px;
		 }

/*the text over and left to the headline*/
#topBox table h5 { 
		 font-family: "Arial", serif;		 
		 font-size: 120%;
		 margin-top: 20px;
		 margin-bottom: 0;
		 }

/*any link in the topBox (the search-link for the time being)*/
#topBox a {
		 text-decoration: none;
}


/*the search form*/
#searchArea {
	left: 0px;
	margin: 1px;
	padding: 1px 1px 1px 1px;
	position: relative;
}

#searchInput {		
	font-family: "MS Sans Serif", Arial, sans-serif;
	font-size: 10pt;
	font-style: normal;
	font-weight: normal;
	color: #000000;
	background-color: #88bbdd;
	border-color: #88bbdd;
}

#searchButton {
	font-family: "MS Sans Serif", Arial, sans-serif;
	font-size: 10pt;
	font-style: normal;
	font-weight: normal;
	color: #666666;
	background: white; 
	text-decoration: none;

}
/********End of topBox***********/

/****************************Drop down menus*******************************/

/*the classes shares fonts*/
div.menuBar,
div.menuBar a.menuButton,
div.menu,
div.menu a.menuItem {
  font-family: "MS Sans Serif", Arial, sans-serif;
  font-size: 8pt;
  font-style: normal;
  font-weight: normal;
  color: #000000;
}

div.menuBar {
  background-color: #77aacc;
  border-bottom: 1px solid #000000;
  border-top: 1px solid #000000;
  padding: 4px 2px 4px 2px;
  text-align: center;
}

/*default same border-color as menuBars background -->invisible*/
div.menuBar a.menuButton {
  background-color: transparent;
  border: 1px solid #77aacc;
  color: #000000;
  cursor: default;
  left: 0px;
  margin: 1px;
  padding: 2px 30px 2px 1em;
  position: relative;
  text-decoration: none;
  top: 0px;
  z-index: 100;
}


div.menuBar a.menuButton:hover {
  background-color: transparent;
  border: 1px outset #77aa77;
  color: #000000;
}

div.menuBar a.menuButtonActive,
div.menuBar a.menuButtonActive:hover {
  background-color: #101060;
  border: 1px inset #77aacc;
  color: #ffffff;
  left: 1px;
  top: 1px;
}

/*absolute positioning = excluded from normal flow*/
div.menu {
  background-color: #77aacc;
  border: 2px outset #77aacc;
  left: 0px;
  padding: 0px 1px 1px 0px;
  position: absolute;
  top: 0px;
  visibility: hidden;
  z-index: 101;
  text-align: left;
}

div.menu a.menuItem{
  color: #000000;
  cursor: default;
  display: block;		/*linebreak before & after*/
  padding: 3px 1em;
  text-decoration: none;
  white-space: nowrap;	/*keeps menu-text on same level*/
}

div.menu a.menuItem:hover, div.menu a.menuItemHighlight  {
  background-color: #101060;
  color: #ffffff;
}

div.menu a.menuItem span.menuItemText {}

div.menu a.menuItem span.menuItemArrow {
  margin-right: -.75em;
}

div.menu div.menuItemSep {
  border: 1px inset #77aacc;
  margin: 4px 2px;
}

/*****************************END OF MENUS*******************************/



/****Left column*****/
#leftCol {
  padding-top: 10px;
  margin: 0;
  float: left;
  width: 150px;
  background-color:  white;
  color: black;
  overflow: hidden;  
  }


/*links in the left column*/
a.mainLinks, a.links, a.subLinks {
	font-family: "MS Sans Serif", Arial, sans-serif;
	font-style: normal;
	font-weight: bold;
	color: #666666;
	text-decoration: none; 
}

a.mainLinks {
	font-size: 8pt;
	margin-left: -7px;	
}
a.links, a.subLinks   {
	font-size: 8pt;
}

a.mainLinks:hover, a.subLinks:hover {
	color: blue;
} 

a.links:hover {
	color: red;
} 

/*add-on padding, one more for each level*/
div.linkPadding {
	padding: 5px 0 0 0;
	margin-left: 12px;
} 

div.passiveLinkPadding {
	padding:  0 0 5px 0;
	margin-left: 12px;
}

div.activeLinkPadding {
	padding: 0 0  5px 0;
	margin-left: 0px;
} 

/****end of left column****/


/****right column****/

#rightCol {
  padding: 5px;
  border: 0px none;
  margin: 0;
  float: right;
  width: 160px;
  background: white;
  color: black;
  overflow: hidden;
  text-align: center
 }
#rightCol img {
	margin-top:50px;
	padding-top:20px;
}

/****end of right column**********/




/***middle Column(s) ******/

#middleCol {
  padding: 15px 5px 5px 5px;
  margin: 0 170px 0 150px;
  color: black;
  background: white;
  border-left: 1px solid black;
  border-right: 1px solid black;  
  overflow: hidden;
  }


/*no rightColumn,extend the middle column all the way*/
#middleFatCol {
  padding: 15px 5px 5px 5px;
  margin: 0 0px 0 150px;
  color: black;
  background: white;
  border-left: 1px solid black;
  overflow: hidden;
  }


/*all the links in the main column*/
/*the links*/
a {
	color: #114466;
}

/*the links when mouse is over them*/
a:hover {
	color: #dd0000;
	}
	

/***common for all calculators***/
.middleCalculators {
	  padding: 15px 5px 30px 5px;
	  margin: 0;  
	  background: white;  
	  color: black;
}

.middleCalculators table {			
		border: 0px solid #000000;			
		background: #444444;
}


.middleCalculators table td {
	padding: 4px 2px 4px 2px;
}

/* the calc Variables Area*/
.calcVariables {
	position: relative;
	float: left;		
	border: 0px none;
	margin: 0;
	width: 180px;
	color: black;
	overflow: visible
}

.calcResults {
	border: 0px none;
	width: 240px;			
	background: white;
	color: black;
	overflow: hidden; margin-left:190px; margin-right:0; margin-top:0; margin-bottom:0
}

.calcResults table,
.calcVariables table {
		text-align: center; /*centers only input fields, not the text in them*/
		width: 100%;
}

		
.calcButtons {
	padding: 40px 0 0 0;
	
}

/*****classes used in calculators (writeable and non-writable fields)****/
.enabledText {
	background-color: white;
}

.disabledText {
	background-color: buttonFace;
	color: black;
	text-align: right;
}



/*fatTables are tables that uses the whole area (no right column), statTables = statistics table*/
.peopleTable,
.middleFatTables,
.middleTables,
.statTables {
	  padding: 3px;
	  margin: 0;  
	  background: white;  
	  color: black;
	  text-align: center;
	  
}

/*the table tags in a middleTables-div*/
.middleTables table {			
		border: 0px solid #000000;
		margin: 2% 10% 2% 10%;	
		width: 80%;
		background-color: #444444;
}

.statTables table {			
		border: 0px solid #000000;
		margin-left: 5%;	
		width: 65%;
		background-color: #444444;
}

.middleTables table td {
	padding: 4px 2px 4px 2px;
}



.middleFatTables table {
		border: 0px solid #000000;			
		margin: 2% 1% 2% 1%;	
		width: 98%;
		background-color: #444444;		
}

.middleFatTables table td {
	padding: 4px 4px 4px 4px;
}

.peopleTable table {
		border: 0px solid #000000;			
		margin:  auto;
}

.peopleTable table td {
	padding: 2px 8px 2px 8px;
}


/*table-cell classes*/
.tableData {		
		background: #e6e6e6;
		text-align: center;
		font-family: "MS Sans Serif", Arial, sans-serif;
	   font-size: 8pt;
	   font-style: normal;
	   font-weight: normal;
	   color: #000000;   	
}


.tableHeader {	
	background: #77aacc;
	text-align: center;
	font-family: "MS Sans Serif", Arial, sans-serif;
   font-size: 8pt;
   font-style: normal;
   font-weight: bold;
   color: #000000;   
}

.tableSider {	
	background: #eeddbe;
	text-align: center;
	font-family: "MS Sans Serif", Arial, sans-serif;
   font-size: 8pt;
   font-style: normal;
   font-weight: bold;
   color: #000000;   
}

.tableFormula {
	background: #e6e6e6;
	text-align: center;
	font-family: "MS Sans Serif", Arial, sans-serif;
   font-size: 8pt;
   font-style: normal;
   font-weight: bold;
   color: #000000;   
	white-space: nowrap;
}

h2, h3, h4, .tableHeading, .tableSubHeading, .subHeading, .heading {
		font-family: "Arial", serif;
		font-weight: bold;
}

.tableHeading,
.tableSubHeading {
		text-align: center;
}


.heading,
.subHeading {
		text-align: center;
}

h2,
.tableHeading,
.heading {
		font-size: 140%;
}

h3,
tableSubHeading,
.subHeading {
	font-size: 120%;	
}

h4 {
	font-size: 100%;
}

/*frame for the mixer-prototypes*/
#viFrame {
	border-width: 0px;
	border-style: solid;
	border-color: #77aacc;
	padding: 0px 0px 0px 0px;
	margin:  0px 0px 0px 0px;

}


#mixerPanel {
	text-align: center;
}

#mixerPanel table{
	text-align: left;
	margin: auto;
	} 
	

	

.rightPara {
	text-align: right;
}

.statPic {
	width: 1px;
	height: 1px;
	border: 0px none;
}

div.centerImage {
	text-align: center;
	font-style: italic;
}


/*the footer div*/
#footer {
	font-family: "times", serif;
	font-size: 11pt;
	font-style: italic;
	font-weight: normal;
	color: #000000;	
	text-align: left;
}

/******tableReader & selector ********/

div.tablePart table {
	background-color: #444444;
}


.tabs {
	margin: 2px 0 0 0;
	padding-top: 2px;
	padding-bottom: 5px;
	border-bottom: 0px solid #000;
}

.tabs ul {
	margin: 0;
	padding: 0;
	display: block;
}

.tabs ul li {
	background: silver;
	color: black;
	margin-right: 3px;
	padding: 2px 15px 5px;
	border: 1px solid #000;
	list-style: none;
	display: inline;
}

.tabs ul li a {
	text-decoration: none;
	font-weight: bold;
}

.tabs ul li.selected a{
	font-style: italic;
}
.tabs ul li.selected {
	background: #77aacc;	
	color: black;
	border-bottom: 0px solid #77aacc;		
	list-style: none;
	display: inline;
}



/*pop-up fullscreens*/
div.fullScreen {
		padding: 4px 10px 4px 10px;	
}

div.fullScreen table {
	background-color: #444444;
}



/*the new test-result pop-ups*/

.testResultDiv table{
background-color: #444444;
}
.NNtopTable
{
position: absolute;
left:10px;
top: 5px;
}
.IEtopTable
{
position: absolute;
left:10px;
top: 20px;
}

/****AGE-Results******/
table.ageTab {width:945px; table-layout:fixed;}

.ageNavBar
{
position : relative;
left : 0px;
top : 0px;
width : 945px;
}

.ageContainer
{
position : absolute;
left : 10px;
top : 120px;
width : 960px;
height : 400px;
overflow: scroll; 
visibility: visible; 
clip: rect(0px 960px 383px 0px);
}

.NNChemtopTable
{
position: absolute;
left:10px;
top: 0px;
}
.IEChemtopTable
{
position: absolute;
left:10px;
top: 25px;
}

/*****CHEM-Results******/
table.chemTab {width:915px; table-layout:fixed;}

.chemNavBar
{
position : relative;
left : 0px;
top : 0px;
width : 915px;
}

.chemContainer
{
border: solid 0px red;
position : absolute;
left : 10px;
top : 120px;
width : 930px;
height : 400px;
overflow: scroll; 
visibility: visible; 
clip: rect(0px 930px 383px 0px);

}