/*
Theme Name: Ernest Media
Theme URI: http://www.ernestmedia.com
Description: This theme is custom built for Ernest Media.
Version: 1.0
Author: Ernest Barbaric
Author URI: http://www.ernestmedia.com
Tags: dark, gray, ernest media, fixed width
*/


/* --------------------------------------- */
/*
/* BODY 
/*
/* --------------------------------------- */

html, body, * {
	padding:0;
	margin:0;
}

html>body #content {
	height: auto;
	min-height: 500px;
}

body {
	font-family:Arial, Helvetica, sans-serif;
	background-color:#333;
	text-align: center;
/*	background-image: url(images/site_bg.png);
	background-repeat:repeat-x;
	background-position: top left;*/
	letter-spacing:normal;
	line-height:1.3em;
	color:#808080;
}

/* --------------------------------------- */
/*
/* CONTENT AREAS
/*
/* --------------------------------------- */

#wrap {
	width: 970px;
	margin:0 auto;
}

#header {
	margin:0 auto;
	padding:0px;
	height:150px;
	width:100%;
	background-image:url(images/EMlogo.png);
	background-position:top left;
	background-repeat:no-repeat;
	background-color:#121212;
	z-index:-1;
	margin-bottom:10px;
	border: 5px solid #222;
}

#header h1 {
	text-align:center;
	width:625px;
	font-family:Arial, Helvetica, sans-serif;
	font-size:36px;
	color:#ffffff;
	padding:15px 15px 0 15px;
	margin:0 auto;
	line-height:normal;
}

#header h1 a, #header h1 a:hover, #header h1 a:link, #header h1 a:visited, #header h1 a:active {
	color:#464646;
	text-decoration:none;
}

#homeshow {
	margin:0 auto;
	padding:0px;
	width: 970px;
	height: 350px;
	border: 5px solid #222;
	background-color:#121212;
	margin-bottom:10px;
}

#blogtop {
	margin:0 auto;
	padding:0px;
	width: 970px;
	height: 120px;
	border: 5px solid #222;
	background-color:#121212;
	margin-bottom:10px;
}


#content {
	width:960px;
	padding:5px;
	margin:0 auto;
	border: 5px solid #222;
	background-color:#121212;
}

#main {
	width:670px;
	text-align:left;
	float:left;
	color:#aaa;
}

.storycontent {
	overflow:hidden;
	padding-top:10px;
}

#searchform {
	clear: both;
	margin-bottom: 5px;
	margin-left: 2px;
	padding: 3px;
}

#recentcomments li, #recentcomments li.recentcomments {
	display:block; 
	padding:4px 4px 4px 10px; 
}

li .categories, li .linkcat, li .pagenav {
	list-style: none;
	margin: 0px;
	padding: 0px;
}

#wp-calendar {
	empty-cells: show;
	font-size: 90%;
	margin: 0;
	width: 90%;
	padding: 3px;
	text-align:center;
}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
}

#wp-calendar a {
	display: block;
	text-decoration: none;
	font-weight:bold;
	background-color:#252525;
}


#wp-calendar td {
	color: #666666;
	font-size: 70%;
	letter-spacing: normal;
	padding: 2px 0;
	text-align: center;
}

#wp-calendar caption {
	font-weight:bold;
}

#wp-calendar #today {
	background-color:#252525;
	color: #898989;
}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
}

#footer {
	width:100%;
	background:#222;
	border-top:#F00 1px solid;
	height:auto;
	color:#999;
	margin-top:50px;
	margin-bottom:0px;
	bottom:0;
	line-height:15px;
}

#footer p {
	text-align: center;
	color: #666666;
	font-size:10px;
	padding-top:10px;
	padding-bottom:0px;
	margin-bottom:0px;
}

#footer a:link, #footer a:hover, #footer a:visited{
	color: #545454;
}

#subfooter {
	width:970px;
	margin:0 auto;
	height:150px;
	clear:both;
	text-align:left;
	bottom:0;
}

#subfooter td {
	border-bottom:none;
}

#subfooter .widget {
	width:323px;
	height:150px;
	float:left;
	text-align: left;
}

#subfooter .widget .inner {
	padding:5px;
}

#subfooter H4, .widgettitle {
	font-size:105%;
	color:#FFF;
}

#subfooter .textwidget {
	font-size: 80%;
	margin-top:10px;
	padding:0px 10px 0px 0px;
}

#subfooter li {
	list-style-type: none;
	list-style-image: none;
}


#subfooter li ul {
	padding-left:0px;
	font-size:12px;
	margin-top:10px;
}

#subfooter a {
	padding:0px;
	text-decoration:none;
	clear:both;
	display:block;
}

#subfooter a:hover {
	color:#F00;
}

/* --------------------------------------- */
/*
/* NAVIGATION
/*
/* --------------------------------------- */
#topright {
	height:150px;
	width:400px;
	float:right;
}

#topcontact {
	height:20px;
	width:400px;
	float:right;
	z-index:999;
	font-size:12px;
	text-align:right;
	padding-right:20px;
}

#pages {
	height:32px;
	width:400px;
	float:right;
	z-index:999;
	padding-top:98px;
}

#pages ul {
	font-size:12px;
	text-transform:uppercase;
}

#pages ul li {
	float:right;
	display:inline;
	height:27px;
	padding:5px 10px 0 0;
	margin: 0 10px 0 0px;
}

#pages ul li a, #pages ul li a:visited, 
#pages ul li a:active, #pages ul li a:hover {
	text-decoration:none;
	color:#CCC;
}

#pages ul li a:hover {
	text-decoration:none;
	border-top:#F00 solid 5px;
	color:#F00;
}

#current, li.current_page_item a {
	border-top:#F00 solid 5px;
	color:#F00;
}

/* --------------------------------------- */
/*
/* SIDEBAR - MAIN 
/*
/* --------------------------------------- */

#sidebar {
	float:right;
	width:220px;
	list-style:none;
	list-style-image:none;
}

#sidebar h4 {
	color:#FFF;
	margin-top:12px;
	padding:5px 5px 5px 5px;
}

#sidebar p {
	padding:3px;
	font-size:70%;
}

#menu {
	padding:0 0 5px 5px; 
	text-align:left;
}

#menu ul {
	list-style:none; 
	margin:0; 
	padding:0; 
	font-size:85%;
	border-top:#F00 1px solid;
}

#menu ul li, #recentcomments li, #recentcomments li.recentcomments {
	padding:0; 
	margin:0;
	width:225px;
}

#menu ul li a {
	display:block;
	padding:4px 4px 0px 5px; 
	text-decoration:none; 
	color:#999;
}

#menu ul li a:hover, #recentcomments li a:hover, #recentcomments li.recentcomments a:hover {
	color:#F00;
}

#menu .textwidget {
	border-top: 1px solid #F00;
}

/* --------------------------------------- */
/*
/* SIDEBAR - BLOG 
/*
/* --------------------------------------- */

#blogsidebar {
	width:220px;
	float:right;
	text-align:left;
}

#blogsidebar h2 {
	color:#FFF;
	padding:15px 5px 5px 5px;
	font-size:105%;
}

#blogsidebar p {
	padding:3px;
	font-size:12px;
}

#blogsidebar li {
	list-style-type: none;
	list-style-image: none;
	margin-bottom:25px;
}

/* --------------------------------------- */
/*
/* TEXT and LINKS 
/*
/* --------------------------------------- */

a, a:link {
	color:#FFF;
	text-decoration:none;
}

a:hover {
	color:#F00;
	text-decoration: none;
}

h1 {
	font-family:Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 190%;
	padding-top: .1em;
	padding-bottom: .5em;
}


h2 {
	font-family:Georgia, serif;
	font-weight: bold;
	font-size: 22px;
/*	padding-top:10px;*/
	color:#FFF;
}

h3 {
	font-family:Arial, Helvetica, sans-serif;
	font-size: 130%;
	line-height:1.1em;
}


h4 {
	font-size: 105%;
}

p {
/*	font-size: 80%; */
}

strong, b {
	font-weight: bold;
}

em, i {
	font-style: italic;
}

code {
	font: 1.1em 'Courier New', Courier, Fixed;
}

acronym, abbr
{
	font-size: 0.9em;
	letter-spacing: .07em;
}

a img {
	border: none;
}

h3 a:link, h3 a:hover, h3 a:visited{
	color: #666666;
	text-decoration:none;
}
img {
	float:left;
	padding:0 8px 5px 0;
}

img.right {
	float:right;
	padding:0px;
}

.aligncenter,
div.aligncenter {
   display: block;
   margin-left: auto;
   margin-right: auto;
}

.alignleft {
   float: left;
}

.alignright {
   float: right;
}

.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;
}

.chronodata, .tags, .category, .metadata {
	margin:5px;
	font-size:11px;
	font-style:italic;
	color:#545454;
	display: block;
	text-align:right;
}

input, textarea {
	font-size: 12px;
	color:#aaaaaa;
	border:1px solid #454545;
	background-color:#252525;
margin-top:5px;
padding:2px;
}

#searchform input, #s input {
	display:inline;
	font-size:12px;
	color:#aaaaaa;
	border:1px solid #454545;
	background-color:#252525;
	padding: 2px;
}

#author, #email, #url {
	width:200px;
}

#comment {
	width:450px;
	height:175px;
	padding:10px;
}

#comments {
	color:#666666;
	line-height:normal;
}

.metadata {
	color: #545454;
}

.metadata a, .metadata a:link, .metadata a:visited {
	color: #fff;
	text-decoration:none;
}
.metadata a:hover {
	color:#F00;
}

.commentlist p {
	clear: both;
	font-size: 95%;
}

cite{
	font-size: 95%;
}

blockquote, blockquote blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 20px;
	border-left: 5px solid #343434;
	background-color:#252525;
}

blockquote blockquote {
	border-left: 5px solid #454545;
	background-color:#363636;
}

blockquote cite {
	margin: 5px 0 0;
	display: block;
}

#respond {
	color:#666666;
	margin-bottom:15px;
	line-height:normal;
}

#respond h3 {
}

.commentmetadata {
	font-size: 80%;
	float: right;
}
.commentlist {
	margin-top: 5px;
}

.commentlist li {
	padding:5px;
	background-color:#252525;
	margin:2px;
	overflow:hidden;
}

.commentlist li p {
	padding:8px;
}

.navigation {
	display: block;
	text-align: center;
	margin-top: 10px;
	margin-bottom: 10px;
	color: #545454;
}

.navigation a:link, .navigation a:hover, .navigation a:visited{
	color: #545454;
}

.alignright {
	float: right;
}

.alignleft {
	float: left;
}
/* Table Styling */

table {
	font-family:Arial, Helvetica, sans-serif;
	font-size:14px;
	padding-top:10px;
}

tr {
}

td {
	line-height:20px;
	vertical-align:top;
}


/* content text and header styling */

.item {
	text-align:left;
	margin-bottom:55px;
}

.item ul {
	list-style-type: disc;
	padding-left: 15px;
	margin-left: 10px;
	font-size: 80%;
}

.item ol{
	list-style-type: decimal;
	padding-left: 15px;
	margin-left: 10px;
	font-size: 80%;
}

.itemhead {
	padding-top: 5px;
	padding-bottom: 5px;
	color:#FFF;
	text-transform:lowercase;
	border-bottom:1px solid #FF0000;
}

.itemhead h3 a {
	display: inline;
	color:#FFF;
}

.itemhead h3 a:hover {
	display: inline;
	color:#F00;
}

.storycontent p {
	font-family:Tahoma, sans-serif;
	margin-top:10px;
	font-size:13px;
}

.avatar {
	border:none;
	float:left;
	margin:0 5px 2px 0;
}

#menu .taggage {
	width:80%;
	margin-left:auto;
	margin-right:auto;
	margin-bottom:15px;
}

#menu .taggage a {
	text-decoration:none;
}

#menu .widget-move-over {
	margin-bottom:15px;
	padding-top:5px;
}

#calendar_wrap {
	margin-bottom:15px;
}

/* --------------------------------------- */
/*
/* SLIDESHOW - NextGen 
/*
/* --------------------------------------- */

.slideshow {
	text-align:left;
	outline: none;
	padding-left:0px;
	padding-top:10px;
	color:
}

.slideshowlink {
	
}