/*  
Theme Name: Upstate Films  / adsimple
Description: Designed by Sean Thompson / Dimox
Author: Sean Thompson / Dimox
*/

* {margin: 0; padding: 0;}
	
html {filter: expression(document.execCommand("BackgroundImageCache", false, true));}
	
body {
	font: 62.5% "Trebuchet MS", Tahoma, Arial, sans-serif;
	line-height: 1.6em;
	color: #444;
}

a {
	color: #E60000;
	text-decoration: none;
}

a:hover {
	color: #AA0001;
	text-decoration: underline;
}

p {
	margin: 0;
	padding: 10px 0;
}

h1 {margin: 20px 0 0}

input {vertical-align: middle}

h2 {
	font: normal 1.6em "Trebuchet MS", Arial, Sans-Serif;
	margin: 0 0 12px;
}

blockquote {
	margin: 10px 0 10px 30px;
	border-left: 3px solid #E60000;
	background: #EEE;
	padding: 5px 15px;
	font-size: 1.3em;
}

* html blockquote {height: 1%;}

blockquote p {
	font-size: 1em !important;
	margin: 0;
}

.aligncenter,
div.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.entry img { 
    padding: 5px;
    border: #ccc 1px solid;   
    }
	
.entry img.aligncenter {margin: 7px margin}

.alignleft {float: left}

.entry img.alignleft {margin: 5px 10px 3px 0}

.alignright {float: right}

.entry img.alignright {margin: 5px 0 3px 10px}

.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;
}

#wrapper {
	width: 800px;
	margin: 0 auto;
	padding: 10px 0 0 0;
	border-top: 5px solid #fff;
}

/* Header
-----------------------------------------------------------------------------*/
#header {
	height: 138px;
	text-align:center;
	margin-bottom: 16px;
}

#header img {
	margin:0px;
	border: none;
	}

#searchform {margin: 20px 0 0;}

#searchform input {
	font: 1.1em "Trebuchet MS", Arial, Sans-Serif;
	float: left;
}

#s {
	width: 175px;
	padding: 2px 6px;
	border: 2px solid #ccc;
	margin-right: 5px;
}

#searchsubmit {
	background: #E60000;
	border: 0;
	padding: 2px 7px;
	color: #fff;
	font-weight: bold !important;
	overflow: visible;
	height: 24px;
	cursor: pointer;
}

/* Navbar
-----------------------------------------------------------------------------*/

#nav {
	/* background: url(i/smalldot.gif) repeat-x; */
	background: #fff
	width: 798px;
	height: 24px;
	margin: 15px auto 0 auto;
	padding: 0 0 8px 0;
	border: 1px solid #ccc;
	/* border-bottom: 1px solid #CCC; */
	}
	
#nav ul {
	margin: 0px;
	padding: 0px;
	list-style: none;
	}

#nav a {
	color: #6e6e6e; /* #585858 if needed darker */
	display: block;
	font-size: 14px;
	font-family: "Trebuchet MS", Tahoma, Arial, sans-serif;
    font-weight: normal;
    margin: 0px 10px 0px 0px;
	padding: 8px 10px 8px 10px;
	text-decoration: none;
	text-transform: uppercase;
	}
	
#nav a:hover {
	color: #444;
	display: block;
	text-decoration: underline;
    margin: 0px 10px 0px 0px;
	padding: 8px 10px 8px 10px;
	}

#nav li {
	float: left;
	margin: 0 0 0 6px;
	padding: 0px;
	}
	
#nav li li {
	float: left;
	margin: 0px;
	padding: 0px;
	width: 140px;
	}
	
#nav li li a, #nav li li a:link, #nav li li a:active, #nav li li a:visited {
	background: #fff;
	color: #6e6e6e; /* #585858 if needed darker */
	width: 140px;
	font-size: 12px;
	font-family: "Trebuchet MS", Tahoma, Arial, sans-serif;
    font-weight: normal;
	float: none;
	margin: 0px;
	padding: 8px 10px 8px 10px;
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	text-align: left;
	text-decoration: none;
	}
	
#nav li li a:hover {
	background: #fff;
	color: #444;
	padding: 8px 10px 8px 10px;
	text-align: left;
	text-decoration: underline;
	}

#nav li ul {
	position: absolute;
	width: 10em;
	left: -999em;
	}

#nav li:hover ul {
	left: auto;
	display: block;
	}
	
#nav li:hover ul, #nav li.sfhover ul {
	left: auto;
	}
	
#nav li.current_page_item {background: url(i/arrow.gif) no-repeat center left;}


/* Content
-----------------------------------------------------------------------------*/
#container {
	width: 100%;
	background: #fff;
	margin-bottom: 10px;
}

* html #container {height: 1%;}

#container:after {
	content: '.';
	display: block;
	clear: both;
	visibility: hidden;
	height: 0;
}

#content {
	width: 525px;
	float: left;
	padding: 0 10px 20px 0;
	overflow: hidden;
}

#content h2 {
	font: normal 1.9em "Trebuchet MS", Arial, Sans-Serif;
	padding: 0 0 3px;
	border-bottom: 1px solid #ccc;
	margin-bottom: 1.2em;
}

#content h2.pagetitle {
	padding-left: 3px;
	padding: 1px 0 4px;
}

#content h3 {
	font: normal 1.7em "Trebuchet MS", Arial, Sans-Serif;
	padding: 1px 0 4px;
	margin-bottom: 0.2em;
	border-bottom: 1px solid #eee;
}

#content p,
#content li {
	font-size: 1.3em;
	line-height: 1.4em;
}

#content .post {
	margin: 0 0 2.2em;
}

#content .post h2,
#content .post h3 {
	font-size: 2em;
	margin: 0 0 2px;
}

.post ul,
.post ol {
	margin: 7px 0 7px 35px;
}

.post li {padding: 2px 0;}

.post .postmetadata {
	font-size: 1.1em;
	padding: 0 0 7px;
	color: #AAA;
}

.postmetadata a {
	color: #AAA;
	text-decoration: underline;
}

.postmetadata a:hover {text-decoration: none;}

.entry {text-align: justify;}

.entry h1 {
	font-size: 1.8em;
	margin: 15px 0 10px;
}

.entry h2 {
	font-size: 1.65em !important;
	font-weight: bold !important;
	margin: 15px 0 10px !important;
	padding: 0 !important;
	border: none !important;
}

.entry h3 {
	font-size: 1.45em !important;
	font-weight: bold !important;
	margin: 15px 0 10px !important;
	padding: 0 !important;
}

.entry h4 {
	font-size: 1.3em;
	margin: 15px 0 10px;
	font-weight: bold !important;
}

.entry h5 {
	font-size: 1.45em;
	padding: 1px 0 4px;
	margin: 20px 0px 0px 0px;
	font-weight: bold !important;
	border-bottom: 1px solid #ccc;
}

.line {
	clear: both;
	padding: 3px;
	margin: 0 0 15px;
	background: url(i/smalldot.gif) repeat-x;
}

.nav {
	font-size: 1.3em;
	padding: 0 0 22px;
}

.navigation {
	font-size: 1.3em;
	margin: 20px 0;
	height: 1.3em;
}

.alignleft {float: left;}

.alignright {float: right;}

h3#comments,
h3#respond {
	padding: 1px 0 4px;
	border-bottom: 1px solid #EEE;
}

.commentlist {margin: 20px 0 30px 25px;}

.commentlist li {padding: 8px 0 2px;}

.cdata {
	background: #F5F5F5;
	border-bottom: 1px solid #DDD;
	padding: 3px 3px 3px 7px;
	height: 1%;
}

.cdata strong {display: block;}

#content img.avatar {
  float: right;
	display: inline;
	border: 0;
	margin: 1px 1px 0;
}

.ctext {padding: 0 7px;}

.commentlist li p {font-size: 1em !important;}

.commentmetadata {font-size: 0.85em;}

.commentmetadata a {color: #A5A5A5;}

#author,
#email,
#url,
#comment,
#submit {
	font: 1em "Trebuchet MS", Arial, Sans-Serif;
	padding: 2px 4px;
	width: 200px;
	border: 1px solid #CCC;
}

#comment {
	width: 470px;
	height: 170px;
}

#submit {
	width: 115px;
	height: 22px;
	padding: 0;
	background: #F4F4F4;
	cursor: pointer;
	overflow: visible;
}

/* Sidebars
-----------------------------------------------------------------------------*/
#sidebars {
	float: left;
	width: 260px;
	font-size: 1.2em;
	line-height: 1.4em;
}

* html #sidebars {height: 1%;}

#sidebars:after {
	content: '.';
	display: block;
	clear: both;
	visibility: hidden;
	height: 0;
}

#l-sidebar {
	float: left;
	width: 260px;
	padding: 0 10px;
}

#sidebars ul {margin: 0 0 15px;}

#sidebars li {
	list-style: none;
	border-bottom: 1px solid #EEE;
	padding: 3px 4px;
	margin: 0;
}

#sidebars li ul {margin: 0 0 3px 12px;}

#sidebars li li {
	padding: 3px 0 0;
	border: none;
}

#sidebars h2 {
	font: normal 1.7em "Trebuchet MS", Arial, Sans-Serif;
	padding: 0 0 3px 3px;
	border-bottom: 1px solid #EEE;
}

#sidebars h3 {
	font: normal 1.4em/1.1em "Trebuchet MS", Arial, Sans-Serif;
	padding: 0 0 3px;
	border-bottom: 1px solid #ccc;
}

#sidebars .ads ul li { 
	display : inline;
	padding : 0;
	margin : 0;
	list-style-type : none;
}
	
#sidebars .ads ul li a:hover { 
	border-bottom: none;
	list-style-type : none;
}
	
.ads {
	padding: 0;
	margin:0;
	float:left;
}
	
.ads ul {
	margin:0px;
	padding:0px;
}
	
.ads ul li a {
	float:left;
}
	
.ads img {
	margin:0px 0px 1px 1px;
	border: #ccc 1px solid;
}

.adss img {
	margin:0px;
	border: none;
}

.tags,
#tag_cloud {
	margin: 0 0 15px;
}

.tags {text-align: center;}

.tags a,
#tag_cloud a {
	color: #808080;
	margin: 0 2px;
}

#wp-calendar {
	width: 100%;
	margin: 0 0 12px;
}
#wp-calendar td {text-align: center;}

/* Footer
-----------------------------------------------------------------------------*/
#footer {
	clear: both;
	padding: 7px 10px;
	margin: 0 0 15px;
	font-size: 1.1em;
	color: #808080;
	background: #EEE;
}



