html, body {
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    font-size: 1.2em;
    margin: 0;    
    padding: 0;
    color: white;
}

body {
    padding-bottom: 40px;
    background-color:  rgb(46, 96, 45);
    opacity: 1;
    background-image:  repeating-linear-gradient(45deg, #2b4d2b 25%, transparent 25%, transparent 75%, #2b4d2b 75%, #2b4d2b), repeating-linear-gradient(45deg, #2b4d2b 25%, #305630 25%, #305630 75%, #2b4d2b 75%, #2b4d2b);
    background-position: 0 0, 6px 6px;
    background-size: 12px 12px;
}



#app {
    background-image: url("images/wood01.jpg");
    max-width: 1280px;
    position: relative;
    width: 100%;
}


@media (min-width: 1280px) {
    #app {
        box-shadow: 0px 0px 30px black;
        border-radius: 20px;
        margin: auto;   
        padding-bottom: 1em;    
    }


    h1 {
        border-radius: 20px 20px 0px 0px;
    }

    @media (min-height: 1024px) {
        body {
            margin-top: 1.5em;
        }
    }    
}


h1 {
    background-color: rgb(37, 70, 30);
    color: rgb(255, 255, 255);
    margin-top: 0;
    margin-bottom: 0;
    padding: 0.1em;
    text-shadow: 1px 1px 10px rgba(0,0,0,0.5);
}

h2 {
    background-color: rgb(45, 85, 45, 0.5);
    color: rgb(167, 167, 167);
    font-size: 1.0rem;
    padding: 8px;
    margin: 0;
}

h3 {
    background-color: rgb(99, 56, 1, 0.5);
    color: rgb(211, 211, 211);
    font-size: 0.95rem;
    padding: 7px;
    margin: 0;
}

ul {
    color: white;
    text-align: left;
    padding-left: 10px;
    list-style-type: none;
}

button, .button, input[type=text] {
    font-size: 1em;
    border-radius: 1ex;
    padding: 0.8ex 1.5ex;
    border: 1px solid transparent;
}



button, .button {
    background-color: rgb(24, 48, 24);
    color: white;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    border: 1px solid transparent;
    margin-left: 1ex;
    margin-right: 1ex;
}

.small-btn {
    font-size: 14px;
}

button:hover, .button:hover {
    cursor: pointer;
    border: 1px solid white;
    background-color: rgba(45, 85, 45, 0.5);
}

form {
    background-color: transparent;
    margin-left: 0px;
    text-align: center;
}

input {
    border: white;
    border-bottom: 1px solid gray;
    outline: 0;
    border-radius: 0.2rem;
    padding: 5px;
    transition: border-color 0.2s;
}

select {
    font-size: 1em;
    background-color: transparent;
    color: white;
}

[v-cloak] > * {
    display: none
}

[v-cloak]::before {
    color: white;
    content: "Lade Skat-App...";
}

.self {
    color: rgb(255, 255, 255);
    font-weight: bold;
}

a {
    text-decoration: none;
    color: white;
}

a:hover {
    font-weight: bold;
}

.button-bar {
    padding: 20px;
}

#name {
    position: absolute;
    top: 8px;
    right: 35px;
    color: white;
}


#status-bar {
    position: fixed;
    bottom: 0;   
    left: 0;
    right: 0;
    height: 20px;
    background-color: black;
    color: rgb(19, 161, 0);
    font-family: monospace;
    font-size: 10px;
    padding: 0;
    max-width: 100vw;
    width: 100vw;
}

#status-bar-content {
    padding: 4px;
    padding-left: 5px;
    padding-right: 5px;
}

#last-event {
    float: left;
}

#status-bar-right {
    float: right;
}

.versionMismatch {
    color: red;
    font-weight: bold;
}

i.server-status, i.login-status {
    display: inline-block;
    width: 1ex;
    height: 1ex;
    background-color: red;
    border: 1px solid white;
    margin-bottom: 0ex;
    margin-left: 0.3ex;
    margin-right: 0.3ex;
}

i.connected, i.true {
    background-color: green;
}

i.connecting {
    background-color: yellow;
}

#login-field {
    position: absolute;
    bottom: 5px;
    right: 5px;
}

#login-field img {
    vertical-align: bottom;
    margin-left: 0.5ex;
}

.error-message {
    background-color: rgba(255, 0, 0, 0.507);
    color: white;
    font-weight: bold;
    padding: 5px;
}

.error-message.ingame {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1em;
}

.z0 {
    z-index: 0;
}

.z1 {
    z-index: 1;
}

.z2 {
    z-index: 2;
}

.z3 {
    z-index: 3;
}

table {
    color: white;
    border-collapse: collapse;
    margin: 1em;
    margin-top: 2em;
    margin-bottom: 2em;
}


tr:first-child {
    border-top: 1px solid white;
    border-bottom: 1px solid white;
}

tr:last-child {
    border-bottom: 1px solid white;
}


th, td {
    border: 1px solid white;
    border-top: 0;
    border-bottom: 0;
    padding: 0.4em 1em;
    text-align: left;
}

th {
    background-color: rgba(255, 255, 255, 0.1);
}

.radio {
    border-radius: 1ex;
    display: inline-block;
    margin: 0.5ex;
    padding: 1ex;
}

input[type='checkbox']:checked,
input[type='checkbox']:not(:checked),
input[type='radio']:checked,
input[type='radio']:not(:checked) {
  background: transparent;
  position: relative;
  visibility: hidden;
  margin-top: 2em;
  margin-bottom: 2em;
  padding:0;
}

input[type='checkbox'] + label,
input[type='radio'] + label {
  cursor: pointer;
  padding: 1ex;
  border-radius: 1ex;
  white-space: nowrap;
}

input[type='checkbox'] + label:hover,
input[type='radio'] + label:hover {
    background-color: rgba(0, 63, 10, 0.8);
}


input[type='checkbox']:checked  + label,
input[type='radio']:checked  + label {
  background-color:rgba(0,0,0,0.2) !important;
  box-shadow: inset 2px 2px 2px 1px rgb(0, 0, 0) !important;
}

.radio:hover {
    background-color: rgba(0, 63, 10, 0.8);
    cursor: pointer;
}

label {
   position: relative;
}
  
label span[role=tooltip] {
   display: none;
}
  
label:hover span[role=tooltip] {
    display: block;  
    text-align: left;
    white-space: normal;
    position: absolute; 
    bottom: 2em;
    left: -6em;
    width: 20em;
    max-width: 100vw;
    padding: 0.5em;
    z-index: 100;
    color: #000; 
    background-color: #ffebe6;
    border-radius: 1ex;
    box-shadow: 5px 5px 10px rgba(0,0,0,0.5);
  }
  
  