/* basic body and layout */

@font-face {
	font-family:'robo';
	src:url('robo.ttf');
}

@font-face {
	font-family: 'gabri';
	src:url('gabri.ttf');
}

@font-face {
	font-family: 'msg';
	src:url('msgothic.ttc');
}

p {
}

body { 	 
	background:#080d1a;
}

.header { 	 
	background:url('images/wifrey.png') top no-repeat #080d1a;
	position:-webkit-sticky;
	position:sticky;
	width:auto;
	max-width:45%;
	max-height:100%;
	margin-right:15px;
	top:0;
	float:left;
}

p { 
	text-indent:0px;
}

p:first-line {
	
}

#content {  
	font-family:robo, sans-serif; 
	font-size:18px; 
	color:#706171; 
	line-height:30px; 
	text-align:left;
	padding:0 15px 0 0;
	max-width:100%;
	background:#eee3e7;
	margin:0;
}

.navi {
	text-transform:lowercase;
	text-align:center;
	font-family:msg, sans-serif;
	letter-spacing:2;
	padding:10px 0 10px 0;
	color:#daaddf;
	margin-bottom:25px;
	border-bottom:2px dotted #a98dab;
}

.navi a:link, .navi a:visited, .navi a:active { 
	text-decoration:none;
	font-family:msg, sans-serif;
	color:#8690af;
	font-weight:normal;
	font-size:21px;
	line-height:15px;
	margin:5px;
	border:none;
}

.navi a:hover { 
	text-decoration:none;
	color:#969cb5;
}

/* navigation, links and titles */

a:link, a:visited, a:active { 
	color:#757d92; 
	text-decoration:none;
	border-bottom:1px dotted #6c768c;
}

a:hover {  
	color:#8a93ab;	
	border:none;
}

h1 { 
	font-family:gabri, sans-serif;
	font-size:23px;
	color:#a199b8;
	margin:50px 0 -25px 0;
	padding:5px;
	font-weight:normal;
	text-transform:none;
	background:#462e47;
	display:inline;
}

h1:first-letter {
}

h2 {
	color:#896b96;
	font-family:gabri, sans-serif;
	font-size:18px;
	font-weight:normal;
	text-decoration:underline;

}

h2:first-letter {
}

h3 {
}

/* more detailed items and classes */

blockquote { 	
}

blockquote:hover {
}

.footer { 
	font-size:16px;
	color:#a592a6;
	text-align:left;
	border:2px dotted #8f9ab5;
	padding:0 15px 5px 15px;
	background:#d8cbd0;
}

b, strong {
	color:#6a748b;
}

i, em { 
	color:#332434;
}

u {
	color:#6a748b;
}
	

/* image classes */

img.x { 	
	border:1px dotted #666;
	border-top:3px solid #666;
	padding:5px;	
	margin-left:10px;
	background:#444;
	opacity:0.7;
	filter:alpha(opacity=60); /* For IE8 and earlier */
}

img.x:hover { 
	cursor:text;
	opacity:0.8;
	filter:alpha(opacity=80); /* For IE8 and earlier */
}

img.left { 
	float:left;
	border:1px dotted #999;
	border-left:3px solid #999;
	padding:5px;	
	margin:0 5px;
	background:#444;
	opacity:0.7;
	filter:alpha(opacity=60); /* For IE8 and earlier */
}

img.left:hover { 
	cursor:text;
	opacity:0.8;
	filter:alpha(opacity=80); /* For IE8 and earlier */
}

img.right { 
	float:left;
	border:1px dotted #999;
	border-right:3px solid #999;
	padding:5px;	
	margin:0 5px;
	background:#444;
	opacity:0.7;
	filter:alpha(opacity=60); /* For IE8 and earlier */
}

img.right:hover { 
	cursor:text;
	opacity:0.8;
	filter:alpha(opacity=80); /* For IE8 and earlier */
}

/* Template CSS starts here */

	:root { /** customize your style by changing the variables in these brackets **/

		--text: #706171;
		--accent: #c1a5c3;
		--accent-dark: #d7b9d9;
		--accent-light: #bbceef;
		--highlight-color: #aee6ec;
		--fandom-button: #bbceef;

		/** these are default browser font styles, but you can name specific fonts, ex. 'Georgia'**/
		--main-font: robo, sans-serif;
		--h1-font: monospace;
		--h2-font: monospace;
		--h3-font: sans-serif;

		--fic-metadata-divider: " • "; /** change this to your liking **/

		/** these can be changed to solid, dotted, dashed, double, and none. it combines with border-size in some cases **/
		--main-border-style: solid;
		--link-border-style: dotted; /** links only, also can be wavy **/
		--hr-style: dotted;

		/** some sizing, which you can change but I highly advise for you to keep the provided units (em, %, and px respectively). smaller than 1 can be used as decimals, e.g. 0.8 **/
		--base-size: 0.9em;
		--line-height: 150%;
		--main-width: 50em;
		--border-size: 2px;

		/** calculations for sizing, you might not want to touch these **/
		--size-quarter: calc(var(--base-size) / 4);
		--size-half: calc(var(--base-size) / 2);
		--size-one-half: calc(var(--base-size) * 1.5);
		--size-double: calc(var(--base-size) * 2);
	}

	* {
		padding: 0;
		margin: 0;
		box-sizing: border-box;
		-webkit-text-size-adjust: none;
	}

	p,
	details {
		padding: var(--size-half) 0;
	}

	ul,
	ol {
		margin:0;
	}

	li {
		padding-left: var(--base-size);
	}

	totop{
		display: block;
		position: fixed;
		bottom: 0;
		right: 0;
		background: var(--main-background);
		padding: var(--base-size);
		border-top-left-radius: 30px;
	}

	main {
		background: var(--main-background);
		width: var(--main-width);
		margin: 0 auto;
		padding: var(--size-one-half);
	}

	#head {
		margin: 0 auto;
		padding: var(--size-one-half) 0;
		border-bottom: var(--border-size) var(--main-border-style) var(--accent);
		text-align: center;
	}

	#blurb {
		padding: var(--size-double) 0;
		border-bottom: var(--border-size) var(--main-border-style) var(--accent);
	}

	.filterFic {
		width: auto;
		margin: 15px 0;
		display: none;
	}

	fic-summary {
		padding: 10px 0;
		margin: 0 20px;
		display: block;
	}

	fic-summary p {
		padding: 0 0 0.5em;
		margin: 0;
	}

	fic-summary p:last-child {
		padding: 0;
	}

	.show {
		display: block;
	}

	#fandom-navigation {
		margin: 0;
	}

	.masterlist {
		margin: 0;
		overflow: hidden;
	}

	.button {
		border: none;
		outline: none;
		padding: var(--base-size);
		background-color: var(--fandom-button);
		display: inline-block;
		margin: var(--size-quarter) var(--size-quarter) var(--size-quarter) 0;
		font-size: var(--base-size);
		color: var(--text);
		font-family: var(--main-font);
	}

	.fandomButton {
		border: none;
		outline: none;
		padding: var(--base-size);
		background-color: var(--fandom-button);
		display: inline-block;
		margin: var(--size-quarter) var(--size-quarter) var(--size-quarter) 0;
		font-size: var(--base-size);
		color: var(--text);
		font-family: var(--main-font);
	}

	.fandomButton:hover {
		background-color: var(--accent-dark);
		color: white;
	}

	.fandomButton.active {
		background-color: var(--accent);
		color: white;
	}

	.filterFic ul {
		list-style-type: none;
		margin: 0;
		padding: 0;
	}

	.filterFic ul li {
		display: inline;
		margin: 0;
		padding: 0;
	}

	.filterFic ul li:after {
		content: var(--fic-metadata-divider);
		color: var(--accent);
	}

	.filterFic ul li:last-child:after {
		content: " ";
	}

	mark {
		background-color: var(--highlight-color);
	}

	summary:hover, details[open] > summary{
		color: var(--accent-dark);
		font-weight: bold;
	}

	code {
		font: normal var(--base-size) monospace;
		background: #dadada;
	}

	hr {
		border-top: none;
		border-bottom: var(--border-size) var(--hr-style) var(--accent);
		margin: var(--size-one-half) 0;
	}

	blockquote {
		margin: var(--base-size) 0;
		padding: var(--size-half) var(--size-one-half);
		border-left: var(--size-half) var(--main-border-style) var(--accent);
	}

	spoiler {
		background: var(--text)!important;
		color: var(--text)!important;
	}

	spoiler::selection {
		color: var(--text);
		background: var(--main-background);
	}

	spoiler::-moz-selection{
		color: var(--text);
		background: var(--main-background);
	}