/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
	background-color: #F7FFF7;
	font-family: 'Ysabeau', sans-serif;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}

html{
	width: 100%;
}


html, body {
	margin:0;    
	padding:0;    
	height:100%;
}


h1 {
	line-height: 0.7;
	color: #001011;
	padding: 0;
	margin: 0;
}

h2 {
	padding: 5px;
	margin-bottom: 7px;
	text-decoration: underline;
	font-family: Playfair Display;
	font-weight: 400;
	font-size: 1.2rem;
}

h3 {
	display: inline;
	padding: 4px;
	font-family: Playfair Display;
	line-height: 1.2;
	margin-bottom: 7px;
}

h4 {
	display: inline;
	padding: 4px;
	line-height: 1.2;
	margin-bottom: 7px;
}

p {
	margin-bottom: 10px;
}

a {
	text-decoration: none;
	color: #433E3F;
}

a.menu {
	color: black;
}

a:hover {
	text-decoration: underline;
}
a:after {
	color: black;
}

.active {
	text-decoration: underline;
	color: black;
}

/*Styles for mobile browser modal */

.modal {
	z-index: 10000;
	display: none;
	padding-top: 100px;
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgb(0,0,0);
	background-color: rgba(0,0,0,0.5)
}
.modal-content {
	margin: auto;
	background-color: #fff;
	position: relative;
	padding: 0;
	outline: 0;
	max-width: 600px
}
.modal-inner { padding: 20px 30px; }
.modal-close {
	-webkit-touch-callout: none;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	position: absolute;
	right: 0;
	top: 0;
	background: #ccc;
	padding: 6px 10px;
}
.animate-opacity { animation: opac 0.8s }@keyframes opac{from{opacity:0} to{opacity:1}}

/*End of modal styles */


/*Styles for index page */

/*pagebanner is for the sticky banner, plus the menu items */

.pagebanner {								
	position: sticky;
	top: 0;
	z-index: 1000;
	margin: 15px;
	background-color: #a2c3a4;
	padding: 15px 0.1rem 15px 0;
	border: 1px solid #6D6466;
}

/*title is for the title/slogan portion of pagebanner*/

.title {
	display: flex;
	flex: 2;
	justify-content: right;
	padding: 15px 1.5rem 15px 0;
	font-family: 'Playfair Display', serif;
	font-size: 2rem;
	letter-spacing: 0.1em;
	color: #1d3354;
	position: relative;
	font-weight: 700;
	margin: 0 0 0 15px;
}

/*slogan is for the flavour text under the title in header*/

.slogan {
	font-style: italic;
	font-weight: 100;
	font-size: 1rem;
	padding-left: 300px;

}

.slogan:before {
 content: "Treating fiction poorly since 2016";
}

/*nav is for the menu items*/

.nav {
	height: 1.5em;
	display: flex;
	padding: 0 15px 0 0;
	justify-content: space-around;
	flex-direction: row;
	align-items: center;
	font-family: 'Playfair Display', serif;
	font-weight: 400;
	margin: 5px;
}

/*This ends the pagebanner styles */


/* Container contains everything under pagebanner */

.container {
	min-height:100%;    
	position:relative;
	max-width: 100%;
	display: flex;
	flex-grow: 1;
}

/* content is for the sections that contain the story blocks */

.content {
	padding:10px;
	border: 1px solid #6D6466;
	margin: 15px;
	margin-top: 5px;
	background-color: #a2c3a4;
	width: 100%;
	display:flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: left;
	align-items: flex-start;
	}

/*contentheader is for the section breaks ongoing/one off/etc */

.contentheader {
	font-family: Playfair Display, serif;
	padding: 20px;
	padding-top: 5px;
	padding-left: 100px;
	font-size: 1.5rem;
	display: block;
	/*text-align: right;*/
}

h1.contentheader {
	text-align: left;
	width: 100%;
	height:0px;
	margin-bottom: 15px;
}

/*story is for the blocks which dictate each story*/

.story {
	border: 3px solid #6D6466;
	background-color: #ebebd3;
	margin-bottom: 15px;
	margin-left: 15px;
	display: flex;
	padding: 5px;
	flex-direction: column;
	justify-content: space-between;	
	width: 18%;
}

/*styles for slide in panel*/

.panel-wrap {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  width: 80%;
  transform: translateX(100%);
  transition: .3s ease-out;
  z-index:2000;
}
.panel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  /*background: #ccc;*/
  color: #000;
  overflow: auto;
  padding: 1em;
}

[type="checkbox"]:checked ~ .panel-wrap {
  transform: translateX(0%);
}

input[type=checkbox]{
  display:none;
}


/*mobile screen size edits*/

@media (max-width: 500px) {
	
	
	.slogan {
		display: none;
	}	
	
	.header{
		font-size: 1rem;
		padding: 10px 0 15px 0;
	}

	.container {
	width: 100%;
	margin-right: 15px;
}


.story {
	width: 75%;

}

.panel-wrap {
  width:90%;
}

.modal {
	display:block;
}
}


































































