﻿.doc {
    margin-bottom: 40px;
}

.doc .breadcrumb {
    font-size: 0.8rem;
    margin: 0;
    padding: 0;
}

.doc h1 {
    font-size: 2rem;
}

.doc h2 {
    font-size: 1.7rem;
}

.doc h3 {
    font-size: 1.4rem;
}

.doc h1, h2, h3 {
    margin-bottom: 10px;
}

.doc h2, h3 {
    margin-top: 40px;
    margin-bottom: 10px;
}

.doc .index ul {
    list-style-type: none;
}

.doc .index ul:first-child {
    margin: 0;
    padding: 0;
}

.doc .caret {
    cursor: pointer; 
    user-select: none;
}
  
.doc .caret::before {
    content: "\25B6";
    color: black;
    display: inline-block;
    margin-right: 6px;
}
  
.doc .caret-down::before {
    transform: rotate(90deg); 
}

.doc .nested {
    display: none;
}

.doc .nested.active {
    display: block;
}

.doc .nested {
    margin: 5px;
}

.doc .tag {
    display: inline;
    font-size: 16px;
    color: white;
    background-color: gray;
    border-radius: 18px;
    padding: 10px;
}

.doc .tag.tag-feature {
    color: black;
    background-color: skyblue;
}

.doc .tag.tag-bugfix, .doc .tag.tag-workaround {
    background-color: red;
}

.doc .tag.tag-optimierung {
    background-color: orange;
}

.doc img {
    max-width: 100%;
}

.doc p {
    text-align: justify;
}

.doc .footnote {
    font-size: 10px;
}

.template {
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 1em;
    word-break: break-word;
    overflow-wrap: anywhere;
    position: relative;
    margin-bottom: 1.5em;
    font-size: 90%;
}

.template-button {
    position: absolute;
    top: 8px;
    right: 8px;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 4px 8px;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    font-size: 80%;
}
.template-button:hover {
    opacity: 1;
}

.mailto {
    border: 1px solid gray;
    background-color: bisque;
    padding: 10px;
    margin-bottom: 20px;
}

.mailto label {
    margin: 0;
}

.mailto select,
.mailto input,
.mailto textarea {
    display: block;
    width: 100%;
    height: 30px;
    font-size: 1rem;
}

.mailto input {
    margin-bottom: 5px;
}

.mailto textarea {
    min-height: 250px;
    padding: 5px;
    margin-bottom: 10px;
}

.mailto button {
    padding: 10px;
    margin-bottom: 10px;
}

.youtube {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 25px;
    margin-bottom: 10px;
    height: 0;
}

.youtube iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.wireframe {
    position: relative;
    border: 1px solid gray;
    padding: 10px;
    margin-top: 50px;
}

.wireframe * {
    position: relative;
}

.wireframe hr {
    height: 1px;
    margin-top: 0;
}

.wireframe button {
    margin-bottom: 10px;
    margin-right: 10px;
    border: none;
    color: #7f3300;
    background-color: #fff;
}

.wireframe button:hover {
    background-color: #d5d5d5;
}

.wireframe table {
    border-top: 1px solid gray;
}

.wireframe th {
    background-color: #e6e6e6;
}

.wireframe tr {
    border-bottom: 1px solid gray;
}

.wireframe tr:hover {
    background-color: #e5e5e5;
}

.wireframe tr.selected {
    background-color: #d5d5d5;
}

.wireframe td, .wireframe th {
    padding: 10px;
}

.wireframe .popup {
    display: none;
    position: absolute;
    cursor: pointer;
    white-space: nowrap;
    background-color: orange;
    border: black;
    border-radius: 5px;
    padding: 5px;
    left: 0;
    top: -100%;
    color: black;
}

.wireframe .popup.currentstep {
    display: inline-block;
    animation: fadeIn 1s;
    -webkit-animation: fadeIn 1s;
}

.wireframe .stepview {
    display: none;
}

.wireframe .stepview.currentstep {
    display: block;
}

.wireframe .popup::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 20%;
    margin-left: -10px;
    border-width: 10px;
    border-style: solid;
    border-color: orange transparent transparent transparent;
}

@-webkit-keyframes fadeIn {
    from { opacity: 0; } 
    to { opacity: 1; }
}
  
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}