
#header
{
	position:relative;
	margin:5px;
	border:1px;
	border-style:solid;
	padding:5px;
	height:45px;
}

#content
{
	margin:5px; 
	border:1px;
	border-style:solid;
	padding:5px;
	display:inline;
	float:left;
}

#footer
{
	margin:5px; 
	border:1px;
	border-style:solid;
	padding:5px;
	clear:both;
}

div.logo
{
	float:left;
	height:40px;
}

div.menu
{
	position:relative;
	left:10px;
	top:15px;
}

div.user
{
	text-align:right;
}

/*---------------------------------------------------------------------------------*/

/* nav by http://webdesignerwall.com/tutorials/css-responsive-navigation-menu */
/*
.nav
{
	position: absolute;
	top: 20px;
	left:140px;
	margin: 0px 0;
}
.nav ul
{
	margin: 0;
	padding: 0;
}
.nav li
{
	margin: 0 5px 10px 0;
	padding: 0;
	list-style: none;
	display: inline-block;
}
.nav a
{
	padding: 3px 12px;
	text-decoration: none;
	color: #999;
	line-height: 100%;
}
.nav a:hover
{
	color: #000;
}
.nav .current a
{
	background: #999;
	color: #fff;
	border-radius: 5px;
}

@media screen and (max-width: 799px) 
{
	.nav 
	{
		position: relative;
		min-height: 40px;
	}	
	.nav ul 
	{
		width: 180px;
		padding: 5px 0;
		position: absolute;
		top: 0;
		left: 0;
		border: solid 1px #aaa;
		background: #fff url(images/icon-menu.png) no-repeat 10px 11px;
		border-radius: 5px;
		box-shadow: 0 1px 2px rgba(0,0,0,.3);
	}
	.nav li
	{
		display: none;
		margin: 0;
	}
	.nav .current
	{
		display: block;
	}
	.nav a
	{
		display: block;
		padding: 5px 5px 5px 32px;
		text-align: left;
	}
	.nav .current a
	{
		background: none;
		color: #666;
	}
	
	.nav ul:hover
	{
		background-image: none;
	}
	.nav ul:hover li
	{
		display: block;
		margin: 0 0 5px;
	}
	.nav ul:hover .current
	{
		background: url(images/icon-check.png) no-repeat 10px 7px;
	}
	
	.nav.right ul
	{
		left: auto;
		right: 0;
	}
	
	.nav.center ul
	{
		left: 50%;
		margin-left: -90px;
	}
}
*/

/*---------------------------------------------------------------------------------*/
/* Navigation by http://www.devinrolsen.com/pure-css-menu-with-infinite-sub-menus-tutorial/ */
#nav, .nav, #nav .nav li 
{ 
	margin:0px; 
	padding:0px;
}

#nav li 
{
	float:left;
	display:inline;
	cursor:pointer;
	list-style:none;
	padding:2px 10px 0px 10px;
	border:1px #000 solid;
	position:relative;
}

#nav li ul.first
{
	left:-1px;
	top:100%;
}

li, li a 
{
	color:#000;
}

#nav .nav li 
{ 
	width:100%;
	text-indent:10px;
	line-height:30px;
	margin-right:10px;
	border-top:1px #000 solid;
	border-bottom:1px #000 solid;
	border-left:none;
	border-right:none;
	background:#fff;
}

#nav li a 
{
	display:block;
	width:inherit;
	height:inherit;
}

ul.nav
{ 
	display:none;
}

#nav li:hover > a, #nav li:hover
{
	color:#fff;
	background:#000;
}

li:hover > .nav
{
	display:block;
	/* IE: Hover Ghost bug */
	position:absolute; width:200px; top:-2px; left:50%; z-index:1000; border:1px #000 solid;
}

/* IE: Z-Index sorting bug */
li:hover { position:relative; z-index:2000; }

/*---------------------------------------------------------------------------------*/

input[readonly='readonly']
{
	color: #888;
}

.autocomplete-suggestions { border: 1px solid #999; background: #FFF; overflow: auto; }
.autocomplete-suggestion { padding: 2px 5px; white-space: nowrap; overflow: hidden; }
.autocomplete-selected { background: #F0F0F0; }
.autocomplete-suggestions strong { font-weight: normal; color: #3399FF; }

/*---------------------------------------------------------------------------------*/
/* from http://www.dynamicdrive.com/style/csslibrary/item/css-popup-image-viewer/ */
.thumbnail
{
	position: relative;
	z-index: 0;
}

.thumbnail:hover
{
	background-color: transparent;
	z-index: 50;
}

.thumbnail span			/*CSS for enlarged image*/
{
	position: absolute;
	background-color: lightyellow;
	padding: 0;
	left: -1000px;
	border: 1px black;
	visibility: hidden;
	color: black;
	text-decoration: none;
}

.thumbnail span img		/*CSS for enlarged image*/
{
	border-width: 0;
	padding: 2px;
}

.thumbnail:hover span	/*CSS for enlarged image on hover*/
{
	visibility: visible;
	top: 0;
	left: 0; /*position where enlarged image should offset horizontally */
}
/*---------------------------------------------------------------------------------*/
