@import url("reset.css");
body 
{
	font-family:"Times New Roman", Times, serif;
	font-size:0.875em; /* 16px / 14px = 0.875em */
	background-color:white;
	color:black;
}
a 
{
	color:black;
	text-decoration:none;
}
a:hover 
{
	text-decoration:underline;
}
br.clearer
{
	clear:both;
}
h1 
{
	text-indent:-5000px;
	width:347px;
	height:22px;
	background-image:url(../img/logo.png);
}
p
{
	margin-top:1em;
	margin-bottom:1em;
}
input[type=text]
{
	background-color:#b5b7b4;
	border:1px solid #939393;
	color:black;
	padding:2px;
}
input#btnsubmit 
{
	border:none;
	position:relative;
	top:6px;
	background-color:transparent;
}
/* Tables */
table 
{
	border-collapse:collapse;
	width:300px;
}
td, th 
{
	border:1px solid #999;
	padding:4px;
	text-align:left;
}
th
{
	font-weight:bold;
}
/* Structure */
ul#breadcrumbs 
{
	position:absolute;
	left:360px;
	bottom:0px;
	display:block;
}
ul#breadcrumbs li 
{
	display:inline;
	font-size:0.8em;
}


div#headerwrap 
{
	position:relative;
	height:22px;
	margin-top:14px;
}
div#mainwrap 
{
	width:800px;
	margin:10px auto auto auto;
}
div#content 
{
	border:4px solid black;
	width:760px; /* 800 - 20 - 20 */
	min-height:454px; /* 494 - 20 - 20 */
	padding:20px;
	position:relative;
}
div#footer img#cards 
{
	display:block;
	width:250px;
	float:left;	
}
div#footer div#footernav 
{
	float:right;
}
div#footer div#footernav ul li 
{
	display:inline;

}
div#footer div#links
{	
	text-align:center;
}
div#footer div#links ul#social li
{	
	display:inline;
	margin-left:1em;	
}

/* Category boxes for home page */
li.categorybox 
{
	width:356px;
	text-align:right;
	float:left;
	display:block;
	margin:5px;
	
}
li.categorybox img 
{
	display:block;
	border:2px solid black;
}
/* folder boxes for home page */
li.folderbox 
{
	width:150px;
	text-align:right;
	float:left;
	display:block;
	margin:5px 35px 5px 5px
	
	
}
li.folderbox img 
{
	display:block;
	border:2px solid black;
}

/* Search results (browsing images in folder)*/
li.photothumbbox
{
	width:110px;
	float:left;
	display:block;
	margin:2px 8px 2px 8px;
	font-size:10px;
		
}
li.photothumbbox img
{
	border:2px solid transparent;
}
li.photothumbbox img.select
{
	border:2px solid #00a620;
}
li.photothumbbox img:hover
{
	border:2px solid #999;
}
li.photothumbbox input
{
	margin:0;
	padding:0;
}

/* Image detail page */
a#smallimage 
{
	float:left; 
	margin-right:10px;
}
div#smallimageattributes_holder
{
	float:left;
	width:200px; 
	position:relative;
}
div#smallimageattributes_holder p
{
	position:absolute; 
	bottom:0;
	margin:0; 
	padding :0;
}
/* container to hold the 'register' page */
div#registerbox 
{
	text-align:center;
	margin-top:100px;
}
div#registerbox div#thanks
{
	margin-top:1em;
	font-weight:bold;
}
/* container to hold the 'get password' page */
div#getpassword 
{
	text-align:center;
	margin-top:10px;
}

/* Pagination  */
div#pagination
{
	width:780px; /* 800 - 20 */
	height:55px;
	background-color:black;
	color:white;
	position:absolute;
	bottom:0px;
	left:0px;
	padding:0 10px 0 10px;
}
div#pagination div#pagelinks li
{
	display:inline;
}
div#pagination div#pagelinks li span.selected
{
	color:red;
}
div#navigation
{
	width:260px;
}
div#navigation > span
{
	margin-right:1em;
}
div#pagination span, div#pagination li
{
	cursor:pointer;
}
div#pagination span:hover, div#pagination li:hover
{
	text-decoration:underline;
}
div#pagination div#navigation, div#pagination div#options, div#pagination div#products
{
	float:left;
	margin-right:1em;
}

/* Product Matrix */
h2
{
	font-size:1.5em;
	margin-top:1em;
	margin-bottom:0.5em;
	font-weight:bold;
}
div.productbox
{
	background-color:#dadada;
	padding:10px;
	margin-bottom:10px;
}
div.productbox strong
{
	font-size:1.2em;
	margin-right:10px;
}
div.productbox a
{
	cursor:pointer;
}
div.productbox div.option
{
	
	float:left;
	background-color:#ccc;
	margin-right:10px;
	padding:5px;
	text-align:center;
}
div.productbox div.option p
{
	margin:0;
}
div.productbox div.option input[type=text]
{
	width:16px;
}
div.productbox div.option input[type=text]:focus
{
	background-color:#FFFFE0;
}
div.productbox div.option img
{
	margin:5px;
}
div.productbox div.option div.price
{
	font-weight:bold;
}
/* Basket */
div.basketitem
{
	border-bottom:1px solid #888;
	padding:5px;
	margin:5px;
}
div.basketitem div.basketimage
{
	float:left;
	margin-right:15px;
	text-align:center;
}
div.basketitem div.basketproducts
{
	float:left;
}

div.basketitem div.basketproducts span
{
	cursor:pointer;
	font-style:italic;
	padding-left:0.5em;
}
div.basketitem div.basketproducts span:first-child
{
	border-right:1px solid #888;
	padding-right:0.5em;
	padding-left:0;
}

/* Modal alert */
div.errormodal
{
	width:300px;
	text-align:center;
	margin:1em;
}	