/******************************************************************************
 ********************************  ATTENTION  *********************************
         DO NOT MODIFY THIS FILE, IT WILL NOT BE PRESERVED ON UPDATES!
 ******************************************************************************
  If you want to add some own screen CSS, have a look at the README of this
  template and "/user/print.css". You have been warned!
 *****************************************************************************/

body {
  font: normal 80%/1.4 sans-serif;
}
div#content .dokuwiki h1,
div#content .dokuwiki h2,
div#content .dokuwiki h3,
div#content .dokuwiki h4,
div#content .dokuwiki h5,
div#content .dokuwiki h6 {
  border-bottom: 0 none;
}
div#content .dokuwiki h1,
div#content .dokuwiki h2 {
  font-weight: bold;
}
div#content .dokuwiki h1 {
  font-weight: 135%;
}
div#content .dokuwiki h2 {
  font-weight: 130%;
}
div#content .dokuwiki h3,
div#content .dokuwiki h4,
div#content .dokuwiki h5,
div#content .dokuwiki h6 {
  font-weight: normal;
  text-decoration: underline;
}

/* define the "noprint" class used by the original MediaWiki vector skin */
.noprint {
  display: none;
}

/* remove some link styling */
div.dokuwiki a {
  text-decoration: none !important;
}

/* remove interwiki link icons */
div.dokuwiki a.interwiki {
  background: transparent none;
  padding: 0;
}

/* quotes */
div#content .dokuwiki blockquote {
  border-left: 2px solid __border__;
  padding-left: 3px;
  margin-left: 0.2em;
}

/* preformatted stuff, source code */
div#content .dokuwiki code,
div#content .dokuwiki pre,
div#content .dokuwiki pre.code,
div#content .dokuwiki pre.file {
  font-size: 100%;
}
div#content .dokuwiki pre,
div#content .dokuwiki pre.code,
div#content .dokuwiki pre.file {
  line-height: 1.2em;
  background-color: __background_other__;
}
div#content .dokuwiki dl.file,
div#content .dokuwiki dl.file dd,
div#content .dokuwiki dl.file dt {
  margin-left: 0;
}
div#content .dokuwiki dl.file dt {
  background-color: __background_other__;
}

/* misc tweaks */
div#content,
div#bodyContent {
  margin-left: 0;
  border: 0 none;
  font-size: 1em;
}
body {
  background-image: none;
  background-color: #fff;
}

/* tag plugin: hide tag row */
div.tags {
  display: none;
}

/* pagelist plugin: listing tables */
div#content .dokuwiki table.ul,
div#content .dokuwiki table.ul tr,
div#content .dokuwiki table.ul td {
  border: 0 none;
}
div#content .dokuwiki table.ul td.date,
div#content .dokuwiki table.ul td.user {
  display: none;
}
div#content .dokuwiki table.ul ul,
div#content .dokuwiki table.ul ol,
div#content .dokuwiki table.ul li {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0;
  padding-bottom: 0;
}

/* wrap plugin: modify some inline styles */
div#content .dokuwiki span.wrap_box,
div#content .dokuwiki span.wrap_danger,
div#content .dokuwiki span.wrap_warning,
div#content .dokuwiki span.wrap_caution,
div#content .dokuwiki span.wrap_notice,
div#content .dokuwiki span.wrap_safety,
div#content .dokuwiki span.wrap_info,
div#content .dokuwiki span.wrap_important,
div#content .dokuwiki span.wrap_alert,
div#content .dokuwiki span.wrap_tip,
div#content .dokuwiki span.wrap_help,
div#content .dokuwiki span.wrap_todo,
div#content .dokuwiki span.wrap_download {
  border-top: 0 none;
  border-right: 0 none;
  border-left: 0 none;
  border-bottom: 1px dashed;
  padding: 0;
}

* {
    background: white !important;
    color: black !important;
    box-shadow: none !important;
    text-shadow: none !important;
    filter: none !important;
    -ms-filter: none !important;
}

/* Hide unnecessary elements */
.navbar,
.sidebar,
#dw__toc,
.dokuwiki div.secedit,
.noprint,
.editButtons,
.docInfo,
#dokuwiki__header,
#dokuwiki__aside,
#dokuwiki__footer,
#sidebar,
.catlinks {
    display: none !important;
}

/* Adjust layout for printing */
body {
    margin: 0;
    padding: 0;
    font-family: serif;
    font-size: 12pt;
    width: 100% !important;
    min-height: auto !important;
}

.main-wrapper {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.main-content {
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
}
#flashcards-container {
  display: none;
}

/* Links handling */
a {
    text-decoration: none !important;
}

a[href]:after {
    content: " (" attr(href) ")";
    font-size: 90%;
}

/* Don't show links for images or javascript/internal links */
a[href^="javascript:"]:after,
a[href^="#"]:after,
a[href^="data:"]:after {
    content: "";
}

#flashcards{
  display: none;
}
a.media {
  display: inline-block; /* Ensures the link behaves like a block with content */
  text-decoration: none; /* Removes any underlines or link styles */
}

a.media img {
  display: block; /* Ensures the image inside the anchor is properly displayed */
  max-width: 100%; /* Ensures the image fits within its container */
  height: auto; /* Maintains aspect ratio */
}
a.media::after {
  display: none;
}
/* Break URLs */
a[href]:after {
    word-wrap: break-word;
}

/* Tables */
table {
    page-break-inside: avoid;
}

/* Images */
img {
    max-width: 100% !important;
    page-break-inside: avoid;
}

/* Headers */
h1, h2, h3, h4, h5, h6 {
    page-break-after: avoid;
    page-break-inside: avoid;
}

h1 { font-size: 24pt; }
h2 { font-size: 20pt; }
h3 { font-size: 16pt; }
h4, h5, h6 { font-size: 14pt; }

/* Page breaks */
p, blockquote, ul, ol, dl, pre {
    page-break-inside: avoid;
}

/* Expand content to full width */
#dokuwiki__content {
    margin: 0 !important;
    width: 100% !important;
}

/* Remove any fixed positioning */
.sticky-top {
    position: static !important;
}

/* Force background colors for code blocks */
pre, code {
    background-color: #fff !important;
    border: 1px solid #999 !important;
}

main.main-content {
    padding: 0 !important;
}

main.main-content {
    min-width: 0!important;
}