@font-face {
  font-family: 'Abril Fatface';
  font-style: normal;
  font-weight: 400;
  src: local('Abril Fatface'), local('AbrilFatface-Regular'), url("//themes.googleusercontent.com/static/fonts/abrilfatface/v6/X1g_KwGeBV3ajZIXQ9VnDvn8qdNnd5eCmWXua5W-n7c.woff") format('woff');
}
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 400;
  src: local('Open Sans'), local('OpenSans'), url("//themes.googleusercontent.com/static/fonts/opensans/v7/cJZKeOuBrn4kERxqtaUH3T8E0i7KZn-EPnyo3HZu7kw.woff") format('woff');
}
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
/*-webkit-user-select: none; /* webkit (safari, chrome) browsers */
/*-moz-user-select: none; /* mozilla browsers */
/*-khtml-user-select: none; /* webkit (konqueror) browsers */
/*-ms-user-select: none; /* IE10+ */
}
body {
  font-family: 'Open Sans', sans-serif;
}
div#login {
  width: 250px;
  margin: 50px auto;
}
a#logo {
  text-decoration: none;
  color: #333;
}
header h1 {
  font-size: 44px;
  font-weight: normal;
  font-family: 'Abril Fatface', 'Open Sans', sans-serif;
  margin: 10px;
}
header h1>span {
  font-size: 56px;
  font-weight: bold;
}
header {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}
nav {
  margin: 0 auto;
  font-size: 22px;
}
nav ul {
  border-width: 1px 0;
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}
nav ul li {
  display: inline-block;
  padding: 10px;
  padding-bottom: 0px;
  color: inherit;
}
nav ul a {
  text-decoration: none;
  color: #000;
}
nav ul a:visited {
  color: inherit;
}
nav ul a:hover {
  color: #999;
}
#mainpanel {
  width: 1150px;
  margin: 0 auto;
}
#board {
  width: 726px;
  padding: 2px;
  border: 1px solid #000;
  float: left;
}
#playerCards {
  width: 100%;
  padding: 0;
  margin-top: 20px;
  text-align: center;
}
div.changed {
  background: rgba(165,0,255,0.3);
}
div.card {
  position: relative;
  font-family: Open Sans, Helvetica, Verdana, sans-serif;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  border: 1px solid #000;
  float: left;
  font-size: 35px;
  width: 10%;
  height: 36px;
  line-height: 26px;
  text-align: center;
}
div.card.selected {
  background-color: rgba(255,165,0,0.3);
}
a.card.selected img {
  box-shadow: 0 0 0 3px #ffa500;
  -webkit-border-radius: 4%;
  -moz-border-radius: 4%;
  border-radius: 4%;
}
#playerCards a.card img.discard {
  position: absolute;
  display: none;
  top: -15px;
  right: 20px;
  width: 32px;
  height: 32px;
}
#playerCards a.card.selected img.discard {
  display: inline;
  box-shadow: none;
}
img.red {
  color: #f00;
}
a.card {
  color: #000;
  text-decoration: none;
}
#playerCards a.card {
  position: relative;
  display: inline-block;
  max-width: 204px;
  max-height: 315px;
  width: 14%;
  height: auto;
  margin: 1px;
  font-size: 100px;
}
#playerCards a.card img {
  width: 100%;
  height: auto;
}
span.big {
  font-size: 40px;
}
div.small {
  font-size: 33px;
  line-height: 26px;
}
div.red {
  color: #f00;
}
span.red,
span.green,
span.blue {
  text-shadow: 1px 0 0 #000, 0 1px 0 #000, -1px 0 0 #000, 0 -1px 0 #000;
}
span.red {
  color: #e30613;
}
span.green {
  color: #00f294;
}
span.blue {
  color: #06f;
}
br.clear {
  clear: both;
}
img.chip {
  position: absolute;
  width: 32px;
  height: 32px;
  display: none;
}
#board img.chip.show {
  display: inline;
  left: 20px;
  top: 1px;
  transition: opacity 0.25s linear;
}
#board img.chip.show:hover {
  opacity: 0.3;
}
div.textbody {
  max-width: 900px;
  margin: 0 auto;
}
div.textbody h1 {
  text-decoration: underline;
  text-align: center;
}
div.textbody h2 {
  text-decoration: underline;
}
div.textbody select {
  width: 65px;
}
div.textbody div.groupGames {
  width: 100%;
}
div.textbody div.groupGames div.game {
  margin: 10px;
  float: left;
  overflow: hidden;
  width: 20%;
  border: 1px solid #000;
  padding: 5px;
}
div.textbody div.groupGames div.game * {
  margin: 2px;
}
div.textbody div.team {
  width: 24%;
  margin: 3px;
  height: 315px;
  float: left;
  border: 1px solid #000;
  text-align: center;
}
div.textbody div.team h4 {
  margin: 7px;
}
div.textbody div.team div {
  text-align: left;
  margin: 12px;
  margin-left: 40px;
}
div.textbody div.team a {
  text-decoration: none;
  color: #000;
}
div.textbody div.team a.r>h4,
div.textbody div.team a.g>h4,
div.textbody div.team a.b>h4 {
  text-shadow: 1px 0 0 #000, 0 1px 0 #000, -1px 0 0 #000, 0 -1px 0 #000;
}
div.textbody div.team a.r {
  color: #e30613;
}
div.textbody div.team a.g {
  color: #00f294;
}
div.textbody div.team a.b {
  color: #06f;
}
div.textbody div.team.hidden {
  visibility: hidden;
}
div.textbody div.settings {
  width: 24%;
  margin: 3px;
  height: 315px;
  float: left;
  position: relative;
}
div.textbody div.settings h3 {
  margin: 7px;
}
div.textbody div.settings div {
  margin: 7px;
}
div.textbody div.settings button {
  position: absolute;
  bottom: 14px;
  right: 14px;
  margin-top: 20px;
}
div.textbody div.lobbychat {
  height: 300px;
  width: 73.35%;
  float: left;
  margin: 3px;
  position: relative;
  border: 1px solid #000;
}
div.textbody div.lobbychat div.chatlog {
  height: 91.5%;
  overflow: auto;
}
div.textbody div.lobbychat div.chatlog p {
  width: 98%;
  margin: 4px;
  padding: 0;
}
div.textbody div.lobbychat div.chatlog p.red {
  color: #f00;
}
div.textbody div.lobbychat div.chatinput {
  position: absolute;
  bottom: 0;
  width: 100%;
}
div.textbody div.lobbychat div.chatinput input {
  margin: 0;
  padding: 1px;
  width: 79%;
}
div.textbody div.lobbychat div.chatinput button {
  width: 20%;
  margin: 0;
  padding: 1px;
}
div.textbody div.leave {
  width: 100%;
  text-align: right;
  position: relative;
}
div.textbody div.leave a {
  position: relative;
  right: 15px;
}
div.textbody div.leave img {
  width: 26px;
  height: 26px;
}
.tabs {
  position: relative;
  min-height: 355px;
  width: 419px;
  margin: 10px 0 0 5px;
  float: left;
}
.tab {
  float: left;
}
.tab label {
  background: #eee;
  padding: 10px;
  border: 1px solid #ccc;
  margin-left: -1px;
  position: relative;
  left: 1px;
}
.tab [type=radio] {
  display: none;
}
.content {
  box-sizing: content-box;
  position: absolute;
  top: 32px;
  left: 0;
  background: #fff;
  right: 0;
  bottom: 0;
  border: 1px solid #ccc;
}
.settings.content {
  padding: 3px;
}
div.gamechat.content {
  padding: 2px;
}
div.gamechat.content div.chatlog {
  height: 91.5%;
  overflow: auto;
}
div.gamechat.content div.chatlog p {
  width: 98%;
  margin: 4px;
  padding: 0;
}
div.gamechat.content div.chatlog p.red {
  color: #f00;
}
div.gamechat.content div.chatinput {
  position: absolute;
  bottom: 3px;
  width: 100%;
}
div.gamechat.content div.chatinput input {
  margin: 0;
  padding-left: 1px;
  width: 78%;
}
div.gamechat.content div.chatinput button {
  width: 20%;
  margin: 0;
}
[type=radio]:checked ~ label {
  background: #fff;
  border-bottom: 1px solid #fff;
  z-index: 2;
}
[type=radio]:checked ~ label ~ .content {
  z-index: 1;
}
