html {
    height: 100%;
}
body {
	background-color: #FFDFA8;
    font-family: verdana, arial, sans-serif;
    color: #000000;
    margin: 0;
    cursor: default;
	height: 100%;
	display: flex;
	flex-direction: column;
	display: -webkit-flex;
	-webkit-flex-direction: column;
}

.oikawa {
    color: #6BA3A3
}

.miyuki {
    color: #7A90B1
}

a {
    font-weight: normal;
    text-decoration: none;
    cursor: crosshair;
	font-style: italic;
	-webkit-flex: 1; /* Safari 6.1+ */
    -ms-flex: 1;
    flex: 1;
    text-align: center;
	color: #000000;
}

a:visited {
	color: #000000;
}

a:hover {
    color: #ECB180;
    cursor: crosshair;
}


.footer-container {
    text-align: right;
    background-color: #FFE9C4;
    width: 100%;
    border-top: 1px solid #CF8D56;
    font-size: 0.8em;
    
}


.footer {
    padding: 0.3em 0.8em;
}

.start-container, .side-container {
    margin: 5em auto 2em;
    padding: 0.5em;
	display: -webkit-inline-flex; /* Safari */
    -webkit-flex-wrap: wrap; /* Safari 6.1+ */
    display: inline-flex;   
    flex-wrap: wrap;
    max-width: 17em;
    border: 1px solid #ECC480;
    background-color: #FFECDD
    
		
}




 .side-container a {
	 
	padding: 1em 0.5em;
	margin: 0.1em;
    font-size: 1.2em;
    
}


 .side-container.end a {
	 
	padding: 0;
	margin: 0;
    
}
.start-container img {
	
    outline: 1px solid #FFCFA8;
}

.start-container a:hover, .side-container a:hover {
    background-color: #FFF2DD;
    outline: 1px solid #FFCFA8;
}

.continue {
    display: none
}

.no-js {
	display: inline-block;
}

.no-js:empty {
    display:none;
}

.header {
    background-color: #FFE9C4;
    width: 100%;
    border-bottom: 1px solid #CF8D56;
    font-size: 0.9em;
    top: 0;
    min-height: 1.2em;
    padding: 0.3em 0em;
}

.header a {
	padding: 0.5em 1em;
}

.menu {
	display:none;
}

.menu-show {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
	width: 250px;
	
	background-color: #FFF2DD;
	
	border-right: 2px solid #CF8D56;
}

.menu ul {
	height: 100%;
	text-transform: uppercase;
	list-style-type: none;
	padding: 0;
}

.menu li {
	padding: 0.5em 0 0.5em 0.3em;
    cursor: crosshair;
}

.menu span {
	padding: 0.3em; 
}

.menu li:hover {
	background-color: #FFE9C4;
}

.menu li:hover a {
    color: #ECB180;
}

.content-outer {
	display: -webkit-flex;
	display: flex;
	height: 100%;
	-webkit-flex: 3;
	flex: 3;
	
	overflow: hidden;
}

.content {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
	-webkit-justify-content: space-between;

	
	justify-content: space-between;
	-webkit-flex: 3;
	flex: 3;
	padding: 1em 2em;
		overflow: hidden;
	max-height: 100%;

	
}


li.l2 {
	padding-left: 0.6em;
	font-size: 0.9em;
}

.cookies-disabled {
	text-align: center;
	color: #ECB180;
	margin: 0 auto;
	max-width: 12em;
	vertical-align: center;
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: space-between;
	justify-content: space-between;
}

.cookies-disabled div {
	max-width: 9em;
	display: inline-block;
	position: relative;
	top: 2px;
}

.cookies-disabled::before {
	content: "{";
	font-size: 2em;
}

.cookies-disabled::after {
	content: "}";
	font-size: 2em;
}


.oikawa-side:not(.show), .oikawa-side > :not(.show), .miyuki-side:not(.show), .miyuki-side > :not(.show) {
	display: none;
}

.controls {
	
	width: 100%;
	margin-top: auto;
	text-align: right;
	border-top: 1px solid #ECB180;
	padding: 0.5em 0;
}

.txt ~ .controls {
	
	width: 100%;
	margin-top: auto;
	text-align: right;
	border-style: none;
	padding: 0;
	
}

.controls a {
	padding: 0.5em 2em;
	
}

.story {
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	-webkit-flex-direction: column;
	flex-direction: column;
	overflow: hidden;

	max-width: 30em;
	margin: 0 auto;
	background-color: #FFF2DD;
	border: 2px solid #ECB180;
	width: 100%;
	
	height: 100%;
}

.oikawa-side.txt{ background-color:  RGB(199,233,206)}
.miyuki-side.txt{ background-color: rgb( 135, 169, 186)}




.current.txt {
	overflow-y: auto;
	overflow-x: hidden;
	padding: 0.5em;
}

.option-text {
	display: none;
}

.show {
    display: block;
	
}

.story.show {
	display: -webkit-flex;
	display: flex;
	overflow: hidden;
	height: 100%;
}

.story.show.txt {
	display: -webkit-flex;
	display: flex;
	overflow: hidden;
	height: 100%;
}

.hide {
    display: none;
}
.hidden {
	opacity: 0;
}

.option-list {
	padding: 0em;
	
}

.option-list li {
	padding: 0.3em 1em;
	
	list-style: none;
	
}


.option-list li::before {
	content: ">";
	font-style: italic;
	padding: 0 1em 0 0;
}

.option-list li:hover {
	background-color: #ECB180;
	border-radius: 1em;
}

.oikawa-side.txt .option-list li:hover {
	background-color: #31716b;
	border-radius: 1em;
}

.miyuki-side.txt .option-list li:hover {
	background-color: #2c3069;
	border-radius: 1em;
}


.side-menu {
	display: flex;
	min-height: 2.5em;
    
}

.side-menu a {
	
    padding: 0.5em 1em 1.5em;
}

.message {
	background-color: #f7f7f7;
	border-radius: 2em;
	padding: 1em;
}


.message.emoji {
	padding: 0em;
}


.oikawa-side .message.oikawa {
	margin-left: 7em;
	
}

.oikawa-side .message.miyuki {
	margin-right: 7em;
	
}

.miyuki-side .message.miyuki {
	margin-left: 7em;
	
}

.miyuki-side .message.oikawa {
	margin-right: 7em;
	
}

li img {
	height: 4em;
	width: 4em;
	display: inline;
}

img {
	width: 100%;
}

.message > img {
	
	border-radius: 2em;
}

.oikawa-side .text-start {
	border-radius: 0;
}

.finished {
	text-decoration: line-through;
}

.bold {
	font-weight: bolder;
}

.show em {
	display: inline;
}

div.start-text.show {
display: none
}

.fin {
	text-align: center;
}

.current {
	
	overflow-y: auto;
	overflow-x: hidden;
	padding: 0.5em;
	height: 100%;
}

.content-outer.show {
	display: flex;
}


body {
}

.content-outer {
	display:  -webkit-flex;
	overflow: hidden;
}

.content {
	display: -webkit-flex;
	height: 92%;
	overflow: hidden;
}

.story.show {
	overflow: hidden;
}

.current.show {
	
	overflow: auto;
}