body{
  margin:0;
  font-family: sans;
}

textarea{
    min-width:calc(min(500px,(100vw - 8px)));
    height: 300px;
}

ul.button_list > li {
  display: inline-block;
}

ul.dotless{
    padding-left:5px;
    padding-right:5px;
    list-style:none;
}

a {
  color: #0303ee;
}

.button, .btn{
  display:inline-block;
  padding: 5px;
  padding-left: 10px;
  padding-right: 10px;
  border-radius: 5px;
  background-color: #4b9aff;
  color: white;
  text-decoration: none;
  border: 0 none;
  font-size: inherit;
  margin-top:5px;
}

.button.scary_button {
  background-color: #992727;
}

.button:hover, .btn:hover{
  color: white;
  background-color: #8b42f4;
  cursor: pointer;
}

.button.disabled_button, .button.disabled_button:hover {
  background-color: grey;
  cursor: not-allowed;
}

li.list_clickable:hover{
    cursor: pointer;
    background-color:#ffe7af;
    color:black;
}


h1 {
  margin-top: 0;
  margin-bottom: 0;
  float:left;
}

.report_list{
    padding-left:0;
}

#navbox {
  float: left;
  clear: left;
}

#headline {
  float: right;
  margin-bottom:0;
  margin-top:10px;
}

.sep{
  clear: both;
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAFCAIAAAAL5hHIAAAACXBIWXMAAC4jAAAuIwF4pT92AAAAHUlEQVQI12PQvfyX6eLlPQz///9n+r98F4Pu5b8AdCQLvPmGO7YAAAAASUVORK5CYII=');
  height: 5px;
  position: relative;
  z-index:2;
}

#maincontent {
  clear: both;
  border-top: 5px solid black;
  position: relative;
  z-index:1;
  top: -5px;
  margin-left:8px;
  margin-right:8px;
}

.report {
  border: 1px solid black;
  border-radius: 5px;
  margin-bottom: 5px;
  list-style: none;
  padding: 5px;
}

.icon{
  height: 1em;
  padding-right: 0.3em;
  padding-left: 0.3em;
}

.largeicon{
  height:64px;
}

.bg-white{
  background-color:white;
}

#message{
  opacity:1;
  background-color:#bacfff;
  transition:opacity 1s ease-out;
  color: black;
}

#message:hover{
  opacity:1!important;
}

.usertable{
    
}

table.usertable, table.audittable{
  table-layout: fixed;
  width: 100%;
  border-collapse: collapse;
  border: 3px solid;
}

table.usertable>thead th:nth-child(1) { width: 23%; }
table.usertable>thead th:nth-child(2) { width: 23%; }
table.usertable>thead th:nth-child(3) { width: 9%; }
table.usertable>thead th:nth-child(4) { width: 9%; }
table.usertable>thead th:nth-child(5) { width: 9%; }
table.usertable>thead th:nth-child(6) { width: 9%; }
table.usertable>thead th:nth-child(7) { width: 9%; }
table.usertable>thead th:nth-child(8) { width: 9%; }

table.audittable>thead th:nth-child(1) { width: 8%; }
table.audittable>thead th:nth-child(2) { width: 15%; }
table.audittable>thead th:nth-child(3) { width: 20%; }
table.audittable>thead th:nth-child(4) { width: 25%; }
table.audittable>thead th:nth-child(5) { width: 32%; }

table.usertable>thead>tr>th,
table.usertable>tbody>tr>td,
table.audittable>thead>tr>th,
table.audittable>tbody>tr>td {
    padding: 4px;
    border: 1px solid;
}

table>tbody>tr:hover{
    background-color:#ddd;
}

.posneg{
    background-color:#ffb3b3;
}

.positive{
    background-color:#9fff9f;
}

.modnotes_header{
    font-weight:bold;
    font-style:italic;
    color:#40f;
}

.modnotes{
    font-style:italic;
    color:#40f;
}

table.questiongrid{
    border-collapse: collapse;
    border: 3px solid;
}
.vertline{
    border-left: 1px solid;
    border-right: 1px solid;
}

table.questiongrid > tbody > tr {
  border-bottom: 1px solid;
}

.status_message{
    background-color:yellow;
    margin:0;
    padding:6px;
    padding-left: 43px;
    background-repeat: no-repeat;
    background-size: 30px;
    background-position-x: 5px;
    background-position-y: 2px;
}

ul.practice_list{
    list-style:none;
    padding-left: 0;
}

ul.practice_list>li{
    border: 1px solid;
    border-radius: 5px;
    margin-bottom: 5px;
    padding-left:5px;
    padding-right:5px;
}


.errormsg{
    background-color: #ff8f8f;
    font-weight: bold;
}

.highlight_answer_yes { background-color: #8aff8a; color:black;}
.highlight_answer_no { background-color: #ff9292; color:black;}
.highlight_answer_sometimes { background-color: #ffc459; color:black;}

.highlight { background-color: #ff8f8f; }

@media (prefers-color-scheme: dark) {
    body{
      background-color: #222;
      color: #eee;
    }

    #maincontent {
      border-color: white;
    }

    .report {
      border-color: white;
    }

    a {
      color: #93aeff;
    }

    a.button, a.btn{
      background-color: #4b9aff;
      color: white;
    }

    a.button:hover, a.btn:hover{
      color: white;
      background-color: #8b42f4;
    }

    .posneg{
        background-color:#5e0000;
    }
    
    .positive{
        background-color:#004a00;
    }
    
    table>tbody>tr:hover{
        background-color:#444;
    }

    .modnotes_header{
        color:orange;
    }
    
    .modnotes{
        color:orange;
    }

    .status_message{
        background-color:#ff6000;
        color:black;
    }
    .errormsg{
        background-color: #840000;
        font-weight: bold;
    }

    .highlight_answer_yes { background-color: #007300; color:white;}
    .highlight_answer_no { background-color: #620000; color:white;}
    .highlight_answer_sometimes { background-color: #9b6400; color:white;}

    .highlight { background-color: #840000; }
}

@media (prefers-color-scheme: light) {
}
