

/* roboto-flex-regular - latin */


@font-face {
    font-family: 'RobotoFlex';
    
    src: url('/fonts/roboto-flex-v9-latin-regular.eot'); /* IE9 Compat Modes */
    src: local(''),
         url('/fonts/roboto-flex-v9-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
         url('/fonts/roboto-flex-v9-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
         url('/fonts/roboto-flex-v9-latin-regular.woff') format('woff'), /* Modern Browsers */
         url('/fonts/roboto-flex-v9-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
         url('/fonts/roboto-flex-v9-latin-regular.svg#RobotoFlex') format('svg'); /* Legacy iOS */
    }

body {
    font-family: RobotoFlex, Calibri, 'Trebuchet MS', sans-serif;
    counter-reset: h2counter;
}

p {
    font-weight: 100;
    line-height: 1.2em;
}

.toc {
    margin: 15px;
    padding: 5px;
    border: 1px solid grey;
    display: inline-block;
    border-radius: 5px;
}

#ToC ul {
    margin: 0px;
    list-style: none;
    padding: 0px;
}

#toc-button {
    border-radius: 50%;
    float: right;
    position: fixed;
    bottom: 10px;
    right: 10px;
}

.custom-toc {
    position: fixed;
    bottom: 10px;
    border: 1px solid grey;
    right: 200px;
}
h1 {
    padding-bottom: 1em;
    padding-top: 1em;
    font-weight: 100;
    background-color: #CA64EA;
    color:  white;
    padding-left: 5px;
}

h2 {
    counter-reset: h3counter;
    padding-left: 5px;
    padding-top: 0.2em;
    padding-bottom: 0.2em;
    margin-top: 2em;
    font-weight: 600;
    background-color: gainsboro;
}

h3 {
    counter-reset: h4counter;
    font-weight: 600;
    margin-top: 2em;
}

h5 {
    font-size: 1em;
    padding: 0px;
    margin: 0px 0px 10px 0px;
}
h2::before {
    content: counter(h2counter) ".\0000a0\0000a0";
    counter-increment: h2counter;
}
h3::before {
    counter-increment: h3counter;
    content: counter(h2counter) "." counter(h3counter) ".\0000a0\0000a0";
}

h4::before {
    counter-increment: h4counter;
    content: counter(h2counter) "." counter(h3counter) "." counter(h4counter) ".\0000a0\0000a0";
}

.img {
    background: transparent 0% 0% / 100% auto;
    margin: 5px;
    max-width: 98%;
    height: auto;
    padding-left: 2px;
}

figcaption {
    font-style: italic;
    font-size:  0.8em;
    padding-bottom: 15px;
  }

li {
    padding: 5px;
}

#topBtn {
    display:none; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    bottom: 20px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button 30px from the right */
    z-index: 99; /* Make sure it does not overlap */
    border: none; /* Remove borders */
    outline: none; /* Remove outline */
    background-color: #CA64EA; /* Set a background color */
    background: transparent;
    color: transparent;
    cursor: pointer; /* Add a mouse pointer on hover */
    padding: 15px; /* Some padding */
    border-radius: 10px; /* Rounded corners */
    font-size: 18px; /* Increase font size */
    box-shadow: 0px 8px 15px rgba(19, 2, 2, 0.884);
}

#topBtn:hover {
    background-color: #CA64EA; /* Add a dark-grey background on hover */
    color: white;
}

.highlight1 {
    font-weight: bolder;
}

.hinweis1 {
    background-color: lightpink;
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 5px;
    padding-bottom: 5px;
    box-shadow: 10px 5px 5px gray;
    border-radius: 10px;
    margin-left: 15px;
    margin-right: 15px;
    overflow: hidden;
}

#ToC{
    color:Black;
    background-color: silver;
    border-radius: 10px;
    z-index: 50;
    position: fixed;
    top: 10px;
    right: 0px;
    width: 30%;
    max-width: 300px;
    border: 1px solid Black;
    padding: 5px;
    margin: 20px;
    font-size: 0.9em;
    display: none;
}

#tocBtn {
    display:block; /* Hidden by default */
    position: fixed; /* Fixed/sticky position */
    z-index: 100;
    top: 40px; /* Place the button at the bottom of the page */
    right: 30px; /* Place the button 30px from the right */
    width: 30px;
    background-color: transparent;
    border: none;
    height: 30px;
    background: url("/images/quadrat.png") transparent;
    background-size: cover;
    cursor: pointer; /* Add a mouse pointer on hover */

}

#tocBtn:hover {
    background-color: #CA64EA;
}

.small {
    font-size: 0.8em;
    background-color: aliceblue;
    padding: 1px;
    margin-bottom: 10px;
}

.IV {
    background-color: lightgrey;
    width: 50%;
    border-radius: 10px;
}