body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    padding: 0px;
    margin: 0px;
}

#hlavicka {
    background-color: #39b3e6;
    background-image: url("img/lermas-logo-white.png");
    background-repeat: no-repeat;
    background-position: 10px 10px;
    text-align: center;
    color: #ffffff;
    padding-left: 130px;
    padding-bottom: 10px;
    padding-top: 20px;
    margin: 0px;
    margin-top: 15px;
    border-bottom: 1px solid #303030;
}

#clockline {
    padding-left: -130px;
    text-align: right;
}

#maintitle, #maintitle a:link, #maintitle a:visited {
    font-size: 40px;
    font-weight: bold;
    text-decoration: none;
    color: white;
}

.mainbox {
    max-width: 1140px;
    margin: 20px;
}

.question {
    margin-bottom: 20px;
    margin-top: 20px;
    font-weight: bold;
}

.pictquery {
    height: 600px;
    position: relative;
}

.pictquery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
}

.innerform {
    display: block;
    position: relative;
    z-index: 1000;
    background-color: rgba(0,0,0,60%);
    color: white;
    float: right;
    left: auto;
    text-align: center;
    font-size: 30px;
    width: 50%;
    margin-top: 60px;
    padding: 20px;
    right: 60px;
}

@media only screen and (max-width: 800px) {

    #hlavicka {
        background-image: none;
        padding-left: 0px;
    }

    .innerform {
        width: 92%;
        right: auto;
    }

    .mainbox {
        margin-left: 0px;
    }
}

.innerform input {
    margin-left: auto;
    margin-right: auto;
    margin-top: 30px;
    margin-bottom: 30px;
    width: 270px;
    height: 50px;
    font-size: 30px;
    text-align: center;
}

small {
    font-size: 14px;
}

form {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

label {
    display: flex;
    cursor: pointer;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    margin-bottom: 0.375em;
}

label input[type="radio"] {
    position: absolute;
    left: -9999px;
}

label input[type="radio"]:checked+span {
    background-color: #b1e8ff;
}

label input[type="radio"]:checked+span:before {
    box-shadow: inset 0 0 0 0.4375em #39b3e6;
}

label span {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 0.375em 0.75em 0.375em 0.375em;
    border-radius: 30px;
    transition: 0.25s ease;
}

label span:hover {
    background-color: #d9eff8;
}

label span:before {
    display: flex;
    flex-shrink: 0;
    content: "";
    background-color: #ffffff;
    width: 1.5em;
    height: 1.5em;
    border-radius: 50%;
    margin-right: 15px;
    transition: 0.25s ease;
    box-shadow: inset 0 0 0 0.125em #39b3e6;
}


input[type="submit"], input[type="button"], button {
    margin: auto;
    font-size: 18px;
    color: white;
    border: 3px solid #ffffff;
    height: 60px;
    width: 250px;
    border-radius: 25px;
    background-color: #39b3e6;
    margin-bottom: 20px;
  }

  input[type="submit"]:hover, input[type="button"]:hover, button:hover {
    border-color: #303030;
    cursor: pointer;
  }

  td, th {
    padding:5px;
  }

td input[type="submit"] {
    height: auto;
    width: auto;
    margin-bottom: 0px;
  }

  td input[type="text"] {
    border-color: #303030;
    font-size: large;
  }

  select {
    border-color: #303030;
    border-width: 2px;
    font-size: xx-large;
	vertical-align: middle;
  }

  #admindiv {
    margin: auto;
    width: fit-content;
  }