body {
	font-family: 'Arial', Gadget, sans-serif;
	font-size: 1rem;
	width: 98%;
}

button {
	font-family: inherit;
	font-size: 1rem;
}

input {
	font-family: inherit;
	font-size: 1rem;
}

.circle-badge {
	width: 1.3rem;
	height: 1.3rem;
	border-radius: 50%;
	background-color: #9e9e9e;
	color: #ffffff;
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 1rem;
	cursor: default;
  }

header {
	display: flex; /* grid */
	gap: 2rem;
	justify-content: left; /* Centers child horizontally */
	align-items: center;

	border-radius: 8px;
	box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.3);
	padding: 1.0rem;
	margin-bottom: 8px;
	color: rgb(255, 255, 255);
	background-color: #00509f;
}


header .logo {
	padding: 1rem;
	width: 10rem;
}

header .logo svg {
	fill: rgb(255, 255, 255); /* for logo */
}

header .programName {
	font-size: 1.0rem;
	font-weight: bold;
	cursor: default;
}

header .boxlistTime {
	font-size: 1rem;
	margin-bottom: 0.2rem;
}

header .programInfo {
	display: flex;
	flex-direction: column;
}

header .programToolbar {
	display: flex;
	justify-content: center; /* Centers child horizontally */
	align-items: center;
}

header .programIcons {
	display: flex;
	justify-content: space-between;
	gap: 1rem; /* Adjust the gap size as needed */

}


header .programIcon {
	width: 5.5rem;
	height: 5.5rem;
	padding: 0.2rem;
	color: rgba(255, 255, 255, 1.0);
	background-color: rgba(255, 255, 255, 0.2);
	border: 2px solid rgba(255, 255, 255, 0.2);
	cursor: pointer;
	border-radius: 12px;
}


header  .pageIcon {
	width: auto;
	height: 32px;
	margin: auto auto;
}



header .rightAlign {
	display: flex;
	flex-wrap: nowrap;
	margin-left: auto;
	justify-items: right;
	align-items: right;
}

header .login {
	text-decoration:underline;
	cursor: pointer;
	padding: 1rem;
	display: flex;
	flex-wrap: nowrap;
	justify-items: right;
	align-items: center;
}


header .login .name {
	text-decoration:underline;
	cursor: pointer;
}

header .login .loginUserIcon {
	text-decoration:underline;
	cursor: pointer;
	width: 2rem;
	height: 2rem;
}

.iconCaption {
	text-align: center;
	font-size: 0.8rem;
}

.contestantsIcon {
	background-image: url(contestants_page.png);
	background-repeat: no-repeat;
	background-position: center;
	width: 48px;
	height: 32px;
	margin: auto auto;
}


.menuButton {
	background-image:url(cog.png);
	width: 32px;
	height: 32px;
}

.popupMenu {
	position: absolute;
	top: 10px;
	left: 25px;
	z-index: 999;
	background-color: rgba(200, 200, 200, 0.99);
	list-style-type: none;
	-webkit-padding-start: 0px;
	padding: 10px;
}



.boxlistboxSectionName {
	margin-left: 10px;
	float: left;
}

.boxlistBoxSection {
	padding-left: 8px;
	padding-right: 8px;
	font-weight: bold;
	color: white;
	text-align: center;
	float: left;
	width: 25px;
	border: 2px solid black;
	box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.boxlistBoxSection1 {
	background-color: yellow;
	color: black;
}

.boxlistBoxSection2 {
	background-color: blue;
}

.boxlistBoxSection3 {
	background-color: red;
}

.boxlistBoxSection4 {
	background-color: green;
}

.boxlistBoxSection5 {
	background-color: white;
	color: black;
}

.boxlistBoxSection6 {
	background-color: black;
}

.boxlistBoxSection7 {
	background-color: #ffcc99;
	color: black;
}

.boxlistBoxSection8 {
	background-color: #cc00cc;
}

.boxlistBoxSection9 {
	background-color: #32cd32;
}

.boxlistBoxSection10 {
	background-color: #c0c0c0;
	color: black;
}


.popupMenuItem {
	cursor: pointer;
	display: block;
}

.boxlistTable {
	border: 1px solid #ccc;
	border-spacing: 0px;
}

.boxlistTableHeaderColumn {
	background-color: #ccc;
}

.boxlistTrainerColumn {
	border: 1px solid #ccc;
	padding: 4px;
}

.boxlistHorseColumn {
	border: 1px solid #ccc;
	padding: 4px;
}

.boxlistBoxColumn {
	border: 1px solid #ccc;
	padding: 4px;
}

.boxlistRaceColumn {
	border: 1px solid #ccc;
	padding: 4px;
	text-align: right;
}

.boxlistCityColumn {
	border: 1px solid #ccc;
	padding: 4px;
}

.boxlistRow {
	vertical-align: top;
}

.trainers_scroll {
	margin-left: 0px;
	margin-bottom: 0px;
	width: 100%;
	height: 190px;
	overflow-y: auto;
	background-color: rgba(100, 100, 100, 0.1);
}

.trainer
{
	border-radius: 8px;
	box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
	background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHZpZXdCb3g9IjAgMCAxIDEiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiPgo8bGluZWFyR3JhZGllbnQgaWQ9Imc3OTEiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4MT0iMCUiIHkxPSIwJSIgeDI9IjEwMCUiIHkyPSIxMDAlIj4KPHN0b3Agc3RvcC1jb2xvcj0iI0ZGRkZGRiIgb2Zmc2V0PSIwIi8+PHN0b3Agc3RvcC1jb2xvcj0iI0M3QzdDNyIgb2Zmc2V0PSIxIi8+CjwvbGluZWFyR3JhZGllbnQ+CjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9InVybCgjZzc5MSkiIC8+Cjwvc3ZnPg==);
	background-image: -moz-linear-gradient(top, white, #C7C7C7);
	background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(white), to(#C7C7C7));
	float: left;
	margin-right: 10px;
	border-style:solid;
	border-width:1px;
	margin: 5px;
	display: flex;
	justify-content: space-between;
	align-items: left;
}

.trainer .name
{
	padding: 0.2rem;
	padding-left: 0.3rem;
	cursor: default;
	width: 11rem;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.trainer .info
{
	display: flex;
	width: 14rem;
	justify-content: space-between;
	align-items: center;
}

.trainer .info .icons {
	width: 2rem;
}

.boxTooltip {
}

.boxTooltipHorse {
	font-weight: bold;
}

.boxTooltipTrainer {
}


.tooltip {
	background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIHZpZXdCb3g9IjAgMCAxIDEiIHByZXNlcnZlQXNwZWN0UmF0aW89Im5vbmUiPgo8bGluZWFyR3JhZGllbnQgaWQ9Imc3OTEiIGdyYWRpZW50VW5pdHM9InVzZXJTcGFjZU9uVXNlIiB4MT0iMCUiIHkxPSIwJSIgeDI9IjEwMCUiIHkyPSIxMDAlIj4KPHN0b3Agc3RvcC1jb2xvcj0iI0ZGRkZGRiIgb2Zmc2V0PSIwIi8+PHN0b3Agc3RvcC1jb2xvcj0iI0M3QzdDNyIgb2Zmc2V0PSIxIi8+CjwvbGluZWFyR3JhZGllbnQ+CjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIGZpbGw9InVybCgjZzc5MSkiIC8+Cjwvc3ZnPg==);
	background-image: -moz-linear-gradient(top, white, #C7C7C7);
	background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(white), to(#C7C7C7));
	box-shadow: 5px 5px 5px rgba(0,0,0,0.5);
	position: absolute;
	overflow: hidden;
	z-index: 999;
	padding: 4px;
	margin-left: 5px;
	margin-top: 5px;
	border: 2px solid #ccc;
	background-color: #ccc;
	opacity: 0.96;
}

.inventory {
	position: absolute;
	margin: 0 auto;
	margin-left: 5px;
	margin-top: 5px;
	z-index: 990;
	padding: 4px;
}

.horseInventory {
}


.horseInventory .horseIcon {
	float: left;
	position: relative;
	width: 24px;
	height: 20px;
	background-image:url('horse_40x40.png');
	z-index: -1;
}


.trainerTooltip {
	opacity: 1.0;
}

.trainerTooltip .caption {
	float: left;
	color: yellow;
	margin-right: 2px;
}

.trainerTooltip .name {
	color: black;
	display: inline;
}

.trainerTooltip ul {
	margin: 0px;
	-webkit-padding-start: 34px;
}

.trainerTooltip li {
	list-style-image: url('horse_40x40.png');
}

.trainerTooltip .horseIcon {
	float: left;
	width: 24px;
	height: 20px;
	background-image:url('horse_40x40.png');
}


.horse {
	position: absolute;
	left: 0px;
	top: 0px;
	width: 24px;
	height: 20px;
	background-image:url('horse_40x40.png');
	z-index: 0;
}


.potentialHorse {
	position: absolute;
	width: 24px;
	height: 20px;
	background-image:url('potential_horse_40x40.png');
	z-index: 0;
}

.selection {
	border: 2px solid yellow;
}

.background {
	z-index: 0;
	width: 1400px;
	height: 481px;
	background-image:url('boxar.jpg');
}

.print_image {
}

.move_up {
	position: relative;
	top: -485px;
}

.stables
{
	position: relative;
	z-index: 2;
}

.stables .stable
{
	margin: auto;
	overflow: hidden;
}

.stables .stable .box
{
	position: absolute;
}

.stables .stable .box .hit
{
	position: absolute;
	z-index: 1;
}

.stables .stable .box .potentialHorse
{
	position: absolute;
	width: 24px;
	height: 20px;
	background-image:url('potential_horse_40x40.png');
	z-index: 0;
}


.counter
{
	display: block;
		width: 1.3rem;
		height: 1.3rem;
		border-radius: 50%;
		background-color: #9e9e9e;
		color: #ffffff;
		display: flex;
		justify-content: center;
		align-items: center;
		font-size: 1rem;
		cursor: default;
}


.eventTable {
	display: flex;
}

.eventRow
{
	display: flex;
	width: 20rem;
	z-index: 0;
	margin: 2rem;
}

.eventRowOverlay
{
	position: relative;
	z-index: 1;
}

.eventIcon
{
	width: 3rem;
	height: 2.5rem;
}

.eventHeader
{
	width: 493px;
}

.eventName
{
	font-weight: bold;
}

.headerText
{
	color: #3b5a9a;
	font-weight: bold;
}

.headerTitleText
{
	color: #1c2946;
	font-weight: bold;
	padding-bottom: 15px;
}


.headerText
{
	color: #3b5a9a;
	font-weight: bold;
}

.inputText
{
	border-color: #bdc7d8;
	border-width: 1px;
	background-color: white;
}

.inputButton
{
	padding-bottom: 2px;
	padding-top: 2px;
}

 .inputSaveButton
{
	padding: 0.5rem;
}

.headerText:hover
{
	text-decoration:underline;
	cursor: pointer;
}


.inactiveText
{
	color: grey;
	font-weight: normal;
}


.inactiveBoldText
{
	color: grey;
	font-weight: bold;
}


.eventTime
{
}

.eventInfo
{
	display: flex;
	flex-direction: column;
}

.eventMenu
{
	width: 16px;
	height: 16px;
	float: left;
	background-image: url(drop_down_menu.png);
	visibility: hidden;
}

.eventCreateButton
{
	float: right;
}



.ui-datepicker-calendar
{
	background-color: white;
}


.ui-datepicker-title
{
	background-color: white;
}


.ui-datepicker-year
{
	background-color: white;
	font-weight: bold;
}

.ui-datepicker-month
{
	background-color: white;
	font-weight: bold;
}


.ui-datepicker-next
{
	background-color: white;
	font-weight: bold;
	margin: 2rem;
}

.ui-datepicker-prev
{
	background-color: white;
	font-weight: bold;
	margin: 2rem;
}

.dataSheet
{
	background-color: #f4f4f4;
	padding: 20px;
	padding-left: 30px;
	width: 340px;
}

.dataSheetRow
{
	overflow: hidden;
	padding-top: 8px;
	padding-bottom: 8px;
}

.dataSheetCaption
{
	width: 90px;
	float: left;
}

.dataSheetInput
{
	float: left;
	width: 140px;
}


