/*  
Theme Name: Adley Studio
Description: Custom theme for Adley Studio 
Version: 0.1
Author: Adam Stefanski
Author URI: http://www.adleystudio.com
*/

* {
	margin:0;
	padding:0;
	}

body {
	margin: 0;
	padding: 0px 0px 35px 0px;
	background-color: #777777;
	text-align: justify;
	font-family: "Trebuchet MS", Verdana, Helvetica, sans-serif; 
	font-size: 12pt;
	color: #000000;
}

form {
	margin: 0;
	padding: 0;
}

fieldset {
	margin: 0;
	padding: 0;
	border: none;
}

input, textarea {
	padding: 2px 5px;
	background: #F9F8F1 url(images/img03.gif) repeat-x;
	border: 1px solid #767777;
	font-weight: bold;
	font-size: 1em;
	font-family: "Trebuchet MS", Verdana, Helvetica, sans-serif;	
	color: #2D2D2B;
}

h1, h2, h3 {
	font-weight: normal;
	color: #2D2D2B;
}

h1 a, h2 a, h3 a {
	color: #2D2D2B;
}

h1 a:hover, h2 a:hover, h3 a:hover {
	color: #2D2D2B;
}

h1 {
	font-size: 2.8em;
}

h2 {
	font-size: 2em;
}

h3 {
	letter-spacing: -1px;
	font-size: 1.6em;
}

p, ul, ol {
	margin-bottom: 2em;
	line-height: 180%;
}

blockquote {
	margin: 0 0 0 2em;
	padding: 0 0 0 1em;
	font-style: italic;
	border-left: 4px solid #F2EAB8;
}

a {
	text-decoration: none;
	color: #767777;
}

a:hover {
	border: none;
	text-decoration: none;
	color: #767777;
}

hr {
	display: none;
}

#wrapper {
	width: 100%;
	padding-top: 35px;
	background-color: #777777;
}

/* Header */

#header {
	width: 1000px;
	height: 300px;
	margin: 0 auto;
	background: #FFFFFF url(images/header-logo.jpg);
	border-top: 7px solid #FFFFFF;
	border-left: 7px solid #FFFFFF;
	border-right: 7px solid #FFFFFF;
	border-bottom: 2px solid #FFFFFF;
}

/*Main  Navigation Bar*/

#nav {
	width: 1000px;
	height: 47px;
	margin: 0 auto;
	background: #51B0D5 url(images/menubg.gif) repeat-x left top;
	border-top: 2px solid #FFFFFF;
	border-left: 7px solid #FFFFFF;
	border-right: 7px solid #FFFFFF;
	list-style: none;
	line-height: 1;
	}
	
#nav ul {
	margin: 0;
	padding: 10px 0px 0px 10px;
	list-style: none;
	line-height: 1;
	}


#nav a {
	padding: 0.5em 1.0em 1.5em 1.0em;
	border: none;
	text-decoration: none;
	color: #FFFFFF;
	}

#nav a:hover {
	text-decoration: underline;
	color: #FFFFFF;
	}

#nav li {
	float: left;
	list-style:none;
	font-weight: bold;
	}

#nav a, #nav a:visited {
	display:block;
	padding:6px 12px;
	}

#nav a:hover, #nav a:active, #home .on {
	text-decoration: underline;
	color: #FFFFFF;
	}	
	
#nav .current_page_item {
	margin: -10px 0px 0px 0px;
	padding: 10px 0px 3px 0px;
	background: #51B0D5 url(images/menuactive.gif) repeat-x top left;
	color: #FFFFFF;
}
	
/* Dropdown Menus */		
#nav li ul {
	padding: 3px 0px 0px 10px;
	position: absolute;
	left: -999em;
	height: auto;
	width: 125px;
	border-bottom: 1px solid #FFFFFF;
	min-height: 1%;
	}

#nav li li {
	width: 125px;
	border-top: 1px solid #FFFFFF;
	border-right: 1px solid #FFFFFF;
	border-left: 1px solid #FFFFFF;
	background: #51B0D5;
	}

#nav li li a, #nav li li a:visited {
	font-weight:normal;
	font-size:0.9em;	
	color:#FFFFFF;
	}

#nav li li a:hover, #nav li li a:active {
	background:#C0D8DC;
	}	
		
#nav li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul {
	left: auto;
	}

a.main:hover
{	background:none;
	}
	

/* Float Properties*/

.clearfloat:after {
	display:block;
	visibility:hidden;
	clear:both;
	height:0;
	content:".";
	}
	
.clearfloat {
	display: inline-block;
	}

.clearfloat {
	display:block;
	}

/* Page */

#page {
	width: 1000px;
	margin: 0 auto;
	background: #FFFFFF url(images/border1.gif) repeat-x left top;
	border-top: 2px solid #FFFFFF;
	border-left: 7px solid #FFFFFF;
	border-right: 7px solid #FFFFFF;
	border-bottom: 7px solid #FFFFFF;
}

#menu li:hover ul, #nav li li:hover ul, #nav li li li:hover ul, #nav li.sfhover ul, #nav li li.sfhover ul, #nav li li li.sfhover ul {
	left: auto;
}

/* Content */

#content {
	float: left;
	width: 1000px;
}

/* Post */

.post {
	padding: 25px;
	width: 950px;
}

.post .title {
	margin: 0;
}

.post h1 {
	margin: 0;
	display: inline;
	text-decoration: none;
	font-size: 1.7em;
	padding-right: 35px; 
	background: url(images/post-cube1.jpg) no-repeat right 50%;
}

.post h2 {
	margin: 0;
	padding-right: 30px; 
	display: inline;
	font-size: 1.2em;
	font-weight: bold;
	background: url(images/post-cube2.jpg) no-repeat right 50%;
}

.pagetitle {
	margin: 0;
	padding: 20px;
}

.post .meta, .post .longmeta {
	height: 11px;
	margin: 0;
	padding: 5px 0;
	line-height: normal;
	font: .8em;
	color: #787878;
}

.post .longmeta {
	height: auto;
}

.post .meta .author {
	float: left;
}

.post .meta .date {
	float: right;
}

.post .meta a {
	border: none;
}

.post .entry {
	padding: 20px 0 0 0px;
	margin: 10px 0 0 10px;
}

.post .entry img {
	border: 1px solid #767777;
}

.post .tags {
	margin: 0;
	padding: 5px 0;
	line-height: normal;
}

.post .links {
	margin: 0;
	padding: 5px 0 20px 0;
	border-bottom: solid 1px #eaeaea;
	line-height: normal;
	font-size: 0.8em;
}

.post h1 a, .post h2 a  {
	text-decoration: none;
}

/* Comments */

#comment {
	width: 70%;
}

/* Posts */

.posts {
	padding: 20px;
}

.posts h2 {
	margin: 0;
	font-size: 1.2em;
	font-weight: bold;
	background: url(images/post-cube2.jpg) no-repeat 50%;
}

.posts ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.posts li {
	padding-bottom: 1px;
}

.posts .title {
	margin: 30px 0 0 0;
}

.posts .title a {
	border: none;
}

.posts .meta {
	height: 11px;
	margin: 0;
	padding: 5px 0;
	border-bottom: solid 1px #eaeaea;
	line-height: normal;
	color: #C5C3BC;
}

.posts .meta .author {
	float: left;
}

.posts .meta .date {
	float: right;
}

.posts .meta a {
	border: none;
}

.posts .tags {
	margin: 0;
}

.posts .links {
	margin: 0;
}

.printerfriendly {
	background: url(images/icon-printerfriendly.gif) no-repeat left 50%;
}

.comments {
	background: url(images/icon-comments.gif) no-repeat left 50%;
	padding-left: 20px;
}

.readmore {
	background: url(images/icon-more.gif) no-repeat left 50%;
	padding-left: 20px;
}

/* Navigation */

.navigation {
	height: 20px;
	padding: 20px;
	font-weight: bold;
}

.alignleft {
	float: left;
}

.alignright {
	float: right;
}

/* Latest Post */

#latest-post {
	float: left;
}

/* Recent Posts */

#recent-posts {
	float: right;
	width: 270px;
	padding-top: 36px;
}

/* Sidebar */

#sidebar {
	float: right;
	width: 250px;
	padding-top: 4.0em;
	background: url(images/boxbg.gif) repeat-x 0em 2.5em;

}

#sidebar ul {
	margin: 0;
	padding: 0 0 20px 0;
	list-style: none;
}

#sidebar li {
	padding: 0 15px;
}

#sidebar li ul {
	border-bottom: solid 1px #E1D2BD;
	margin-bottom: 20px;
}

#sidebar li li {
	background: red;
	padding-left: 15px;
	background: url(images/img06.gif) no-repeat left center;
}

#sidebar h2 {
	margin: 0;
	display: inline;
	font-size: 1.2em;
	font-weight: bold;
	padding-right: 25px;
	background: url(images/post-cube2.jpg) no-repeat right 50%;
}

#sidebar a {
	color: #B96D00;
}

#sidebar a:hover {
	color: #B96D00;
	text-decoration: none;
}

/* Calendar */

#calendar {
	padding-left: 10px;
}

#calendar table {
	width:  190px;
	border-collapse: collapse;
}

#calendar thead th {
	border-top: 2px solid #B4AF8E;
	border-bottom: 2px solid #B4AF8E;
}

#calendar tbody td {
	border-bottom: 1px solid #B4AF8E;
	text-align: center;
}

#calendar tfoot td {
	border-top: 2px solid #B4AF8E;
	font-weight: bold;
}

#calendar #today {
	background: #B4AF8E;
	font-weight: bold;
	color: #FDFBED;
}

#calendar #next {
	text-align: right;
}

#calendar a {
	font-weight: bold;
}

/* Footer */

#footer {
	width: 1000px;
	height: 2.5em;
	clear: both;
	margin: 0 auto;
	padding-top: 4.0em;
	background: #fff url('images/border2.gif') repeat-x 0em 2.5em;
	border: 7px solid #FFFFFF;
	font-size: 0.8em;
}

#footer p {
}

#footer .left {
	float: left;
	display: block;
	padding-left: 2.0em;
	bottom: 1.2em;
}

#footer .right {
	float: right;
	display: block;
	padding-right: 2.0em;
	bottom: 1.2em;
}

