@import url('https://fonts.googleapis.com/css?family=Open+Sans:300,700|Quattrocento:700');

body {
    font-family: 'Open Sans', sans-serif;
    font-weight: lighter;
    background: #f3f4ee;
}

body.dark {
    background: black;
    color: white;
}

h1, h2 {
    text-align: left;
    font-family: "Quattrocento", Georgia, 'Times New Roman', Times, serif;
    margin: 0;
    padding: 0;
}

h1 {
    font-size: 25pt;
    margin-bottom: 10px;
}

h2 {
    font-size: 14pt;
    font-style: italic;
    font-family: sans-serif;
    font-weight: lighter;
    color: #BBB;
}

img.fullwidth {
	width: 100%;
	height:auto;
}

.dark h2 {
    color: #666;
}

.header {
    padding-top: 3em;
    padding-bottom: 1.25em;
	
	
}

h3.written-in-ink {
	display:none;
    
}

.dark h3.written-in-ink {
    background: black;
}




/* Seems necessary to make iframes work on itch.io on mobile iOS :-( */
.outerContainer {
    position: absolute;
    display: block;
    margin: 0;
    padding: 0;
    -webkit-overflow-scrolling: touch;
    overflow: scroll;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
	background: url("images/body.png") repeat-y center;
	
}

.container {
  	display: block;
    max-width: 600px;
    margin: 0 auto;
    padding: 20px 40px 20px 40px;
    padding-top: 4em;
	height: 100%;
}

.dark .container {
    background: black;
}

p {
    font-size: 13pt;
    color: #888;
    line-height: 1em;
    font-weight: lighter;
}

em {
	line-height: 1.4em;
	}

a {
    font-weight: 500;
    color: #F93;
    font-family: sans-serif;
    transition: color 0.6s;
    text-decoration: none;
}

.dark a {
    color: #cc8f1a;
    transition: color 0.6s;
}


a:hover {
    color: black;
    transition: color 0.1s;
}

.dark a:hover {
    color: white;
}

.thread1 {
	padding: 4px 8px 4px 8px;
	background-color: #d7ff13;
}

.thread2 {
	padding: 4px 8px 4px 8px;
	background-color:  #fdf71f;
}

.thread3 {
	padding: 4px 8px 4px 8px;
	background-color: #d3e235;
}



strong {
    color: black;
    font-weight: bold;
}

.dark strong {
    color: white;
}

img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
}

.container .hide {
    opacity: 0.0;
}

.container .invisible {
    display: none;
}

.container * {
    opacity: 1.0;
    transition: opacity 1.0s;
}

p.choice {
    text-align: left;
    line-height: 1.3em;
	display: block;
	float: left;
	padding: 4px 20px 4px 20px;
	border-left: 1px solid #999;
	margin-top: 40px;
}

/* first choice */
 :not(.choice) + .choice {
    border-left: none;
	padding-left: 0;
} 


/* first choice */
/* :not(.choice) + .choice {
    padding-top: 1em; 
} 


p.choice a {
    font-size: 15pt;
}
*/
/* Built in class if you want to write:
     The End # CLASS: end
*/
.end {
    text-align: center;
    font-weight: bold;
    color: black;
    padding-top: 20px;
    padding-bottom: 20px;
}

.dark .end {
    color: white;
}