/* BEGIN NORMALIZATION SECTION */
* {
	/*box-sizing: border-box;*/
}
 
html {
	-ms-text-size-adjust: 100%;
	-webkit-text-size-adjust: 100%;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
 
body {
	background-color: #FFFFFF;
	margin-top: 0px;
	margin-bottom: 0px;
	margin-left: 5px;
	margin-right: 5px;
	padding-top: 0px;
	padding-bottom: 0px;
	padding-right: 0px;
	padding-left: 0px;
	font-size: 18px;
}
 
h1,
h2,
h3,
h4,
p,
blockquote,
figure,
ol,
ul,
span,
pre {
	margin: 0;
	padding: 0;
}
 
h1,
h2,
h3,
h4 {
	font-family: 'Gill Sans', 'Correspondence Sans', 'Nexus Sans', 'Helvetica', 'Arial', sans-serif;
	font-size: inherit;
	font-weight: normal;
	text-transform: uppercase;
}
 
a {
	text-decoration: none;
	color: hsl(240, 90%, 33%); /* == #00488E; */
	-webkit-transition: 0.67s;
	-moz-transition: 0.67s;
	transition: 0.67s;
}
a:link {
	color: hsl(240, 90%, 33%); /* == #00488E; */ 
	text-decoration: none; 
	-webkit-transition: 0.67s;
	-moz-transition: 0.67s;
	transition: 0.67s;
}
a:hover {
	color: hsl(240, 90%, 67%);
	text-decoration: none; 
	-webkit-transition: 0.67s;
	-moz-transition: 0.67s;
	transition: 0.67s;
}
a:visited {
	color: hsl(240, 90%, 33%); /* == #00488E; */ 
	text-decoration: none; 
	-webkit-transition: 0.67s;
	-moz-transition: 0.67s;
	transition: 0.67s;
}
a:visited:hover {
	color: hsl(240, 90%, 63%);
	text-decoration: none; 
	-webkit-transition: 0.67s;
	-moz-transition: 0.67s;
	transition: 0.67s;
}


input {
	border: none;
	text-align: center;
}
 
/* END NORMALIZATION SECTION */

header,
nav,
.content,
aside {
	margin-bottom: 1px;
}
 
header {
	/*border: 1px solid #D0021B;*/
}
 
nav {
	/*border: 1px solid #F5A623;*/
	font-family: 'Gill Sans', 'Correspondence Sans', 'Nexus Sans', 'Helvetica', 'Arial', sans-serif;
	/* Next three lines make the navigation bar stay fixed relative to the page until scrolling would make it disappear, after which it clings to the top of the display port. */
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 0;
    z-index: 100;
    opacity: 0.9;
}
 
.content {
	/*border: 1px solid #4CA884;*/
}
 
aside {
	/*border: 1px solid #4A90E2;*/
}
 
footer {
	/*border: 1px solid #9B9B9B;*/
}

/* Additions for V2 */
h1,
h2,
h3 {
	line-height: 1.2;
}
 
h1 {
	font-size: 2.5em;
	margin-bottom: 0.17em;
}
 
h2 {
	font-size: 1.5em;
	margin-bottom: 0.33em;
}
 
h3 { 
	font-size: 1.25em;
	margin-bottom: 0.5em;
}
 
blockquote, p, ol, ul {
	margin-bottom: 0.5em;
}
blockquote {
	margin-left: 1em;
	margin-right: 1em;
}

/* 
ol, ul {
	list-style-position: inside;
}
ul {
	list-style-position: inside;
}
 
li {
	list-style-type: square;
}
*/

body {
	font: 100%/1.625em 'Bitstream Vera Serif', 'Times New Roman', serif;
	color: black;
	
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: stretch;
 
	min-height: 100vh;  
}
 
img {
	max-width: 100%;
	height: auto;
	border: 0;
}

.wrapper {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: stretch;

	flex: 1;
}
 
.container {
	max-width: 960px;

	padding-top: 0.1em;
	padding-left: 0.1em;
	padding-left: 0.1em;
	padding-bottom: 0;
 
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: stretch;
}
 
footer {
	color: black;
	background-color: hsl(240, 5%, 93%);
 
	font-size: smaller;
	font-weight: 700;
 
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: stretch;
}
 
footer section {
	padding: 1em;
 
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

header {
	display: flex;
	flex-direction: column;
	justify-content: stretch;
	align-items: center;
	background-image: url("./img/kokyu_dosa_fade_595x396.png");
	background-position: center;
	background-repeat: no-repeat;
}

header a {
	display: flex;
	align-items: center;
}

nav {
	/*
	border-top: 1px solid #eee;
	border-bottom: 1px solid #eee;
	*/
	margin-bottom: 1em;

	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: stretch;
}

nav ul {
	display: flex;
	margin: 0;
	padding: 0;
}

nav ul li {
	list-style: none;
	padding: .25em;
}

.main {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	align-items: stretch;
}

.main {
	padding: 0px 10px;
}

@media screen and (min-width: 600px) {
	.home {
		display: flex;
		flex-direction: row;
		justify-content: flex-start;
		align-items: stretch;
	}

	.home .image {
		flex: 1;
		margin-right: 1.5em;
	}

	.home .titles {
		flex: 3;
	}
}

@media screen and (min-width: 850px) {
	.main {
		flex-direction: row;
	}

	.main .content {
		flex: 4;
		margin-right: 1.5em;
	}

	.main aside {
		flex: 1;
	}

	.main {
		padding: 0;
	}
}

/* TJS additions */

textarea {
	font-family: 'Bitstream Vera Sans Mono', 'Courier New', 'Courier', monospace;
	border: 1px solid gray;
}
th {
	font-family: 'Gill Sans', 'Correspondence Sans', 'Nexus Sans', 'Helvetica', 'Arial', sans-serif;
	font-weight: normal;
	text-transform: uppercase;
}
th, td {
	padding: 2px 5px;
}
.container {
	margin-bottom: 15px;
}
.container ol, ul {
	margin-left: 32px;
}
section .image {
	text-align: center;
	padding-bottom: 15px;
}
.content .image {
	text-align: center;
	padding-bottom: 15px;
}
aside ul {
	list-style-type: disc;
}
.home {
	border-bottom: 5px solid black; /*hsl(240, 90%, 33%);*/
	border-top: none;
	border-left: none;
	border-right: none;
	margin-bottom: 15px;
	padding-top: 10px;
	padding-bottom: 15px;
}
nav {
	background-color: black; /*hsl(240, 90%, 33%);*/
	border: none;
	padding: none;
	margin: none;
}
.navoff, .navoff a {
	color: white;
	background-color: black; /*hsl(240, 90%, 33%);*/
	font-family: 'Gill Sans', 'Correspondence Sans', 'Nexus Sans', 'Helvetica', 'Arial', sans-serif;
	font-size: 1.1em;
	text-transform: uppercase;
	text-align: center;
	margin: none;
	padding: 10px 8px 10px 8px;
	border-top: 0px solid black; /*hsl(240, 90%, 33%);*/
	border-bottom: 0px solid black; /*hsl(240, 90%, 33%);*/
	-webkit-transition: 0.67s;
	-moz-transition: 0.67s;
	transition: 0.67s;
}
.navon, .navon a, .navoff:hover, .navoff:hover a {
	color: black; /*hsl(240, 90%, 33%);*/
	background-color: white;
	font-family: 'Gill Sans', 'Correspondence Sans', 'Nexus Sans', 'Helvetica', 'Arial', sans-serif;
	font-size: 1.1em;
	text-transform: uppercase;
	text-align: center;
	margin: none;
	padding: 10px 8px 8px 8px;
	border-top: 0px solid white;
	border-bottom: 0px solid white;	
	-webkit-transition: 0.67s;
	-moz-transition: 0.67s;
	transition: 0.67s;
}
.nobreak {
	white-space: nowrap;
}
.icon {
	border: none;
	margin: none;
	padding: none;
	vertical-align: middle;
}
.icon16 {
	border: none;
	margin: none;
	padding: none;
	vertical-align: middle;
	width: 16px;
	height: 16px;
}
.flag16 {
	border: none;
	margin: none;
	padding: none;
	vertical-align: text-top;
	width: 16px;
	height: 16px;
}
.icon32 {
	border: none;
	margin: none;
	padding: none;
	vertical-align: middle;
	width: 32px;
	height: 32px;
}
.flag32 {
	border: none;
	margin: none;
	padding: none;
	vertical-align: text-top;
	width: 32px;
	height: 32px;
}
.lihead {
	list-style-type: none;
	font-weight: bold;
}
.liwithflag {
	text-indent: -20px;
	padding-left: 20px;
}
.tt {
	font-family: 'Bitstream Vera Sans Mono', 'Courier New', 'Courier', monospace;
}
.bglighter {
	background-color: hsl(240, 90%, 36%);
}
.bgnormal {
	background-color: hsl(240, 90%, 33%);
}
.bgdarker {
	background-color: hsl(240, 90%, 30%);
}
.rightsmaller {
	text-align: right;
	font-size: smaller;
}
.smaller {
	font-size: smaller;
}
.quotation {
	margin-left: 1em;
	margin-right: 1em;
}
.displayed {
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.displayed_maxwidth {
	display: block;
	margin-left: auto;
	margin-right: auto;
	padding: none;
	border: none;
	width: auto;
	height: auto;
}
/*@media screen and (min-width: 800px) {
	.displayed_maxwidth {
		max-width: 400px;
	}
}
@media screen and (max-width: 720px) {
	.displayed_maxwidth {
		max-width: 400px;
	}
}*/
@media screen and (min-width: 415px) {
	.displayed_maxwidth {
		max-width: 400px;
	}
}
@media screen and (max-width: 414px) {
	.displayed_maxwidth {
		max-width: 400px;
	}
}
@media screen and (max-width: 375px) {
	.displayed_maxwidth {
		max-width: 365px;
	}
}
@media screen and (max-width: 320px) {
	.displayed_maxwidth {
		max-width: 310px;
	}
}
.displayed_wider_maxwidth {
	display: block;
	padding: none;
	border: none;
	margin-left: auto;
	margin-right: auto;
	width: auto;
	height: auto;
}
@media screen and (min-width: 711px) {
	.displayed_wider_maxwidth {
		max-width: 700px;
	}
}
@media screen and (max-width: 710px) {
	.displayed_wider_maxwidth {
		max-width: 700px;
	}
}
@media screen and (max-width: 700px) {
	.displayed_wider_maxwidth {
		max-width: 690px;
	}
}
@media screen and (max-width: 650px) {
	.displayed_wider_maxwidth {
		max-width: 640px;
	}
}
@media screen and (max-width: 600px) {
	.displayed_wider_maxwidth {
		max-width: 590px;
	}
}
@media screen and (max-width: 550px) {
	.displayed_wider_maxwidth {
		max-width: 540px;
	}
}
@media screen and (max-width: 500px) {
	.displayed_wider_maxwidth {
		max-width: 490px;
	}
}
@media screen and (max-width: 450px) {
	.displayed_wider_maxwidth {
		max-width: 440px;
	}
}
@media screen and (max-width: 414px) {
	.displayed_wider_maxwidth {
		max-width: 400px;
	}
}
@media screen and (max-width: 375px) {
	.displayed_wider_maxwidth {
		max-width: 365px;
	}
}
@media screen and (max-width: 320px) {
	.displayed_wider_maxwidth {
		max-width: 310px;
	}
}
#eventtable td, th {
	border-bottom: 1px solid black;
}
#theheaderimg {
	border: none;
	margin: 0 1ex 0 0;
	padding: none;
	background-color: hsl(240, 90%, 33%);
	text-decoration: none; 
	-webkit-transition: 0.67s;
	-moz-transition: 0.67s;
	transition: 0.67s;
}
#theheaderimg:hover {
	border: none;
	margin: 0 2ex 0 0;
	padding: none;
	background-color: hsl(240, 90%, 33%);
	text-decoration: none; 
	-webkit-transition: 0.67s;
	-moz-transition: 0.67s;
	transition: 0.67s;
}
#theheadertext {
	font-size: 50px;
	color: hsl(240, 90%, 33%);
	text-decoration: none; 
	-webkit-transition: 0.67s;
	-moz-transition: 0.67s;
	transition: 0.67s;
}
#theheadertext:hover {
	font-size: 50px;
	color: hsl(240, 90%, 33%);
	text-decoration: none; 
	-webkit-transition: 0.67s;
	-moz-transition: 0.67s;
	transition: 0.67s;
}
/* Table Cell Bordering */
.tdGr {
	border-right: 1px solid gray;
}
.tdGb {
	border-bottom: 1px solid gray;
}
.tdGrb {
	border-right: 1px solid gray;
	border-bottom: 1px solid gray;
}