html, body, address, blockquote, div, dl, form, h1, h2, h3, h4, h5, h6, ol, p, pre, table, ul,
dd, dt, li, tbody, td, tfoot, th, thead, tr, button, del, ins, map, object,
a, abbr, acronym, b, bdo, big, br, cite, code, dfn, em, i, img, kbd, q, samp, small, span,
strong, sub, sup, tt, var, legend, fieldset {
	margin: 0;
	padding: 0;
}
img, fieldset {
	border: 0;
}
img {
	max-width: 100%;
	height: auto;
	width: auto\9; /* ie8 */
}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { 
    display: block;
}
html {
	margin: 0 auto;
	font-size: 10px;
	background: #ffffff;
	background: -moz-linear-gradient(top, #fff, #fff);
	background: -o-linear-gradient(top, #fff, #fff);
	background: -webkit-gradient(linear, center bottom, center top, from rgba(153,204,255), to rgba(153,204,255,0));
	position: relative;
}




body {
	font: 16px/150% Arial, Helvetica, Verdana, sans-serif;
	background: #e5f2ff;
	color: #666;
	height: 100%;
	}

a {
	color: #026acb;
	outline: none;
}

a:link { padding: 5px;}
a:visited { color:#7e7eff; }

a:hover {
	text-decoration: underline;
}


p {
	margin: 0 0 1.2em;
	padding: 0;
}

span { font-size: 60%;}
.new { color: #f66; }
.index {float: left;
	padding-right: 25px;}


.caption-h {
	width: 300px;
	margin: 5px 15px 0 0;
	font-size: 12px;
	color: #222;
	text-align: center;
}
.caption-v {
	width: 200px;
	margin: 5px 15px 0 0;
	font-size:12px;
	color: #222;
	text-align: center;
}
.image-left-h {
	background-color: #ddd;
	width: 300px;
	height: auto;
	margin: 5px 15px 10px 0;
	float: left;
}
.image-left-v {
	background-color: #ddd;
	width: 200px;
	height: auto;
	margin: 3px 15px 10px 0;
	float: left;
}
.image-right-h {
	background-color: #ddd;
	width: 300px;
	height: auto;
	margin: 5px 0 10px 10px;
	float: right;
}
.image-right-v {
	background-color: #ddd;
	width: 200px;
	height: auto;
	margin: 3px 0 10px 10px;
	float: right;
}
ul {
	margin: 1em 0 1.4em 24px;
	padding: 0;
	line-height: 140%;
}
li {
	margin: 0 0 .5em 0;
	padding: 0;
}

.category-index { 
	text-indent: -.3em;
}


h1, h2, h3, h4, h5, h6 {
	line-height: 1.4em;
	margin: 10px 0 .4em;
	color: #444;
}
h1 {
	font-size: 2em;
}
h2 {
	font-size: 1.2em;
	
}
h3 {
	font: normal 1em Arial, Helvetica, Verdana, sans-serif;

}
h4 {
	font-size: 1em;
}
h5 {
	font-size: .8em;
}
h6 {
	font-size: .6em;
}
input[type=search] {
	-webkit-appearance: none;
	outline: none;
}
input[type="search"]::-webkit-search-decoration, 
input[type="search"]::-webkit-search-cancel-button {
	display: none;
}
#pagewrap {
	width: 980px;
	margin: 0 auto;
}
#header {
	position: relative;
	height: 110px;
}
#site-logo {
	position: absolute;
	top: 0px;
	font: bold 30px/100% Arial, Helvetica, sans-serif;
	color: #333;
	text-decoration: none;
	
}
#site-description {
	font: bold 100%/130% "Times New Roman", Times, serif;
	color: #444;
	text-shadow: 1px 1px 0 rgba(255,255,255,.3);
	position: absolute;
	top: 5px;
	right: 10px;
}
#searchform {
	position: absolute;
	right: 10px;
	bottom: 6px;
	z-index: 100;
	width: 160px;
}
#searchform #s {
	width: 135px;
	float: right;
	background: #fff;
	border: none;
	padding: 6px 10px;
	color: #777;
	-webkit-border-radius: 3px;
	border-radius: 3px;
	-webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,.2);
	box-shadow: inset 0 1px 2px rgba(0,0,0,.2);
	-webkit-transition: width .7s;
	-moz-transition: width .7s;
	transition: width .7s;
}
#main-nav {
	width: 100%;
	background: #ccc;
	margin: 0;
	padding: 0;
	position: absolute;
	left: 0;
	bottom: 0;
	z-index: 100;
	background: #6a6a6a url(images/nav-bar-bg.png) repeat-x;
	background: -webkit-gradient(linear, left top, left bottom, from(#b9b9b9), to(#6a6a6a));
	background: -moz-linear-gradient(top, #b9b9b9, #6a6a6a);
	background: -o-linear-gradient(top, #b9b9b9, #6a6a6a);
	background: linear-gradient(180deg, #b9b9b9, #6a6a6a);
	-webkit-border-radius: 2px;
	border-radius: 2px;
	-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 1px rgba(0,0,0,.4);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 1px rgba(0,0,0,.4);
}
#main-nav li {
	margin: 0;
	padding: 0;
	list-style: none;
	float: left;
	position: relative;
}
#main-nav li:first-child {
	margin-left: 30px;
}
#main-nav a {
	line-height: 100%;
	font-weight: bold;
	color: #fff;
	display: block;
	padding: 14px 15px;
	text-decoration: none;
	text-shadow: 0 -1px 0 rgba(0,0,0,.5);
}
#main-nav a:hover {
	color: #fff;
	background: #474747;
	background: -webkit-gradient(linear, left top, left bottom, from(#4a4a4a), to(#7f7f7f));
	background: -moz-linear-gradient(top,  #4a4a4a,  #7f7f7f);
	background: -o-linear-gradient(top, #4a4a4a, #7f7f7f);
	background: linear-gradient(180deg, #4a4a4a, #7f7f7f);
}

#mainmerge { 
	overflow: hidden;
	background: rgba(255,255,255,.9);
	margin: 30px 0 0;
	width: 100%;
	float: left;
	-webkit-border-radius: 2px;
	border-radius: 2px;
	-webkit-box-shadow:  0 1px 3px rgba(0,0,0,.4);
	box-shadow:  0 1px 3px rgba(0,0,0,.4); }
	
#content {
	margin: 20px 0 30px 30px;
	padding: 0 20px 20px 15px;
	width: 750px;
	float: left;
	-webkit-border-right: solid 1px #aaa;
	border-right: solid 1px #aaa;	
}

#sidebar {
	width: 160px;
	float: right;
	margin:15px 0 0;
	font-size: 90%;
}
.widget {
	padding: 10px;
}
.widgettitle {
	margin: 10px 0 18px;
	padding: 0;
	color: #444;	
	font: bold 100%/130% Arial, Helvetica, Verdana, sans-serif;
}
.widget ul {
	margin: 0;
	padding: 0 10px 0 0;
}
.widget li {
	margin: 0;
	padding: 10px 0;
	list-style: none;
	clear: both;
	border-top: solid 1px #eee;
}

.post {
	margin-bottom: 30px;
}
.post-title {
	margin: 0 0 15px;
	padding: 0;
	font: bold 26px/120% Arial, Helvetica, Verdana, sans-serif;
	color: #444;
}
.post-title a {
	text-decoration: none;
	color: #000;
}
.post-meta {
	margin: 0 0 10px;
	font-size: 90%;
}
.post-image {
	margin: 0 0 15px;
}
 .left-image {
	margin-left: 0;
	margin-right: auto;
}

.note { margin: 60px 0;}

.footnotes {
	font-size: 92%;
	padding-left: 1em;
	text-indent: -1.5em;
	color: #444;
}

.back-top {
margin: 5px 10px 0 0;
float: right;
}

.back-to-index {
	position: relative;
	left: 0;
	top:0;
}

.next {
	position: relative;
	left: 90%;
	top:20px;
 }

.tooltip span {
display:none; 
padding:0 3px; 
margin:3px 0 0 5px; 
width:180px;
}

.tooltip:hover span{
display:inline; 
position:absolute; 
background:#b7ffff; 
border-radius: 4px;
color:#6c6c6c;
padding: 10px;
text-decoration: none;
}

footer {
	clear: both;
	color: #ccc;
	font-size: 85%;
	padding-top: 15px;
}
footer a {
	color: #aaa;
}

#bottom-nav {
	width: 100%;
	background: #ccc;
	margin: 0;
	padding: 0;
	position: relative;
	left: 0;
	bottom: 0;
	z-index: 100;
	background: #6a6a6a;
	background: -webkit-gradient(linear, left top, left bottom, from(#b9b9b9), to(#6a6a6a));
	background: -moz-linear-gradient(top, #b9b9b9, #6a6a6a);
	background: -o-linear-gradient(top, #b9b9b9, #6a6a6a);
	background: linear-gradient(180deg, #b9b9b9, #6a6a6a);
	-webkit-border-radius: 2px;
	border-radius: 2px;
	-webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 1px rgba(0,0,0,.4);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.3), 0 1px 1px rgba(0,0,0,.4);
}
#bottom-nav li {
	margin: 0;
	padding: 0;
	list-style: none;
	float: left;
	position: relative;
}
#bottom-nav li:first-child {
	margin-left: 30px;
}
#bottom-nav a {
	line-height: 100%;
	font-weight: bold;
	color: #fff;
	display: block;
	padding: 14px 15px;
	text-decoration: none;
	text-shadow: 0 -1px 0 rgba(0,0,0,.5);
}
#bottom-nav a:hover {
	color: #fff;
	background: #474747;
	background: -webkit-gradient(linear, left top, left bottom, from(#4a4a4a), to(#7f7f7f));
	background: -moz-linear-gradient(top,  #4a4a4a,  #7f7f7f);
	background: -o-linear-gradient(top, #4a4a4a, #7f7f7f);
	background: linear-gradient(180deg, #4a4a4a, #7f7f7f);
}


.clearfix:after { visibility: hidden; display: block; font-size: 0; content: " "; clear: both; height: 0; }
.clearfix { display: inline-block; }
.clearfix { display: block; zoom: 1; }
@media screen and (max-width: 980px) {
	#pagewrap {
		width: 95%;
	}
	#header {
		height: 105px;
	}
	#mainmerge { 
		margin-top: 15px;
	}
	#main-nav li:first-child {
	 margin-left: 3.5%;
	}
	#content {
		width: 70%;
		padding: 0 5% 0 3%;
		margin:2%;
	}
	#sidebar {
		width: 16%;
	}
	#sidebar .widget {
		margin: 0;
		padding: 0;
		font-size: 97%;
	}
	.video embed,
	.video object,
	.video iframe {
		width: 100%;
		height: auto;
		min-height: 300px;
	}
}
@media screen and (max-width: 800px) {
	#header {
		height: auto;
		padding-top: 10px;
	}
	#searchform {
		position: absolute;
		top: 5px;
		right: 0;
		z-index: 100;
		height: 40px;
	}
	#searchform #s {
		width: 70px;
	}
	#searchform #s:focus {
		width: 150px;
	}
	#main-nav {
		position: static;
	}
	#main-nav li:first-child {
	 margin-left: 3%;
	}
	#site-logo {
		margin: 15px 100px 5px 0;
		position: static;
	}
	#site-description {
		margin: 0 0 15px;
		position: static;
	}
	#content {
		width: auto;
		float: none;
		margin: 15px 0 15px 15px;
		border-style: none;
	}
	.post-title {
		padding:0;
		font-size: 24px;
	}
	.caption {
		font-size: 90%;
	}
	#sidebar {
		width: 100%;
		margin: 0;
		float: none;
	}
	#sidebar .widget {
		padding: 3% 4%;
		margin: 0 0 10px;
	}
	#sidebar li, #sidebar img {
		display: inline-block;
		margin: 0 15px 10px 0;
	}
	.video embed,
	.video object,
	.video iframe {
	min-height: 250px;
	}
	.next {
	position: relative;
	left: 90%;
	top:0;
	 }
	 .sidebar-skip {
	 display: none;
	 }
}
@media screen and (max-width: 586px) {
	/* disable webkit text size adjust (for iPhone) */
	html {
	-webkit-text-size-adjust: none;
	}
	#site-logo { 
		font-size: 24px;
	}
	#site-description { 
		font-size: 85%;
		margin: 15px 0 10px; 
	}
	#main-nav a {
		font-size: 95%;
	}
	
	#main-nav li:first-child { 
	margin-left: 0; 
	}
	#content {
		border-style: none;
		padding-top: 0;
		font-size: 95%;
	}
	.post-title { 
	font-size: 18px;
	}
	.iesucks { 
	display:none; 
	}
	#searchform { 
	display: none; 
	}
	#bottom-nav li:first-child {
	margin-left: 0;
	}
	.section { 
	margin: 0;
	}
	.next {
	position: relative;
	left: 85%;
	top:0;
	 }
	.back-to-index {
		margin: 5px 10px 0 0;
		float: right;
	}
	.nodisplay { 
		display: none; 
		}
	.word-break { 
		white-space: pre; 
	}
	h2 { 
		font-size:1.3em;
		}
}
@media screen and (max-width: 340px) {
	/* disable webkit text size adjust (for iPhone) */
	html {
	-webkit-text-size-adjust: none;
	color: #555;
	}
	p ~ p { 
	clear: both; 
	}
	#content { 
	font-size: 90%;
	}
	.section {
	margin: 0;
	}
	.post-title { 
	font-size: 16px;
	}
	.post-image { 
	width: 98%; 
	}
	aside p {
	font-size: 95%;
	}
	.image-left-h, .image-right-h, .caption-h, .image-left-h img, .image-right-h img {
	width: 100%; 
	 }
	.image-right-v, .image-left-v, .caption-v,.image-right-v img, .image-left-v img { 
	float:left; 
	}
	.next {
	position: relative;
	left: 80%;
	top:0;
	 }
	.skip { 
	display: none !important; 
	}
}