@font-face {
  font-family: "Proxima Nova Regular";
  src: url("type/ProximaNova-RegWeb.eot");
  src: local("☺"), url("type/ProximaNova-RegWeb.woff") format("woff");
  }
  
@font-face {
  font-family: "Proxima Nova Regular Italic";
  src: url("type/ProximaNova-RegItWeb.eot");
  src: local("☺"), url("type/ProximaNova-RegItWeb.woff") format("woff");
  }
   
@font-face {
    font-family: 'simplmedium';
    src: url('type/simpl_medium_apl.eot');
    src: url('type/simpl_medium_apl.eot?#iefix') format('embedded-opentype'),
         url('type/simpl_medium_apl.woff') format('woff'),
         url('type/simpl_medium_apl.ttf') format('truetype'),
         url('type/simpl_medium_apl.svg#simplmedium') format('svg');
    font-weight: normal;
    font-style: normal;

}

body {
	font-family:  "Proxima Nova Regular", Helvetica, Verdana, sans-serif;
	font-size: 100%;
	line-height: 145%;
	width: 60%;  
	margin-left: 10%;
	color: #414141; 
}

article {
	padding-right: 5%;
	border-right: 1px solid #aaa;
}


p {
	display: block;
	margin-top: 0;
	margin-bottom: 1em;
	margin-left: 0;
	margin-right: 0;
}


code {
	font-family: "simplmedium", Courier, monospace;
/*	white-space: pre-wrap; */
	white-space: pre; 
	display: inline-block;
	font-size: 100%; 
	line-height: 100%;
}

pre>code {
	font-size: 90%;
	line-height: 100%;
	margin-left: 5%;
}

pre {
	width: 100%;
	overflow-x: scroll; 
	margin-top: 2em;
	margin-bottom: 2em;
}

ul {
	list-style-type: circle;
}

em {
	font-family: "Proxima Nova Regular Italic", italic;
	font-style: normal;
}

h1 {
	font-size: 150%;
	color: #aaa;
	line-height: 120%;
	margin-top: 1.5em;
	margin-bottom: 0.5em;
}

h2 {
	font-size: 110%;
	font-family: "Proxima Nova Regular", Helvetica, Verdana, sans-serif;
	color: #aaa;
	margin-top: 1.5em;
	margin-bottom: 0.5em;
}

header h1 {
	font-size: 200%;
	font-family:  "Proxima Nova Regular", Helvetica, Verdana, sans-serif;
	color: #414141;
	margin-bottom: auto;
}


header h2 {
	margin-top: 0.5em;
	margin-bottom: 3em;
	padding-bottom: 0.5em; 
	border-bottom: 1px solid #cfcfcf; 
}


.hidden {
    display: none;
}

dt {
	font-family: "Proxima Nova Regular Italic", italic;
	font-style: normal;
}

dd {
	margin-bottom: 1.5em;
}

blockquote {
	margin: 2em 0 2em 5%;
	padding: 0% 0% 0% 5%;
	border-left: 1px solid #777;
}


/* the link and blockquote decoration is gratefully adapted from John Gruber's daringfireball.net css */


a:link, #footer a:link {
	padding-left: 0px;
	padding-bottom: 0px;
	padding-right: 0px;
	padding-top: 0px;
	text-decoration: none;
	color: inherit;
	border-color: #888;
	border-width: 0 0 1px 0;
	border-style: none none solid none;
	background-color: inherit;
}

a:visited, #footer a:visited {
	padding-left: 0px;
	padding-bottom: 0px;
	padding-right: 0px;
	padding-top: 0px;
	color: inherit;
	border-color: #888;
	border-width: 0 0 1px 0;
	border-style: none none dotted none;
	background-color: inherit;
}

a:hover, #footer a:hover {
	background-color: #d8d8d8;
	color: inherit;
	text-decoration: none;
	border-color: #cdcdcd;
}


a, header a, #footer a {
	text-decoration: none;
}


h1 a:link, h1 a:visited {
	border-style: none;
}

header a:link, #footer a:link {
	border-style: none;
}

header a:visited, #footer a:visited {
	border-style: none;
}

#footer {
	margin-top: 2em;
	font-size: 85%;
	color: #aaa;
}

.signoff {
	text-align: right;
	margin-bottom: 3em; 
	font-size: 85%;
}

div.post~div.post:before {
	color: #AAA;
	content: "\00a7"; /* html &sect;, expressed in unicode 'cause that's the way 'content' attributes work */
	margin-left: 50%;
	margin-right: auto;
}

.footnotes { 
	font-size: 75%; 
	line-height: 145%;
	border-top: 1px dotted #888; 
	padding-top: 2em; 
	margin-top: 2em; 
}

.footnotes ol {
	margin-right: 10%;
}

.footnotes h1 { 
	font-variant: small-caps;
	display: inline; 
	margin-bottom: 0px; 
	padding-bottom: 0px; 
}

.sidenote {
	clear: both;
	float: left; 
	width: 33%; /* Width of sidenote */
	margin-left: -33%; /* = -(width) */
	position: relative; 
	right: -142.5%; /* = -(width + extra margin) */
	font-size: 75%;
	line-height: 145%;
	color: #999;
}

blockquote aside.sidenote {
	right: -145%;
}

.sidenote p:first-of-type {
	margin-top: 0;
}

.sidenote .ref-mark {
	padding: 0 .5em 0 0;
	text-align: right;
	float: left;
	position: relative;
}

.sidenote .ref-mark:after {
	content: '.';
}

.sidenote a[href^="#fnref"] {
	display: none;
}

aside {
	margin-bottom: 1em;
}

sup {
	padding-left: 0.2em; /* don't crowd the preceding item */
	padding-right: 0.2em;
}

hr {
	border: 0;
	height: 0;
}

.royalSlider, .contentSlider, .rsDefault {
	width: 100% !important; 
	margin-bottom: 2em;
}

.banner {
	float: left;
	border: 1px solid black;
	margin-left: 0;
	margin-bottom: 2em;
	width: 140%;
}

@media only screen 
and (min-device-width : 320px) 
and (max-device-width : 480px) {
	.sidenote {
		margin-left: 12.5%;
		margin-bottom: 1em;
		right: auto;
		width: 75%;
		padding: 1em;
		box-sizing: border-box;
		background: whitesmoke;
		display: block;
		float: none;
	}

	.banner {
		width: 100%;
	}

	body {
		font-size: 150%;
		line-height: 200%;
		width: 90%;
		margin-left: 5%;
		margin-right: 5%;
		color: #414141; 
	}
	.sidebar {
		margin-top: 0;
		float: none;
		width: 100%;
		margin-left: 5%;
		color: #999;
	}

	.sidebar img {
		display: none;
	}
}
