/*
	All the CSS needed for the layout
*/
body,html {
	height: 100%;
}

body {
	background: url(../media/frontend_main_bg.gif) #fff repeat-x;
	margin: 0;
	paddin: 0;
	text-align: center;
	height: 100%;
}

#wrapper {
	width: 800px;
	text-align: left;
	background: url(../media/frontend_middle_bg.gif) repeat-y 50% 0;
	margin: 0 auto;
	min-height:100%;
}

#prop {
	background: url(../media/frontend_middle_bg.gif) repeat-y 50% 0;
	height:100%;
	float:left;
	position:absolute;
	z-index:-1;
	margin:0 auto;
	width:800px;
}

.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.clearfix {display: inline-block;}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */

#header {
	background: url(../media/frontend_header.jpg) no-repeat center top;
	width: 799px;
	height: 180px;
}

#main {
	margin-left: 100px;
	margin-right: 80px;
	height:100%;
}

#sidebar {
	float: left;
	width: 140px;
	margin-top: 10px;
	margin-left: 0;
	height:100%;
}

body {
	font-size: 0.8em;
	font-family: verdana;
	color: gray;
}

a:link, a:visited {
	font-weight:bold;
	color:#6b4e50;
	text-decoration:none;	
}
a:active {
	text-decoration:underline;
}
a:hover {
	color:#9f222a;
}

h1 {
	font-size:18px;
	border-bottom:1px solid #CCC;
	margin-right:40px;
}

h2, h3, h4, h5, h6 {
	font-size:12px;
	font-weight:none;
	margin-right:40px;
}

a img {
	border:0;
}

li {
	color:#9f222a;
	list-style:square;
}

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

address {
	font-style:italic;
}

pre {
	font-family: "Courier New", Courier, monospace;
	text-align: justify;
	padding:5px;
	margin-left:10px;
	font-weight:11px;
	border-left:1px solid slategray;
}

blockquote {
	background: url(/media/quote.gif) no-repeat;
	text-align: justify;
	padding:5px;
	margin-left:10px;
	font-weight:11px;
}

#content table {
	table-layout: fixed;
	font-size: .75em;
	border-collapse: collapse;
	border: 1px solid #333;
	text-align:right;
	caption-side: top;
	margin-bottom:1em;	
}
#content caption {
	border: 1px solid #333;
	background-color:#e0dacf;
	padding:6px;
}
#content th, td {
	border: 1px solid #333;
	vertical-align: text-top;
	padding: 4px;
	text-align: center;
}
#content th {
	background-color: #d7d0b9;
}

#content {
	width: 600px;
	color:#333;
	margin-top: 10px;
	margin-right: 10px;
	height:100%;
}

#sidebar h3 {
	font-size: 12px;
	text-transform: uppercase;
	font-family: verdana;
	border-bottom: 1px solid #fff;
	margin: 0;
	padding: 0;
}

#sidebar form {
	margin: 0;
	padding: 0;
}

#sidebar p {
	margin: 5px;
	margin-left: 0;
	font-size: 10px;
	padding: 5px;
}

#sidebar form input {
	font-size: 11px;
	border: 1px solid #AAA;
	margin: 0;
	padding: 0;
}

#sidebar form label {
	margin: 0;
	padding: 0;
	font-size: 11px;
}

#sidebar a {
	text-decoration: none;
	font-weight: bold;
	color: #AAA;
}

#nav,#nav ul {
	float: left;
	width: 46em;
	list-style: none;
	line-height: 1;
	font-weight: bold;
	padding: 0;
	margin: 0 0 1em 0;
	margin-bottom: 1px;
	margin-top:160px;
	margin-left: 120px;
	display: inline;
}

#nav a {
	display: block;
	color: #FFF;
	text-decoration: none;
	padding: 0.40em 1em;
	font-size: 11px;
	text-transform:uppercase;
	border-left: 1px solid #FFF;
}

#nav ul li a {
	border-top: 1px solid #FFF;
}

#nav a.daddy {
	background: url(rightarrow2.gif) center right no-repeat;
}

#nav li {
	float: left;
	padding: 0;
	list-style:none;
}

#nav li ul {
	position: absolute;
	left: -999em;

	width:11em;	height: auto;
	font-weight: normal;
	margin: 0;
}

#nav li li {
	background: #a1252d;
}

#nav li ul a {
	width: 9.5em;
	font-size: 10px;
	text-transform:none;
	padding: 0.5em;
	w\idth: 10.5em;
}

#nav li ul ul {
	/* this minus value controls the offset to the top from the submenu items */
	margin: -1.20em 0 0 8em;
}

#nav li:hover ul ul,#nav li:hover ul ul ul,#nav li.sfhover ul ul,#nav li.sfhover ul ul ul
	{
	left: -999em;
}

#nav li:hover ul,#nav li li:hover ul,#nav li li li:hover ul,#nav li.sfhover ul,#nav li li.sfhover ul,#nav li li li.sfhover ul
	{
	left: auto;
}

#nav li:hover,#nav li.sfhover {
	background-color: #cf424a;
}

.inlinethumb {
	float:left;
	width:120px;
	text-align:center;
	margin-right:10px;
}

#thumbs {
	margin:0;
	padding:0;
}

#thumbs ul {
	margin-top:5px;
	margin-left:0;
	margin-bottom:0;
	padding:0;	
}

#thumbs li {
	list-style:none;
	padding:0;
}

#attachments h3, #thumbs h3 {
	margin:0;
	padding-bottom:3px;
	border-bottom:1px solid #AAA;;
}

#attachments ul {
	margin-top:5px;
	margin-left:0;
	margin-bottom:0;
	padding-left:15px;
}

#bottommenu {
	float:left;
	display:inline;
	list-style: none;
	width: 430px;
	margin:0;
	padding:5px;
	border-top:1px solid #CCC;
	text-align:center;
}

#bottommenu li {
	margin:0;
	padding:0;
	color:#555;
	display:inline;
	font-size:10px;
}

#bottommenu a:link, #bottommenu a:visited, #bottommenu a:active {
	color:#333;
	padding:2px;
	font-family:verdana;
	text-decoration:none;
	font-size:10px;
}

#bottommenu #cright {
	border-right:1px solid #AAA;
	margin-right:10px;
	padding-right:5px;
}

#bottommenu a:hover {
	color:#FFF;
	background-color:#AAA;
	padding:2px;
	font-size:10px;
}

.guestbook {
	border:0;
}

.guestbook tr td {
	background-color:#A0242C;
	color:#FFF;
	border:0;
	text-align:left;
}

.guestbook tr td a {
	color:#FFF;
}

.guestbook tr td.message {
	background-color:#FFF;
	color:#000;
	padding:10px;
}