/* comp-sci style sheet. mostly CSS-2.1, some CSS-3.0 */
/* Author: John Valentine. http://www.johnvalentine.co.uk */

section.story {
	max-width: 50rem;
}

.story {
	margin: 0 auto 0 auto;
	xpadding: 24px 32px;
}

.story p, .storypreview p {
	text-indent: 1.4em;
	margin-bottom: 0em;
}

.story * {
	line-height: 1.7;
	font-size: 1.4rem;
	font-family: 'Crimson Text', 'Merriweather', 'Georgia', 'Times New Roman';
}

.story h1 {
	font-weight: 300;
	font-size: 32pt;
	line-height: 110%;
	margin: 0.2em 0 1.4em 0;
}

.story p+h1 {
	margin-top: 1em;
}

.story h2 {
	font-size: 17pt;
	margin: 1.0em 0 0.8em 0;
}
.story h2:before {
	color: hsla(240,100%,30%,0.2);
	content: "\2014\2002";
}
.story h2:after {
	color: hsla(240,100%,30%,0.2);
	content: "\2002\2014";
}

.story h1,
.story h2 {
	font-family: 'Open Sans', 'Segoe UI Light', 'Calibri', 'Segoe UI', 'Arial';
	font-weight: 300;
	color: hsla(240,100%,30%,0.7);
	text-align: center;
}

.font2 p, .font2 {
	font-family: 'Calibri', 'Segoe UI', 'Arial';
	line-height: 1.8;
	font-size: 105%;
}
.font1 p, .font1 {
	font-family: 'Georgia', 'Times New Roman';
	line-height: 1.8;
}

.btnCont {
	
}

.btn {
	float: right;
	display: inline-block;
	padding: 0.0em 0.5em;
	border: solid 1px rgba(0,0,0,0.1);
	background: rgba(0,0,255,0.01);
	white-space: nowrap;
	text-align: center;
	cursor: pointer;
	box-shadow: inset -1px -3px 15px rgba(0,0,255,0.14);
	-webkit-box-shadow: inset -1px -3px 15px rgba(0,0,255,0.14);
	-moz-box-shadow: inset -1px -3px 15px rgba(0,0,255,0.14);
	border-radius: 5px;
	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
}
div.btn:hover {
	background: rgba(255,255,0,0.3);
}

section.previews {
	width: 45em;
	max-width: 45em;
}
.previewcontainer {
	xdisplay: inline-block;
	margin: 16px 4px;
}





.story h1+p,
.story h2+p,
.story p:first-child,
.story .timegap+p,
.storypreview p:first-child,
.story div + p,
.verse p
{
	text-indent: 0em;
}

.story .verse p {
	font-style: italic;
	margin-left: 1em;
}

.story p.timegap {
	text-align: center;
	margin-top: 0.5em;
	margin-bottom: 0.5em;
	color: hsla(240,100%,30%,0.7);
}

.typewriter {
	font-family: 'Consolas', 'Orator', 'Courier';
}

.thoughts {
	font-style: italic;
	baseline-shift: -115%; /* Crimson Text only */
}

.speakemp {
	font-style: italic;
}

.storytime {
	display: inline;
	color: hsla(0,0%,0%,0.33);
	float: right;
}

.storypreview {
	margin: 0.6em 1.0em;
	padding: 1em 0.5em;
	font-size: 95%;
	height: 8em;
	overflow-y: hidden;
}

.storymorebar {
	display: block;
	height: 7em;
 	background:         linear-gradient( hsla(240,100%,100%,0), hsla(240,100%,100%,0.8) 50%, hsla(240,100%,100%,0.95) 80%, hsla(240,100%,100%,1) );
 	background: -webkit-linear-gradient( hsla(240,100%,100%,0), hsla(240,100%,100%,0.8) 50%, hsla(240,100%,100%,0.95) 80%, hsla(240,100%,100%,1) );
 	background:      -o-linear-gradient( hsla(240,100%,100%,0), hsla(240,100%,100%,0.8) 50%, hsla(240,100%,100%,0.95) 80%, hsla(240,100%,100%,1) );
	margin: -7em 0 0 0;
	position: relative;
	z-index: 2;
}

.storymore {
	position: relative;
	top: 4em;
	float: right; 
}

.storymorebar+h1 {
	margin-top: 0.5em;
}


div.agreement * {
	margin: 0 0 0 0.7em;
	font-size: 10pt;
}

.formhint {
	color: #88a;
}

div.end {
	height: 10px;
	width: 10px;
	float: right;
	background-color: #EEF;
	border: 1px solid #BBD;
	margin: 1em 0.0em 0em 0em;
}

pre.text {
	padding: 0.8em;
	background: rgba(0,0,0,0.05);
	border: 1px solid rgba(0,0,0,0.1);
	font-family: monospace;
	line-height: 1.3;
}

.puter {
	text-align: center;
	width: 100%;
	font-family: monospace, 'Consolas';
}

::-webkit-scrollbar {
    width: 8px;
}
 
::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.08); 
    border-radius: 8px;
}
 
::-webkit-scrollbar-thumb {
	background: hsla(240,100%,30%,0.03);
    border-radius: 8px;
    -xwebkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.04); 
}


