/*
Theme Name: twentyeleven-child
Theme URI: localhost/localpatentrules
Description: New child theme to reduce header size
Author: Travis Jensen
Template: twentyeleven
*/

@import url('../twentyeleven/style.css');

/*Remove empty margin between top of pages and title bar at very top of page*/
#page {margin-top:0;}

/*Remove blank space (grey line and whitespace) at top of page, above intro*/
/*padding-top is the space between the text and the top of the page*/
/*Remove site title by adding "display: none;"*/
#site-title {
display: none;
margin-right: 270px;
padding-bottom: 0;
padding-left: 0;
padding-right: 0;
padding-top: 0.65625em;
}

#branding {
border-top: medium none;
padding-bottom: 10px;
position: relative;
z-index: 2;
}

/*Remove/reduce blank space (whitespace) between the title/intro and the header image*/
/*margin-bottom is the space under the title*/
/*Remove tagline in header by adding "display: none;"*/
#site-description {
display: none;
color: #7A7A7A;
font-size: 14px;
margin-bottom: 0.65625em;
margin-left: 0;
margin-right: 270px;
margin-top: 0;
}

/*Remove/reduce blank space (whitespace) between the header and posts/text*/

/*Remove search box*/
#branding #searchform {
display: none;
position: absolute;
right: 7.6%;
text-align: right;
top: 3.8em;
}


/* =Menu -------------------------------------------------------------- */
/*Travis change page link display*/

#access {
	background: #222; /* Show a solid color for older browsers */
	background: -moz-linear-gradient(#252525, #0a0a0a);
	background: -o-linear-gradient(#252525, #0a0a0a);
	background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#252525), to(#0a0a0a)); /* older webkit syntax */
	background: -webkit-linear-gradient(#252525, #0a0a0a);
	-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%;
}
#access ul {
	font-size: 15px;
	list-style: none;
	margin: 0 0 0 -0.8125em;
	padding-left: 0;
}
/* End Menu -------------------------------------------------------------- */


/*Create tab settings*/
.tab { margin-left: 60px; }
.tab2 { margin-left: 120px; }

/*Create centerit and font settings*/
.centerit { text-align: center; }
.justifyit { text-align: justify; }
.fonttrial {
	font-family: Georgia, serif;
	text-align: center;
}

/*Create table settings*/
.table-format {
	border-collapse: collapse;
	border: 3px solid #000;
	border-spacing: 5;
	margin: 0 0 1.625em;
	width: 100%;
	}
.table-format td {
	border: 2px solid #000;
	text-align: center;
	}
.table-format th {
	border: 2px solid #000;
	text-align: center;
	font: bold;
	}

/*Remove "title" from the body of static page "Patent Rules*/
/*"post-10" refers to the page ID of "Patent Rules" which is 10 and you can find out others by looking in the URL when you are editing a page*/

/*Change formatting of tag title (may affect other stuff)*/
.page-title {
	color: #666;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.1em;
	line-height: 0.6em;
	margin: 0 0 0.6em;
	text-transform: uppercase;
}

/* Text elements */
/* Travis this was the crux of the matter and it combines out the margin-top and margin-bottom setting to just take the greater of the two when rendered*/
p {
	margin-bottom: 0.625em;
}

/* =Content ----------------------------------------------- */
/* Travis changed first padding input from 1.625em to 0 to reduce space----------------------------------------------- */
#main {
	clear: both;
	padding: 0.625em 0 0;
}
.page-title {
	color: #666;
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.1em;
	line-height: 2.6em;
	margin: 0 0 2.6em;
	text-transform: uppercase;
}
.page-title a {
	font-size: 12px;
	font-weight: bold;
	letter-spacing: 0;
	text-transform: none;
}
.hentry,
/* Travis changed margin (1.625em) and padding (1.625em) to 0 to reduce space----------------------------------------------- */
/* Travis removed annoying border line at end of posts by changing border-bottom (1px solid #ddd;) to none----------------------------------------------- */
.no-results {
	border-bottom: none;
	margin: 0.625em 0 0;
	padding: 0 0 0;
	position: relative;
}
.hentry:last-child,
.no-results {
	border-bottom: none;
}
.blog .sticky .entry-header .entry-meta {
	clip: rect(1px 1px 1px 1px); /* IE6, IE7 */
	clip: rect(1px, 1px, 1px, 1px);
	position: absolute !important;
}
.entry-title,
.entry-header .entry-meta {
	padding-right: 76px;
}
/* Travis changed first padding bottom (0.3em) and top (15px) to 0 to reduce space----------------------------------------------- */
.entry-title {
	clear: both;
	color: #222;
	font-size: 16px;
	font-weight: bold;
	line-height: 1.5em;
	padding-bottom: 0px;
	padding-top: 0px;
}
.entry-title,
.entry-title a {
	color: #222;
	text-decoration: none;
}
.entry-title a:hover,
.entry-title a:focus,
.entry-title a:active {
	color: #1982d1;
}
.entry-meta {
	color: #666;
	clear: both;
	font-size: 12px;
	line-height: 18px;
}
.entry-meta a {
	font-weight: bold;
}
.single-author .entry-meta .by-author {
	display: none;
}
.entry-content,
/* Travis changed first padding (1.625em) to 0 to reduce space----------------------------------------------- */
.entry-summary {
	padding: 0 0 0;
}

/* Travis add top padding to sidebar images----------------------------------------------- */
.widget img {
	max-width: 97.5%; /* Fluid images for posts, comments, and widgets */
	margin-top: 1.4em;
	margin-bottom: 1.4em;
}
