/*
 * Änderungen:
 * EW24
 *       Weegen Zeilenumbruch in der x-Achse der Diagramme (z.B. bei Gewinne/Verlusste ...) 
 *          .x-axis li {
 *              NEU: width: 100%;
 *              ALT: width: 160px;
 *          }
 */

/* Table */
#data-table,
#data1-table,
#data2-table,
#data3-table,
#data4-table {
	border: none; /* Turn off all borders */
	border-top: 1px solid #ccc;
	width: 540px;
}
#data-table caption,
#data1-table caption,
#data2-table caption,
#data3-table caption,
#data4-table caption {
	color: #545454;
	font-size: 14px;
	font-weight: normal;
	line-height: 20px;
	margin: 0 0 20px 0;
	padding: 0;
	text-align: center;
}
#data-table thead,
#data1-table thead,
#data2-table thead,
#data3-table thead,
#data4-table thead {
	background: #f0f0f0;
}
#data-table th,
#data1-table th,
#data2-table th,
#data3-table th,
#data4-table th, 
#data-table td,
#data1-table td,
#data2-table td,
#data3-table td,
#data4-table td {
	border: none; /* Turn off all borders */
	border-bottom: 1px solid #ccc;
	margin: 0;
	padding: 10px;
	text-align: left;	
}

/* Toggle */
.toggles {
	background: #ebebeb;	
	color: #545454;
	height: 20px;
	padding: 15px;
}
.toggles p {
	margin: 0;
}
.toggles a {
	background: #222;
	border-radius: 3px;	
	color: #fff;
	display: block;
	float: left;
	margin: 0 10px 0 0;
	padding: 0 6px;
	text-decoration: none;
}
.toggles a:hover {
	background: #666;
}
#reset-graph-button {
	float:right;
}

/* Graph */
/* Containers */
#wrapper {
	height: 420px;
	left: 50%;
	margin: -210px 0 0 -270px;
	position: absolute;
	top: 50%;	
	width: 540px;
}
#figure {
	height: 300px;
	position: relative;
}
#divLegendFigure {
	display: none;
}
 .legendFigure {
	height: 150px !important; 
} 
#figure_legend {
	height: 120px;
	position: relative;
	margin-bottom: 50px;
}
#figure ul,
#figure_legend ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.graph {
	height: 253px;
	position: relative;
	margin-left: 10px;
}

/* Legend */
.legend {
	background: #f0f0f0;
	border-radius: 4px;
	/*bottom: 0;*/
	top: 0;
	position: absolute;
	text-align: left;
	width: 100%;	
}
.legend li {
	display: block;
	float: left;
	height: 20px;
	margin: 0;
	padding: 10px 20px;
	width: 95px;
}
.legend span.icon {
	/*background-position: 50% 0;*/
	background-position: right;
	border-radius: 2px;
	display: block;
	float: left;
	height: 16px;
	margin: 2px 10px 0 0;
	width: 16px;	
}

/* X-Axis */
.x-axis {
	bottom: 0;
	color: #555;
	position: absolute;
	text-align: center;
	/*width: 540px;*/
	width: 100%;
}
.x-axis li {
	float: left;
	margin: 0 15px;
	padding: 5px 0;
	width: 100%;
/* [EW24]   Alter Wert:	width: 166px;	*/
}

/* Y-Axis */
.y-axis {
	color: #555;
	position: absolute;
	text-align: right;
	width: 100%;
}
.y-axis li {
	border-top: 1px solid #ccc;
	display: block;
	height: 40px;
	width: 100%;
}
.y-axis li span {
	display: block;
	margin: -10px 0 0 -45px;
	padding: 0 10px;
	width: 40px;
}

/* Graph Bars */
.bars {
	height: 213px;
	position: absolute;
	width: 100%;
	z-index: 10;
}
.bar-group {
	float: left;
	height: 100%;
	margin: 0 15px;
	position: relative;
	/*width: 190px;*/
	width: 100%;
}
.bar {
	border-radius: 3px 3px 0 0;
	bottom: 0;
	cursor: pointer;	
	height: 0;
	position: absolute;
	text-align: center;
	/*width: 24px;*/
	width: 50px;
	/* margin-bottom: 2px; */
}

.bar.fig0 {
	left: 0;
}
.bar.fig1 {
	left: 0px;
}
.bar.fig2 {
	left: 34px;
}
.bar.fig3 {
	left: 68px;
}
.bar.fig4 {
	left: 102px;
}
.bar.fig5 {
	left: 136px;
}
.bar.fig6 {
	left: 170px;
}
.bar.fig7 {
	left: 204px;
}
.bar.fig8 {
	left: 238px;
}
.bar.fig9 {
	left: 272px;
}


@media screen and (min-width: 768px) {

.bar.fig0 {
	left: 0;
}
.bar.fig1 {
	left: 0px;
}
.bar.fig2 {
	left: 34px;
}
.bar.fig3 {
	left: 48px;
}
.bar.fig4 {
	left: 72px;
}
.bar.fig5 {
	left: 96px;
}
.bar.fig6 {
	left: 120px;
}
.bar.fig7 {
	left: 144px;
}
.bar.fig8 {
	left: 168px;	
}
.bar.fig9 {
	left: 192px;
}

}


@media screen and (min-width: 960px) {

.bar.fig0 {
	left: 0;
}
.bar.fig1 {
	left: 0px;
}
.bar.fig2 {
	left: 34px;
}
.bar.fig3 {
	left: 68px;
}
.bar.fig4 {
	left: 102px;
}
.bar.fig5 {
	left: 136px;
}
.bar.fig6 {
	left: 170px;
}
.bar.fig7 {
	left: 204px;
}
.bar.fig8 {
	left: 238px;	
}
.bar.fig9 {
	left: 272px;
}
}


@media all and (min-width: 1280px) {

.bar.fig0 {
	left: 0;
}
.bar.fig1 {
	left: 0px;
}
.bar.fig2 {
	left: 34px;
}
.bar.fig3 {
	left: 68px;
}
.bar.fig4 {
	left: 102px;
}
.bar.fig5 {
	left: 136px;
}
.bar.fig6 {
	left: 170px;
}
.bar.fig7 {
	left: 204px;
}
.bar.fig8 {
	left: 238px;	
}
.bar.fig9 {
	left: 272px;
}

}

.bar.pp {
	position: absolute;
	bottom: 50%;
}

.bar.pn {
	position: absolute;
	top: 50%;
	border-radius: 0px 0px 3px 3px;
}

.bar span {
	background: #fefefe;
	border-radius: 3px;
	left: -8px;
	display: none;
	margin: 0;
	position: relative;
	text-shadow: rgba(255, 255, 255, 0.8) 0 1px 0;
	width: 50px;
	height: 45px;
	z-index: 20;
	
	-webkit-box-shadow: rgba(0, 0, 0, 0.6) 0 1px 4px;
	box-shadow: rgba(0, 0, 0, 0.6) 0 1px 4px;
}
.bar:hover span {
	display: block;
	margin-top: -25px;
}
.siebenerLeiste {
	margin-bottom: 2px;
}