body {
    position: relative;
    min-height: 100vh;
    font: 90% Roboto, Arial, sans-serif;
    margin: 0;
    line-height: 1.33;
}

nav > a > span {
    font-size: 1.25rem;
    vertical-align: middle;
}
nav a {
    display: block;
    text-decoration: none;
    white-space: nowrap;
    color: #204060;
    border: solid 1px transparent;
}
nav li a:hover,
nav li button:hover {
    background: wheat;
    border-color: black;
}
nav form, nav form button {
    color: #204060;
    background-color: transparent;
    height: 100%;
    border: solid 1px transparent;
}

table.seje td {
    padding: 0 0.5em;
}

nav#zgoraj {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0;
    background: #f5f5f0;
}
nav#zgoraj > a > img {
    position: absolute;
    margin-left: -12em;
}
nav#zgoraj > a {
    margin-left: 12em;
}
nav#zgoraj > ul {
    display: flex;
}
nav > ul {
    list-style: none;
    margin: 0;
    padding-top: 0.6em;
    padding-left: 2em;
}
nav#zgoraj > ul > li a,
nav#zgoraj > ul > li span,
nav#zgoraj > ul > li button
{
    padding: 15px;
    vertical-align: middle;
    display: block;
}

nav#zgoraj li a {
    margin-bottom: -1px;
    #border-bottom-color: #aaa;
}
nav#zgoraj li button {
    margin-bottom: -2px;
    border-bottom-color: black;
}
nav#zgoraj li a:hover,
nav#zgoraj li button:hover {
    border-bottom-color: transparent;
}

nav#levo {
    float: left;
    width: 12em;
    background: #f5f5f0;
    border-right: solid 1px black;
    border-bottom: solid 1px #aaa;
    padding: 1em 0;
    padding-top: 2.5em;
}

nav#levo li a {
    margin-right: -1px;
    padding: 4px;
}
nav#levo li a:hover {
    border-right-color: transparent;
}

nav#levo li.izbrana a {
    background: white;
    border-color: black;
    border-right-color: transparent;
}

nav#levo li svg {
    width: 1.5em;
    height: 1.5em;
}

hr {
    border-top: 1px;
}

div#osrednje {
    margin-left: 12em;
    padding: 1em;
    padding-bottom: 3em;
    border-top: solid 1px #aaa;
}

div#osrednje > form table td:first-child {
    text-align: right;
}

div#noga, footer#noga {
    position: absolute;
    width: 100%;
    bottom: 0;
    height: 1.5rem;
    text-align: center;
}

form#oddaj input[type="submit"] {
    float: right;
    margin-top: -1.5em;
}

.dodaj, .datum {
    float: right;
}

table.rezultat {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2em;
}
table.rezultat th {
    text-align: left;
    padding: 5px 1em;
}
table.rezultat td {
    border: solid #ddd;
    border-width: 1px 0px;
    padding: 5px;
}
table.rezultat td.rezultat {
    width: 6em;
}
table.rezultat td.rezultat .vse,
div.rezultat a.vse,
div.sidebar ul.rezultat li a.vse {
    color: MediumSeaGreen;
}
table.rezultat td.rezultat .nic,
div.rezultat a.nic,
div.sidebar ul.rezultat li a.nic {
    color: Tomato;
}
table.rezultat td.rezultat *,
div.rezultat a,
div.sidebar ul.rezultat li a {
    color: Orange;
}

div.vprasanje { }
div.vprasanje > div.odgovor {
    margin-left: 2em;
}

div.sidebar table.rezultat {
    margin-bottom: 0;
    text-align: right;
}
div.sidebar table.rezultat td {
    padding: 0;
    border: none;
    padding-left: 2px;
}

ul.caption:before {
    content: attr(caption);
    font-size: large;
    font-weight: bold;
    margin-left: -2em;
    margin-bottom: 0.5em;
}

div.sidebar {
    float: right;
    padding: 1em;
    background: #f5f5f0;
    border: solid 1px #aaa;
    margin-left: 1em;
    margin-bottom: 0.5em;
}

div.sidebar p {
    margin-top: 0;
    line-height: normal;
}

div.sidebar ul {
    margin: 0.5em 1em;
    margin-top: 0;
    line-height: normal;
    padding-left: 15px;
}

div#pot {
    margin-left: 12em;
    padding: 0.2em 1em;
    background: #406080;
    color: #f5f5f0;
    border-top: 1px solid black;
}
div#pot > div {
    display: inline-block;
}
div#pot a {
    color: #f5f5f0;
    text-decoration: none;
}
div#pot > a:not(:first-child):before {
    content: " » ";
}
div#pot div > a:before {
    content: " | ";
}
div#pot a:hover,
div.pot a:hover {
    text-decoration: underline;
}

h1 {
    margin-top: 0;
    margin-bottom: 0.5em;
    font-weight: 500;
}
h2, h3 {
    margin: 0.5em 0 0.5em 0;
    font-weight: 500;
}

img, svg {
    vertical-align: middle;
}

p, pre {
    margin: 0.5em 1em;
}

a {
    color: #0d6efd;
}

.izhoda {
    display: flex;
    justify-content: space-around;
}

code {
    white-space: pre;
}

div.markdownx textarea {
    width: 49%;
    height: 32em;
}
div.markdownx div {
    float: right;
    width: 49%;
}

form p {
    margin: 0.3em 0;
}

.end {
    text-align: end;
}

tr td.end {
    padding-top: 1em;
}

table#primeri td {
    vertical-align: top;
    padding: 0 1em;
    padding-bottom: 1em;
}
table#primeri td pre {
    margin: 0;
}

ul.naloga a {
    text-decoration: none;
}
ul.naloga li a:hover {
    text-decoration: underline;
}
ul.naloga > li > a:first-child {
    display: inline-block;
    width: 17em;
}
li div.orodja, tr div.orodja {
    display: none;
}
li:hover div.orodja, tr:hover div.orodja {
    display: inline;
}
div.orodja a, tr div.orodja a {
    color: gray ! important;
}
li div.rezultat, tr div.rezultat {
    display: inline-table;
    width: 6em;
    text-align: right;
}
li div.rezultat span, tr div.rezultat span {
    margin: 3px;
}

table.testi {
    width: 80%;
}
table.testi tr th {
    border-top: solid 1px lightgrey;
    padding-top: 1em;
}
table.testi tr:first-child th {
    border: none;
}
table.testi th {
    text-align: left;
    padding-left: 10%;
    font-weight: normal;
}

div#kontrola_strani {
    text-align: center;
}
.select2-container {
    min-width: 10em;
}
.box {
  border: 1px solid #333333;
  width: 500px;
  height: 200px;
  overflow: scroll;
}

input {
    margin: 1px;
}

