body {
	background: linear-gradient(#e2e2e2, white);
	font-family: sans-serif;
}

input { 
    text-align: center; 
}

table.skatlist {
	/* width: 80%; */
	margin-left: auto;
	margin-right: auto;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

table.skatlist th {
	text-align: center;
	font-size: 20px;
	color: white;
	background-color: #339348;
	padding-top: 10px;
	padding-bottom: 10px;
	border-left: 3px solid #5BC674;
	border-bottom: 3px solid #5BC674;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

table.skatlist td {
	text-align: center;
	font-size: 20px;
	font-weight: bold;
	border-right: 3px solid white; 
	border-left: 3px solid #5BC674;
	border-top: 3px solid #5BC674;
	border-bottom: 3px solid white;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

tr.endrow {
	background-color: #dadada;
}

table.settings {
	margin-left: auto;
	margin-right: auto;
}

table.settings td {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
	font-size: 20px;
}

tr:hover {background-color: #f5f5f5;}



p, h1 {
	text-align: center;
}

p.errormessage {
	color: red;
	font-weight: bold;
}

/* navigation bar */

div.distance{
		padding-top: 70px;
}

div.navbar {
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	width: 74%;
	left: 13%;
	position: fixed;
}

ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #339348;
}

li {
    float: left;
}

li a, .dropbtn {
    display: inline-block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

li a:hover, .dropdown:hover .dropbtn {
    background-color: #5BC674;
}

li.dropdown {
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
	right: 0px;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
}

.dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: center;
}

.dropdown-content a:hover {background-color: #f1f1f1}

.dropdown:hover .dropdown-content {
    display: block;
}
/* navigation bar */

/* icons for game selection */
/*checkbox settings*/
label.spielauswahl{
  display: inline-block;
  position: relative;
}
label.spielauswahl> input {
    visibility: hidden;
    position: absolute;
}
/*gewonnen*/
label.spielauswahl> .check-image-gewonnen::before {
  content: url("/res/pic/icons/Check.png");
}
label.spielauswahl > input[type="checkbox"]:checked + .check-image-gewonnen::before {
  content: url("/res/pic/icons/Uncheck.png");
}
/*Schellen*/
label.spielauswahl> .radio-image-schellen::before {
  content: url("/res/pic/icons/Schellen_bw.png");
}
label.spielauswahl > input[type="radio"]:checked + .radio-image-schellen::before {
  content: url("/res/pic/icons/Schellen.png");
}
/*Rot*/
label.spielauswahl> .radio-image-rot::before {
  content: url("/res/pic/icons/Rot_bw.png");
}
label.spielauswahl > input[type="radio"]:checked + .radio-image-rot::before {
  content: url("/res/pic/icons/Rot.png");
}
/*Grün*/
label.spielauswahl> .radio-image-grün::before {
  content: url("/res/pic/icons/Grün_bw.png");
}
label.spielauswahl > input[type="radio"]:checked + .radio-image-grün::before {
  content: url("/res/pic/icons/Grün.png");
}
/*Eichel*/
label.spielauswahl> .radio-image-eichel::before {
  content: url("/res/pic/icons/Eichel_bw.png");
}
label.spielauswahl > input[type="radio"]:checked + .radio-image-eichel::before {
  content: url("/res/pic/icons/Eichel.png");
}
/*Null*/
label.spielauswahl> .radio-image-null::before {
  content: url("/res/pic/icons/Null_bw.png");
}
label.spielauswahl > input[type="radio"]:checked + .radio-image-null::before {
  content: url("/res/pic/icons/Null.png");
}
/*Grand*/
label.spielauswahl> .radio-image-grand::before {
  content: url("/res/pic/icons/Grand_bw.png");
}
label.spielauswahl > input[type="radio"]:checked + .radio-image-grand::before {
  content: url("/res/pic/icons/Grand.png");
}
/*Hand*/
label.spielauswahl> .check-image-hand::before {
  content: url("/res/pic/icons/Hand_bw.png");
}
label.spielauswahl > input[type="checkbox"]:checked + .check-image-hand::before {
  content: url("/res/pic/icons/Hand.png");
}
/*Schneider*/
label.spielauswahl> .check-image-schneider::before {
  content: url("/res/pic/icons/Schneider_bw.png");
}
label.spielauswahl > input[type="checkbox"]:checked + .check-image-schneider::before {
  content: url("/res/pic/icons/Schneider.png");
}
/*Schneider angesagt*/
label.spielauswahl> .check-image-schneider-ang::before {
  content: url("/res/pic/icons/Schneider_ang_bw.png");
}
label.spielauswahl > input[type="checkbox"]:checked + .check-image-schneider-ang::before {
  content: url("/res/pic/icons/Schneider_ang.png");
}
/*Schwarz*/
label.spielauswahl> .check-image-schwarz::before {
  content: url("/res/pic/icons/Schwarz_bw.png");
}
label.spielauswahl > input[type="checkbox"]:checked + .check-image-schwarz::before {
  content: url("/res/pic/icons/Schwarz.png");
}
/*Schwarz angesagt*/
label.spielauswahl> .check-image-schwarz-ang::before {
  content: url("/res/pic/icons/Schwarz_ang_bw.png");
}
label.spielauswahl > input[type="checkbox"]:checked + .check-image-schwarz-ang::before {
  content: url("/res/pic/icons/Schwarz_ang.png");
}
/*ouvert*/
label.spielauswahl> .check-image-ouvert::before {
  content: url("/res/pic/icons/Ouvert_bw.png");
}
label.spielauswahl > input[type="checkbox"]:checked + .check-image-ouvert::before {
  content: url("/res/pic/icons/Ouvert.png");
}

/* switch */
.onoffswitch {
    position: relative; width: 90px; top: 6px;
    -webkit-user-select:none; -moz-user-select:none; -ms-user-select: none;
}
.onoffswitch-checkbox {
    display: none;
}
.onoffswitch-label {
    display: block; overflow: hidden; cursor: pointer;
    border: 2px solid #999999; border-radius: 20px;
}
.onoffswitch-inner {
    display: block; width: 200%; margin-left: -100%;
    transition: margin 0.3s ease-in 0s;
}
.onoffswitch-inner:before, .onoffswitch-inner:after {
    display: block; float: left; width: 50%; height: 30px; padding: 0; line-height: 30px;
    font-size: 14px; color: white; font-family: Trebuchet, Arial, sans-serif; font-weight: bold;
    box-sizing: border-box;
}
.onoffswitch-inner:before {
    content: "private";
    padding-left: 10px;
    background-color: #5BC674; color: #FFFFFF;
}
.onoffswitch-inner:after {
    content: "open";
    padding-right: 10px;
    background-color: #EEEEEE; color: #999999;
    text-align: right;
}
.onoffswitch-switch {
    display: block; width: 18px; margin: 6px;
    background: #FFFFFF;
    position: absolute; top: 0; bottom: 0;
    right: 56px;
    border: 2px solid #999999; border-radius: 20px;
    transition: all 0.3s ease-in 0s; 
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}
.onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
    right: 0px; 
}
/* switch */

/* settings button */
.sendbutton {
   border: 5px solid #7dad80;
   background: #177517;
   background: -webkit-gradient(linear, left top, left bottom, from(#339348), to(#177517));
   background: -webkit-linear-gradient(top, #339348, #177517);
   background: -moz-linear-gradient(top, #339348, #177517);
   background: -ms-linear-gradient(top, #339348, #177517);
   background: -o-linear-gradient(top, #339348, #177517);
   background-image: -ms-linear-gradient(top, #339348 0%, #177517 100%);
   padding: 18px 36px;
   -webkit-border-radius: 13px;
   -moz-border-radius: 13px;
   border-radius: 13px;
   -webkit-box-shadow: rgba(255,255,255,0.4) 0 1px 0, inset rgba(255,255,255,0.4) 0 1px 0;
   -moz-box-shadow: rgba(255,255,255,0.4) 0 1px 0, inset rgba(255,255,255,0.4) 0 1px 0;
   box-shadow: rgba(255,255,255,0.4) 0 1px 0, inset rgba(255,255,255,0.4) 0 1px 0;
   text-shadow: #000000 0 1px 0;
   color: #ffffff;
   font-size: 20px;
   font-family: sans-serif;
   text-decoration: none;
   vertical-align: middle;
   }
.sendbutton:hover {
   box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
   border: 5px solid #7dad80;
   text-shadow: #000000 0 1px 0;
   background: #5bc674;
   background: -webkit-gradient(linear, left top, left bottom, from(#5bc674), to(#5bc674));
   background: -webkit-linear-gradient(top, #5bc674, #5bc674);
   background: -moz-linear-gradient(top, #5bc674, #5bc674);
   background: -ms-linear-gradient(top, #5bc674, #5bc674);
   background: -o-linear-gradient(top, #5bc674, #5bc674);
   background-image: -ms-linear-gradient(top, #5bc674 0%, #5bc674 100%);
   color: #fff;
   }
.sendbutton:active {
   box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
   text-shadow: #000000 0 1px 0;
   border: 5px solid #7dad80;
   background: #3e9452;
   background: -webkit-gradient(linear, left top, left bottom, from(#3e9452), to(#5bc674));
   background: -webkit-linear-gradient(top, #3e9452, #3e9452);
   background: -moz-linear-gradient(top, #3e9452, #3e9452);
   background: -ms-linear-gradient(top, #3e9452, #3e9452);
   background: -o-linear-gradient(top, #3e9452, #3e9452);
   background-image: -ms-linear-gradient(top, #3e9452 0%, #3e9452 100%);
   color: #fff;
   }
/* settings button */

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
    background-color: #fefefe;
    margin: 5% auto; /* 15% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 35%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
/* The Modal (background) */