/* Sovereign Realty Development and Maintenence screen styles

			Table of Contents:
				generic styles
				layout
				typography
				nav
				property listing
				gallery
				footer
				clearfix	
*/

/* generic styles
----------------------------------------------*/
* {
	margin: 0; 
	padding: 0;
}
/*this margin makes lists viewable in CMS*/
ul, ol{
	margin: 0 0 8px 20px;
}
img{ 
	border: none;
}
hr{ 
	display: none;
}
/* layout
----------------------------------------------*/
body {
	font-family: 'trebuchet ms', Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: white;
	background: #3b0606;
	behavior: url("csshover.htc");	/*Menu behavior for IEWin */
} 
body.colored {
	background: #17130d url(/media/bg_tile.jpg) top left repeat-x;
}
#page{
	width: 870px;
	margin: 0 auto;
}
#header{
	position: relative;
	background: url(/media/header_bg.gif) top no-repeat;
	height: 138px;
}
/* Following rule deals with h1 image replacement*/
#header h1#logo{
	width: 218px;
	position: absolute;
	top: 16px;
	left: 50px;
	margin: 0; 
	padding-top: 70px; 
	overflow: hidden; 
	background: url(/media/logo.gif) top no-repeat;
	/* WIN IE5 hack */ 
	voice-family: "\"}\""; 
	voice-family:inherit; 
	height: 0; 
}
#header address{
	position: absolute;
	top: 86px;
	left: 54px;
}
#slideshow{
	float: right;
}
#nav{
	background: url(/media/nav_bg_tile.jpg) top left repeat-x;
	height: 31px;
}
#contentarea{
	padding: 20px 20px 0 20px;
	background: url(/media/content_bg_tile.gif) top repeat-y
}
#content{}	
#content-contact{
	width: 45%;
	float: left;
	border-right: 1px dotted white;
}	
#email-form{
	float: right;
	padding-right: 10px;
}
#tile-row{
	margin: 40px 0 10px 0;
}
#tile-row .tile{
	float: left;
	margin-left: 36px;
	display: inline; 
	width: 160px;
	height: 152px;
}
#tile-row .tile a#for-lease{
	position: absolute;
	background: url("/media/for_lease_tile.jpg") no-repeat;
	width: 160px;
	height: 152px;
}
#tile-row .tile a#for-lease:hover{
	background-position: -160px 0;
}
#tile-row .tile a#landscaping{
	position: absolute;
	background: url("/media/landscaping_tile.jpg") no-repeat;
	width: 160px;
	height: 152px;
}
#tile-row .tile a#landscaping:hover{
	background-position: -160px 0;
}
#tile-row .tile a#maintenance{
	position: absolute;
	background: url("/media/maintenance_tile.jpg") no-repeat;
	width: 160px;
	height: 152px;
}
#tile-row .tile a#maintenance:hover{
	background-position: -160px 0;
}
#tile-row .tile a#property{
	position: absolute;
	background: url("/media/property_tile.jpg") no-repeat;
	width: 160px;
	height: 152px;
}
#tile-row .tile a#property:hover{
	background-position: -160px 0;
}
#logos{
	width: 300px;
	margin: 14px auto;
}
#logos img{
	float: left;
	padding-right: 10px;
}
#logos a{
	text-decoration: none;
}
#footer{
	clear: both;
	padding: 1.4em 0 0 0.3em;
}

/* typography
----------------------------------------------*/
#header address{
	text-align: center;
	font-style: normal;
	font-size: 0.9em;
	color: #900028;
}
h1, h2, h3, h4, h5{
	font-family: georgia,'trebuchet ms', arial, sans-serif;
	font-weight: normal;
	margin-bottom: 0.2em;
	line-height: 1;
	font-variant: small-caps;
}
h1 {
	font-size: 1.8em;
}
h2 {
	font-size: 1.6em;
}
h3{
	font-size: 1.4em;
	font-variant: normal;
}
#content-contact h3{
	font-family: 'trebuchet ms', verdana, sans-serif;
	font-size: 1.2em;
	font-weight: bold;
}
h4{
	font-size: 1.2em;
}
h5, h6{
	font-size: 1.1em;
}
p{	
	margin-bottom: 0.7em;
}
#content {
	line-height: 1.6;
}
#content img{
	margin: 6px 6px 6px 40px;
}

#content a{text-decoration: none;}
#content a:link{color: #e9e18b;}
#content a:visited{color: #e9e18b;}
#content a:hover {
	color: #3b0606;
	background-color: white; 
	border-bottom: 1px solid #ffe153;
}
#content a:active{color: #e9e18b;}

#contentarea a{text-decoration: none;}
#contentarea a:link{color: #e9e18b;}
#contentarea a:visited{color: #e9e18b;}
#contentarea a:hover {
	color: #3b0606;
	background-color: white; 
	border-bottom: 1px solid #ffe153;
}
#content a:active{color: #e9e18b;}

#content-contact a{text-decoration: none;}
#content-contact a:link{color: #e9e18b;}
#content-contact a:visited{color: #e9e18b;}
#content-contact a:hover {
	color: #3b0606;
	background-color: white; 
	border-bottom: 1px solid #ffe153;
}
#content-contact a:active{color: #e9e18b;}

a:link {color: #e9e18b;}
a:visited {color: #e9e18b;}
a:hover {color: #d9d9fe;}
a:active {color: #e9e18b;}

/* nav
----------------------------------------------*/
#nav {
	margin: 0;
	padding: 0;
	white-space: nowrap;
	line-height: 26px;
}
#nav a {
	display: block;
	text-decoration: none;
	padding: 2px 14px;
	font-weight: bold;
}
#nav a:link {color: white;}
#nav a:visited {color: white;}
#nav a:hover {color: #aeb9ca;}
#nav a:active {color: white;}
#nav a.current {color: white;}
#nav ul {
	cursor: default;
	list-style: none;
	padding-left: 20px;
	margin: 0;
}
#nav ul li:hover ul { 
	display: block; /* Display sublist on hover */
}

#nav ul.level0 li {
	float: left;
	position: relative;
	line-height: 28px;
}
#nav ul li.nav-last {
	border: 0;
}
#nav ul li:hover ul.level1{
/* Display sublist on hover */
	display: block;
}
#nav ul ul {
	width: 170px; /* explicit width for all dropdown menus */
}
#nav ul ul a {
	width: 164px; /* explicit width for links, allows IE to hover properly */
}
#nav ul ul li a {
	border-bottom: 1px solid #8e3f3b;
	padding: 3px 0 .2em 6px; /* padding for all text links/submenu items */
}
#nav ul.level1 {
	display: none;
	position: absolute;
	background-color: #7a302c;
	z-index: 9999;
	padding: 0;
}
#nav ul.level1 li {
	float: none;
	display: inline;
	position: relative;
	border: 0;
	line-height: 22px;
	z-index: 9999;
}


/* property listing
----------------------------------------------*/
#contentarea table#prop{
	border-collapse: collapse;
	width: 90%;
	margin: 0 auto;
}
#contentarea #prop td{
	border-bottom: 2px solid #FFFF99;
	padding: 15px 5px 5px 5px;
}
#contentarea #prop td h2{
	margin-bottom: 10px;
}
#contentarea #prop td.images{
	width: 200px;
	text-align: center;
	padding-top: 10px;
}
#contentarea #prop a.links{
	font-size: 14px;
	font-weight: bold;
	white-space: nowrap;
}
#contentarea #prop a.image:hover {
	color: #3b0606;
	background: inherit; 
	border-bottom: none;
}
#contentarea #prop img{
	border: 1px solid #FFFF99;
	margin: 0 10px 5px 10px;
	padding: 0;
}

/* gallery
----------------------------------------------*/
#gallery {
}
#gallery img {
	border: 4px solid white;
}
#gallery table {
	background: #3b0606;
	border-spacing: 2px;
}
#gallery td {
	padding: 12px 0;
	text-align: center;
}
#galleryControls {
	margin: 10px 0 0 0;
}
#galleryControls td{
	text-align: center;
	width: 50px;
}
#galleryImage {
	text-align: center;
	padding: 15px;
}
#galleryImage img{
	border: 6px solid white;
}
#gallery p{
	text-align: center;
	font-size: 1.2em;
	margin-top: 1.2em;
}
#galleryControls a, #gallery a{text-decoration: none;}
#galleryControls a:link, #gallery a:link{color: #e9e18b;}
#galleryControls a:visited, #gallery a:visited{color: #e9e18b;}
#galleryControls a:hover, #gallery a:hover{
	color: white;
	background: none;
	border: none;
}
#gallery a:active {color: #e9e18b;}


/* footer 
----------------------------------------------*/
#footer ul.topLevelNav {
	padding: 0;
	margin-bottom: 0.3em;
	list-style: none;
}
#footer ul.topLevelNav li {
	display: inline;
}
#footer a {
	padding: 0 0.5em;
	font-size: 0.9em;
	text-decoration: none;
	white-space: nowrap;
}
#footer a.cperry{
	padding: 0;
}
#footer{
	text-align: center;
}
#footer p{
	margin: 0;
	font-size: 0.9em;
	color: white;
}
#footer a:link {color: white;}
#footer a:visited {color: white;}
#footer a:hover {
	color: #e9e18b;
	background: none;
	border: 0;
}
#footer a:active {color: #e9e18b;}
#footer a.current {color: #e9e18b;}

/* clearfix
----------------------------------------------*/
.clearfix:after {
	content: "."; 
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden;
}
* html>body .clearfix {
	display: inline-block; 
	width: 100%;
}
* html .clearfix {
	/* Hides from IE-mac \*/
	height: 1%;
	/* End hide from IE-mac */
}
