/*  
Theme Name: Shay Amar Blog
*/

/* Basics and Typography */

body {
	margin: 0;
	padding: 0;
	background: #E8E8CE url(images/bg.gif) repeat-x fixed;
	font-size: 78%;
	font-family: "Lucida Grande", "Lucida Sans Unicode", Verdana, Arial, sans-serif;
	color: #333;
	text-align: center;
}
p {
	font-size: 1em;
	line-height: 1.5em;
	margin: 1.2em 0;
}
ol, ul {
	font-size: 1em;
	line-height: 1.5em;
	margin: 1.2em 0 1.2em 2em;
	padding: 0;
}
h1, h2, h3, h4, h5, h6 {
	margin: 1.2em 0;
	font-family: "Lucida Grande", Tahoma, Arial, sans-serif;
	color: #54809B; 
}
h1, h2 {
	font-size: 1.4em;
}
h3 {
	font-size: 1.3em;
}
h4 {
	font-size: 1.2em;
}
a {
}
a:link {
	color: #E58712;
	text-decoration: underline;
}
a:visited {
	color: #E58712;
}
a:hover, a:active {
	color: #54809B;
}
input, textarea, select {
	border: 1px solid #C1C0B5;
	background-color: #F6F7F8;
	color: #333;
	font-size: 1em;
	font-family: "Lucida Sans Unicode", Tahoma, Arial, sans-serif;
}
blockquote {
	margin: 0 20px;
	padding: 0 20px;
	border-left: 4px solid #E8E7D0;
	border-top: 4px solid #E8E7D0;
	border-right: 4px solid #E8E7D0;
	border-bottom: 4px solid #E8E7D0;
	font-size: 0.9em;
}
code {
	font-family: monospace;
	color: #666;
}
form, img {
	margin: 0;
	padding: 0;
	border: 0;
}
.small {
	font-size: 0.9em;
	color: #999;
}



/* Layout */

#wrapper {
	margin: 0 auto;
	width: 920px;
	background-color: #FFF;
	text-align: left;
	
}
#header {
	padding: 30px 0 0 0;
	background-color: #F5F5E7;
	border-bottom: 10px solid #54809B;
}

	/* Header Styles */
	#header h1 {
		margin: 0;
		font-size: 1.8em;
	}
	#header h2 {
		margin: 0;
		margin-bottom:2px;
		font-size: 1.2em;
		color: #E37D2B;
	}
	#header h1 a {
		text-decoration: none;
		color: #5F6880;
	}
	#header_subscribe
	{
		position:relative;
		float:right;
		top:-50px;
		margin-right:5px;
	}
	#header_contact
	{
		position:relative;
		float:right;
		top:-40px;
		margin-right:5px;
	}
	
#content {
	float: left;
	padding: 0 20px;
	voice-family: "\"}\""; 
	voice-family: inherit;
	width: 560px;
} 
html>body #content {
	width: 560px;
}
* html #content {
	overflow: hidden;
	/* So IE won't break things */
}
#sidebar {
	float: right;
	padding: 1.8em 20px 0 20px;
	font-size: 0.9em;
	voice-family: "\"}\""; 
	voice-family: inherit;
	width: 280px;
} 
html>body #sidebar {
	width: 280px;
}

	/* Lots of sidebar styles, so they're below */

#footer {
	clear: both;
	font-size: 0.9em;
	text-align: right;
}

	/* Footer Styles */
	#footer p {
		margin: 0;
		padding: 10px 0 20px 0;
		background-color: #E8E8CE;
		border-top: 10px solid #54809B;
		font-size: 0.9em;
		text-align: right;
	}

	
	
/* Sidebar Styles */

#sidebar h2,h3 {
	display: inline;
	margin: 1.2em 0 0.6em 0;
	padding: 0 10px 0 0;
	background: url(images/arrow.gif) no-repeat center right;
	font-size: 1.1em;
}
#sidebar ul {
	margin: 0;
	padding: 0;
	list-style-type: none;
}
#sidebar ul li 
{
	list-style:none;
}
#sidebar ul ul {
	margin: 1.2em 0;
	border-top: 1px solid #E8E7D0;
	background-color: #F6F7F8;
}
#sidebar ul ul li {
	padding: 0 0 0 10px;
	border-bottom: 1px solid #E8E7D0;
}
#sidebar ul ul li a {
	/*display: block;*/
	margin: 0 0 0 -5px;
	padding: 2px 2px 2px 2px;
	voice-family: "\"}\""; 
	voice-family: inherit;
	width: 280px;
	line-height:180%;
} 
html>body #sidebar ul ul li a {
	width: 280px;
}
#sidebar ul ul li a:hover {
	/*background-color: #FFF;*/
}
/* Nested lists? */
#sidebar ul ul ul {
	margin: 0;
	border: none;
}
#sidebar ul ul ul li {
	margin: 0 0 0 -10px;
	padding: 0 0 0 25px;
	border-bottom: none;
	border-top: 1px solid #E8E7D0;
}
#sidebar ul ul ul li a {
	margin: 0 0 0 -25px;
	padding: 2px 10px 0 25px;
	voice-family: "\"}\""; 
	voice-family: inherit;
	width: 280px;
} 
html>body #sidebar ul ul ul li a {
	width: 280px;
}



/* Blog */

.post {
}
.posttitle {
	margin-bottom: 0;
	width: 100%;
	color: #FFF;
	overflow: auto;
	/* Width and overflow to clear '.posttitle a' */
}
.posttitle a {
	float: left;
	padding: 0 10px;
	background: #54809B url(images/posttitle.gif) no-repeat top right;
	text-decoration:none;
}
.posttitle a:link, .posttitle a:visited {
	color: #FFF;	
}
.posttitle a:hover, .posttitle a:active {
	background: #E4E6D3 url(images/posttitle.gif) no-repeat 100% -91px;
	color: #365F78;
}
.postmeta {
	margin-top: 0;
	padding-top: 1px;
	background: url(images/postmeta.gif) no-repeat top left;
	font-size: 0.9em;
	color: #999;
}
.postentry {
}
.permalink {
	margin: 0 1.8em 0 0;
	padding: 0 0 0 14px;
	background: url(images/permalink.gif) no-repeat center left;
}
.commentslink {
	padding: 0 0 0 17px;
	background: url(images/commentslink.gif) no-repeat center left;
}



/* Comments */

#commentlist {
	margin: 1.2em 0;
	padding: 0;
	border-bottom: 1px solid #E8E7D0;
	list-style-type: none;
}
#commentlist li {
	border-top: 1px solid #E8E7D0;
	padding: 1px 20px;
	background-color: #FFF;
}
.alt {
	background-color: #F6F7F8 !important;
}
.authcomment {
	background-color: #D2EECC !important;
}
.commenttitle {
	margin-bottom: 0;
	font-size: 1.1em;
}
.commentmeta {
	margin-top: 0;
	font-size: 0.9em;
	color: #999;
}

/* sign up box */
#sign_up_box
{
	border: solid 1px #E8E7D0;
	background-color:#E6EDF2;
	margin-bottom:10px;
	margin-top:10px;
}

#sign_up_box #title
{
	color:#47577B;
	font-weight:bold;
	font-size:13px;
}

#sign_up_box2_wrapper
{
	margin-bottom:10px;
	margin-top:10px;
	background-image: url(images/subscribe-report.jpg);
	background-repeat:no-repeat;
	width:280px;
	height:150px;
}
#sign_up_box2
{
	position:relative;
	top:90px;
	left:15px;
	color:White;
}

/* Ads Box */
.ads_box
{
	border:solid 1px #E8E7D0;
	background-color:#F6F7F8;
	text-align:center;
	vertical-align:middle;
}

.ads_box img
{
	margin:5px;
}

.ads_box a
{
	margin:0px;
	padding:0px;
}

/* Begin Images */
p img {
	padding: 0;
	max-width: 100%;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}
/* End Images */



#wpcf label {
	clear: both;
	display: block;
	float: left;
	width: 150px;
}
#wpcf input {
	float: left;
	width: 200px;
	padding: 1px;
	margin: 2px 5px 2px 0;
}
#wpcf textarea {
	width: 350px;
	height: 100px;
	padding: 1px;
	margin: 0 5px 10px 0;
}
#wpcf #contactsubmit {
	margin-left: 250px;
	width: 100px;
}