@charset "utf-8";
/* 
Style "coloured" = Main Colour CD/CI Company
Style "secondary" = Secondary CD/CI Colour (to highlight things, as hover, ..)

Colours:
Stylename | Description | HEX Value | RGB Value
coloured  = blau  ´    = #3d529f   =   rgb = 61, 82, 159  (war   rgb 23, 89, 43)
secondary = analogcolour      = #3d839f   =  war  rgb 255, 215, 31       

tsvwappengruen #375f45 soll aber green #17592B
tsvvwappengelb #fdff54 soll aber yellow #FFD71F

light-green #cbe0b5

bg-green -> green
bg-gray -> gray
etc.
*/

/* über vendor/bs/css werden weitere Bootstrap Formatierungen eingelesen, z.B.
text-center, text-white, .. kommen dann über scss utilities dazu */


/****** 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) { ... }  
*/

/* self hoosted fonts */ 

/* lato-regular - latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/lato-v23-latin-regular.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/lato-v23-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/lato-v23-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/lato-v23-latin-regular.woff') format('woff'), /* Modern Browsers */
       url('../fonts/lato-v23-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/lato-v23-latin-regular.svg#Lato') format('svg'); /* Legacy iOS */
}
/* lato-italic - latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 400;
  src: url('../fonts/lato-v23-latin-italic.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/lato-v23-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/lato-v23-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/lato-v23-latin-italic.woff') format('woff'), /* Modern Browsers */
       url('../fonts/lato-v23-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/lato-v23-latin-italic.svg#Lato') format('svg'); /* Legacy iOS */
}
/* lato-700 - latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 700;
  src: url('../fonts/lato-v23-latin-700.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/lato-v23-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/lato-v23-latin-700.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/lato-v23-latin-700.woff') format('woff'), /* Modern Browsers */
       url('../fonts/lato-v23-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/lato-v23-latin-700.svg#Lato') format('svg'); /* Legacy iOS */
}
/* lato-700italic - latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 700;
  src: url('../fonts/lato-v23-latin-700italic.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/lato-v23-latin-700italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/lato-v23-latin-700italic.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/lato-v23-latin-700italic.woff') format('woff'), /* Modern Browsers */
       url('../fonts/lato-v23-latin-700italic.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/lato-v23-latin-700italic.svg#Lato') format('svg'); /* Legacy iOS */
}
/* lato-900 - latin */
@font-face {
  font-family: 'Lato';
  font-style: normal;
  font-weight: 900;
  src: url('../fonts/lato-v23-latin-900.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/lato-v23-latin-900.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/lato-v23-latin-900.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/lato-v23-latin-900.woff') format('woff'), /* Modern Browsers */
       url('../fonts/lato-v23-latin-900.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/lato-v23-latin-900.svg#Lato') format('svg'); /* Legacy iOS */
}
/* lato-900italic - latin */
@font-face {
  font-family: 'Lato';
  font-style: italic;
  font-weight: 900;
  src: url('../fonts/lato-v23-latin-900italic.eot'); /* IE9 Compat Modes */
  src: local(''),
       url('../fonts/lato-v23-latin-900italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
       url('../fonts/lato-v23-latin-900italic.woff2') format('woff2'), /* Super Modern Browsers */
       url('../fonts/lato-v23-latin-900italic.woff') format('woff'), /* Modern Browsers */
       url('../fonts/lato-v23-latin-900italic.ttf') format('truetype'), /* Safari, Android, iOS */
       url('../fonts/lato-v23-latin-900italic.svg#Lato') format('svg'); /* Legacy iOS */
}



/***** general Setup *****/

/* CSS variables to adjust colours centrally */ 
:root {
  --coloured:  #3d529f; /* blau .. primary company colour */ 
  --secondary: #3d839f; /* secondary company colour */
/*** general colours ***/  
  --red:       #ff0000; 
  --green:     #17592B; /* general green -> unused */ 
  --blue:      #0000ff; /* general blue -> unused */
  --dark:      #565656; /* dark gray */
  --gray:      #c8c8c8; /* light gray */
  --white:     #ffffff;
  --black:     #000000;
 /* --light:     #cbe0b5; /* light green, if undefined, light ist light grey via root scss*/

}

*,
*::before,
*::after {
  box-sizing: border-box;
}


/******** pagination ********/
.icon-angle-left:before {
  content: "<";
  color: black;
}
.icon-angle-double-left:before {
  content: "<<";
  color: black;
}

.icon-angle-right:before {
  content: ">";
  color: black;
}
.icon-angle-double-right:before {
  content: ">>";
  color: black;
}
.page-item.active .page-link {
  background-color: var(--coloured);
  border-color: var(--secondary);
}
.page-link:hover {
  background-color: var(--secondary);
  border-color: var(--coloured);
}
.page-link:focus {
    z-index: 2;
    outline: 0;
    /* box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);  */
    box-shadow: 0 0 0 0.2rem var(--light);
}

/* blog pagination */
.page-link {
    position: relative;
    display: block;
    padding: 0.5rem 0.75rem;
    margin-left: -1px;
    line-height: 1.25;
    color: var(--coloured);
    background-color: #fff;
    border: 1px solid var(--coloured);
}


/*** 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 */



.breadcrumb-item.active {
    color: var(--coloured); 
}

/***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);
}
html {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}
/**** due to bg pic fullsize, otherwise not needed */


body, P {
  font-family: 'Lato';
}

.container-fluid {
  padding-left:0;
  padding-right:0;
}

.h-100 {
  height: 100%!important;
}

.top20 {
padding-top: 20px;
}


/* Limit to FHD on  XXXL-Monitors  */
.container-fluid, .row, .container {
/*  max-width:1920px;  */
}


.row {
  margin-right: 0;
  margin-left: 0;
/*  padding-top: 20px;
  padding-bottom: 10px;  */
  max-width: 100%;
}

.nopad {
padding-left: 0!important;
padding-right: 0!important;
}

/*#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;
}

.item-image IMG {
  box-shadow: inset 0 -3em 3em rgba(0, 0, 0, 0.1), 0 0 0 2px rgb(255, 255, 255),
    0.3em 0.3em 1em rgba(0, 0, 0, 0.3);
}

figcaption {
font-style: italic;
}

/* 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: 550px;
  height: auto;
}
}
@media (min-width: 750px) and (max-width: 1199px) {
#content .blog .item-image IMG {
  max-width: 600px;
  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;
}
*/

/* to vertically align middle div image, currently just at team section */

.img-center { 
  height: 200px;      /* equals max image height */
  white-space: nowrap; /* this is required unless you put the helper span closely near the img */
  text-align: center; margin: 1em 0;
}
.img-span {
  display: inline-block;
  height: 100%;
  vertical-align: middle;
}
/* END valign teaser middle div image */



/* NEU */
/* Platz um Bilder herum */

.image-space-left {margin-left: 3px; padding-left: 3px;}
.image-space-right {margin-right: 3px; padding-right: 3px;}

/* runde Bilder MA */
.img-center {
	margin: 0 auto;
}


/*****      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: 800px;   /*  1450px; */
  margin: 0 auto;
  }

/* limit width of articles */
div[itemprop="articleBody"]  { max-width: 1000px; }

/* 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 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;
}


/** some box shadow for items in content **/
div[itemprop="articleBody"] IMG {
  box-shadow: inset 0 -3em 3em rgba(0, 0, 0, 0.1), 0 0 0 2px rgb(255, 255, 255),
    0.3em 0.3em 1em rgba(0, 0, 0, 0.3);
}



/*** 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 *****/

/*** styling of single item ***/
/* shrink a few pixels via margin to get some space for a border arount each item */
.item-content {
  margin: 10px;
}

.blog-item {
  border: 1px dotted #3d529f;
  border-radius: .25rem;
}



/* the blog with all the blog items */

.blog-items {
    grid-gap: 2em;
    display: grid;
    grid-auto-flow: row;
    grid-template-columns: 1fr;
    margin: 0 0 1em;
}
.blog-items {
    /* display: flex;   */  /* flex = multi columns */
    /* 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;
  }

}


/*** articles in blog layout may overlap each other if pics in it and pic heigher than text .. **/
/*** so card class added to format of mod-articlenews__item ***/
/*** used in block-10 to display news of one or various categories **/
.mod-articlesnews__item {
    position: relative;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
}
/** add some borders and padding for blog layout **/
.mod-articlesnews__item {
    border: 1px dotted #3d529f;
    border-radius: .25rem;
    margin-bottom: 10px;
    padding-left: 10px;
    padding-right: 10px;
}


/*** 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: 20px;
  padding-right: 20px;
}

.custom table {
    margin-left: 20px;
}


.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;
}
/*** 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;

}
#headpic .custom IMG {
 width: 100%;
}

 


/*** full width IMG in the 4 boxes **/
#themen .custom IMG {
width: 100%!important;
}


/* readmore buttons in blog layout */
.readmore .btn {
  display: inline-block;
  font-weight: 400;
  color: var(--coloured); /* 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(--light); /* 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(--white);  /* secondary */
  background-color: var(--coloured);
}

/****** content area styling ******/
/* after end of content -> at end of page above footer */
.footer-logo {
  padding-left: 20px;
  padding-right: 20px;
}


/***** UNUSED *****/
/********   Green Triangle Background overlay above white bachground  ********/
/*  needs a lot of modification to fit different cases (xs, sm & xl displays) */
/*  normal / max FullHD / from top right / fits for long and short content    */
/* (applied to the time, when alignement was top, not needed with bottom) */ 
.dreieck-green {
  background: url(../images/background-greenD.png) bottom right no-repeat; 
  position: relative;
  background-attachment: fixed;
}

/* XXL > W 1920px  .. (will repeat and also shift out of view if not this way */
@media (min-width: 1920px) {  
.dreieck-green {
  background: url(../images/background-greenD.png) bottom no-repeat;
  position: relative;
  background-attachment: fixed;    
}
}  

/* XXL > H 1080 .. (needed to stretch and fit in div on huge monitors) */
@media (min-height: 1080px) {  
.dreieck-green {
  background: url(../images/background-greenD.png) bottom no-repeat;
  position: relative;
  background-attachment: fixed; 
  /*  -moz-background-size:100% 100%;
  -webkit-background-size:100% 100%;
  background-size:100% 100%;  */
}
}  

/****** info box styling ******/

/* background triangle as layer above background image */
/* fixed height, otherwise modifications similar to greenD above needed */
.dreieck-white {
  height: 800px;
  background-image: url(../images/background-whiteD.png);
  background-repeat: no-repeat;
  /*    background-position: center;  */ 
  position: relative;
}

#secondpic {
  height: 90vh;
}


#sideinfo {
  position: relative;
  top:   35px;
  right: 55px;
}


/***** background-image .. normal, large and XXL screens *****/
.bg-pic {
  background-image: url(../images/bg-image2.jpg);  /* jpg webp*/ 
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
  background-attachment: fixed;
      background-size: cover;
}

.bg-ausdauer {
  background-image: url(../images/ausdauer.jpg);  /* jpg webp*/ 
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
/*  background-attachment: fixed; */
  background-size: cover; 
 /* opacity: 0.5; */
}

/* overlay above div with bg-image to keep text readable */
.trans50 {
  background-color: rgba(255, 255, 255, 0.5)!important;
}


/* bg img small screens */
@media (max-width: 991px) {  
.bg-pic {
  background-image: url(../images/bg-image2.jpg);  /* 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;
}

#sideinfo {
  position:absolute; 
  bottom: unset; /* 35px; */ 
  right: 0px;
  left: 0px;
}

}  

/* XXL > Height .. (needed to stretch and fit in div on huge monitors) */
@media (min-height: 1020px) {  
.bg-pic {
  background: url(../images/bg-image2.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;
    
}

} 


/***** sidemenu vertically => .nav needs to be unset from "flex" *****/
#sidemenu .nav {
  display:unset;
}


/* 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;
}

  
.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;
}

/* 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: absolute;
  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:  100px; /* 125px;  /* 75 */
/* 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;
*/
}

.header-logo IMG {
  height: 100px;
  max-height:100px;
  width: auto;
}


.links, .left {
  left:0;
  text-align:left;
}

.rechts, .right {
  right:0;
  text-align:right;
}

.right-logos {*
  right: 0;
  left: 175px;
  /* 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;  */ /* if set also vertically aligned */
  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: var(--white);
  /*  background-clip: border-box;
  border: 1px solid rgba(36,156,227,.825); 
  border-radius: .25rem;  */   
  border:none; 
}

/* 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 */


.blockquote {
 /*  padding-left: 70px;
  padding-top: 18px;
  padding-bottom: 18px;
  padding-right: 10px;
 background-color: #dadada; 
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;  */
 /* margin: 5px; */
  /* background-image: url(images/openquote4.gif);
  background-position: middle left;
  background-repeat: no-repeat;  */
 /* text-indent: 23px; */
 padding: 5px;
/*  background-color: var(--secondary); /* #fff; */ 
  border-top: 1px solid var(--coloured); /* #ccc; */
  border-bottom: 1px solid var(--coloured);
 /*
 padding:10px 20px;
 margin:0 0 20px;
 font-size:17.5px;  */
/* border-left:none; /* 0px solid var(--white); /* #acc648; /* um den Standard von bootstrap.min auszuhebeln */
/* border-right:1px solid var(--gray);
  border-bottom: 1px solid var(--gray); */
 /* text-align: right; */ 
 font-size: 1em;
/* font-family: 'Barlow', sans-serif; */
 color: var(--coloured);
/*  quotes: "\201C""\201D""\2018""\2019"; */
  border-radius: 0rem 0.5rem;
    border: 1px solid var(--dark);
  /* background-color: var(--white); */
  box-shadow: 0 1px 4px rgb(0 0 0 / 30%), 0 0 40px rgb(0 0 0 / 10%) inset; 
 }

  
  


/***** 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 here = a = dark hoverr = coloured */
a /* a:visited */ {
  color: var(--coloured);  /* secondary */
  font-weight: 700;        /* bold */
}

/* general, different on coloured bg -> see there */
a:hover, a:focus {
  color: var(--secondary);
}

H1, H2, H3, H4, H5, H6 {
  font-family: 'Lato';
  font-weight: 900 !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;
}

H1 { font-size: 2rem; }
H2 { font-size: 1.75rem; }
H3 { font-size: 1.50rem; }
H4 { font-size: 1.25rem; }
H5 { font-size: 1.15rem; }
H6 { font-size: 1rem; font-weight: bold;}


.btn-xl {
    text-transform: uppercase;
    padding: 0.25rem 1.5rem 0.25rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.1rem;
    color: var(--white)!important;
}


/*****   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);
    color: #fff;
}

.secondary, .bg-secondary {
  background-color: var(--secondary)!important;
}



/* Headlines, Text, Links and Hover on coloured background */
.coloured P, .bg-coloured P {
  color: var(--white);
}

.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 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 {
  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 {
  color: var(--black);  /* white */
}

.white {
  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 {
  background-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);
}

.bg-dark {
  background-color: var(--dark);
}

/** gray = special case, with opacity **/
.bg-gray {
/* background: #f8f8f8; */
/*  background-color: var(--gray); */
  background: rgb(136, 136, 136); 
  background: rgba(136, 136, 136, .75);
}


/*** Borders ***/
.rounded-pill {
  border-radius: 5rem;
  }

/* round borders for images */
.rounded-circle {
  border-radius: 10%!important;
  }


/*
.navbar {
  background: url(../img/topmenu2.jpg);
  height:220px;
  } 
*/


.header {
  /* margin-top:45px; */
  height: 50px;
}

/* 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;
}



/* Navigation  */

.nav {
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

.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;
}


/**** shapes above and below navigation area ***/
#uppershape {
height:50px; width: 0; position:relative; z-index:0; 
border-style: solid; border-width: 75px 110vw 0px 0px; border-color: transparent #17592B transparent transparent; top:10px; left:-50px; background-color: #fff;
}
#lowershape {
height:50px; width: 0; position: relative; z-index:0;
border-style: solid; border-width: 0px 110vw 75px 0px; border-color: transparent #17592B transparent transparent; bottom:0; right:50px; background-color: #fff;
}



/* 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: 700;
}

.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: 700;
  letter-spacing: 0.1rem;
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255,255,255,1);
  }
.navbar-white .navbar-nav .nav-link {
  color: rgba(184, 32, 43, 1); /* primary green */
}

.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); /* secondary 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 */


.abstand {
  padding: 10px 10px 10px 10px;
  }





/******** Template specific ********/
/***** increase Nav-Logo (section logonav) fonts and Startpage fonts   *****/
.text-logos, .text-logos P {
  font-size: 1em;
  color: var(--coloured);
  }

.text-logos IMG {
  max-width: 100px;
  }
.right-logos IMG {
  max-width: 40px!important;
} 
.text-logos A, .text-logos A:visited {
  color: var(--coloured);
  }

.text-logos A:hover, .text-logos A:focus {
  color:   var(--secondary);
  font-weight: 700;
  }  

.text-big, .text-big P {
  font-size: 1.15em;
  color: var(--coloured);
  }

.text-big A, .text-big A:visited {
  color: var(--coloured);
  }





  
.bg-secondary .text-big A:hover, .bg-secondary .text-big A:focus {
  color:var(--gray);
  }
.bg-coloured .text-big A:hover, .bg-coloured .text-big A:focus {
  color: var(--coloured);
  }

#kontakt .container {
padding-left: 5px;
padding-right: 5px;
}

#kontakt .coloured a:hover, #kontakt .coloured a:focus {
  color: var(--gray);
}

#footer .text-white a:hover, #footer .text-white a:focus {
  color: var(--coloured)!important;
}

/* Schriften für Smartphones anpassen */
@media screen and (min-width: 300px) and (max-width: 991px) {
/*
p, li { font-size: 0.8em; }
a { font-size: 0.8em; }
H1, h2, h3, h4, h5, h6 {  font-size: 0.9em; text-shadow: none; }
*/
  h1 {
    font-size: 24px; 
    padding: 0 0px 0 0px;
    margin-top: 5px;
    margin-bottom: 5px;
  }
  H2 {
    font-size: 22px; 
    letter-spacing: 2px;
  }
  H3 { font-size: 20px; }
  H4 { font-size: 18px; }
  H5 { font-size: 16px; }

/*  icon navigation 6 icons */
  #logonav, .logonav {
    margin-left: auto;
    margin-right: auto;
  }

  .text-logos, .text-logos A,
  .text-big, .text-big A {
    font-size: 1em;
  }
 
   
}

#icon-nav {
padding-top: 15px; 
}




/* mobile devices in portrait need aligned logonav and less height header-cont **/
/* @media only screen and (orientation: landscape) */
/* media only screen and (hover: none) and (pointer: coarse) */
@media only screen and (max-device-width: 1080px) and (orientation: portrait) {
  .centered-sm {  /* center logos in logonav on phones (ONLY there) */
    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;
  }
}
/** end mobile */


/* Menu Fontsize kleiner */
@media all and (max-width:1199px) {
  .navbar, .navbar a, .nav-coloured, .nav-coloured a {
 /*   background-color: var(--coloured);
    color: var(--white);  */
    font-size: 0.95em;
  }

  .footer .navbar, .footer .navbar A {
    background-color: var(--coloured);
  }
/*
  .full {
    height: unset;
  }
  .footer .nav>li>a:focus, .nav>li>a:hover {
    background-color: var(--coloured);
  }
*/


}

@media all and (max-width:991px) {
.text-logos IMG {
  max-width: 90px;
  }

}

@media all and (min-width: 710px) and (max-width:850px) {
.text-logos IMG {
  max-width: 80px;
  }
   
.abstand-sm {
  padding: 2px 2px 2px 2px;
} 



}


@media and (max-width:767px) {

  .text-logos, .text-logos A,
  .text-big, .text-big A {
    font-size: 0.85em;
  }
.abstand {
  padding: 5px 5px 5px 5px; 
  }
  
/*
  .full {
    height: unset;
  }
*/
  .footer {
  font-size: 11px;
  }


} /* Ende Smartphone-Schriften */


@media all and (max-width:709px) {

.text-logos IMG {
  max-width: 40px; /* 125px;  */
  }
  
.abstand-sm {
  padding-left: 5px;
  padding-right: 5px;
}  

#uppershape {
height:25px;
 border-width: 35px 110vw 0px 0px;
 top:30px;
}

#lowershape {
height:25px;
border-width: 0px 110vw 35px 0px;
}

}

/* nicht mehr nötig, da Burger-Menu in index.php
@media (max-width:767px) {
.navbar, .navbar a, .nav-coloured, .nav-coloured a {
background-color: var(--coloured);
color: var(--white);
font-size: 0.85em; 
}
}
*/

/* icons top nav */

.head-logo {
   height: auto;
   max-height: 140px;
}


.col-x {
padding-left: 50px;
padding-right: 50px;
}

@media all and (max-width:1399px) {
.col-x {
padding-left: 40px!important;
padding-right: 40px!important;
}
}

@media all and (max-width:1399px) {
  .col-x {
    padding-left: 30px!important;
    padding-right: 30px!important;
}
  .head-logo {
   max-width: 100px;
}
  .right-logos {
    right: 0;
    left: 85px;
}
}
@media all and (max-width:991px) {
  .col-x {
    padding-left: 23px!important;
    padding-right: 23px!important;
}
  .right-logos, .right-logos A, 
  .right-logos P {
    font-size: 0.9em!important;
   } 
  .right-logos IMG {
    max-width: 40px!important;
}
  .head-logo {
   max-width: 85px;
} 
  .right-logos {
    right: 0;
    left: 55px;
}
}
@media all and (max-width:767px) {
  .col-x {
    padding-left: 7px!important;
    padding-right: 7px!important;
}
  .right-logos, .right-logos A, 
  .right-logos P {
    font-size: 0.75em!important;
   } 
  .head-logo {
    max-width: 50px;
}
  .right-logos {
    right: 0;
    left: 55px;
    text-align: right;
}
  .right-logos IMG {
    max-width: 30px!important;
} 

} 



.bg-primary {
  background-color: var(--coloured) !important; 
  color: #fff;
}
/* !important; */
.btn-primary {
  background-color: var(--coloured);
  border-color: var(--coloured);
}

.btn-primary:active, .btn-primary:focus, .btn-primary:hover {
  background-color: var(--secondary) !important;
  border-color: var(--secondary) !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);  */
  background-color: var(--light); 
  border: var(--secondary) 1px solid;
  color: var(--coloured);
}

.btn-secondary:active, .btn-secondary:focus, .btn-secondary:hover {
  background-color: var(--coloured) !important;
  border-color: var(--secondary) !important; 
  color: var(--white);
}

.btn-secondary:focus {
  box-shadow: 0 0 0 0.2rem rgba(255, 106, 0, 0.5); /* to  do */
}


@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%; 
    }

  .header-logo IMG {
    padding: unset;
    margin: unset;
    position: absolute;
    top:0;
    max-width:120px;
    height:auto;
    }

  .navbar-custom, .navbar-white, .navbar-dark {
    padding-top: unset;
    }
}


/* 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: 'Lato',  Arial, Helvetica, sans-serif;
  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;
    }
}



/* MODAL */
.modalDialog {
  position: fixed;
  font-family: 'Lato', Arial, Helvetica, sans-serif;
  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); 
}
*/

.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;
  font-weight: 800;
  color: var(--black);
  line-height: 42px;
  padding-top: 15px;
}

div[class^='counter-'] P, div[class*='counter-'] P {

  font-size: 25px;
  font-weight: 800;
  color: var(--white)!important;
}


@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: relative; 
  padding-left: 20px;
  z-index:10000;
}

.navbar-nav {
  width:100%;
}

.navbar-toggle {
  background-color: var(--secondary);
  float: left;
  margin-right: 50px;
  left: 20px;
}

.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;}

ul.topnav li a:hover:not(.active) {
  background-color: unset;
  color: var(--secondary); /* unset; */
}

.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;
  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;
}

/**** 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/logo25.png);
  padding-left: 20px;
}
#sidemenu UL.nav>li>a:hover {
color: var(--coloured);
}
/* space between modules on position */
#sidemenu .mod-custom {
margin-bottom: 10px;
/* background-color: var(--coloured); /* var(--light) */
}

#sidemenu div {
/* background-color: var(--coloured); /* var(--light) */
color: var(--white);
border-radius: 5px;
}

#spartenkasten div {
background-color: var(--gray)!important; /* var(--light) */
border-radius: 5px;
}

#spartenkasten P {
color: var(--black)!important;
}
#spartenkasten P, #spartenkasten H1, #spartenkasten H2 {
padding-left: 10px;
padding-right: 10px;
padding-bottom: 5px;
}
.spartenkasten {
background-color: var(--gray)!important;
/** some shadow around box **/
  box-shadow: inset 0 -3em 3em rgba(0, 0, 0, 0.1), 0 0 0 2px rgb(255, 255, 255),
    0.3em 0.3em 1em rgba(0, 0, 0, 0.3);
}


#sidemenu {
padding-left: 50px; 
}

#sidemenu H1, #sidemenu H2, #sidemenu H3, #sidemenu H4 {
border: 1px dotted;
border-color: var(--coloured);
background-color: var(--secondary);
color: var(--white)!important;
}

#sidemenu H1 {
border-radius: 5px 5px 0 0;
}   
#sidemenu P, #sidemenu H1, #sidemenu H2, #sidemenu H3, #sidemenu H4 {
padding-left: 5px;
padding-right: 5px;
padding-bottom: 5px;
}

#sidemenu .mod-menu {
text-align: left;
}


/*** sidemenu sponsoren ***/
.box:nth-child(even) {
  color: #000;
}

.sponsoren {
  display: grid;
  /* grid-gap: 1%; */
  grid-template-columns: repeat(3, 33%);
  border:1px solid #000;
  margin-bottom: 2em;
  background-color: var(--white);
  border: unset!important;
}




/***** 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);
}

#events P, #eventside P, eventfeature PP {
  color: initial;
}




/********************* 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 */
 
 
table.hallen-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border:none;
}

table.hallen-table th {
	border: none;
	background-color: #f6f6f6;
	text-align: left;
	padding: 10px 20px;
	color: #606060;
	vertical-align: top;
	font-size: 14px;
	font-weight: 600;
}

table.hallen-table td {
	padding: 20px;
	border-bottom: #eee 1px solid;
	border-top: none;
	border-right: none;
	vertical-align: middle;
}

table .hallen-title a {
	font-weight: 600;
	color: #666;
}

table .hallen-title a:hover {
	color: #808080;
}

table .hallen-total {
	color: #666;
	font-weight: 600;
}


table.hallen-table.bottom {
	margin-top: -1px;
}

table.hallen-table.bottom .hallen-btns { float: right; }
table.hallen-table.bottom .hallen-btns  a { margin-left: 10px; }
table.hallen-table.bottom th { padding: 15px; }


/*** hallenplan end ***/






/* 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 */




.fade:not(.show) {
  opacity: 0;
}

.collapse:not(.show) {
  display: none;
}

/*** für seitenmenü immer anzeigen **/
#sidemenu .collapse:not(.show) {
  display: flex;
}


.collapsing {
  height: 0;
  overflow: hidden;
  transition: height 0.35s ease;
}

.collapsing.collapse-horizontal {
  width: 0;
  height: auto;
  transition: width 0.35s ease;
}






mod-menu {
background: #ff0000;
z-index: 100000000;
}

/******* UNUSED END *********/
