/*
Theme Name: SF Bayview
Theme URI: http://www.sfbayview.com
Description: Theme for sfbayview.com
Version: 1.0
Author: BlinkTag Inc
Author URI: http://blinktag.com
*/

a:link, a:visited{
	text-decoration: none;
	color: #265372;
}

a:hover{
	text-decoration: underline;
}

p{
	margin: 0 0 1em 0;
}

.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}

.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}

a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption {
    background: #fff;
    border: 1px solid #f0f0f0;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 5px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}

.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 100%;
    padding: 0;
    width: 9999;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}


form{
	margin-bottom:0;
}

body{
	margin: 0;
	font-family: Arial, Helvetica, Georgia, Sans-serif;
	font-size: 12px;
	text-align: center;
	vertical-align: top;
	background: url('http://www.sfbayview.com/wp-content/themes/sfbayview/images/back.jpg') #747a83 repeat-x;
	color: #000000;

}
body, h1, h2, h3, h4, h5, h6, blockquote, address, dd, dl, hr, form p{
	margin: 0;
	padding: 0;
}
h1{
	font-size: 24px;
	padding: 0 0 10px 0;
}

h2{
	font-size: 16px;
}

h3{
	font-size: 14px;
}

#wrapper{
	margin:0 auto 0 auto;
	width: 1000px;
	text-align: left;
	background: #d1d0ce;
	-moz-box-shadow: 0px 0px 12px #000;
	-webkit-box-shadow: 0px 0px 12px #000;
	box-shadow: 0px 0px 12px #000;
	overflow:hidden;
}

#header {
	background: url('http://www.sfbayview.com/wp-content/themes/sfbayview/images/header.jpg') #d1d0ce repeat-x;
	height: 106px;
	*height: 140px; /*IE7 Hack*/
}

#header img{
	border:none;
}

#header #rightbox {
	float: right;
	width: 620px;
	padding-top:10px;
}

#header #searchbox {
	float: right;
	width: 500px
	}

#header #subscribe {
	float: right;
	width: 400px
}

#header #rightbox #topad{
	margin-right:5px;
	margin-top:5px;
	clear: both;
	float:right;
	-moz-box-shadow: 3px 3px 4px #666; -webkit-box-shadow: 3px 3px 4px #666; box-shadow: 3px 3px 4px #666;
}

#header #rightbox #topad a {
	display: block;
	line-height: 0;
}

#header #logo {
	float: left;
	width: 371;
	}

#container{
	float: left;
	width: 620px;
	*width: 615px; /*IE7 Hack*/
	margin: 0 5px;
}

.sidebar{
	clear:left;
	float: left;
	width: 200px;
	background: #e3e3e3;
	display: inline;
	margin: 0 0 13px 5px;
	-moz-box-shadow: 3px 3px 4px #666;
	-webkit-box-shadow: 3px 3px 4px #666;
	box-shadow: 3px 3px 4px #666;
}

.sidebar ul{
	list-style-type: none;
	margin: 0;
	padding: 0 10px 0 10px;
}

.sidebar ul li{
	padding: 10px 0 10px 0;
}

.sidebar ul li h2{
	font-size: 16px;
	text-shadow:1px 1px 1px #666;
}
.sidebar ul ul li{
	padding: 5px 0 ;
}
.sidebar ul ul ul{
	padding: 0 0 0 10px ;
}

.sidebar ul ul ul li{
	padding: 0;
}

.sidebar .tagcloud {
	padding: 0 10px 0 10px;
}

/* =Comments
-------------------------------------------------------------- */

.comments-title {
	margin-bottom: 48px;
	margin-bottom: 3.428571429rem;
	font-size: 16px;
	font-size: 1.142857143rem;
	line-height: 1.5;
	font-weight: normal;
}
.comments-area article {
	margin: 24px 0;
	margin: 1.714285714rem 0;
}
.comments-area article header {
	margin: 0 0 24px;
	margin: 0 0 1.7rem;
	overflow: hidden;
	position: relative;
}
.comments-area article header img {
	float: left;
	padding: 0;
	line-height: 0;
}
.comments-area article header cite,
.comments-area article header time {
	display: block;
	margin-left: 85px;
	margin-left: 6.071428571rem;
}
.comments-area article header cite {
	font-style: normal;
	font-size: 15px;
	font-size: 1.071428571rem;
	line-height: 1.42857143;
}
.comments-area article header time {
	line-height: 1.714285714;
	text-decoration: none;
	font-size: 12px;
	font-size: 0.857142857rem;
	color: #5e5e5e;
}
.comments-area article header a {
	text-decoration: none;
	color: #5e5e5e;
}
.comments-area article header a:hover {
	color: #21759b;
}
.comments-area article header cite a {
	color: #444;
}
.comments-area article header cite a:hover {
	text-decoration: underline;
}
.comments-area article header h4 {
	position: absolute;
	top: 0;
	right: 0;
	padding: 6px 12px;
	padding: 0.428571429rem 0.857142857rem;
	font-size: 12px;
	font-size: 0.857142857rem;
	font-weight: normal;
	color: #fff;
	background-color: #0088d0;
	background-repeat: repeat-x;
	background-image: -moz-linear-gradient(top, #009cee, #0088d0);
	background-image: -ms-linear-gradient(top, #009cee, #0088d0);
	background-image: -webkit-linear-gradient(top, #009cee, #0088d0);
	background-image: -o-linear-gradient(top, #009cee, #0088d0);
	background-image: linear-gradient(top, #009cee, #0088d0);
	border-radius: 3px;
	border: 1px solid #007cbd;
}
.comments-area li.bypostauthor cite span {
	position: absolute;
	margin-left: 5px;
	margin-left: 0.357142857rem;
	padding: 2px 5px;
	padding: 0.142857143rem 0.357142857rem;
	font-size: 10px;
	font-size: 0.714285714rem;
}
a.comment-reply-link,
a.comment-edit-link {
	color: #686868;
	font-size: 13px;
	font-size: 0.928571429rem;
	line-height: 1.846153846;
}
a.comment-reply-link:hover,
a.comment-edit-link:hover {
	color: #21759b;
}
.commentlist .pingback {
	line-height: 1.714285714;
	margin-bottom: 24px;
	margin-bottom: 1.714285714rem;
}

/* Comment form */
#respond {
	margin-top: 48px;
	margin-top: 3.428571429rem;
}
#respond h3#reply-title {
	font-size: 16px;
	font-size: 1.142857143rem;
	line-height: 1.5;
}
#respond h3#reply-title #cancel-comment-reply-link {
	margin-left: 10px;
	margin-left: 0.714285714rem;
	font-weight: normal;
	font-size: 12px;
	font-size: 0.857142857rem;
}
#respond form {
	margin: 24px 0;
	margin: 1.714285714rem 0;
}
#respond form p {
	margin: 11px 0;
	margin: 0.785714286rem 0;
}
#respond form p.logged-in-as {
	margin-bottom: 24px;
	margin-bottom: 1.714285714rem;
}
#respond form label {
	display: block;
	line-height: 1.714285714;
}
#respond form input[type="text"],
#respond form textarea {
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	font-size: 12px;
	font-size: 0.857142857rem;
	line-height: 1.714285714;
	padding: 10px;
	padding: 0.714285714rem;
	width: 100%;
}
#respond form p.form-allowed-tags {
	margin: 0;
	font-size: 12px;
	font-size: 0.857142857rem;
	line-height: 2;
	color: #5e5e5e;
}
.required {
	color: red;
}


.post{
	padding: 8px;
	background: #e3e3e3;
	margin:0 0 10px 0;
	-moz-box-shadow: 3px 3px 4px #666;
	-webkit-box-shadow: 3px 3px 4px #666;
	box-shadow: 3px 3px 4px #666;
}
.post h2{
	font-size: 18px;
	text-shadow:1px 1px 1px #fff;
}

.entry{
	clear:both;
	line-height: 1.467em;
}

.entry img {
	border:none;
}

.entry ol li {
	padding: 5px 0;
}

.entry .embed-youtube iframe {
	height: 339px;
	width: 604px;
}

.entry h2 {
  margin-bottom: 10px;
}

.entry h3 {
  margin-bottom: 12px;
}

.print {
	width: 110px;
	float:right;
	padding-bottom: 3px;
	text-align:right;
}

.print ul{
	list-style-type:none;
	padding:0;
	margin:0;
}

.date{
	float:left;
	font-weight:bold;
	font-style:italic;
	width:200px;
}

.tags{
	border-top: 1px solid #c3c3c3;
	margin: 10px 0 0 0;
	clear:both;
	padding:5px 0;
}

.taglist{
	padding:0 20px;
}

.postmetadata .left {
	float:left;
	width:200px;
}

.postmetadata .right {
	float:right;
	width:380px;
	text-align:right;
}

h3.related_post_title, .tags h3 {
	font-size: 22px;
	line-height: 1.3em;
	margin: 0px 0px 8px;
	font-weight:normal;
}

.navagation{
	padding: 10px 0 0 0;
	font-size: 14px;
	font-weight: bold;
	line-height: 18px;
}

#footer{
	clear: both;
	padding: 10px;
	border-top: 5px solid #c3c3c3;
}

#footer .left{
	float:left;
	width:450px;
}

#footer .right {
	float:right;
	width:450px;
	text-align:right;
}

.adbox {
	background: #e3e3e3;
	float: right;
	clear:right;
	width: 160px;
	margin-right:4px;
	margin-top:20px;
	-moz-box-shadow: 3px 3px 4px #666;
	-webkit-box-shadow: 3px 3px 4px #666;
	box-shadow: 3px 3px 4px #666;
	line-height: 0;
}

.adbox a {
	display: block;
}

.adbox img{
	border:none;
}

.adbox.text {
  padding: 5px;
  width: 150px !important;
  margin-top: 0;
}

.adbox.text a {
	display: inline;
	line-height: normal;
}

#social{
  font-weight:bold;
  font-size:16px;
	background: #e3e3e3;
	padding: 30px 5px 10px 5px;
	margin:10px 4px 10px 0;
	float:right;
	width:150px;
	height:34px;
	-moz-box-shadow: 3px 3px 4px #666;
	-webkit-box-shadow: 3px 3px 4px #666;
	box-shadow: 3px 3px 4px #666;
}

.support{
	height:54px;
	clear:both;
	float: left;
	width: 180px;
	background: #e3e3e3;
	display: inline;
	padding:10px;
	margin: 10px 0 10px 5px;
	-moz-box-shadow: 3px 3px 4px #666;
	-webkit-box-shadow: 3px 3px 4px #666;
	box-shadow: 3px 3px 4px #666;
}

/* Homepage Styles*/

.home {
	width: 185px;
	float:left;
	margin: 3.2px;
	overflow: hidden;
	*width:180px; /*IE7 Hack*/
	_width: 196px; /*IE6 Hack*/
}

.home:last-child {
	margin-right: 0;
}

.homelarge {
	margin: 0 1px 3px 3px;
	overflow: hidden;
	height: 191px;
}

.homelarge .entry {
	line-height: 16px;
}

.homelarge p {
	padding: 0;
}

.home h2 {
	background: #15191c;
	padding:2px 5px;
	text-shadow:none;
}

.home img{
	margin:5px 0;
	padding:0;
}

.home .date, .homelarge .date{
	font-weight:normal;
	font-size:10px;
}

.homelarge .date {
	width:410px;
}

.homelarge h2 {
	background: #15191c;
	padding:5px;
	margin-left: 190px;
	text-shadow:none;
}


.homelarge img{
	padding-top:0px;
	padding-left:0px;
	margin-left:0px;
}

.home h2.hometitle a:link, .home h2.hometitle a:visited, .homelarge h2 a:link, .homelarge h2 a:visited {
	color: #e3e3e3;
}

.home h2.hometitle a:hover, .homelarge h2 a:hover  {
	text-decoration:none;
	color: #ffffff;
}

.home .entry {
	border-top: #15191c solid 1px;
	padding-bottom:10px;
	line-height: 16px;
}

.home .entry:first-child {
	border-top: none;
	padding-top: inherit;
}

.home .entry h2 {
	background: none;
	font-size: 12px;
	font-weight: bold;
	padding: 0;
	margin:0;
	clear:both;
}

.home .entry p {
	clear: both;
}

.home p {
	padding: 0;
	margin:0;
}

.home ul {
	padding:5px 0 10px 15px;
	margin:0;
}

@media print {
	.sidebar, div#topad, div#rightbox, div#social,
	img.img_ad, div.tags, div.comments-template, .support,
	#center, div.adbox, #google_translate_element,
	a.addthis_counter.addthis_pill_style.addthis_nonzero,
	a.addthis_button_tweet.at300b, iframe,
	#nrelate_related_1 {
		display: none !important;
		height: 0 !important;
		width: 0 !important;
	}
	.adbox {
		float: left !important;
	}
}