/*Kreisdiagramm - piechart*/

.chart {
    width: 100%;
    position: relative;
  	max-width: 240px;
  	margin: 0 auto;
}

.chart .outer canvas {
    top: 0;
    left: 0;
    height: 100% !important;
    width: 100% !important;
}

.chart .outer span {
    position: absolute;
    left: 0;
    right: 0;
    font-size: 64px;
    font-weight: bold;
    top: 50%;
    margin-top: -32px;
    line-height: 64px;
  	text-align: center;
}

.piechart .subline span {
    font-size: 22px;
    line-height: 25px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    width: 100%;
    display: block;
    margin-top: 30px;
}

/*Balkendiagramm Horizontal */

.barcharth .bars-canvas > .bar {
    z-index: 2;
    margin-bottom: 30px;
    color: #ffffff;

    min-width: 20%;
    padding: 5px 0 5px 10px;
    position: relative;
    transition: 1500ms all ease-in-out;
    transition-delay: 1000ms;
}

.barcharth .bars-canvas > .bar.style1 {
    background-color: #008ae5;
}

.barcharth .bars-canvas > .bar.style2 {
	background-color: #CD1626;
}

.barcharth.waiting .bars-canvas > .bar {
    width: 20% !important;
    transition: 1500ms all ease-in-out;
    transition-delay: 1000ms;
}

.barcharth .bars-canvas > .bar::before { 
			width: 0; 
			content: ''; 
			position: absolute; 
			top: 0; 
			right: 0; 
}

.barcharth .bars-canvas > .bar.style1::before { 
			border-top: 38px solid #ffffff; 
			border-left: 18px solid #008ae5; 
}

.barcharth .bars-canvas > .bar.style2::before { 
			border-top: 38px solid #ffffff; 
			border-left: 18px solid #CD1626; 
}

.barcharth .bars-canvas > .bar p{
 	margin: 0; 
  	color: #ffffff;
  	font-size: 25px;
  line-height: 28px;
  font-weight: bold;
  white-space: nowrap;
}

.barcharth .bars-canvas {
    position: relative;
    padding: 30px 0 0.01px 0;
    background-color: #ffffff;
    margin-right: 2vw;
}

.barcharth .bars-canvas .headline{
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

/*Balkendiagramm Vertikal */

.barchartv .bars-canvas .bar {
    z-index: 2;
    color: #ffffff;
    position: relative;
    transition: 1500ms all ease-in-out;
    transition-delay: 1000ms;
}


.barchartv .bars-canvas{
  display: flex;
  justify-content: space-between;
  height: 20vw;
  text-align: center;
  align-items: flex-end;
  margin: 60px 0;
}

.barchartv .bars-canvas .bar {
 	width: 38px;
  	margin: 16px auto;
}

.barchartv .bars-canvas .bar.style1 {
    background-color: #008ae5;
}

.barchartv .bars-canvas .bar.style2 {
	background-color: #CD1626;
}

.barchartv.waiting .bars-canvas .bar {
    height: 0% !important;
    transition: 1500ms all ease-in-out;
    transition-delay: 1000ms;
}

.barchartv .bars-canvas .element {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.barchartv .bars-canvas .bar::before { 
			width: 0; 
			content: ''; 
			position: relative; 
			top: -18; 
			right: 0; 
}

.barchartv .bars-canvas .bar.style1::before { 
			border-top: 18px solid #ffffff; 
			border-right: 38px solid #008ae5; 
}

.barchartv .bars-canvas .bar.style2::before { 
			border-top: 18px solid #ffffff; 
			border-right: 38px solid #CD1626; 
}

.barchartv .headline {
    position: absolute;
    width: 38px;
    bottom: 30px;
  	font-size: 22px;
  	font-weight: bold;
}

.barchartv .value {
    position: absolute;
    width: 38px;
    top: -65px;
}


@media only screen and (max-width: 975px) {
  
  .barchartv {
    transform: rotate(90deg);
    width: 100vw;
    margin-left: -30px;
  }
  
  .barchartv .bars-canvas {
     height:calc(100vw - 60px);
     width: 100vw;
     margin-bottom: 0;
  }
  
  .barchartv .bars-canvas .bar {
     margin: 16px auto 0 auto;
  }

  .barchartv .headline {
    width: 200px;
    transform: rotate(-90deg);
    z-index: 10;
    bottom: 100px;
    margin-left: -80px;
	}
  
  .barchartv .headline span{
      color: #ffffff;
      font-size: 23px;
  }
  
  .barchartv .bars-canvas {
    text-align: left;
  }
  
  .barchartv .value {
    transform: rotate(-90deg);
  }

  .barchartv .value p{
    margin-bottom: 0;
  }
}

/*Kontakt Teaser*/

.teasercontact .image{
	width: 100%;
}

.teasercontact .image img{
	width: 100%;
	height: auto;
}

.teasercontact .body{
  	margin-top: 30px;
}

.teasercontact h3{
  	font-size: 25px;
  	font-weight: bold;
  	color: #0E71B8;
  	margin-bottom: 5px;
}

.teasercontact h5{
  	font-size: 22px;
  	font-weight: bold;
}