body
{
  background-color: #505050;
  font-family: "arial";
  padding: 10px;
}

a {
  text-decoration: none;
	color: #0000ff;
}

a:hover {
  color: #ff0000;
}


.headerleft {
	float: left;
	width: 200px;
	font-weight: 400;
}

.headervalue {
	float: left;
	font-weight: 700;
}

.headerright {
	clear: both;
	font-weight: 700;
}



.maintable {
	cellspacing: 0; 
	cellpadding: 0; 
	rules: rows;
	bordercolor: #E7E7FF;
	border: 1;
	bgcolor: white;
	width: 100%;
}

.evenline {
	    background-color: #e4e4e8;
}

.oddline {
   background-color: #eff1f1;
}

.eventd {
	    background-color: #d4e4d8;
}

.oddtd {
   background-color: #dff1e1;
}


.maintablex tbody tr:nth-child(even) {
      background-color: #e4e4e8;
}

.maintablex tbody tr:nth-child(odd) {
   background-color: #eff1f1;
}

.mainhead {
	color: #f7f7f7;
	background-color: #4A3C8C;
}

.mainres {
	padding: 10px;
	text-align: left;
}

 
.tbtable {
	text-align: center;
	font-size : x-small;
} 
 
.groups {
	padding: 10px;
	text-align: center;
    font-family: Comic Sans MS;
}

.board {
	text-align: center;
	font-weight: 700;
}

.sort {
	text-align: center;
	font-weight: 700;
	color: #007000;
}


.wpno, .bpno, .rank {
	text-align: right;
	width: 56px;
}

.wpno, .bpno, .rank2 {
	text-align: center;
	width: 60px;
}

.player, .wplayer, .bplayer, .bres, .label {
	text-align: left;
}

.wres {
	text-align: right;
}

.game {
	font-family: monospace;
}



body
{
  background-color: #505050;
  font-family: "arial";
  padding: 10px;
}

input, label {
  padding: 12px 0px 12px 4px;
  font-weight: bold;
  color: #2C3480;
}

select {
  padding: 12px 0px 12px 4px;
  color: #2C3480;
}

/* 
  Page is the entire page. 
  It has two childs, mainmenu and mainpane
*/

.page
{
  xwidth: 1160px;
  height: auto;
  padding: 0px;
  margin: 0px;
  border: none;
  border-color:#EEEE00;
  //background-color: yellow;
  background-color: #505050;
}

.mainmenu
{
  text-align: center;
  float: left;
  width: 160px;
  XXheight: 860px;
  height: 100%;
  background-color: #2C3480;
  padding: 0px;
  margin: 0px;
  border-width: 0;
  border: none;
  border-color:#00EE00;
}

.mainpane
{
  text-align: center;
  width: 100%;
  height: auto;
  padding: 10px;
  margin: 0px;
  //background-color:red;
     background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#c0c0e0), to(#ffffff));
   background-image: -webkit-linear-gradient(top, #c0c0e0, #ffffff); 
   background-image:    -moz-linear-gradient(top, #c0c0e0, #ffffff);
   background-image:     -ms-linear-gradient(top, #c0c0e0, #ffffff);
   background-image:      -o-linear-gradient(top, #c0c0e0, #ffffff);
   filter : progid:DXImageTransform.Microsoft.gradient(startColorstr='#c0c0e0', endColorstr='#ffffff');

  border: none;
  border-color:#00E0E0;
}

.legend
{
  text-align: left;
  width: auto;
  height: auto;
  padding: 10px;
  margin: 0px;
  //background-color:red;
     background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#c0c0e0), to(#ffffff));
   background-image: -webkit-linear-gradient(top, #c0c0e0, #ffffff); 
   background-image:    -moz-linear-gradient(top, #c0c0e0, #ffffff);
   background-image:     -ms-linear-gradient(top, #c0c0e0, #ffffff);
   background-image:      -o-linear-gradient(top, #c0c0e0, #ffffff);
   filter : progid:DXImageTransform.Microsoft.gradient(startColorstr='#c0c0e0', endColorstr='#ffffff');

  border: none;
  border-color:#00E0E0;
}



.header
{
  overflow: auto;
  width: auto;
  background-color: #D9D8E7;
  border: none;
  border-color:#0000EE;
  padding: 0px;
  margin: 0px;
}

.tbsdoc
{
	text-align: left;
  overflow: auto;
  width: auto;
  background-color: #D9D8E7;
  border: none;
  border-color:#0000EE;
  padding: 0px;
  margin: 0px;
}


.header-text
{
  text-align: center;
  width: 100%;
  padding: 5px;
  font-weight: 1000;
  font-size: 18px;
  background-color: #C9C8D7;
} 

.header-left
{
  float:left;
  text-align: center;
  width: 300px;
  background-color: #D9D8E7;
  padding-top: 10px;
}

.header-middle
{
  float:left;
  text-align:center;
  color: #003F00; 
  padding: 10px 30px 0px 30px;
 }

.header-right { 
  float: left;
  text-align:center;
  overflow: auto;
  width: auto;
  color: #003F00; 
  padding: 10px 30px 0px 30px;
  font-weight: bold;
  font-size: 20px;
 }

.header-update { 
  text-align: right;   
  padding: 30px 30px 0px 30px;
  display: none;
  
 }

.filename {
  font-weight: bold;
}

.messages {
  text-align: left;
}


.submenu
{
  text-align: center;
  float: left;
  width: 140px;
  height: 666px;
  padding: 0;
  background-color: #B0B0E0;
  
  border: none;
  border-color:#0000EE;
}


.main
{
  text-align: left;
  float: left;
  padding: 10px 10px 10px 10px;
  xwidth: 840px;
  height: auto;
   background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#c0c0e0), to(#ffffff));
   background-image: -webkit-linear-gradient(top, #c0c0e0, #ffffff); 
   background-image:    -moz-linear-gradient(top, #c0c0e0, #ffffff);
   background-image:     -ms-linear-gradient(top, #c0c0e0, #ffffff);
   background-image:      -o-linear-gradient(top, #c0c0e0, #ffffff);
   filter : progid:DXImageTransform.Microsoft.gradient(startColorstr='#c0c0e0', endColorstr='#ffffff');
  border: none;
  border-color:#EE0000;
}


.head { 
  color: #003F00; 
  padding: 6px;
  font-family: "arial";
  font-weight: bold;
  text-align: left;
  font-size: 16px;
 }

.chead { 
  color: #003F00; 
  width: 480px; 
  padding: 6px;
  font-family: "arial";
  font-weight: bold;
  text-align: center;
  font-size: 20px;
 }

.dhead { 
  color: #003F00; 
  width: 380px; 
  padding: 6px;
  font-family: "arial";
  font-weight: bold;
  text-align: center;
  font-size: 20px;
 }



.shead { 
  color: #0000c0; 
 }

.cbutton { 
  text-align: center;   
  padding: 20px;
 }

.rbutton { 
  text-align: right;   
  padding: 20px;
 }
 
.rtbutton { 
  text-align: right;   
  padding: 0px 20px 0px 0px;
 }

.ributton { 
  text-align: right;   
  padding: 30px 20px 0px 0px ;
 }

 
.submit { 
  width:140px;
  height:52px; 
  color: #2C3480;
  font-weight:bold;
    
}

.submits { 
  width:30px;
  height:30px; 
  color: #2C3480;
  font-weight:bold;
  font-size: 24px
  text-align: center;
  
}

.submitw { 
  width:180px;
  height:52px; 
  color: #2C3480;
  font-weight:bold;
}

.submitdisabled { 
  width:140px;
  height:52px; 
  background-color: #BBAAAA;
  font-weight:bold;
}



.submitxl { 
  width:200px;
  height:52px; 
  color: #2C3480;
  font-weight:bold;
}

.kontrollplan_header30 { 
  width:30px;
  height:20px; 
  border: none;
  margin: 0px;
  text-align: center;
  background-color: #999999;
}

.kontrollplan_header50 { 
  width:50px;
  height:20px; 
  border: none;
  margin: 0px;
  text-align: right;
  background-color: #999999;
}

.kontrollplan_header150 { 
  width:150px;
  height:20px; 
  border: none;
  margin: 0px;
  text-align: left;
  background-color: #999999;
}


.kontrollplan_header { 
  width:80px;
  height:20px; 
  border: none;
  margin: 0px;
  text-align: center;
  background-color: #999999;
}

.kontrollplan_none { 
  width:80px;
  height:20px; 
  border: none;
  padding: 3px;
  background-color: #cccccc;
}

.kontrollplan_once { 
  width:80px;
  height:20px; 
  border: none;
  padding: 3px;
  background-color: #aaccff;
}


.kontrollplan_disabled { 
  width:80px;
  height:20px; 
  border: none;
  padding: 3px;
  background-color: #ff88bb;
}

.kontrollplan_disablew { 
  width:80px;
  height:20px; 
  border: none;
  padding: 3px;
  background-colorxx: #ffbbdd;
  background-color: #ff88bb;
}


.kontrollplan_repeatd { 
  width:80px;
  height:20px; 
  border: none;
  padding: 3px;
  background-color: #bbffdd;
  background-colorxx: #ddffbb;
}

.kontrollplan_repeatw { 
  width:80px;
  height:20px; 
  border: none;
  padding: 3px;
  background-color: #bbffdd;
  background-colorxx: #ddffbb;
}

.kontrolldesc_label { 
  margin: 4px;
  padding-top: 20px;
  padding-bottom: 20px;
  height:20px; 
  border: none;
  font-weight: bold;
  text-align: center;
}


.kontrolldesc_once { 
  margin: 4px;
  border: solid;
  border-color: black;
  border-width: 1px;
  height:20px; 
  background-color: #aaccff;
  text-align: center;
}

.kontrolldesc_repeatd { 
  margin: 4px;
  border: solid;
  border-color: black;
  border-width: 1px;
  height:20px; 
  background-color: #bbffdd;
  text-align: center;
}


.kontrolldesc_repeatw { 
  margin: 4px;
  border: solid;
  border-color: black;
  border-width: 1px;
  height:20px; 
  background-color: #bbffdd;
  background-colorxx: #ddffbb;
  text-align: center;
}

.kontrolldesc_disabled { 
  margin: 4px;
  border: solid;
  border-color: black;
  border-width: 1px;
  height:20px; 
  background-colorxx: #ffbbdd;
  background-color: #ff88bb;
  text-align: center;
}


.kontrolldesc_disablew { 
  margin: 4px;
  border: solid;
  border-color: black;
  border-width: 1px;
  height:20px; 
  background-color: #ff88bb;
  text-align: center;
}


.mmenu { 
  color: #000080; 
  font-family: "arial";
  font-weight: bold;
  text-align: left;
  font-size: 12px;
  text-decoration:underline;
  cursor: "hand";
 }

.floatleft
{
  float: left;
  border: none;
  min-height: 120px;
  height: auto;
  border-color:#EE0000;
}

.floatleft0
{
  float: left;
  border: none;
  height: auto;
  border-color:#EE0000;
}


.floatleft1
{
  float: left;
  border: none;
  background-color:#b0b0b0;
  min-height: 120px;
  height: auto;
  border-color:#EE0000;
}

.floatleft2
{
  float: left;
  border: none;
  width: 20px;
  min-height: 420px;
  height: auto;
  border-color:#EE0000;
}


.clearleft
{
  clear: left;
  width: 10px;
  padding: 0px;
  border: none;
  border-color:#EEEE00;
}


.test
{
  border: solid;
  border-color:#00EE00;
}

.test2
{
  border: solid;
  border-color:#0000EE;
}

.messnor { 
  font-weight: normal;
 }

.messupd { 
  font-weight: bold;
 }

.blankbox
{
  float: left;
  text-align: center;
  margin: 1px 1px 0px 0px;
  border: none;
  border-color: black;
  border-width: 1px;
  height: 24px;
  width: 24px;
}

.greenbox
{
  float: left;
  margin: 1px 1px 0px 0px;
  border: none;
  border-color: black;
  border-width: 1px;
  height: 24px;
  width: 24px;
  background-color:green;
}

.redbox
{
  float: left;
  margin: 1px 1px 0px 0px;
  border: none;
  border-color: black;
  border-width: 1px;
  height: 24px;
  width: 24px;
  background-color:red;
}

.tabline
{
	vertical-align: middle;
}
	

.tableft
{
  text-align: left;
  display: inline-block;
  border:1px solid red;
  font-weight: 700;
  width: 160px;
  height: auto;
  border: none;
}

.tableft2
{
  text-align: left;
  display: inline-block;
  width: 160px;
  height: auto;
  border: none;
}


.tabcolon
{
  text-align: left;
  font-weight: 700;
  width: 50px;
  height: auto;
  border: none;
}

.tabright
{
  text-align: left;
  xwidth: 500px;
  display: inline-block;
  height: auto;
  border: none;
  margin-bottom: 4px;
}
input[type=range] {
  -webkit-appearance: none;
  margin: 10px 0;
  width: 98%;
}
input[type=range]:focus {
  outline: none;
}
input[type=range]::-webkit-slider-runnable-track {
  width: 82%;
  height: 10px;
  cursor: pointer;
  animate: 0.2s;
  box-shadow: 1px 1px 1px #000000;
  background: #3071A9;
  border-radius: 5px;
  border: 1px solid #000000;
}
input[type=range]::-webkit-slider-thumb {
  box-shadow: 1px 1px 1px #000000;
  border: 1px solid #000000;
  height: 32px;
  width: 25px;
  border-radius: 5px;
  background: #FFFFFF;
  cursor: pointer;
  -webkit-appearance: none;
  margin-top: -12px;
}
input[type=range]:focus::-webkit-slider-runnable-track {
  background: #3071A9;
}
input[type=range]::-moz-range-track {
  width: 100%;
  height: 10px;
  cursor: pointer;
  animate: 0.2s;
  box-shadow: 1px 1px 1px #000000;
  background: #3071A9;
  border-radius: 5px;
  border: 1px solid #000000;
}
input[type=range]::-moz-range-thumb {
  box-shadow: 1px 1px 1px #000000;
  border: 1px solid #000000;
  height: 32px;
  width: 15px;
  border-radius: 5px;
  background: #FFFFFF;
  cursor: pointer;
}
input[type=range]::-ms-track {
  width: 100%;
  height: 10px;
  cursor: pointer;
  animate: 0.2s;
  background: transparent;
  border-color: transparent;
  color: transparent;
}
input[type=range]::-ms-fill-lower {
  background: #3071A9;
  border: 1px solid #000000;
  border-radius: 10px;
  box-shadow: 1px 1px 1px #000000;
}
input[type=range]::-ms-fill-upper {
  background: #3071A9;
  border: 1px solid #000000;
  border-radius: 10px;
  box-shadow: 1px 1px 1px #000000;
}
input[type=range]::-ms-thumb {
  box-shadow: 1px 1px 1px #000000;
  border: 1px solid #000000;
  height: 32px;
  width: 15px;
  border-radius: 5px;
  background: #FFFFFF;
  cursor: pointer;
}
input[type=range]:focus::-ms-fill-lower {
  background: #3071A9;
}
input[type=range]:focus::-ms-fill-upper {
  background: #3071A9;
}

.radioline {
	margin: 5px 0px 5px 0px;
}

.visible
{
  display: block;
}

.hidden
{
  display: none;
}



.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.table-result, .tt {
fheader
  text-align:right; 
  width:45px; 
  font-family: monospace; 
}


.table-points {
    font-weight: bold;
    text-align: right;
    color: #002000;
    font-size: small;
    width: 40px;
}

.table-tiebreak {
    text-align: right;
    width: 40px;
    font-size: small;
}

.table-performance {
    text-align: right;
    width: 40px;
}


.white {
}

.white:after { 
  content:'\2658'; 
  margin-left:0.2em; 
  color:#333;
}

.black {
}

.black:after { 
  content:'\265E'; 
  margin-left:0.2em; 
  color:#333;
}

.win {
  color:#008000;
}

.draw {
  color:#0000c0;
}

.loss {
  color:#dc143c;
}

.wo:after {
  content:'\00a0'; 
  margin-left:0.2em; 
  color:#333;
}

.check {
	text-align: center;
  color:green;
}

.nocheck {
	text-align: center;
  color:red;
}	

.strikeout {
	Xtext-decoration-style: double;
	color: #dc143c;
}