/* Simtec Electronics website CSS
 *
 * Written by 
 * Brett Parker (http://www.sommitrealweird.co.uk/)
 * Vincent Sanders
 *
 * Copyright 2006 Simtec Electronics 
 */

body {
	background: white;
	color: black;
	font-family: arial, helvetica, sans-serif;
}

/* dont want any borders round images */
div.content img { border: 0; }

/* set headings to dark green */
div.content h1, div.content h2, div.content h3 {
	color: #244917;
}


/* make tables pretty */
div.content th {
	background-color: #20aa20;
	padding: 0.25em;
}

th.right {
	text-align:right;
}

tr.topborder {
        border-top: 1em solid #20aa20 ;
}

/* table with "lighter" colouring */
table.light th {
	background-color: #99ff99;
	padding-right: 10px;
	padding-left: 10px;	
}

table.light {
	background-color: #ffffff;
}

/* filelist table for pretty lists of files in multiple formats */
table.filelist tr { 
        border-top: thin solid /* #20aa20 - setting the color doesnt work in anything other than firefox */; 
}

table.filelist td { 
        padding: 5px; 
}

table.filelist    { 
	background-color: #ffffff;
        border-collapse: collapse; 
        border-top: hidden; 
}

/* tables with lists of prices */
table.pricelist tbody th {
	text-align:center;
	background-color: #99ff99;
	
}

table.pricelist td {
	text-align:center;
	background-color: #ffffff;
	
}

/* tables of data */
table.data td {
	text-align: center;
	border-right: 2px solid #99ff99;
	border-bottom: 2px solid #99ff99;
	padding-left: 1em;
	padding-right: 1em;
}

table.data th {
	border-top: 2px solid #99ff99;
}

table.data {
	background-color:#ffffff;
	border-collapse: collapse;
	border-bottom:hidden;
	border-top:hidden;
	border-right:hidden;
}

/* three classes for thumbnail images one normal two whith float */
img.thumbnail {
	margin-right: 10px;
	margin-left: 10px;	
}

img.thumbnail-left {
	float:left;
	margin-right: 10px;
}

img.thumbnail-right {
	float:right;	
	margin-left: 10px;
}

/* little class to remove float */
br.clear, h2.clear, h3.clear, p.clear {
	clear:both;
}

/* class for preformatted screen dumps */
pre.screen {
	background-color: #e0e0e0;
	margin-left: 1em;
	padding-left:1em;
	padding-right:1em;
	padding-top:5px;
	padding-bottom:5px;
}

/* class for features */
div.feature h2, div.feature div {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

div.feature div {
	margin-left: auto;
	margin-right: auto;
}

/* class for convert */
convert h1 {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

/* class for caution divs */
div.caution {
        border: 5px solid #FF0000;
	padding-right: 2px;
	padding-top: 2px;
	padding-bottom: 2px;
	padding-left: 50px;
	min-height: 40px;
	clear: both;
	background: #FFFFFF url(http://www.simtec.co.uk/images/caution-thumb.png) no-repeat left;
	margin-left: 5%;
	margin-right: 5%;
}
div.caution p {
	margin-top:0px;
	margin-bottom:0px;
}

/* class for info divs */
div.info {
        border: 5px solid #0000FF;
	padding-right: 0px;
	padding-top: 0px;
	padding-bottom: 0px;
	padding-left: 55px;
	min-height: 40px;
	clear: both;
	background: #FFFFFF url(http://www.simtec.co.uk/images/info-thumb.png) no-repeat top left;
	margin-top:5em;
	margin-left: 5%;
	margin-right: 5%;
}
div.info p {
	margin-top:0px;
	margin-bottom:0px;
}


/* header class */
div#header {
	background: #20aa20;
	color: white;
	position: relative;
	padding-left: 10px;
	padding-right: 10px;
}

div#header div.tlc,div#header div.trc,div#header div.brc{
	width: 10px;
	height: 10px;
	font-size: 0.1em;
}

div#header div.tlc {
	background: url(/images/tlc.gif);
	position: absolute;
	left: -10px;
	top: 0px;
}

div#header>div.tlc {
	left: 0px;
}

div#header div.trc {
	background: url(/images/trc.gif);
	position: absolute;
	right: 10px;
	top: 0px;
}

div#header>div.trc {
	right: 0px;
}

div#header div.brc {
	background: url(/images/brc.gif);
	position: absolute;
	right: 10px;
	bottom: 10px;
}

div#header>div.brc {
	bottom: 0px;
	right: 0px;
}

div#header div.menu {
	position: relative;
	width: 65%;
	margin-top: 0px;
	margin-left: 0px;
	margin-right: 0px;
	margin-bottom: 0px;
	float: left;
}

div#header div.menu ul {
	margin-left: 0.25em;
	margin-top: 0;
	margin-bottom: 0;
	padding-top: 0.25em;
	padding-left: 0;
}

div#header div.menu ul li {
	list-style-type: none;
	letter-spacing: -0.06em;
}

div#header div.menu ul li.selected {
	color: #000000;
	background: #20aa20;
}

div#header div.menu ul,div#header div.menu ul li {
	display: block;
}

div#header div.menu ul li {
	float: left;
}

div#header div.menu ul li ul li {
	float: none;
	clear: both;
}

div#header div.menu ul li:hover a:hover,div#header div.menu ul li a:hover,div#header div.menu ul li:hover,div#header div.menu ul li.selected:hover a:hover,div#header div.menu ul li.selected a:hover,div#header div.menu ul li.selected:hover {
	color: #add7ad;
	background: #20aa20;
}

div#header div.menu ul li:hover ul,div#header div.menu ul li.selected:hover ul {
	display: block;
	position: absolute;
	margin: 0;
	padding-left: 0px;
	padding-top: 0px;
	padding-bottom: 0px;
	padding-right: 4px;
	z-index: 200;
}

div#header div.menu ul li:hover ul li,div#header div.menu ul li.selected:hover ul li {
	display: block;
	margin: 0;
	padding-right: 4px;
	list-style-type: none;
}

div#header div.menu ul li:hover ul li a,div#header div.menu ul li.selected:hover ul li a {
	width: 100%;
	padding-left: 4px;
	padding-right: 4px;
	text-align: left;
	display: block;
	margin: 0px;
	color: white;
	background: #20aa20;
}

div#header div.menu ul li:hover ul li:hover a,div#header div.menu ul li.selected:hover ul li:hover a {
	margin: 0;
	background: #244917;
	color: white;
}

div#header div.menu ul li.selected a,div#header div.menu ul li.selected a:visited,div#header div.menu ul li.selected a:link {
	color: #244917;
	background: #20aa20;
	text-decoration: none;
}

div#header div.menu ul li a,div#header div.menu ul li a:visited,div#header div.menu ul li a:link {
	color: white;
	background: #20aa20;
	text-decoration: none;
}

div#header div.menu ul li ul,div#header div.menu ul li.selected ul {
	display: none;
	position: absolute;
	border: medium solid black;
	background: #20aa20;
	color: white;
}

div#header div.menu ul li ul li,div#header div.menu ul li.selected ul li{
	font-size: 0.8em;
	letter-spacing: -0.04em;
	margin-left: 1em;
	margin-right: 1em;
}

div#header div.menu ul li {
	font-weight: bold;
	margin-right: 0.75em;
}

div#header div.search {
	position: relative;
	margin-top: 0px;
	float: right;
	font-weight: bold;
	letter-spacing: -0.06em;
}

div#header div.search form {
	display: inline;
	padding: 0px;
	margin: 0px;
	vertical-align: middle;
}

div#header div.search form * {
	display: inline;
}

div#header div.search form * input[type="text"] {
	width: 8em;
}

div#header div.search form * input[type="image"] {
	position: relative;
	top: 0.4em;
}

div#header div.spacer {
	clear: both;
	width: 10px;
	height: 10px;
}

div#header h1 {
	padding-top: 0.25em;
	padding-bottom: 0.15em;
	margin-top: 0;
	margin-bottom: 0;
}

div#header div.seperator {
	font-size: 1px;
	height: 1px;
	background: black;
	color: white;
	border-right: solid white 1px;
	border-bottom: solid white 1px;
}

div#header>div.seperator {
	border-top: solid black 1px;
	border-left: solid black 1px;
	height: 0px;
}

/* style the logo */
#header_logo { 
	background: url(/images/simtec_logo.gif) top left no-repeat; 
	width:100%;
	height: 45px;
	display: block;
	padding-bottom:10px;
	border-bottom:2px solid #ffffff;
}

#header_logo img { display: none; }


/* main div */

div#main {
	border-left: solid #20aa20 thin;
	background: url(/images/blc.gif) no-repeat 0% 0%;
}

div#main div.submenu {
	position: relative;
	float: left;
	width: 14%;
	letter-spacing: -0.06em;
}

div#main div.submenu ul {
	margin-left: 0.5em;
	list-style-type: none;
	padding-left: 0.5em;
}

div#main div.submenu ul li,div#main div.submenu ul li a {
	text-transform: capitalize;
	font-weight: bold;
	background: white;
	text-decoration: none;
	color: #20aa20;
	font-size: 0.9em;
}


div#main div.submenu ul li ul li {
	font-size: 100%;
}

div#main div.submenu ul li.selected ul li a,
div#main div.submenu ul li ul li.selected ul li a {
	color: #20aa20;
	background: white;
}

div#main div.submenu ul li.selected a,
div#main div.submenu ul li ul li.selected a,
div#main div.submenu ul li ul li ul li.selected a,
div#main div.submenu ul li ul li ul li ul li.selected a {
	color: #244917;
	background: white;
}

div#main div.submenu ul li a:hover,
div#main div.submenu ul li.selected a:hover,
div#main div.submenu ul li ul li a:hover,
div#main div.submenu ul li ul li.selected a:hover,
div#main div.submenu ul li ul li ul li a:hover,
div#main div.submenu ul li ul li ul li.selected a:hover {
	background: white;
	color: #a5dba5;
}

div#main div.submenu li.menuheading {
	color: #244917;
	font-style: italic;
	font-size: 0.9em;
}


div#main div.submenu div.topright {
	position: absolute;
	right: 0px;
	top: 0px;
	width: 10px;
	height: 10px;
	background: url(/images/bcc.gif) no-repeat 0% 0%;
}

div#main h1 {
	background: white;
	color: #244917;
	text-align: center;
}

div#main div.content {
	width: 82%;
	float: left;
	border-left: solid #20aa20 1px;
	padding-left: 0px;
	background: white url(/images/blc.gif) no-repeat 0% 0%;
	color: black;
}

div#main div.content div.content {
	background: white;
	color: black;
}

/* rule to give content elenets margin away from the sides */
div#main div.content p,div#main div.content h1,div#main div.content h2,div#main div.content h3,div#main div.content h4,div#main div.content h5,div#main div.content h6, div#main div.content>table,div#main div.content>img,div#main div.content>a>img {
	margin-left: 1em;
	margin-right: 1em;
}

div#main div.content div.feature {
	width: 32%;
	float: right;
	border-left: solid #20aa20 thin;
	margin-right: 1%;
}

div#main div.content div.content {
	width: 66%;
	float: left;
	text-align: left;
	border: none;
}

div#main div.footer {
	clear: both;
	height: 0.1em;
	font-size: 0.05em;
}

div#footer {
	clear: both;
	margin-top: 10px;
	padding-top: 10px;
	border-top: solid black thin;
}

div#footer img.w3clogo {
	float: right;
	border: 0;
}

div#footer div.copyright {
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	font-size: 0.6em;
	margin-top: 1em;
}

div#main div.content p.productdesc a img {
	float: left;
	border: none;
}

div#main div.content hr {
	clear: both;
	width: 98%;
	margin-left: auto;
	margin-right: auto;
	color: #20aa20;
	background: white;
	border-top: solid 1px #20aa20;
	border-bottom: 0;
	border-right: 0;
	border-left: 0;
	height: 1px;
}
