/* Global definitions */
*:not(input) {
    -webkit-touch-callout: text !important;
    -webkit-user-select: text !important;
    -khtml-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
}

*:not(b) {
    cursor: default;
    font-family: sans-serif;
    font-weight: lighter;
    font-size: 14px;
}

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    background-color: #282828;
    width: 1400px;
    max-width: 100%;
    margin-left: 0px;
    justify-content: center;
    margin: 0 auto;
    color: white;
    /*overflow: hidden;*/
}

footer {
    width: 100%;
    position: fixed;
    left: 0px;
    bottom: 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    color: gray;
    background-color: #121212;
    height: var(--footerHeight);
    padding: 2px 10px;
    -webkit-touch-callout: initial;
    -webkit-user-select: initial;
    -khtml-user-select: initial;
    -moz-user-select: initial;
    -ms-user-select: initial;
    user-select: initial;
}

footer a {
    font-size: 10px !important;
}

footer div {
    font-size: 10px !important;
    margin: 0;
}

/* Default HTML definitions */
h1 {
    color: var(--headlineColor);
    font-size: 25px;
    text-decoration: underline;
}

h2 {
    font-size: 20px;
    color: white;
}

h3 {
    font-style: italic;
    font-size: 16px;
    color: white;
    margin: 18px 0px 5px 0px;
}

h4 {
    margin: 8px 0px 3px 0px;
}

hr {
    width: 90%;
    margin-right: 10%;
}

p {
    line-height: 20px;
}

ul {
    color: #393939;
    list-style-type: disc;
    color: white;
    line-height: 20px;
}

ol>li {
    font-weight: bold;
}

a {
    color: #393939;
    text-decoration: none;
    color: white;
}

a:hover {
    cursor: pointer;
    text-decoration: underline;
}

a:active {
    color: #949494;
}


a:visited {
    color: #949494;
}

input[type=button],
input[type=submit] {
    margin-top: 5px;
    border: var(--buttonBorder);
    background: var(--buttonBackground);
    color: var(--buttonColor);
    border-radius: 0px;
    height: 30px;
    padding-left: 5%;
    padding-right: 5%;
}

input[type=button]:not(.disabled):hover,
input[type=submit]:not(.disabled):hover {
    background-color: var(--buttonHoverBackgroundColor);
    cursor: pointer;
}

input[type=button]:disabled,
input[type=button].disabled,
input[type=submit]:disabled {
    background-color: #232323;
    color: gray;
    cursor: default;
}

td,
th {
    padding: 10px;
}

#navigation {
    position: fixed;
    top: 2px;
    right: 5px;
}

#content-links {
    background-color: #282828;
    padding: 10px 5px;
}

#content {
    background-color: #282828;
    padding: 0px 25px !important;
    height: calc(100% - 4px - var(--footerHeight));
    display: flex;
    flex-direction: column;
}

.log-li {
    margin-bottom: 20px;
}

.help-headline {
    color: gray;
    padding: 0px 10px;
    margin: 10px 0px;
    font-size: 30px;
    font-weight: bold;
}

.title {
    display: inline-block;
}

.date {
    display: inline-block;
    font-size: 20px;
    color: orange;
}

.title-text {
    display: inline-block;
    font-size: 20px;
    color: orange;
    padding-left: 7px;
    font-style: italic;
}

.text {
    display: block;
    overflow: auto;
    padding: 5px;
}

#text {
    text-align: justify;
    overflow: auto;
    flex: 1;
}

.important {
    color: red;
    font-weight: bold;
}

.tagIcon {
    float: left;
    background-color: #646464;
    padding: 5px;
    border-radius: 5px;
}

.small {
    font-size: .7em;
}

.small * {
    font-size: 1em;
}

@media screen and (max-width: 600px) {
    body {
        height: calc(100vh - 4px - var(--footerHeight));
    }

    #content {
        height: 100%;
        padding: 15px;
        overflow-y: auto;
        overflow-x: hidden;
    }

    #text {
        overflow: unset;
        height: auto;
    }

    #navigation {
        right: 42px;
    }

    /*footer {
        display: none;
    }*/
}

/* Custom checkboxes */
/* Customize the label (the container) */

.checkBoxLabelWrapper {
    display: flex;
    align-items: center;
}

.checkBoxLabelWrapper .checkBoxLabel {
    height: 100%;
    margin-left: 0px;
    padding-right: 2px;
}

.checkboxContainer {
    display: block;
    position: relative;
    width: 24px;
    min-width: 24px;
    height: 18px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Hide the browser's default checkbox */
.checkboxContainer input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Create a custom checkbox */
.checkboxContainer .checkMark {
    position: absolute;
    top: 5px;
    left: 0;
    height: 20px;
    width: 20px;
    border-radius: 3px;
    border: 2px solid var(--checkBoxBorderColor);
}

/* On mouse-over, add a grey background color */
.checkboxContainer:hover input~.checkMark {
    background-color: var(--checkBoxHoverBackgroundColor);
}

/* When the checkbox is checked, add a blue background */
.checkboxContainer input:checked~.checkMark {
    background-color: var(--checkBoxCheckedBackgroundColor);
}

/* Create the checkMark/indicator (hidden when not checked) */
.checkboxContainer .checkMark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkMark when checked */
.checkboxContainer input:checked~.checkMark:after {
    display: block;
}

/* Style the checkMark/indicator */
.checkboxContainer .checkMark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 8px;
    border: solid var(--checkBoxCheckMarkColor);
    border-width: 0 3px 3px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}