
@font-face {
    font-family: 'Lato';
    src: url('/css/fonts/Lato/LatoLatin-Bold.eot'); /* IE9 Compat Modes */
    src: url('/css/fonts/Lato/LatoLatin-Bold.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('/css/fonts/Lato/LatoLatin-Bold.woff2') format('woff2'), /* Modern Browsers */
         url('/css/fonts/Lato/LatoLatin-Bold.woff') format('woff'), /* Modern Browsers */
         url('/css/fonts/Lato/LatoLatin-Bold.ttf') format('truetype');
    font-style: normal;
    font-weight: bold;
    text-rendering: optimizeLegibility;
}

@font-face {
    font-family: 'Lato';
    src: url('/css/fonts/Lato/LatoLatin-Italic.eot'); /* IE9 Compat Modes */
    src: url('/css/fonts/Lato/LatoLatin-Italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('/css/fonts/Lato/LatoLatin-Italic.woff2') format('woff2'), /* Modern Browsers */
         url('/css/fonts/Lato/LatoLatin-Italic.woff') format('woff'), /* Modern Browsers */
         url('/css/fonts/Lato/LatoLatin-Italic.ttf') format('truetype');
    font-style: italic;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}

@font-face {
    font-family: 'LatoLight';
    src: url('/css/fonts/Lato/LatoLatin-Light.eot'); /* IE9 Compat Modes */
    src: url('/css/fonts/Lato/LatoLatin-Light.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('/css/fonts/Lato/LatoLatin-Light.woff2') format('woff2'), /* Modern Browsers */
         url('/css/fonts/Lato/LatoLatin-Light.woff') format('woff'), /* Modern Browsers */
         url('/css/fonts/Lato/LatoLatin-Light.ttf') format('truetype');
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}

@font-face {
    font-family: 'Lato';
    src: url('/css/fonts/Lato/LatoLatin-Regular.eot'); /* IE9 Compat Modes */
    src: url('/css/fonts/Lato/LatoLatin-Regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('/css/fonts/Lato/LatoLatin-Regular.woff2') format('woff2'), /* Modern Browsers */
         url('/css/fonts/Lato/LatoLatin-Regular.woff') format('woff'), /* Modern Browsers */
         url('/css/fonts/Lato/LatoLatin-Regular.ttf') format('truetype');
    font-style: normal;
    font-weight: normal;
    text-rendering: optimizeLegibility;
}

html, body, h1 {
  font-family: 'Lato', Verdana, sans-serif;
}
html {
  height: 100%;
  padding: 0;
  margin: 0;
  background-color: #fff;
}

* {
  padding: 0;
  margin: 0;
}

body {
  font-size: 16px;
  margin: 0 auto;
}

a {
  color: #000;
  text-decoration: none;
}


li {
  list-style-type: none;
}

div#bodyContainter {
  position: absolute;
}

h1 {
  text-align: center;
  margin: 3em 2% 1.5em 2%;
  font-size: 1.4em;
}

h2,
.wrapper h2 {
  margin: 5em 2% 1.5em 2%;
  text-align: center;
  font-size: 1.2em;
}

table {
  width: 100%;
}


/* ------------------------- Hier gehts los ------------------ */

a.regular-link {
  color: #B40404;
}

a.regular-link:hover {
  text-decoration: underline;
}

div.button input, select {
  cursor: pointer;
}

div.wrapper {
  margin: auto auto;
  max-width: 640px;
}

div.wrapper-large {
  margin: auto auto;
  max-width: 840px;
}

div#error-box {
  background-color: #F6D8CE;
  padding: 1em;
  max-width: 420px;
  margin: 2em auto;
}

img.character {
  height: 2.3em;
}


#login-form {
  max-width: 360px;
  padding: 0 2%;
  margin: auto;
  margin-top: 40px;
}


#login-form img {
  width: 36%;
  margin: 4em 28% 3em 36%;
}

input { 
  padding: .4em;
  font-size: .9em;
}
fieldset {
  border: none;
}

fieldset table {
  width: 100%;
}
  
fieldset td {
  padding: .4em 0;
}

#login-form fieldset .tr-name td {
  padding-bottom: 2em; 
}

fieldset td input { 
  width: 95%;
  padding: .4em;
  font-size: .9em;
}

fieldset td select {
  width: 100%;
  padding: .4em;
  font-size: .9em;
}

#login-form .button input {
  width: 50%;
  margin: 3em 25%;
}

.button input {
  padding: 1em;
  font-size: .9em;
}

#header {
  background-color: rgb(243, 244, 246);
  padding: 1em 2%; 
  margin-bottom: 5em;
}

#header .wrapper >* {
  margin: 0.5em auto;
  line-height: 1.2em;
}

#header .header-left {
  display: inline-block;
  width: 50%;
}

#header .header-right {
  display: inline-block;
  width: 47%;
  text-align: right;
}

#header .header-right img.character {
  display: inline-block;
  margin-right: .6em;
  margin-left: 0;
  vertical-align: -20%;
}

#header .header-right div {
  display: inline-block;
}


#header .label {
  font-weight: bold;
}



#footer {
  margin-top: 4em;
  min-height: 1em;
}

#footer #back-to-home {
  width: 100%;
  text-align: center;
  margin: auto;
}
.menu{
  text-align: center;
}
.menu ul{
  margin-left: 1%;
}
.menu li{
  display: inline-block;
  width: 100%;
  max-width: 190px;
  margin: 10px 1%;
  text-align: center;
  font-weight: bold;
  box-sizing: border-box;
}
@media only screen and (max-width: 600px) {
.menu li{
  width: 45%;
}
}
.menu p{
  background: #eee;
  padding: 10px 5px;
  box-sizing: border-box;
}
.menu li:hover p{
  background: #ddd;
}
.menu li a{
  display: block;
  padding: 20px 0 0 0;
}
.menu img{
  width: 70px;
  display: inline-block;
  margin-bottom: 10px;
}
#spiel-liste ul li {
  background-color: rgb(243, 244, 246);
   position: relative;
   overflow: hidden;
}
#spiel-liste ul li .flag {
   position:absolute;
   height: 15px;
   top: 5px;
   right: -45px;
   background-color: #059669;
   color: #fff;
   padding: 4px 50px;
   font-size: .8em;
   letter-spacing: .05em;
   transform: rotate(40deg);

}
#spiel-liste ul li p {
  background: #fafafa;
}
#spiel-liste ul li:hover p {
  background-color: rgb(243, 244, 246);
}
#spiel-liste ul li:hover {
  background-color: #eaeaea;
}


/*
#spiel-liste ul li a {
  display: block;
  margin: auto;
  padding: .7em 2em;
  cursor: pointer;
}


#spiel-liste ul li:nth-child(odd) {
  background-color: #f3f3f3;
}

#spiel-liste ul li:nth-child(even) {
  background-color: #fcfcfc;
}
*/

#aktive-spieler ul li {
  width: 240px;
  padding: .7em 30px;
  display: inline-block;
}

#aktive-spieler ul li img {
  margin-right: 1em;
  display: inline-block;
  vertical-align: -60%;
}

#aktive-spieler ul li p {
  display: inline-block;
}

#character-wählen .radio-list {
  margin-bottom: 2em;
  display: block;
  clear: both;
}

#character-wählen .radio-item {
  max-width: 70px;
  display: inline-block;
  margin: 1em;
  text-align: center;
}

#character-wählen .radio-item label:hover {
  cursor: pointer;
}

#character-wählen .radio-item img {
  height: 40px;
  padding: 7px 15px;
}

#character-wählen div.button {
  text-align: center;
  margin-top: 3em;
  clear: both;
  display: block;
}

#skribble {
  max-width: 480px;
  margin: auto;
  margin-top: 40px;
}

#skribble td.output input {
  width: .5em;
}

#skribble .button input {
  padding: .5em;
  width: 40%;
  margin: 3em 25% 5em 25%;
}

/* Wer bin ich */
#wer-bin-ich #next-button{
  text-align: center;
  padding: 0 auto;
  width: 100%;
  margin: 1em auto;
  margin-top: 3em;
  display: inline-block;
}

#wer-bin-ich #notizen textarea{
  font-family: 'Lato', Verdana, sans-serif;
}

#wer-bin-ich #liste tr:first-child p{
  font-weight: bold;
  background-color: #fff;
}

#wer-bin-ich  #liste tr td:last-child p{
font-weight: bold;
margin-left: 2em;
}

#wer-bin-ich  tr td img.character{
  padding-left: 50%;
}

#wer-bin-ich  tr td p.player {
  padding-left: 1.6em;
}

#wer-bin-ich #display-input fieldset tr td label {
  font-weight: bold;
  margin-left: .2em;
}

#liste tr td p {
  display: block;
  line-height: 2.4em;
  min-height: 2.4em;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  padding-left: 1.4em;
}

.liste-alternate tr:nth-child(odd) p {
  background-color: #eee;
}
.liste-alternate tr:nth-child(even) p {
  background-color: #f8f8f8;
}

#just-one .aktiver-spieler.info {
  text-align: center;
  margin: 1em auto;
}

#just-one #display-form,
#just-one #next,
#just-one #zeigen {
  text-align: center;
  padding: 0 auto;
  margin: 1em auto;
}
#just-one #next input,
#just-one #zeigen input{
  width: 100%;
  margin-top: 2em;
  height: 3em;
  cursor: pointer;
}


#just-one #gesuchtes-wort {
  padding: 2em 1em;
  background-color: #f3f3f3;
  background-color: #ccff99;
  width: 80%;
  max-width: 240px;
  margin: auto;
  text-align: center;
  -webkit-border-radius: 15px;
  -moz-border-radius: 15px;
  border-radius: 15px;
}

#just-one #gesuchtes-wort .label {
  font-weight: bold;
  padding-bottom: .7em;
}

#just-one #liste tr td:first-child {
  text-align: right;
  padding-right: .5em;
}
#just-one #liste tr td p {
  display: block;
  border: .3em #fff solid;
  line-height: 2.4em;
  height: 2.4em;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  padding-left: 1.4em;
}

#just-one #liste tr:nth-child(odd) p {
  background-color: #eee;
}
#just-one #liste tr:nth-child(even) p {
  background-color: #f8f8f8;
}

#code-names #cards p#dein-team {
  width: 100%;
  display: block;
  height: 2em;
  line-height: 2em;
  margin-bottom: 3em;
  font-weight: bold;
  font-size: 1em;
}
#code-names #cards p.inactive:hover {
  cursor: pointer;
  background-color: #eaeaea;
}


#code-names #legend {
  background-color: #f4f4f4;
  height: 3em;
  vertical-align: middle;
  padding-top: 1em;
  padding-left: 2em;
  overflow: auto;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
  width: 100%;
}

#code-names #team-wechseln {
  border: none;
  cursor: pointer;
  width: 100%;
}

#code-names #legend p.rect {
  width: 14%;
  height: 2.2em;
  line-height: 2.2em;
  display: inline-block;
  font-size: .8em;
  margin: 0 1%;
  text-align: center;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}
#code-names #legend p.rect:first-child {
  text-align: left;
  font-size: 1em;
}
#code-names #cards {
  padding: auto;
  text-align: center;
}
#code-names #cards p {
  display: inline-block;
  width: 17%;
  margin: .4em .5%;
  height: 4em;
  background-color: rgb(243, 244, 246);
  font-size: .85em;
  text-align: center;
  padding: 1em auto;
  line-height: 4em;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
}


#code-names #cards p.active-player.inactive{
  border: .3em solid;
  line-height: 3.4em;
  background-color: #fff;
  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
}

#code-names #cards p.red.active-player.inactive{
  border-color: #ff9288;
}

#code-names #cards p.blue.active-player.inactive{
  border-color: #88bbff;
}

#code-names #cards p.green.active-player.inactive{
  border-color: #ccff99;
}

#code-names #cards p.black.active-player.inactive{
  border-color: #555;
}


#code-names .red.active,
#code-names #cards p.red.active {
  background-color: #ff9288;
}

#code-names .blue.active,
#code-names #cards p.blue.active {
  background-color: #88bbff;
}

#code-names .green.active,
#code-names #cards p.green.active {
  background-color: #ccff99;
}

#code-names .black.active,
#code-names #cards p.black.active {
  background-color: #555;
  color: #fff;
}


#code-names #next-round label {
  font-weight: bold;
}

#code-names #liste td p {
  border: .2em #fff solid;
  -webkit-border-radius: 10px;
  -moz-border-radius: 10px;
  border-radius: 10px;
}
#code-names #liste td:first-child {
  text-align: right;
  padding-right: .5em;
}

#code-names #liste p.red  {
  background-color: #ff9288;
  padding-left: 1.4em;
  color: #000;
  display: block;
  line-height: 2.4em;
}

#code-names #liste td:nth-child(2)  {
  font-weight: bold;
}

#code-names #liste p.blue {
  background-color: #88bbff;
  padding-left: 1.4em;
  color: #000;
  display: block;
  line-height: 2.4em;
}

#code-names input, #code-names select  {
  height: 2.2em;
  padding: 0;
}

#code-names #liste tr td input  {
  height: 2em;
  padding: 0;
  width: 100%
}

#code-names #next-round select {
  width: 90%;
  margin auto;
}

.wrapper > * {
  margin: 3em auto;
}

