/*   
Theme Name: Newburyport Today
Description: Custom Theme for Newburyport Today
Author: Paul Thompson
Author URI: pft-123.com
Version: 1.0
.
This theme is writtebn in HTML5 and CSS2. It may contain some hardcoded elements due to the particular job it was designed for.
.
*/

/*overrides*/
*{padding: 0px !important; margin: 0px !important;}
br.spacer{height: 0px !important; display: none;}

/* html5 rewrites */
  article, aside, dialog, figure, footer, header,
  hgroup, menu, nav, section, .no_thumb{ display: block; }
    .no_thumb{clear: both;}

/* comments */
h3#comments{font-family: georgia; color: #D22E0D; margin-bottom: 20px !important; }
ol.commentlist{padding-left: 25px; padding-top: 20px;}
ol.commentlist li{margin-top: 20px !important; display: block;}
.comment-author{background-color: #c7c7c7; padding: 5px !important;}
.comment-meta{font-size: .9em;}
.comment-body p{font-size: .8em !important;}
#respond{background-color: #a7a7a7; margin-top: 25px !important; padding: 5px !important;}
#respond p{font-size: .9em;}
#respond p a{color: #FFaacc}
#respond h3{color: #FFFFFF; font-family: georgia; margin-bottom: 12px !important; }
.btc-summary{display: none;}

/* left rail */
#main-content-three #left-well{width: 179px; padding-left: 3px !important; text-align: left; padding-top: 15px !important; color: #ba4223; font-family: georgia, serif;}
            #cc-form{height: 26px; position: relative; top: -3px !important;}
            #main-content-three #left-well *{margin-left: auto; margin-right: auto;}
            #main-content-three #left-well li{}
.twtr-widget p {font-size: 10px !important; padding: 3px 0 3px 0 !important; border-bottom: 0px !important;}
#left-well  a img{border: 1px solid #e7e7e7;}
.widgettitle{display:none;}
ul#sidebar li{display:block; padding-bottom: 20px !important; padding-top: 10px !important; border-top: 1px solid #ffffff; padding-left: 10px !important; border-bottom: 1px solid #d7d7d7;}
.side-button{position: relative; top: 6px !important;}

 /* globals */
 body{text-align: center; background-color: #DFD061; background: url(/wp-content/themes/newburyport-today/i/body-bg.jpg) no-repeat; background-attachment: fixed; background-position: center -200px; background-color: #efdf9b; }
 .attachment-post-thumbnail{border: 1px solid #ebebeb;background-color: #ffffff; padding: 5px !important; float: left;}
 article div p, article p{font-family: arial; color: #6c6c6c; font-size: 12px;}
 .display-none{display:none;}
 details.post-data{font-size: 11px; font-weight: bold; color: #3c3c3c; font-family: arial;}
 h2.main{color: #D22E0D; font-family: georgia, serif; font-size: 20px; font-weight: normal; margin: 10px 0 20px 0 !important;}
a.continue{display:block; text-align: right; padding-top: 5px !important;}
div#container{margin: 0px auto 0px auto !important; width: 965px;}
img.alignright{ float: right; margin: 0px 0px 5px 8px !important;}
img.alignleft{ float: left; margin: 0px 8px 5px 0 !important; }
#logo{float: left; margin: 20px 0 20px 15px !important; border: 0px;}
#top-ad{display: block; float: right; margin: 10px 15px 20px 0px !important;}
article a{color: #d22e0a; text-decoration: none;}
article a:hover{text-decoration: underline;}
.next_nav{font-family: arial; text-align: right; font-size: 13px; margin-bottom: 20px !important; font-weight: bold; display: block;}
    .next_nav a{color: #D22E0D; }
    .i-border{border: 1px solid #e7e7e7 !important;}
    .page-nav a{color: #D22E0D; text-decoration: none; font-family: arial, verdana;}
div.aligncenter{margin: 0 auto 15px auto !important; text-align: center;}

/* page nav */
nav#page-nav{clear: both;}
	nav#page-nav ul{clear:both; position: relative; left: 1px;}
		nav#page-nav ul li{float: left; display: block; width: 104px ; text-align: center; background: url(/wp-content/themes/newburyport-today/i/page-nav-bg.png) no-repeat top left; padding-top: 3px !important; margin-right: .2em !important;}
		nav#page-nav ul li.current_page_item{background: url(/wp-content/themes/newburyport-today/i/page-nav-bg-on.png) no-repeat top left !important;}
		nav#page-nav ul li.current_page_item a:hover{background: url(/wp-content/themes/newburyport-today/i/page-nav-bg-on.png) no-repeat top left !important; color: #fff !important;}
			nav#page-nav ul li a{color: #ffffff; text-transform: uppercase; font-family: arial; font-size: .75em; font-weight: bold; text-decoration: none;}
			nav#page-nav ul li a:hover{color: #c41c0f;}
			
/* right tabbed module */
#right-tabbed-helper{margin-left: 10px;}
	#right-tabbed-helper > ul{}
		#right-tabbed-helper  ul li{margin-right: 2px !important; list-style: none; cursor: pointer; text-align: center; display: block; float:left; width: 70px; padding: 4px 0 2px 0 !important; font-family: arial; font-weight: bold; font-size: 11px; color: #BD421C;}
		#right-tabbed-helper ul li.selected{background: url(/wp-content/themes/newburyport-today/i/right-tab-selected-bg.gif) no-repeat top left;}
	#right-tabbed-helper nav{font-family: arial; padding: 12px 10px 20px 15px !important; background-color: #FFDFBF; clear: both; overflow: hidden;}
		#right-tabbed-helper nav h2{font-size: 12px; padding-bottom: 3px !important; border-bottom: 1px solid #f7a7a7; font-family: arial; color: #770000; margin-bottom: 8px !important;}
	#s_categories ul, #s_archives ul{clear: both; overflow:hidden;}
		#s_categories ul li, #s_archives ul li{font-family: arial; width: 95px !important; font-size: 11px; list-style: none; text-align: left;}
			#s_categories ul li a,  #s_archives ul li a{color: #aa0000; text-decoration: none; }
				#s_categories ul li a:hover, #s_archives ul li a:hover{color: #dd421c;}
	.feeds{padding: 1px 0 2px 19px !important; background: url(/wp-content/themes/newburyport-today/i/feed-icon.png) no-repeat; font-size: 11px !important; font-family: arial; font-weight: bold; margin-top: 10px !important;}
		.feeds a {color: #990000; text-decoration: none;}
        #social-right{margin-top: 12px !important; padding-right: 8px !important;}
            #social-right a img{width: 40px; border: 0px; margin-right: 1px !important;}
                
/* right ads */
#right-ads{margin-top: 25px !important;}
    #right-ads div, #right-ads p{margin-bottom: 8px !important;}
    #right-ads img{border: 0px !important;}

/* wordpress styles */
.aligncenter,
div.aligncenter {
   display: block;
   margin-left: auto;
   margin-right: auto;
   text-align: center;
}

.alignleft {
   float: left;
   margin: 2px 8px 8px 0px !important;
}

.alignright {
   float: right;
   margin: 2px 0px 8px 8px !important;
}

.wp-caption {
   border: 1px solid #ddd;
   text-align: center;
   background-color: #f3f3f3;
   padding-top: 4px;
   margin: 10px;
   /* optional rounded corners for browsers that support it */
   -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: 11px;
   line-height: 17px;
   padding: 0 4px 5px;
   margin: 0;
}


/* page specifics */
#wrapper-1805 img{float: left !important; margin: 0 0 5px 5px !important;}

/* search form */
#fs-search{border: 0px;}
	#search-term{border: 1px solid #BD421C; color: #b7b7b7; font-family: arial; font-size: 13px; height: 20px; padding: 4px 0 0 2px !important;}
	#search-go{position: relative; top: 8px; left: -5px;}

/* three and two column - shared styles */
#main-content-three, #main-content-two{width: 965px; border-top: 5px solid #c41c0f; text-align: left;  clear: both; overflow: hidden; }
	#right-well{width:230px; padding: 15px !important; min-height: 600px; height: auto !important; height: 600px;}
	
/* three column */
#main-content-three{ background: url(/wp-content/themes/newburyport-today/i/three-bg.png) repeat-y; }
	#main-content-three #left-well, #main-content-three #main-well,  #right-well{float:left;}
	#main-column #left-well img{border: 0px;}
	#main-content-three #main-well{width: 490px; padding: 15px !important;}
		#main-content-three #main-well #latest-post{border: 1px solid #ebebeb; padding: 8px !important; margin-bottom: 20px !important;}
			#main-content-three #main-well #latest-post article{border: 1px solid #ebebeb;   min-height:220px;height:auto !important;height:220px;clear: both; overflow: hidden; padding: 15px 10px 10px 10px !important; background-color: #fafafa; margin: 8px;}
			
				#main-content-three #main-well #latest-post article hgroup{display: block; float: left; padding-bottom: 10px !important;}
				#main-content-three #main-well #latest-post article img{float:left; clear: left; background-color: #fff; border: 1px solid #e7e7e7; padding: 5px !important; text-align: right;}
				#main-content-three #main-well #latest-post article p.has_thumb{float: right; padding-left: 5px !important; }
p.narrow_thumb{}
	
		#main-content-three #main-well article.post{ border: 1px solid #dfdfdf;margin-bottom: 10px !important; clear: both; overflow: hidden; background-color: #fafafa; padding: 15px 8px 15px 8px !important;}
			#main-content-three #main-well article.post img{float:left;}
			#main-content-three #main-well article.post div.has_thumb{float: right; width:363px;}
			#main-content-three{} #main-well article.post div h3, #main-content-three #main-well #latest-post article h2{color: #D22E0D; font-family: georgia, serif; font-size: 18px; font-weight: normal;}
				#main-content-three{} #main-well article.post div h3 a, #main-content-three #main-well #latest-post article h2 a, a.continue{color: #D22E0D; text-decoration: none;}
				#main-content-three{} #main-well article.post div h3 a:hover, #main-content-three #main-well #latest-post article h2 a:hover, a.continue:hover{color: #ff2200;}
			
/* two column */
#main-content-two{ background: url(/wp-content/themes/newburyport-today/i/two-bg.gif) repeat-y; }
		#main-content-two #main-well{padding: 10px 20px 10px 20px !important; width: 660px; float: left;}
			#main-content-two #main-well nav.share{text-align: right;}
			#main-content-two #main-well article{font-family: arial; clear: both; overflow: hidden;color: #6c6c6c; font-size: 12px; margin-bottom: 20px !important; width: 625px;}
				#main-content-two #main-well article p, #main-content-two #main-well article ul, #main-content-two #main-well article ol{margin-bottom: 12px !important;}
					#main-content-two #main-well article ul li{list-style: inside !important}
				#main-content-two #main-well article hgroup, #main-content-two #main-well hgroup{margin-bottom: 25px !important;}
				#main-content-two #main-well hgroup p{color: #999999; font-family: arial; font-size:.8em;}
				#main-content-two #main-well article img{padding: 5px !important; border: 1px solid #e7e7e7;}
				#main-content-two #main-well article h1, #main-content-two #main-well h1{color: #D22E0D; font-family: georgia;  font-weight: normal;}
				#main-content-two #main-well article h2, #main-content-two #main-well article h3, #main-content-two #main-well article h4{font-family:arial;}
				#main-content-two #main-well article h2{font-size:17px; color: #D22E0D; }
				#main-content-two #main-well article h3{font-size:15px; color: #333333; }
				#main-content-two #main-well article h4{font-size:13px; color: #6c6c6c; }
	#main-content-two #post-comments{background-color: #e7e7e7; padding: 10px !important; font-family: arial !important; margin-bottom: 15px !important; }
        #main-content-two #post-comments a{color: #D22E0D; }
        #main-content-two #post-comments .dsq-textarea-wrapper , #main-content-two #post-comments .dsq-input-wrapper , #main-content-two #post-comments label{margin-top: 10px !important;}
		
			#main-content-two #main-well article.post{ border: 1px solid #dfdfdf;margin-bottom: 10px !important; clear: both; overflow: hidden; background-color: #fafafa; padding: 15px 8px 15px 8px !important;}
				#main-content-two #main-well article.post div h3{color: #D22E0D; font-family: georgia, serif; font-size: 18px; font-weight: normal;}
					#main-content-two #main-well article.post div.has_thumb{float: right; width:495px;}
					#main-content-two #main-well article.post img{float:left;}
                                        
/* Disqus */
#dsq-content h3{color: #990000 !important;}

/*forms*/
fieldset.page{border: 1px solid #f2f2f2; padding: 20px 8px 20px 8px !important;}
legend{color: #BD421C; font-weight: bold;}
fieldset.page label{display: block; margin-bottom: 8px !important;}
fieldset.page p{margin: 0px !important;}
fieldset.page input, fieldset textarea{margin-bottom: 20px !important; width: 250px;}
fieldset.page textarea{height: 100px;}
#errors{color: #990000;}
                                        
/* Footer */
footer{padding: 15px !important; text-align: left; font-family: arial; margin-bottom: 20px !important; clear: both; overflow: hidden; background-color: #666666;}
    footer nav{float: left; width: 275px; margin-right: 20px !important;}
        footer nav h2{color: #FFFFFF; font-size: .8em; font-family: georgia; padding-bottom: 2px !important; border-bottom: 1px solid #888888; margin-bottom: 8px !important;}
            footer nav ul{font-size: .7em;}
                footer nav ul li{list-style: none; float: left; display: block; width:120px; margin-right: 8px;}
                     footer nav ul li a{color: #FFF7B6; padding-bottom: 2px; text-decoration: none;}
                     footer nav ul li a:hover{text-decoration: underline;}