body {
	color: #040;
	background-color: #fff;
	font-family: sans-serif;
	margin: 0 1em 0 0;
	padding:0;
}

.locationbox {
	background-color: #880e50;
	color: #fff;
	font-size: 3.25em;
	text-align: center;
	padding: 0.25em;
	margin: 10px 0 0 0;
}

.bigbox {
	margin: 0.5em 0 1em 0;
	border-left: none;
	border-right: none;
}
.eventbox {
	margin: 0.5em 0 0.25em 0;
	border-left: none;
	border-right: none;
	font-size: 30px;
	color: #111;
	font-weight: bold;
	line-height: 1em;
}

.eventticketbox {
	display: flex;
	margin: 0;
	border: 1px solid #666;
	border-left: none;
	border-right: none;
	font-size: 30px;
	color: #111;
}

.ticketbox {
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: 40px 70px 25px 70px;
	gap: 0px 0px;
	width: 3.75em;
	text-transform: uppercase;
	grid-auto-flow: row;
	grid-template-areas:
	"StartingInventory"
	"CurrentStock"
	"TicketType"
	"TicketSold";
}

.ticketbox:first-of-type .StartingInventory,
.ticketbox:first-of-type .CurrentStock,
.ticketbox:first-of-type .TicketType,
.ticketbox:first-of-type .TicketSold {
	text-align: right;
	font-size: 15px;
	font-weight: bold;
	padding: 10px 5px 0 0;
}

.ticketbox:first-of-type .StartingInventory,
.ticketbox:first-of-type .TicketType {
	padding: 4px 5px 4px 0;
}
.StartingInventory {
	grid-area: StartingInventory;
	color: #ccc; 
	background-color: #fff;
	font-size: 0.8em;
	text-align: center;
	padding: 10px 0;
	border-style: dotted;
	border-width: 0 2px 0 0;
	border-color: #ccc;
	
}

.CurrentStock {
	grid-area: CurrentStock;
	color: #000; 
	background-color: #ddd;
	border-style: dotted;
	border-width: 0 2px 0 0;
	border-color: #fff;
	font-size: 1.4em;
	text-align: center;
	padding: 10px 0;
	position:relative;
}

.TicketType {
	grid-area: TicketType;
	color: #ccc; 
	background-color: #fff;
	border-style: dotted;
	border-width: 0 2px 0 0;
	border-color: #ccc;
	font-size: 15px;
	text-align: center;
	padding: 4px 0;
	font-weight: bold;
}

.TicketSold {
	grid-area: TicketSold;
	color: #fff; 
	background-color: #880e50;
	border-style: dotted;
	border-width: 0 2px 0 0;
	border-color: #fff;
	font-size: 1.4em;
	text-align: center;
	padding: 10px 0;
	position:relative;
}

.main {  display: grid;
  grid-template-columns: 75px 1fr;
  grid-template-rows: 1fr;
  grid-auto-columns: 1fr;
  grid-auto-rows: 1fr;
  gap: 0px 0px;
  grid-auto-flow: row;
  justify-content: stretch;
  align-content: stretch;
  justify-items: stretch;
  align-items: stretch;
  grid-template-areas:
    "Menu Content";
}

.Menu { grid-area: Menu; }

.Content { grid-area: Content; }

ul.menu { list-style: none; margin:  1em 0 0 0; padding: 0; }
ul.menu li { margin: 0 0; text-align: left;}

ul.menu li a:link { margin: 0.5em 0; padding: 0.75em 0.5em; background-color: #eee; border-radius: 0 1em 1em 0; text-decoration: none; width: 30px; display: block; font-size: 2em;}
ul.menu li a:hover { background-color: #666; color: #fff;}

.p01 ul.menu li a.b01, .p02 ul.menu li a.b02, .p03 ul.menu li a.b03, .p04 ul.menu li a.b04, .p05 ul.menu li a.b05, .p06 ul.menu li a.b06,.p07 ul.menu li a.b07, .p08 ul.menu li a.b08, .p09 ul.menu li a.b09
{ background-color: #880e50; color: #fff;}



.percentsmall {
	position:absolute;
	right:0;
	bottom:0;
	text-align:right;
	color: rgba(256,256,256, 0.4);
	font-size: 0.5em;
}

.pencil {
	bottom: 4px;
	right: 4px;
	width: 20px;
	height: 20px;
	display: none;
}



.changeticket {  
	width: 600px;
	margin: 1em;
	display: grid;
  grid-template-columns: 1.75fr 1fr 0.5fr 1fr;
  grid-template-rows: 65px 70px 70px 50px;
  grid-auto-columns: 1fr;
  grid-auto-rows: 1fr;
  gap: 0px 0px;
  grid-auto-flow: row;
  justify-content: stretch;
  align-content: stretch;
  justify-items: stretch;
  align-items: stretch;
  grid-template-areas:
		"Name Name Name Name"
		"Starting Startnumber Startgo StartChange"
		"Available AvailableNumber Availablego AvailableChange"
		"Button1 Change Button2 Button2"
}

.Name {
	justify-self: stretch;
	align-self: stretch;
	grid-area: Name;
	font-size: 30px;
	color: #111;
	font-weight: bold;
	border-bottom: 1px solid #666;
	border-left: none;
	border-right: none;
	line-height: 1em;
}

.Starting {
  justify-self: stretch;
  align-self: stretch;
  grid-area: Starting;
  text-align: right;
  font-size: 15px;
  font-weight: bold;
  color: #ccc;
  background-color: #fff;
  border-style: dotted;
  border-width: 0 2px 0 0;
  border-color: #ccc;
  text-transform: uppercase;
  padding: 4px 5px 4px 0;
}

.Available {
	justify-self: stretch;
	align-self: stretch;
	grid-area: Available;
	color: #000; 
	background-color: #ddd;
	border-style: dotted;
	border-width: 0 2px 0 0;
	border-color: #fff;
	font-size: 1.4em;
	text-align: center;
	padding: 10px 0;
	text-transform: uppercase;
	position:relative;
	text-align: right;
	font-size: 15px;
	font-weight: bold;
	padding: 10px 5px 0 0;
}

.Startnumber {
	justify-self: stretch;
	align-self: stretch;
	grid-area: Startnumber;
	color: #ccc;
	background-color: #fff;
	font-size: 45px;
	font-weight: normal;
	text-align: center;
	padding: 10px 0;
	border-style: dotted;
	border-width: 0 2px 0 0;
	border-color: #ccc;
}

.AvailableNumber {
  justify-self: stretch;
  align-self: stretch;
  grid-area: AvailableNumber;
	font-size: 45px;
	font-weight: normal;
	color: #000; 
	background-color: #ddd;
	border-style: dotted;
	border-width: 0 2px 0 0;
	border-color: #fff;
	text-align: center;
	padding: 10px 0;
}


.Startgo {
  justify-self: stretch;
  align-self: stretch;
  grid-area: Startgo;
  background-color: #fff;
border-color: #ccc;
color: #ccc;
font-size: 45px;

}

.Availablego {
	justify-self: stretch;
	align-self: stretch;
	grid-area: Availablego;
	background-color: #ddd;
	border-color: #fff;
	color: #000;
	font-size: 45px;
}

.Availablego, .Startgo, .AvailableChange, .StartChange {
	padding: 10px 0;
	text-align: center;
	border-width: 0 2px 0 0;
	border-style: dotted;
}

.StartChange {
  justify-self: stretch;
  align-self: stretch;
  grid-area: StartChange;
font-size: 45px;
font-weight: normal;
color: #a2cca2;
border-style: dotted;
border-width: 0 2px 0 0;
border-color: #fff;
text-align: center;
padding: 10px 0;
}

.AvailableChange {
  justify-self: stretch;
  align-self: stretch;
  grid-area: AvailableChange;
	background-color: #ddd;
	font-size: 45px;
	font-weight: normal;
	color: #060;
	border-style: dotted;
	border-width: 0 2px 0 0;
	border-color: #fff;
	text-align: center;
	padding: 10px 0;
}

.Button2 {
  justify-self: stretch;
  align-self: stretch;
  grid-area: Button2;
  background-color: #880e50;
padding: 15px 10px 15px 0;
color: #fff;
text-align: right;
}
.Button2 input:is([type="button"], [type="submit"]) {
	color: #880e50;
	background-color:#fff;
	opacity: 0.8;
	padding: 1px 8px 1px 8px;
	display: inline-block;
	border-radius: 4px;
	border: none;
	font-size: 15px;
}


.Button1 a:link {
	color: #880e50;
	background-color:#fff;
	opacity: 0.8;
	padding: 2px 10px 0px 10px;
	display: inline-block;
	border-radius: 4px;
	text-decoration: none;
}
.Button1 a:hover { 
	opacity: 1;
}

.Change {
  justify-self: stretch;
  align-self: stretch;
  grid-area: Change;
	background-color: #880e50;
	padding: 5px;
	text-align: center;
}
.Change .changenumber {
	color: #880e50;
	border: none;
	border-radius: 4px;
	padding: 4px;
	width: 80px;
	font-size: 24px;
	text-align: center;
	font-weight: bold;
}



.Button1 {
	justify-self: stretch;
	grid-area: Button1;
	background-color: #880e50;
	text-align: center;
	padding: 15px 10px;
	color: #fff;
}

.hidesm { display: none;}

.hide {display: none;}

@media only screen and (min-width: 601px) {
	.hidesm { display: inline;}
	ul.menu { list-style: none; margin:  1em 0 0 0; padding: 0; }
	ul.menu li { margin: 0 0; text-align: left;}

	ul.menu li a:link { margin: 0.25em 0; padding: 0.65em; background-color: #eee; border-radius: 0 1em 1em 0; text-decoration: none; width: 170px; display: block; font-size: 1em; }
	ul.menu li a:hover { background-color: #666; color: #fff;}
	.main {  display: grid;
		grid-template-columns: 200px 1fr;
	}
}

@media only screen and (max-width: 600px) {
	.hidesm { display: inline;}
	ul.menu { list-style: none; margin:  1em 0 0 0; padding: 0; }
	ul.menu li { margin: 0 0; text-align: left;}

	ul.menu li a:link { margin: 0.25em 0; padding: 0.65em; background-color: #eee; border-radius: 0 1em 1em 0; text-decoration: none; width: 170px; display: block; font-size: 1em; }
	ul.menu li a:hover { background-color: #666; color: #fff;}
	.main {  display: grid;
		grid-template-columns: 200px 300px;
	}
}
