.carnival_container_results, 
.carnival_details_container {
	width: 100%;
	margin: 0 auto;
	background-color: #008000;
}	
.carnival 
	{
	display: grid;
	grid-auto-rows: 3.5em auto auto auto auto auto auto auto auto;
	grid-auto-columns: 7em  13em auto;
	align-items: start;
	justify-items: start;
	/* margin-left: 1em; */
	margin-bottom: 2em;
	padding-top: 1em;
	padding-left: 1em;
	padding-right: 1em;
	padding-bottom: 1em;
	background-color: rgba(222, 214, 214, 1); 
	overflow: auto;
	font-family: system-ui, "Helvetica Neue", Helvetica, Arial, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", sans-serif;
	font-size: 100%;
	text-align: left;
	}
.carnival a
	{
	text-decoration: underline;
	}	
/*@media all and (max-width : 600px) {
	.carnival
		{
			//grid-auto-columns: 6em  12em auto;	
			padding: 0;
			margin-left: 1em;
			margin-right: 1em;	
		}	
	.carnival h2 
		{
			justify-self: center;
		}	
	} */	
		/*font-size: 1em;*/
			/*position: fixed;
			top: 0;
			left: 0;
			z-index: 1;	
	}*/
	
/*.carnival_days_table
	{
	display: grid;
	grid-template-areas:
	"heading heading heading"
	"col1 col2 col3";
	grid-template-rows: auto repeat(6);
	grid-template-columns: 8em  12em 1fr;
	grid-row-gap: 10px;
	grid-column-gap: 10px;
	//min-height: 100vh;
	margin: 0; 
	} */


.history_acga {
	/* width: 80%; */
	max-width: 35em;
	text-align: left;
}
.tour_acga img {
	display: flex;
	margin-left: auto;
	margin-right: auto;
	max-width: 100%;
	height: auto;
	margin-top: 1em;
}
.history_acga_family {
	font-family: Times, "Times New Roman", Geneva,"Lucida Grande", Arial, serif;
}
.tours_acga_family {
	font-family: Arial, serif;
}
.history_acga p {
	margin-top: 0.5em;
	text-indent: 2em;
	text-align: justify;
}
.history_acga li {
	margin-left: 2.5em;
}
.history_acga li:first-of-type {
	margin-top: 0.5em;
}
.history_acga h2,
#contents h2,
#foreword h2,
#acknowledgements h2,
#acga h2, 
#acga_honourboard h2 {
	letter-spacing: 0.03em;
	/*border-bottom: 2px solid #008000;  15Mar2023 */
	text-decoration-line: underline;
	text-decoration-color: #008000;
	font-size: 2em;
	font-family: Geneva,"Lucida Grande", Arial;
	margin-bottom: 2em;
	padding-bottom: 0;
	width: inherit; /* was intrinsic;*/
	text-align: center;
	color: var(--col-6);
}	
.history_acga h2 {
	border-bottom: 0;
}	
.history_acga h3 {
	font-weight: bold;
	font-size: 1.1em;
	text-align: left;
	margin: 1.5em 0;
}
.history_acga_gridx3 {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	border-top: 1px solid black;
	border-right: 1px solid black;
}
.history_acga-grid > span {
	padding: 8px 4px;
	border-left: 1px solid black;
	border-bottom: 1px solid black;
}	
.author {
	font-size: 90%;
	color: #666666;
	font-family: inherit;
}
.author:before {
	content:"author's notes: ...  ";
	color: var(--col-5);
	font-style: italic;
	font-size: 90%;
}
.chapter_pre {
	letter-spacing: 0.2em;
	text-align: center;
	text-transform: uppercase;
	font-size: 90%;
	margin-bottom: 0.5em;
	font-family: Geneva,"Lucida Grande", Arial;
}
.chapter::before {
	/*margin-top: 15em;*/
	/*content: "Chapter before ...: "*/
}
.chapter {	
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	font-family: Geneva,"Lucida Grande", Arial;
	margin-bottom: 1.0em;
	margin-top: 55vh;
	color: var(--col-6);
}
.chapter_outer {
	width: 100%;
	height: 3em;
	margin-top: 2em;
	margin-bottom: 2em;
	background-color: #0C9936;
	line-height: 3em;
}
.chapter_no {
	position: absolute;
	border-radius: 50%;
	width: 2em;
	height: 2em; 
	background-color: #D7D7F4; /* Old Browsers */
	background: -webkit-radial-gradient(center,#FFFFFF,#ADADBC); /*Safari 5.1-6*/
	background: -o-radial-gradient(center,#FFFFFF,#ADADBC); /*Opera 11.1-12*/
	background: -moz-radial-gradient(center,#FFFFFF,#ADADBC); /*Fx 3.6-15*/
	background: radial-gradient(ellipse at center, #FFFFFF, #ADADBC); /*Standard*/
	font-size: 3em;
	text-align: center;
	margin-left: auto;
	margin-right: auto;
	margin-top: 0.75em;
	line-height: 2em;
}
.chapter h2 {
	letter-spacing: 0.03em;
	border-bottom: 0;
	font-size: 2em;
}
.chapter + .hih2 {
	border-bottom: 0;
}
.chapter + p,
#contents +p,
#foreword + p,
#acknowledgements + p,
#acga + p,
#acga_honourboard + p {
	text-indent: 0;
}	
/*.chapter + p::first-letter {
	font-size: 3em;
	margin-top: -0.24em;
	margin-right: 0.1em;
	background-color: #808080;
	float: left; 
} */
.firstcharacter {
	float: left;
	font-size: 3em;
	line-height: 0.85em; /*1.0em;*/
	padding-top: 0.05em; /*0em; */
	padding-right: 0.05em;
	background-color: transparent;
}
.underline_green {		
}
#contents,	
#foreword,
#acknowledgements,
#acga,
#acga_honourboard {
	/*padding-bottom: 2em; */
	margin-bottom: 2em;
	margin-top: 55vh;
}



.col1
	{
	grid-column: 1/2;
	grid-row: 2/8;
	}	

.col2
	{
	grid-column: 2/3;
	grid-row: 3;
	}
	
.col3
	{
	grid-column: 3/4;
	/*grid-row: 3;*/
	background-color: lime;
	}	

.r1
	{
	grid-column: 1/4;
	grid-row: 1;
	font-size: 150%;
	font-weight: 700;
	align-items: center;
	}

.r2
	{
	grid-column: 1/4;
	grid-row: 2;
	}	

.r3c1
	{
	grid-column: 1/2;
	grid-row: 3;
	border-bottom: 2px solid black;
	font-weight: 700;
	margin-bottom: 0.5em;
	}
	
.r3c2
	{
	grid-column: 2/3;
	grid-row: 3;
	border-bottom: 2px solid black;
	font-weight: 700;
	}
	
.r3c3
	{
	grid-column: 3/4;
	grid-row: 3;
	border-bottom: 2px solid black;
	font-weight: 700;
	}
	

.r4
	{
	grid-column: 1/4;
	grid-row: 4;
	}	
	
.r5
	{
	grid-column: 1/4;
	grid-row: 5;	
	}	

.r8c1
	{
	grid-column: 1/2;
	grid-row: 8;
	margin-bottom: 1em;
	}		
	
.r9
	{
	grid-column: 1/4;
	grid-row: 9;
	justify-self: start;
	}	
	
.carnival h2 
	{
	font-size: 1.33em; /*1.5em;*/
				/*margin: 0.5em auto 0 auto;*/
	}
	
.carnival h3 {
	font-size: 1.2em; /*1.25em;*/
	margin-bottom: 0.5em;
}
.carnival h4 {
	color: blue;
	padding: 1em 0;
}
.carnival p {
	font-size: 1.1em;
	font-weight: 500;
}
.carnival_details_grid {
	display: grid;
	max-width: 24em;
	height: auto;
	grid-template-columns: repeat(24, 1em);
	grid-gap: 0;
}
.carnival_results, 
.carnival_details {
	margin: 0 auto;
	height: auto;
	padding-top: 0;
	padding-bottom: 2em;
	text-align: center;
	width: 100%;
	max-width: 25em; /* 390px ;*/
	/*
		position: relative;

	left: 0;
	z-index: 0;	*/	
}
.carnival_results h2 {
	text-align: center;
	color: blue;
	padding: 1em 0 0 0;
}
.carnival_results h3 {
	text-align: center;
	color: black;
	padding: 1em 0 0 0;
}
.carnival_results h4 {
	text-align: center;
	color: blue;
	padding: 0.5em 0 0 0;
}
.carnival_results p {
	text-align: center;
	color: black;
	font-weight: 500;
	font-size: 1.2em;
}
.carnival_results span {
	font-size: 1.5em;
	margin: 2em 0 1em 0;
	font-weight: 700;
}
.carnival_results table {
	table-layout: fixed;
	width: 100%;	
	margin-top: 1em;
	margin-bottom: 2em;
	font-size: 1.1em;
	font-weight: 400;
}
.carnival_results_table:last-of-type {
	margin-bottom: 1em;
}
.carnival_results th, 
.carnival_details th	{
	text-align: center;
	color: white;
	background-color:blue;
}
.carnival_results td, 
.carnival_results th {
	border: 0;
}
.carnival_details p {
	text-align: center;
	color: blue;
	padding: 1em 0 0 0;
	font-weight: 700;
	font-size: 1.5em;
}
.carnival_details table	{
	table-layout: fixed; /* added 26Mar2018 */
	width: 100%; /*25em; /*390px;*/
	margin-top: 1em;
	margin-bottom: 2em;
	font-weight: 400;
}
.vid {
	margin: 0 auto 2em auto;
	width: 100%; 
		/*padding: 2em 0;*/
	text-align: center;	
	padding-bottom: 1em;
}
.vid p	{
	font-size: 2em;
	padding:  0.5em 0 1em 0;
}
.col2_r td:nth-child(2) {
text-align: right;
}	
.col3_r td:nth-child(3)	/*#col3 table tbody tr td:nth-child(3)  /* Column 3 */	{
	text-align: right;
}
.col3_details td:nth-child(3)	/*#col3 table tbody tr td:nth-child(3)  /* Column 3 */	{
	text-align: right;
}	
.col2_details  td:nth-child(1)  /*#col3 table tbody tr td:nth-child(1)  /* Column 1 */ {
	/*width: 30%;*/
}
	
.col2wide td:nth-child(1) 	/*.col2 table tbody tr td:nth-child(1)  /* Column 1 */	{
	width: 76%;
}
.col2wide td:nth-child(2)	/*.col2 table tbody tr td:nth-child(2)  /* Column 2 */	{
	text-align: right !important;
	width: 24%;
}	
.col2thin thead th 	{
	text-align: center;
}
.col2thin  td:nth-child(1) 	/*.col2 table tbody tr td:nth-child(1)  /* Column 1 */	{
	width: 24%;
}
.col2thin  td:nth-child(2) /*.col2 table tbody tr td:nth-child(2)  /* Column 2 */	{
	width: 76%;
}	
.bold 	{
	/*font-weight: bold; */
}		
.back	{
	margin: 1em auto;
}	
.back button	{
	background-color: blue; /*#305AE2; /*#4CAF50; /* Green */
	border: none;
	color: white;
	padding: 0.5em 2.5em;
	cursor: pointer;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 1.5em;
	border-radius: 3em;
	box-shadow: 0 9px #000;
}	
button:active {
	background-color: #3e8e41;
	box-shadow: 0 5px #666;
	transform: translateY(4px);
}
button:hover	{
	background-color: white;/*#3e8e41*/
	color: blue;
	border: 1px solid black;
}	
button:before {
  float: left;
  width: 1em;
  margin: 0 0.5em 0 -1.5em; 
  /*pointer-events: none;*/
  content: "\2770""\2770"" "; 
}		
.manilla {
	background-color: rgba(226,220,175,0.9);/*#E2DCAF;*/
}		
iframe {
	margin-bottom: 1em;
}	
.ShotsOwed table {
	margin: auto;
	min-width: 45%;
	margin-bottom: 1em;
}
.ShotsOwed th:nth-child(2) {
	text-align: center;
}
.ShotsOwed td:nth-child(1) {
	width: 65%
}
.ShotsOwed td:nth-child(2) {
	width: 32%;
	text-align: center;
}	
@media all and (max-width : 600px) {	
	html {
		background-color: #E2DCAF;
	}	
	.carnival	{
		//position: fixed;
		//top: 0;
		//left: 0;
		//z-index: 1;
		min-width: 97vw;
		max-width: 97vw;	
		padding: 0;
		margin: 2em;
		}	
	}
	.carnival h2 {
		font-size: 1.25em;
		margin: 0.3em 0 0 0;
		justify-self: center;
	}
	.carnival h3	{
		font-size: 1.15em;
		margin-bottom: 0.3em;
		margin-top: 0;
	}
	.carnival p {
		font-size: 1.1em;
	}	
	.r1	{
		justify-self: center;
	}	
	.carnival_container_results	{
		min-width: 100vw;
	}
	.carnival_results table
		{
		min-width: 90vw;
		max-width: 100vw;
			/* font-size: 1.2em; /*140%;*/
		/*font-size: 1.1em;	*/
		font-weight: 400;
	}	
	.carnival_results {
		padding-bottom: 1em;
		position: relative;
		top: 11em; /*45vw;*/
		left: 0;
		z-index: 0;	
	}
	.ShotsOwed {
		padding-bottom: 1em;
		position: relative;
		top: 6em; /*45vw;*/
		left: 0;
		z-index: 0;	
	}
	.carnival_results p	{
		font-size: 1.4em;
	}	
	tbody > tr {
		font-size: 1em;
	}
	.back button {
		box-shadow: none;
		border: 1px solid black;
		background-color: blue;
	}
	.ShotsOwed table {
		min-width: 95%;	
	}		
}

.col2even  td:nth-child(1)  /*#col2even table tbody tr td:nth-child(1)  /* Column 1 */ {
		width: 70%;
		/*font-weight: 600;*/
		color: black;
		line-height: 2.5em;
}	
.col2even  td:nth-child(2)   /*#col2even table tbody tr td:nth-child(1)  /* Column 2 */	{
		width: 30%;
		text-align: right;
		color: black;
		line-height: 2.5em;
}
.col1 td	{
	width: 100%;
	text-align: center;
	color: black;
	line-height: 2.5em;
}			
#cart	{
	color: white;
	background-color: red;
	font-size: 100%;
}
#bold	{
	font-weight: bold;
}
.carnival_logo	{
	margin: 0 auto;
}
#carnival_event	{
	color: black; 
	font-size: 2em; /*  was 2em for carnival issues */
	text-align: center;
	padding-top: 1em;
}
#background_white	{
	background-color: white;
}
.carnival table	{
	margin: auto;
	border: 1px black solid !important;
	border-spacing: 1rem;
	text-align: left;
	width: 100%;
	font-size: 1em;
}
.carnival table tbody tr td:nth-child(1)  /* Column 1 */	{
	text-align: right;
	width: 15px;
}
.carnival table tbody tr td:nth-child(2)  /* Column 2 */	{
	text-align: center;
	width: 15px;
}
.carnival table tbody tr td:nth-child(3)  /* Column 3 */	{
	text-align: center;
	width: 40px;
	max-width: 40px;
}	
.carnival table tbody tr td:nth-child(4)  /* Column 4 */	{
	text-align: center;
	width: 75px;
	max-width: 80px;
}
.carnival table tbody tr td:nth-child(5)  /* Column 5 */	{
	text-align: center;
	width: 75px;
	max-width: 80px;
}	
.carnival table tbody tr td:nth-child(6)  /* Column 6 */	{
	text-align: center;
	width: 75px;
	max-width: 80px;
}
.carnival table tbody tr td:nth-child(7)  /* Column 7 */	{
	text-align: center;
	width: 75px;
	max-width: 80px;
}