@import url('https://fonts.googleapis.com/css2?family=Viga&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans+Condensed:wght@700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css');

body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 0.9em;
  line-height: 20px;
  background: #333333;
  color: #cecece;
  padding-left: 320px;
  padding-top: 25px;
}

.setting {
  clear: both;
  margin: 5px 0;
  text-align: left;
  line-height: 26px;
}

.center {
  text-align: center;
}

#settingsVorGewinnermittlung {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  padding: 10px 10px 5px 10px;
  margin: 0 5px;
  margin-bottom: 20px;
}
#settingsNachGewinnermittlung {
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  margin: 20px 0 15px 0px;
  padding: 5px 10px;
}

.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
  margin-right: 6px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

#gewinnerKopiert {
  transition: all 1.5 ease-in-out;
}

.slider {
  position: absolute;
  cursor: pointer;
  border-radius: 50px;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #121212;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: '';
  border-radius: 50%;
  height: 15px;
  width: 15px;
  left: 4px;
  bottom: 4px;
  background-color: #666666;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #121212;
}

input:focus + .slider {
  box-shadow: 0 0 1px #121212;
}

input:checked + .slider:before {
  -webkit-transform: translateX(18px);
  -ms-transform: translateX(18px);
  transform: translateX(18px);
  background-color: #daa205;
}

.teilnehmerListe {
  background: #222222;
  text-align: left;
  font-size: 15px;
  line-height: 150%;
  min-width: 220px;
  position: absolute;
  top: 0;
  left: 0;
  min-height: 100vh;
  transition: opacity 600ms, visibility 600ms;
}

.teilnehmerListe-Headline {
  color: #daa205;
  background: #111111;
  font-size: 16px;
  padding: 5px 34px;
  font-weight: bold;
}

.teilnehmer {
  opacity: 0.8;
  font-size: 14px;
  line-height: 120%;
  padding: 10px;
  display: grid;
  grid-template-columns: min-content auto min-content min-content;
}

.teilnehmer > div {
  padding: 3px;
}

.teilnehmer-platzierung {
  text-align: right;
}

.teilnehmer-name {
  font-weight: bold;
}
.teilnehmer-gold {
  text-align: right;
  font-size: 11px;
  color: #cecece;
  white-space: nowrap;
}

.teilnehmer-topitem {
  visibility: visible;
  font-size: 11px;
  background: lightslategray;
}
.teilnehmer-topitem a {
  color: #fff;
  text-decoration: none;
}
.teilnehmer-topitemgold {
  text-align: right;
  font-size: 11px;
  color: #cecece;
  white-space: nowrap;
}
.dark {
  z-index: -1;
  margin-top: -5px;
  background: #151515;
}
/* grid-column: 2 / span 2;  */

.hidden {
  display: none;
  transition: opacity 600ms, visibility 600ms;
}
.showing {
  display: inline-block;
}

.goldcoin {
  position: relative;
  top: 1px;
  max-height: 10px;
  margin-left: 2px;
}

.valueSettings {
  display: grid;
  grid-template-columns: auto min-content;
  text-align: right;
}

.valueSettings span {
  line-height: 36px;
}

.valueSettingsGewinner span {
  line-height: 40px;
  font-size: 24px;
  font-weight: bold;
  color: #daa205;
}

.valueInputIgnore {
  background: #121212;
  color: #cecece;
  border: 1px solid #121212;
  border-radius: 6px;
  font-size: 18px;
  font-weight: bold;
  font-family: 'Open Sans Condensed', Arial, Helvetica, sans-serif;
  padding: 5px;
  width: 50px;
  text-align: center;
  margin-left: 10px;
  margin-bottom: 10px;
  line-height: normal;
}

.valueInputGewinner {
  background: #121212;
  color: #cecece;
  border: 1px solid #daa205;
  border-radius: 6px;
  font-size: 22px;
  font-weight: bold;
  font-family: 'Open Sans Condensed', Arial, Helvetica, sans-serif;
  padding: 5px;
  width: 50px;
  text-align: center;
  margin-bottom: 5px;
  margin-left: 10px;
  line-height: normal;
}

input[type='button'] {
  border: none;
  outline: none;
}

#derWichtigste {
  width: 100%;
  cursor: pointer;
  background: #daa205;
  color: #121212;
  font-size: 24px;
  font-family: 'Viga';
  outline: none;
  padding: 10px 25px;
  text-align: center;
  border: none;
  border-radius: 26px;
  margin-bottom: 10px;
}
#derWichtigste:hover {
  background: #121212;
  color: #daa205;
}

#derWichtigste:disabled,
#derWichtigste:hover:disabled {
  background: #121212;
  color: #666666;
  cursor: initial;
}

#derMountButton {
  width: 85%;
  cursor: pointer;
  background: #82b0e8 url(mount.png) left center no-repeat;
  background-size: contain;
  border: 2px solid #82b0e8;
  color: #121212;
  font-size: 18px;
  font-family: 'Viga';
  outline: none;
  margin: 5px 0;
  padding: 5px 10px 5px 42px;
  text-align: left;
  border-radius: 26px;
}
#derMountButton:hover {
  background: #121212 url(mount.png) left center no-repeat;
  background-size: contain;
  color: #82b0e8;
}
#derMountButton:disabled,
#derMountButton:hover:disabled {
  background: #121212;
  color: #666666;
  cursor: initial;
}

#derGametimeButton {
  width: 85%;
  cursor: pointer;
  background: #b29671 url(gametime.png) left center no-repeat;
  background-size: contain;
  border: 2px solid #b29671;
  color: #121212;
  font-size: 18px;
  font-family: 'Viga';
  outline: none;
  padding: 5px 10px 5px 42px;
  margin: 5px 0;
  text-align: left;
  border-radius: 26px;
}
#derGametimeButton:hover {
  background: #121212 url(gametime.png) left center no-repeat;
  background-size: contain;
  color: #b29671;
}
#derGametimeButton:disabled,
#derGametimeButton:hover:disabled {
  background: #121212;
  color: #666666;
  cursor: initial;
}

#derGewinnButton {
  width: 85%;
  cursor: pointer;
  background: #ebc969 url(gewinn.png) left center no-repeat;
  background-size: contain;
  border: 2px solid #ebc969;
  color: #121212;
  font-size: 18px;
  font-family: 'Viga';
  outline: none;
  padding: 5px 10px 5px 42px;
  margin: 5px 0;
  text-align: left;
  border-radius: 26px;
}
#derGewinnButton:hover {
  background: #121212 url(gewinn.png) left center no-repeat;
  background-size: contain;
  color: #daa205;
}
#derGewinnButton:disabled,
#derGewinnButton:hover:disabled {
  background: #121212;
  color: #666666;
  cursor: initial;
}

#derGametimeTicketButton {
  width: 65%;
  cursor: pointer;
  background: #6f9953;
  color: #121212;
  font-size: 13px;
  font-family: 'Viga';
  outline: none;
  padding: 5px 10px;
  text-align: center;
  margin: 10px 0;
  border: none;
  border-radius: 26px;
}
#derGametimeTicketButton:hover {
  background: #121212;
  color: #6f9953;
}
#derGametimeTicketButton:disabled,
#derGametimeTicketButton:hover:disabled {
  background: #121212;
  color: #666666;
  cursor: initial;
}

#derReset {
  cursor: pointer;
  background: #121212;
  color: #fff;
  font-size: 14px;
  letter-spacing: 2px;
  outline: none;
  padding: 5px 15px;
  text-align: center;
  border: none;
  border-radius: 6px;
}
#derReset:hover {
  background: #e45151;
  color: #ffffff;
}
#kopierarea {
  text-align: center;
  margin-top: 25px;
}
#copyButton {
  cursor: pointer;
  background: #53644e;
  color: #fff;
  font-size: 16px;
  width: 70%;
  font-family: 'Viga';
  outline: none;
  padding: 8px 15px;
  text-align: center;
  border: none;
  border-radius: 25px;
}
#copyButton:hover {
  background: #121212;
}

.teilnehmer > div {
  padding: 3px;
}

.punkte {
  background: #222222;
}

#main {
  display: grid;
  grid-template-columns: 300px min-content;
  grid-row-gap: 5px;
  grid-column-gap: 10px;
}

#links {
  background: rgba(0, 0, 0, 0.3) url(header.jpg) top left no-repeat;
  padding: 115px 15px 10px 15px;
  text-align: center;
  border-radius: 5px;
  position: relative;
}

#rechts {
  background: rgba(0, 0, 0, 0.4) url(goblin.png) bottom right no-repeat;
  padding: 10px;
  min-width: 450px;
  border-radius: 5px;
  position: relative;
}

.pug {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translateY(-50%) translateX(-50%);
  border: 1px solid #121212;
  max-height: 80px;
}

#textarea {
  background: #121212;
  color: #cecece;
  border: 1px solid #daa205;
  border-radius: 6px;
  width: 160px;
  margin: 15px;
  padding: 10px;
  resize: none;
}

.gewinner-frame {
  color: #cecece;
  font-family: 'Open Sans Condensed', sans-serif;
  font-size: 16px;
  font-weight: bold;
  line-height: 180%;
  font-size: 20px;
  line-height: 30px;
  padding: 5px;
  display: grid;
  grid-template-columns: min-content min-content auto min-content;
  row-gap: 2px;
}

#gewinnerarea .gewinner-position {
  color: #666666;
  font-size: 14px;
  position: relative;
  text-align: center;
  width: 34px;
}

#gewinnerarea .gewinner-nummer {
  color: #daa205;
  text-align: center;
  font-size: 24px;
  padding: 2px 5px 0 10px;
  background: rgba(0, 0, 0, 0.3);
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
  min-width: 24px;
  margin-left: 5px;
}

#gewinnerarea .gewinner-name {
  font-size: 18px;
  text-align: left;
  padding: 2px 5px;
  background: rgba(0, 0, 0, 0.3);
}

#gewinnerarea .gewinner-mount {
  color: #666666;
  background: url(mount.png);
  background-size: contain;
  background-repeat: no-repeat;
  font-size: 14px;
  position: relative;
  text-align: center;
  width: 34px;
  border-radius: 6px;
  text-align: center;
}

#gewinnerarea .gewinner-gametime {
  color: #666666;
  background: url(gametime.png);
  background-size: contain;
  background-repeat: no-repeat;
  font-size: 14px;
  position: relative;
  text-align: center;
  width: 34px;
  border-radius: 6px;
  text-align: center;
}

#gewinnerarea .gewinner-gewinn {
  color: #666666;
  background: url(gewinn.png);
  background-size: contain;
  background-repeat: no-repeat;
  font-size: 14px;
  position: relative;
  text-align: center;
  width: 34px;
  border-radius: 6px;
  text-align: center;
}

#gewinnerarea .gewinner-petpunkte {
  width: 120px;
  text-align: center;
  background: rgba(0, 0, 0, 0.3);
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
  transition: opacity 600ms, visibility 600ms;
}

#gewinnerarea .checkbox {
  height: 15px;
  width: 15px;
  background-color: #eee;
  border-radius: 50%;
  margin: 5px 0 0 5px;
}

#gewinnerarea .checkbox {
  margin: 2px;
}

#gewinnerarea input[type='radio'] {
  opacity: 0;
  position: fixed;
  width: 0;
}

#gewinnerarea label {
  display: inline-block;
  background-color: #3b3b3b;
  padding: 2px 10px;
  color: #bebebe;
  line-height: normal;
  max-width: 45px;
  font-family: 'Open Sans Condensed', sans-serif, Arial;
  font-size: 14px;
  margin: 0 0 0 5px;
  border: 1px solid #444;
  border-radius: 10px;
}

#gewinnerarea label:hover {
  background-color: #666666;
}

#gewinnerarea input[type='radio']:focus + label {
  border: 1px solid #444;
}

#gewinnerarea input[type='radio']:checked + label {
  background-color: #daa205;
  color: #333333;
}

#gewinnerKopiert {
  color: greenyellow;
}

.copyButton {
  background: #353535;
  color: white;
  outline: none;
  border: none;
  padding: 5px 10px;
  border-radius: 6px;
  font-weight: bold;
  width: 140px;
  text-align: center;
  white-space: nowrap;
  font-size: 15px;
  font-family: 'Open Sans Condensed', Arial, Helvetica, sans-serif;
}

.copyButton:hover {
  background: #121212;
  color: #cecece;
  cursor: pointer;
}

.details {
  color: #666666;
  margin: 0;
  margin-top: 20px;
  padding: 7px 0;
  text-align: center;
  border-top: 0px solid rgba(0, 0, 0, 0.2);
  font-weight: normal;
  font-size: 14px;
  font-family: 'Open Sans Condensed', Arial, Helvetica, sans-serif;
}

.details span {
  display: block;
}

/* width */
::-webkit-scrollbar {
  width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
  background: #232323;
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: #464646;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #daa205;
}

.tool_link a {
  display: block;
  position: absolute;
  top: 0px;
  left: 800px;
  padding: 2px 10px 2px 10px;
  background: #daa205;
  color: #232323;
  z-index: 15;
  border-radius: 0 0 10px 10px;
  font-size: 90%;
  font-weight: bold;
  text-decoration: none;
}

.tool_link a:hover {
  background: #121212;
  color: #daa205;
}

#historyArea {
  background: #2a2a2a;
  text-align: right;
  font-size: 14px;
  border-left: 1px solid #121212;
  border-bottom: 1px solid #121212;
  line-height: 150%;
  min-width: 220px;
  padding: 10px;
  position: absolute;
  top: 0;
  right: 0px;
  transition: opacity 600ms, visibility 600ms;
}

.historyArea-Headline {
  color: #dadada;
  background: #181818;
  font-size: 14px;
  text-align: right;
  padding: 5px 10px 5px 25px;
  border-radius: 3px;
  margin-bottom: 5px;
  font-weight: bold;
  position: relative;
}

.historyArea-Headline::before {
  content: '\f0de';
  transform: rotate(90deg);
  font-family: 'Font Awesome 6 Free';
  position: absolute;
  font-size: 10px;
  left: 5px;
}

.historyArea-Headline.aktiv::before {
  transform: rotate(180deg);
  top: 3px;
  left: 8px;
}

.historyArea-Headline:first-child {
  margin-top: 0px;
}

.aktiv {
  background: #6f9953;
  color: white;
}
.historyAreaContent {
  display: none;
  color: #dadada;
  text-align: left;
  padding: 0 15px 15px;
}

.historyAreaContent span {
  font-size: 13px;
  padding: 2px 0;
}

.historyAreaContent:first-child {
  display: block;
}

.historyAreaContent span {
  display: block;
}

#historyListe {
  color: #ababab;
  margin-bottom: 25px;
}

.eraseButton {
  width: 100%;
  text-align: center;
  background: rgb(139, 65, 65);
  color: white;
  padding: 8px 25px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: bold;
}

.eraseButton:hover {
  cursor: pointer;
  border: 2px solid rgb(139, 65, 65);
  background: #222222;
}
