/*
Theme Name:     Twenty Eleven Child with Sidebar Support
Theme URI:      http://futurewebblog.com
Description:    Child theme for the Twenty Eleven which includes support for sidebars on posts
Author:         Chris Aprea
Template:       twentyeleven
Version:        1.0
*/

/* We must first include the original css from the parent theme */
@import url("../twentyeleven/style.css");

/* Darker background than the original theme */
body {
	background: #333;
}
#page {
	/* 5px top margin; auto horizontal margin */
	margin: 5px auto;
	max-width: 1020px;
}

#content {
	/*
	margin: 0 34% 0 7.6%;
	width: 58.4%;
	*/
	margin: 0 34% 0 40px;
	width: 68%;
}
#secondary {
	float: right;
	/*
	margin-right: 7.6%;
	width: 18.8%;
	*/
	margin-right: 40px;
	width: 20%;
	/*
	border-left-color: #ccc;
	border-left-width: 1px;
	border-left-style: dashed;
	padding-left: 10px;
	*/
}
#branding {
	border-top: 0px;
	padding-bottom: 10px;
	position: relative;
	z-index: 9999;
}
#branding {
	/*background: #333*/
	background: #DF0101; /* Show a solid color for older browsers */
	background: -moz-linear-gradient(#A30303, #DF0101);
	background: -o-linear-gradient(#A30303, #DF0101);
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#A30303), to(#DF0101)); /* older webkit syntax */
	background: -webkit-linear-gradient(#A30303, #DF0101);
	-webkit-box-shadow: rgba(0.4, 0, 0, 0) 0px 1px 2px;
	-moz-box-shadow: rgba(0.4, 0, 0, 0) 0px 1px 2px;
	box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
}
#headerimg{
	padding: 5px 0;
	-webkit-box-shadow: rgba(0, 0, 0, 0.4) 0px -2px 5px;
	-moz-box-shadow: rgba(0, 0, 0, 0.4) 0px -2px 5px;
	box-shadow: rgba(0, 0, 0, 0.4) 0px -2px 5px;
}
#site-title {
	margin-right: 270px;
	padding: 40px 0 0;
}
/*
#site-description {
	color: #7a7a7a;
	font-size: 14px;
	margin: 0 270px 3.65625em 0;
}
*/

/*
	Hide the page title for special pages
	http://wordpress.org/support/topic/remove-page-title-from-some-pages
*/
.page-id-69  .entry-header, .page-id-502  .entry-header, .page-id-486 .entry-header {
	display: none;
}

#menu-item-517 a {
	color: #ffff00;
}

.entry-content
.entry-summary {
	padding: 0;
}
.entry-title {
	clear: both;
	color: #222;
	font-size: 26px;
	font-weight: bold;
	line-height: 1.5em;
	padding-bottom: 0; /*-10px;*/
	padding-top: 15px;
	margin-bottom: 0;
}

/* Without explicitly setting the margin we're inheriting 
a value of "0" which isn't allowing space for the sidebar */
.singular #primary {
	margin: 0 -26.4% 0 0;
}

/* This hides the "previous" and "next" links at the top of the page,
It's better to remove the PHP generating these links, but that's a little more difficult */
#nav-single {
	display: none;
}

/* Without explicitly setting the position we're inheriting 
a value of "absolute" which will place the meta information at the top of the article */
.singular .entry-header .entry-meta {
	position: relative;
}

/* Without explicitly setting the padding we're inheriting 
a padding-top value of "4.875em" which adds redundant whitespace to the top of the article */
.singular .hentry {
	padding: 0;
}

/* Without explicitly setting the width we're inheriting 
a value of "68.9%" which stops the content from taking up the majority of the space available */
.singular .entry-header, .singular .entry-content, .singular footer.entry-meta, .singular #comments-title {
	width: 100%;
}

/* Without explicitly setting the margin we're inheriting 
a margin-left and margin-right value of "7.6%" which makes the content overlap the sidebar */
.singular #content, .left-sidebar.singular #content {
	margin: 0 34% 0 7.6%;
}

/* Without explicitly setting the padding-top we're inheriting 
a value of "15px" which adds redundant whitespace to the top of the article */
.singular article .entry-title {
	padding-top: 0;
}

/* This is just a nicety. Moves the "Edit" link for admins to a more suitable position */
.singular .entry-meta .edit-link a {
	right: 0;
	top: 0;
	left: auto;
}

/* set smaller margin for the menu bar  */
#access div {
	/*margin: 0 7.6%;*/
	margin: 0 35px;
}

/* Red menu bar */
#access {
	background: #DF0101; /* Show a solid color for older browsers */
	background: -moz-linear-gradient(#A30303, #DF0101);
	background: -o-linear-gradient(#A30303, #DF0101);
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#A30303), to(#DF0101)); /* older webkit syntax */
	background: -webkit-linear-gradient(#A30303, #DF0101);
	-webkit-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
	-moz-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
	box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
	clear: both;
	display: block;
	float: left;
	margin: 0 auto 6px;
	width: 100%;
}

/* Red and not grey menu bar */
#footerbar {
	background: #DF0101; /* Show a solid color for older browsers */
	background: -moz-linear-gradient(#A30303, #DF0101);
	background: -o-linear-gradient(#A30303, #DF0101);
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#A30303), to(#DF0101)); /* older webkit syntax */
	background: -webkit-linear-gradient(#A30303, #DF0101);
	-webkit-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
	-moz-box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
	box-shadow: rgba(0, 0, 0, 0.4) 0px 1px 2px;
	clear: both;
	display: block;
	width: 100%;
	text-align: center;
	padding-top: 8px;
	padding-bottom: 8px;
	color: #fff;
}
#footerbar a {
	color: #fff;
}

#site-generator {
	background: #f9f9f9;
	border-top: 1px solid #ddd;
	color: #666;
	font-size: 12px;
	line-height: 2.2em;
	padding: 1em 0.5em;
	text-align: center;
}
