/*
	Styles for HTLit.com
	September 2009 Mark Bernstein
	© Copyright 2009 by Eastgate Systems, Inc. All Rights Reserved
*/

/*
	d9c6a3
	c7a044	yellow
	d97341	orange
	bf4c40	red
	2a5453	blue

*/
@font-face {
	font-family: 'Variable';
	src: url('../fonts/web/Variable_regular-webfont.eot'); /* IE9 Compat Modes */
	src: url('../fonts/web/Variable_regular-webfont.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
	     url('../fonts/web/Variable_regular-webfont.woff') format('woff'), /* Modern Browsers */
	     url('../fonts/web/Variable_regular-webfont.ttf')  format('truetype'), /* Safari, Android, iOS */
	     url('../fonts/web/Variable_regular-webfont.svg#svgFontName') format('svg'); /* Legacy iOS */
	}

/* A font by Jos Buivenga (exljbris) -> www.exljbris.nl */ 
@font-face {
  font-family: Museo;
  src: url('../fonts/Museo300-Regular.otf') format('opentype');
  font-weight: normal;
}
@font-face {
  font-family: Museo;
  src: url('../fonts/Museo700-Regular.otf') format('opentype');
  font-weight: bold;
}

@font-face {
  font-family: Museo;
  src: url('../fonts/MuseoSans_500_Italic.otf') format('opentype');
  font-style: italic;
}


@font-face {
  font-family: Miso;
  src: url('../fonts/MISO____.OTF') format('opentype');
  font-weight: normal;
}

@font-face {
  font-family: Miso;
  src: url('../fonts/MISO-BOL.OTF') format('opentype');
  font-weight: bold;
}
@font-face {
  font-family: Miso;
  src: url('../fonts/MISO-LIG.OTF') format('opentype');
  font-weight: 300;
}

body {
	font-family: "Sofia Pro",Georgia,sans-serif;
	background-color: #fff;
	font-weight: normal;
	font-style: normal;
}

h1,#header h2  {
	font-family: Miso,"Arial Narrow",sans-serif;
}

h2,h3,h4 {
	font-family: Variable, Miso,"Arial Narrow",sans-serif;
}

h1{
	font-size: 64px;
}
h2{
	font-size: 48px;
	line-height: 1.2;
	}
h3{
	font-size: 1em;
	font-weight:bold
}
h4 {
	font-size: 1em;
	color: #b78200;
	margin-bottom: 12px;
	letter-spacing: .1em;
}

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

a:visited{
	text-decoration: none;
	color: #2a5453 ;
	}

a:hover{
	text-decoration: underline;
}



p,td, dt, dd,blockquote
 {
	line-height: 1.4;
	}
li{
	line-height: 1.2;
margin-bottom: .3em;
margin-left: 1em;
text-indent: -1em;}

.right {
	float: right;
	margin-left: 10px;
}

.center {
	text-align: center;
}

.boxed {
	border: 1px solid #d97341;
	width: 200px;
	margin-left: 12px;
	background-color: #d9c6a3;
	text-align: center;
	}
	
.boxed form{
	margin: 4px 10px ;
}
#main .boxed div.image {
	padding: 0;
	margin:0;
}
	
.boxTop{
	background-color: #bf4c40;
	padding: 4px;
	text-align: center;
	color: #fff;
}


/* @group Main */

#main {
	width: 550px;
	float: left;
}

#main dl {
	margin-left: 1em;
}

#main dl dt {
	font-style: italic;
	font-weight: bold;
}

#main dl dd {
	margin-left: 1em;
	margin-bottom: 0.7em;
}
	
.posts #main p,  
.posts #main blockquote,
.posts #main ul {
	margin-bottom: .75em;
	padding-left: 72px;
	text-align: justify;
 }
 
 #main p {
}
 
 #main p.caption{
	padding-left: 0;
	margin-left: 0;
	text-indent: 0;
	text-align: center;
	font-family: Helvetica,Arial,sans-serif;
	font-size: 10px;
	color: #666;
}
 
.posts #main object,#main embed {
	padding-left: 72px;
	
	}
 
.posts #main h2+p{
	text-indent: 0px;
}

.posts #main .image+p{
	text-indent: 0px;;
}
 
.posts #main p{
	text-indent: 3em;
	}
	
.posts #main h3 {
	text-indent: 0em;
	margin-left: 72px;
	}
	
.page #main p,.page #main ul,.page #main blockquote {
	margin-bottom: 8px;
}
	
#main blockquote {
	font-size:  .9em;
	font-style: italic;
	color: #444;
 	margin-left: 3em;
 	line-height: 1.2;
	}

#main div.image {
	text-align: center;
	margin-bottom: 14px;
	margin-left: 72px;
}
 #main .image img {
	-moz-border-radius: 9px; 
	-webkit-border-radius: 9px;
 -webkit-box-shadow: 3px 3px 12px #999;
	 -moz-box-shadow: 3px 3px 12px #999;
	
	}
 

#main .postHead+p{
}

.posts #main blockquote+p{
	text-indent: 0;
	}

#main .NoBorder img,
#sidebar .NoBorder img {
	border: 0px solid black;
	 -webkit-box-shadow: none; 	 -moz-box-shadow: none;
}

.content {
	padding-left: 32px;
}
	
.clearfix{
	clear: both;
	line-height: 0px;
	margin-left: -999px;	}

#content{
	max-width: 960px;
	padding: 10px;;
	margin-left: auto;
	margin-right: auto;
	margin-top: 20px;
	}
	
.post {
	margin-bottom: 32px;
}

#main  ul,#main ol {
	padding-left: 5em;
	text-align: left;
	font-size: .9em;
}

#main ul li {
	list-style-type: square;
	list-style-position: inside;
}

#main ol li {
	list-style-type: decimal;
	list-style-position: inside;
}

.postHead {
	border-top: 8px solid #ccc;	
	overflow: hidden;
	border-color: #d9c6a3;
}
	
.postHead h2 {
	float: left;
	width: 370px;
	font-weight: 300;
	margin-bottom:  4px;;
}

.postHead a:link,.postHead a:visited{
	color: #000;
}

.postHead .postDate {
	float: right;
	width: 170px;
	text-align: right;
	margin-top: 4px;
	font: 500 16px/20px Miso, "Arial Narrow", sans-serif;
	overflow: hidden;;
}

/* @end */

/* @group Sidebar */

#sidebar {
	width: 280px;
	float: right;
	font-weight: 300;
	color: #612720;
	line-height: 16px;
}
#sidebar h2{
	font-size: 1.75em;
	font-weight: normal;
	line-height: 1;
	margin-bottom: 4px;
	color: #2a5453;
}

#sidebar h3{
	font-size: 1.25em;
	font-family: Variable;
	font-weight: normal;
	color: #2a5453;
}

#sidebar .reading {
	margin-top: 1em;
	margin-bottom:  1em;
	margin-left: -10px;
	line-height: 1.3;
	padding: 10px;
	border: 1px dashed #999;
}

#sidebar p{
	text-indent: 0;
	margin-bottom: 8px;
	margin-top:  8px;
	line-height: 1.3em;
}
#sidebar ul {
	margin-bottom: 22px;
	list-style-type: disc;
	list-style-position: outside;
}

#sidebar ul li {
	line-height: 1.2em;
	margin-bottom: 8px;
	padding-left: 10px;
}

#sidebar ul+h2, #sidebar p+h2 {
	margin-top: 20px;
}

#sidebar a:link,#sidebar a:visited {
	color: #2a5453;
	font-weight: bold;;
}

#sidebar  img {
	border: 1px solid black;
	 -webkit-box-shadow: 3px 3px 20px #999;
	 -moz-box-shadow: 3px 3px 20px #999;
}

#sidebar ul.readings {
	
	list-style-type: none;
}

#sidebar ul.readings li {
	margin: 10px;
}



/* @end */

/* @group Header */

#stripe {
	background-color: #bf4c40;
	height: 4px;
}	
	
#header{
	padding: 10px 0;
	color: #ffb700;
}

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

#topnav {
	line-height: 44px;
}


#topnav ul {
	margin-top: 10px;
	margin-bottom: 10px;
}

#topnav ul li{
	display: inline;
	padding: 7px 5px 2px 5px;
	margin-right: 20px;
	margin-bottom: 24px;
	-moz-border-radius: 5px; 
	-webkit-border-radius: 5px;
		 -webkit-box-shadow: 3px 3px 10px #999;
	 -moz-box-shadow: 3px 3px 10px #999;
	font: small-caps normal 24px Miso,sans-serif;
}

/* My Comment */

#topnav ul li:hover {
background-color: #d97341;
}

#topnav a:link,#topnav a:visited {
	color: #000000;
}

#topnav ul li a:hover
{
	color: #fff;
	text-decoration: none;
}

/* @end */

/* @end */
	
#footer{
	clear: both;
	height: 144px;
	background-color: #d97341;
	font-family: "Miso",sans-serif;
	color: #2a5453;
	padding-top: 10px;
	}

#footer a:link,#footer a:visited {
	color: #ffd4bd;
}

@media (max-width:850px) {
	#main {
		float: none;
		width:100%;
		}
	.posts #main p,  
	.posts #main blockquote,
	.posts #main ul {
	padding-left: 5px;
	 }
	 
	#main div.image {
		max-width: 100%;
		margin-left: 5px;
	
}

	#sidebar {
		font-size: .8em;
		margin: 32px 0 0 0px;
		float: none;
		width: auto;
		padding: 12px;;
	-moz-column-count: 2;
	-moz-column-gap: 20px;
	-webkit-column-count: 2;
	-webkit-column-gap: 20px;
	column-count: 2;
	column-gap: 20px;		
	 background-image: -moz-linear-gradient(100% 100% 90deg, #ffd2be, #ffe);
   		 background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#ffd2be), to(#ffe));
		}
	#sidebar .right{
		margin: 0;
		padding: 0;
		display: none;
		}
	}

