/******************************************************************************
 * Malcome Lustgarten main stylesheet.
 * Note: Internet Explorer hacks are in a separate file (all_ie.css)
 * Author: Neal Krouse (krousen@comcast.net)
 *
 * Table of Contents for navigation:
 * _general
 *
 * _wrapper
 *
 * _branding
 *
 * _navigation
 *
 * _content
 *
 * _primary content
 *
 * _secondary content
 *
 * _ternary content
 *
 * _footer
 *
 ******************************************************************************/
 
 
/*-----------------------------------------------------------------------------
 *	SITE COLORS:
 *
 *	Lt blue:				#166998
 *	Dk blue:				#17214F
 *
 *	Lt blue progressions:
 *	4/5 lt blue:			#4587AD
 *	3/5 lt blue:			#73A5C1
 *	2/5 lt blue:			#A2C3D6
 *	1/5 lt blue:			#D0E1EA
 *----------------------------------------------------------------------------*/
 
 
/* _general
------------------------------------------------------------------------------*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline;
}

/* Tables still need 'cellspacing="0"' in the markup. */
table { border-collapse: separate; border-spacing: 0; }
caption, th, td { text-align: left; font-weight: normal; }

/* Remove possible quote marks (") from <q>, <blockquote>. */
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }

/* no list-markers by default, since lists are used more often for semantics */
ul,ol { list-style:none }

/* link underlines tend to make hypertext less readable, 
   because underlines obscure the shapes of the lower halves of words */
:link,:visited { text-decoration:none }

/* whoever thought blue linked image borders were a good idea? */
a img,:link img,:visited img { border:none }

/* Clearing floats without extra markup
   Based on How To Clear Floats Without Structural Markup by PiE
   [http://www.positioniseverything.net/easyclearing.html] */

.clear:after, .container:after, #content:after
{
	content: "."; 
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden;
}
.clear, .container, #content { height: 1%; }
.clear, .container, #content { display: block; }

html 
{ 
	/* Rule removes Page Shift by
	 * adding vertical scrollbars to every page */
	min-height: 100%; 
	margin-bottom: 1px; 
}

body
{
	font-family: verdana, sans-serif;
	background-color: #17214F;
	line-height: 1.5;
	/* Unitless for proper inheritance */
}

/* This is where you set your desired font size. The line-height 
   and vertical margins are automatically calculated from this. 
   
   You have to add an extra calculation here because of IE, so that 
   all users may resize text manually in their browsers.
   
   The top one is for IE: The percentage is of 16px (default IE text size)
   10px is 62.5%, 12px is 75%, 13px is 81.25%, and so forth).
   The second value is what all other browsers see (the wanted font size). */
   
body   { font-size: 13px; }  /* Compliant browsers */

h1,h2,h3,h4,h5,h6 { 
	font-family: Georgia, serif;
	font-weight: normal;
	clear: both; 
	line-height: 1.1;
	color: #166998;
 }

h1 { font-size: 2em; margin-bottom: .5em; }
h2 { font-size: 1.5em; }
h3 { font-size: 1.3em; }
h4 { font-size: 1.1em; }
h5 { font-size: 1em; }
h6 { font-size: 1em; }


strong { font-weight: bold; }
em { font-style: italic; }
p { margin-bottom: 1em; }
p.small { font-size: .8em; }
p.laege { font-size: 1.2em; }
a, a:link, a:visited
{
	text-decoration: underline;
}
a:hover { text-decoration: underline; }

/* _wrapper
------------------------------------------------------------------------------*/
#wrapper
{
	width: 884px;
	padding: 14px;
	border: 8px #166998 solid;
	margin: 0 auto;
	background-color: white;
}

#index_page #wrapper
{
	border: none;
	width: 100%;
	height: 100%;
	margin: 0;
	padding: 50% 0 0;
	position: relative;
	background-color: transparent;
}

#index_page #wrapper a#inter
{
	text-align: center;
	position: absolute;
	top: 200px;
	left: 50%;
	margin-left: -187px;
	display: block;
}


#top
{
	position: absolute;
	top: 0;
	left: 0;
	width:1%;
	z-index: 100;
}

#skipnav
{
	position: relative;
	text-indent: -9000em;
	overflow: hidden;
}
 

/* _branding
------------------------------------------------------------------------------*/
#branding
{
	height: 159px;
	width: 229px;
	float: left;
	display: inline;
}






/* _navigation
------------------------------------------------------------------------------*/

#nav
{
	width: 592px;
	height: 29px;
	float: right;
	display: inline;
	padding-top: 130px;
	/*default banner */
	background-image: url(banners_home.jpg);
	background-repeat: no-repeat;
	background-position: left top;
}

#nav p
{
	line-height: 29px;
	font-family: georgia, serif; 
	background-color: #17214F;
	color: white;
	font-size: 1.2em;
	padding-left: 2%;
}

#nav a
{
	color: white;
	text-decoration: none;
}

#nav a:hover
{
	color: #73A5C1;
}

#home_page #home, #home_page #home:hover,
#about_page #about, #about_page #about:hover,
#properties_page #properties, #properties_page #properties:hover,
#sale_associates_page #sale_associates, #sale_associates_page #sale_associates:hover,
#contact_page #contact, #contact_page #contact:hover
{
	text-decoration: underline;
	cursor: default;
	color: white;
}

/* _content
------------------------------------------------------------------------------*/
#content
{
	margin-top: 20px;
}



/* _primary content
------------------------------------------------------------------------------*/
.two-one-col #primary
{
	width: 592px;
	float: right;
	display: inline;
}
.two-one-three-col #primary
{
	width: 392px;
	float: left;
	display: inline;
	margin-left: 290px;
}

.one-two-col #primary
{
	width: 692px;
	float: left;
	display: inline;
}


.one-col #primary
{
	width: 100%;
}

#primary ul
{
	list-style-type: disc;
	list-style-position: outside;
}

#primary ol
{
	list-style-type: decimal;
	list-style-position: outside;
}

#primary li
{
	margin: 1em 0;
	margin-left: 2em;
}


/* add icons to links */
a[href ^="mailto:"]
{
	padding-right: 20px;
	background-image: url(icon_mailto.gif);
	background-repeat: no-repeat;
	background-position: right center;
}

a[href ^='http://'], a[href ^='https://']
{
	padding-right: 18px;
	background-image: url(icon_external.gif);
	background-repeat: no-repeat;
	background-position: right center;
}

a[href $='.pdf']
{
	padding-right: 18px;
	background-image: url(icon_pdf.gif);
	background-repeat: no-repeat;
	background-position: right center;
}

/* form */
#primary label
{
	display: block;
}

#primary input, #primary textarea
{
	width: 80%;
}

#primary fieldset
{
	background-color: #D0E1EA;
	padding: 1em;
	border: 1px solid #A2C3D6
}


/* _secondary content
------------------------------------------------------------------------------*/
.two-one-col #secondary,
.two-one-three-col #secondary,
.one-two-col #secondary
{
	width: 229px;
	float: left;
	display: inline;
	background-color: #A2C3D6;
	background-image: url(secondary_tile_top.gif);
	background-repeat: no-repeat;
	background-position: left top;
	padding-top: 25px;
}

.two-one-three-col #secondary
{
	margin-left: -682px;
}

.one-two-col #secondary
{
	float: right;
	width: 159px;
	background-image: none;
	padding: .5em 0 .5em 20px;
	border-left: 1px solid #D0E1EA;
	background-color: white;
	font-size: .8em;
}

#secondary ul
{
	padding-bottom: 25px;
	background-image: url(secondary_tile_bot.gif);
	background-repeat: no-repeat;
	background-position: left bottom;
}

#secondary li
{
	margin: 1em 0;
	padding: 0 20px;
}

#secondary a
{
	color: #17214F;
}

#secondary a:hover
{
	color: black;
}

#secondary h2
{
	padding: 0 20px;
	color: #17214F
}

.one-two-col #secondary ul
{
	background-image: none;
	padding: 0;
}

.one-two-col #secondary h2
{
	padding: 0;
	color: #17214F
}

.one-two-col #secondary li
{
	margin: 1em 0;
	padding: 0;
}
#secondary a[href ^='http://'], 
#secondarya[href ^='https://']
{
	padding-right: 0;
	background-image: none;
}

/* _ternary
------------------------------------------------------------------------------*/
#ternary
{
	width: 0;
	float: left;
	display: inline;
	font-size: .8em;
	display: none;
}

.two-one-three-col #ternary
{
	display: inline;
	float: left;
	width: 180px;
	padding: .5em 0 .5em 9px;
	border-left: 1px solid #D0E1EA;
	margin-left: 10px;
}


/* _footer
------------------------------------------------------------------------------*/
#footer
{
	text-align: center;
	margin-top: 3em;
}

#footer p
{
	font-size: .8em;
}

#footer p a
{
	color: black;
	padding: none;
	background-image: none;
	text-decoration: underline;
}

#footer p a:hover
{
	color: #166998;
}

#footer p span
{
	font-size: .9em;
	font-style: italic;
}