/*general*/
#document-title h1 {
  font-size: 36px;
  font-weight: bold;
}

h1 {
  font-size: 30px;
  font-weight: bold;
  margin-top: 25px;
}

h2 {
  font-size: 25px;
  font-weight: bold;
  margin-top: 35px;
}

h3 {
  font-size: 20px;
  margin-top: 30px;
  font-weight: bold;
}

#body p {
  font-size: 16px;
  margin: 10px 0 10px 0;
}

.xwikipanelcontents a {
  font-size: 16px;
  margin: 0px;
  padding-left: 4px;
}

.xwikipanelcontents li {
  margin: 4px 0;
}

/* Manipulation der XWiki-Navigation, damit nur das aktuelle Handbuch angezeigt wird */
ul > .jstree-node.jstree-closed {
    display: none;
}


ul ul .jstree-node.jstree-closed {
    display: none !important;
}

ul ul ul .jstree-node.jstree-closed {
  display: block !important;
}

.breadcrumb-tree .jstree-node.jstree-closed {
  display: block !important;
}


/* Ausnahme für das Anzeigen der Xwiki-Navigation*/
.xwikitabpanescontainer ul > .jstree-node.jstree-closed {
    display: block;
}


.xwikitabpanescontainer ul ul .jstree-node.jstree-closed {
    display: block !important;
}

.export-tree-container ul > .jstree-node.jstree-closed {
    display: block;
}
.export-tree-container ul ul .jstree-node.jstree-closed {
    display: block !important;
}

/*Styling-Anpassungen der Naviagtion*/

.skin-flamingo .jstree-xwiki .jstree-clicked {
  background-color: #3173b5;
  color: #fafafa !important;
}


#xwikicontent {
  padding-top: 20px !important;
}

.avatar_120 {
  pointer-events: none;
}

.box p {
  margin: 0 0 10px 0;
}

/*sticky footer*/
html,
body {
  margin: 0;
  height: 100%;
}

#xwikimaincontainer {
    position: relative;
    min-height: 100%;
    margin: 0 auto ;
}

#contentcontainer  {
  margin-bottom: 75px;
}

.main {
  margin-bottom: 75px;
}

#footerglobal {
    position:absolute;
    bottom: 0;
    width: 100%;
}

#xwikilicence {
  margin-left: 25px;
  float: left;
}

#impressum {
  margin-right: 25px;
  float: right;
}

/*usability settings*/
.sticky-buttons {
  margin-top: 50px;
}

#globalsearch .btn {
    background-color: #3173b5 !important;
    color: #fff !important;
}

#xdocFooter, .xdocLastModification {
  display: none !important;
}

/*extension settings*/
figure {
    display: inline-block;
    width: 100%;
    text-align: center;
}

/*Einstellungen für das Chatbot-Frame*/
iframe.bpFab {
    bottom: 5.5rem !important;
    right: 2rem !important;
    height: 64px !important;
    width: 64px !important;
}



/* On screens that are 768px or less, place the navigation at the bottom */
@media only screen and (max-width: 768px) {
  #body.panel-left-width-Large #leftPanels {
    position: relative;
    top: 0;
    padding: 15px;
    width: 100%;
    max-width: 100%;
    overflow: auto;
    height: 100%;
  }
  
  img {
    width: auto;
    height: auto;
  }
}

/* On screens that are 1400px or less, set the maximal width of images to 85% */
@media screen and (max-width: 1400px) {
  figure img {
    max-width: 85%;
    height: auto;
  }
}

/* On screens that are 1401px or more, set the maximal width of images to 1400px */
@media screen and (min-width: 1401px) {
  figure img {
    max-width: 1000px;
    height: auto;
  }
}
