/******************************/
/*     Common Classes         */

div, img, p, span{
	/* to nullify all default margins and paddings */
	margin : 0;
	padding : 0;
}

.float_left {
	float:left;
}

.float_right {
	float:right;
}

.clear_both {
	clear:both;
}

.margin_auto {
	margin:0 auto;
}

.align_right {
	text-align: right;
}

.align_left {
	text-align: left;
}

	.align_justify {
	text-align: justify;
}

.align_center {
	text-align: center;
	margin:0 auto;
}

/******************************/
/* Styles for the Page Header */


.wrapper {
	width:756px;
	margin:auto;
}

#top {
	width : 756px;
	background-image : url(/img/top_bg.jpg);
	background-repeat : repeat-x;	/* thin grey background at the top of header */
	margin : auto;			/* to center align the header block */
}

#top_left {
	float : left;
	width : 178px;
}

#top_right {
	font-family: arial;
	color:#0D3A68;
	float : right;
	width : 336px;
	height : 38px;
	padding : 3px;					/* to show the thin grey background color */
}

#top_menu {
	clear : both;					/* to make the menu appear as a new line */
}

#top_owner_login {
	float : left;
	width : 161px;
	text-align : right;				/* to make the homeowner login image aligned to right */
}

#top_contractor_login {
	float : right;
	width : 175px;
	text-align : left;				/* to make the contractor login image aligned to left */
}



/******************************/
/* Styles for the Page Footer */

#footer_block {
	text-align : center;
	margin-top : 10px;
	background-color : #5E738C;
	height : 55px;
	width : 756px;
	clear:both;
}

div#footer_left img, div#footer_right img {
	display: block
}

#footer_left {
	background-color : #FFFFFF;
	background-image: url(/img/footerleftblue.gif);
	float : left;
	width : 16px;
	height: 55px;
}

#footer_right {
	background-color : #FFFFFF;
	background-image: url(/img/footerrightblue.gif);
	float : right;
	width : 16px;
	height: 55px;
}

#footer_center {
	margin : 0 auto;
	vertical-align: bottom;
	width : 710px;
}

#footer_center_top {
	height : 33px;
	padding : 0 2px;
}

#footer_center_top p {
	padding : 5px;
}

#footer_center_bottom_left {
	float : left;
	height : 22px;
	width : 295px;
}

#footer_center_bottom_right {
	float : right;
	height : 22px;
	width : 195px;
}

#footer_center_bottom_right p {
	margin : 0;
}



/*****************************/
/*  Styles for the Side bar  */


#sidebar {
	width:167px;
	float:right;
	text-align:left;
	margin-bottom:10px;
}

div.subhead img{
	display:block;
}

.sidebar_content {
	padding-left:5px;
	padding-top:5px;
	padding-bottom:5px;
	line-height:150%;
}

#sidebar_top10_proj {
	background:#95AE75;
}

#sidebar_article {
	background:#829EAC;
}

#sidebar_boroughs {
	background:#D8A056;
}

#sidebar_contact {
	margin-top:10px;
	text-align:center;
}

#sidebar_contact p {
	padding: 3px 0px;
}

#side_news_bar {
	width: 276px;
}

.sidebar_news_text1, .sidebar_news_text2, .sidebar_news_text3 {
	width: 188px;
	padding-top: 5px;
	padding-left: 5px;
	height: 24px;
	float: left;
}
.sidebar_news_text1 {
	background-color: #86A562;
}
.sidebar_news_text2 {
	background-color: #F66013;
}
.sidebar_news_text3 {
	background-image: url(/images/ext_sid_down_left.gif);
}

.sidebar_news_image {
	width: 83px;
	height: 29px;
	float: right;
}
