/* https://css-tricks.com/books/volume-i/scale-typography-screen-size/ */

a:link { color: blue; text-decoration: underline }
a:visited { color: brown; text-decoration: none }
a:active { color: red; text-decoration: none }
a:hover { color: green; text-decoration: underline }

#banner a:link { color: inherit; text-decoration: none }
#banner a:visited { color: inherit; text-decoration: none }
#banner a:active { color: inherit; text-decoration: none }
#banner a:hover { color: green; text-decoration: none }

body {
  margin: 0;
  padding: 0;
  color: black;
  font-family: Arial, Helvetica, Verdana, sans-serif;
  font-size: 12pt;
  background-color: white;
}

#large_print {
  font-size: calc(16px + (26 - 16) * ((100vw - 300px) / (1600 - 300)));
  line-height: calc(1.3em + (1.5 - 1.2) * ((100vw - 300px)/(1600 - 300)));
}
#large_print input {
  font-size: calc(16px + (26 - 16) * ((100vw - 300px) / (1600 - 300)));
  line-height: calc(1.3em + (1.5 - 1.2) * ((100vw - 300px)/(1600 - 300)));
}

p {
  line-height: 1.25;
}

#wrapper {
  color: black;
  margin: 0px 10px 5px 10px;
  padding: 0px 10px 10px 10px;
  background-color: white;
  min-width: 300px;
  max-width: 1100px;
}

/* Top Right Bottom Left */
#banner {
  margin: 10px 0px 10px 10px;
}    

#main {
  position: relative;
  top:0;
  left:  0;
  width: 100%;
  margin-top: 10px;
}

#content {
  margin: 0 0 0 0;
  /*border: 1px solid #b9d2e3;*/
  background-color: white;
  color: black;
}
#content .inner {
  margin: 0px 0px 0px 0px;
}
#content .inner h2 {
  color: #565656;
  padding-bottom: 0.2em;
  /*border-bottom: 1px solid #b9d2e3;*/
  /*font-size: 110%;*/
}
#content .inner h3 {
  color: #565656;
  padding-bottom: 0.2em;
  /*border-bottom: 1px solid #b9d2e3;
  font-size: 90%;*/
}

.btn_menu {
  background: none;
  border: none;
  color: #000;
  text-decoration: none;
  cursor: pointer;
  padding: 0;
}

#cssmenu > ul > li > form > input {
  background: none;
  color: #ffffff;
  font-size: 12px;
  margin: 0 0 2px 0;
  padding: 6px 10px;
  font-weight: bold;
  display: block;
  line-height: 1.5;
  cursor: pointer;
}

.contact_table {
	border-collapse: collapse;
	text-align: left;
}

.contact_table th {
  padding: 10px 8px;
  border-bottom: 2px solid;
  background-color:#eee;
  color: #666666;
  text-align: left;
}

.contact_table td {
	padding-left: 7px;
	padding-right: 7px;
	padding-top: 5px;
	padding-bottom: 5px;
}
#contact tr {
	border-bottom: 1px solid;
}

.statistic_highlight {
     background-color: yellow !important;
}


.d00 {
	background-color: #CCEBF5;
}
.d11 {
	background-color: #E0D1B2;
}

.team_open {
  text-align: right;
}
.team_scores {
  text-align: right;
}

.scores_total {
  font-weight: bold;
}
.round_winner {
  color: green;
}
.round_loser {
  color: red;
}

.zebra {
  background-color: #E0D1B2;
}

tr:nth-child(even).zebra {
  background-color: #CCEBF5;
}

tr.d0 td {
	background-color: #CCEBF5;
}
tr.d1 td {
	background-color: #E0D1B2;
}


/* Style the submit button */
.close_game input[type=submit] {
  background-color: #B22222;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  float: left;
}

/* Style the submit button */
.cancel_button input[type=submit] {
  background-color: #808080;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}


.close_game_notify {
  font-size: 120%;
  font-weight: bold;
  color: blue;
}

.games_played {
  color: green;
  font-weight: bold;
}

.team_1_form {
  color: green;
}
.team_2_form {
  color: blue;
}

/* This is for responsive forms */

/* Style inputs, select elements and textareas */
#respform input[type=text], input[type=password], select, textarea, checkbox{
  width: 100%;
  padding: 6px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  resize: vertical;
}
#respform .col-75_disp_only input[type=text], input[type=password], select, checkbox{
  color: green;
  font-weight: bold;
}

/* Style the label to display next to the inputs */
#respform label {
  padding: 6px 12px 6px 0;
  display: inline-block;
}
#respform .col-25_disp_only label {
  color: green;
  font-weight: bold;
}

/* Style the submit button */
#respform input[type=submit] {
  background-color: #4CAF50;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  float: left;
}

/* Style the container */
.formcontainer {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
}

/* Floating column for labels: 25% width */
.col-25 {
  float: left;
  width: 40%;
  margin-top: 6px;
}

/* Floating column for inputs: 75% width */
.col-75 {
  float: left;
  width: 60%;
  margin-top: 6px;
}

/* Floating column for labels: 25% width */
.col-25_disp_only {
  float: left;
  width: 40%;
  margin-top: 6px;
}

/* Floating column for inputs: 75% width */
.col-75_disp_only {
  float: left;
  margin-top: 6px;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

/* Responsive layout - when the screen is less than 600px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .col-25, .col-75, .col-25_disp_only, .col-75_disp_only, #respform input[type=submit] {
    margin-top: 0;
    width: 100%;
  }
}

/* I had intended to keep all hints hidden until focus was on the field, but that caused a problem whereby the submit key moved and could not be clicked (click at the very top of button OK) */
/* This was  display: none;  I'll just display all hints in the interium until a solution is found.*/
div.forminfo {
    display: block;
    /* Make sure the forminfo element is initially hidden */
    color: #777;
    font-size: 90%;
    margin: 2px 0;
    margin-left: 1em;
    margin-right: 1em;
}
div.forminfo_always {
    color: #777;
    font-size: 90%;
    margin: 2px 0;
    margin-left: 1em;
    margin-right: 1em;
}
 
input:focus + div.forminfo {
    /* This selector selects the div.forminfo that comes right after
       the focused input */
    display:block;
   /* Make the element visible */
}    

textarea:focus + div.forminfo {
    /* This selector selects the div.forminfo that comes right after
       the focused input */
    display:block;
   /* Make the element visible */
}    

/* This is for the please wait screen while loading lots of data */

.no-js #loader { display: none;  }
.js #loader { display: block; position: absolute; left: 100px; top: 0; }
.se-pre-con {
	position: fixed;
	left: 0px;
	top: 0px;
	width: 100%;
	height: 100%;
	z-index: 9999;
	background: url(images/preloader.gif) center no-repeat #fff;
}
