/*
	Flat demo page styles for DHTML to DOM scripting article
	written by Christian Heilmann (http://www.wait-till-i.com) for SitePoint.
*/


/* =globals */
*{
	margin:0;
	padding:0;
}
body{
	font-size:small;
	font-family:Verdana,arial,sans-serif;
	color:#000;
	background:#ddd;
	text-align:center;
}

/* =layout */
#boundary{
	background:url(img/back.gif) repeat-y #fff;
	width:720px;
	margin:0 auto;
	position:relative;
	text-align:left;
}
#header{
	width:700px;
	height:80px;
	padding:10px 0 0 20px;
	background:#363;
	font-family:georgia,times,serif;
	color:#fff;
}
#header p{
	padding-left:10px;
}
html>body #header{
	min-height:80px;
	height:auto;
}
#content{
	padding:20px;
	width:420px;
	float:left;
}
#footer{
	clear:both;
	width:700px;
	background:#030;
	color:#fff;
	padding:5px 10px;
}

/* =content */
#content ul{
	margin-left:1.5em;
	list-style:square;
}
#content li,#content p{
	line-height:1.3em;
	list-style:square;
	padding-bottom:.5em;
}
p.back{text-align:right;}

#contact{
	clear:both;
}

/* =headings */
h1{
	font-size:3em;
}
h2{
	text-transform:uppercase;
	color:#363;
	letter-spacing:-1px;
	font-size:1.4em;
	padding-bottom:.5em;
}

h3{
	margin:.5em 0;
	font-size:1.1em;
	color:#333;
}
#photos h3{
	background:#669933;
	text-align:left;
	margin-top:140px;
	padding:5px 1em;
	text-transform:uppercase;
	color:#fff;
	letter-spacing:-1px;
	font-size:1.3em;
}
/* =links */
a img{
	border:none;
}
a{
	color:#696;
}
#details{
	clear:both;
}

/* =photosection */
#photos{
	float:right;
	width:220px;
	text-align:center;
}
#flatshots,#flatshots li{
	list-style:none;
}
#flatshots{
	width:180px;
	margin:0 auto;
}
#flatshots li{
	width:180px;
	margin-bottom:5px;
	border:1px inset #99cc66;
}
/* =flatphoto */
#flatimage{
	position:absolute;
	top:10px;
	right:10px;
	width:247px;
	padding:5px;
	background:#eee;
	border:1px solid #ccc;
}
#flatimage p{
	margin:0;
	padding:0;
}
#flatimage p.caption{
	padding-left:29px;	
	padding:0;
	background:url(img/search.gif) top left no-repeat #eee;
	line-height:26px;
}
#flatdetails{
	clear:both;
}
#flatshots li img{
	display:block;
}
/* =dynamic
	Styles for the DOM version */
#popunder{
	position:absolute;
	top:0;
	left:0;
	padding:10px;
	border:1px solid #666;
	background:#fff;
	text-align:right;
}
#popunder.hide{
	top:-999px;
}
#boundary.fp #flatdetails div,
#boundary.fp #photos li
{
	position:absolute;
	top:-999px;
	clear:both;
}
#boundary.fp #flatdetails div.show,
#boundary.fp #photos li.show{
	position:relative;
	top:0;
}
/* Hide back links */
#boundary.fp .back{
	position:absolute;
	top:-999px;
	height:1px;
}
/* class to hide things */
.hide{
	position:absolute;
	top:-999px;
	height:1px;
}
/* =tabs (DOM) */
#boundary.fp #detailnav{
	margin:0;
	padding:0;
	width:100%;
	float:left;
	background:url(img/999dot.gif) bottom left repeat-x #fff;
	clear:both;
}
#boundary.fp #detailnav li{
	float:left;
	padding:0 5px 0 0;
	margin:0;
	list-style:none;
	border-bottom:none;
}
#boundary.fp #detailnav a{
	border:1px solid #999;
	background:#ccc;
	background:url(img/999dot.gif) bottom left repeat-x #ccc;
	color:#000;
	text-decoration:none;
	border-bottom:none;
	padding:0 5px;
}
#boundary.fp #detailnav a:hover,
#boundary.fp #detailnav a.current
{
	padding-bottom:1px;
	background:#eee;
}

#boundary.fp #flatdetails div{
	background:#eee;
	padding:5px 10px;
	border:1px solid #999;
	border-top:none;
}

/* =photos (DOM) */
#boundary.fp #photos p{
	padding:5px 0;
	font-weight:bold;
}
#boundary.fp #photos div p{
	padding:0;
}
#boundary.fp #photos p a{
	color:#000;
	font-weight:bold;
}
#boundary.fp #photos p span{
	padding:0 1em;
}

