/* --- Bootstrap 5 Multi-level Dropdown CSS --- 
* @import url("css/bootstrap.min.css"); 
*/
 
@import url("css/extra.css");
@import url("plugins/ckeditor/plugins_external/ckeditorfa6/css/all.min.css");


/* Position sub-menus to the side */
ul.dropdown-menu{-webkit-box-shadow: 0 3px 2px rgba(0,0,0,.20);box-shadow: 0 3px 2px rgba(0,0,0,.20);}

.dropend .dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -1px;
    margin-left: 0.125rem;
}

/* Show sub-menu on hover */
.dropdown-menu > .dropend:hover > .dropdown-menu {
    display: block;
	 --bs-dropdown-padding-y: 0.2rem;
  padding-top: var(--bs-dropdown-padding-y) !important;
  padding-bottom: var(--bs-dropdown-padding-y) !important;
}

/* On smaller screens, prevent side-opening */
@media (max-width: 991px) {
    .dropend .dropdown-menu {
        left: 0;
        margin-left: 0;
    }
}

/*  ----  header ---- */
.bg-secondary {
   background-color: white !important;
   /* text-dark -> color:gray;  https://www.w3schools.com/bootstrap5/bootstrap_colors.php  text-dark */
}

a {text-decoration:none !important;}

/* ----------------------  navigation ------------------ */
#mainNavbar {
  -webkit-box-pack: start !important;
      -ms-flex-pack: start !important;
          justify-content: flex-start !important; position: sticky;
}

#mainNavbar .navbar-nav {
       margin-right: auto;
        }

ul.navbar-nav .dropdown-item.active{background-color: lightgray;}   /* active dropdown color */

/* navbar-dark - https://getbootstrap.com/docs/5.2/components/navbar/#color-schemes */

.bgcolor{  
  --bs-bg-opacity: 1;
   background-color: #0082c9 !important; /* rgb(92, 141, 185) !important;  rgb(80, 97, 162) */
    -webkit-box-shadow: 0 2px 4px 0 rgba(0,0,0,.1);
            box-shadow: 0 2px 4px 0 rgba(0,0,0,.1);
}

.navbar-nav .dropdown-submenu .dropdown-submenu .dropdown-menu {
  position: static;
  display: none !important; /* Hide level 4+ */
}

.navbar-toggler, .navbar-toggler:hover  {
  border: 3px solid rgba(213, 209, 209, 0.5) !important; /* dÃ¼nner und halbtransparenter weiÃŸer Rand */
}
.navbar-toggler:focus, .navbar-toggler:active {
    -webkit-box-shadow: none !important;
            box-shadow: none !important;
    outline: none !important;
}

.navbar-dark{height:52px;}

.navbar-shadow {
      -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
              box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

span.navbar-toggler-icon{width: 1em;  height: 1em;}

ul.navbar-nav li{-webkit-transition: height 1s; /* For Safari 3.1 to 6.0 */ 
    -o-transition: height 1s; 
    transition: height 1s;}

/* --------------------- content ----------------- */
*,
*::before,
*::after {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
}

/* ----- footer ----- */

:root {
--footer-height: 250px;
}

footer a.cfont{text-decoration: none; color: black;}

footer.footer {
min-height: 5rem; 
padding: 1rem;
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.3);
        box-shadow: 0 1px 2px rgba(0,0,0,.3); 
text-align: center;
    background-color:lightgray;
}

footer .btn-outline-primary{--bs-btn-border-color: #8b82b9 !important;}

/* -- right scrollbar ---------------------- */

html {
  overflow-y: auto;
  scrollbar-gutter: stable both-edges;
}
  
header h5.vio1{color : #7f57bd !important;}

/* WebKit Scrollbar */
::-webkit-scrollbar {
  width: 8px; /* Narrow width */
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border: 4px solid transparent; /* Creates spacing */
  border-radius: 4px;
  background-clip: content-box; /* Confines track background */
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
  border: 2px solid transparent; /* Optional spacing around thumb */
  background-clip: content-box; /* Keep if using thumb borders */
}

::-webkit-scrollbar-thumb:hover {
  background: #666;
}

/* Firefox */
html {
  scrollbar-width: thin;
  scrollbar-color: #888 #f1f1f1;
}

/* -----  search  --------------  */


.search-container {
  position: static;
  margin-left: auto;
}

.search-input {
            height: 32px;
            width: 32px;
            border-radius: 50%;
            border: 1px solid #ced4da;
            background-color: #fff;
            padding: 0;
            cursor: pointer;
            text-indent: -999px;
            -webkit-transition: all 0.1s ease-in-out;
            -o-transition: all 0.1s ease-in-out;
            transition: all 0.1s ease-in-out;
        }
		
form.search-container:focus, 
input.form-control.search-input:focus, 
button.search-button:focus{
  -webkit-box-shadow: none !important;
          box-shadow: none !important; 
}

input.form-control.search-input:hover{
    -webkit-transition: all 0.1s ease-in-out;
    -o-transition: all 0.1s ease-in-out;
    transition: all 0.1s ease-in-out; 
    border-top-left-radius:8px; 
    border-bottom-left-radius:8px;
    background-color:#fefefe;
    -webkit-box-shadow: none !important;
            box-shadow: none !important;
}

i.bi.bi-search::before{margin-left: 0.01em;}   /* Search icon */

.search-button {
            position: absolute;
            top: 0;
            right: 0;
            width: 32px;
            height: 100%;
            display: -webkit-box;
            display: -ms-flexbox;
            display: flex;
            -webkit-box-align: center;
                -ms-flex-align: center;
                    align-items: center; 
            -webkit-box-pack: center; 
                -ms-flex-pack: center; 
                    justify-content: center;
            color: #6c757d;
            background: inherit;
            border: none;
            z-index: 10;
            pointer-events: none;
        }

.search-container:hover .search-input,
 .search-input:focus {
            width: 220px;
            border-radius: 16px;
            cursor: text;
            padding-left: 16px;
            padding-right: 32px;
            text-indent: 0;
            -webkit-box-shadow: 0 0 0 .25rem rgba(13,110,253,.25);
                    box-shadow: 0 0 0 .25rem rgba(13,110,253,.25);
        }

/* ----- offcanvas ---- */
.offcanvas-start {
  width: 180px; /* Or your preferred size */
}

/* Vertical nav */
.offcanvas .navbar-nav {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

/* Submenu styling */
.offcanvas .dropdown-menu {
  position: static;
  float: none;
  -webkit-box-shadow: none;
          box-shadow: none;
  margin: 0 0 0 0.2rem;
}

/* Optional: Style active menu items */
.offcanvas .nav-link.active,
.offcanvas .dropdown-item.active {
  background-color: #f0f0f0;
  color: #0d6efd;
}

/* Add vertical scroll if menu is very long */
.offcanvas-body {
  overflow-y: auto;
  padding-bottom: 2rem;
  width:300px;  /*added */
  border:1px dotted lightgray;
  border-radius:4px;
  height: 50vh !important;  
  background-color : #f8fbfb;   /*added */
}

/* Remove border or shadow if desired */
.offcanvas {
  -webkit-box-shadow: none;
          box-shadow: none;
  border-right: 1px solid #eee;
  border-radius:4px;
}
	
#offcanvasSidebar, .offcanvas.offcanvas-start {
 width:300px;  
 overflow-x:hidden;
/* height: calc(100vh - var(--footer-height)) !important; */
 height: 95%;
    top:50px;
    -webkit-box-shadow: 0 0 0 .25rem rgba(13,110,253,.25);
            box-shadow: 0 0 0 .25rem rgba(13,110,253,.25);
	}
	
.offcanvas-header{background-color: #f0f0f0;}	

@media (max-width: 992px) {
  .navbar-collapse { display: none !important; }     
  .dropdown-menu {
  --bs-dropdown-zindex: 1000;
  --bs-dropdown-min-width: 10rem;
  --bs-dropdown-padding-x: 0.2rem;
  --bs-dropdown-padding-y: 0.2rem;
  padding-top: var(--bs-dropdown-padding-y) !important;
  padding-bottom: var(--bs-dropdown-padding-y) !important;
  --bs-dropdown-spacer: 0.125rem;
  --bs-dropdown-font-size: 1rem;
  --bs-dropdown-color: var(--bs-body-color);
  --bs-dropdown-bg: var(--bs-body-bg);
  --bs-dropdown-border-color: var(--bs-border-color-translucent);
  --bs-dropdown-border-radius: var(--bs-border-radius);
  --bs-dropdown-border-width: var(--bs-border-width);
  --bs-dropdown-inner-border-radius: calc(var(--bs-border-radius) - var(--bs-border-width));
  --bs-dropdown-divider-bg: var(--bs-border-color-translucent);
  --bs-dropdown-divider-margin-y: 0.5rem;
  --bs-dropdown-box-shadow: var(--bs-box-shadow);
  --bs-dropdown-link-color: var(--bs-body-color);
  --bs-dropdown-link-hover-color: var(--bs-body-color);
  --bs-dropdown-link-hover-bg: var(--bs-tertiary-bg);
  --bs-dropdown-link-active-color: #fff;
  --bs-dropdown-link-active-bg: #0d6efd;
  --bs-dropdown-link-disabled-color: var(--bs-tertiary-color);
  --bs-dropdown-item-padding-x: 1rem;
  --bs-dropdown-item-padding-y: 0.25rem;
  --bs-dropdown-header-color: #6c757d;
  --bs-dropdown-header-padding-x: 1rem;
  --bs-dropdown-header-padding-y: 0.5rem;
  background-color: var(--bs-dropdown-bg);
  background-clip: padding-box;
  border: var(--bs-dropdown-border-width) solid var(--bs-dropdown-border-color);
  border-radius: var(--bs-dropdown-border-radius);
  }  
  li.nav-item.dropdown a.nav-link.dropdown-toggle{padding-left:5px;}  
  ul.dropdown-menu, ul.dropdown-menu.show{padding:3px 0 3px 0; width:250px;}    
  ul.dropdown-menu show, ul.dropdown-menu.show li a.dropdown-item{padding:4px;}  
  ul.dropdown-menu li.dropdown.dropend {padding:2px;}  
  ul.dropdown-menu.show li a.dropdown-item.active {background-color:inherit;}  
  
  ul.navbar-nav.ms-5 {margin:0 -15px 0 -15px !important; /* t-r-b-l */
   padding:5px;  border:1px lightblue solid; border-radius:5px;}
}

@media (max-width: 620px) {
  #offcanvas-sidebar, .offcanvas.offcanvas-start { top:120px;}
   ul.dropdown-menu.show { width:270px; } 
 li.nav-item.dropdown{ border-color: #dbe4f2; }
    ul.navbar-nav ul {margin-bottom:100px;}
 }
	
@media (min-width: 620px) {
  #offcanvas-sidebar, .offcanvas.offcanvas-start {
	 top:100px; background: #e3e5e6;
	}
  }
  
@media (max-width: 545px) {
  #offcanvas-sidebar, .offcanvas.offcanvas-start {
	 top:120px;
	}
  }

ul.ulbu {list-style: none;}
ul.ulbu li::before{content:'ðŸ•® ';}   

ul.ulli {list-style: none;}
ul.ulli li::before{content:' â‡² '; color:gray; background:inherit;}   /* ðŸ”— */

ul.sitemaplevel1, ul.sitemaplevel1 li.doc{list-style:none;} 
    
ul.ul3{list-style: none;}

a[href^="http"]::after, a[href^="https"]::after{
    content: " Â» "; font-size:12px;
}


ul.ul3 li::before{content:'â—Š '; color:blue;} 
.llog a.cfont, span#visitors-online{color:lightgray;}

.pre-btn, .nxt-btn{color:gray;}


.btn.btn-outline {
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: #000;
    background: transparent;
}

.btn.btn-round{ 
    border-radius: 20px; }
 
.btn.btn-outline-primary:hover, .btn.btn-outline-primary:focus
 {    color: white;
 background: #9fa8c3;}
     
span#visitors-online{visibility:visible;opacity:0.8;}
     
#myBtn {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 100px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: #eeefdc;
  color: black;
  cursor: pointer;
  padding: 13px;
  border-radius: 10px 10px 10px 10px;
  -moz-border-radius: 10px 10px 10px 10px;
  -webkit-border-radius: 10px 10px 10px 10px;
  border: 1px double #e3dfd6;
  background: #fff;
  background: -o-linear-gradient(315deg,#fff 0%,#f1f1f1 50%,#e1e1e1 51%,#f6f6f6 100%);
  background: linear-gradient(135deg,#fff 0%,#f1f1f1 50%,#e1e1e1 51%,#f6f6f6 100%);
  -webkit-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff',endColorstr='#f6f6f6',GradientType=1);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff',endColorstr='#f6f6f6',GradientType=1);
}
     
.photo{
  padding: .2rem;
  margin : .2rem !important;
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: .15rem;
  -webkit-box-shadow: 0 0 1px gray;
          box-shadow: 0 0 1px gray;
  max-width: 100%;
  height: auto;
}
     

h4{font-size: calc(1.1rem + .3vw) !important;}

.tarott td img {
  display: block; 
}

.cul {
  list-style-type: circle;
  font-family: verdana;
  font-size: 15px;
  text-align: left;
}

/* ----- submenu ----- */

.submenu ul.menulevel2, .submenu ul.menulevel3 {list-style:circle;}
.submenu ul.menulevel2 li a, .submenu ul.menulevel3 li a{line-height: 24px;}

.submenu li {
  font-size: 15.5px;
  font-weight: 400;
  font-family: 'Avrile+Sans','Open+Sans','Helvetica','Courier New',Arial;
}
.submenu li:hover {background-color:#f7f7f7;}

.sidebar{border: 1px #fcfcfc dotted;
margin-right:10px; width: 220px;}

.sidebar .spc{height: 5.6rem;}

.sidebar .submenu{
    border: 1px solid lightgray !important; 
    border-radius:4px;}

.sidebar .submenu li a {
  max-width: 140px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  word-break: break-word !important;
  line-height: 1.1em;
  color: #222363;
}

div.sidebar div.submenu li {
  min-height: 1.1em;
  margin-top: 1mm;
  margin-bottom: 1mm;
  font-size: 1rem;
  font-weight: 400;
  font-family: 'Avrile+Sans','Open+Sans','Helvetica','Courier New',Arial;
}


/*  ---- panel ----- */
.panel-default{border-radius:0.3em;}

.panel-body{
    border: 1px #918181 dotted; 
    border-radius:0.3em;
    padding:2em;
}
.panel-body li.doc {list-style:circle;}

#topbtn5a {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  background-color: red;
  color: white;
  cursor: pointer;
  padding: 12px;
  border-radius: 4px;
}

#topbtn5 {
  display: none;
  position: fixed;
  bottom: 80px;
  right: 50px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: #eeefdc;
  color: black;
  cursor: pointer;
  padding: 13px;
  border-radius: 10px 10px 10px 10px;
  -moz-border-radius: 10px 10px 10px 10px;
  -webkit-border-radius: 10px 10px 10px 10px;
  border: 1px double #e3dfd6;
  background: #fff;
  background: -o-linear-gradient(315deg,#fff 0%,#f1f1f1 50%,#e1e1e1 51%,#f6f6f6 100%);
  background: linear-gradient(135deg,#fff 0%,#f1f1f1 50%,#e1e1e1 51%,#f6f6f6 100%);
  -webkit-filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff',endColorstr='#f6f6f6',GradientType=1);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff',endColorstr='#f6f6f6',GradientType=1);
}


#topbtn5:hover {background-color: #555;}    
    
.sidebar nav.toc.bg-light a{font-size:15px;} 

.toc.thead p{width:80%;text-align: center;}
   
.sidebar nav.toc.bg-light ul.list-group{list-style-type: "*" !important;}

.sidebar nav.toc.bg-light ul.list-group.list-unstyled li:hover{background-color: yellow;}

.sidebar nav.toc.bg-light ul.list-group li:before{
    content: '\25CB' !important; /* leerer Kreis */
    color: black;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}
    
.sidebar .submenu p, .toc p{font-size:1.1rem !important;}

.toc{border: 1px solid lightgray !important; 
    border-radius:4px;
    display: inline-block;
    word-break: break-word !important;
    line-height: 1.1em;
    color: #222363;
}

.toc .bg-body .thead{padding-top:1em; font-size:1rem !important;}

.panel-body h5{
  font-size:1.1rem;
}

    
/* =======================================================
   TOC STYLING FÃœR BOOTSTRAP-UMGEBUNG
   ======================================================= */

/* !important, um  Bootstrap zu  Ã¼berschreiben */
ul.toclist,
ul.toclist li {
    list-style: none !important;
    padding-left: 5px !important;
    margin: 0 !important;
}

ul.toclist li a.hx {
    display: inline-block; /* LÃ¤sst den Link die ganze Breite der Zeile einnehmen */
    padding: 3px 0px;
    text-decoration: none;
    color: #0056b3; 
    border-bottom: 1px solid #eee; 
}

ul.toclist li a.hx::before {
    content: " \1F784  ";
    color: #6610f2;
    margin-top: -7px;
}

ul.toclist li a.hx:hover::before {
    content: "|";
    font-weight: bold;
    color: #6610f2;
    margin-right:5px; margin-bottom:3px;
    display: inline-block; /* Verhindert, dass es von anderen Regeln ignoriert wird */
    vertical-align: middle;
}

ul.toclist li a.hx:hover {
    background-color: #f8f9fa;
}
    
ul.toclist a.hx{
    color:gray !important;
    color: #003d80;
}

div#xh_mailform h1{font-size:18px;}