@media (max-width: 1460px){
    .container {
        margin: 0 20px 0 auto;
    }
}

#headerImage img {
    margin-top: 100px;
    margin-bottom: 100px;
    height: auto;
}

@media (max-width: 600px) {
    #headerImage img {
        width:100%;
        margin-bottom:10px;
        margin-top:10px;
    }
}

@media (min-width:1230px) {
    .leftbox {
        position: absolute;
        width: 220px;
        left: -250px;
    }
}


.underlined {
    /* border-bottom: 1px solid black; */
}

#main-container {
    padding-top: 40px;
}

#question-list {
    list-style: disclosure-closed;
}

#question-list li {
    padding-top:10px;
}

.silent {
    color: black;
    text-decoration: none;
}

.silent:hover {
    color: #0FA0CE;
}

.state-label {
    border: 1px solid #9f598b;
    border-radius: 3px;
    color: #9f598b;
    margin: 2px;
    padding: 2px;
    font-size: 70%;
    white-space: nowrap;
}

.mine-label {
    border: 2px solid #d00;
    border-radius: 3px;
    color: #d00;
    margin: 2px;
    padding: 2px;
    font-size: 70%;
    font-weight: bold;
    font-variant: small-caps;
    white-space: nowrap;
}

.question-label {
    border: 1px solid #888;
    border-radius: 3px;
    color: #888;
    margin: 2px;
    padding: 2px;
    font-size: 70%;
    white-space: nowrap;
}

.label {
    font-weight: bold;
}

.tiny {
    font-size: 70%;
}

.text {
    margin-left: 1em;
}

#menu {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #eee;
    margin-top: 20px;
}

@media (min-width: 750px) {
    #menu li {
        float: left;
    }
}

#menu li {
    display: block;
    color: black;
    text-align: center;
    padding: 10px 10px;
    text-decoration: none;
}

#sidemenu {
    list-style-type: none;
    margin: 0;
}

textarea.notsmall {
    min-height: 130px;
}

.error {
    color: red;
}

.comment {
    border-bottom: 1px solid #ddd;
    padding: 5px;
    background: url('../comment.png') no-repeat;
    background-position-y: 10px;
    padding-left: 70px;
}

.comment-private {
    color: darkgoldenrod;
}

.comment-public {
    color: darkblue;
}

.comment .head {
    font-size: 85%;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 240px;
    background-color: #CEF0FB;
    color: #222;
    text-align: center;
    border-radius: 6px;
    border: 1px solid #0FA0CE;
    padding: 5px 0;

    /* Position the tooltip */
    position: absolute;
    z-index: 1;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
}

#label-list li, #state-list li {
    cursor: pointer;
}

.md p {
    margin-top:0.75em;
    margin-bottom:0.75em;
}



/* see https://stackoverflow.com/questions/19206919/how-to-create-checkbox-inside-dropdown */

.dropdown-check-list {
    display: inline-block;
    margin-bottom: 1em;
}           

.dropdown-check-list .anchor {
    position: relative;
    cursor: pointer;
    display: inline-block;
    padding: 5px 50px 5px 10px;
    border: 1px solid #ccc;
}

.dropdown-check-list .anchor:after {
    position: absolute;
    content: "";
    border-left: 2px solid black;
    border-top: 2px solid black;
    padding: 5px;
    right: 10px;
    top: 20%;
    -moz-transform: rotate(-135deg);
    -ms-transform: rotate(-135deg);
    -o-transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
    transform: rotate(-135deg);
}

.dropdown-check-list .anchor:active:after {
    right: 8px;
    top: 21%;
}

.dropdown-check-list ul.items {
    padding: 2px;
    display: none;
    margin: 0;
    border: 1px solid #ccc;
    border-top: none;
    background: white;
    position: absolute;
    min-width: 200px;
}

.dropdown-check-list ul.items li {
    list-style: none;
    margin: 0;  
}

.dropdown-check-list.visible .anchor {
    color: #0094ff;
}

.dropdown-check-list.visible .items {
    display: block;
}

/* end of dropdown */

/* Stil für das Overlay-Hintergrund */
.overlay {
    display: none; /* Standardmäßig versteckt */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Halbtransparent */
    justify-content: center;
    align-items: center;
}

@media (max-width: 950px) {
    .overlay {
        width: 100%;
    }
}

/* Stil für den Overlay-Inhalt */
.overlay-content {
    background: white;
    padding: 20px;
    width: 100%; /* 3/4 der Breite */
    height: 80vh; /* 3/4 der Höhe */
    position: relative;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    overflow:scroll; 
}

@media (min-width: 1100px) {
    .overlay-content {
        width: 960px;
    }
}

/* Schließen-Button */
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
    background: none;
    border: none;
}
/* end of overlay */


#journal h3 {
    padding-top: 1em;
    border-top: 5px solid #888;
    margin-top: 1em;
    font-size: 2.2rem;
}

#journal h5, h6 {
    font-size:110%;
    margin-bottom: 0em;
}

#journal .text p {
    margin-top:.3em;
    margin-bottom:.3em;
}

#journal .tiny {
    display:none;
}

#journal .journal-entry {
    text-weight: bold;
    border-bottom: 1px solid #ddd;
}

#journal .journal-head {
    font-weight: bold;
}

#journal .journal-body {
    margin-left: 2em;
}

.button-secondary {
    border-width: 2px;
}

#info-block {
    border-radius: 6px;
    border: 3px solid cadetblue;
    background: #5f9ea042;
    padding: 20px;
}

.discuss-help {
    font-size: 75%;
}
