/* Stylesheet for new Micro-Robotics web site - common styles
   (in root directory) */

/**** general (all pages) ****/

html
{
	font-size: 16px;	/* see http://csswizardry.com/web-design+/#type */
}


div.clear
{
	clear: both;
}

div.footer
{
	background: black;
	color: white;
	text-align: center;
}

div.topmenu a:hover, div.leftnav a:hover
{
	color: white;
	text-decoration: underline;
}

/*
div.displaypanel a:hover
{
	color: #966;
	text-decoration: underline;
}
*/

code
{
	white-space: pre;
	color: #060;
	/* background: white; */
	font-family: 'Courier New', monospace;
  font-weight: normal;
	font-size: 10pt;
}

/****************** Main page layout *********/

body
{
  background: #666;	/* outside of content page */
  margin: 0;
  padding-bottom: 900px;
}

/* contains the page edge shadow */
div.shadow
{
  width: 940px;
  background: #999 url('backgrounds/shadow900.jpg') repeat-y center;
  margin: 0 auto;
}

/* the whole page including headers and side menus */
div.wholepage
{
  width: 900px;
  margin: 10px auto;
  color: black;
  background: #bbb;
  font-family: 'Trebuchet MS', Arial, Helvetica, sans-serif;
  font-size: 85%;
  padding: 0;
}

table
{
  border-collapse: collapse;
  
}


table tr td
{
  padding: 2px;
  font-size: 14px;
  vertical-align: top;
}



div.debug
{
	border: 1px solid red;
	padding: 2px;
	background: white; 
	color: black; 
	font-weight: normal;
	font-size: 65%;
}

/* boxes with round corners */

table.roundcorners
{
	border-collapse: collapse;
	border: none;
}

table.roundcorners tr td
{ 
	font-size: 0; 
	border: none; 
	padding: 0;
	margin: 0 
}

table.roundcorners tr td.tablecorner
{ 
	width: 10px; 
	height: 10px; 
	font-size: 0 
}

/**********/


/*********** top header and menu ******/

div.pageheader
{
	margin: 0 auto;
	background: #eef url(backgrounds/pageheaderbg.png) repeat-x;
	color: #666;
	height: 100px;
	padding: 10px;
}


div.headerstrapline
{
	width: 500px;
	clear: right;
	float: right;
	margin: 0 0 0 0;
	padding: 0 0 0 0;
/*	background: #eef; */
	color: #666;
	font-weight: normal;
	font-size: 1.3em;
	text-align:right;
}

div.headersearchbox
{
  white-space: nowrap;
  clear: right;
  width: 500px;
  height: 28px;
  float: right;
  margin: 7px 0 0 0;
  padding: 0;
  text-align: right;
  color: black;
}

div.headercontact
{
	width: 300px;
	float: right;
	clear: right;
	margin: /* 38px */ 5px 0 0 0;
	padding: 0 0 0 0;
	text-align: right;
	font-size: 1.2em;
	color: #666;
}

div.topmenu
{
/*	position: relative;
	top: 95px;
	left: 20px; */
	position: relative;
	top: 5px;
	bottom: 0;
	width: 400px;
/*	background: #bbf; */
	color: black;
	font-size: 1.3em;
	padding: 0;
}

div.topmenu a
{
	color: black;
/*	background: #ddf; */
	text-decoration: none;
}

div.topmenu a.highlight
{
	color: #ff9;
/*	text-decoration: underline; */
	/* background: #eef; */
}


/* Main left navigation panel floats to left inside content panel */
div.leftnav
{
	margin-top: 0;
  width: 180px;
  float: left;
  padding: 20px 10px;
/*   background: #eee; */
  color: white;
  font-weight: normal;
  min-height: 200px;
}

h1.lmenu	/* heading at top of left menu matches top menu name */
{
	margin: 0 0 20px;
	font-size: 1em;
	color: #600;
	text-align: center;
}

div.lnav1
{
/*	border-top: 1px solid white;
	border-left: 1px solid white;
	border-bottom: 1px solid #666;
	border-right: 1px solid #666;
*/
	padding: 2px;
	margin: 5px 0;
}

div.menulevel1
{
	margin: 2px 0 2px 0;
	padding: 1px 1px;
	font-size: 1.2em;
	text-transform: uppercase;
}

div.menulevel2
{
	margin: 2px 0 2px 15px;	/* 5px */
	padding: 1px 1px;
	font-size: 1em;
}


div.leftnav a
{
	text-decoration: none;
	color: black;
}

div.leftnav a.nav-highlight
{
	color: #ff9;
}

/*** general content styles ***/


img.fileicon
{
  vertical-align: middle;
  height: 16px;
  width: 16px;
  border: none;
}


/* objects - code snippets and release note */

object
{
  background: white;

}

object.htmlobject
{
  width: 670px;
  height: 500px;
  background: white; 
  margin: 10px;
  border: 1px solid #aaa;
}

iframe
{
  width: 650px;
  height: 500px;
  background: white;
  margin: 10px;
  border: 1px inset #ccc;
}


/****************** Main Page Contents ****************** */

/* this container allows "wholepage" background colour through for 
   the left nav panel */
div.navandcontent
{
	padding: 0 0 0 200px;	/* space for left nav panel */
}


div.content
{
	padding: 0 0 0 10px;
  min-height: 400px;
  background: /* white; */ #ddd;
  color: #666;
}

/* columns by tables */
table.columns
{
	border-collapse: collapse;
}

table.columns tr td
{
	vertical-align: top;
	padding: 10px 10px 10px 0;
}

/******** various <Hn> heading styles ************/

h1
{
	margin: 0;
	padding: 20px 0;
	font-weight: bold;
	font-family: Verdana, sans-serif;
	color: #900;
}

h2, h3, h4, h5, h6
{
	margin: 10px 0 0;
	padding: 0;
	font-weight: bold;
	font-family: Verdana, sans-serif;
	color: #900;
}


h1 { font-size: 123% }
h2 { font-size: 110% }
h3 { font-size: 98% }
h4 { font-size: 87% }
h5 { font-size: 78% }
h6 { font-size: 70% }


h1.bar
{
	background: #f99 url(backgrounds/hbg-20.png);
	color: white;
	height: 20px;
	padding-left: 5px;
}

h2.bar
{
	background: #f99 url(backgrounds/hbg-18.png);
	color: white;
	height: 18px;
	padding-left: 5px;
}

h3.bar
{
	background: #f99 url(backgrounds/hbg-16.png);
	color: white;
	height: 16px;
	padding-left: 5px;
}

h4.bar
{
	background: #f99 url(backgrounds/hbg-14.png);
	color: white;
	height: 14px;
	padding-left: 5px;
}

h5.bar
{
	background: #f99 url(backgrounds/hbg-13.png);
	color: white;
	height: 13px;
	padding-left: 5px;
}

h6.bar
{
	background: #f99 url(backgrounds/hbg-12.png);
	color: white;
	height: 12px;
	padding-left: 5px;
}

h2.line, h3.line, h4.line, h5.line, h6.line
{
	border-top: 1px solid #900;
	margin-top: 2%;
	padding-top: 2%;
}

div.leftcol
{
	width: 320px;
	margin: 0 20px 0 0;
	float: left;
}

div.rightcol
{
	width: 320px;
	margin: 0;
	float: left;
}

/* lists */
ul, ol
{
	margin: 0;
	padding: 0;
}

ul li, ol li
{
	padding: 0;
	margin: 2px 0 0 20px;
}

ul.capindex li
{
	padding: 0;
	margin: 0 0 0 20px;
	font-size: 1em;
}


/* panel for displaying product info etc  */


div.displaypanel
{
	margin-bottom: 10px;
	border-top: 1px solid #999;
	border-left: 1px solid #999;
	border-right: 2px solid #666;
	border-bottom: 2px solid #666;
	padding: 10px;
	color: #666;
	background: white;
}

div.displaypanel h2:first-child, div.displaypanel h3:first-child
{
	margin-top: 0;
}

/* tables listing files (e.g. datasheets) */
table.file-list
{
	border-collapse: collapse;
}

table.file-list tr td
{
	padding: 0 20px 5px 0;
	vertical-align: top;
}

table.file-list tr td a 
{
	text-decoration: none;
}

table.file-list tr td a img
{
	border: none;
}	


/* for syntax highlighted Venom code */

div.show_code
{
  background: white;
  color: black;
  margin: 10px 0;
  padding-left: 10px;
  font-family: monospace;
  white-space: pre;
}

span.keyword
{
  color: blue;
}

span.message
{
  color: #c00;
}

span.string
{
  color: #930;
}

span.comment
{
  color: green;
  font-style: italic;
}

span.symbol
{
  color: black;
  font-weight: bold;
}

span.number
{
  color: #066;
}

