@charset "utf-8";
/* CSS Jochim Steuerberatung */
/* Formatierungen für ein Onepager-Template */
/* Copyright initially 04-2019ff Peter G. W. Huehne .. www.willy-huehne.de  */

/* Logofarben:
coloured  - blau:      #37547e
secondary - dklblau:   #141450

Stylename | Description | HEX Value | RGB Value
coloured:   lilablau     #37547e     rgb(57, 55, 139) 
secondary:  dunkelblau   #141450     rgb(20, 20, 80) 


Style "coloured" = Main Colour CD/CI Company
Style "secondary" = Secondary CD/CI Colour (to highlight things, as hover, ..)
bg-green -> green bg, white font
bg-blue -> blue bg, white font
etc.

LAUFSCHRIFT Noto Sans

Breite Template innen: max 1920
Höhe header start: 900 (x 1920 )
Höhe header subcat: 400 or 850 (x 1920 )

über vendor/bs/css werden weitere Bootstrap Formatierungen eingelesen, z.B.
text-center, text-white, .. kommen dann über scss utilities dazu


/*****************************************/
/*   1) grundlegendes Layout             */
/*****************************************/

/* ==== Google font ==== OUTDATED, now selfhosted */
/* @import url('https://fonts.googleapis.com/css?family=Noto+Sans'); */

/* noto-sans-regular - latin NotoSans-Regular.ttf: Copyright 2015-2021 Google LLC. All Rights Reserved. Licensed under the SIL Open Font License, Version 1.1. */
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/noto-sans-v27-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/noto-sans-v27-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/noto-sans-v27-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/noto-sans-v27-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/noto-sans-v27-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/noto-sans-v27-latin-regular.svg#NotoSans') format('svg'); /* Legacy iOS */
}
/* noto-sans-700 - latin */
@font-face {
  font-family: 'Noto Sans';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/noto-sans-v27-latin-700.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/noto-sans-v27-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/noto-sans-v27-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/noto-sans-v27-latin-700.woff') format('woff'), /* Modern Browsers */
       url('../fonts/noto-sans-v27-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/noto-sans-v27-latin-700.svg#NotoSans') format('svg'); /* Legacy iOS */
}
/* Mukta Malar 400 und 700 MuktaMalar-Regular.ttf, MuktaMalar-Bold.ttf: Copyright (c) 2016, Ek Type. All rights reserved. */
/* mukta-malar-regular - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Mukta Malar';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/mukta-malar-v12-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}
/* mukta-malar-700 - latin */
@font-face {
  font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
  font-family: 'Mukta Malar';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/mukta-malar-v12-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}



/* ==== Adobe Font "shelby" ==== replaced by Dancing Script */
/* @import url("https://use.typekit.net/nwk3xjf.css"); */


/* CSS variables to adjust colours centrally */ 
:root {
  --coloured:  #39378b; /* primary company colour */ 
  --secondary: #141450; /* secondary company colour */
/*** general colours ***/  
  --red:       #ff0000; /* general red -> uunused */ 
  --green:     #00ff00; /* general green -> unused */ 
  --blue:      #0000ff; /* general blue -> unused */
  --dark:      #565656; /* dark gray */
  --gray:      #c8c8c8; /* light gray */
  --white:     #ffffff;
  --black:     #000000;
  }


/****** Bootstrap 4 *****/
/*
// Extra small devices (portrait phones, less than 576px)
// No media query since this is the default in Bootstrap

// Small devices (landscape phones, 576px and up)
@media (min-width: 576px) { ... }

// Medium devices (tablets, 768px and up)
@media (min-width: 768px) { ... }

// Large devices (desktops, 992px and up)
@media (min-width: 992px) { ... }

// Extra large devices (large desktops, 1200px and up)
@media (min-width: 1200px) { ... }  
*/

.col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6,
.col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, 
.col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, 
.col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11,
.col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, 
.col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11,
.col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7,
.col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, 
.col-xl-11, .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, 
.col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-auto {
  padding-left:0;
  padding-right:0;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/***needed due to bg image ***/
html, body {
  max-width: 100%;
  height: 100vh;  /* wg. Internet Explorer */
  /* overflow-x: hidden; */
}

body {
  width: 100%;
	height: 100%;
  /* position: fixed; */
  background-color: var(--white);
  font-weight: 400;
}

html {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}
/**** due to bg pic fullsize, otherwise not needed */


body {
  font-family: 'Noto Sans', sans-serif, Arial, Helvetica;
}

.container-fluid {
  padding-left:0;
  padding-right:0;
}

.h-100 {
  height: 100%!important;
}


/* Limit to FHD on  XXXL-Monitors  */
.container-fluid, .row {
  max-width:1600px; /* 1920px; */
}

.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  padding-bottom: 10px;
  padding-top: 10px;
  margin-right: auto;
  margin-left: auto;
}

/*
.wrapper {
max-width: 1600px;
margin-left: auto;
margin-right: auto;
}
*/

.row {
  margin-right: 0;
  margin-left: 0;
  padding-top: 20px;
  padding-bottom: 10px;
  max-width: 100%;
}

/* overriding scss defaults */
/* 1140 - 960 - 720 - 540 */
/*
@media (min-width: 1200px) {
  .container { max-width: 1200px; }
}
@media (min-width: 992px) {
  .container { max-width: 992px; }
}
@media (min-width: 768px) {
  .container { max-width: 768px; }
}  
@media (min-width: 576px) {
  .container { max-width: 576px; }
}
*/

/* disable top- and bottom-padding in rows / cols if needed */ 
.nopad {
padding-top: 0;
padding-bottom: 0;
padding-left: 0;
padding-right: 0;
}

/***** Fonts *****/
.big, big {
  font-size: 120%;
  font-weight: 700;
}

.small, small {
  font-size: 70%;
  font-weight: 400;
}

/** coloured and secondary switched because of background in primary colour! **/
/** usually a, h1-h6 = coloured, hover = secondary */
a /* a:visited */ {
  color: var(--dark);  /* secondary */
  font-weight: 700;        /* bold */
}

/* general, different on coloured bg -> see there */
a:hover, a:focus {
  color: var(--coloured);
}

#navigation a:hover {
  text-decoration: underline; 
}


P, UL, LI {
  font-family: 'Noto Sans', sans-serif, Arial, Helvetica;
  color: var(--coloured);
}

H1, H2, H3, H4, H5, H6 {
  font-family: 'Mukta Malar', serif, 'Times New Roman', Georgia; 
  font-weight: 700 !important;
  color: var(--coloured); 
}

H1, H2, H3, H4, H5, H6 {
  /* background: url(../img/title.png) 0 0 no-repeat; 
  padding-left: 10px; */
  padding-top: 5px;
}

/* usually: 2 .. 1.75 .. 1.50 .. 1.25 .. 1.15 .. 1 rem */
H1 { font-size: 2.25rem; }
H2 { font-size: 2.05rem; }
H3 { font-size: 1.95rem; }
H4 { font-size: 1.85rem; }
H5 { font-size: 1.75rem; }
H6 { font-size: 1.5rem; font-weight: 700;}

@media (min-width: 992px) and (max-width: 1199px) {
H1 { font-size: 2.25rem; }
H2 { font-size: 2.05rem; }
H3 { font-size: 1.95rem; }
H4 { font-size: 1.85rem; }
H5 { font-size: 1.75rem; }
H6 { font-size: 1.5rem; font-weight: 400;} /* usually bold */
}

@media (min-width: 768px) and (max-width: 991px) {
H1 { font-size: 2.15rem; }
H2 { font-size: 2.00rem; }
H3 { font-size: 1.85rem; }
H4 { font-size: 1.75rem; }
H5 { font-size: 1.50rem; }
H6 { font-size: 1.25rem; font-weight: 400;} /* usually bold */
}

@media (max-width: 767px) {
H1 { font-size: 1.75rem; }
H2 { font-size: 1.5rem; }
H3 { font-size: 1.25rem; }
H4 { font-size: 1.15rem; }
H5 { font-size: 1.05rem; }
H6 { font-size: 1rem; font-weight: 400;} /* usually bold */
}


.btn-xl {
  text-transform: uppercase;
  padding: 1.5rem 3rem;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.1rem;
}


.blockquote {
    margin-bottom: 1rem;
    font-size: 2.75rem;
    /* font-family: 'Dancing Script', 'shelby', serif, 'Times New Roman', Georgia; /* 'Dancing Script' */
}


/*****   Background Colours and Font Colours based on different states   *****/
/*** watch out:   coloured = bg-coloured     (always colours the Backgound,  */
/*** same with:   secondary = bg-secondary    never colouring the Font)      */
/*** --> Fonts in these areas are always coloured like assigned below        */ 
/*** BUT: blue (red, green,..) = assigns Font colour to blue (red, green,..) */
/*** AND: bg-blue, bg-red,..   = assigns background-color  + add. styles !   */

.coloured, .bg-coloured {
  background-color: var(--coloured);
}

.secondary, .bg-secondary {
  background-color: var(--secondary)!important;
}

/* Headlines, Text, Links and Hover on coloured background */
.coloured P, .coloured H1, .coloured H2, .coloured H3, .coloured H4, .coloured H5, .coloured H6,
.coloured a, .coloured a:visited, .coloured a:focus, .coloured a:hover, .coloured a:active,
.bg-coloured P, .bg-coloured H1, .bg-coloured H2, .bg-coloured H3, .bg-coloured H4,
.bg-coloured H5, .bg-coloured H6, 
.bg-coloured a, .bg-coloured a:visited, .bg-coloured a:focus, .bg-coloured a:hover, .bg-coloured a:active,
.bg-coloured LI {
  color: var(--white);
}

/* Headlines, Text, Links and Hover on background in secondary colour */
.secondary P, .secondary H1, .secondary H2, .secondary H3, .secondary H4, .secondary H5, .secondary H6,
.secondary a, .secondary a:visited, .secondary a:focus, .secondary a:hover, .secondary a:active,
.bg-secondary P, .bg-secondary H1, .bg-secondary H2, .bg-secondary H3, .bg-secondary H4,
.bg-secondary H5, .bg-secondary H6, 
.bg-secondary a, .bg-secondary a:visited, .bg-secondary a:focus, .bg-secondary a:hover, .bg-secondary a:active,
.bg-secondary LI {
  color: var(--white);
}

/* Headlines, Text, Links and Hover on background in secondary colour */
.bg-gray P, .bg-gray H1, .bg-gray H2, .bg-gray H3, .bg-gray H4, .bg-gray H5, .bg-gray H6,
.bg-gray a, .bg-gray a:visited, .bg-gray a:focus, .bg-gray a:hover, .bg-gray a:active,
.bg-gray LI {
  color: var(--white);
}

.bg-white {
  background-color: var(--white);
}
/** slightly white opacity as overlay **/  
.bg-white-opa {
  background-color: rgba(255,255,255,0.6);
}

/* general colours */
.red {
  color: var(--red);
}
.bg-red {
  background-color: var(--red);
  color: var(--white);
}
.bg-red a, .bg-red a:visited {
  color: var(--gray);
}  
.bg-red a:hover, .bg-red a:focus {
  color: var(--black);
}
/* modify #divname to fit "nav id" of outer div container for the navigation */  
#mainnav .bg-red A, #mainnav .bg-red a:visited {
  color: var(--white);
}  
#mainnav .bg-red A:hover, #mainnav .bg-red a:focus {
  color: var(--black);
} 

.blue {
  color: var(--blue); 
}
.bg-blue {
  background-color: var(--blue);
  color: var(--white);
}
.bg-blue a, .bg-blue a:visited {
  color: var(--gray);
}  
.bg-blue a:hover, .bg-blue a:focus {
  color: var(--black);
}
/* modify #divname to fit "nav id" of outer div container for the navigation */  
#mainnav .bg-blue A, #mainnav .bg-blue a:visited {
  color: var(--white);
}  
#mainnav .bg-blue A:hover, #mainnav .bg-blue a:focus {
  color: var(--white);
} 

.green {
  color: var(--green); 
}
.bg-green {
  background-color: var(--green);
  color: var(--white);
}
.bg-green a, .bg-green a:visited {
  color: var(--gray);
}  
.bg-green a:hover, .bg-green a:focus {
  color: var(--black);
}
/* modify #divname to fit "nav id" of outer div container for the navigation */  
#mainnav .bg-green A, #mainnav .bg-green a:visited {
  color: var(--white);
}   
#mainnav .bg-green A:hover, #mainnav .bg-green a:focus {
  color: var(--white);
} 

.black {
  color: var(--black) !important;
  /* background-color: 000 !important; */
}
.bg-black {
  background-color: var(--black);
  color: var(--white);
}
.bg-black a, .bg-black a:visited {
  color: var(--coloured);
}  
.bg-black a:hover, .bg-black a:focus {
  color: var(--white);
}

.white, 
.white P, .white H1, .white H2, .white H3, .white H4, .white H5, .white H6, .white btn,
.white UL, .white LI {
  color: var(--white);
}

.bg-dark {
  background-color: var(--dark);
}

/** gray = special case, with opacity **/
.bg-gray {
/* background: #888888; */
/*  background-color: var(--gray); */
  background: rgb(136, 136, 136); 
  background: rgba(136, 136, 136, .75);
}



#contentarea, .contentarea {
  position: relative;
}

/*#content .row {   /* needed to get rid of "display:flex" via grid.scss, which */
/*  display: unset; /* conflicts the responsive breaking in blog posts / lists  */
                  /* but: shall just affect content area, rest should be flex */
/*  }  */

/* row must be display:flex to have second coloumn (for sidemenu), but then 
blog-items in blog category view don't shrink .. so edited here to fit in */ 

#content .items-row, #content .blog-post, #content .item, 
#content .item-image IMG{
  width: 100%;
  max-width: 90vw;
  height: auto;
}

/* on desktop view sidemeu is right, ordered 1 to be above content on mobile */
@media (max-width: 699px) {
  #contentarea { 
    display: flex; 
    /* Optional, if you want the DIVs 100% width: */ 
    flex-direction: column;
  }
  #contentarea > #sidemenu {
    order: 1;
  }
  #contentarea > #content {
    order: 2;
  }
}

/* set max sizes for images in blog category view (just there,  NOT in article
view etc) => better for text-width next to the images on small devices and 
benefit: bigger images get fitted to same size on thee blog list              */
@media (max-width: 699px) {
  #content .blog .item-image IMG {
    width: 90vw;
    height: auto;
  }
}
@media (min-width: 700px) and (max-width: 749px) {
  #content .blog .item-image IMG {
    max-width: 200px;
    height: auto;
  }
}
@media (min-width: 750px) and (max-width: 1199px) {
  #content .blog .item-image IMG {
    max-width: 250px;
    height: auto;
  }
}
@media (min-width: 1200px) {
  #content .blog .item-image IMG {
    max-width: 100%;
    height: auto;
  }
}

/***** some space around images in articles *****/
/*div[itemprop="articleBody"] IMG.pull-left {
    float: right;
    padding-right: 10px;
}
div[itemprop="articleBody"] IMG.pull-right {
    float: right;
    padding-left: 10px;
}
*/

/*****      more Joomla specific stuff      *****/

/* some space after blog contents before showing next section */
.blog { margin-bottom: 15px; }

/** limit slider size on item-page (referenzen) ***/
.item-page .carousel-item IMG { 
  max-height: 80vh;   /* generally fit to page height */
  max-width:  90vw;   /* if very large screen also fit to page width */
  height: auto;
}

/* set inner area to max. 1600 px */
#content {
  max-width: 1450px;
  margin: auto;
}

/* limit width of articles */
div[itemprop="articleBody"]  { max-width: 900px; }

/* in articles (only content area): assign 10px to to right if left-pulled IMG */ 
#content IMG.pull-left {
  /* padding-left: 10px!important; */
  padding-right: 10px!important;
}

/* assign some 10px blank space to the left of images that are pulled right */
#content IMG.pull-right {
  /* padding-left: 10px!important; */
  padding-left: 10px!important;
}

/***** some space around images in J3/J4 articles *****/
/** alternative version to "only for area named=content" limitation as above **/
div[itemprop="articleBody"] IMG.pull-left {
  float: left;
  padding-right: 10px;
}
div[itemprop="articleBody"] IMG.pull-right {
  float: right;
  padding-left: 10px;
}

/*** modules spacing for following modules below / only pos sidemenu ***/
#sidemenu .moduletable, #eventside .moduletable {
  margin-bottom: 30px;
}


/* set values for images in text area */
div[itemprop="articleBody"] IMG.intext {
  width: 250px;
  max-width: 250px;
  height: auto;
}

@media (min-width: 577px) and (max-width: 767px) {
  div[itemprop="articleBody"] IMG.intext {
    width: 175px;
    max-width: 175px;
    height: auto;
  }
}

@media (max-width: 576px) {
  div[itemprop="articleBody"] IMG.intext {
    width: 99%;
    max-width: 99%;
    height: auto;
  }
}



/***** Joomla 4 snip blog css *****/

.blog-items {
  grid-gap: 2em;
  display: grid;
  grid-auto-flow: row;
  grid-template-columns: 1fr;
  margin: 0 0 1em;
} 

.blog-items {
  display: flex;
  /* flex-wrap: wrap; */
  margin-bottom: 1em;
  /* margin-left: -0.5em;
  margin-right: -0.5em; */
  padding: 5px;
  width: 100%;
}

@media (min-width: 992px) {
  .blog-items.columns-2 {
    grid-template-columns: 1fr 1fr;
  }
  .blog-items[class*=" columns-"]>div, .blog-items[class^=columns-]>div {
    flex: 0 1 auto;
    max-width: none;
    width: 47%; /* auto */
  }
}


@media (min-width: 992px) {
  .blog-items.columns-2>div {
    width: 50%;
  }
  .blog-items .blog-item {
    padding: 0;
  }
  .blog-item {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0 0.5em 1em;
  }
}


@media (max-width: 991px) {
  .blog-items[class*=" columns-"]>div, .blog-items[class^=columns-]>div {
    flex: 0 1 auto;
    max-width: none;
    width: auto;
}
  .blog-items .blog-item {
    padding: 0;
  }
  .blog-item {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0 0.5em 1em;
  }
  .blog-items {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1em;
    padding: 5px;
    width: 100%;
  }
  .blog-item IMG {
    max-width: 100%;
    height: auto;
  }
}



/*** Joomla Modules usually get the custom class, so valuese like padding, color
     need to be set explicitly again, even if already set in #section areas   */
  
/* some space for items/text in modules */
.custom {
/*  padding-top: 20px;
  padding-bottom: 10px; */
}

.custom P, .custom TR,
.custom H1, .custom H2, .custom H3, .custom H4, .custom H5, .custom H6 {
  padding-left: 25px;
  padding-right: 25px;
}

.custom table {
  margin-left: 25px;
}

/* class "spaced" to add some space between LI items if needed, used in block-7 */
.custom .spaced LI {
padding-bottom: 15px;
}

@media (max-width: 768px) {
  .custom P, .custom TR,
  .custom H1, .custom H2, .custom H3, .custom H4, .custom H5, .custom H6 {
/*    padding-left: unset;
    padding-right: unset;
*/
  }
}



.text P, .text H1, .text H2, .text H3, .text H4, .text H5, .text H6 {
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 5px;
  padding-bottom: 5px;
}

#footer P, #footer H4, #footer a {
  font-weight: 400;
  font-size: 0.9em;
/*  color: var(--gray);  */
}



/*** more font styling at fonts section later / ~line 550ff  ***/ 

/* remove custom padding for headpic / slider */
#headpic .custom, #slider .custom {
  padding-top: 0; 
  padding-bottom: 0; 
  max-width: 100%;
}

.custom IMG, mySides IMG,
#headpic .custom IMG, #slider .custom IMG {
  max-width: 100%;
  height: auto;
}




/* readmore buttons in blog layout */
.readmore .btn {
  display: inline-block;
  font-weight: 400;
  color: var(--white);
  text-align: center;
  white-space: nowrap;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  border: 1px solid #000;
  padding: .375rem .75rem;
  font-size: 1rem;
  line-height: 1.5;
  border-radius: .25rem;
  background-color: var(--secondary);
  transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.readmore .btn:hover {
  color: var(--secondary);
  background-color: var(--coloured);
}

/****** content area styling ******/
/* after end of content -> at end of page above footer */
.footer-logo {
  padding-left: 40px;
  padding-right: 20px;
  padding-top:0;
  margin-top: -30px;
}

.footer-logo IMG {
  max-width: 100px;
}



#secondpic {
  height: 90vh;
}


#sideinfo {
  position: relative;
  top:   35px;
  right: 55px;
}


/* XXL > Height .. (needed to stretch and fit in div on huge monitors) */
/*
@media (min-height: 1020px) {  
.bg-pic {
  background: url(../images/start-bg.jpg);
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  background-attachment: fixed;
  -webkit-background-size: cover;
	-moz-background-size: cover;
	-o-background-size: cover;
	background-size: cover;
    
}
} 
*/




/*** different background images, each based on selected module position ***/
/***     --> set in index with if else php / depends on given names      ***/
/*** iOS doesnt know "background-attachment: fixed"! so workarond needed ***/

.bg-verlauf {
  background-image: url(../images/bg-verlauf.png);
}



/***** background-images .. normal, large and XXL screens *****/
/*****     NOT for Slideshow!! those are under "crossfade" later in this file */
.start-bg-pic-eich, .other-bg-pic {
  background-image: url(../images/header-background-0.jpg); 
}
  .start-1-bg-pic {
    background-image: url(../images/header-background-1.jpg); 
  }
  .start-2-bg-pic {
    background-image: url(../images/header-background-2.jpg); 
  }
  .start-3-bg-pic { 
    background-image: url(../images/header-background-3.jpg); 
  }
  .start-4-bg-pic { 
    background-image: url(../images/header-background-4.jpg); 
  }
.start-bg-pic, .start-1-bg-pic, .start-2-bg-pic, .start-3-bg-pic, .start-4-bg-pic,
.other-bg-pic {
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  background-attachment: fixed;
	min-height: 90vh;
	/*  -webkit-background-size: contain;
	-moz-background-size: contain;
	-o-background-size: contain;
	background-size: contain; *//*  -webkit-background-size: contain;
	-moz-background-size: contain;
	-o-background-size: contain;
	background-size: contain; */
}

/* das klappt bei iOS .. zwar kein bg-pic covered und fixed, aber wenigstens  */
/* als intro-pic, das dann mit scrollt .. iOS kennt kein backgrd-attmt. fixed */
/* --> im anschluss an die small screens deklariert für die subpages */
/*  
  .start-bg-pic {
background-attachment: unset; 
background-attachment: initial; 
      background: url('../images/bg-start.jpg') center top no-repeat scroll;
      background-size: auto 100vh;
  }
*/

/* bg img small screens */
@media (max-width: 768px) {  
  .start-bg-pic, .other-bg-pic {
    background-image: url(../images/header-background-0.jpg);
  }
  .start-1-bg-pic {
    background-image: url(../images/header-background-1.jpg); 
  }
  .start-2-bg-pic {
    background-image: url(../images/header-background-2.jpg); 
  }
  .start-3-bg-pic { 
    background-image: url(../images/header-background-3.jpg); 
  }
  .start-4-bg-pic { 
    background-image: url(../images/header-background-4.jpg); 
  }
  .start-bg-pic, .start-1-bg-pic, .start-2-bg-pic, .start-3-bg-pic, .start-4-bg-pic,
  .other-bg-pic {
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    background-attachment: unset;
    -webkit-background-size: cover;
  	-moz-background-size: cover;  
  	-o-background-size: cover;
  	background-size: cover;
	  min-height: unset;
    height: 50vh;
    max-height: 50vh;    
  }


  #sideinfo {
    position:absolute; 
    bottom: unset; /* 35px; */ 
    right: 0px;
    left: 0px;
  }
} 

/*** iOS fixes ***/
/* falls iOS erkannt, weil Befehl xx funktioniert, ändere class xxx
@supports (-webkit-overflow-scrolling: touch)
@supports (-webkit-touch-callout: none)
---> sollten beide iOS erkennen, da nur in Safari, aber 
a) klappt nicht und b) obwohl auch Chrome in iOS auf Webkit/Safari basiert,  
kann das zukünfitg nicht mehr zuverlässig sein als Erkennung

@supports not (background-attachment: fixed) --> liefert unter iOS "true", 
obwohl es eben unter iOS NICHT klappt, "bg-attmt."" mit "fixed" zu verbinden

ergo: man kann nur per JS in der index.php abfragen, ob iOS und dann Klassen
darauf basiert umschreiben --> siehe head-Bereich auf index.php   */

/* working if iOS would bei detected properly ... 
@supports not (background-attachment: fixed) {
   .start-bg-pic {
     background-attachment: unset; 
     background-attachment: initial; 
     background: url('../images/header-background-0.jpg') center top no-repeat scroll;
     background-size: auto 100vh;
  }
}  
@supports (-webkit-overflow-scrolling: touch)  
  .start-1-bg-pic {
     background-attachment: unset; 
     background-attachment: initial; 
     background: url('../images/header-background-1.jpg') center top no-repeat scroll;
     background-size: auto 100vh;
  } 
}
*/

/* other approaches if detectioon would work propperly ..
@supports not (background-attachment: fixed) {

.start-bg-pic::before {
background-attachment: unset; 
background-attachment: initial; 
  content: ' ';
  display: block;
  background-image: url('../images/header-background-0.jpg'); 
  background-position: center;
  background-size: cover;
  height: 100vh;
  width: 100vw;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  position: fixed;
  z-index: -10; /* Das hier ist sehr wichtig! 
}

End iOS based substitutes for background-attachment: fixed */



.bg-fraulinks {
    background-image: url(../images/bild-frau-links.jpg);
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    background-attachment: unset;
    -webkit-background-size: cover;
  	-moz-background-size: cover;  
  	-o-background-size: cover;
  	background-size: cover;
}

@media (min-width: 768px) AND (max-width: 1199px) {
.bg-fraulinks {
    background-image: url(../images/bild-frau-links-sqa.jpg);
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    background-attachment: unset;
    -webkit-background-size: cover;
  	-moz-background-size: cover;  
  	-o-background-size: cover;
  	background-size: cover;
}

}

@media (max-width: 768px) {
  .bg-fraulinks {
    height: 50vh;
  }
}


/* #starthead -> text above bottom */
.bottom40 {
  bottom: 40px;
  position: relative;
  min-height: 90vh;
background-color:var(--white); 
background-color: rgba(255, 255, 255, 0.7); /* white opacity */
}

.bottom40 H1 {
  font-size: 6rem;
  font-weight: 700; 
}

.bottom40 P {
  font-size: 1.5rem;
  font-weight: 400;
}
.bottom40 A {
  text-transform: uppercase;
}

@media (max-width: 768px) {  
  .bottom40 H1 {
    font-size: 3.5rem;
    font-weight: 700; 
  }
  .bottom40 P {
    font-size: 1.25rem;
    font-weight: 400; 
  }
}

/*
#starthead, .startheads {
    bottom: 20px;
    position: absolute;
}
*/
.startheads {
  position: relative;
  height: 95vh;
  min-height: 95vh;
  display: flex;
  align-items: flex-end;
  align-content: flex-end;
  justify-content: center;
  text-align: center;
}

.smallhead {
  position: relative;
  height: 40vh;
  min-height: 40vh;
  display: flex;
  align-items: flex-start;
  align-content: flex-start;
  justify-content: center;
  text-align: center;
}

@media (max-width: 1400px) {
  .smallhead {
    position: relative;
    height: 35vh;
    min-height: 35vh;
  } 
 }
@media (max-width: 1200px) {
  .smallhead {
    position: relative;
    height: 30vh;
    min-height: 30vh;
  } 
 }
@media (max-width: 991px) {
  .smallhead {
    position: relative;
    height: 25vh;
    min-height: 25vh;
  } 
 }
@media (max-width: 768px) {
  .smallhead {
    position: relative;
    height: 20vh;
    min-height: 20vh;
  } 
 }
@media (max-width: 576px) {
  .smallhead {
    position: relative;
    height: 10vh;
    min-height: 10vh;
  } 
 }



#custom .bottom40 {
  /* bottom: 20px; */
  display: flex;
}

/* top header text headlines above bg-pic in startheads */

/* #starthead P, #starthead H1, #starthead H2, #starthead H3, */
#archihead P, #archihead H1, #archihead H2, #archihead H3,
#bshead P, #bshead H1, #bshead H2, #bshead H3,
#svhead P, #svhead H1, #svhead H2, #svhead H3,
#twphead P, #twphead H1, #twphead H2, #twphead H3,
#contentarea .articleBody P, #contentarea .articleBody H1, #contentarea .articleBody H2, #contentarea .articleBody H3,
#contentarea .articleBody H4, #contentarea .articleBody H5, #contentarea .articleBody H6 {
  color: var(--white);
  /* max-width: 65%; */
  margin-left: auto;
  margin-right: auto;
}

#starthead figcaption {
  width: 100%;
  background-color: var(--white);
  background-color: rgba(255, 255, 255, 0.7);
}

/***** sidemenu vertically => .nav needs to be unset from "flex" *****/
#sidemenu .nav {
  display:unset;
}


/*** background images for 4 different intro blocks on startpage ***/
.start-beratung-bg {
  background-image: url(../images/bg-beratung.jpg); 
}
.start-angebot-bg {
  background-image: url(../images/bg-angebot.jpg); 
}

/* unused, for future needs */
.start-aa-bg {
  background-image: url(../images/start-aa-bg.jpg); 
}
.start-bb-bg {
  background-image: url(../images/start-bb-bg.jpg); 
}

.start-beratung-bg, .start-angebot-bg, .start-aa-bg, .start-bb-bg {
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  /* background-attachment: fixed; */
  min-height: 35vh;
  background-size: cover;
}



.bg-contact {
  background-image: url(../images/bg-contact.jpg); 
  background-repeat: no-repeat;
/*  background-position-x: right;
  background-position-y: bottom; */
    position: relative;
    background-attachment: unset;
    -webkit-background-size: cover;
  	-moz-background-size: cover;  
  	-o-background-size: cover;
  	background-size: cover;
  
}


@media (min-width: 900px) AND (max-width: 1100px) {
  .bg-contact {
    background-image: url(../images/bg-contact-650a.jpg);
  }
}

@media (min-width: 768px) AND (max-width: 899px) {
  .bg-contact {
    background-image: url(../images/bg-contact-sqa.jpg);
  }
}
@media (max-width: 767px) {
  .bg-contact {
    background-image: url(../images/bg-contact-sqa.jpg);
    height: 50vh;
  }

}


#slider, .slider {
  background-image: url(../images/header-background-0.jpg);
}

#slider, .slider {
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  /* background-attachment: fixed; */
  min-height: 75vh;
  background-size: cover;
}

/* need darker font on light bg */
/*
.start-aa-bg P, .start-aa-bg H1, .start-aa-bg btn,
.start-bb-bg P, .start-bb-bg H1, .start-bb-bg btn {
color: var(--coloured); 
} 
*/

.start-about-bg {
  background-image: url(../images/start-about-bg.jpg);
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  min-height: 35vh;
  background-size: cover;
}

.start-contactmap-bg {
  background-image: url(../images/osm.jpg); 
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  min-height: 30vh;
  background-size: cover;
}



@media (max-width: 1400px) {
  .start-about-bg {
    background-image: url(../images/start-about-bg.jpg);
    background-repeat: no-repeat;
    background-position: right;
    position: relative;
    min-height: 20vh;
    background-size: cover;
  }
  
.start-contactmap-bg {
    background-image: url(../images/osm.jpg);
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    min-height: 30vh;
    background-size: unset;
}  
  
}

/* info box above contactmap */ 
.mapbox {
/*  position: relative; */
  left: 40px;
  min-height: 30vh;
}
.mapbox P {
position: absolute;
bottom: 0;
}

.mapbox IMG {
  width: 100%;
}

@media (max-width: 991px) {
  .mapbox {
    left: unset;
    margin-left: 5%;
  }
}


/* Klasse, um bilder innerhalb des DIVs automatisch auf responsiv zu setzen, */
/* damit man das in den beiträgen nicht extra machen muß */
.img-fluid IMG {
  max-width: 100%;
  height: auto;
}

  


/* static navbar will cover slider/head-pic, so move it down a bit */
#headpic, #slider {
/* margin-top:75px; */
}


.header-logo {
  /* position: fixed; /* deaktiv wenn anderes menu */
  position: relative;
  left: 0;
/*  right: 20px; /* deaktiv, wenn anderes menu */
/*  top: 30px;  /* usually 0, here lowered for design */
  z-index: 10000;
/* not fixed to left this time due to "centered" class for that area in tpl-index */
  margin-top:0px;
  max-height:  120px;
/* background: url(../img/ecke.png) 0 0 no-repeat;
 background-color:var(--white); 
  border-left: 1px solid rgba(230, 0, 3,.825);
  border-bottom: 1px solid rgba(230, 0, 3,.825); 
  border-bottom-left-radius: 10%!important; */ /* calc(.25rem - 1px); 
  z-index:10000;
*/ 
background-color:var(--white); 
background-color: rgba(255, 255, 255, 0.7); /* white opacity */
}

.header-logo IMG {
  /* height: 95px; */
  max-height:120px;
  width: auto;
}


.links, .left {
  left:0;
  text-align:left;
}

.rechts, .right {
  right:0;
  text-align:right;
}

.centered {
  text-align: center;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  align-content: center;
  align-self: center;
  scroll-snap-align: center;
}

/* horizontal and vertical centered via flexbox */
.center-hv {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

/* border stuff if needed */
.border-left {
  border-left:  1px solid rgba(36,156,227,.825);
}

.border-right {
  border-right:  1px solid rgba(36,156,227,.825);
}

.bordered {
  border:  1px solid rgba(36,156,227,.825);
}

.info { font-style: italic; margin: 1.5em;}

.full {width: 100%; max-width: 100%;}

/***** Section Styling  *****/

.portfolio-item {
  padding: unset;
  margin-bottom: 30px;
  padding-left: 15px;
}

.card-img-top, .card-img-top IMG {
  width: 100%;
  height: auto;
/* border-top-left-radius: calc(.25rem - 1px);
  border-top-right-radius: calc(.25rem - 1px);
*/
}

IMG {
  vertical-align: middle;
  border-style: none; 
  max-width: 100%;
  height: auto;
}

.card-title {
  margin-bottom: .75rem; 
}

.card-body {
  -ms-flex: 1 1 auto;
  flex: 1 1 auto;
  padding: 1.25rem;
}

.card-text:last-child {
  margin-bottom: 0;
}

.card {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  min-width: 0;
  word-wrap: break-word;
  background-color: unset; /* var(--white); */
/*  background-clip: border-box;
  border: 1px solid rgba(36,156,227,.825); 
  border-radius: .25rem;   */    
  border:none;  
}

.card-border {
/*  background-clip: border-box;
  border: 1px solid rgba(136,136,136,.825); 
  border-radius: .25rem;
*/
/* shadoow instead of border */  
box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
}

/* Section Projekte End */



/***** Section Jobs   *****/
.mb-3, .my-3 {
  margin-bottom: 1rem!important;
  margin-top: 1rem!important; 
}

.mb-4, .my-4 {
  margin-bottom: 1.5rem!important;
  margin-top: 1.5rem!important;
}
/* Section Jobs End */





/*** Borders ***/
.rounded, .rounded-pill {
  border-radius: 5rem;
}

/* round borders for images */
.rounded-circle {
  border-radius: 10%!important;
}


/*
.navbar {
  background: url(../img/topmenu2.jpg);
  height:220px;
  } 
*/

.header-back {
/* gradient background */
  /* background: -webkit-gradient(linear, left top, left bottom, from(#afafaf), to(#efefef)) fixed; */

/*  background-image: linear-gradient(rgba(100,100,100,0.8), rgba(239,239,239,0.01)); /* afafaf = 175,175,175 efefef = 239,239,239 */
  width: 100%;
  height: 65px;
}


.header {
  /* margin-top:45px; */
  height: 65px;
  padding-top: unset;
  padding-bottom: unset; 
}

/* expand height for header for vertical navigation */
@media (max-width: 991px) {
  .header { height: 160px;}
  #headpic { margin-top: 0px;}
/* headpic must be set to 0 .. will place section under header then, 
wouldn't shift it 160px below header if not explicitly set */ 
}



.fixed-logo {
  position: fixed;
}


/*** Slider / Carousel config ***/

/* initial value */
/* .mySlides {
  display:none;
  }
 */

.slide {
  top:0;
  /* padding-bottom: 15px; */
  clear: both;
  /*width: 100%; */
  margin: 0;
  /* padding: 0 0 15px 0; /* t l b r */
}

.slider IMG { /* padding von 5px um Bilder aufheben */
  padding: 0;
}

.sliderbox, .sliderbox IMG {
  /* max-height: 75vh; */
  width:100%;
  align-content: center;
  align-items: center;
  text-align: center;
  -webkit-box-align: center;
  vertical-align: middle;
  align-self: center;
  justify-content: center;
}

.slidebutton {
  position: absolute;
  top: 50%;
}

.carousel-indicators LI {
  background: var(--coloured);
  border-color: var(--coloured);
}

.carousel-item IMG,
.carousel-inner>.item>a>img,
.carousel-inner>.item>img,
.img-responsive,
.thumbnail a>img,
.thumbnail>img{
  display:block;
  max-width:100%;
  height:auto;
}


/* Ende Slider / Carousel */

table td, table td * {
  vertical-align: top;
}

tr:nth-child(even) {
  background-color: var(--gray);
}

tr:hover {
  background-color: var(--coloured); color: white;
}




/*** container size in about section ***/
#themen .container, #contact .container, #referenzen .container, #contactmap .container, #footer .container, #contentarea .articleBody { 
  width: 80%;
}
[name^="block-"] .container {     /* set all containers in sections starting with name block- to 80% */
  width: 80%;
  aspect-ratio : 1 / 0.75;
}

@media (max-width: 1400px) {
  #themen .container, #contact .container, #referenzen .container, #contactmap .container, #footer .container, #contentarea .container  {     
    width: 85%;
  }
  [name^="block-"] .container {     
    width: 85%;
  }
}

@media (max-width: 1200px) {
  #themen .container, #contact .container, #referenzen .container, #contactmap .container, #footer .container, #contentarea .container  {     
    width: 95%;
  }
  [name^="block-"] .container {     
    width: 95%;
   aspect-ratio : 1 / 1;   
  }

/* prevent breaking buttons */
  #icons btn {
/*  border: none;  */
  }

}

/* #block-6a .container, #block-7a .container, #block-10a .container { */
/* images in block-6a and block-7a at the outline, needs reset of usual container-padding */
/* #block-6a .container, #block-7a .container {
padding-left: 0;
} */
@media (min-width: 768px) {
  #block-6a .container, #block-7a .container, #block-10a .container {
    padding-left: 0;
  } 
}

/* usually 767 but in this project needed too unset aspect ration at 900 for block 6right */
@media (max-width: 900px) {
  [name^="block-"] .container {      
    width: 95%;
   aspect-ratio : unset;   
  }  
}








/*** icon sizes in top icon section ***/
#themen .zoom-img IMG, #icons IMG {
  max-height: 100px;
  width: auto;
}

#themen P, #themen H1, #themen H2, #themen H3, #themen H4, #themen H5, #themen H6 /*, #themen btn */ {
  color: var(--white);
} 

#contact P, #contact H1, #contact H2, #contact H3, #contact H4, #contact H5, #contact H6,  #contact btn {
  color: var(--white);
}

#contact .bg-primary,
#contact .bg-secondary {
  min-height: 400px;
  padding-left: 5%;
  padding-right: 5%;
  padding-top: 25px;
}

btn {
  border: 3px solid; 
  /* border-radius: 5rem; */
  padding: 8px 20px;
  /* position: relative; */
  /* margin: 10px 1px; */
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  position: relative;
  top: 10px;
}




btn:hover {
  background-color: var(--dark);
  color: var(--white);
  border-color: var(--dark);
}

/* #themen btn:hover, */ #contact btn:hover {
  background-color: var(--dark);
  color: var(--white);

}

btn.white:hover  {
  background-color: var(--white);
  border-color: var(--white);
  color: var(--dark);
}



/* Kontakt-Section Startseite */
/* Inhaltsbereich in Modul auf 70% der normalen Breite setzen */
.70pro, .pro70 {
  max-width: 70%;
  margin-left: auto;
  margin-right: auto;
}




/* Navigation  */

/* linksbündig */
.ml-auto, .mx-auto {
  margin-left:auto!important; /* --> setzt home links und den rest ab rechts */
}

/* manuell nach links neben home, damit es nicht rechts (auto) unter dem Logo liegt */
/* .navbar-toggler {
  position: absolute;
  right: 50px;
  top:10px;
  }
*/
/* white toggler btn */
.navbar-dark .navbar-toggler-icon {
  background-image: url(../images/toggler.png);
}
/* black toggler btn */
.navbar-white .navbar-toggler-icon {
  background-image: url(../images/toggler-black.png);
}

.navbar-white {
  padding-top: 1rem;
  padding-bottom: 1rem;
  background-color: var(--white);
  /* background-color: rgba(255, 255, 255, 1); */
}

.navbar-custom {
  padding-top: 1rem;
  padding-bottom: 1rem;
 /* background-color: rgba(0, 0, 0, 0.7); /* black */
  background-color: rgba(184, 32, 43, 0.7);  /*  var-coloured 70% opacity */ 
}

.navbar-custom .navbar-brand,
.navbar-white .navbar-brand,
.navbar-dark .navbar-brand  {
  text-transform: uppercase;
  font-size: 1rem;
  letter-spacing: 0.1rem;
  font-weight: 400;
}

.navbar-custom .navbar-nav .nav-item .nav-link,
.navbar-white .navbar-nav .nav-item .nav-link,
.navbar-dark .navbar-nav .nav-item .nav-link {
  text-transform: uppercase;
  font-size: 1rem;  /* 0.8rem */
  font-weight: 400;
  letter-spacing: 0.1rem;
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255,255,255,1);
  }
.navbar-white .navbar-nav .nav-link {
  color: rgba(20, 20, 80, 1); /* secondary blue */
}

.navbar-custom .navbar-nav .nav-link:hover,
.navbar-white .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:hover {
  color: rgba(136, 136, 136, 1); /*  gray */
}

/* nav items shifted from left because of Logo */
.leftspaced {
  left: 225px;
  position: absolute;
}


ul.topnav li a:hover, /* joo */
ul.navbar li a:hover, /* non joo */
ul.navbar-nav li a:hover {
  display: block;
  /* color: var(--coloured); */
  text-align: center;
 /* padding: 10px 10px; */ /* disabled for dj megamenu */
  text-decoration: none;
  /* border-bottom: 2px solid var(--coloured); */
  /* border-bottom: none; */
  -webkit-transition: unset;
  -moz-transition: unset;
  transition: unset;
  line-height: 1;
}

/* non joo */
.navbar-expand-lg .navbar-nav  .nav-link {
  padding-right: 1.25rem;
  padding-left: 1.25rem;
}


/** war masthead */




.bg-primary {
  background-color: var(--coloured) !important; 
}
/* !important; */
.btn-primary {
  background-color: var(--coloured);
  border-color: var(--coloured);
}

.btn-primary:active, .btn-primary:focus, .btn-primary:hover {
  background-color: var(--dark) !important;
  border-color: var(--gray) !important;
}

.btn-primary:focus {
  box-shadow: 0 0 0 0.2rem rgba(184, 32, 43, 0.5); /* primary */
}

.btn-secondary {
  background-color: var(--secondary);
  border-color: var(--secondary);
}

.btn-secondary:active, .btn-secondary:focus, .btn-secondary:hover {
  background-color: var(--coloured) !important;
  border-color: var(--coloured) !important; 
}

.btn-secondary:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 106, 0, 0.5); /* to  do */
}


/* Back to top Button */
#back-top {
  position: fixed;
  bottom: 50px;
  right: 20px;
  z-index: 10001;
}

#back-top a {
  width: 51px;
  display: block;
  text-align: center;
  font-size: 12px;
  line-height: 18px;
  font-family: 'Maven Pro', sans-serif, Arial, Helvetica;
  text-transform: none;
  text-decoration: none;
  color: var(--gray);
  -webkit-transition: 0.2s;
  -moz-transition: 0.2s;
  transition: 0.2s;
}

#back-top span {
  width: 51px;
  height: 51px;
  display: block;
  margin-bottom: 7px;
  background: url(../images/up-arrow.png) no-repeat center center;
  opacity: 1;
  filter: alpha(opacity=100);
  -webkit-transition: 0.2s;
  -moz-transition: 0.2s;
  transition: 0.2s;
}


@media (max-width: 991px) {
  #back-top {
    position: fixed;
    bottom: 15px;
    right: 20px;
    z-index: 10001;
  }
  .header-logo {
  /* position: fixed; /* deaktiv wenn anderes menu */
    position: relative;
    margin-top: 40px;
    left: 0;
/*  right: 20px; /* deaktiv, wenn anderes menu */
/*  top: 30px;  /* usually 0, here lowered for design */
    z-index: 10000;
    margin-top:0px;
    max-height:  120px;
    background-color:var(--white); 
    background-color: rgba(255, 255, 255, 0.7); /* white opacity */
    }

  .header-logo IMG {
  /* height: 95px; */
    max-height:120px;
    width: auto;
    margin-top: 40px;
    }
    
  .header-logo IMG {
/*    padding: unset;
    margin: unset;
    position: absolute;
    top: 50px;
    max-width: 120px;
    height: auto;
    left: 0; /* 250px; */
  }

  .navbar-custom, .navbar-white, .navbar-dark {
    padding-top: unset;
  }      
}

@media (max-width: 767px) {
  .header-logo IMG {
    padding: unset;
    margin: unset;
    position: relative;
    top: 40px;
    max-height: 120px;
    height: auto;
    left: unset;
  }
}


@media (max-width: 576px) {
  .display-4 {
    font-size:1.75rem;
  }

  .portfolio-item {
    margin-bottom: 10px;
    padding-left: 5px;
    padding-right:2px;
  }

  .col, .col-1, .col-10, .col-11, .col-12, .col-2, .col-3, .col-4, .col-5, .col-6,
  .col-7, .col-8, .col-9, .col-auto, .col-lg, .col-lg-1, .col-lg-10, .col-lg-11, 
  .col-lg-12, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, 
  .col-lg-8, .col-lg-9, .col-lg-auto, .col-md, .col-md-1, .col-md-10, .col-md-11,
  .col-md-12, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, 
  .col-md-8, .col-md-9, .col-md-auto, .col-sm, .col-sm-1, .col-sm-10, .col-sm-11,
  .col-sm-12, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7,
  .col-sm-8, .col-sm-9, .col-sm-auto, .col-xl, .col-xl-1, .col-xl-10, .col-xl-11,
  .col-xl-12, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7,
  .col-xl-8, .col-xl-9, .col-xl-auto {
    width: auto;
    max-width: 100%; 
  }

.col-xs-12, .col-sm-12, .col-md-12, .col-lg-12, .col-xl-12 {
width: 100%;
}

 
  .header-logo IMG {
    padding: unset;
    margin: unset;
    position: relative;
    top: 40px;
    max-height: 120px;
    height: auto;
    left: unset;
  }

  .navbar-custom, .navbar-white, .navbar-dark {
    padding-top: unset;
  }
}

/* MODAL */
.modalDialog {
  position: fixed;
  font-family: 'Maven Pro', sans-serif, Arial, Helvetica;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0,0,0,0.8);
  z-index: 99999;
  opacity:0;
  -webkit-transition: opacity 400ms ease-in;
  -moz-transition: opacity 400ms ease-in;
  transition: opacity 400ms ease-in;
  pointer-events: none;
}

.modalDialog:target {
  opacity:1;
  pointer-events: auto;
}

.modalDialog > div {
  width: 90vw;
  max-height: 90vh;
  position: relative;
  margin: 1% auto;
  /*      padding: 5px 20px 13px 20px; */
  border-radius: 10px;
  background: var(--white); /* #fff; */ 
  background: -moz-linear-gradient(#fff, #999);
  background: -webkit-linear-gradient(#fff, #999);
  background: -o-linear-gradient(#fff, #999);
}

.close {
  background: var(--secondary); 
  color: var(--white);
  line-height: 25px;
  position: absolute;
  right: -12px;
  text-align: center;
  top: -10px;
  width: 24px;
  text-decoration: none;
  font-weight: bold;
  -webkit-border-radius: 12px;
  -moz-border-radius: 12px;
  border-radius: 12px;
  -moz-box-shadow: 1px 1px 3px #000;
  -webkit-box-shadow: 1px 1px 3px #000;
  box-shadow: 1px 1px 3px #000;
}

.close:hover { 
  background: var(--coloured);  
}

/* modal 2 */
.modal {
  display: none;     /* Hidden by default */
  position: fixed;   /* Stay in place */
  z-index: 1;        /* Sit on top */
  padding-top: 10px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%;       /* Full width */
  height: 100%;      /* Full height */
  overflow: auto;    /* Enable scroll if needed */
  background-color: rgb(0,0,0);      /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background-color: var(--white);
  margin: auto;
  /* padding: 20px; */
  border: 1px solid var(--dark);
  width: 80%;
}

.modal-row {
  width: 90vw;
  max-height:90vw;
  /* padding: 0 10px 0 10px; */
  display: flex;
}

.modal-image-full {
  width:90vw;
  max-height: 80vh;
  margin: auto auto;
}

.middle {
  text-align: center;
}
/* Modal Ende */



/* padding zwischen den Bildern entfernen .. 3 start bereiche .. here unused */  
#referenzen div {
  padding: unset;
  padding-left: unset;
  padding-right: unset;
  /* margin-left: 10px;
  margin-right: 10px; */
}  




/* sections */
 
 /* Slideshow beneath navigation, adjust top as needed! */
#slider {
  position: relative;
  /*  margin-top: 70px; */
}


/***** counter *****/
#counter {
  align-items: center;
  align-content: center;
  align-self: center;
  /* background-color: rgba(255,255,255,0.6); */
}

/*
#referenzen,  #slider {
background-color: var(--coloured); 
}
*/


/* space around text in about blocks on startpagee */ 
#block-6left P, #block-6left H1,
#block-7left P, #block-7left H1, /*, #block-7left UL */ 
#block-6right P, #block-6right H1,
#block-7right P, #block-7right H1 {
margin-left: 5%;
margin-right: 15%;
margin-top: 25px;
}


#block-6left P, #block-6right P, #block-7left P, #block-7right P, 
#block-6left LI, #block-6right LI, #block-7left LI, #block-7right LI  {
  font-size: 1.25em;
  padding-right: 15px;
  margin-left: 5%;
  margin-right: 5%;   
}

#block-6left H2, #block-6right H2, #block-7left H2, #block-7right H2 {
  margin-left: 3%;
  margin-right: 3%;
  margin-top: 5%; 
}


@media (max-width: 991px) {
#block-6left P, #block-6left H1,
#block-7left P, #block-7left H1 /* , #block-7left UL */ {
margin-left: unset;
margin-right: unset;
}

#block-6left P, #block-6right P, #block-7left P, #block-7right P,
#block-6left LI, #block-6right LI, #block-7left LI, #block-7right LI {
font-size: 1em;
}
}

#block-6left IMG.img-fluid, #block-7left IMG.img-fluid,
#block-6right IMG.img-fluid, #block-7right IMG.img-fluid, {
  max-width: 100%;
  height: auto;
  width: 100%;
}



/* styling  boxes for  icon buttons */
.counter-1 {
  background-color: var(--coloured); 
}
.counter-2 {
  background-color: var(--secondary); 
}
.counter-3 {
  background-color: var(--coloured); 
}
.counter-4 {
  background-color: var(--secondary); 
}

@media (max-width: 991px) {
.counter-1 {
  background-color: var(--coloured); 
}
.counter-2 {
  background-color: var(--secondary); 
}
.counter-3 {
  background-color: var(--secondary); 
}
.counter-4 {
  background-color: var(--coloured); 
}
}


.counter-1 P, .counter-2 P {
  color: var(--white);
}

.spaced-box {
  padding-top: 25px;
  padding-bottom: 15px;
  padding-left: 15px;
  padding-right: 15px;
}

.counter {
  /*  background-color: var(--white); */
  text-align: center;
}

#counter-1, #counter-2, #counter-3, #counter-4 {
  margin-top: 70px;
  margin-bottom: 70px;
  }

.counter-count {
  font-size: 18px;
  background-color: var(--secondary);  
  border-radius: 20%;             /* 50 round */
  position: relative;
  color: var(--white);
  text-align: center;
  line-height: 92px;
  width: 92px;
  height: 92px;
  -webkit-border-radius: 20%;
  -moz-border-radius: 20%;
  -ms-border-radius: 20%;
  -o-border-radius: 20%;
  display: inline-block;
}

/* optional for indivisual styles */
.one-p,.two-p,.three-p,.four-p {
  font-size: 24px;
  color: var(--black);
  line-height: 34px;
}
/* general style */
.counter-big {
  font-size: 40px;
  color: var(--black);
  line-height: 42px;
}


@media (max-width: 991px) {
  .one-p,.two-p,.three-p,.four-p {
    font-size: 18px;
    color: var(--black);
    line-height: 24px;
  }
  .one, .two, .three, .four {
    margin-top: 15px;
    margin-bottom: 15px;
  }
  .half {
    width: 50%;
  }
  .third {
    width:33%;
  }  
}


/***** end counter *****/



/* SLIDER carousel extended config */
/* obiges evtl overriden, check it .. */

.carousel {
  position:relative;
}
 
.carousel-inner {
  position:relative;
  max-width:100%;
  max-height: 80vh; /* fit large images to page height */
  overflow:hidden;
}
 
.carousel-inner>.item {
  position:relative;
  display:none;
  -webkit-transition:.6s ease-in-out left;
  -o-transition:.6s ease-in-out left;
  transition:.6s ease-in-out left;
}
 
.carousel-inner>.item>a>img,
.carousel-inner>.item>img {
  line-height:1;
}
 
 /*
 @media all and (transform-3d),(-webkit-transform-3d)
 {
 .carousel-inner>.item{
 -webkit-transition:-webkit-transform .6s ease-in-out;
 -o-transition:-o-transform .6s ease-in-out;
 transition:transform .6s ease-in-out;
 -webkit-backface-visibility:hidden;
 backface-visibility:hidden;
 -webkit-perspective:1000px;
 perspective:1000px;
 }
 
 .carousel-inner>.item.active.right,
 .carousel-inner>.item.next{
 left:0;
 -webkit-transform:translate3d(100%,0,0);
 transform:translate3d(100%,0,0);
 }
 
 .carousel-inner>.item.active.left,
 .carousel-inner>.item.prev{
 left:0;
 -webkit-transform:translate3d(-100%,0,0);
 transform:translate3d(-100%,0,0);
 }
 
 .carousel-inner>.item.active,
 .carousel-inner>.item.next.left,
 .carousel-inner>.item.prev.right{
 left:0;
 -webkit-transform:translate3d(0,0,0);
 transform:translate3d(0,0,0);
 }
 }   */ 
 /* Ende Media All */
 
 
.carousel-inner>.active, .carousel-inner>.next, .carousel-inner>.prev {
  display:block;
}
 
.carousel-inner>.active {
  left:0;
}
 
.carousel-inner>.next, .carousel-inner>.prev {
  position:absolute;
  top:0;
  width:100%;
}
 
.carousel-inner>.next {
  left:100%;
}
 
.carousel-inner>.prev {
  left:-100%;
}
 
.carousel-inner>.next.left,  .carousel-inner>.prev.right {
  left:0;
}
 
.carousel-inner>.active.left {
  left:-100%;
}
 
.carousel-inner>.active.right {
  left:100%;
}
 
.carousel-control {
  position:absolute;
  top:0;
  bottom:0;
  left:0;
  width:15%;
  font-size:20px;
  color: var(--white);
  text-align:center;
  text-shadow:0 1px 2px rgba(0,0,0,.6);
  filter:alpha(opacity=50);
  opacity:.5;
}
 
.carousel-control.left {
  background-image:-webkit-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);
  background-image:-o-linear-gradient(left,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);
  background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.5)),to(rgba(0,0,0,.0001)));
  background-image:linear-gradient(to right,rgba(0,0,0,.5) 0,rgba(0,0,0,.0001) 100%);
  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1);
  background-repeat:repeat-x;
}
 
.carousel-control.right {
  right:0;left:auto;
  background-image:-webkit-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);
  background-image:-o-linear-gradient(left,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);
  background-image:-webkit-gradient(linear,left top,right top,from(rgba(0,0,0,.0001)),to(rgba(0,0,0,.5)));
  background-image:linear-gradient(to right,rgba(0,0,0,.0001) 0,rgba(0,0,0,.5) 100%);
  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1);
  background-repeat:repeat-x;
}
 
.carousel-control:focus,  .carousel-control:hover {
  color: var(--white);
  text-decoration:none;
  filter:alpha(opacity=90);
  outline:0;
  opacity:.9;
}
 
.carousel-control .glyphicon-chevron-left, 
.carousel-control .glyphicon-chevron-right,
.carousel-control .icon-next,
.carousel-control .icon-prev {
  position:absolute;
  top:50%;
  z-index:5;
  display:inline-block;
  margin-top:-10px;
}
 
.carousel-control .glyphicon-chevron-left,
.carousel-control .icon-prev {
  left:50%;
  margin-left:-10px;
}
 
.carousel-control .glyphicon-chevron-right,
.carousel-control .icon-next {
  right:50%;
  margin-right:-10px;
}
 
.carousel-control .icon-next,  .carousel-control .icon-prev {
  width:20px;
  height:20px;
  font-family: serif;
  line-height:1;
}
 
.carousel-control .icon-prev:before {
  content:'\2039';
}
 
.carousel-control .icon-next:before {
  content:'\203a';
} 
 
.carousel-indicators {
  position:absolute;
  bottom:10px;
  left:50%;
  z-index:15;
  width:60%;
  padding-left:0;
  margin-left:-30%;
  text-align:center;
  list-style:none;
}
 
.carousel-indicators li {
  display:inline-block;
  width:10px;
  height:10px;
  margin:1px;
  text-indent:-999px;
  cursor:pointer;
  background-color:#000\9;
  background-color:rgba(0,0,0,0);
  border:1px solid var(--white);
  border-radius:10px;
}
 
.carousel-indicators .active {
  width:12px;
  height:12px;
  margin:0;
  background-color: var(--white);
}
 
.carousel-caption {
  position:absolute;
  right:15%;
  bottom:20px;
  left:15%;
  z-index:10;
  padding-top:20px;
  padding-bottom:20px;
  color: var(--white);
  text-align:center;
  text-shadow:0 1px 2px rgba(0,0,0,.6);
}
 
.carousel-caption .btn {
  text-shadow:none;
}
 
 
@media screen and (min-width:768px) {
  .carousel-control .glyphicon-chevron-left,
  .carousel-control .glyphicon-chevron-right,
  .carousel-control .icon-next,
  .carousel-control .icon-prev {
    width:30px;
    height:30px;
    margin-top:-15px;
    font-size:30px;
  }
 
  .carousel-control .glyphicon-chevron-left,
  .carousel-control .icon-prev {
    margin-left:-15px;
  }
 
  .carousel-control .glyphicon-chevron-right,
  .carousel-control .icon-next {
    margin-right:-15px;
  }
 
  .carousel-caption {
    right:20%;
    left:20%;
    padding-bottom:30px;
  }
  
  .carousel-indicators {
    bottom:20px;
  }
}

/***** Formatting Special Elements *****/
 
.display-4, 
.whitefont {
  color: var(--white);
}

/* Footer */
.pt-5, .py-5 {
  padding-top: 1rem!important;
}



/*
#content div[itemprop="articleBody"] P,
.item-page div[itemprop="articleBody"] P {
  padding-left: 10px!important;
  padding-right: 10px!important;
}
*/

/* ANIMATIONS */
/***** CSS Zoom Transition for Icons, DIVs, Images, .. *****/
.zoom { 
  transition: all .2s ease-in-out; 
}

/* zoom whole DIV */
.zoom:hover {
  transform: scale(1.02); 
  -moz-transform: scale(1.02); 
  -webkit-transform: scale(1.02);
}

/* zoom only IMG in DIV with this class */
.zoom-img:hover IMG {
  transform: scale(1.02); 
  -moz-transform: scale(1.02); 
  -webkit-transform: scale(1.02);
}



/***** ##### Fade-in on scroll --> hide initially ##### *****/
/* Script on index.php needed to work */
.hideme { 
  opacity:0;
}

/***** Slide-Animations .. UNUSED *****/
/* slide outside to inside for images on startpage  */
/* geht über die ID des IMG/DIV, daher für jedes Element eine eigene class */
/* this one: scroll from outside to left/into view >> for elements in right half */
#slider2, #slider4, #slider6, .slider2, .slider4, .slider6 {
  animation-duration: 4s;
  animation-name: sliderright;
}

@keyframes sliderright {
  0%   {  transform:translate(400%) }
  36%  {  transform:translate(150%) }
  70%  {  transform:translate(150%) }
  100% {  transform:translate(0) }
}

@-moz-keyframes sliderright {
  0%   {  -moz-transform:translate(400%) }
  36%  {  -moz-transform:translate(150%) }
  70%  {  -moz-transform:translate(150%) }
  100% {  -moz-transform:translate(0) }
}

@-webkit-keyframes sliderright{
  0%   {  -webkit-transform:translate(400%) }
  36%  {  -webkit-transform:translate(150%) }
  70%  {  -webkit-transform:translate(150%) }
  100% {  -webkit-transform:translate(0) }
}

/* this one: scrolling in from left side / for images in left half */
#slider1, #slider3, #slider5, .slider1, .slider3, .slider5 {
  animation-duration: 2s;
  animation-name: sliderleft;
}

/* Chrome and compatible Browsers */
@keyframes sliderleft {
  0%   {  transform:translate(-400%) }
  36%  {  transform:translate(-150%) }
  70%  {  transform:translate(-150%) }
  100% {  transform:translate(0) }
}
/* Firefox Extrawurst */
@-moz-keyframes sliderleft {
  0%   {  -moz-transform:translate(-400%) }
  36%  {  -moz-transform:translate(-150%) }
  70%  {  -moz-transform:translate(-150%) }
  100% {  -moz-transform:translate(0) }
}
/* Webkit Safari/ mobile Devices */
@-webkit-keyframes sliderleft {
  0%   {  -webkit-transform:translate(-400%) }
  36%  {  -webkit-transform:translate(-150%) }
  70%  {  -webkit-transform:translate(-150%) }
  100% {  -webkit-transform:translate(0) }
}


/*** disable fade-in for first box and fasten it for second on mobile views ***/
@media (max-width: 767px) {
  #slider1, #slider3, #slider5, .slider1, .slider3, .slider5 {
    animation-duration: 0s;
    animation-name: sliderleft;
  }
  #slider2, #slider4, #slider6, .slider2, .slider4, .slider6 {
    animation-duration: 2s;
    animation-name: sliderright;
  }
}

/***** Ende fade in slider *****/


/* container slightly smaller than screen */
/* .container {
max-width: 90vw;
}
*/


/**************** DJ mega menu and menu vertical in general **********/
/* dj mega menu */
.dj-mobile-open-btn {
  font-size: 3em;
}

/* joomla */
ul.nav.menu.nav-pills.navbar-white.mod-list,
/* non joomla */
.navbar-expand-lg .navbar-nav  .nav-link {
  padding-right: 1.25rem;
  padding-left: 1.25rem;
}

#navigation LI {
  margin-left: 15px; 
  margin-right: 15px;
  text-transform: uppercase;
  /* background-color: var(--coloured); */
  z-index:100000;
}

/* footer nav */
/* unset display to override nav class in BS */
.vertical-nav {
  display: unset; 
}


.navigation {
  /* position: absolute; */
  right: 0; 
  left: 20px;
  padding-left: 25px;
  z-index:10000;
}

.navbar-nav {
  width:100%;
}

.navbar-toggle {
  background-color: var(--secondary);
  float: left;
  margin-right: 50px;
  left: 25px;
}

.navbar-collapse.in {
  overflow: visible;
}

/*** Menu generell ***/
ul.nav.menu {  
  width: 100%;
  top: 5px;
  position: relative; 
  z-index: 100000000; 
}

.icon-bar {
  background-color: var(--white);
  margin: 3px;
  color: var(--white);
  z-index: 10001;
} 

/* Dropdown Menu */
.navbar-nav ul {
  list-style: none;
  padding: 0px;
  margin: 0px;
  z-index: 100000;
}

.navbar-nav ul a { border-bottom: 1px dotted var(--white);  }

/* oberste Ebene zeigen */
.navbar-nav  ul li {display: block;position: relative; z-index: 100000;  } /* float: right; */
/* Untermenu ausblenden */
.navbar-nav  li ul {display: none;}
.navbar-nav  ul li a {
  display: block; /* background-color: var(--secondary); opacity: 0.85; padding: 5px 10px 5px 10px; */ text-decoration: none;
  white-space: nowrap; color: var(--coloured); z-index: 100000;
}
 
/* span-Typ Headline in Nav-Menu */           
.nav-header {
  display: block;/* background: var(--white); */ padding: 4px 5px 5px 5px;text-decoration: underline;
  white-space: nowrap; color: var(--coloured); z-index: 100000; font-weight:700; 
}


.navbar-nav  li:hover ul {color: var(--white);  background-color: var(--coloured);  display: block; position: absolute; z-index: 100000;}
.navbar-nav  ul li a:hover/*, .navbar-nav  ul li.active a */ {background: var(--coloured);  color: var(--white);/* opacity: 0.85;  */ z-index: 100000;}
/* hover bei untermenu */
.navbar-nav  li:hover li a:hover {color:var(--white); background: var(--coloured); z-index: 100000; }
/* .navbar-nav li ul li {border-top: 0px; z-index: 100000;} */

/* Untermenu einblenden bei hover */
.navbar-nav  li:hover li {background: var(--coloured); float: none; z-index: 100000;}
.navbar-nav  li:hover li a {color: var(--white);}

/* hover oberste Ebene */
.navbar-nav  li:hover a {/* background: var(--white);  opacity: 0.85; */z-index: 100000;}
.navbar-nav  li:hover a {color: var(--white); /* opacity: 0.8; */ z-index: 100000;}  
/* submenu, wenn hover auf erster Ebene */
.navbar-nav li ul {/*  background: var(--gray);  teal #00b8e4;  ist blau  opacity: 0.85; */ border-top: 0px; z-index: 100000;}
/* submenu-hoverfarbe wenn aufgeklappt */
.navbar-nav li:hover ul {background: var(--coloured);  /* opacity: 0.85; */  border-top: 0px; z-index: 100000;}

.dropdown-menu .divider {
  margin-top: 2px;
}


/* Linkfarbe in Navi */
.navbar-nav ul li a:hover  {
  color: var(--white);
}
.navbar-nav li a:hover {
  color: var(--white); 
}

.nav>li>a { 
  padding: 2px 2px;
  color: var(--secondary);
  font-weight: 700;
}

ul.topnav li a:hover:not(.active) {
  background-color: unset;
 /* color: var(--secondary);  */
}

.nav-pills>li>a {
  border-radius: 0;
}

.nav-pills>li.active>a, .nav-pills>li.active>a:focus, .nav-pills>li.active>a:hover {
  background: unset;
  font-weight: 700;
 /* color: var(--dark); */
}

.nav>li>a:focus, .nav>li>a:hover {
  text-decoration: none;
  background-color: var(--secondary);  /* #eee; */
  color: var(--white);
}

/* .nav-pills>li.active>a, .nav-pills>li.active>a:focus, .nav-pills>li.active>a:hover {background: #007857; } */

/* Nav in Reihe darstellen */
.nav-pills>li.nav-pills>li {float:left;}

/* Nav untereinander, z.B. bei xs */
.nav-pills>li.nav-pills>li {float:none;} /* funzt net */

/* TOPNAV Vertikal */
ul.topnav {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  padding-bottom: 2px;
}

ul.topnav li {float: left;}

ul.topnav li a {
  display: block;
/*  color: var(--coloured); */
  text-align: center;
  padding: 5px 10px;
  text-decoration: none;
}
/*
ul.topnav li a:hover:not(.active) {background-color: var(--coloured); var(--white);}

ul.topnav li a.active {background-color: var(--coloured); color: var(--white);}
*/
ul.topnav li.right {float: right;}


.navigation .nav-pills {
  margin-bottom: 0;
  display: flex;
  justify-content: center;
}


@media all and (max-width: 600px){

  ul.topnav li.right, ul.topnav li {float: none;}
        
}

/* Umbruch Menu auf vertikal für mobile Geräte */
/* funktioniert am Desktop */
@media all and (max-width: 800px){
  
  ul.topnav li.right, ul.topnav li {float: none;}
    
  .navigation .nav-pills {
    margin-bottom: 0;
    display: unset;
    justify-content: center;
  }
}

@media (max-width: 1200px) {
ul.topnav li a {
  display: block;
  text-align: center;
  padding: unset;
  text-decoration: none;
}
#navigation LI {
margin-left: 5px;
margin-right: 5px;
}

}



/**** nav 
  .nav {
    margin-bottom: unset;
    height: auto;
    z-index: 100000;
    background-color: var(--green);
    }
****/
}


/*** image in front of LI ***/
#sidemenu UL.nav {
  font-size: 20px;
  list-style-image: url(../images/dreieck.png);
}


/** override nav div after nav/navigation declarations to keep itz sticky **/
#mainnav {
  position: absolute; /* fixed; */
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
}



/* simple responsive menu les abres */
div.srm_position {
  opacity: 1;
  z-index: 1000;
/* default mode */
/*  position: fixed;
  top: 3px;
  right: 3px; */
  
/* this project mode */  
/* important needed to override, otherwwise no way to avoid default pos fixed */  
  position: relative!important;
  top: 50px!important;
  left: 0px!important;  
}

#srm_select_list {
border: none;
font-style: italic;
color: var(--coloured);
}





/***** EVENTS SECTION  *****/ 
#events {
  padding-left: 50px;
  padding-right: 25px;
}
/****** EVENT HIGHLIGHT *******/
.eventfeature {
  border: 1px solid var(--secondary);
  background-color: rgba(230,	240,	220, 0.75); /* var(--gray); */
  /* opacity: 0.7; */
}

.eventfeature-green {
  border: 1px dotted var(--secondary);
  background-color: rgba(230,	240,	220, 0.6); /* var(--gray); */
  /* opacity: 0.7; */
}
.eventfeature-green A:hover {
  color: var(--black);
}



/********************* DJ EVENTS *********************************/
.djev_event_info {
  width: unset;
  height: unset;
  max-width: 100%;
}

/*
#eventside, #eventfeature, #mainnav, .moduletable, .wrapper,
.djev_list .djev_item, .djev_image, .djev_image IMG, .djev_image_wrap,
.djev_item_content, .djev_item_title, .djev_intro, .djev_time,
.djevents, .djev_item, .djev_items, .djev_list, .djev_items_featured, .djev_featured, 
.djev_pagination, .djev_info, .pagination {
max-width: 100%;
}
*/


/*** dj events hat span4 bei view auf start, das muß col-3 und die row-fluid davor muß row
 * aber dann muß auch noch einiges mehr umprogrammiert werden, wenn mam die nebeneinander
 * haben wollen würde   ... das wäre ein erster Ansatz
.span4 {
    flex: 0 0 25%;
    max-width: 25%;
    position: relative;
    width: 100%;
    min-height: 1px;
    padding-right: 15px;
    padding-left: 15px;
}
**/
/* man müßte erstmal das ganze div auf 12 bringen, highlight rechts geht dann nicht mehr
dann bei in djev_mod_items_in die folgende row-fluid auf row setzen
dann die span4 auf col-6
und in derr css die col-6 auf
flex: 0 0 50%;
max-width: 33% bei XL --> 3 nebeneinander
per media query dann bei unter 1400 auf 50%  --> 2 nebeneinander, später dann auf 100% ab unter 900 */
 
 
/*** page navigation .. for example in dj events list ***/
.pagination UL {
  /* display: -ms-flexbox; */
  /* display: unset; */
  padding-left: 0;
  width: 100%;
  list-style: none;
  border-radius: .25rem;
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: .5rem 1rem;
}

/* .pagination LI {
  border: 1px solid #009ee0;
  border-block-color: #009ee0;
  border-top-left-radius: 50%;
  border-bottom-right-radius: 50%;
  border-block-start-width: 10px;
  border-block-end-style: dotted;
  padding: 5px;
} */

/* some fancy borders .. */
.pagination LI {
  border: 1px solid #009ee0;
  /* border-radius: 1.25rem; */
  border-block-color: #009ee0;
  /* border-top-left-radius: 50%; */
  /* border-bottom-right-radius: 50%; */
  border-block-end-width: 5px;
  border-block-end-style: solid;
  /* border-block-width: 12px; */
  padding: 10px;
}

/*** end pagination */


/*   unused   */



/* alpha60, um den Hintergrund eines Bereiches mit 60% opacity des #008b99 Tons zu haben, dabei aber nicht den ganzen Bereich aufzuhellen, denn die Schrift soll ja voll bleiben **/
/* verwendet bei zeiten und inhalt */ 
.alpha60 {
  /* Fallback for web browsers that don't support RGBa */
  background-color: rgb(0,158,224);
  /* RGBa with 0.6 opacity */
  background-color: rgba(0,158,224, 0.8);   /* 0.6 */
  /* For IE 5.5 - 7  ... just 60% opacity, not colored, just shade of black  */
  filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000);
  /* For IE 8*/
  -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000)";
}

/* equal height columns - pos zeiten als beispiel */
/* Kästen der Zeiten und des Bereiches des Inhalts immer gleich hoch */
.eqWrap {
	display: flex;
}
.eq {
	padding: 10px;
}
.eq:nth-of-type(odd) {
/*	background: white; */
}
.eq:nth-of-type(even) {
/*	background: #008b99; */
/*	opacity:0.5; */
/*	color: #fff; */
}
.eq:nth-of-type(even) A, .eq:nth-of-type(even) A:focus, .eq:nth-of-type(even) A:hover, .eq:nth-of-type(even) A:visited, .eq:nth-of-type(even) H1, .eq:nth-of-type(even) H2, .eq:nth-of-type(even) H3, .eq:nth-of-type(even) H4, .eq:nth-of-type(even) H5, .eq:nth-of-type(even) H6,  .eq:nth-of-type(even) P {
	/* color: #fff; */
}

.equalHMRWrap {
	justify-content: space-between;
	flex-wrap: wrap;
	-webkit-flex: 1; /* Safari 6.1+ */
  -ms-flex: 1; /* IE 10 */ 
  flex: 1;    
}
.equalHMR3 {
	width: 32%;
	margin-bottom: 2%;
}
.equalHMR6 {
	width: 64%;
	margin-bottom: 2%;
}

@media all and (max-width: 576px) {
  .eqWrap {
	  display: unset; 
  }
}

/* Ende Equal Height Columns */





/******** Slideshow Header ********/
/* crossfade slider pure css from https://github.com/craigraphics/css3-crossfade-image */
/* slide background images in div position, used for header (pos starthead) */
.crossfade > figure {
  animation: imageAnimation 20s linear infinite 0s;   /* 30 sec bei 5 bildern */
  backface-visibility: hidden;
  background-size: cover;
  background-position: center center;
  color: transparent;
  height: 100%;
  left: 0px;
  opacity: 0;
  position: absolute;
  top: 0px;
  width: 100%;
  z-index: 0;
}


/* 5  bilder: oben 30 sek, hier: (1) nix, (2) 6s, (3) 12s, (4) 18s, (5) 24s  */
/* 4 bilder: oben 24 sek, hier: (1) nix, (2) 5s, (3) 10s, (4) 15s, (5) egal, wird nicht genutzt */
/* 3 bilder: oben 12 sek, hier: (1) nix, (2) 4s, (3) 8s, (4) und (5) egal, wird nicht genutzt */
/* oder hier alles lassem und oben 24 sek */
.crossfade > figure:nth-child(1) {
  background-image: url('../images/header1.jpg');
}
.crossfade > figure:nth-child(2) {
  animation-delay: 5s;
  background-image: url('../images/header2.jpg');
}
.crossfade > figure:nth-child(3) {
  animation-delay: 10s;
  background-image: url('../images/header3.jpg');
}
.crossfade > figure:nth-child(4) {
  animation-delay: 15s;
  background-image: url('../images/header2.jpg');
}
.crossfade > figure:nth-child(5) {
  animation-delay: 24s;
  background-image: url('../images/header-background-4.jpg');
}


@keyframes imageAnimation {  
  0% {
    animation-timing-function: ease-in;
    opacity: 0;
  }
  8% {
    animation-timing-function: ease-out;
    opacity: 1;
  }
  17% {
    opacity: 1
  }  
  25% {
    opacity: 0
  }
  100% {
    opacity: 0
  } 
}


/* smaller images on small screens */
@media (max-width: 999px) {
.crossfade > figure:nth-child(1) {
  background-image: url('../images/header1-sm.jpg');
}
.crossfade > figure:nth-child(2) {
  animation-delay: 6s;
  background-image: url('../images/header2-sm.jpg');
}
.crossfade > figure:nth-child(3) {
  animation-delay: 12s;
  background-image: url('../images/header3-sm.jpg');
}
.crossfade > figure:nth-child(4) {
  animation-delay: 15s;
  background-image: url('../images/header2-sm.jpg');
}
}



/*** END Crossfade css backgroounds ***/




/******* from cassiopeia j4 ******/

.fade:not(.show) {
  opacity: 0;
}

.collapse:not(.show) {
  display: none;
}

.collapsing {
  height: 0;
  overflow: hidden;
  transition: height 0.35s ease;
}

.collapsing.collapse-horizontal {
  width: 0;
  height: auto;
  transition: width 0.35s ease;
}

.dropup,
.dropend,
.dropdown,
.dropstart {
  position: relative;
}

.dropdown-toggle {
  white-space: nowrap;
}
.dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid;
  border-right: 0.3em solid transparent;
  border-bottom: 0;
  border-left: 0.3em solid transparent;
}
.dropdown-toggle:empty::after {
  margin-left: 0;
}

.dropdown-menu {
  position: absolute;
  z-index: 1000;
  display: none;
  min-width: 10rem;
  padding: 0.5rem 0;
  margin: 0;
  font-size: 1rem;
  color: #22262a;
  text-align: left;
  list-style: none;
  background-color: white;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 0.25rem;
}
.dropdown-menu[data-bs-popper] {
  top: 100%;
  left: 0;
  margin-top: 0.125rem;
}

.dropdown-menu-start {
  --bs-position: start;
}
.dropdown-menu-start[data-bs-popper] {
  right: auto;
  left: 0;
}

.dropdown-menu-end {
  --bs-position: end;
}
.dropdown-menu-end[data-bs-popper] {
  right: 0;
  left: auto;
}

@media (min-width: 576px) {
  .dropdown-menu-sm-start {
    --bs-position: start;
  }
  .dropdown-menu-sm-start[data-bs-popper] {
    right: auto;
    left: 0;
  }

  .dropdown-menu-sm-end {
    --bs-position: end;
  }
  .dropdown-menu-sm-end[data-bs-popper] {
    right: 0;
    left: auto;
  }
}
@media (min-width: 768px) {
  .dropdown-menu-md-start {
    --bs-position: start;
  }
  .dropdown-menu-md-start[data-bs-popper] {
    right: auto;
    left: 0;
  }

  .dropdown-menu-md-end {
    --bs-position: end;
  }
  .dropdown-menu-md-end[data-bs-popper] {
    right: 0;
    left: auto;
  }
}
@media (min-width: 992px) {
  .dropdown-menu-lg-start {
    --bs-position: start;
  }
  .dropdown-menu-lg-start[data-bs-popper] {
    right: auto;
    left: 0;
  }

  .dropdown-menu-lg-end {
    --bs-position: end;
  }
  .dropdown-menu-lg-end[data-bs-popper] {
    right: 0;
    left: auto;
  }
}
@media (min-width: 1200px) {
  .dropdown-menu-xl-start {
    --bs-position: start;
  }
  .dropdown-menu-xl-start[data-bs-popper] {
    right: auto;
    left: 0;
  }

  .dropdown-menu-xl-end {
    --bs-position: end;
  }
  .dropdown-menu-xl-end[data-bs-popper] {
    right: 0;
    left: auto;
  }
}
@media (min-width: 1400px) {
  .dropdown-menu-xxl-start {
    --bs-position: start;
  }
  .dropdown-menu-xxl-start[data-bs-popper] {
    right: auto;
    left: 0;
  }

  .dropdown-menu-xxl-end {
    --bs-position: end;
  }
  .dropdown-menu-xxl-end[data-bs-popper] {
    right: 0;
    left: auto;
  }
}
.dropup .dropdown-menu[data-bs-popper] {
  top: auto;
  bottom: 100%;
  margin-top: 0;
  margin-bottom: 0.125rem;
}
.dropup .dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0;
  border-right: 0.3em solid transparent;
  border-bottom: 0.3em solid;
  border-left: 0.3em solid transparent;
}
.dropup .dropdown-toggle:empty::after {
  margin-left: 0;
}

.dropend .dropdown-menu[data-bs-popper] {
  top: 0;
  right: auto;
  left: 100%;
  margin-top: 0;
  margin-left: 0.125rem;
}
.dropend .dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid transparent;
  border-right: 0;
  border-bottom: 0.3em solid transparent;
  border-left: 0.3em solid;
}
.dropend .dropdown-toggle:empty::after {
  margin-left: 0;
}
.dropend .dropdown-toggle::after {
  vertical-align: 0;
}

.dropstart .dropdown-menu[data-bs-popper] {
  top: 0;
  right: 100%;
  left: auto;
  margin-top: 0;
  margin-right: 0.125rem;
}
.dropstart .dropdown-toggle::after {
  display: inline-block;
  margin-left: 0.255em;
  vertical-align: 0.255em;
  content: "";
}
.dropstart .dropdown-toggle::after {
  display: none;
}
.dropstart .dropdown-toggle::before {
  display: inline-block;
  margin-right: 0.255em;
  vertical-align: 0.255em;
  content: "";
  border-top: 0.3em solid transparent;
  border-right: 0.3em solid;
  border-bottom: 0.3em solid transparent;
}
.dropstart .dropdown-toggle:empty::after {
  margin-left: 0;
}
.dropstart .dropdown-toggle::before {
  vertical-align: 0;
}

.dropdown-divider {
  height: 0;
  margin: 0.5rem 0;
  overflow: hidden;
  border-top: 1px solid rgba(0, 0, 0, 0.15);
}

.dropdown-item {
  display: block;
  width: 100%;
  padding: 0.25rem 1rem;
  clear: both;
  font-weight: 400;
  color: #22262a;
  text-align: inherit;
  text-decoration: none;
  white-space: nowrap;
  background-color: transparent;
  border: 0;
}
.dropdown-item:hover, .dropdown-item:focus {
  color: #1f2226;
  background-color: #eaedf0;
}
.dropdown-item.active, .dropdown-item:active {
  color: white;
  text-decoration: none;
  background-color: var(--cassiopeia-color-primary);
}
.dropdown-item.disabled, .dropdown-item:disabled {
  color: #adb5bd;
  pointer-events: none;
  background-color: transparent;
}

.dropdown-menu.show {
  display: block;
}

.dropdown-header {
  display: block;
  padding: 0.5rem 1rem;
  margin-bottom: 0;
  font-size: 0.875rem;
  color: #6d757e;
  white-space: nowrap;
}

.dropdown-item-text {
  display: block;
  padding: 0.25rem 1rem;
  color: #22262a;
}

.dropdown-menu-dark {
  color: #dfe3e7;
  background-color: #353b41;
  border-color: rgba(0, 0, 0, 0.15);
}
.dropdown-menu-dark .dropdown-item {
  color: #dfe3e7;
}
.dropdown-menu-dark .dropdown-item:hover, .dropdown-menu-dark .dropdown-item:focus {
  color: white;
  background-color: rgba(255, 255, 255, 0.15);
}
.dropdown-menu-dark .dropdown-item.active, .dropdown-menu-dark .dropdown-item:active {
  color: white;
  background-color: var(--cassiopeia-color-primary);
}
.dropdown-menu-dark .dropdown-item.disabled, .dropdown-menu-dark .dropdown-item:disabled {
  color: #adb5bd;
}
.dropdown-menu-dark .dropdown-divider {
  border-color: rgba(0, 0, 0, 0.15);
}
.dropdown-menu-dark .dropdown-item-text {
  color: #dfe3e7;
}
.dropdown-menu-dark .dropdown-header {
  color: #adb5bd;
}


.btn-group,
.btn-group-vertical {
  position: relative;
  display: inline-flex;
  vertical-align: middle;
}
.btn-group > .btn,
.btn-group-vertical > .btn {
  position: relative;
  flex: 1 1 auto;
}
.btn-group > .btn-check:checked + .btn,
.btn-group > .btn-check:focus + .btn,
.btn-group > .btn:hover,
.btn-group > .btn:focus,
.btn-group > .btn:active,
.btn-group > .btn.active,
.btn-group-vertical > .btn-check:checked + .btn,
.btn-group-vertical > .btn-check:focus + .btn,
.btn-group-vertical > .btn:hover,
.btn-group-vertical > .btn:focus,
.btn-group-vertical > .btn:active,
.btn-group-vertical > .btn.active {
  z-index: 1;
}

.btn-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.btn-toolbar .input-group {
  width: auto;
}

.btn-group > .btn:not(:first-child),
.btn-group > .btn-group:not(:first-child) {
  margin-left: -1px;
}
.btn-group > .btn:not(:last-child):not(.dropdown-toggle),
.btn-group > .btn-group:not(:last-child) > .btn {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}
.btn-group > .btn:nth-child(n+3),
.btn-group > :not(.btn-check) + .btn,
.btn-group > .btn-group:not(:first-child) > .btn {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

.dropdown-toggle-split {
  padding-right: 0.75rem;
  padding-left: 0.75rem;
}
.dropdown-toggle-split::after, .dropup .dropdown-toggle-split::after, .dropend .dropdown-toggle-split::after {
  margin-left: 0;
}
.dropstart .dropdown-toggle-split::before {
  margin-right: 0;
}

.btn-sm + .dropdown-toggle-split, .btn-group-sm > .btn + .dropdown-toggle-split {
  padding-right: 0.375rem;
  padding-left: 0.375rem;
}

.btn-lg + .dropdown-toggle-split, .btn-group-lg > .btn + .dropdown-toggle-split {
  padding-right: 0.75rem;
  padding-left: 0.75rem;
}

.btn-group-vertical {
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}
.btn-group-vertical > .btn,
.btn-group-vertical > .btn-group {
  width: 100%;
}
.btn-group-vertical > .btn:not(:first-child),
.btn-group-vertical > .btn-group:not(:first-child) {
  margin-top: -1px;
}
.btn-group-vertical > .btn:not(:last-child):not(.dropdown-toggle),
.btn-group-vertical > .btn-group:not(:last-child) > .btn {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.btn-group-vertical > .btn ~ .btn,
.btn-group-vertical > .btn-group:not(:first-child) > .btn {
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
  position: relative;
}

.nav-link {
  display: block;
  padding: 0.5rem 1rem;
  color: var(--cassiopeia-color-link);
  text-decoration: none;
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.nav-link:hover, .nav-link:focus {
  color: var(--cassiopeia-color-hover);
}
.nav-link.disabled {
  color: #6d757e;
  pointer-events: none;
  cursor: default;
}

.nav-tabs {
  border-bottom: 1px solid #dfe3e7;
}
.nav-tabs .nav-link {
  margin-bottom: -1px;
  background: none;
  border: 1px solid transparent;
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
}
.nav-tabs .nav-link:hover, .nav-tabs .nav-link:focus {
  border-color: #eaedf0 #eaedf0 #dfe3e7;
  isolation: isolate;
}
.nav-tabs .nav-link.disabled {
  color: #6d757e;
  background-color: transparent;
  border-color: transparent;
}
.nav-tabs .nav-link.active,
.nav-tabs .nav-item.show .nav-link {
  color: #484f56;
  background-color: white;
  border-color: #dfe3e7 #dfe3e7 white;
}
.nav-tabs .dropdown-menu {
  margin-top: -1px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.nav-pills .nav-link {
  background: none;
  border: 0;
  border-radius: 0.25rem;
}
.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  color: white;
  background-color: var(--cassiopeia-color-primary);
}

.nav-fill > .nav-link,
.nav-fill .nav-item {
  flex: 1 1 auto;
  text-align: center;
}

.nav-justified > .nav-link,
.nav-justified .nav-item {
  flex-basis: 0;
  flex-grow: 1;
  text-align: center;
}

.nav-fill .nav-item .nav-link,
.nav-justified .nav-item .nav-link {
  width: 100%;
}

.tab-content > .tab-pane {
  display: none;
}
.tab-content > .active {
  display: block;
}

.navbar {
/*  
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
*/  
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.navbar > .container,
.navbar > .container-fluid,
.navbar > .container-sm,
.navbar > .container-md,
.navbar > .container-lg,
.navbar > .container-xl,
.navbar > .container-xxl {
  display: flex;
  flex-wrap: inherit;
  align-items: center;
  justify-content: space-between;
}
.navbar-brand {
  padding-top: 0.3125rem;
  padding-bottom: 0.3125rem;
  margin-right: 1rem;
  font-size: 1.25rem;
  text-decoration: none;
  white-space: nowrap;
}
.navbar-nav {
  display: flex;
  flex-direction: column;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}
.navbar-nav .nav-link {
  padding-right: 0;
  padding-left: 0;
}
.navbar-nav .dropdown-menu {
  position: static;
}

.navbar-text {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.navbar-collapse {
  flex-basis: 100%;
  flex-grow: 1;
  align-items: center;
}

.navbar-toggler {
  padding: 0.25rem 0.75rem;
  font-size: 1.25rem;
  line-height: 1;
  background-color: transparent;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  transition: box-shadow 0.15s ease-in-out;
}

.navbar-toggler:hover {
  text-decoration: none;
}
.navbar-toggler:focus {
  text-decoration: none;
  outline: 0;
  box-shadow: 0 0 0 0.25rem;
}

.navbar-toggler-icon {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
}

.navbar-nav-scroll {
  max-height: var(--scroll-height, 75vh);
  overflow-y: auto;
}

@media (min-width: 576px) {
  .navbar-expand-sm {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
  .navbar-expand-sm .navbar-nav {
    flex-direction: row;
  }
  .navbar-expand-sm .navbar-nav .dropdown-menu {
    position: absolute;
  }
  .navbar-expand-sm .navbar-nav .nav-link {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }
  .navbar-expand-sm .navbar-nav-scroll {
    overflow: visible;
  }
  .navbar-expand-sm .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
  }
  .navbar-expand-sm .navbar-toggler {
    display: none;
  }
  .navbar-expand-sm .offcanvas-header {
    display: none;
  }
  .navbar-expand-sm .offcanvas {
    position: inherit;
    bottom: 0;
    z-index: 1000;
    flex-grow: 1;
    visibility: visible !important;
    background-color: transparent;
    border-right: 0;
    border-left: 0;
    transition: none;
    -webkit-transform: none;
            transform: none;
  }
  .navbar-expand-sm .offcanvas-top,
.navbar-expand-sm .offcanvas-bottom {
    height: auto;
    border-top: 0;
    border-bottom: 0;
  }
  .navbar-expand-sm .offcanvas-body {
    display: flex;
    flex-grow: 0;
    padding: 0;
    overflow-y: visible;
  }
}
@media (min-width: 768px) {
  .navbar-expand-md {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
  .navbar-expand-md .navbar-nav {
    flex-direction: row;
  }
  .navbar-expand-md .navbar-nav .dropdown-menu {
    position: absolute;
  }
  .navbar-expand-md .navbar-nav .nav-link {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }
  .navbar-expand-md .navbar-nav-scroll {
    overflow: visible;
  }
  .navbar-expand-md .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
  }
  .navbar-expand-md .navbar-toggler {
    display: none;
  }
  .navbar-expand-md .offcanvas-header {
    display: none;
  }
  .navbar-expand-md .offcanvas {
    position: inherit;
    bottom: 0;
    z-index: 1000;
    flex-grow: 1;
    visibility: visible !important;
    background-color: transparent;
    border-right: 0;
    border-left: 0;
    transition: none;
    -webkit-transform: none;
            transform: none;
  }
  .navbar-expand-md .offcanvas-top,
.navbar-expand-md .offcanvas-bottom {
    height: auto;
    border-top: 0;
    border-bottom: 0;
  }
  .navbar-expand-md .offcanvas-body {
    display: flex;
    flex-grow: 0;
    padding: 0;
    overflow-y: visible;
  }
}
@media (min-width: 992px) {
  .navbar-expand-lg {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
  .navbar-expand-lg .navbar-nav {
    flex-direction: row;
  }
  .navbar-expand-lg .navbar-nav .dropdown-menu {
    position: absolute;
  }
  .navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }
  .navbar-expand-lg .navbar-nav-scroll {
    overflow: visible;
  }
  .navbar-expand-lg .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
  }
  .navbar-expand-lg .navbar-toggler {
    display: none;
  }
  .navbar-expand-lg .offcanvas-header {
    display: none;
  }
  .navbar-expand-lg .offcanvas {
    position: inherit;
    bottom: 0;
    z-index: 1000;
    flex-grow: 1;
    visibility: visible !important;
    background-color: transparent;
    border-right: 0;
    border-left: 0;
    transition: none;
    -webkit-transform: none;
            transform: none;
  }
  .navbar-expand-lg .offcanvas-top,
.navbar-expand-lg .offcanvas-bottom {
    height: auto;
    border-top: 0;
    border-bottom: 0;
  }
  .navbar-expand-lg .offcanvas-body {
    display: flex;
    flex-grow: 0;
    padding: 0;
    overflow-y: visible;
  }
}
@media (min-width: 1200px) {
  .navbar-expand-xl {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
  .navbar-expand-xl .navbar-nav {
    flex-direction: row;
  }
  .navbar-expand-xl .navbar-nav .dropdown-menu {
    position: absolute;
  }
  .navbar-expand-xl .navbar-nav .nav-link {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }
  .navbar-expand-xl .navbar-nav-scroll {
    overflow: visible;
  }
  .navbar-expand-xl .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
  }
  .navbar-expand-xl .navbar-toggler {
    display: none;
  }
  .navbar-expand-xl .offcanvas-header {
    display: none;
  }
  .navbar-expand-xl .offcanvas {
    position: inherit;
    bottom: 0;
    z-index: 1000;
    flex-grow: 1;
    visibility: visible !important;
    background-color: transparent;
    border-right: 0;
    border-left: 0;
    transition: none;
    -webkit-transform: none;
            transform: none;
  }
  .navbar-expand-xl .offcanvas-top,
.navbar-expand-xl .offcanvas-bottom {
    height: auto;
    border-top: 0;
    border-bottom: 0;
  }
  .navbar-expand-xl .offcanvas-body {
    display: flex;
    flex-grow: 0;
    padding: 0;
    overflow-y: visible;
  }
}
@media (min-width: 1400px) {
  .navbar-expand-xxl {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }
  .navbar-expand-xxl .navbar-nav {
    flex-direction: row;
  }
  .navbar-expand-xxl .navbar-nav .dropdown-menu {
    position: absolute;
  }
  .navbar-expand-xxl .navbar-nav .nav-link {
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }
  .navbar-expand-xxl .navbar-nav-scroll {
    overflow: visible;
  }
  .navbar-expand-xxl .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
  }
  .navbar-expand-xxl .navbar-toggler {
    display: none;
  }
  .navbar-expand-xxl .offcanvas-header {
    display: none;
  }
  .navbar-expand-xxl .offcanvas {
    position: inherit;
    bottom: 0;
    z-index: 1000;
    flex-grow: 1;
    visibility: visible !important;
    background-color: transparent;
    border-right: 0;
    border-left: 0;
    transition: none;
    -webkit-transform: none;
            transform: none;
  }
  .navbar-expand-xxl .offcanvas-top,
.navbar-expand-xxl .offcanvas-bottom {
    height: auto;
    border-top: 0;
    border-bottom: 0;
  }
  .navbar-expand-xxl .offcanvas-body {
    display: flex;
    flex-grow: 0;
    padding: 0;
    overflow-y: visible;
  }
}
.navbar-expand {
  flex-wrap: nowrap;
  justify-content: flex-start;
}
.navbar-expand .navbar-nav {
  flex-direction: row;
}
.navbar-expand .navbar-nav .dropdown-menu {
  position: absolute;
}
.navbar-expand .navbar-nav .nav-link {
  padding-right: 0.5rem;
  padding-left: 0.5rem;
}
.navbar-expand .navbar-nav-scroll {
  overflow: visible;
}
.navbar-expand .navbar-collapse {
  display: flex !important;
  flex-basis: auto;
}
.navbar-expand .navbar-toggler {
  display: none;
}
.navbar-expand .offcanvas-header {
  display: none;
}
.navbar-expand .offcanvas {
  position: inherit;
  bottom: 0;
  z-index: 1000;
  flex-grow: 1;
  visibility: visible !important;
  background-color: transparent;
  border-right: 0;
  border-left: 0;
  transition: none;
  -webkit-transform: none;
          transform: none;
}
.navbar-expand .offcanvas-top,
.navbar-expand .offcanvas-bottom {
  height: auto;
  border-top: 0;
  border-bottom: 0;
}
.navbar-expand .offcanvas-body {
  display: flex;
  flex-grow: 0;
  padding: 0;
  overflow-y: visible;
}

.navbar-light .navbar-brand {
  color: rgba(0, 0, 0, 0.9);
}
.navbar-light .navbar-brand:hover, .navbar-light .navbar-brand:focus {
  color: rgba(0, 0, 0, 0.9);
}
.navbar-light .navbar-nav .nav-link {
  color: rgba(0, 0, 0, 0.55);
}
.navbar-light .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .nav-link:focus {
  color: rgba(0, 0, 0, 0.7);
}
.navbar-light .navbar-nav .nav-link.disabled {
  color: rgba(0, 0, 0, 0.3);
}
.navbar-light .navbar-nav .show > .nav-link,
.navbar-light .navbar-nav .nav-link.active {
  color: rgba(0, 0, 0, 0.9);
}
.navbar-light .navbar-toggler {
  color: rgba(0, 0, 0, 0.55);
  border-color: rgba(0, 0, 0, 0.1);
  
    background-image: url(../images/toggler-black.png);
    height: 59px;
    width: 59px;
  
}
.navbar-light .navbar-toggler-icon {
  /* background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); 
  */
  background-image: url(../images/toggler-black.png);
}
.navbar-light .navbar-text {
  color: rgba(0, 0, 0, 0.55);
}
.navbar-light .navbar-text a,
.navbar-light .navbar-text a:hover,
.navbar-light .navbar-text a:focus {
  color: rgba(0, 0, 0, 0.9);
}

.navbar-dark .navbar-brand {
  color: white;
}
.navbar-dark .navbar-brand:hover, .navbar-dark .navbar-brand:focus {
  color: white;
}
.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.55);
}
.navbar-dark .navbar-nav .nav-link:hover, .navbar-dark .navbar-nav .nav-link:focus {
  color: rgba(255, 255, 255, 0.75);
}
.navbar-dark .navbar-nav .nav-link.disabled {
  color: rgba(255, 255, 255, 0.25);
}
.navbar-dark .navbar-nav .show > .nav-link,
.navbar-dark .navbar-nav .nav-link.active {
  color: white;
}
.navbar-dark .navbar-toggler {
  color: rgba(255, 255, 255, 0.55);
  border-color: rgba(255, 255, 255, 0.1);
  
  background-image: url(../images/toggler.png);
    height: 59px;
    width: 59px;
  
}
.navbar-dark .navbar-toggler-icon {
/*  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
*/
background-image: url(../images/toggler.png);
}
.navbar-dark .navbar-text {
  color: rgba(255, 255, 255, 0.55);
}
.navbar-dark .navbar-text a,
.navbar-dark .navbar-text a:hover,
.navbar-dark .navbar-text a:focus {
  color: white;
}

.nav.nav-tabs {
  padding: 0;
  margin: 0;
  background-color: whitesmoke;
  border: 1px solid #dfe3e7;
  border-bottom: 0;
  border-radius: 0.25rem 0.25rem 0 0;
  box-shadow: 0 1px white inset, 0 2px 3px -3px rgba(0, 0, 0, 0.15), 0 -4px 0 rgba(0, 0, 0, 0.05) inset, 1px 1px 4px rgba(0, 0, 0, 0.1);
}
.nav.nav-tabs .nav-item {
  margin-bottom: 0;
  margin-left: 0;
}
.nav.nav-tabs .nav-item:first-of-type .nav-link.active {
  border-radius: 0.25rem 0 0;
  box-shadow: -1px 0 1px -1px rgba(0, 0, 0, 0.06), inset -2px 0 1px -1px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(0, 0, 0, 0.02);
}
.nav.nav-tabs .nav-item:last-of-type .nav-link {
  box-shadow: -1px 0 0 rgba(0, 0, 0, 0.05), 1px 0 0 rgba(0, 0, 0, 0.05);
}
.nav.nav-tabs .nav-item:last-of-type .nav-link.active {
  box-shadow: inset 2px 0 1px -1px rgba(0, 0, 0, 0.08), inset -2px 0 1px -1px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(0, 0, 0, 0.02);
}
.nav.nav-tabs .nav-link {
  position: relative;
  padding: 0.75em 1em;
  color: var(--cassiopeia-color-primary);
  border: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  box-shadow: -1px 0 0 rgba(0, 0, 0, 0.05);
}
.nav.nav-tabs .nav-link.active {
  background-color: rgba(0, 0, 0, 0.3);
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.05) 100%);
  border-right: 0;
  border-left: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  box-shadow: inset 2px 0 1px -1px rgba(0, 0, 0, 0.08), inset -2px 0 1px -1px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(0, 0, 0, 0.02);
}
.nav.nav-tabs .nav-link.active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 5px;
  content: "";
  background-color: #010156;
  opacity: 0.8;
}

.nav-tabs + .tab-content {
  padding: 15px;
  background: white;
  border: 1px solid;
  border-color: #dfe3e7;
  border-radius: 0 0 0.25rem 0.25rem;
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1);
}

.metismenu.menu-horizontal {
  flex: 1 0 100%;
  padding: 0;
  margin: 0;
  list-style: none;
}
@media (min-width: 992px) {
  .metismenu.menu-horizontal {
    display: flex;
    flex: 1 1 0%;
    flex-direction: row;
  }
}
.metismenu.menu-horizontal > li {
  position: relative;
}
.metismenu.menu-horizontal .level-1 > ul {
  min-width: 12rem;
}
.metismenu.mod-menu {
  margin: 0;
}
.metismenu.mod-menu .metismenu-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  padding: 0.5em 1em;
  font-size: 1.1rem;
  line-height: 1.5;
}
.metismenu.mod-menu .metismenu-item.parent {
  position: relative;
}
.metismenu.mod-menu .metismenu-item > ul {
  position: absolute;
  top: 100%;
  z-index: 1001;
  display: block;
  padding: 0;
  list-style: none;
  box-shadow: 0 0 0.5em rgba(0, 0, 0, 0.1);
}
.metismenu.mod-menu .metismenu-item > span,
.metismenu.mod-menu .metismenu-item > a,
.metismenu.mod-menu .metismenu-item > button {
  overflow: hidden;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.metismenu.mod-menu .metismenu-item > a:focus,
.metismenu.mod-menu .metismenu-item > button:focus {
  outline: 1px dotted #ced4da;
  outline-offset: 2px;
}
.metismenu.mod-menu .metismenu-item.active > a, .metismenu.mod-menu .metismenu-item.active > button,
.metismenu.mod-menu .metismenu-item > a:hover,
.metismenu.mod-menu .metismenu-item > button:hover {
  text-decoration: underline;
}
.metismenu.mod-menu .metismenu-item::after {
  content: none;
}
.metismenu.mod-menu .metismenu-item:not(.level-1) > ul, .metismenu.mod-menu .metismenu-item:not(.level-2) > ul {
  margin-right: -1em;
}
[dir=rtl] .metismenu.mod-menu .metismenu-item:not(.level-1) > ul, [dir=rtl] .metismenu.mod-menu .metismenu-item:not(.level-2) > ul {
  margin-right: 0;
  margin-left: -1em;
}
.metismenu.mod-menu .metismenu-item.divider:not(.parent) {
  width: 1px;
  padding: 0;
  margin: 0.25em;
  overflow: hidden;
  border-right: 1px solid #ced4da;
}
@media (max-width: 991.98px) {
  .metismenu.mod-menu .metismenu-item.divider:not(.parent) {
    width: auto;
    height: 1px;
    border-bottom: 1px solid #ced4da;
  }
}
.metismenu.mod-menu .mm-collapsing {
  height: 0;
  overflow: hidden;
  transition-timing-function: ease;
  transition-duration: 0.35s;
  transition-property: color, background-color, height, visibility;
}
.metismenu.mod-menu .mm-collapse {
  position: absolute;
  background-color: white;
  box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1);
}
.metismenu.mod-menu .mm-collapse:not(.mm-show) {
  display: none;
}
.metismenu.mod-menu .mm-collapse > li > a {
  display: inline-flex;
}
.metismenu.mod-menu .mm-collapse > li.divider:not(.parent) {
  width: auto;
  height: 1px;
  border-bottom: 1px solid #ced4da;
}
.metismenu.mod-menu .mm-collapse > li.parent .mm-toggler {
  display: inline-flex;
}
.metismenu.mod-menu .mm-collapse > li.parent > ul {
  position: relative;
  top: 0;
  flex-basis: calc(100% + 1em);
  margin-top: 0.5em;
  margin-bottom: -0.5em;
  background-color: rgba(0, 0, 0, 0.03);
  box-shadow: none;
}
.metismenu.mod-menu .mm-toggler {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0;
  color: currentColor;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  background: none;
  border: none;
  box-shadow: none;
}
.metismenu.mod-menu .mm-toggler:after {
  width: 0;
  height: 0;
  -webkit-margin-start: 0.5em;
          margin-inline-start: 0.5em;
  content: "";
  border-top: 0.5em solid currentColor;
  border-right: 0.5em solid transparent;
  border-left: 0.5em solid transparent;
  transition: all 0.3s ease-out;
}
.mm-active > .metismenu.mod-menu .mm-toggler:after {
  -webkit-transform: rotateX(-180deg);
          transform: rotateX(-180deg);
}

.metismenu.mod-menu .mm-toggler[aria-expanded=true]:after {
  -webkit-transform: rotateX(-180deg);
          transform: rotateX(-180deg);
}
.metismenu.mod-menu .parent > ul {
  color: #22262a;
}

.sidebar-right .metismenu .mm-collapse,
.sidebar-left .metismenu .mm-collapse {
  position: relative;
  background-color: rgba(0, 0, 0, 0.03);
}
.sidebar-right .metismenu li.parent > ul,
.sidebar-left .metismenu li.parent > ul {
  position: relative;
  top: 0;
  box-shadow: none;
}
@media (max-width: 1199.98px) {
  .sidebar-right .metismenu li.parent > ul,
.sidebar-left .metismenu li.parent > ul {
    width: 100%;
  }
}
.sidebar-right .metismenu .metismenu-item > span,
.sidebar-right .metismenu .metismenu-item > a,
.sidebar-left .metismenu .metismenu-item > span,
.sidebar-left .metismenu .metismenu-item > a {
  white-space: inherit;
}
.sidebar-right .metismenu .metismenu-item.divider:not(.parent),
.sidebar-left .metismenu .metismenu-item.divider:not(.parent) {
  width: auto;
  height: 1px;
  border-bottom: 1px solid #ced4da;
}


mod-menu {
background: #ff0000;
z-index: 100000000;
}

/******* from cassiopeia END *********/
