body {
	margin: 0;
	background-color: #01253E;
	padding: 0;
	display: block;
	color: #01253E;
	font-family: 'Open Sans', sans-serif;
	font-size: 16px;
	width: 100%;
}

img {
	max-width: 100%;
}

a {
	color: #1987b0;
	text-decoration: none;
}

a:hover {
	color: #3bb7e5;
}

#header {
	margin: 0 auto;
	padding: 4em 2em 2em;
	text-align: center;
	width: calc(100% - 4em);
}

#header p {
	margin: 2em 0 2em;
}

#button-pdf-version, #button-keep-reading {
	padding: 1em;
	border: 3px solid #01253E;
	margin: 2em 2em;
	display: inline-block;
	width: 10em;
	text-decoration: none;
	color: #01253E;
}

#button-pdf-version:hover, #button-keep-reading:hover {
	background-color: #01253E;
	color: white;
}

#table-of-contents-wrapper {
	background-color: #01253E;
	width: 100%;
}

#table-of-contents {
	margin: 0 auto;
	text-align: center;
	width: calc(100% - 4em);
	max-width: 1080px;
	padding: 2em;
	color: white;
}

ul.menu, ul.submenu {
	list-style-type: none;
	margin: 0;
	padding: 0;
}

ul.menu li, ul.submenu li {
	margin-bottom: 0.5em;
}

ul.submenu li {
	margin-left: 1em;
	font-size: 0.9em;
}

ul.menu li a, ul.submenu li a {
	color: white;
	text-decoration: none;
}	

ul.menu li a:hover, ul.submenu li a:hover {
	color: #3bb7e5;
}

ul.list {
	list-style-type: none;
	margin: -1em 0 0 1em;
	padding: 0;
}

ul.list li {
	font-size: 0.9em;
	padding-left: 1em;
	margin-bottom: 0.5em;
}

ul.list li a {

}

ul.list li:nth-child(7n+1) {
	background: url(images/bullet1.png) left 7px no-repeat;
}

ul.list li:nth-child(7n+2) {
	background: url(images/bullet2.png) left 7px no-repeat;
}

ul.list li:nth-child(7n+3) {
	background: url(images/bullet3.png) left 7px no-repeat;
}

ul.list li:nth-child(7n+4) {
	background: url(images/bullet4.png) left 7px no-repeat;
}

ul.list li:nth-child(7n+5) {
	background: url(images/bullet5.png) left 7px no-repeat;
}

ul.list li:nth-child(7n+6) {
	background: url(images/bullet6.png) left 7px no-repeat;
}

ul.list li:nth-child(7n) {
	background: url(images/bullet7.png) left 7px no-repeat;
}

#content {
	margin: auto;
	text-align: center;
	width: 100%;
	width: calc(100% - 4em);
	padding: 2em;
	max-width: 1080px;
}

.third-section {
	width: 33%;
	text-align: left;
	padding: 2em;
	box-sizing: border-box;
	float: left;
}

.third-section h2 {
	padding-bottom: 1em;
	border-bottom: 3px solid;
	margin-top: 0;
	margin-bottom: 1em;
	color: white;
	font-size: 1em;
}

.half-section {
	width: 50%;
	text-align: left;
	padding: 2em;
	box-sizing: border-box;
	float: left;
}

.half-section h2 {
	padding-bottom: 1em;
	border-bottom: 3px solid #ddd;
	margin-top: 1em;
	margin-bottom: 2em;
	font-size: 1em;
}

.message {
	padding: 2em;
	margin: 0;
	border: 1px solid;
}

.message p {
	font-size: 0.9em;
}

p.top {
	margin: 2em 0 0;
}

p.both {
	margin: 2em 0;
}

p.bottom {
	margin: 0 0 2em;
}

p.none {
	margin: 0;
}

span.button-grey {
	padding: 0.2em 0.5em;
	font-size: 14px;
	background-color: #e0e0e0;
	color: #0074a2;
	display: inline-block;
	margin-left: 0.2em;
}

span.button-blue {
	padding: 0.2em 0.5em;
	font-size: 14px;
	background-color: #2ea2cc;
	color: white;
	display: inline-block;
	margin-left: 0.2em;
}

.chapter {
	width: calc(100% - 4em);
	text-align: center;
	max-width: 1080px;
	margin: 0 auto;
	padding: 2em;
}

.chapter h2 {
	padding-bottom: 1em;
	border-bottom: 3px solid;
	margin-top: 1em;
	margin-bottom: 0;
	text-align: left;
	font-size: 1em;
}

.chapter-1 {
	border-color: #8CC050 !important;
}

.chapter-2 {
	border-color: #E47825 !important;
}

.chapter-3 {
	border-color: #E9AA22 !important;
}

.chapter-4 {
	border-color: #D670AC !important;
}

.chapter-5 {
	border-color: #6D426F !important;
}

.chapter-6 {
	border-color: #00a89c !important;
}

.chapter-7 {
	border-color: #656565 !important;
}

div.color-wrapper {
	margin: 1em 0 1em;
	width: 100%;
	display: block;	 
	text-align: center;
}

div.color-1, div.color-2, div.color-3, div.color-4, div.color-5, div.color-6, div.color-7, div.color-8, div.color-9, div.color-10, div.color-11, div.color-12 {
	width: 2.5em;
	height: 2.5em;
	display: inline-block;
	margin: 1em;
}

div.color-1 {
	background-color: #da4453;
}

div.color-2 {
	background-color: #3bafda;
}

div.color-3 {
	background-color: #8cc152;
}

div.color-4 {
	background-color: #967adc;
}

div.color-5 {
	background-color: #d770ad;
}

div.color-6 {
	background-color: #e57922;
}

div.color-7 {
	background-color: #656565;
}

div.color-8 {
	background-color: #00a89c;
}

div.color-9 {
	background-color: #6c416e;
}

div.color-10 {
	background-color: #086991;
}

div.color-11 {
	background-color: #eaa900;
}

div.color-12 {
	background-color: #1c865a;
}

#footer {
	margin: 0 auto;
	text-align: center;
	width: calc(100% - 4em);
	max-width: 1080px;
	padding: 4em 2em 3em 2em;
}

@media all and (min-width: 598px) and (max-width: 1079px) {
	
	#button-keep-reading {
		display: none;
	}
	
	#table-of-contents {
		padding: 2em 0;
	}
	
	.third-section {
		padding: 2em 1em;
		width: calc(50% - 2em);
		display: inline-block;
		float: none;
		vertical-align: top;
	}
	
	.chapter {
		padding: 2em 0;
		width: 100%;
	}
	
	.half-section {
		padding: 2em 0;
		width: 100%;
	}
	
}

@media all and (max-width: 597px) {
	
	#button-keep-reading {
		display: none;
	}
	
	.third-section {
		padding: 2em 0;
		width: 100%;
	}
	
	.chapter {
		padding: 2em 0;
		width: 100%;
	}
	
	.half-section {
		padding: 2em 0;
		width: 100%;
	}
	
}

.floating-header {
	background-color: rgba(1,37,62,0.8);
	height: 40px;
	width: 100%;
}	

.floating-header .logo-white a {
	background: transparent url('images/saya-logo-white.png') center center no-repeat;
	width: 54px;
	height: 40px;
	float: left;
	margin-left: 16px;
}

.floating-header .logo-white a:hover {
	opacity: 0.8;
}

.floating-header .buton {
	right: 11px;
	position: absolute;
	background: transparent url('images/icon-menu.png') center center no-repeat;
	width: 40px;
	height: 40px;
}

.floating-header .buton:hover {
	cursor: pointer;
	opacity: 0.8;
}

.container {
	background-color: #f7f7f7;
}

.responsive-menu {
	display: none;
	width: 220px;
	height: 200px;
	background-color: #01253E;
	position: fixed;
	right: 0;
	top: 0;
	z-index: 300;
	padding-top: 20px;
}

.responsive-menu a {
	display: block;
	color: white;
	padding: 0 0 0.5em 20px;
}

.responsive-menu a:hover {
	color: #3bb7e5;
}