/*  
Theme Name: NNECAPA - American Planning Association Northern New England Chapter
Theme URI: http://www.nnecapa.org
Description: 
Version: 1.0
Author: Morgan Newcomb
Author URI: http://www.unionstreetmedia.com/

*/



.aligncenter { display: block; margin: 0 auto; }
.alignleft { float: left; }
.alignright { float: right; }

/* Self-clearing elements
   http://www.positioniseverything.net/easyclearing.html] */
#wordpresscontent .navigation { display: inline-block; }   
#wordpresscontent .navigation:after {
	content: "."; 
	display: block; 
	height: 0; 
	clear: both; 
	visibility: hidden;
}
* html #wordpresscontent .navigation { height: 1%; }
#wordpresscontent .navigation { display: block; }

#wordpresscontent .navigation .alignleft {
	width: 47%;
}

#wordpresscontent .navigation .alignright {
	width: 47%;
	text-align: right;
}

/* Begin Typography & Colors */
.postmetadata {
	clear: both;
}

blockquote {
	margin: 10px 0;
	border-left: 10px solid #ccc;
	padding: 0 20px 0 10px 
}
/* End Typography & Colors */

/* Begin Comments*/
li.authorcomment {
	background: #eee;
}
.commentlist cite {
	font-style:normal;
	font-weight: bold;
}
/* End Comments */

/* widget sidebar */
#wp-sidebar {

}
#wp-sidebar ul {
	margin-left: 0px;
}
#wp-sidebar ul ul {
	margin-left: 20px;
	margin-bottom: 1em;
}
li.widget {
	list-style: none;
}
li.widget ul {
	list-style: disc;
}
li.widget ul ul {
	list-style: circle;
}

/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left;
	}
/* End Images */


/* Captions */
.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	border: 1px solid #ddd;
	text-align: center;
	background-color: #f3f3f3;
	padding-top: 4px;
	margin: 10px;
	-moz-border-radius: 3px;
	-khtml-border-radius: 3px;
	-webkit-border-radius: 3px;
	border-radius: 3px;
}

.wp-caption img {
	margin: 0;
	padding: 0;
	border: 0 none;
}

.wp-caption p.wp-caption-text {
	font-size: 9px;
	line-height: 15px;
	padding: 0 4px 5px;
	margin: 0;
}
/* End captions */






/*
	TEMPLATE
	--------
*/

/*
	SITE BUILD
	----------
*/

html { min-height: 100%; margin-bottom: 1px; }

body {
	font: 0.75em/1.7 Verdana, Arial, sans-serif;
	margin: 0; padding: 0;
	text-align:center;
	background: #c7e2d6;
	color: #3c3c3c;
}

div {
	-moz-box-sizing:border-box;
	box-sizing:border-box;
	margin:0;
	padding:0;
}

h1, h2, h3, h4, h5, p, ul, ol, li, blockquote, form, img {
	margin-top: 0;
	padding: 0;
}

h1 {
	font-family: "Lucida Grande", Verdana, Arial, sans-serif;
	font-size: 1.8em;
	color:#009380;
	line-height: normal;
	font-weight: normal;
	margin: 0 0 10px;
	text-transform: uppercase;
}

h2 {
	font-family: "Lucida Grande", Verdana, Arial, sans-serif;
	font-size: 1.4em;
	color:#231f20;
	line-height: normal;
	font-weight: normal;
	
	clear: both;
	text-transform: uppercase;
	letter-spacing: .08em;
	background: transparent url("/wp-content/themes/nnecapa/i/backgrounds.png") no-repeat left -547px;
	padding: 0 0 10px 20px;
	margin: 0 0 0 0;
	
}

h3 {
	font-size: 1.0em;
	color:#94de45;
	color: #000;
	line-height: normal;
	margin: 0 0 14px 0;
	clear: both;
}

h4 {

}

p {
	margin: 0 0 14px 0;
}

a {
	text-decoration: none;
	color: #50b7aa;
	outline: 0;
}

a:hover {
	text-decoration: underline;
}


a img {
	border: 0;
}

table {
margin: 20px auto;

}

th {
background: #333;
color: #fff;
padding: 4px;
}

td {
vertical-align: middle;
padding: 4px;
}

ul li {
	margin-bottom: 8px;
}

#wordpresscontent ul,
#wordpresscontent ol {
	margin-left: 40px;
}


.clearboth {
	clear: both;
}

.redtext {
	color: #c00;
	font-weight: bold;
}

.smaller {
	font-size: 80%;
	display: block;
}



/*
	TEMPLATE
	--------
*/

.png {
 	background-image: url("/wp-content/themes/nnecapa/i/backgrounds.png");
}

.sitewrapper {
	width: 980px;
	margin: 0 auto;
	text-align: left;
	position: relative;
}

/*
	MASTHEAD 
	--------
*/

#m .sitewrapper {
	z-index: 900; /* ie 6 hack */
}

#masthead {
	width: 980px;
	height: 227px;
	position: absolute;
	top: 0;
	left: 0;
}

#sitename {
	margin: 0;
	padding: 0;
	position: absolute;
	top: 10px;
	left: 10px;
}

#sitename a {
	display: block;
	width: 596px;
	height: 70px;
	text-indent: -999em;
}

.tagline {
	position: absolute;
	left: 640px;
	top: 148px;
	width: 322px;
	height: 30px;
	text-indent: -999em;
}



/*
	SLIDESHOW 
	---------
*/

#slideshow {
	width: 960px;
	overflow: hidden;
	margin: 0;
	padding: 0;
	position: absolute;
	left: 10px;
	top: 9px;
	z-index: 0;
}


#slideshow div {
	width: 960px;
	height: 218px;
	background-image: url("/wp-content/themes/nnecapa/i/slideshow.jpg");
	display: none;
}

.ss1 { background-position: left top; }
.ss2 { background-position: left -300px;}
.ss3 { background-position: left -600px;}
.ss4 { background-position: left -900px;}
.ss5 { background-position: left -1200px;}
.ss6 { background-position: left -1500px;}

/*
	NAVBAR
	------
*/

ul#navbar {
	list-style: none;
	margin: 0;
	padding: 0;
	width: 980px;
	height: 34px;
	z-index: 999;
	position: absolute;
	top: 193px;
	left: 0;
}

ul#navbar li {
	position: absolute;
	height: 34px;
	top: 0;
	margin: 0;
	padding: 0;

}

ul#navbar li a {
	text-indent: -999em;
	display: block;
	height: 34px;
	background-image: url("/wp-content/themes/nnecapa/i/backgrounds.png");
}

ul#navbar li a:hover {
	
}

#nb0 {
	left: 10px;
	width: 60px;
}

#nb1 {
	left: 70px;
	width: 125px;
}

#nb2 {
	left: 195px;
	width: 142px;
}

#nb3 {
	left: 337px;
	width: 59px;
}

#nb4 {
	left: 396px;
	width: 125px;
}

#nb5 {
	left: 521px;
	width: 65px;
}

#nb6 {
	left: 586px;
	width: 86px;
}

#nb7 {
	left: 672px;
	width: 184px;
}

#nb8 {
	left: 856px;
	width: 114px;
}

#nb9 {
	width: 110px;
	left: 850px;
	top: -146px !important;
}

#nb9 a {
	background: transparent !important;
}

#nb0 a { background-position: -10px -250px; }
#nb1 a { background-position: -70px -250px; }
#nb2 a { background-position: -195px -250px; }
#nb3 a { background-position: -337px -250px; }
#nb4 a { background-position: -396px -250px; }
#nb5 a { background-position: -521px -250px; }
#nb6 a { background-position: -586px -250px; }
#nb7 a { background-position: -672px -250px; }
#nb8 a { background-position: -856px -250px; }


#nb0 a:hover { background-position: -10px -350px; }
#nb1 a:hover { background-position: -70px -350px; }
#nb2 a:hover { background-position: -195px -350px; }
#nb3 a:hover { background-position: -337px -350px; }
#nb4 a:hover { background-position: -396px -350px; }
#nb5 a:hover { background-position: -521px -350px; }
#nb6 a:hover { background-position: -586px -350px; }
#nb7 a:hover { background-position: -672px -350px; }
#nb8 a:hover { background-position: -856px -350px; }

/* dropdowns */

ul#navbar li ul {
	position: absolute;
	left: -9999em;
	width: 220px;
	margin: 0;
	padding: 0 0 12px 4px;
 	background: #c7e2d6 url("/wp-content/themes/nnecapa/i/bg-dropdown.jpg") repeat-x left top;
	list-style: none;
}

ul#navbar li:hover ul, 
ul#navbar li.sfhover ul {
	left: -12px;
	z-index: 900;
	top: 100%;
}

ul#navbar li:hover ul.sub-nb8, 
ul#navbar li.sfhover ul.sub-nb8 {
	left: -100px;
	z-index: 900;
	top: 100%;
}

ul#navbar li:hover ul li a, 
ul#navbar li.sfhover ul li a {
	background: transparent !important;
}

ul#navbar li ul li {
	position: relative;
	height:auto;
	top: 6px;
	padding: 0;
	line-height: normal;
	margin-bottom: 6px;
}


ul#navbar li ul li a {
	font-size: 90%;
	font-weight: bold;
	text-indent: 0;
	background: transparent;
	display: block;
	min-height: 20px;
	padding: 0 2px 0 16px;
	color: #000 !important;
} 

ul#navbar li ul li a {
  height: auto !important;
  height: 20px;
}

ul#navbar li ul li a:hover {
	text-decoration: underline;
}

ul#navbar ul li ul {
left: -999em !important;
}
ul#navbar ul li:hover ul, 
ul#navbar ul li.sfhover ul{
	top: 0;
	left: 220px !important;
	top: -5px;
}

ul#navbar li ul li {
	position: relative;
	height:auto;
	top: 6px;
	padding: 0;
}


ul#navbar li ul li a {
	text-indent: 0px;
	font-weight: bold;
	text-indent: 0px;
	background: transparent;
	display: block;
	min-height: 20px;
	padding: 0 2px 0 10px;
	color: #597c7c;
}

ul#navbar li ul li a {
  height: auto !important;
  height: 20px;
}



/* for crappy browsers */
* html ul#navbar li ul li, * html ul#navbar li ul li a {  

}



/*
	CONTENT WRAPPER
	---------------
*/

#cw {
	background: #fff;
}

#cw .sitewrapper {
	width: 960px;
	padding: 30px 0;
}

#cw div.png {
	background-position: -1827px top;
	background-repeat: repeat-y;
}

.l {
	width: 154px;
	float: left;
}
.rw {
	width: 754px;
	float: right;
}

.c {
	width: 640px;
	float: left;
}



.r {
	width: 174px;
	float: right;
}

.r ul {
	list-style: none;
	margin: 0 !important;
	padding: 0 !important;
}

/*
	HOME PAGE
	---------
*/

#home #cw div.png {
	background-position: -1240px top;
}

#home .c {
	width: 530px;
}

.list-recentnews {
	list-style: none;
	margin-left: 0 !important;
}
/*
	FOOTER
	------
*/

.sitename {
	margin: 20px 0;
	color: #009380;
}

.sitename a {
	color: #009380;
	font-weight: bold;
}

.sitename strong {
	padding-right: 40px;
	font-size: 120%;
}
#usmtag {
	margin: 50px 0;
}
#usmtag a {
	display: block;
	text-indent: -999em;
	width: 213px;
	height: 13px;
	background-position: left -450px;
	float: right;
}



/*
Blog Overrides
--------------
*/

.post h2 {
margin: 20px 0 0 0 !important;
}

.lnk-fulldetails {
	margin: 6px 0 0 30px;
	text-align: right;
	font-style: italic;
}


/*
	CFORMS
	------
*/
.reqtxt,
.emailreqtxt {
color: red;
display: block;
font-size: .8em;
}
