/*
Theme Name: Greenlight
Description: Custom theme for Greater Portland Inc. by eROI.
Version: 1
Author: eROI
Author URI: http://eroi.com/
*/

/************************************************************************

	Site:		greaterportlandinc.com

	Author:		eROI		[www.eroi.com]  

	Client:		Greater Portland Inc.		

	Listing Order:
	==============

	1 - Global
	2 - Structure/Layout
	3 - Main Content
	4 - Sub Navigation
	5 - Left Navigation
	6 - Footer Navigation
	

************************************************************************/

/***********************************************************************
	1 - GLOBAL STYLES
************************************************************************/

body
{
	background: #fff;
	font: 62.5%/1.6em Arial, Helvetica, Verdana, sans-serif;
	color: #333;
	text-align: center;
}

html, body, h1, h2, h3, h4, h5, h6, ol, ul, li, dl, dt, dd, form, input, select, div, p, img, table, td
{ 
	margin: 0; 
	padding: 0; 
}

a {
	text-decoration: none;
	color: #586873;
}

a:hover {
	text-decoration: underline;
}

.disappear {
	margin-left: -9999px;
}

.clearer, .clear {
	clear: both;
	line-height: 0;
}

a img {
	border: none;
}

/***********************************************************************
	2 - STRUCTURE/LAYOUT STYLES
************************************************************************/

div#container {
	width: 918px;
	margin: 0 auto;
	text-align: left;
	font-size: 11px;
}

div#utilitynav ul, div#nav ul, div#footer ul {
	list-style-type: none;
}
div#utilitynav ul li, div#nav ul li, div#footer ul li {
	float: left;
}

/***********************************************************************
	2 - STRUCTURE/LAYOUT STYLES
************************************************************************/

div#header {
	background: url(images/bg_header.gif) no-repeat bottom left;
	position: relative;
	height: 50px;
	margin-top: 24px;
}

div#header h1 {
	background: url(images/logotype_glgp.gif) no-repeat top left;
	width: 230px;
	height: 35px;
	margin: 0 0 0 65px;
	position: absolute;
	top: 7px;
}
div#header h1 a {
	display: block;
	width: 230px;
	height: 35px;
}

div#logobox {
	position: absolute;
	top: -15px;
	left: -55px;
	background: url(images/logo_glgp.png) no-repeat top left;
	width: 126px;
	height: 126px;
	z-index: 10;
}
div#logo a {
	display: block;
	width: 96px;
	height: 96px;
	position: absolute;
	top: -1px;
	left: -42px;
	z-index: 15;
	cursor: pointer;
}


/***********************************************************************
	2 - UTILITY NAV STYLES
************************************************************************/

div#utilitynav {
	float: right;
	padding: 5px 15px 0 0;
}

div#utilitynav ul li {
	height: 34px;
}

/*li#u_newsevents {
	width: 115px;
	background: url(images/nav_newsevents_over.gif) no-repeat top left;
}*/
li#u_home {
	width: 52px;
	background: url(images/nav_home_over.gif) no-repeat top left;
}
li#u_news {
	width: 53px;
	background: url(images/nav_news_over.gif) no-repeat top left;
}
li#u_events {
	width: 61px;
	background: url(images/nav_events_over.gif) no-repeat top left;
}
li#u_metrofactuals {
	width: 87px;
	background: url(images/nav_metrofactuals_over.gif) no-repeat top left;
}
li#u_resource {
	width: 112px;
	background: url(images/nav_resourcelibrary_over.gif) no-repeat top left;
}
li#u_maps {
	width: 46px;
	background: url(images/nav_maps_over.gif) no-repeat top left;
}
li#u_investors {
	width: 67px;
	background: url(images/nav_investors_over.gif) no-repeat top left;
}


div#utilitynav ul li a {
	display: block;
	height: 100%;
	width: 100%;
	outline: none;
}


/*li#u_newsevents a {
	background: url(images/nav_newsevents.gif) no-repeat top left;
}*/
li#u_home a {
	width: 52px;
	background: url(images/nav_home.gif) no-repeat top left;
}
li#u_news a {
	background: url(images/nav_news.gif) no-repeat top left;
}
li#u_events a {
	background: url(images/nav_events.gif) no-repeat top left;
}
li#u_metrofactuals a {
	background: url(images/nav_metrofactuals.gif) no-repeat top left;
}
li#u_resource a {
	background: url(images/nav_resourcelibrary.gif) no-repeat top left;
}
li#u_maps a {
	background: url(images/nav_maps.gif) no-repeat top left;
}
li#u_investors a {
	background: url(images/nav_investors.gif) no-repeat top left;
}

div#utilitynav ul li a:hover {
	background: none;
}



/***********************************************************************
	2 - STRUCTURE/LAYOUT STYLES
************************************************************************/

div#contentwrap {
	background: url(images/bg_content.jpg) repeat-y top left;
}

div#homecontentwrap {
	width: 720px;
	float: left;
}
/*
div#flash {
	width: 720px;
}*/

div#homesidebar {
	width: 198px;
	float: right;
}



#imageMenu {
	position: relative;
	width: 720px;
	height: 200px;
	overflow: hidden;
	margin: -1px 0 0 -3px;
	z-index: 1;
}
#imageMenu ul {
	list-style: none;
	margin: 0px;
	display: block;
	height: 198px;
	width: 1000px;
}

#imageMenu ul li {
	float: left;
}

#imageMenu ul li {
	float: left;
	border-right: 3px solid #fff;
	display:block;
	overflow:hidden;
	width:178px;
	height: 198px;
}

#imageMenu #first {
	background:url(js/banner/banner1.jpg) top center no-repeat;
}
#imageMenu #second {
	background: url(js/banner/banner2.jpg) top center no-repeat;
}
#imageMenu #third {
	background:url(js/banner/banner3.jpg) top center no-repeat;
}
#imageMenu #fourth {
	background:url(js/banner/banner4.jpg) top center no-repeat;
}


/***********************************************************************
	2 - MAIN NAVIGATION STYLES
************************************************************************/

div#nav {
	background: url(images/nav_bg.gif) no-repeat top left;
	padding: 4px 0 4px 64px;
	height: 100%;
}

div#nav ul li {
	height: 36px;
	padding-right: 1px;
}

li#li_people {
	width: 115px;
	background: url(images/nav_people_over.gif) no-repeat top left;
}
li#li_places {
	width: 129px;
	background: url(images/nav_places_over.gif) no-repeat top left;
}
li#li_economy {
	width: 139px;
	background: url(images/nav_economy_over.gif) no-repeat top left;
}
li#li_industry {
	width: 138px;
	background: url(images/nav_industry_over.gif) no-repeat top left;
}
li#li_cost {
	width: 129px;
	background: url(images/nav_cost_over.gif) no-repeat top left;
}





li#li_people a.on {
	background: url(images/nav_people_over.gif) no-repeat top left;
}
li#li_places a.on {
	background: url(images/nav_places_over.gif) no-repeat top left;
}
li#li_economy a.on {
	background: url(images/nav_economy_over.gif) no-repeat top left;
}
li#li_industry a.on {
	background: url(images/nav_industry_over.gif) no-repeat top left;
}
li#li_cost a.on {
	background: url(images/nav_cost_over.gif) no-repeat top left;
}





div#nav ul li a {
	display: block;
	height: 100%;
	width: 100%;
	outline: none;
	cursor: default;
}


li#li_people a {
	width: 115px;
	background: url(images/nav_people.gif) no-repeat top left;
}
li#li_places a {
	background: url(images/nav_places.gif) no-repeat top left;
}
li#li_economy a {
	background: url(images/nav_economy.gif) no-repeat top left;
}
li#li_industry a {
	background: url(images/nav_industry.gif) no-repeat top left;
}
li#li_cost a {
	background: url(images/nav_cost.gif) no-repeat top left;
}

div#nav ul li a:hover {
	background: none;
}



div#nav li ul {
	position: absolute;
	width: 10em;
	left: -999em;
	z-index: 100;
}

#nav li:hover ul, #nav li.sfhover ul {
	left: auto;
	border: 1px solid #dedede;
	border-bottom: none;
	width: 180px;
}

div#nav li ul li {
	height: auto;
	background: #fff;
	border-bottom: 1px solid #dedede;
	width: 179px;
}

div#nav li ul li a {
	padding: 5px 3px 5px 25px;
	background-image: none;
	font-family: Georgia, "Times New Roman", Times, serif;
	color: #4f4f4f;
	width: 152px;
	cursor: pointer;
}
div#nav li ul li a:hover {
	background: #f4f4f4 url(images/dot_orange.gif) no-repeat left;
	background-position: 9px 50%;
	text-decoration: none;
}

/* if you're hovering over a ul subnav, highlight the parent li 
div#nav li#people ul:hover {
	background: url(images/nav_people_over.gif) no-repeat top left;	
}
*/

/***********************************************************************
	2 - CONTENT STYLES
************************************************************************/

div#homecontent {
	width: 440px;
	float: left;
	padding: 15px 20px 30px 30px;
	z-index: 10;
}

div#homecontent p, div#homecontent ul {
	padding-bottom: 1.3em;
}

div#homecontent ul {
	padding-left: 30px;
}


a#dl {
	font-size: 12px;
	text-transform: uppercase;
	color: #D66D20;
	font-weight: bold;
}

div#btn_learnhow a {
	display: block;
	background: url(images/btn_learnhow.gif) no-repeat top left;
	width: 362px;
	height: 32px;
}
div#btn_learnhow a:hover {
	background: url(images/btn_learnhow_over.gif) no-repeat top left;
}

div.post {
	padding: 15px 0 30px 0;
	border-bottom: 1px solid #e0e0e0;
	margin: 0 0 10px 0;
	font-size: 13px;
	height: 100%;
}

div.newseventscontent div.post {
	padding: 5px 0;
}

div.xls {
	padding: 10px 0 5px 0;
	margin: 5px 0 0 0;
}

div.post h2, div.post h2 a  {
	font: bold 20px Arial, Helvetica, sans-serif;
	color: #494a4a;
	margin-bottom: .3em;
}

div.newseventscontent div.post h2, div.newseventscontent div.post h2 a  {
	font: bold 16px/1em Arial, Helvetica, sans-serif;
	color: #494a4a;
}

div.entry p, div.entry ul, div.entry ol {
	padding-bottom: 1em;
}

div.entry ul, div.entry ol {
	padding-left: 2em;
}
div.entry ol li, div.entry ul li {
	padding-bottom: .8em;
}
div.entry h3 {
	padding-bottom: .4em;
	padding-top: .2em;
}


div.entrypremium {
	width: 340px;
	float: left;
	padding-right: 15px;
}	

div.entrypremium img.alignleft {
	padding: 3px;
	margin: 0 7px 0 0;
	border: 1px solid #ccc;
	float: left;
}

div.downloadinfo {
	width: 120px;
	float: right;
	color: #89a3b4;
}
div.downloadbtn {
	width: 113px;
	height: 32px;
	background: url(images/btn_download_over.gif) no-repeat top left;
}
div.downloadbtn a {
	display: block;
	width: 113px;
	height: 32px;
	background: url(images/btn_download.gif) no-repeat top left;
}
div.downloadbtn a:hover {
	background: none;
}
div.downloadinfo p {
	line-height: 1em;
	padding-bottom: 10px;
	padding-left: 15px;
	font-weight: bold;
	font-size: 11px;
}

div.wp-caption {
	float:left;
}

p.wp-caption-text {
	font-style: italic;
	color: #AFB3BC;
	font-size: 10px;
}


div.navigation {
	clear: both;
	margin: 0 0 5px 0;
	padding-top: 15px;
}
div.navigation div.alignleft {
	width: 45%;
	float: left;
}
div.navigation div.alignright {
	width: 45%;
	float: right;
	text-align: right;
}

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

img.aligncenter {
	display: block;
	margin: 0 auto;
}
img.alignleft {
	float: left;
	margin: 0 10px 3px 0;
}
img.alignright {
	float: right;
	margin: 0 0 3px 10px;
}

/***********************************************************************
	2 - STRUCTURE/LAYOUT STYLES
************************************************************************/

div#eventsidebar {
	width: 188px;
	float: left;
	padding: 10px 0;
	font-family: Georgia, "Times New Roman", Times, serif;
}

div#eventsidebar h3 {
	background: url(images/h_events.gif) no-repeat top left;
	background-position: 13px 0;
	height: 16px;
	padding: 0 0 6px 0;
	margin: 6px 0;
	border-bottom: 1px solid #e5e5e5;
}	

div#eventsidebar ul {
	list-style-type: none;
	padding-left: 13px;
}	
div#eventsidebar ul li {
	padding-bottom: 1.1em;
}

div#eventsidebar strong {
	display: block;
	font-family: Arial, Helvetica, Verdana, sans-serif;
	font-size: 14px;
	color: #4A4D4A;
}
div#eventsidebar strong a {
	color: #4A4D4A;
}
div#eventsidebar strong a:hover {
	color: #8CA2B5;
}



/***********************************************************************
	2 - FEATURED DATA STYLES
************************************************************************/

div#homesidebar, div#sidebar {
	position: relative;
}

h3#h_featureddata {
	background: url(images/h_featured-data.gif) no-repeat top left;
	width: 198px;
	height: 44px;
}


h4#h_all a {
	display: block;
	width: 40px;
	height: 20px;
	position: absolute;
	top: 14px;
	right: 10px;
}

div#databox {
	height: 187px;
}


h3#h_industrystack {
	background: url(images/h_gpwa.gif) no-repeat top left;
	background-position: 13px 0;
	width: 188px;
	height: 33px;
	padding: 0 0 6px 0;
	margin: 6px 0;
	border-bottom: 1px solid #e5e5e5;
}

div#homesidebar ul, div#sidebar ul {
	list-style-type: none;
	padding: 10px 0 0 17px;
}	

div#homesidebar ul li, div#sidebar ul li {
	padding-bottom: 1.1em;
	line-height: 1.3em;
}

div#homesidebar ul li a, div#sidebar ul li a {
	color: #d05800;
}

div#homeindustrybox p {
	padding: 0 0 1.3em 13px;
}

div#btn_viewmap {
	padding-left: 13px;
}
div#btn_viewmap a {
	display: block;
	background: url(images/btn_viewmap.gif) no-repeat top left;
	width: 175px;
	height: 32px;
}
div#btn_viewmap a:hover {
	background: url(images/btn_viewmap_over.gif) no-repeat top left;
}

/***********************************************************************
	2 - STRUCTURE/LAYOUT STYLES
************************************************************************/

div#footer {
	clear: both;
	background: url(images/bg_footer.gif) no-repeat top left;
	height: 41px;
	padding-bottom: 40px;
	position: relative;
}

div#footer ul {
	width: 760px;
	margin: 0 auto;
	padding-top: 10px;
}

div#footer ul li {
	height: 26px;
}

li#f_home {
	width: 52px;
	background: url(images/footer_home_over.gif) no-repeat top left;
}
li#f_about {
	width: 71px;
	background: url(images/footer_about_over.gif) no-repeat top left;
}
li#f_news {
	width: 49px;
	background: url(images/footer_news_over.gif) no-repeat top left;
}
li#f_events {
	width: 57px;
	background: url(images/footer_events_over.gif) no-repeat top left;
}
li#f_metrofactuals {
	width: 90px;
	background: url(images/footer_metrofactuals_over.gif) no-repeat top left;
}
li#f_resources {
	width: 114px;
	background: url(images/footer_resourcelibrary_over.gif) no-repeat top left;
}
li#f_maps {
	width: 52px;
	background: url(images/footer_maps_over.gif) no-repeat top left;
}
li#f_sitemap {
	width: 68px;
	background: url(images/footer_sitemap_over.gif) no-repeat top left;
}
li#f_privacy {
	width: 100px;
	background: url(images/footer_privacy_over.gif) no-repeat top left;
}
li#f_terms {
	width: 93px;
	background: url(images/footer_terms_over.gif) no-repeat top left;
}


div#footer ul li a {
	display: block;
	height: 100%;
	width: 100%;
	outline: none;
}


li#f_home a {
	background: url(images/footer_home.gif) no-repeat top left;
}
li#f_about a {
	background: url(images/footer_about.gif) no-repeat top left;
}
li#f_news a {
	background: url(images/footer_news.gif) no-repeat top left;
}
li#f_events a {
	background: url(images/footer_events.gif) no-repeat top left;
}
li#f_metrofactuals a {
	background: url(images/footer_metrofactuals.gif) no-repeat top left;
}
li#f_resources a {
	background: url(images/footer_resourcelibrary.gif) no-repeat top left;
}
li#f_maps a {
	background: url(images/footer_maps.gif) no-repeat top left;
}
li#f_sitemap a {
	background: url(images/footer_sitemap.gif) no-repeat top left;
}
li#f_privacy a {
	background: url(images/footer_privacy.gif) no-repeat top left;
}
li#f_terms a {
	background: url(images/footer_terms.gif) no-repeat top left;
}

div#footer ul li a:hover {
	background: none;
}


div#footer form {
	width: 155px;
	position: absolute;
	left: 25px;
	top: -120px;
}
div#footer form p {
	clear: both;
	height: 100%;
	padding-bottom: 7px;
}
div#footer form label, form#metrofactualsignup label {
	display: block;
	width: 30px;
	float: left;
	padding-right: 6px;
	text-align: right;
}
div#footer form input.textbox, form#metrofactualsignup input.textbox {
	width: 100px;
	border: 1px solid #d5d5d5;
	padding: 2px 3px;
}
div#footer form input.textbox:focus, form#metrofactualsignup input.textbox:focus {
	border-color: #89A3B4;
}
div#footer form h4 {
	color: #89A3B4;
	font-size: 14px;
	text-transform: uppercase;
}

p.copyright {
	font-size: 10px;
	color: #666;
	text-align: center;
	margin: 0 auto;
	padding: 10px 0 0 0;
}	
