﻿@import url('https://fonts.googleapis.com/css?family=Roboto+Condensed|Roboto:500|Salsa');

:root {
  --p0_color: #333;
  --p1_color: Crimson;
  --p2_color: SeaGreen;
  --p3_color: blue;
  --Header_color: #ffefb2;
  --scrollbarBG: #CFD8DC;
  --thumbBG: #90A4AE;
}

html {
  font-size: 30px;
  scrollbar-color: white silver;
  scrollbar-width: thin;
}

@media screen and (max-height: 1400px) {
  html {
    font-size: 16px;
  }
}

@media screen and (max-height: 1000px) {
  html {
    font-size: 14px;
  }
}

@media screen and (max-height: 600px) {
  html {
    font-size: 10px;
  }
}

@media screen and (max-height: 500px) {
  html {
    font-size: 9px;
  }
}

.clearfix:before,
.clearfix:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.clearfix:after {
  clear: both;
  content ".";
  visibility: hidden;
  display: block;
  height: 0px;
}


body {
  margin: 0;
  padding: 0;
  overflow: hidden;
  width: 100%;
  height: 100%;
  font-family: 'Roboto Condensed', sans-serif;
  text-shadow: rgba(0, 0, 0, .3) 1px 1px 1px;
  scrollbar-width: thin;
  scrollbar-color: var(--thumbBG) var(--scrollbarBG);
}

::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
  border-radius: 10px;
  background-color: #F5F5F5;
}

::-webkit-scrollbar {
  width: 12px;
  background-color: #F5F5F5;
}

::-webkit-scrollbar-thumb {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
  background-color: #90A4AE;
}

#TimerDiv {
  position: absolute;
  bottom: 10%;
  left: 10%;
  width: 110px;
  height: 110px;
  background: no-repeat center url("/resources/img/system/PlayerOnTurn1.gif");
  box-shadow: 5px 1px 50px 3px black;
  visibility: hidden;
}

#TimerDivNoSec {
  width: 25px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  font: bold 40px Arial, sans-serif;
  color: red;
}

#Game_Info {
    position: absolute;
    top: 4.7rem;
    right: 1rem;
    padding: 0.3rem;
    z-index: 1000;
    overflow: hidden;
    background-color: ghostwhite;
    border: 0.2rem solid silver;
    border-radius: 0.5rem;
    min-width: 14rem;
    font-size: 1.5rem;
    text-align: center;
}

#VersionInfo {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  padding: 0.5rem;
  z-index: 9;
  overflow: hidden;
  border: none;
  font-size: 1rem;
  text-align: center;
  color: white;
}

#Game_Info .IgraNo {
  color: red;
  padding-bottom: 0.5rem;
}

#Game_Info .IgraNoOd {
  color: red;
}

#Game_Info .IgraNoOD_Head {
    font-size: 1rem;
    line-height: 1.3rem;
}

#Game_Info .IgraImeIgralca {
  font-size: 1.6rem;
  line-height: 1.7rem;
}

#Game_Info .IgraNazivIgre {
    font-size: 1.3em;
    line-height: 1.5rem;
}

#Game_Info .Player0 {
  font-size: 1.2rem;
}

#Game_Info .Player1 {
  font-size: 0.8em;
}

#Game_Info .Player2 {
  font-size: 0.8em;
}

#Game_Info .Player3 {
  font-size: 0.8em;
}

#Game_Info img {
  height: 1.7rem;
}

#PlayerInfo0 {
  position: absolute;
  bottom: 1%;
  left: 1%;
  border-color: var(--p0_color);
}

#PlayerInfo1 {
  position: absolute;
  top: 40%;
  left: 1%;
  border-color: var(--p1_color);
}

#PlayerInfo2 {
  position: absolute;
  top: 1%;
  left: 20%;
  border-color: var(--p2_color);
}

#PlayerInfo3 {
  position: absolute;
  top: 40%;
  right: 1%;
  border-color: var(--p3_color);
}

.PlayerInfo {
  min-width: 13rem;
  max-width: 20rem;
  /*width: 20%;*/
  padding: .3em;
  z-index: 999;
  overflow: hidden;
  border-radius: 0.5em;
  border-width: 0.3rem;
  border-style: solid;
  /*background-color: rgba(200, 200, 200, 0.85);*/
  background-color: lightgray;
  box-shadow: 0.1rem 0.1rem 0.1rem 0.1rem rgba(51, 51, 51, 0.51);  
  font-size:1.1rem;
}

.PlayerInfoPaused {
  position: absolute;
  top: -20px;
  right: -20px;
  z-index: 20;
  height: 95%;
}

.FloatLeft {
  float: left;
  margin: 0.1em;
  padding: 0.1em;
}

.FloatRight {
  float: right;
}

.pm0 {
  padding: 0;
  margin: 0;
}

img.FloatLeft {
  height: 5rem;
  width: 5rem;
}

#toolbar {
  position: absolute;
  top: 0.2rem;
  width: 96%;
  margin: 0.5% 1.5%;
  z-index: 998;
  float: left;
}

  #toolbar input[type=button] {
    height: 3.5rem;
    width: 3.5rem;
    border: none;
    text-align: center;
    cursor: pointer;
    margin: 0.2rem;
    padding: 0px;
    border-radius: 20%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    display: compact;
  }

    #toolbar input[type=button]:hover {
      border: 2px solid transparent;
    }

    #toolbar input[type=button]:visited {
      border: none;
    }

    #toolbar input[type=button]:active {
      border: none;
    }

#LogedInPlayerlabel {
  height: 3rem;
  padding: 0.4rem;
}

  #LogedInPlayerlabel img {
    height: 100%;
    border-radius: 50%;
    float: left;
  }

  #LogedInPlayerlabel span {
    height: auto;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.2);
    color: white;
    font-size: 1rem;
    word-wrap: break-word;
    padding: 0.7rem;
    margin: 0.2rem;
    border-radius: 0.85rem;
    float: right;
  }

span[altInfo] {
  position: relative;
  padding: 0px;
  margin: 0px;
}

  span[altInfo]::before {
    content: attr(altInfo);
    display: block;
    position: absolute;
    background: rgba(0, 0, 0, 0.33);
    color: white;
    padding: 0.1rem 0.3rem;
    border-radius: 5px;
    top: -0.6rem;
    font: 0.75rem;
    left: -1.3rem;
    transform: scale(0);
    transition: transform ease-out 150ms
    /*, bottom ease-out 150ms*/
    , left ease-out 150ms;
  }

  span[altInfo]:hover::before {
    transform: scale(1);
    white-space: nowrap;
    z-index: 9999;
  }

span[altInfo2] {
  position: relative;
  padding: 0px;
  margin: 0px;
}

  span[altInfo2]::before {
    content: attr(altInfo2);
    display: block;
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    color: black;
    padding: 0.2rem 0.4rem;
    border-radius: 5px;
    top: -300%;
    font: 1rem;
    left: -90%;
    transform: scale(0);
    transition: transform ease-out 150ms
    /*, bottom ease-out 150ms*/
    , left ease-out 150ms;
  }

  span[altInfo2]:hover::before {
    transform: scale(1);
    white-space: nowrap;
    z-index: 9999;
  }

#btnChatMinMax {
  background: url("/resources/img/system/chat.png");
  display: block;
  float: left;
}

.shake {
  animation: shake 0.5s;
  animation-iteration-count: 3;
}

@keyframes shake {
  0% {
    transform: translate(1px, 1px) rotate(0deg);
  }

  10% {
    transform: translate(-1px, -2px) rotate(-1deg);
  }

  20% {
    transform: translate(-3px, 0px) rotate(1deg);
  }

  30% {
    transform: translate(3px, 2px) rotate(0deg);
  }

  40% {
    transform: translate(1px, -1px) rotate(1deg);
  }

  50% {
    transform: translate(-1px, 2px) rotate(-1deg);
  }

  60% {
    transform: translate(-3px, 1px) rotate(0deg);
  }

  70% {
    transform: translate(3px, 1px) rotate(-1deg);
  }

  80% {
    transform: translate(-1px, -1px) rotate(1deg);
  }

  90% {
    transform: translate(1px, 2px) rotate(0deg);
  }

  100% {
    transform: translate(1px, -2px) rotate(-1deg);
  }
}

.AddStar::after {
  content: "?";
  position: absolute;
  width: 1rem;
  height: 1rem;
  bottom: 0px;
  right: 0px;
  border-radius: 50%;
  background: red;
  color: white;
  font-size: 0.7rem;
  padding: 0;
  text-align: center;
  vertical-align: middle;
  padding: 2px 1px 1px 1px;
}

#btnShowNewGameDialog {
  background: url("/resources/img/system/NewGame.png");
  display: compact;
  float: left;
}

#btnExitGameDialog {
  background: url("/resources/img/system/Exit.png");
  display: compact;
  float: left;
}

#btnShowEnterTurnamentDialog {
  background: url("/resources/img/system/tournament2.png");
  display: compact;
  float: left;
}

#btnToggleFullScreen {
  background: url("/resources/img/system/FullScreen.png");
  display: compact;
  float: right;
}

#btnLogIn {
  background: url("/resources/img/system/LogIn.png");
  display: compact;
  float: right;
}

#btnPlayWithAI {
  background: url("/resources/img/system/AI.png");
  display: compact;
  float: right;
}

#btnSkisRunda {
  background: url("/resources/img/system/SkisRunda.png");
  display: compact;
  float: right;
}

#btnToggleScoreBoard {
  background: url("/resources/img/system/ScoreBoard.png");
  display: compact;
  float: right;
}

#btnCloseScoreBoard {
  background: url("/resources/img/system/CloseMe.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  height: 2rem;
  width: 2rem;
  float: left;
  border: none;
}

#chat_text {
  display: none;
  position: absolute;
  top: 0;
  left: 20rem;
  right: 20rem;
  height: 10vh;
  max-height: 30vh;
  background-color: rgba(5, 5, 5, 0.3);
  padding: 10px;
  border-radius: 5px;
  text-align: center;
  color: white;
  line-height: normal;
  resize: both;
  overflow-y: scroll;
  scrollbar-color: white silver;
  scrollbar-width: thin;
  z-index:1000;
}

  #chat_text p {
    display: block;
    margin-block-start: 0.2em;
    margin-block-end: 0.2em;
    margin-inline-start: -0.5em;
    margin-inline-end: 0px;
  }

#chat_input {
  width: 90%;
  display: inline-block;
  box-sizing: content-box;
  padding: 0.2rem;
  border: 1px solid #b7b7b7;
  border-radius: 3px;
  font-size: 1rem;
  text-align: center;
  text-indent: -2px;
  background: rgba(255,255,255,8);
  box-shadow: 2px 2px 2px 0 rgba(0,0,0,0.2) inset;
  text-shadow: 1px 1px 0 rgba(255,255,255,0.66);
  margin-bottom: 0.5rem;
  bottom: 0;
}

#chat_content {
  overflow-y: visible;
  text-align: left;
  padding-left: 1vw;
}

.interface_wraper {
  position: absolute;
  left: 50%;
  top: 1.5rem;
  height: 90%;
}

#Lobby {
  display: none;
  height: auto;
  scrollbar-color: white silver;
  scrollbar-width: thin;
}

#interface_Form_Bidding_wraper {
  display: none;
  height: auto;
}

#interface_IzberiTurnir_wraper {
  display: none;
  height: auto;
}

#frm_IzberiTurnir {
  color: white;
}

#interface_TurnirPrijave_wraper {
  position:absolute;
  height: 96%;
  top:2%;
  width:100%;
}

#interface_TurnirPrijave {
    width: 50rem;
    margin: 0 auto;
    padding: 1%;    
    z-index: 9;
    overflow: hidden;    
    border: 0.1rem solid grey;
    border-radius: 0.5em;
    background: linear-gradient(to left bottom, rgb(108, 75, 46), #1e130c);
    color: #ffefb2;
    font-size: 1.2em;
}

  #interface_TurnirPrijave .BiddingFormeOptions {
    height: 80%;
  }

#frm_IzberiTurnir div {
  border: 1px solid grey;
  border-radius: 5px;
  margin: 0.5em;
  padding: 1em;
}

#interface_Form_Calling_a_King_wraper {
  display: none;
  height: auto;
}

#interface_Form_GameStartReady_wraper {
  display: none;
  height: auto;
}

#interface_Form_Announcements_wraper {
  display: none;
  height: auto;
}

#interface_Form_KontraAnnouncements_wraper {
  display: none;
  height: auto;
}

#interface_Form_ZaloziTalon_wraper {
  display: none;
  height: auto;
}

#interface_Form_KonecIgre_wraper {
  display: none;
  height: auto;
}

#interface_LoginIn_wraper {
  display: none;
  height: auto;
}

  #interface_LoginIn_wraper .header {
    display: block;
    width: 100%;
    margin: 0px;
    padding: 0.5rem 0rem;
    background-color: rgba(17, 11, 60, 0.6);
    font-size: 1.2rem;
    font-weight: lighter;
    color: #EEE;
    text-shadow: rgba(0, 0, 0, 0.7) 2px 2px 2px;
    text-align: center;
  }

  #interface_LoginIn_wraper .logins {
    display: block;
    margin: 1rem;
    ;
  }

#LoggedOffMessage {
  margin: 0.7rem;
  color: black;
}

#PrvaPrijavaObvestilo_link {
  font-size: 0.8rem;
  font-weight: 100;
  text-decoration: none;
  color: black;
  display: inline-block;
  /*visibility:hidden;*/
}
/* Shared Login buttons Google & Facebook  */
.loginBtn {
  box-sizing: border-box;
  position: relative;
  width: 15rem; /*- apply for fixed size */
  margin: 0.2rem;
  padding: 0 15px 0 46px;
  border: none;
  text-align: left;
  line-height: 34px;
  white-space: nowrap;
  border-radius: 0.2em;
  font-size: 16px;
  color: #FFF;
  width: 85%;
}

  .loginBtn:before {
    content: "";
    box-sizing: border-box;
    position: absolute;
    top: 0;
    left: 0;
    width: 34px;
    height: 100%;
  }

  .loginBtn:focus {
    outline: none;
  }

  .loginBtn:active {
    box-shadow: inset 0 0 0 32px rgba(0,0,0,0.1);
  }
/* Google */
.loginBtn--google {
  /*font-family: "Roboto", Roboto, arial, sans-serif;*/
  background: #DD4B39;
}

  .loginBtn--google:before {
    border-right: #BB3F30 1px solid;
    background: url('../resources/img/system/google.png');
    background-size: contain;
  }

  .loginBtn--google:hover,
  .loginBtn--google:focus {
    background: #E74B37;
  }


/* Facebook */
.loginBtn--facebook {
  background-color: #4C69BA;
  background-image: linear-gradient(#4C69BA, #3B55A0);
  /*font-family: "Helvetica neue", Helvetica Neue, Helvetica, Arial, sans-serif;*/
  text-shadow: 0 -1px 0 #354C8C;
}

  .loginBtn--facebook:before {
    border-right: #364e92 1px solid;
    background: url('../resources/img/system/facebook.png');
    background-size: contain;
  }

  .loginBtn--facebook:hover,
  .loginBtn--facebook:focus {
    background-color: #5B7BD5;
    background-image: linear-gradient(#5B7BD5, #4864B1);
  }

#interface_Form_ScoreBoard_wraper {
  position: absolute;
  top: 0px;
  right: 0px;
  display: none;
  height: auto;
  background-color: #efefef;
  color: #111111;
  width: 30rem;
  text-align: center;
  margin-top: 0.3rem;
  margin-right: 0.1rem;
  padding: 1rem;
  border: 0.1rem solid grey;
}

  #interface_Form_ScoreBoard_wraper .FormHeader {
    color: #333;
  }

  #interface_Form_ScoreBoard_wraper table {
    text-align: center;
    border-collapse: collapse;
  }

  #interface_Form_ScoreBoard_wraper td {
    width: 10rem;
    text-align: center;
    padding: 0.2rem;
  }

  #interface_Form_ScoreBoard_wraper table > tr:nth-of-type(1) {
    border-bottom: 0.1rem solid #111111;
  }

  #interface_Form_ScoreBoard_wraper table > tr:nth-of-type(2) {
    border-bottom: 0.1rem solid #111111;
  }

  #interface_Form_ScoreBoard_wraper td {
    border-left: 0.1rem solid #111111;
  }

  #interface_Form_ScoreBoard_wraper tr > td:first-of-type {
    border-left: none;
  }

  #interface_Form_ScoreBoard_wraper table > tr:last-of-type {
    border-top: 0.3rem double #111111;
  }

  #interface_Form_ScoreBoard_wraper table img { /*radlci*/
    height: 1rem;
    width: 1rem;
    float: left;
  }

#interface_Form_Announcements {
}

#interface_Form_KontraAnnouncements {
}

#interface_Form_KonecIgre {
  top: 2%;
  left: -50%;
  padding: 2%;
  margin: 2%;
  z-index: 9;
  overflow: hidden;
  width: 40rem;
  border: 0.2em solid;
  border-color: gray;
  border-radius: 0.5em;
  background-color: rgba(230, 230, 230, 1);
  opacity: 1;
  color: brown;
  font-size: 1.2em;
}

.Seznam {
  background-color: #efefef;
  /*width: 85%;
  height: 90%;
  margin: auto;*/
  border-color: gray;
  padding: 0.2rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
  border-collapse: collapse;
  border-radius: 5px;
  overflow: scroll;
  min-height: 10rem;
  max-height: 27rem;
  scrollbar-width: thin;
}

  .Seznam table {
    width: 100%;
    color: black;
    font-size: 1.1rem;
  }

  .Seznam th {
    background-color: rgba(92, 107, 102, 0.5);
    text-align: center;
    padding: 0.3em;
  }

  .Seznam td {
    padding: .3em .5em;
  }

  .Seznam tr {
    border-bottom: 0.1rem solid #111111;
    text-align: left;
  }

    .Seznam tr:nth-child(odd) {
      background-color: white;
    }

    .Seznam tr:nth-child(even) {
      background-color: whitesmoke;
    }

.RatingsTable {
  background-color: #efefef;
  width: 90%;
  margin: auto;
  border-color: gray;
  padding: 2rem;
  border-collapse: collapse;
}

  .RatingsTable img {
    height: 3rem;
    width: auto;
  }

  .RatingsTable tr {
    border-bottom: 0.1rem solid #111111;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  .RatingsTable > tr:nth-of-type(1) td {
    background-color: #71c2ff;
    margin: 1rem;
    padding: 1rem;
  }

#frm_KonecIgre_ResultsTable {
  width: 100%;
  border-collapse: collapse;
  color: #fefefe;
}

  #frm_KonecIgre_ResultsTable .underlined {
    border-bottom: 1px solid #ddd;
    margin-bottom: 5px;
    padding-bottom: 5px;
  }

#interface_Form_ZaloziTalon {
  position: relative;
  top: 20%;
  left: -50%;
  padding: 10%;
  margin: 0px;
  z-index: 9;
  overflow: hidden;
  width: 10em;
  border: 0.2em solid;
  border-color: gray;
  border-radius: 0.5em;
  background-color: rgba(230, 230, 230, 1);
  opacity: 1;
  color: brown;
  font-size: 1.2em;
}

#interface_Form_Calling_a_King {
  position: relative;
  top: 1%;
  left: -50%;
  padding: 1rem;
  margin: 0px;
  z-index: 9;
  overflow: hidden;
  width: auto;
  height: auto;
  border: 0.1rem solid silver;
  border-radius: 0.5rem;
  text-align: center;
}

  #interface_Form_Calling_a_King input[type=button] {
    width: 4rem;
    height: 4rem;
    background-color: transparent;
    border: 0.2rem inset gray;
    text-align: center;
    cursor: pointer;
    margin: 1rem;
    border-radius: 0.5rem;
    background-position: top left;
    background-repeat: no-repeat;
    background-size: cover;
    float: left;
  }

    #interface_Form_Calling_a_King input[type=button]:hover {
      border: 0.3rem outset gray;
    }

#interface_Form_Calling_a_King_Button_Srce {
  background: url("/resources/img/system/Srce.png");
}

#interface_Form_Calling_a_King_Button_Kara {
  background: url("/resources/img/system/Kara.png");
}

#interface_Form_Calling_a_King_Button_Kriz {
  background: url("/resources/img/system/Kriz.png");
}

#interface_Form_Calling_a_King_Button_Pik {
  background: url("/resources/img/system/Pik.png");
}

#interface_Form_GameStartReady {
  position: relative;
  top: 10%;
  left: -50%;
  padding: 5%;
  margin: 5%;
  z-index: 9;
  overflow: hidden;
  width: 30rem;
  border: 0.1rem solid silver;
  border-radius: 0.5em;
  color: #fefefe;
  font-size: 1.2em;
}

::-webkit-scrollbar-track {
  box-shadow: inset 0 0 2px grey;
  border-radius: 1%;
}

#LobbyHeader {
  position: absolute;
  top: 0px;
  left: 30%;
  width: 40%;
  margin: 0px;
  z-index: 2;
  float: left;
  font-family: 'Salsa', cursive;
  color: black;
  text-align: center;
}

  #LobbyHeader h1 {
    font-size: 2.5rem;
    text-shadow: 3px 3px 3px white;
    margin: 1rem;
  }

  #LobbyHeader h2 {
    font-size: 2rem;
    text-shadow: 3px 3px 3px white;
    margin: 1rem;
  }

#Lobby {
  position: absolute;
  top: 21%;
  height: 65%;
  left: 0px;
  width: 100%;
  padding: 0px;
  z-index: 9;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-color: white silver;
  scrollbar-width: thin;
}

#interface_NewGameDialog_wraper {
  display: none;
  height: 100px;
}

#interface_NewGameDialog {
  position: relative;
  top: 10vh;
  left: -50%;
  height: auto;
  padding: 1rem 0rem 1rem 1rem;
  margin: 0px;
  color: whitesmoke;
  border: 5px solid white;
  border-radius: 5px;
  background-color: rgba(240, 240, 240, 1);
  opacity: 100;
  font-size: 1.5vmin;
  min-width: 60rem;
}

  #interface_NewGameDialog .BiddingFormeOptions label {
    font-size: 1.1rem;
    float: left;
    width: 7rem;
  }

  #interface_NewGameDialog input[type=text] {
    display: inline-block;
    box-sizing: content-box;
    padding: 0.2rem;
    border: 1px solid #b7b7b7;
    border-radius: 3px;
    font-size: 1rem;
    text-align: center;
    text-indent: -2px;
    background: rgba(255,255,255,8);
    box-shadow: 2px 2px 2px 0 rgba(0,0,0,0.2) inset;
    text-shadow: 1px 1px 0 rgba(255,255,255,0.66);
    /*transition: all 200ms cubic-bezier(0.42, 0, 0.58, 1);*/
    bottom: 0;
    width: 20rem;
  }

#Lobby_right {
    height: auto;
    width: 98%;
    float: left;
    padding: 1%;
    overflow-y: auto;
    scrollbar-color: white silver;
    scrollbar-width: thin;
    scrollbar-base-color: white;    
}

div.Lobby_right_PrikazIgre {
    position:relative;
    float: left;
    height: auto;
    width: 12rem;
    padding: 0.1rem 0.2rem;
    border-radius: 5px;
    margin: 0.25rem;
    /* background-color:rgba(138, 103, 0,0.9) ;border:2px solid white; */
    background-color: rgba(245,245,245,0.9);
    border: 3px solid white;
    box-shadow: 0.2rem 0.2rem 0.2rem 0.2rem rgba(51, 51, 51, 0.51);
    font-size: 1em;
}

div.TurnamentGameFinished {
  background-color: rgba(24,24,24,0.7);
  color: white;
}

.ListOfTournamentGamesPlayerImage {
  height: 2.5rem;
  width: 2.5rem;
}

span.Lobby_right_PrikazIgre {
  font-size: 1rem;
  text-overflow: clip;
}

table.Lobby_right_PrikazIgre {
    height: auto;
    width: 100%;
    border: solid 0.1rem white;
    border-radius: 0.3rem;
    text-align: center;
    align-content: center;
    padding: 0.3rem 0.3rem 0.05rem 0.3rem;
    margin: 0.1rem auto;
    box-shadow: 0.05rem 0.05rem 0.05rem 0.05rem rgba(51, 51, 51, 0.51);
}

table.Lobby_right_PrikazIgreTournament {
  height: auto;
  width: 100%;
  border: solid 1px grey;
  border-radius: 5px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  align-content: center;
  border-collapse: collapse;
}

img.Lobby_right_PrikazIgre {
    width: 3em;
    height: 3em;
    box-shadow: 0.05rem 0.05rem 0.05rem 0.05rem rgba(51, 51, 51, 0.51);    
}

tr.TurnamentGameMyPlayer {
  background: rgba(164, 255, 109, 0.61);
  color: black;
}

.Width100perc {
  width: 100%;
  border-radius: 5px;
}

.FormHeader {
  font-family: 'Salsa', cursive;
  font-weight: normal;
  text-align: center;
  margin: 1%;
  padding: 1%;
  font-size: 2rem;
  color: var(--Header_color);
}

.cursorPointer {
    cursor:pointer;
}
.Player0 {
    display: block;
    /*padding: 0.2rem 0.4rem;
    margin: 0.4rem;
    border: 0.3rem double var(--p0_color);*/
    padding: 0.5rem;
    margin: 0.4rem;
    border-width: 0.1rem;
    border-style: solid;
    border-color: var(--p0_color);
    border-radius: 0.5rem;
    /*background: linear-gradient(#fefefe,#dedede,#fefefe 60%);*/
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(246,246,246,1) 47%, rgba(237,237,237,1) 100%);
    color: black;
}

  .Player0.ActivePlayer {
    background: linear-gradient(to bottom, rgba(210,255,82,1) 0%, rgba(145,232,66,1) 100%);
  }

.Player1 {
    display: block;
    padding: 0.2rem 0.4rem;
    margin: 0.4rem;
    border: 0.3rem double var(--p1_color);
    border-radius: 0.5rem;
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(246,246,246,1) 47%, rgba(237,237,237,1) 100%);
    color: black;
}

  .Player1.ActivePlayer {
    background: linear-gradient(to bottom, rgba(210,255,82,1) 0%, rgba(145,232,66,1) 100%);
  }

.Player2 {
    display: block;
    padding: 0.2rem 0.4rem;
    margin: 0.4rem;
    border: 0.3rem double var(--p2_color);
    border-radius: 0.5rem;
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(246,246,246,1) 47%, rgba(237,237,237,1) 100%);
    color: black;
}

  .Player2.ActivePlayer {
    background: linear-gradient(to bottom, rgba(210,255,82,1) 0%, rgba(145,232,66,1) 100%);
  }

.Player3 {
    display: block;
    padding: 0.2rem 0.4rem;
    margin: 0.4rem;
    border: 0.3rem double var(--p3_color);
    border-radius: 0.5rem;
    background: linear-gradient(to bottom, rgba(255,255,255,1) 0%, rgba(246,246,246,1) 47%, rgba(237,237,237,1) 100%);
    color: black;
}

  .Player3.ActivePlayer {
    background: linear-gradient(to bottom, rgba(210,255,82,1) 0%, rgba(145,232,66,1) 100%);
  }

.Player0_GameInfo {
  margin: 0;
  padding: 0.1rem;
  background: linear-gradient(#fefefe,#dedede,#fefefe 60%);
  color: var(--p0_color);
}

.Player1_GameInfo {
  margin: 0;
  padding: 0.1rem;
  background: linear-gradient(#fefefe,#dedede,#fefefe 60%);
  color: var(--p1_color);
}

.Player2_GameInfo {
  margin: 0;
  padding: 0.1rem;
  background: linear-gradient(#fefefe,#dedede,#fefefe 60%);
  color: var(--p2_color);
}

.Player3_GameInfo {
  margin: 0;
  padding: 0.1rem;
  background: linear-gradient(#fefefe,#dedede,#fefefe 60%);
  color: var(--p3_color);
}

.ActivePlayer {
  /*position: relative;
    display: block;
        */
  /*background: rgba(200, 255, 100, 0.75);*/
  background: linear-gradient(45deg, rgba(244,254,226,1) 0%,rgba(229,253,187,1) 0%,rgba(214,249,149,1) 0%,rgba(165,248,32,1) 40%);
}
/*.ActivePlayer:before {
        /*content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 0;
        right: 0;
        background-color:lawngreen;*/
/*background: url("/resources/img/system/pulse.png") repeat-x;
        background-size: 50% 80%;
        background-position-y: 220%;*/
/*animation: ActivSlideIn 4s linear 0.3s infinite reverse both running;
        background: linear-gradient(90deg, #EE7752, #E73C7E, #23A6D5, #23D5AB);
        background: radial-gradient(circle closest-side,#D2FF52, transparent ) no-repeat;
        
        background-position-y: 100%;*/
/*animation: bg-pos-move 4s infinite linear; alternate
        opacity: 0.25;
    }
    */
@keyframes bg-pos-move {
  100% {
    background-position-x: 100%;
  }
}

@keyframes ActivSlideIn {
  0% {
    opacity: 0;
  }

  25% {
    opacity: 0.5;
  }

  50% {
    opacity: 0;
  }

  75% {
    opacity: 0.5;
  }

  100% {
    opacity: 0;
  }
}

@keyframes Gradient {
  100% {
    background-position: 100% 0;
  }
}

form.ActivePlayer {
  border-color: red;
}

.left {
  text-align: left;
  float: left;
}

.right {
  text-align: right;
  float: right;
}

.center {
  text-align: center;
}

.interface_Form {
  position: relative;
  top: 2%;
  left: -50%;
  padding: 1%;
  margin: 1%;
  z-index: 9;
  overflow: hidden;
  width: 40rem;
  border: 0.1rem solid grey;
  border-radius: 0.5em;
  background: linear-gradient(to left bottom, rgb(108, 75, 46), #1e130c);
  color: #ffefb2;
  font-size: 1.2em;
}


#interface_LoginIn_wraper .interface_Form {
  background: whitesmoke;
}

.BiddingFormeOptions h1, h2, h3, h4 {
  text-align: center;
}
/*Biding style button*/
.BiddingFormeOptions input[type="button"] {
  background: rgb(118,216,26);
  background: linear-gradient(to bottom, rgba(118,216,26,1) 27%,rgba(192,255,19,1) 95%,rgba(192,255,19,1) 100%);
  /*background-color: #3ace3a;*/
  border: 0.08rem solid var(--Header_color);
  display: block;
  margin: 0.5rem 1rem;
  font: 1rem 'Roboto Condensed', sans-serif;
  color: black;
  cursor: pointer;
  width: 10rem;
  padding: 0.3rem;
  float: right;
  border-radius: 0.3rem;
}

  .BiddingFormeOptions input[type="button"]:disabled {
    display: none;
    visibility: hidden;
  }

  .BiddingFormeOptions input[type="button"]:hover {
    /*background: rgb(210,255,82);*/
    /*background: radial-gradient(ellipse at center,rgb(110, 232, 0) 100%, rgb(87, 144, 0) 0%);*/
    background: rgb(118,216,26);
    background: linear-gradient(to top, rgba(118,216,26,1) 27%,rgba(192,255,19,1) 95%,rgba(192,255,19,1) 100%);
    color: black;
    cursor: pointer;
  }
/*Radio styles*/
.BiddingFormeOptions input[type="radio"] {
  display: none;
}

  .BiddingFormeOptions input[type="radio"] + label {
    color: silver;
    display: block;
    position: relative;
    padding-left: 2rem;
    padding-bottom: 0.6rem;
    margin: 0.1rem 0.1rem;
    cursor: pointer;
    float: left;
  }

.BiddingFormeOptions label:hover {
  opacity: 0.4;
}

.BiddingFormeOptions input[type="radio"] + label:last-child {
  margin-bottom: 0;
}

.BiddingFormeOptions input[type="radio"] + label:before {
  content: '';
  display: block;
  width: 1rem;
  height: 1rem;
  border: 0.075rem solid silver;
  position: absolute;
  left: 0;
  /*bottom: 0.6rem;*/
  opacity: .5;
  transition: all .12s, border-color .08s;
}

.BiddingFormeOptions input[type="radio"]:checked + label:before {
  width: 0.4rem;
  height: 0.8rem;
  bottom: 0.9rem;
  left: 0.4rem;
  border-radius: 0;
  opacity: 1;
  border-color: var(--Header_color);
  border-top-color: transparent;
  border-left-color: transparent;
  -webkit-transform: rotate(35deg);
  transform: rotate(35deg);
}

.BiddingFormeOptions input[type="radio"]:checked + label {
  opacity: 1;
  color: var(--Header_color);
}

.BiddingFormeOptions .radioGroup {
  width: 100%;
  padding-top: 0.3rem;
  padding-left: 0.3rem;
}

.BiddingFormeOptions label {
  width: 10rem;
}
/*checkbox styles*/
.BiddingFormeOptions input[type="checkbox"] {
  display: none;
}

  .BiddingFormeOptions input[type="checkbox"] + label {
    color: silver;
    display: block;
    position: relative;
    padding-left: 2rem;
    padding-bottom: 0.5rem;
    margin: 0.5rem 0.1rem;
    cursor: pointer;
    float: left;
  }

    .BiddingFormeOptions input[type="checkbox"] + label:last-child {
      margin-bottom: 0;
    }

    .BiddingFormeOptions input[type="checkbox"] + label:before {
      content: '';
      display: block;
      width: 1rem;
      height: 1rem;
      border: 0.1rem solid silver;
      position: absolute;
      left: 0;
      bottom: 0.6rem;
      opacity: 1;
      transition: all .12s, border-color .08s;
    }

  .BiddingFormeOptions input[type="checkbox"]:checked + label:before {
    width: 0.4rem;
    height: 0.8rem;
    bottom: 0.9rem;
    left: 0.4rem;
    border-radius: 0;
    opacity: 1;
    border-color: var(--Header_color);
    border-top-color: transparent;
    border-left-color: transparent;
    -webkit-transform: rotate(35deg);
    transform: rotate(35deg);
  }

.BiddingFormeOptions input[type="radio"]:checked + label + label:before {
  opacity: 1;
  color: var(--Header_color);
}

.BiddingFormeOptions input:disabled + label {
  display: none;
  visibility: hidden;
}
/*checkbox styles*/
#interface_Form_GameStartReady input[type="checkbox"] {
  display: none;
}

  #interface_Form_GameStartReady input[type="checkbox"] + label {
    display: block;
    position: relative;
    padding-left: 2rem;
    padding-bottom: 0.5rem;
    margin: 0.5rem 1rem;
    /*font: 1rem 'Open Sans', Arial, sans-serif;*/
    cursor: pointer;
  }

    #interface_Form_GameStartReady input[type="checkbox"] + label:last-child {
      margin-bottom: 0;
    }

    #interface_Form_GameStartReady input[type="checkbox"] + label:before {
      content: '';
      display: block;
      width: 1rem;
      height: 1rem;
      border: .1rem solid grey;
      position: absolute;
      left: 0;
      bottom: 0.6rem;
      opacity: 0.8;
      -webkit-transition: all .12s, border-color .08s;
      transition: all .12s, border-color .08s;
    }

  #interface_Form_GameStartReady input[type="checkbox"]:checked + label:before {
    color: var(--Header_color);
    font: 0.5rem;
    width: 0.4rem;
    height: 0.8rem;
    bottom: 0.9rem;
    left: 0.4rem;
    border-radius: 0;
    opacity: 1;
    border-top-color: transparent;
    border-left-color: transparent;
    -webkit-transform: rotate(35deg);
    transform: rotate(35deg);
  }

#interface_Form_GameStartReady .radioGroup {
  margin-top: 0.5rem;
  border: 0.08rem solid silver;
  border-radius: 0.3rem;
}


/* The Modal (background) */
.modal {
  display: block; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 11111; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  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 */
.modal-content {
  /*position: relative;
    background-color: rgba(241, 222, 150, 0.98);
    margin: auto;
    padding: 1rem;
    border: 1px solid #888;
    border-radius: 2rem;
    width: 80%;
    max-width:40rem;  
        */
  padding: 1%;
  margin: 0 auto;
  overflow: hidden;
  width: 38rem;
  border: 0.1rem solid grey;
  border-radius: 0.5em;
  background: linear-gradient(to left bottom, rgb(108, 75, 46), #1e130c);
  color: #ffefb2;
  font-size: 1.2em;
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s
}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {
    top: -300px;
    opacity: 0
  }

  to {
    top: 0;
    opacity: 1
  }
}

@keyframes animatetop {
  from {
    top: -300px;
    opacity: 0
  }

  to {
    top: 0;
    opacity: 1
  }
}

/* The Close Button */
.close {
  float: right;
  font-size: 3rem;
  font-weight: bold;
  position: relative;
  top: -1.5rem;
  right: 0rem;
}

  .close:hover,
  .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
  }

  .close img {
    width: 1.3rem;
    height: 1.3rem;
    /*padding-right: 1rem;*/
  }

    .close img:hover {
      opacity: 0.8;
    }

.modal-header {
  /*background-color: rgba(255, 239, 178, 0.82);
    color: white;*/
  /*background-color: whitesmoke;*/
}

.modal-body {
  min-height: 4rem;
  padding: 0.5rem 0.5rem;
}

.modal-footer {
  /*background-color: rgba(255, 239, 178, 0.82);
    color: white;*/
}

.DodajPrijateljaDiv {
    z-index: 1000;
    position: absolute;
    background: #ffefb2;
    border: medium black solid;
    box-shadow: 3px 3px 9px 3px #000000;
    display: block;
    font: 1.2rem 'Roboto Condensed', sans-serif;
    text-align: center;
    color: black;
    cursor: pointer;
    /*width: 10rem;  */
    float: right;
    border-radius: 0.5rem;
    padding: .1rem .2rem .2rem .2rem;
}
.btnAddToList {
    background-size: contain;
    width: 3rem;
    height: 3rem;
    border-width: medium;
    border-color: dimgrey;
    border-style: groove;
    float: left;
    margin: 0.4rem;
    border-radius: 50%;
    box-shadow: 1px 1px 1px 1px #000000;
}
    .btnAddToList:hover {
        width: 3.2rem;
        height: 3.2rem;
        margin: 0.3rem;
    }
.btnAddToWhiteList {
    background: green url(../resources/img/system/ThumbUp3.png) center;
    background-size: contain;
}
.btnAddToBlackList {
    background: red url(../resources/img/system/ThumbUp3.png) center;
    background-size: contain;
    transform: rotate(180deg);
}
.btnAddToNeutralList {
    background: yellow url(../resources/img/system/ThumbUp3.png) center;
    background-size: contain;
    transform: rotate(90deg);
}
.PlayerOnWhiteList::after {
    content: "";
    position: absolute;
    width: 2rem;
    height: 2rem;
    bottom: 0px;
    right: 0px;
    color: white;
    font-size: 0.7rem;
    padding: 0;
    text-align: center;
    vertical-align: middle;
    margin: 0.3rem;
    background: url(../resources/img/system/whitelisted.png) center no-repeat;
    background-size: cover;
}
.PlayerOnBlackList::after {
    content: "";
    position: absolute;
    width: 2rem;
    height: 2rem;
    bottom: 0px;
    right: 0px;
    color: white;
    font-size: 0.7rem;
    margin: 0.3rem;
    text-align: center;
    vertical-align: middle;
    padding: 0px;
    margin: 0px;
    background: url(../resources/img/system/blacklisted.png) center no-repeat;
    background-size: cover;
}
.PlayerOnWhiteListOnGameList::after {
    content: "";
    position: absolute;
    width: 1rem;
    height: 1rem;
    top: 0px;
    right: 0px;
    background: url(../resources/img/system/whitelisted.png) center no-repeat;
    background-size: cover;
}

.PlayerOnBlackListOnGameList::after {
    content: "";
    position: absolute;
    width: 1rem;
    height: 1rem;
    top: 0px;
    right: 0px;    
    background: url(../resources/img/system/blacklisted.png) center no-repeat;
    background-size: cover;
}
.GameWhiteListed::after {
    content: "";
    position: absolute;
    width: 1.3rem;
    height: 1.3rem;
    top: 0px;
    right: 0px;
    background: url(../resources/img/system/whitelisted.png) center no-repeat;
    background-size: cover;
}
.GameAIListed::after {
    content: "";
    position: absolute;
    width: 1.3rem;
    height: 1.3rem;
    top: 0px;
    right:0px;
    background: url(../resources/img/system/AI_Profile.png) center no-repeat;
    background-size: cover;
}
.GameNoUnwantedListed::after {
    content: "";
    position: absolute;
    width: 1.3rem;
    height: 1.3rem;
    top: 0px;
    right: 0px;
    background: url(../resources/img/system/blacklisted.png) center no-repeat;
    background-size: cover;
}