@font-face {
    /*
    font-family: "bridge";
    src: url("BridgeTypeRegular.woff") format('woff');
    */
    font-family: "NexaBold";
    src: url("NexaBold.woff") format('woff');
	font-style: normal;
    font-weight: normal;
}

body
{
  font-family: NexaBold;
  background-color: DarkSlateGrey;
  color: White;
  padding: 0;
  margin: 0;
}

a
{
	color: White;
	text-decoration: none;
}

a:hover
{
	text-decoration: underline;
}

a:active
{
	text-decoration: underline;
}

#clock{
	font-family: NexaBold;
	font-size: 16px;
	font-weight: normal;
}

.group
{
  width:1200px;
  float:left;
  margin: 5px;
  font-size: 1.4em;
}

.group table
{
	border-collapse: collapse;
}

.group th
{
	background: DarkCyan;
	color: White;
}

.gtab tr:nth-child(2n+3)
{
	background: #1e3e3e;
}

.gfix tr:nth-child(3)
{
	background: #1e3e3e;
}

.gfix tr:nth-child(4)
{
	background: #1e3e3e;
}

.container
{
    text-align:center;
}

.wrapper
{
   margin: auto;
   display:inline-block;
}

.header
{
  width: 600px;
  height:133px;
  vertical-align:center;
  padding:25px 210px 0px;
  margin: 5px;
}

.submissions
{
  background-color: White;
  color: DarkCyan;
  padding: 5px;
}

.submissions input[type=submit]{
	background-color: DarkSlateGrey;
	color: White;
	font-family: NexaBold;
    	font-size: 20px;
    	font-weight: bold;
	border-radius: 5px;
	margin-left: 200px;
}

.submissions input[type=submit]:hover{
	color: DarkSlateGrey;
	background-color: White;
}

.submissions h2 {
	text-align:center;
}

.homescores{
	display:block;
	float:left;
	width:200px;
	text-align:right;
}

.scores{
	display:block;
	float:left;
	width:30px;
	margin-left:10px;
	margin-right:10px;
}

.awayscores {
	display:block;
	float:left;
	width:200px;
	text-align:left;
}

.scoreboard input[type=text]{
	width: 95%;
	height: auto;
	margin: 10px;
	padding: 10px;
	background-color: White;
	color: DarkCyan;
	border: 0px;
	border-radius: 5px;
	font-family: NexaBold;
	font-size: 1.4em;
	font-weight: normal;
}

.footermenu {
	text-align: center;
	background-color: DarkSlateGrey;
	color: White;
}

.footermenu ul{
	list-style-type: none;
}

.profile {
	text-align: center;
}

.profile input[type=submit]{
	background-color: White;
	color: DarkCyan;
	font-family: NexaBold;
    	font-size: 20px;
    	font-weight: bold;
	border-radius: 5px;
}

.profile input[type=submit]:hover{
	color: White;
	background-color: DarkSlateGrey;
}

.profile input[type=password], input[type=text]{
	background-color: LightBlue;
	color: DarkSlateGrey;
	font-family: NexaBold;
	border-radius: 5px;
}

.error{
	text-align: center;
	color: White;
    text-shadow: -1px 0 DarkCyan, 0 1px DarkCyan, 1px 0 DarkCyan, 0 -1px DarkCyan;
	font-family: NexaBold;
	font-size: 20px;
	font-weight: normal;
}

/* Modal Styles */
.modalDialog {
	position: fixed;
	font-family: NexaBold;
	font-size: 0.9em;
  color: Black;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0,0,0,0.8);
	z-index: 99999;
	opacity:0;
	-webkit-transition: opacity 400ms ease-in;
	-moz-transition: opacity 400ms ease-in;
	transition: opacity 400ms ease-in;
	pointer-events: none;
}

.modalDialog:target {
	opacity:1;
	pointer-events: auto;
}

.modalDialog > div {
	width: 90%;
	position: relative;
	margin: 10% auto;
	padding: 5px 20px 13px 20px;
	border-radius: 10px;
	background: White;
	background: -moz-linear-gradient(White, DarkSlateGrey);
	background: -webkit-linear-gradient(White, DarkSlateGrey);
	background: -o-linear-gradient(White, DarkSlateGrey);
}

.modalDialog th
{
	font-weight: normal;
}

.modalDialog td
{
	text-align: center;
}

.close {
	background: DarkSlateGrey;
	color: White;
	line-height: 25px;
	position: absolute;
	right: -12px;
	text-align: center;
	top: -10px;
	width: 24px;
	text-decoration: none;
	font-weight: bold;
	-webkit-border-radius: 12px;
	-moz-border-radius: 12px;
	border-radius: 12px;
	-moz-box-shadow: 1px 1px 3px #000;
	-webkit-box-shadow: 1px 1px 3px #000;
	box-shadow: 1px 1px 3px #000;
}

.close:hover { background: gold; }
