@charset "utf-8";

@import url(https://fonts.googleapis.com/css?family=Ubuntu:400,700);

/* dbFCZ Standard -- CSS Document */

html {
  background: transparent!important; background: white;
}

body {
	margin: 0em auto; /*margin: 0em auto;*/
	max-width: 65em;
}

main, aside, main svg {
	border-bottom: 1px solid;
	padding: 0em;
	margin: 0em;
}

h1, h3 {
	/*border-radius: 0 8px 8px;*/
	/*border-top: 1px solid;*/
	/*border-bottom: 1px solid;*/
    padding: 0;
    margin: 0;
}

h1 {
  max-width:30vw;
}


/* Kachel */
.kachel {
  display:flex;
  justify-content:flex-start;
  flex-wrap:wrap; /*Umbrechen*/
}

.kachel > DIV {
  margin-bottom:0em;
  padding:0em;
  /*background:#ffeaff;*/
  border:0px solid #bbb;
  width: 50%;
  max-width: 49.5vw;    /*nimmt 480px oder so als 100%; ideal wären ca 21 em*/
  /*font-size:0.8em;*/
  /*color:#666;*/
  /*width: calc((100% / 2.4) - 0px);*/
}


/*Standard Aufzählung*/
.standard_row{
  display:flex;
  justify-content: flex-start
  flex-direction: row;
  flex-wrap: rap; /*nowrap = Quetschen*/
  }

/*Highlight*/
highlight_1{
	flex: 1 1 0%;
}
highlight_2{
	flex: 1 1 0%;
}
highlight_3{
	flex: 3 1 0%;
}



aside {
	/*background: #c4ced3;*/
	padding-left: 0.2em;
	/*border-left: 1px solid;*/
    }

aside ul {
  margin: 0 0 0.5em 0;
  padding-left: 0.8em;
  border: 0;
  text-align:left;
}
    
aside li {
    list-style-type:"_ ";
    }


ul.text {
  margin: 0;
  padding-left: 0.8em;
  border: 0;
  text-align:left;
}
    
ul.text li {
    list-style-type:"_ ";
    }
/*
aside li::before {
    content: "_ ";
    }   
*/

 /* für Container */ /*
#hinweis {                   

	border-left: 5px solid #c32e04;
} */

/* für Textzeile */ /*
.hinweis {                    
        color: #c32e04; 
        font-style: italic; 
        border-bottom: 1px dotted; 
        display:inline-block; 
} */

/* responsives Layout */

body {
  display: flex;
  flex-flow: row wrap;
}


/* Mobile first - alle Dokument-Blöcke bekommen 100% Breite – */
header, section, article, aside, footer {
  /*border-radius: 0px 0.5em 0.5em;*/
  border-bottom: 1px solid #3300CC;
  padding: 0.3em 0.8em;
  margin: 0;
  flex: 1 100%;
  border-collapse: collapse;	
}

 /*Logo vs. Suche*/
.header_inside {
  display:flex;
  justify-content: flex-start
  flex-direction: column;
  flex-wrap: wrap; /*nowrap = Quetschen*/
}
.header_links{
	flex: 1 100%;
}
.header_rechts{
	flex: 1 100%;
    padding-top:0.5em
}


/*Test*/
.test_links{
	flex: 1 100%;
}

/*Test*/
.test_rechts{
	flex: 1 100%;
}


header {
  /*background: #99ffcc;*/
  border-color: #3300CC;
  display: flex;
  flex-flow: row wrap;
  border-top: 1px solid #3300CC;
  margin-top:0.5em
}
header * {
  flex: 1 1 0%;
  margin: 0 0em;
}
/*
header img {
  flex: 0 0 150px;
  margin-right: 20px;
} */

nav, nav a {
  /*border-radius: 0px 0.5em 0.5em;*/
  border: 0;
  /*border-top: 1px solid;*/
  /*border-bottom: 1px solid;*/
  padding: 0em 0em 0em 0em;
  margin: 0em 0em 0em 0em;
  flex: 1 100%;
  border-collapse: collapse;
  text-align:left;	
}

section nav {
  flex: 1 1 100%;
  padding: 0em 0em 0em 0em;
  margin: 0em 0em 0em 0em;
  border-color: #3300CC;	
}
nav ul, nav li{
  margin: 0em 0em 0em 0em;
  padding: 0em 0em 0em 0em;
  border: 0;
  /*font-size: 0.875em;*/  
  /*font-size: 0.85em;*/
  text-align:left;
}
nav ul {
  display: flex;
  /*flex-direction: column;*/
}
nav li {
  list-style-type:none;
  margin: 0; /*margin: 1.3em 0;*/
  /*flex: 1 1 100%;*/
}
/*nav li:last-child {
  text-align: right;
}*/
nav a {
  /*display:inline-block;*/
  /*width:95%;*/
  /*background: #ccff99;*/
  border: 0;
  border-right: 1px solid #3300CC;
  margin: 0;
  padding: 0 0.5em 0 0.5em;
  text-decoration: none;
  /*text-align: center;*/
}
nav a:first-child{
  padding-left: 0em;
}
nav a:last-child, nav a:nth-last-child(2) {
  border: 0;
}

}
nav a:hover, nav a:focus {
  /*background-color: #dfac20;*/
}

nav a[aria-current=page] {
	color:black;
	font-weight:bold;
}
section {
  /*background: #ffff99;*/
  border-color: #3300CC;
}



/* Add a black background color to the top navigation */
.topnav {
  /*background-color: #333;*/
  overflow: hidden;
}

/* Style the links inside the navigation bar */
.topnav a {
  float: left;
  display: block;
  /*color: #f2f2f2;*/
  /*text-align: center;*/
  /*padding: 14px 16px;*/
  text-decoration: none;
  /*font-size: 17px;*/
}

/* Change the color of links on hover */
.topnav a:hover {
  background-color: #ddd;
  color: black;
}

/* Add an active class to highlight the current page */
.topnav a.active {
  /*background-color: #4CAF50;
  color: white;*/
}

/* Hide the link that should open and close the topnav on small screens */
.topnav .icon {
  display: none;
}

/* When the screen is less than 600 pixels wide, hide all links, except for the first one ("Home"). Show the link that contains should open and close the topnav (.icon) */
@media screen and (max-width: 600px) {
  .topnav a:not(:first-child) {display: none;}
  .topnav a.icon {
    float: right;
    display: block;
  }
}

/* The "responsive" class is added to the topnav with JavaScript when the user clicks on the icon. This class makes the topnav look good on small screens (display the links vertically instead of horizontally) */
@media screen and (max-width: 600px) {
  .topnav.responsive {position: relative;}
  .topnav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .topnav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
}


div#blaettern{
  display:flex;
  justify-content: flex-start
  flex-flow: row wrap;  
  padding: 0em 0em;
  margin: 0.5em 0;
  /*margin-top: 0.5em;*/
  border:0px solid black;
  /*background: #27e6cc;*/
  }

.blaettern_links{
	flex: 3 1 0%;
    /*background: blue;*/
}
.blaettern_mitte{
	flex: 1 1 0%;
    text-align: center;
    /*background: white;*/
}
.blaettern_rechts{
	flex: 3 1 0%;
    text-align: right;
    /*background: green;*/
}

p {
  /*background: #f74f74;*/
}

article {
  /*background: #ffede0;*/
  /*border-color: #3300CC;*/
  min-height: 75vh;
}
aside {
  /*background: #F6FAEE;*/
  /*border-color: #3300CC;*/
}
footer {
  /*background: #e4ebf2;*/
  border-color: #3300CC;
  display: flex;
  flex-flow: row wrap;
}
footer * {
  flex: 1 1 0%;
  justify-content: space-between;
}
footer /*p:last-child,*/ form {
  text-align: right;
}


.kachel {
  flex: 1 1 0%;
  /*width: calc((100% / 2.4) - 0px);*/
}

.kachel > DIV {
	flex: 1 1 100%;
}

table, th, td { 
  /*width: 100%;*/
  border: 0px solid; 
  border-collapse: collapse;
  margin-bottom: .9em; 
}
th, td {
	padding-right: .4em;
    vertical-align: top;
}
 
th, td:first-child{
	font-weight: normal;
	color: #666666;
}        
th:first-child, td:first-child{
	text-align:left;
}        
th {
	text-align:center;
	/*font-size: 0.875em;*/   
}  
tfoot{
    background: #DCDCDC;   
}

tbody.streifen tr:nth-child(even){
    background: #F0F0F0;    
}

tbody.streifen_team tr:nth-child(odd){
    background: #F0F0F0;    
}

tr.streifen_standard{
    background: #F0F0F0;    
}

tr.streifen_highlight{
    background: #DCDCDC;    
}


.chart {
  width: 98%;
  min-height: 450px;
}

/*
tfoot td:nth-child(even), tbody td:nth-child(even){
	text-align:right;
}
*/

.table-scrollable {
  /*max-width: 252em;*/  /*eigtl. besser 100% nimmt 480px oder so als 100% */
  overflow-y: auto;
  margin: 0 0 1em;
  max-width: calc(100vw - 1.6em);
}

.kachel > DIV {
    max-width: calc(100vw - 1.6em);    /*25 em nimmt 480px oder so als 100%; ideal wären ca 21 em*/
    }

input.suche {
   /*width:48%;*/
   width: calc(100vw - 145px);
  }

select.suche {
  width: 172px);
  }


/* Smart Phones und Tablets mit mittlerer Auflösung */
@media all and (min-width: 35em) {

    body {
	   margin: 0.5em auto; /*margin: 0em auto;*/
    }

    header img {
      margin-right: 50px;
    }
    
    /*
    nav ul {
      flex-direction: row;
    }
    nav li {
      margin: 0 10px;
      flex: 1 1 0%;
    }
    */
    
    article {
      order: 2;
    }
    #news {
      flex: 1 auto;
      order: 3;
    }
    aside {
    /* durch auto werden die beiden asides in eine Zeile gesetzt */
    /*  flex: 1 auto;*/
      flex: 1;
      order: 4;
    }
    footer {
      order: 5;
    }
    .kachel {
      flex: 1 1 0%;
      /*width: calc((100% / 2.4) - 0px);*/
    }
    .kachel > DIV {
      /*margin-right: auto;*/
      max-width: calc((100% / 2) - 2px);
    }

    .header_links{
	order: 1;
    }
    .header_rechts{
	order: 2;
    flex: 1;
    }

    .table-scrollable {
    max-width: 100%;
    }

    input.suche {
       width:51%;
      }

    /*Test*/
    .test_links{
	order: 1;
    }

    /*Test*/
    .test_rechts{
	order: 2;
    flex: 1;
    }

.table-scrollable {
  /*max-width: 252em;*/  /*eigtl. besser 100% nimmt 480px oder so als 100% */
  overflow: hidden;
  margin:0;
  /*max-width: calc(100vw - 1.6em);*/
}



}

/* Large screens */
@media all and (min-width: 50em) {

header, section, article, aside, footer {
  padding: 0.3em 0.3em;
  }

  body {
  margin: 0em auto; /*margin: 0em auto;*/
  }
  article {
  padding-right: 1.5em;
  }
  aside {
    padding-top:0em;  /*1em*/
    padding-left: 1.5em;
    /*padding-right: 1.5em;*/
  }
  article {    /* Der Article wird 2.5x so breit wie die beiden asides! */
    order: 3;
    flex: 3 1 0%;
  }
  aside {
    flex: 1 1 0%;
    border-left: 1px solid #3300CC;
  }
  #news {
    flex: 1 1 0%;	  
    order: 2;
    align-self: center;
    height: 12em;
  }
  .kachel {
    flex: 1 1 0%;
    /*width: calc((100% / 2.4) - 0px);*/
  }
  .kachel > DIV {
     /*flex: 2 1 0%;*/
    margin-right: auto;
    max-width: calc((100% / 2) - 0.5em);
  }

  .kachel > DIV:nth-child(even) {
     /*flex: 2 1 0%;*/
    margin-left: 0.5em;
  }

    header{
    padding-top:0.5em;
    padding-bottom:0.5em;
    }

    .header_links{
	flex: 1 1 0%;
    }
    .header_rechts{
	flex: 2 1 0%;
    text-align:right;
    padding-top:0em;
    }

    .table-scrollable {
    max-width: 100%;
    }
    
    aside>h3:first-child{
        margin-top:1em;
        }
    


  .chart {
    width: 100%;
    min-height: 500px;
    }

    /*Test*/
    .test_links{
	flex: 1 1 0%;
    }

    /*Test*/
    .test_rechts{
	flex: 2 1 0%;
    }



/*
.test {
  flex-direction: row;
  align-items : stretch
}
*/

}

.leerzeile
{
	font-size: 0.25em ; //2px
}


/* Kachel */
/*.kachel_alt {
  display:flex;
  justify-content:flex-start;
  flex-wrap:wrap;
}

.kachel_alt > DIV {
  margin:2px;
  padding:25px;
  background:#ccc;
  border:1px solid #bbb;
  font-size:24pt;
  color:#666;
  width: calc((100% / 2.4) - 0px);
} */
 	

/*Formular*/

form {
	margin: auto;
	padding-left: 0px;
}

#form_suche ul
{
	margin: 0px;
	margin-bottom: 6px;
	padding-left: 2px;
}

#form_suche ul li
{
	padding-bottom: 2px;
	list-style-type: none;
	display: block;
	margin-top: 0px;
}

.suche_start
{
	margin-right: 0px;
	margin-top: 0px;
	margin-left: 2px;
	position: relative;
	top: 3px;
}

textarea, select, option, input, button
{
	/*font-size: 12px;
	font-family: 'Ubuntu', Verdana, Tahoma, Helvetica, Arial, Sans-Serif;*/
	margin: 0px;
	margin-right: 0px;
	/*padding-left: 0px;*/
    padding:0.5em 0;
    border:1px solid #ddd;
  }

select {
padding:0.4em 0;

}


button {
    width: 2.5em;
    color: #000099;      
    background-color: #FFFFFF;
    border: 1px solid lightgrey;
    cursor: pointer;
    margin: 0 0 0 -0.3em;
    padding-left: 0.5em;
    padding-right: 0.5em;
}

button:hover {
    background: #e7f5fe;
}

/*
input
{
	/*font-size: 11px;
	font-family: 'Ubuntu', Verdana, Tahoma, Helvetica, Arial, Sans-Serif;*/
/*	margin: 0px;
	margin-right: 0px;
	padding-left: 0px;
} 
*/

.radio
{
	/*font-family: 'Ubuntu', Verdana, Tahoma, Helvetica, Arial, Sans-Serif;
	font-size: 12px;*/
	font-weight: normal;
	font-style: normal;
	position: relative;
	bottom: 1px;
}

input#submit
{
    /*font-size: 12px;*/
    width: 2.5em;
    color: #000099;      
    background-color: #FFFFFF;
    border: 1px solid #3300CC;
	  /*
    border-top: 1px solid #3300CC;
	  border-bottom: 1px solid #3300CC;
	  border-left: 1px solid #3300CC;
	  border-right: 1px solid #3300CC;
    */
    padding:0.5em 0em;
    margin: 0;
    display: inline
}


input#form_submit
{
    color: #000099;
    background-color: #FFFFFF;
    border: 0px none;
	  border-top: 1px solid #3300CC;
	  border-bottom: 1px solid #3300CC;
    padding: 0.5em 0em;
    margin: 0;
    display: inline
}

input#submit:hover
{
  color: #3399FF;
  background-color: #FFFFFF;
	border-top: 1px solid #3399FF;
	border-bottom: 1px solid #3399FF;
}

select.filter{
  /*-moz-appearance: none;*/
  /*-webkit-appearance: none;*/
  /*appearance: none;*/
  border:1px solid #ddd;
  min-width:110px;
  max-width:141px;
  padding:0.5em 0em;
  margin-left: -1px;
  margin-right: -0.4em; 
}

select.filter_breit{
  /*-moz-appearance: none;*/
  /*-webkit-appearance: none;*/
  /*appearance: none;*/
  border:1px solid #ddd;
  width:222px;
  padding:0.5em 0em;
  margin-left: -1px;
  margin-right: -0.4em; 
}	