﻿body {
    padding-top: 1px;
    padding-bottom: 2px;
}

/* Set padding to keep content from hitting the edges */

.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Override the default bootstrap behavior where horizontal description lists 
   will truncate terms that are too long to fit in the left column 
*/

.dl-horizontal dt {
    white-space: normal;
}

/* Set width on the form input elements since they're 100% wide by default 
input,
textarea {
    max-width: 280px;
}
*/

a:link {
    color: #034af3;
    text-decoration: none;
    /* underline; */
}

a:visited {
    color: #505abc;
}

a:hover {
    color: #1d60ff;
    text-decoration: none;
}

a:active {
    color: #12eb87;
}

p, ul {
    margin-bottom: 10px;
    line-height: 1.0em;
}

header {
    margin-top: 0;
    display: block;
    height: 140px;
}

footer {
    display: block;
    background-color: Gray;
    margin-top: 5px;
    border-radius: 4px 4px 4px 4px;
    text-align: center;
    font-style: italic;
    font-family: Arial;
    font-size: 8px;
    color: White;
    clear: both;
}

section {
    display: block;
    margin: 0 5px 0 0;
}

/*
    Media for the main page displays
*/


.display-label {
    clear: both;
    margin: 3px 5px 3px 0;
    padding-top: 1px;
    float: left;
    width: 15vw;
    font-family: Arial;
    font-size: 1.5vw;
    text-align: right;
}
.editor-label {
    clear: both;
    margin: 3px 5px 3px 0;
    padding-top: 2px;
    float: left;
    width: 15vw;
    font-family: Arial;
    font-size: 1.5vw;
    font-weight: bolder;
    text-align: right;
}
.display-label-inline {
    margin: 3px 10px 3px 0;
    padding-top:1px;
    float: left;
    font-family: Arial;
    font-size: 1.5vw;
    font-weight: bolder;
}

.editor-field {
    margin: 3px 10px 3px 0;
    float: left;
    clear: right;
    font-family: Arial;
    font-size: 1.6vw;
}
.display-field {
	margin: 3px 10px 3px 0;
	float: left;
	font-family: Arial;
	font-size: 1.6vw;
}
@media only screen and (max-width: 412px) {
	.TournamentName {
		font-size: 8px;
		font-weight: 800;
	}

	.TournamentDate {
		font-size: 9.5px;
		font-weight: 600;
	}

	.TournamentLine {
		font-size: 9px;
	}

	.TournamentFooter {
		font-size: 9px;
		font-style: italic;
	}

	.BracketLine {
		font-size: 0.6em;
		font-style: italic;
	}

	span.TextHdr {
		font-size: 0.8em;
		font-weight: 600;
	}

	p.TextHdr {
		font-size: 1.0em;
		font-weight: bold;
		background-color:green;
	}

	p.Text {
		font-size: 10px;
		margin-top: 5px;
		margin-bottom: 2px;
	}

	p.Small {
		font-size: 7px;
	}

	.RespSmall {
		font-size: 7px;
	}

	.RespNormal {
		font-size: 8px;
	}

	.RespLarge, .RespLarge select {
		font-size: 10px;
	}

	.RespHeading {
		font-size: 12px;
		font-weight: 600;
	}
	.RespHeading1 {
		font-size: 16px;
		font-weight: bold;
	}

	.Resp1 {
		font-size: .5em;
	}
	.Resp2 {
		font-size: .6em;
	}
	.Resp3 {
		font-size: .7em;
	}
	.Resp4, Resp4B {
		font-size: .8em;
	}
	.Resp4B {
		font-weight: bold;
	}
	.Resp5, Resp5B {
		font-size: .9em;
	}
	.Resp5B {
		font-weight: bold;
	}

	.width200 {
		width: 75px;
	}
	.width300 {
		width: 20vw;
	}

	.Sponsor {
		min-width: 60px;
	}

	.display-label-rs, .editor-label-rs {
		clear: both;
		margin: 2px 5px 2px 0;
		float: left;
		width: 90px;
		font-family: Arial;
		font-size: 1.2vw;
		text-align: right;
	}

	.editor-field-rs {
		margin: 3px 10px 3px 0;
		float: left;
		clear: right;
		font-family: Arial;
		font-size: 1.2vw;
		width: 40vw;
	}
}

@media only screen and (min-width:413px) and (max-width: 600px) {
	.TournamentName {
		font-size: 12px;
		font-weight: 800;
	}

	.TournamentDate {
		font-size: 11px;
		font-weight: 600;
	}

	.TournamentLine {
		font-size: 10px;
	}

	.TournamentFooter {
		font-size: 10px;
		font-style: italic;
	}

	.BracketLine {
		font-size: 0.7em;
		font-style: italic;
	}

	.TextHdr {
		font-size: 12px;
		font-weight: 600;
	}

	span.TextHdr {
		font-size: 1.0em;
		font-weight: 600;
	}

	p.Text {
		font-size: 10px;
		margin-top: 5px;
		margin-bottom: 2px;
	}

	p.Small {
		font-size: 8px;
	}

	.RespSmall {
		font-size: 8px;
	}

	.RespNormal {
		font-size: 10px;
	}

	.RespLarge select,
	.RespLarge {
		font-size: 12px;
	}

	.RespHeading {
		font-size: 16px;
		font-weight: 600;
	}
	.RespHeading1 {
		font-size: 20px;
		font-weight: bold;
	}

	.Resp1 {
		font-size: .7em;
	}

	.Resp2 {
		font-size: .8em;
	}

	.Resp3 {
		font-size: .9em;
	}

	.Resp4, .Resp4B {
		font-size: 1.0em;
	}
	.Resp4B {
		font-weight: bold;
	}

	.Resp5, Resp5B {
		font-size: 1.1em;
	}
	.Resp5B {
		font-weight: bold;
	}


	.width200 {
		width: 125px;
	}
	.width300 {
		width: 150px;
	}
	.Sponsor {
		min-width: 80px;
	}

	.display-label-rs, .editor-label-rs {
		clear: both;
		margin: 2px 5px 2px 0;
		float: left;
		width: 90px;
		font-family: Arial;
		font-size: 12px;
		text-align: right;
	}

	.editor-field-rs {
		margin: 3px 10px 3px 0;
		float: left;
		clear: right;
		font-family: Arial;
		font-size: 12px;
		width: 360px;
	}
}

@media only screen and (min-width:601px) and (max-width: 990px) {
	.TournamentName {
		font-size: 14px;
		font-weight: 800;
	}

	.TournamentDate {
		font-size: 13px;
		font-weight: 600;
	}

	.TournamentLine {
		font-size: 10px;
	}

	.TournamentFooter {
		font-size: 11px;
		font-style: italic;
	}

	.BracketLine {
		font-size: 0.8em;
		font-style: italic;
	}

	span.TextHdr {
		font-size: 1.4em;
		font-weight: 600;
	}

	p.TextHdr {
		font-size: 12px;
		font-weight: 800;
	}

	p.Text {
		font-size: 11px;
		margin-top: 5px;
		margin-bottom: 2px;
	}

	p.Small {
		font-size: 9px;
	}

	.RespSmall {
		font-size: 9px;
	}

	.RespNormal {
		font-size: 12px;
	}

	.RespLarge select,
	.RespLarge {
		font-size: 14px;
	}

	.RespHeading {
		font-size: 18px;
		font-weight: 600;
	}
	.RespHeading1 {
		font-size: 24px;
		font-weight: bold;
	}

	.Resp1 {
		font-size: .8em;
	}

	.Resp2 {
		font-size: .9em;
	}

	.Resp3 {
		font-size: 1.0em;
	}

	.Resp4, .Resp4B {
		font-size: 1.1em;
	}
	.Resp4B {
		font-weight: bold;
	}

	.Resp5, .Resp5B {
		font-size: 1.2em;
	}
	.Resp5B {
		font-weight: bold;
	}
	.width200 {
		width: 150px;
	}

	.width300 {
		width: 200px;
	}

	.Sponsor {
		min-width: 100px;
	}

	.display-label-rs, .editor-label-rs {
		clear: both;
		margin: 2px 5px 2px 0;
		float: left;
		width: 100px;
		font-family: Arial;
		font-size: 14px;
		text-align: right;
	}

	.editor-field-rs {
		margin: 3px 10px 3px 0;
		float: left;
		clear: right;
		font-family: Arial;
		font-size: 14px;
		width: 450px;
	}
}

@media only screen and (min-width:991px) and (max-width: 1200px) {
	.TournamentName {
		font-size: 16px;
		font-weight: 800;
	}

	.TournamentDate {
		font-size: 14px;
		font-weight: 600;
	}

	.TournamentFooter {
		font-size: 12px;
		font-style: italic;
	}

	.BracketLine {
		font-size: 0.9em;
		font-style: italic;
	}

	.TournamentLine {
		font-size: 12px;
	}

	span.TextHdr {
		font-size: 1.6em;
		font-weight: 600;
	}

	p.TextHdr {
		font-size: 14px;
		font-weight: 800;
	}

	p.Text {
		font-size: 12px;
		margin-top: 5px;
		margin-bottom: 2px;
	}

	p.Small {
		font-size: 10px;
	}

	.RespSmall {
		font-size: 10px;
	}

	.RespNormal {
		font-size: 14px;
	}

	.RespLarge select,
	.RespLarge {
		font-size: 16px;
	}

	.RespHeading {
		font-size: 20px;
		font-weight: 600;
	}

	.RespHeading1 {
		font-size: 28px;
		font-weight: bold;
	}

	.Resp1 {
		font-size: .9em;
	}
	
	.Resp2 {
		font-size: 1.0em;
	}
	
	.Resp3 {
		font-size: 1.1em;
	}
	
	.Resp4, .Resp4B {
		font-size: 1.2em;
	}
	.Resp4B {
		font-weight: bold;
	}

	.Resp5, .Resp5B {
		font-size: 1.3em;
	}
	.Resp5B { font-weight:bold;}

	.width200 {
		width: 175px;
	}
	.width300 {
		width: 250px;
	}

	.Sponsor {
		min-width: 120px;
	}


	.display-label-rs, .editor-label-rs {
		clear: both;
		margin: 2px 5px 2px 0;
		float: left;
		width: 120px;
		font-family: Arial;
		font-size: 16px;
		text-align: right;
	}

	.editor-field-rs {
		margin: 3px 5px 3px 0;
		float: left;
		clear: right;
		font-family: Arial;
		font-size: 16px;
		width: 600px;
	}
}

@media only screen and (min-width: 1201px) {
	.TournamentName {
		font-size: 24px;
		font-weight: 800;
	}

	.TournamentDate {
		font-size: 22px;
		font-weight: 600;
	}

	.TournamentLine {
		font-size: 14px;
	}

	.TournamentFooter {
		font-size: 12px;
		font-style: italic;
	}

	.BracketLine {
		font-size: 1.0em;
		font-style: italic;
	}

	span.TextHdr {
		font-size: 1.8em;
		font-weight: 600;
	}

	p.TextHdr {
		font-size: 1.4rem;
		font-weight: 800;
	}

	p.Text {
		font-size: 1.3rem;
		margin-top: 5px;
		margin-bottom: 2px;
	}

	p.Small {
		font-size: 11px;
	}

	.RespSmall {
		font-size: 14px;
	}

	.RespNormal {
		font-size: 16px;
	}

	.RespLarge select,
	.RespLarge {
		font-size: 18px;
	}

	.RespHeading {
		font-size: 24px;
		font-weight: 600;
	}
	.RespHeading1 {
		font-size: 36px;
		font-weight: bold;
	}

	.Resp1 {
		font-size: 1.0em;
	}

	.Resp2 {
		font-size: 1.1em;
	}

	.Resp3 {
		font-size: 1.2em;
	}

	.Resp4, .Resp4B {
		font-size: 1.3em;
	}
	.Resp4B {
		font-weight: bold;
	}

	.Resp5, .Resp5B {
		font-size: 1.4em;
	}
	.Resp5B { font-weight:bold;}
	.width300 {
		width: 300px;
	}

	.width200 {
		width: 200px;
	}

	.Sponsor {
		min-width: 140px;
	}

	.display-label-rs, .editor-label-rs {
		clear: both;
		margin: 2px 10px 2px 0;
		float: left;
		width: 140px;
		font-family: Arial;
		font-size: 18px;
		text-align: right;
	}

	.editor-field-rs {
		margin: 3px 10px 3px 0;
		float: left;
		clear: right;
		font-family: Arial;
		font-size: 18px;
		width: 800px;
	}
}

	img.AdImg {
		padding-top: 5px;
		max-width: 100%;
		height: auto;
		max-height: 140px;
		min-height: 50px;
		min-width: 50px;
	}

	/*   Use for image links
---------------------------------------------------------  */

	img.clickimage {
		cursor: pointer;
	}

	.link {
		cursor: pointer;
		color: #034af3;
		text-decoration: underline;
	}

	/* HEADINGS   
----------------------------------------------------------*/

	.ph1 {
		clear: both;
		font-size: 20px;
		font-weight: bold;
		color: Black;
		padding: 10px 0 10px 0;
	}

	.ph2 {
		clear: both;
		font-size: 16px;
		font-weight: bold;
		color: Black;
		padding: 8px 0 8px 0;
	}

	.ph3 {
		clear: both;
		font-size: 12px;
		font-weight: bold;
		color: Brown;
		padding: 5px 0 5px 0;
	}

	/* PRIMARY LAYOUT ELEMENTS   
----------------------------------------------------------*/

	/* you can specify a greater or lesser percentage for the 
page width. Or, you can specify an exact pixel width. */

	.page {
		width: 98%;
		margin-left: 5px;
		margin-right: 5px;
	}

	#header {
		position: relative;
		margin-bottom: 0px;
		color: #000;
		padding: 0;
	}

		header h1, #header h1 {
			font-weight: bold;
			padding: 5px 0;
			margin: 0;
			color: #fff;
			border: none;
			line-height: 2em;
			font-size: 32px !important;
			text-shadow: 1px 1px 2px #111;
		}

	#main {
		padding: 10px 10px 10px 10px;
		background-color: #fff;
		-webkit-border-radius: 4px 4px 4px 4px;
		-moz-border-radius: 4px 4px 4px 4px;
		border-radius: 4px 4px 4px 4px;
	}

	#sideBar {
		display: block;
		padding: 10px 10px 10px 10px;
		width: 180px;
		background-color: #fff;
		-webkit-border-radius: 4px 0 4px 4px;
		-moz-border-radius: 4px 0 4px 4px;
		border-radius: 4px 4px 4px 4px;
	}

#footer {
	background-color: #fff;
	clear: both;
	color: #999;
	padding: 10px 0;
	text-align: center;
	line-height: normal;
	margin: 0 0 30px 0;
	font-size: .9em;
	-webkit-border-radius: 0 0 4px 4px;
	-moz-border-radius: 0 0 4px 4px;
	border-radius: 0 0 4px 4px;
}

	div#pageheader {
		display: block;
		border: 2px solid black;
		float: left;
		text-align: center;
		max-height: 150px;
		width: 100%;
		margin-bottom: 1px;
		background-image: url("Images/HeaderBackground.jpg");
		background-position: center;
		background-size: 100%;
		color: yellow;
	}

	div#firstimg {
		display: block;
		border: 2px solid black;
		float: left;
		text-align: left;
		height: 140px;
		margin-bottom: 2px;
	}

	div#lastimg {
		display: block;
		border: 2px solid black;
		float: right;
		text-align: center;
		height: 140px;
		margin-bottom: 2px;
	}

	/* FORM LAYOUT ELEMENTS   
----------------------------------------------------------
    Margin and Padding field order top right bottom left
*/

	fieldset {
		border: 2px solid #ddd;
		width: 100%;
		min-width: 100px;
		padding: 0 5px 5px 5px;
	}

	legend {
		display: block;
		max-width: 100%;
		width: auto;
		margin: 0 10px 5px 0;
		padding: 0 10px 0 10px;
		font-size: 1.2rem;
		font-weight: bold;
		line-height: inherit;
		color: inherit;
		white-space: normal;
	}

	/*
legend {
    font-size: 1.2em;
    font-weight: bold;
}

textarea {
    min-height: 75px;
}

input[type="text"],
input[type="password"] {
    border: 1px solid #ccc;
    padding: 0 0 0 5px;
    font-size: 12px;
    color: #444;
}

    input[type="button"].smallTight {
        border: 1px solid #ccc;
        padding: 1px 1px 1px 1px;
        font-family: Arial;
        font-size: 9px;
        font-weight: bold;
        color: #444;
        border-radius: 4px 4px 4px 4px;
    }

select {
    border: 1px solid #ccc;
    padding: 0 0 0 3px;
    font-size: 12px;
    color: #444;
}
*/

	input[type="button"].small {
		border: 1px solid #ccc;
		padding: 2px 2px 2px 2px;
		font-family: Arial;
		font-size: 9px;
		font-weight: bold;
		color: #444;
		border-radius: 4px 4px 4px 4px;
	}

	input[type="button"], input[type="submit"] {
		border: 2px solid #ccc;
		padding: 3px;
		font-family: Arial;
		font-size: 12px;
		font-weight: bold;
		color: #444;
		border-radius: 6px 6px 6px 6px;
	}

	input[type="button"]:hover, input[type="submit"]:hover {
		background-color: Gray;
		color: White;
	}

	/* TABLE
----------------------------------------------------------*/

	/*
table {
    border-collapse: collapse;
}

    table td {
        padding: 2px;
    }

    table th {
        padding: 6px 5px;
        background-color: #FFFFCC;
    }
    */

	/* TABLE - Grid1
----------------------------------------------------------*/

	table.grid1 {
		border: solid 1px #e8eef4;
	}

		table.grid1 tr {
			height: 14px;
		}

			table.grid1 tr:hover {
				background-color: Gray;
				color: White;
			}

			table.grid1 tr.RowSelected {
				background-color: green;
				color: White;
			}

		table.grid1 td {
			padding: 0 2px 0 2px;
			border: solid 1px #e8eef4;
			font-size: 12px;
			font-family: Arial;
		}

		table.grid1 th {
			padding: 5px 5px 5px 5px;
			text-align: left;
			background-color: #FFFFCC;
			color: Black;
			border: solid 1px #e8eef4;
			font-size: 14px;
			font-family: Arial;
		}

	/* TABLE - grid2 - tight spacing
----------------------------------------------------------*/

	table.grid2 {
		border: solid 1px #e8eef4;
		margin: 0 0 0 0;
	}

		table.grid2 tr {
			height: 10px;
			padding: 0 0 0 0;
		}

			table.grid2 tr:hover {
				background-color: Gray;
				color: White;
				/*    cursor:pointer; */
			}

		table.grid2 td {
			padding: 0 2px 0 2px;
			border: solid 1px #e8eef4;
			font-size: 8px;
			font-family: Arial;
		}

		table.grid2 th {
			padding: 2px 2px 2px 2px;
			text-align: center;
			background-color: #FFFFCC;
			color: Black;
			border: solid 1px #e8eef4;
			font-size: 14px;
			font-family: Arial;
		}

	/* TABLE - TeamGrid - tight spacing
----------------------------------------------------------*/

	table.TeamGrid {
		font-family: Arial;
		border: solid 1px #e8eef4;
		margin: 0 0 0 0;
	}

		table.TeamGrid tr {
			height: 11px;
			padding: 0 0 0 0;
		}

			table.TeamGrid tr:hover {
				background-color: blue;
				color: White;
				/*    cursor:pointer; */
			}

		table.TeamGrid td {
			padding: 0 2px 0 2px;
			border: solid 1px #e8eef4;
			font-size: 11px;
			font-family: Arial;
		}

		table.TeamGrid th {
			padding: 2px 2px 2px 2px;
			text-align: center;
			background-color: #FFFFCC;
			color: Black;
			border: solid 1px #e8eef4;
			font-size: 14px;
			font-family: Arial;
		}

	/* TABLE - Console
----------------------------------------------------------*/

	table.Console {
		border: solid 1px #e8eef4;
		width: 100%;
	}

		table.Console tr {
			height: 16px;
		}

		table.Console td {
			padding: 0 4px 0 4px;
			border: solid 1px #e8eef4;
			font-size: 12px;
			font-family: Arial;
		}

		table.Console tr.Selected:hover {
			background-color: Gray;
			color: White;
		}

		table.Console th {
			padding: 5px 5px 5px 5px;
			text-align: center;
			background-color: #CBE7EF;
			color: Black;
			border: solid 1px #e8eef4;
			font-size: 14px;
			font-family: Arial;
		}

	table.Stats {
		border: solid 1px #e8eef4;
	}

		table.Stats tr {
			height: 20px;
		}

		table.Stats td {
			padding: 0 4px 0 4px;
			border: solid 1px #e8eef4;
			font-size: 14px;
			font-family: Arial;
			background-color: White;
		}

		table.Stats th {
			padding: 5px 5px 5px 5px;
			text-align: left;
			background-color: #CBE7EF;
			color: Black;
			border: solid 1px #e8eef4;
			font-size: 14px;
			font-family: Arial;
		}

	.CellHiLite {
		background-color: Gray;
		color: White;
		font-size: larger;
		font-weight: bold;
		cursor: pointer;
	}

	/* TABLE - GridLines
----------------------------------------------------------*/

	table.GridLines {
		border: solid 1px #e8eef4;
	}

		table.GridLines tr {
			height: 14px;
		}

		table.GridLines td {
			padding: 0 2px 0 2px;
			border: solid 1px #e8eef4;
			font-size: 12px;
			font-family: Arial;
		}

		table.GridLines th {
			padding: 5px 5px 5px 5px;
			text-align: left;
			background-color: #FFFFCC;
			color: Black;
			border: solid 1px #e8eef4;
			font-size: 14px;
			font-family: Arial;
		}
		table.GridLines thead th {
			padding: 5px 5px 5px 5px;
			text-align: left;
			background-color: #8f8670;
			color: #f4f3f1;
			border: solid 1px #e8eef4;
			font-size: 14px;
		}

	/* TABLE - GridResp   - Responsive table
----------------------------------------------------------*/

table.GridResp {
	border: solid 1px #cdc9b1;
}

	table.GridResp tr {
		height: 12px;
	}
    table.GridResp td {
        padding: 2px 4px;
        border: solid 2px #cdc9b1;
    }
	table.GridResp th {
		padding: 2px 4px;
		border: solid 1px #cdc9b1;
		font-weight:600;
			}
	table.GridResp tr.HiLite:hover {
		background-color: Gray;
		color: White;
		cursor:pointer;
	}
	table.GridResp input[type="button"] {
		display:inline-block;
		border: 1px solid #410a0a;
		padding: 2px;
		font-family: Arial;
		font-size: 5vw;
		font-weight: bold;
		color: #444;
		border-radius: 4px 4px 4px 4px;
	}


@media only screen and (max-width: 412px) {
	table.GridResp td {
		font-size: .6em;
	}
	table.GridResp th {
		font-size: .7em;
	}
	table.GridResp input[type="button"] {
		display: inline-block;
		border: 1px solid #410a0a;
		padding: 2px;
		font-family: Arial;
		font-size: .6em;
		font-weight: bold;
		color: #444;
		border-radius: 4px;
	}
}
@media only screen and (min-width:413px) and (max-width: 600px) {
    table.GridResp td {
        font-size: .7em;
    }

	table.GridResp th {
		font-size: .8em;
	}
	table.GridResp input[type="button"] {
		display: inline-block;
		border: 1px solid #410a0a;
		padding: 2px;
		font-family: Arial;
		font-size: .7em;
		font-weight: bold;
		color: #444;
		border-radius: 4px;
	}
}
@media only screen and (min-width:601px) and (max-width: 990px) {
	table.GridResp td {
		font-size: .8em;
	}

	table.GridResp th {
		font-size: .9em;
	}
	table.GridResp input[type="button"] {
		display: inline-block;
		border: 1px solid #410a0a;
		padding: 3px;
		font-family: Arial;
		font-size: .8em;
		font-weight: bold;
		color: #444;
		border-radius: 6px;
	}
}
@media only screen and (min-width:991px) {
	table.GridResp td {
		font-size: .9em;
	}

	table.GridResp th {
		font-size: 1.0em;
	}
	table.GridResp input[type="button"] {
		display: inline-block;
		border: 1px solid #410a0a;
		padding: 3px;
		font-family: Arial;
		font-size: .8em;
		font-weight: bold;
		color: #444;
		border-radius: 6px;
	}
}
/* TABLE - FieldEdit - Responsive table
----------------------------------------------------------*/

table.FieldEdit {
	font-weight: 500;
	border: solid 2px #b9b392;
	margin: 2px;
}


	table.FieldEdit td {
		text-align: left;
		padding: 1px 5px;
		border: solid 1px #b9b392;
	}

	table.FieldEdit th {
		text-align: center;
		padding: 1px 5px;
		border: solid 1px #b9b392;
	}

	table.FieldEdit th:first-child {
		text-align: right;
	}

	table.FieldEdit td:first-child {
		text-align: right;
		font-weight: 700;
		padding-right: 5px;
	}

	table.FieldEdit input {
		text-align: left;
		padding: 2px;
		margin: 2px;
	}
	table.FieldEdit td input {
		text-align: left;
		color:green;
	}
	table.FieldEdit select {
		text-align: left;
		padding: 2px 5px;
		margin: 2px;
	}

@media only screen and (max-width: 412px) {
	table.FieldEdit td:first-child {
		font-size: .7em;
	}

	table.FieldEdit td {
		font-size: .6em;
	}
}

@media only screen and (min-width:413px) and (max-width: 600px) {
	table.FieldEdit td:first-child {
		font-size: .8em;
	}

	table.FieldEdit td {
		font-size: .7em;
	}
}

@media only screen and (min-width:601px) and (max-width: 990px) {
	table.FieldEdit td:first-child {
		font-size: .9em;
	}

	table.FieldEdit td {
		font-size: .8em;
	}
}

@media only screen and (min-width: 991px) {
	table.FieldEdit td:first-child {
		font-size: 1.0em;
	}

	table.FieldEdit td {
		font-size: .9em;
	}
}
div.FieldEdit {
	margin: 2px;
}
@media only screen and (max-width: 412px) {
	table.FieldEdit input[type="submit"],
	table.FieldEdit input[type="button"],
	div.FieldEdit input[type="submit"],
	div.FieldEdit input[type="button"] {
		font-size: .5em;
		width: auto;
	}
}

@media only screen and (min-width:413px) and (max-width: 600px) {
	table.FieldEdit input[type="submit"],
	table.FieldEdit input[type="button"],
	div.FieldEdit input[type="submit"],
	div.FieldEdit input[type="button"] {
		font-size: .6em;
		width: auto;
	}
}

@media only screen and (min-width:601px) and (max-width: 990px) {
	table.FieldEdit input[type="submit"],
	table.FieldEdit input[type="button"],
	div.FieldEdit input[type="submit"],
	div.FieldEdit input[type="button"] {
		font-size: .7em;
		width: auto;
	}
}

@media only screen and (min-width: 991px) {
	table.FieldEdit input[type="submit"],
	table.FieldEdit input[type="button"],
	div.FieldEdit input[type="submit"],
	div.FieldEdit input[type="button"] {
		font-size: .8em;
		width: auto;
	}
}

	/* TABLE - Grid2Lines
----------------------------------------------------------*/

	table.Grid2Lines {
		border: solid 1px #e8eef4;
	}

		table.Grid2Lines tr {
			height: 14px;
		}

		table.Grid2Lines td {
			padding: 2px 2px 2px 2px;
			border: solid 1px #e8eef4;
			font-size: 10px;
			font-family: Arial;
		}

		table.Grid2Lines th {
			padding: 2px 2px 2px 2px;
			text-align: center;
			color: Black;
			border: solid 1px #e8eef4;
			font-size: 12px;
			font-family: Arial;
			background-color: #FFFFCC;
		}
/*
	Event registration forms, User and Admin
*/
table.EventReg {
	width: 100%;
	font-size: 16px;
	font-weight: 500;
	background-color: #eceadf;
}

table.EventReg th {
	text-align: center;
	font-weight: 500;
	border: solid 2px #f5f4ef;
}

table.EventReg td {
	text-align: center;
	border: solid 2px #f5f4ef;
}

table.EventReg span {
	background-color: ivory;
	margin: 5px;
	padding: 0 10px;
	font-size: 20px;
}
	table.EventReg select.Narrow {
		width: 15vw;
	}
	table.EventReg input.Narrow {
		width: 10vw;
	}


@media only screen and (max-width: 412px) {
	table.EventReg th {
		font-size: 12px;
	}

	table.EventReg td {
		font-size: 8px;
	}

	table.EventReg select {
		width: 80px;
		font-size: 9px;
	}

	table.EventReg select.Narrow {
		width: 60px;
	}

	table.EventReg input {
		width: 80px;
		font-size: 9px;
	}

	table.EventReg input.wide {
		width: 160px;
	}
	table.EventReg input.Narrow {
		width: 60px;
	}

}

@media only screen and (min-width:413px) and (max-width: 500px) {
	table.EventReg th {
		font-size: 14px;
		width: 80px;
	}

	table.EventReg td {
		font-size: 10px;
	}

	table.EventReg select {
		width: 140px;
		font-size: 12px;
	}

	table.EventReg select.Narrow {
		width: 70px;
	}

	table.EventReg input {
		width: 120px;
		font-size: 12px;
	}

		table.EventReg input.wide {
			width: 240px;
		}
		table.EventReg input.Narrow {
			width: 70px;
		}

}

@media only screen and (min-width:501px) and (max-width: 990px) {
	table.EventReg th {
		font-size: 16px;
		width: 100px;
	}

	table.EventReg td {
		font-size: 12px;
	}

	table.EventReg select {
		width: 180px;
		font-size: 14px;
	}

		table.EventReg select.Narrow {
			width: 80px;
		}

	table.EventReg input {
		width: 140px;
		font-size: 14px;
	}

		table.EventReg input.wide {
			width: 280px;
		}
		table.EventReg input.Narrow {
			width: 80px;
		}
}

@media only screen and (min-width: 991px) {
	table.EventReg th {
		font-size: 18px;
		width: 120px;
	}

	table.EventReg td {
		font-size: 14px;
	}

	table.EventReg select {
		width: 220px;
		font-size: 16px;
	}

		table.EventReg select.Narrow {
			width: 100px;
		}

	table.EventReg input {
		width: 160px;
		font-size: 16px;
	}

		table.EventReg input.wide {
			width: 320px;
		}
		table.EventReg input.Narrow {
			width: 100px;
		}
}
/* TABLE - Edit forms
----------------------------------------------------------*/
table.Edit {
	border: solid 1px #e8eef4;
	font-size: 12px;
}

		table.Edit tr {
			height: inherit;
			line-height: 20px;
		}

		table.Edit td {
			padding: 2px 2px 2px 2px;
			border: solid 1px #e8eef4;
			font-family: Arial;
		}

		table.Edit th {
			padding: 2px 2px 2px 2px;
			text-align: center;
			color: Black;
			border: solid 1px #e8eef4;
			font-size: 14px;
			font-family: Arial;
		}

	table.Edit th.Right {
		text-align: right;
		color: Black;
	}

	/* TABLE - Selection Grid
----------------------------------------------------------*/

	table.Selection {
		border: solid 1px #0062cc;
		font-size: 12px;
	}

		table.Selection tr {
			height: inherit;
			line-height: 16px;
		}

		table.Selection.Center td {
			text-align: center;
		}

		table.Selection td {
			padding: 2px 4px 2px 4px;
			border: solid 1px #0062cc;
			font-size: inherit;
			font-family: Arial;
		}

		table.Selection tr:hover {
			background-color: Gray;
			color: White;
		}

		table.Selection tr.Selected {
			background-color: lightblue;
			color: black;
		}

		table.Selection th {
			padding: 2px 2px 2px 2px;
			text-align: center;
			color: white;
			background-color: cornflowerblue;
			border: solid 1px #0062cc;
			font-size: 1.0em;
			font-family: Arial;
			font-weight: normal;
		}

		table.Selection thead.larger th {
			font-size: 1.4em;
		}

		table.Selection thead.green th {
			color: darkgreen;
			background-color: lightgreen;
		}

	/* TABLE - Selection Header (Tournament/Event/Division)
----------------------------------------------------------*/

	table.SelectionHeader {
		border: solid 1px #0062cc;
		font-size: 12px;
	}

		table.SelectionHeader tr {
			height: inherit;
			line-height: 16px;
		}

		table.SelectionHeader td {
			padding: 2px 4px 2px 4px;
			border: solid 1px #0062cc;
			font-size: inherit;
			font-family: Arial;
		}

		table.SelectionHeader th {
			padding: 2px 2px 2px 2px;
			text-align: center;
			color: white;
			background-color: cornflowerblue;
			border: solid 1px #0062cc;
			font-size: 1.0em;
			font-family: Arial;
			font-weight: normal;
		}

		table.SelectionHeader thead.larger th {
			font-size: 1.4em;
		}

		table.SelectionHeader thead.green th {
			color: darkgreen;
			background-color: lightgreen;
		}
/* DIV - FargoRate Hover display
----------------------------------------------------------*/
div.FargoHover {
    margin-top: 2px;
    text-align: left;
    position: fixed;
    z-index: 200;
    opacity: 1.0;
    padding: 5px;
    border: 2px solid red;
    background-color: #eceadf;
    color: black;
}
div.FargoHover table tbody tr td
{
    padding:3px;

}

.FargoRate {

    font-weight: bold;
    text-align: center;
    width: 50px !important;
    margin: 5px;
}
/* DIV - PostalCode
----------------------------------------------------------*/

.PostalState {
    text-align: left;
    width: 120px !important;
    margin: 3px;
}

.PostalCity {
    text-align: left;
    width: 140px !important;
    margin: 3px;
}

.PostalCode {
    text-align: center;
    width: 80px !important;
    margin: 3px;
}


    /* TABLE - Score Sheets
----------------------------------------------------------*/

    .ScoreSheet {
        border: solid 1px #e8eef4;
        font-size: 1.0em;
        margin: 5px;
    }

        .ScoreSheet tr {
            height: auto;
        }

        .ScoreSheet th {
            padding: 2px 2px 2px 2px;
            text-align: center;
            border: solid 1px black;
            font-size: 1.0em;
        }

        .ScoreSheet td {
            padding: 2px 2px 2px 2px;
            text-align: center;
            border: solid 1px black;
            font-size: 0.9em;
        }

            .ScoreSheet td.Team {
                text-align: left;
            }

            .ScoreSheet td.Scored {
                text-align: center;
                font-weight: bold;
                background-color: whitesmoke;
            }

            .ScoreSheet td.ScoreError {
                text-align: center;
                cursor: pointer;
                background-color: red;
                color: white;
            }

        .ScoreSheet .ScoreBreak {
            border-top: 2px solid darkred;
            border-right: 2px solid darkred;
        }

        .ScoreSheet .NotUsed {
            background-color: darkgray;
            color: darkgray;
        }

        .ScoreSheet .NotScored {
            background-color: white;
            font-size: 0.9em;
            font-weight: 100;
            text-align: center;
            min-width: 1.0em;
        }

        .ScoreSheet .UnScore {
            padding: 4px 4px 4px 10px;
            text-align: center;
            cursor: pointer;
            background-color: lightgray;
        }

            .ScoreSheet .UnScore:hover {
                background-color: darkgray;
                color: white;
            }

        .ScoreSheet .RowTotal {
            color: red;
            font-weight: bold;
            text-align: center;
        }

        .ScoreSheet .TopBreak {
            padding: 4px 4px 4px 10px;
            font-style: italic;
            text-align: left;
        }

        .ScoreSheet .BottomBreak {
            padding: 4px 10px 4px 4px;
            font-style: italic;
            text-align: right;
        }

        .ScoreSheet select {
            font-size: clamp(7px, 1.2vw, 16px);
            font-family: Arial;
            padding: 2px 5px;
            min-width: 100px;
        }

        .ScoreSheet .Select2 {
            font-size: clamp(12px, 1vw, 24px);
            font-family: Arial;
        }

        .ScoreSheet input {
            height: 20px;
            width: 25px;
            text-align: center;
        }

        .ScoreSheet .Heading {
            font-size: clamp(16px,1.2em,30px);
            font-weight: bold;
        }

        .ScoreSheet .Large {
            font-size: clamp(14px,0.8em,24px);
        }

        .ScoreSheet .Normal {
            font-size: clamp(12px,0.5em,24px);
        }

        .ScoreSheet .Small {
            font-size: clamp(10px,0.5em,18px);
        }
        /*	.ScoreSheet td, th {
		font-size: .6em;
	} */
        .ScoreSheet input[type='button'] {
            width: auto;
            height: auto;
            padding: 4px;
            border-radius: 4px;
            font-size: 1.0em;
            background-color: #726b5a;
            color: white;
        }

        .ScoreSheet button {
            cursor: pointer;
            text-align: center;
            background-color: #726b5a;
            color: white;
            border-radius: 5px;
            font-size: clamp(10px,0.6em,20px);
        }

            .ScoreSheet button.StartMatch {
                background-color: gray;
                color: lightgray;
                cursor: none;
                font-size: clamp(18px, 2.5vw, 32px) !important;
                font-family: Arial;
                padding: 2px 5px;
            }

            .ScoreSheet button.StartReady {
                font-size: clamp(18px, 2.5vw, 32px) !important;
                color: white;
                cursor: pointer;
            }

        .ScoreSheet th.CellHeader {
            height: 20px;
            padding: 0;
            background-color: whitesmoke;
        }

        .ScoreSheet th.CellFooter {
            height: 20px;
            padding: 0;
            background-color: whitesmoke;
        }

        .ScoreSheet tr.RowFooter {
            height: 1.0em;
        }


    /*}

@media only screen and (min-width:412px) and (max-width: 600px) {
	.ScoreSheet .Heading {
		font-size: .9em;
	}

	.ScoreSheet .Large {
		font-size: .8em;
	}

	.ScoreSheet .Normal {
		font-size: .7em;
	}

	.ScoreSheet td, th {
		font-size: .7em;
	}

	.ScoreSheet input {
		width: 25px;
		height: 25px;
	}

	.ScoreSheet th.CellHeader {
		height: 25px;
	}

	.ScoreSheet th.CellFooter {
		height: 9px;
		padding:0;
	}

	.ScoreSheet tr.RowFooter {
		height: 10px;
	}

	.ScoreSheet .Small {
		font-size: .5em;
	}

	.ScoreSheet select {
		font-size: 1.2em;
	}

	.ScoreSheet button {
		font-size: 1.2em;
	}
}

@media only screen and (min-width:601px) and (max-width: 990px) {
	.ScoreSheet .Heading {
		font-size: 1.2em;
	}

	.ScoreSheet .Large {
		font-size: 1.1em;
	}

	.ScoreSheet .Normal {
		font-size: 1.0em;
	}

	.ScoreSheet td,th {
		font-size: 1.0em;
	}

	.ScoreSheet input {
		width: 30px;
		height: 30px;
	}

	.ScoreSheet th.CellHeader {
		height: 40px;
	}

	.ScoreSheet th.CellFooter {
		height: 12px;
		padding:0;
	}

	.ScoreSheet tr.RowFooter {
		height: 16px;
	}

	.ScoreSheet .Small {
		font-size: .6em;
	}

	.ScoreSheet select {
		font-size: 1.3em;
	}

	.ScoreSheet button {
		font-size: 1.3em;
	}
}

@media only screen and (min-width:991px) {
	.ScoreSheet .Heading {
		font-size: 1.4em;
	}

	.ScoreSheet .Large {
		font-size: 1.1em;
	}
	.ScoreSheet .Small {
		font-size: .7em;
	}

	.ScoreSheet .Normal {
		font-size: 1.2em;
	}

	.ScoreSheet td,th {
		font-size: 1.2em;
	}

	.ScoreSheet input {
		width: 35px;
		height: 35px;
	}

	.ScoreSheet th.CellHeader {
		height: 50px;
	}

	.ScoreSheet th.CellFooter {
		height: 18px;
		padding:0;
	}

	.ScoreSheet tr.RowFooter {
		height: 22px;
	}


	.ScoreSheet select {
		font-size: 1.4em;
	}

	.ScoreSheet button {
		font-size: 1.4em;
	}
}
*/
    .ScoringError {
        margin: 5px 0 0 5px;
        padding: 3px;
        color: white;
        background-color: orangered;
        font-size: 16px;
        font-weight: bolder;
        font-family: Arial;
    }
    /* TABLE - Roster
----------------------------------------------------------*/

    table.Roster {
        border: solid 1px #e8eef4;
        width: 100%;
    }

        table.Roster tr {
            height: 16px;
        }

        table.Roster td {
            padding: 4px 4px 4px 4px;
            border: solid 1px black;
            font-size: 14px;
            font-family: Arial;
            text-align: center;
        }

        table.Roster th {
            padding: 5px 5px 5px 5px;
            text-align: center;
            background-color: ivory;
            color: Black;
            border: solid 1px black;
            font-size: 16px;
            font-family: Arial;
        }

    /* Player Selector styles
----------------------------------------------------------*/
    .PlayerSelector {
        border: 2px solid black;
        background-color: ivory;
        padding: 5px;
        font-size: 1.1em;
        font-family: Arial;
    }

        .PlayerSelector .Header {
            background-color: lightblue;
            border: 2px solid darkblue;
            padding-left: 5px;
            font-size: 1.1em;
            font-family: 'Arial Rounded MT';
        }

        .PlayerSelector .InputRow {
            margin: 5px 0 5px 0;
            padding: 3px 3px 3px 5px;
            font-size: 1.0em;
            font-family: 'Arial Rounded MT';
            height: 35px;
            white-space: nowrap;
        }

        .PlayerSelector .Input {
            margin: 5px 0 5px 0;
            padding: 3px 3px 3px 5px;
            font-size: 14px;
            font-family: Arial;
            white-space: nowrap;
        }

        .PlayerSelector .btn {
            margin: 3px 5px 0 0;
            padding: 2px;
            font-size: 12px;
            font-family: Arial;
            float: left;
            height: 25px;
        }



    /* Styles for validation helpers
-----------------------------------------------------------*/

    .field-validation-error {
        color: #ff0000;
        float: right;
        padding-left: 2em;
        clear: both;
    }

    .field-validation-valid {
        display: none;
        float: right;
    }

    .input-validation-error {
        border: 1px solid #ff0000;
        background-color: #ffeeee;
    }

    .validation-summary-errors {
        font-weight: bold;
        color: #ff0000;
    }

    .validation-summary-valid {
        display: none;
    }

    /* Styles for editor and display helpers
----------------------------------------------------------
    Margin and Padding field order top right bottom left
*/

    label {
        display: inherit;
        margin-bottom: 2px;
    }

    .editor-field-right {
        margin: 3px 10px 3px 0;
        float: right;
        clear: right;
        font-family: Arial;
        font-size: 14px;
    }

    .checkbox-field {
        margin: 8px 0 30px 2px;
        float: left;
        clear: right;
        font-family: Arial;
        font-size: 14px;
    }


    .text-box {
        height: inherit;
    }

        .text-box.multi-line {
            height: 6.5em;
        }

    .tri-state {
        width: 6em;
    }

    .text-box.single-line.numeric-int {
        border: 1px solid #ccc;
        padding: 2px;
        font-size: 12px;
        color: #444;
    }

    /*
label.error {
    float: right;
    color: #ff0000;
    padding-left: 1em;
    vertical-align: top;
}
*/

    label.error {
        color: #ff0000;
        vertical-align: top;
    }

    /*
    Added from Stackoverflow to allow for submenus
    Bootstrap 4 drop down on hover and sub menus
*/

    .dropdown-submenu {
        position: relative;
    }

        .dropdown-submenu a::after {
            transform: rotate(-90deg);
            position: absolute;
            right: 6px;
            top: .8em;
        }

        .dropdown-submenu .dropdown-menu {
            top: 0;
            left: 100%;
            margin-left: .1rem;
            margin-right: .1rem;
        }

    /*
.sidebar-nav {
    padding: 9px 0;
}

.dropdown-menu .sub-menu {
    left: 100%;
    position: absolute;
    top: 0;
    visibility: hidden;
    margin-top: -1px;
}

.dropdown-menu li:hover .sub-menu {
    visibility: visible;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.nav-tabs .dropdown-menu,
.nav-pills .dropdown-menu,
.navbar .dropdown-menu {
    margin-top: 0;
}

.navbar .sub-menu:before {
    border-bottom: 7px solid transparent;
    border-left: none;
    border-right: 7px solid rgba(0, 0, 0, 0.2);
    border-top: 7px solid transparent;
    left: -7px;
    top: 10px;
}

.navbar .sub-menu:after {
    border-top: 6px solid transparent;
    border-left: none;
    border-right: 6px solid #fff;
    border-bottom: 6px solid transparent;
    left: 10px;
    top: 11px;
    left: -6px;
}
*/

    /*
.ui-state-default .ui-icon {
    background-image: url("~/Content/themes/base/images/ui-icons_888888_256x240.png");
}
*/
    /*
	Style for the City selection from the zip code table
*/
    .citySelect {
        background-color: lightgray;
        color: blue;
        font-size: 14px;
        width: 100%;
        padding: 5px;
        border: 2px darkgreen solid;
    }

        .citySelect div {
            font-size: 14px;
            width: 100%;
            padding: 2px 10px 2px 5px;
            border-top: 1px green dotted;
            border-left: 1px green dotted;
            border-right: 1px green dotted;
        }

            div.select,
            .citySelect div:hover {
                color: black;
                text-decoration: none;
                background-color: white;
            }

    /*
	Basic popup dialog
	https://www.w3schools.com/howto/howto_css_modals.asp	
*/
    .MPA-modal {
        display: none; /* Hidden by default */
        position: absolute;
        top: 10px;
        left: 100px;
        min-width: 200px;
        width: auto; /* Full width */
        height: auto; /* Full height */
        overflow: auto; /* Enable scroll if needed */
        background-color: darkgray;
        color: white;
    }

    /* Modal Header */
    .MPA-modal-header {
        padding: 2px 16px;
        background-color: #5cb85c;
        color: white;
    }

    /* Modal Body */
    .MPA-modal-body {
        color: darkgreen;
        padding: 2px 16px;
    }

    /* Modal Footer */
    .MPA-modal-footer {
        padding: 2px 16px;
        background-color: #5cb85c;
        color: white;
    }

    /* Modal Content */
    .MPA-modal-content {
        position: relative;
        background-color: #fefefe;
        margin: auto;
        padding: 0;
        border: 1px solid #888;
        width: 100%;
    }
    /* The Close Button */
    .MPA-close {
        color: white;
        float: right;
        font-size: 28px;
        font-weight: bold;
    }

        .MPA-close:hover,
        .MPA-close:focus {
            color: #000;
            text-decoration: none;
            cursor: pointer;
        }
    /*
	Alternative to FieldSet and legend
	fieldset do not resize well, a div implementation will work better
*/
    div.DivFS {
        display: inline-block;
        border: solid 2px lightgray;
        width: auto;
        margin: 15px 10px 5px 5px;
        padding: 5px;
    }

        div.DivFS .Legend {
            margin-top: -22px;
            padding: 5px;
            background: white;
            width: 25vw;
            min-width: 250px;
            max-width: 350px;
        }

    div.fs {
        display: inline-block;
        padding: 5px;
        margin-top: 4px;
        vertical-align: top;
        border: solid 1px #cdc9b1;
        border-radius: 5px 5px 5px 5px;
    }

        div.fs fieldset {
            padding: 5px;
        }
