body {
	background-color: white;
	background-image: url(images/bg_top_brickfind.jpg);
	background-attachment: scroll;
	background-repeat: no-repeat;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
}

#surround {
	background: transparent url(images/backdrop.png) repeat top left;
	margin-left: 1.3em;
	padding-top: 14px;
	padding-left: 15px;
	padding-right: 16px;
	padding-bottom: 16px;
}

/* Table to hold main divs */


#mainTable td {
	vertical-align: top;
}


/* --- General Styles --- */

h2 {
	font-size: 12px;
	font-weight: bold;
	margin-top: 10px;
	margin-left: 10%;
	margin-right: 10%;
	margin-bottom: 4px;
}

form {
	margin: 0px;
}

input {
	background-color: white;
	font-size: 11px;
}

.button {
	background-color: lightgrey;
	font-weight: bold;
}

.warning {
	margin-left: 3em;
	font-size: 11px;
	color: #000000;
	font-weight: bold;
	font-style: italic;
}

.smleftmargin {
	margin-left: 2em;
}


/* DIVs inside mainTable */

#search, #selection, #searchResults, #brickRef, #brickPic, #brickDetails {
	background-color: #c2c0c0;
	overflow: hidden;
	text-align: center;
}


/* --- Column definitions --- */

/* Left column */
#userInput {
	width: 224px;
}

#search {
	width: 100%;
	height: 246px;
}


#selection {
	width: 100%;
	height: 228px;
	margin-top: 12px;
}


/* Middle column */

#searchResults {
	width: 257px;
	height: 486px;
	margin-left: 13px;
}


/* Right column */

#brick {
	width: 389px;
	margin-left: 13px;
}

#brickRef {
	width: 100%;
	height: 30px;
}

#brickPic {
	width: 100%;
	height: 296px;
	margin-top: 12px;
	background-color: black;
}

#brickDetails {
	width: 100%;
	height: 136px;
	margin-top: 12px;
}


/* --- Left column styles --- */

#selectionTable {
	width: 100%;
}

#selectionTable td {
	padding-top: 3px;
	padding-bottom: 3px;
	vertical-align: middle;
}

#selectionTable .left {
	width: 30%;
	text-align: right;
	padding-right: 4px;

	font-size: 11px;
	font-weight: bold;
	color: #D93232;
}

#selectionTable .right {
	text-align: left;
	padding-left: 4px;
	padding-right: 4px;
}

#selectionTable select {
	width: 95%;
	background-color: white;
	font-size: 11px;
}

#custChoiceTable {
	width: 100%;
	table-layout: fixed;
}

#custChoiceTable td div {
	width: 95%;
	height: 1.3em;
	display: block;
	overflow: hidden;
}

#custChoiceTable td a {
	color: black;
	text-decoration: none;
}

#custChoiceTable td a:hover {
	text-decoration: underline;
}

#custChoiceTable td.c1 {
	width: 1.8em;
	text-align: right;
	padding-right: 0.5em;
}

#custChoiceTable td.c2 {
	width: 5em;
	text-align: left;
	padding-left: 0.5em;
	border-left: 1px solid grey;
	border-right: 1px solid grey;
}

#custChoiceTable td.c3 {
	text-align: left;
	padding-left: 0.5em;
	border-right: 1px solid grey;
}

#custChoiceTable td.c4 {
	width: 2em;
	vertical-align: middle;
	padding-left: 0.1em;
	padding-right: 0.1em;
}

hr {
	width: 75%;
}


/* --- Middle column styles --- */

#results {
	width: 100%;
	height: 100%;
}

iframe {
	overflow-x: hidden;
	overflow-y: auto;
}

/* --- Right column styles --- */

#brickRef {
	font-size: 16px;
	font-weight: bold;
}

#brickRef .left {
	padding-top: 3px;
	padding-left: 3px;
	text-align: left;
	width: 50%;
}

#brickRef .right {
	padding-top: 1px;
	text-align: right;
}

#brickRef div {
	display: inline;
}

#detailsTable {
	width: 100%;
	text-align: left;
	padding-left: 8px;
	padding-top: 4px;
}

.detail, .detailH {
	font-size: 11px;
	color: #000000;
	text-decoration: none;
}

.detail {
	font-weight: normal;
}

.detailH {
	font-weight: bold;
}



/* --- Requested bricks page --- */

#requestscreen {
	margin-left: 1.5em;
}

#requestscreen p {
	font-size: 14px;
	padding-left: 1.5em;
	margin-right: 22%;
}

#requestedbricks, #detailsform {
	margin-left: 2em;
	margin-right: 2em;
}

#requestedbricks td {
	padding: 10px 10px 10px 10px;
	font-size: 1.5em;
	text-align: center;
}

#detailsform td {
	padding-left: 10px;
	padding-right: 10px;
	padding-top: 5px;
	font-size: 13px;
	font-weight: bold;
}

#detailsform .c1 {
	text-align: right;
}

#detailsform .c2 {
	text-align: left;
}

#detailsform .requestbutton {
	padding-top: 15px;
	padding-bottom: 15px;
	text-align: center;
}

