/* Entropy Key site
 * CSS for on-screen display
 *
 * Copyright 2009 Simtec Electronics
 */

body {
	background: #fff;
	margin: 0;
	padding: 0;
}

a img {
	border: 0;
}

hr {
	height: 1px;
	color: #20aa20;
	background-color: #20aa20;
	border: 0;
}

/* Banner/navigation tabs related ------------------------------------------ */

div.banner {
	background: #20aa20 url(/res/ekey-logo.gif) no-repeat 15px;
	color: #000;
	height: 55px;
	position: relative;
}

div.banner div.logininfo {
	color: #fff;
	float: right;
	font-size: small;
	margin: 5px;
}

div.banner div.logininfo a {
	color: #fff;
}

div.banner ul.nav {
	display: inline;
	margin-left: 130px;
	margin-bottom: 0;
	position: absolute;
	white-space: nowrap;
	bottom: 5px;
}

ul.nav li {
	list-style: none;
	display: inline;
	background: #7c7;
	padding: 5px;
	margin-right: 5px;
}

ul.nav li.selected {
	background: #fff;
}

ul.nav li a {
	text-decoration: none;
	color: #000;
}

/* Main content related ---------------------------------------------------- */

div.content {
	margin: 1em;
}

/* Address footer related -------------------------------------------------- */

div.addressfooter {
	color: #aaa;
}

div.addressfooter hr {
	height: 1px;
	
	background-color: #aaa;
	color: #aaa;
}

/* Form content related ---------------------------------------------------- */

div.form {
	display: inline;
	text-align: center;
}

input[type="text"],
input[type="password"], 
fieldset, 
textarea {
	border: 1px solid #20aa20;
	margin-right: 5px;
}

input[type="submit"] {
	background: #7c7;
	border-color: #7c7;
	margin: 5px;
}

fieldset {
	background: #fff;
	text-align: left;
	display: inline;
}

fieldset legend {
	background: #7c7;
	border: 1px solid #20aa20;
	padding: 2px;
}

fieldset div.field {
	padding-top: 10px;
}

div.field label {
	float: left;
	width: 12em;
	padding-right: 1em;
	text-align: right;
	white-space: nowrap;
}

div.field .preform {
	white-space: pre;
	font-family: monospace;
	font-size: small;
}

div.field div.error {
	padding-left: 13em;
	padding-top: 0.25em;
}

/* Basket contents-related ------------------------------------------------- */

table.basket {
    border-spacing: 0;
    border-collapse: collapse;
}

table.basket th.product,
table.basket th.unitcost,
table.basket th.quantity,
table.basket th.vat,
table.basket th.total  {
    border-right: 1px #7c7 solid;
    padding: 0 0.5em 0 0.5em;
}

table.basket th.remove {
    padding: 0 0.5em 0 0.5em;
}

table.basket td.head {
    text-align: center;
    background: #7c7;
}

table.basket td {
    padding: 0.5em 1em 0.5em 1em;
    border-top: 1px #7c7 solid;
    margin: 0;
}

table.basket td.product,
table.basket td.unitcost,
table.basket td.quantity,
table.basket td.vat,
table.basket td.total {
    border-right: 1px #7c7 solid;
}

table.basket td.remove,
table.basket td.checkout {
    text-align: center;
}

/* Tables ------------------------------------------------------------------ */

table.simgreen {
    border-spacing: 0;
    border-collapse: collapse;
}

table.simgreen th + th,
table.simgreen td + td {
    border-left: 1px #7c7 solid;
    border-bottom: 1px #7c7 solid;
}

table.simgreen th,
table.simgreen td {
    padding: 0 0.5em 0 0.5em;
}

table.simgreen .addbasket {
    text-align: center;
}

/* Front-page styling ------------------------------------------------------ */

div.synopsis {
    font-weight: bold;
    font-style: italic;
    font-size: 1.5em;
    text-align: center;
}

div.content img.device {
    float: right;
}

div.content img.biscuit {
    float: right;
    padding: 0 1em 1em 0;
}

div.content div.graphs {
    text-align: center;
}

div.content img {
    margin-left: auto;
    margin-right: auto;
    padding-left: 5px;
}

/* Download page styles ---------------------------------------------------- */

div.distroarch table {
    border-spacing: 0;
    border-collapse: collapse;
}

div.distroarch th {
    background: #7c7;
}

div.distroarch td {
    border-top: 1px #7c7 solid;
}

div.distroarch th {
    border-right: 1px #fff solid;
    padding-right: 0.5em;
    padding-left: 0.5em;
}

table.simkrn {
    border-spacing: 0;
    border-collapse: collapse;
}

table.simkrn th {
    background: #7c7;
}

table.simkrn td {
    border-top: 1px #7c7 solid;
    padding: 0.5em;
}

table.simkrn .release {
    border-right: 1px #7c7 solid;
}


table.simkrn th {
    border-right: 1px #fff solid;
    padding-right: 0.5em;
    padding-left: 0.5em;
}

/* Comments page styles ----------------------------------------------------- */

ul.commentlist li {
    padding-bottom: 10px;
}