#hitStickPage {
  width: 780px;
  padding: 20px;
  margin: 0 auto 20px;
  background: white;
  text-shadow: none;
}
/* under every HitStick page: the group card and the author's note side by side */
#socialButtons {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 40px;
  align-items: center;
  padding: 20px;
}
#socialButtons .socialCard {
  position: relative;
  display: block;
  height: 120px;
  padding: 25px;
  text-align: center;
  text-shadow: none;
  font-size: 14px;
  color: #444;
  background: #f5f5f5;
}
#socialButtons .socialCard .socialGroupButton {
  display: block;
  background: url(/images/games/hitStick/fbskupina.png) transparent 0px 0px no-repeat;
  width: 162px;
  height: 48px;
  margin: 10px auto;
}
#socialButtons .socialCard span {
  display: block;
  margin: 0 auto;
  padding: 5px 0;
  font-weight: bold;
}
#socialButtons .authorsNote {
  background: url('/images/JK.png') right 10px center no-repeat #e5e1d1;
  padding: 15px;
  padding-right: 105px;
  font-size: 12px;
}
/* the game pages: the group, the note and the comments below the game */
#hitStickCommunity {
  width: 780px;
  padding: 20px;
  margin: 20px auto;
  background: white;
  text-shadow: none;
}
#hitStickTitle,
.basicTitle {
  font-size: 42px;
  text-align: center;
  font-family: 'Kalam', 'Purisa', Arial;
  padding: 0;
  margin-bottom: -22px;
}
.basicTitle {
  font-size: 32px;
}
.version {
  text-align: right;
  font-family: 'Kalam', 'Purisa', Arial;
}
/* the comments are on the page itself */
#footer {
  display: none;
}
p {
  padding: 5px;
  text-shadow: none;
}
p a {
  text-decoration: underline;
}
.playbutton {
  display: block;
  text-align: center;
  min-width: 300px;
  margin: 20px;
  float: left;
  padding: 35px 15px;
  font-size: 28px;
  background-color: #89c403;
  -moz-border-radius: 12px;
  -webkit-border-radius: 12px;
  border-radius: 12px;
  border: 2px solid #000;
  cursor: pointer;
  opacity: 0.8;
  color: #000;
  font-family: 'Kalam', 'Purisa', Arial !important;
  font-weight: bold;
  text-decoration: none;
  background: #69c7d6;
  background: -moz-linear-gradient(45deg,#69c7d6 0%,#dede9f 100%);
  background: -webkit-gradient(linear,left bottom,right top,color-stop(0%,#69c7d6),color-stop(100%,#dede9f));
  background: -webkit-linear-gradient(45deg,#69c7d6 0%,#dede9f 100%);
  background: -o-linear-gradient(45deg,#69c7d6 0%,#dede9f 100%);
  background: -ms-linear-gradient(45deg,#69c7d6 0%,#dede9f 100%);
  background: linear-gradient(45deg,#69c7d6 0%,#dede9f 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#69c7d6',endColorstr='#dede9f',GradientType=1);
}
.playbutton.yellow {
  background: #ebeb54;
  background: -moz-linear-gradient(45deg,#ebeb54 0%,#dede9f 100%);
  background: -webkit-gradient(linear,left bottom,right top,color-stop(0%,#ebeb54),color-stop(100%,#dede9f));
  background: -webkit-linear-gradient(45deg,#ebeb54 0%,#dede9f 100%);
  background: -o-linear-gradient(45deg,#ebeb54 0%,#dede9f 100%);
  background: -ms-linear-gradient(45deg,#ebeb54 0%,#dede9f 100%);
  background: linear-gradient(45deg,#ebeb54 0%,#dede9f 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ebeb54',endColorstr='#dede9f',GradientType=1);
}
.playbutton.green {
  background: #a1d669;
  background: -moz-linear-gradient(45deg,#a1d669 0%,#dede9f 100%);
  background: -webkit-gradient(linear,left bottom,right top,color-stop(0%,#a1d669),color-stop(100%,#dede9f));
  background: -webkit-linear-gradient(45deg,#a1d669 0%,#dede9f 100%);
  background: -o-linear-gradient(45deg,#a1d669 0%,#dede9f 100%);
  background: -ms-linear-gradient(45deg,#a1d669 0%,#dede9f 100%);
  background: linear-gradient(45deg,#a1d669 0%,#dede9f 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a1d669',endColorstr='#dede9f',GradientType=1);
}
.playbutton.blank {
  background: #90a09e;
  background: -moz-linear-gradient(45deg,#90a09e 0%,#b8b5aa 100%);
  background: -webkit-gradient(linear,left bottom,right top,color-stop(0%,#90a09e),color-stop(100%,#b8b5aa));
  background: -webkit-linear-gradient(45deg,#90a09e 0%,#b8b5aa 100%);
  background: -o-linear-gradient(45deg,#90a09e 0%,#b8b5aa 100%);
  background: -ms-linear-gradient(45deg,#90a09e 0%,#b8b5aa 100%);
  background: linear-gradient(45deg,#90a09e 0%,#b8b5aa 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#90a09e',endColorstr='#b8b5aa',GradientType=1);
  color: white;
  cursor: default;
  border: none;
  box-shadow: none;
}
.playbutton:hover {
  background-color: #77a809;
  opacity: 1;
}
.playbutton:active {
  position: relative;
  top: 1px;
}
#frm-startLocaleGameForm,
#frm-startAiGameForm {
  padding: 20px;
  margin-left: 75px;
}
#frm-startLocaleGameForm label,
#frm-startAiGameForm label {
  display: block;
  padding: 5px 0;
}
#frm-startLocaleGameForm .pairs,
#frm-startAiGameForm .pairs {
  float: left;
  display: block;
  padding: 5px 15px;
  width: 300px;
}
#frm-startLocaleGameForm select,
#frm-startLocaleGameForm input[type="text"],
#frm-startAiGameForm select,
#frm-startAiGameForm input[type="text"] {
  display: block;
  min-width: 180px;
  padding: 10px 10px;
  border-radius: 6px;
  background: #f5f4ee;
  box-shadow: inset 0 0 10px #c8bc87;
  -webkit-box-shadow: inset 0 0 10px #c8bc87;
  -moz-box-shadow: inset 0 0 10px #c8bc87;
}
#frm-startLocaleGameForm input[type="submit"],
#frm-startAiGameForm input[type="submit"] {
  background-color: #89c403;
  -moz-border-radius: 12px;
  -webkit-border-radius: 12px;
  border-radius: 12px;
  border: 2px solid #000;
  cursor: pointer;
  opacity: 0.8;
  color: #000;
  font-family: 'Kalam', 'Purisa', Arial !important;
  font-weight: bold;
  text-decoration: none;
  background: #69c7d6;
  background: -moz-linear-gradient(45deg,#69c7d6 0%,#dede9f 100%);
  background: -webkit-gradient(linear,left bottom,right top,color-stop(0%,#69c7d6),color-stop(100%,#dede9f));
  background: -webkit-linear-gradient(45deg,#69c7d6 0%,#dede9f 100%);
  background: -o-linear-gradient(45deg,#69c7d6 0%,#dede9f 100%);
  background: -ms-linear-gradient(45deg,#69c7d6 0%,#dede9f 100%);
  background: linear-gradient(45deg,#69c7d6 0%,#dede9f 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#69c7d6',endColorstr='#dede9f',GradientType=1);
  width: 150px;
  padding: 15px 20px;
  font-size: 24px;
}
#frm-startLocaleGameForm input[type="submit"].yellow,
#frm-startAiGameForm input[type="submit"].yellow {
  background: #ebeb54;
  background: -moz-linear-gradient(45deg,#ebeb54 0%,#dede9f 100%);
  background: -webkit-gradient(linear,left bottom,right top,color-stop(0%,#ebeb54),color-stop(100%,#dede9f));
  background: -webkit-linear-gradient(45deg,#ebeb54 0%,#dede9f 100%);
  background: -o-linear-gradient(45deg,#ebeb54 0%,#dede9f 100%);
  background: -ms-linear-gradient(45deg,#ebeb54 0%,#dede9f 100%);
  background: linear-gradient(45deg,#ebeb54 0%,#dede9f 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ebeb54',endColorstr='#dede9f',GradientType=1);
}
#frm-startLocaleGameForm input[type="submit"].green,
#frm-startAiGameForm input[type="submit"].green {
  background: #a1d669;
  background: -moz-linear-gradient(45deg,#a1d669 0%,#dede9f 100%);
  background: -webkit-gradient(linear,left bottom,right top,color-stop(0%,#a1d669),color-stop(100%,#dede9f));
  background: -webkit-linear-gradient(45deg,#a1d669 0%,#dede9f 100%);
  background: -o-linear-gradient(45deg,#a1d669 0%,#dede9f 100%);
  background: -ms-linear-gradient(45deg,#a1d669 0%,#dede9f 100%);
  background: linear-gradient(45deg,#a1d669 0%,#dede9f 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#a1d669',endColorstr='#dede9f',GradientType=1);
}
#frm-startLocaleGameForm input[type="submit"].blank,
#frm-startAiGameForm input[type="submit"].blank {
  background: #90a09e;
  background: -moz-linear-gradient(45deg,#90a09e 0%,#b8b5aa 100%);
  background: -webkit-gradient(linear,left bottom,right top,color-stop(0%,#90a09e),color-stop(100%,#b8b5aa));
  background: -webkit-linear-gradient(45deg,#90a09e 0%,#b8b5aa 100%);
  background: -o-linear-gradient(45deg,#90a09e 0%,#b8b5aa 100%);
  background: -ms-linear-gradient(45deg,#90a09e 0%,#b8b5aa 100%);
  background: linear-gradient(45deg,#90a09e 0%,#b8b5aa 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#90a09e',endColorstr='#b8b5aa',GradientType=1);
  color: white;
  cursor: default;
  border: none;
  box-shadow: none;
}
#frm-startLocaleGameForm input[type="submit"]:hover,
#frm-startAiGameForm input[type="submit"]:hover {
  background-color: #77a809;
  opacity: 1;
}
#frm-startLocaleGameForm input[type="submit"]:active,
#frm-startAiGameForm input[type="submit"]:active {
  position: relative;
  top: 1px;
}
.openGames {
  display: block;
  margin: 20px;
  width: 330px;
  height: 125px;
  overflow: auto;
  float: left;
}
.openGames h2 {
  padding: 2px 0;
  font-size: 14px;
  text-align: left;
  color: #444;
  text-shadow: -1px 0px 0px #ddd;
}
.openGames .gamesContainer a {
  display: block;
  background: #fafafa;
  padding: 5px 10px;
  border-bottom: 1px solid #eee;
}
.openGames .gamesContainer a .playerName {
  font-weight: bold;
  font-size: 12px;
}
.openGames .gamesContainer a span {
  font-size: 11px;
}
@media screen and (max-width: 640px) {
  .playbutton {
    margin: 0 !important;
    float: none;
  }
  #hitStickPage {
    width: 100%;
    padding: 0;
    margin-top: 80px;
  }
  #hitStickCommunity {
    width: 100%;
    padding: 0;
  }
  #socialButtons {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0;
  }
}
