body {
    font-family: sans-serif;
    padding-left: 0;
}

a.selected {
    color: #003366;
}

span.vsep {
    min-height:30px;
    display: block;
}

div.tray {
    position: sticky;
    width: calc(100vw - 10px);
    height: 20px;
    padding-top: 1%;
    padding-bottom: 1%;
    background-color: white;
    box-shadow: 0px 4px 4px lightgrey;
    text-align: right;
    padding-right: 0;
}

a:hover {
    color: #003366;
    transition-duration: 150ms;
}

a {
    color: black;
    transition-duration: 150ms;
    cursor: pointer;
    text-decoration: none;
}

span.hsep {
    min-width: 100px;
    display: inline-block;
}

table.mainscreen {
    height: calc(90vh - 20px);
    vertical-align: middle;
}

tr.mainscreen {
    width: calc(100vw - 1px);
    height: 100%;
    vertical-align: middle;
}

td.mainscreen1 {
    width: 40vw;
    height: 100%;
    text-align: begin;
    padding-right: 10%;
    padding-left: 10%;
    vertical-align: middle;
}

td.mainscreen2 {
    width: 60vw;
    height: 100%;
    text-align: begin;
    vertical-align: middle;
    padding-right: 10%;
    padding-left: 10%;
}

h2 {
    line-height: 0;
}

div.searchbar {
    padding: 7px;
    border-radius: 0px;
    border-color: lightgrey;
    border-radius: 20px;
    border-style: solid;
    transition-duration: 150ms;
    cursor: text;
}

div.searchbar:hover {
    border-color: grey;
    transition-duration: 150ms;
}

div.searchbar:focus-within {
    border-color: #003366;
    transition-duration: 150ms;
}

form {
    border: 0px none;
}

input {
    border: 0px none;
    cursor: text;
    width: 100%;
}

input:focus {
    border: 0px none;
    outline: none;
}

input:focus-within {
    border: 0px none;
}


div.quote {
    color: gray;
    text-align: center;
}


table.inventar {
    width: calc(100% - 40px);
    border-collapse: collapse;
    margin-left: 20px;
}

tr.header {
    width: 100%;
    position: sticky;
}

tr.header > td {
    border-bottom: 1px solid lightgrey;
}


tr.inventar {
    background-color: rgb(236, 236, 236);
    vertical-align: top;
    color: #1f1f1f;
    border-radius: 15px;
    transition-duration: 100ms;
}

tr.inventar:nth-child(odd) {
    background-color: white;
}

tr.inventar:hover {
    background-color: lightgrey;
    color: black;
    border-radius: 15px;
    transition-duration: 100ms;
}

tr.inventar > td {
    padding-top: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid lightgrey;
    border-radius: 15px;
    transition-duration: 100ms;
}

.tag {
    border-style: solid;
    border-color: #1f1f1f;
    border-radius: 5px;
    border-width: 1px;
    padding-left: 3px;
    padding-right: 3px;
    display: inline;
    transition-duration: 100ms;
    margin-right: 3px;
}

.tag:hover {
    border-color: rgb(150, 113, 60);
    background-color: rgb(204, 178, 142);
    color: rgb(150, 113, 60);
    transition-duration: 100ms;
}

div.searchbar-margin {
    padding-left: 20px;
    padding-right: 20px;
}

/* Popup container */
.popup {
    position: relative;
    display: inline-block;
    cursor: pointer;
    cursor: pointer;
    color: brown;
}
  
/* The actual popup (appears on top) */
.popup .popuptext {
    visibility: hidden;
    width: 300px;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -150px;
}

/* Popup arrow */
.popup .popuptext::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: #555 transparent transparent transparent;
}

@font-face {
    font-family: 'Phosphor';
    src: url("Phosphor.ttf");
}

.icon {
    font-family: "Phosphor";
    font-size: larger;
    display: inline;
}

.header > td > a > b {
    padding-right: 10px;
}

/* Toggle this class when clicking on the popup container (hide and show the popup) */
.popup .show {
    visibility: visible;
    -webkit-animation: fadeIn 500ms;
    animation: fadeIn 500ms;
}

/* Add animation (fade in the popup) */
@-webkit-keyframes fadeIn {
    from {opacity: 0;}
    to {opacity: 1;}
}
  
@keyframes fadeIn {
    from {opacity: 0;}
    to {opacity:1 ;}
}