﻿body{
	/*overflow-x: hidden;  fixing horizontal scroll on small device */
	}

#pyramid {
	width: 100%;
	/*	dont set widrh height here or u get horizontal scroll!
		width: 710px;
	  	height: 674px;
	*/
/* help for touch devices and slider usability */
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
}


#bs_pyramid_container{ 
	position: relative;
	padding-right: 0px
	background: lightgrey;
	}

#bs_slider_container{
	padding-left: 5px;
	}
	
#bs_controlls_container{
	background: white;
	}
	
@media (max-width: 767px) {
	#bs_pyramid_container{ 
		padding-left:5px
		}
		
	#bs_slider_container{
		padding-right:0px;
		}
	}
	
@media (max-width: 439px) {
	#bs_slider_container{
		padding-right:0px;
		padding-left:18px
		}
	}
	
#mainSVG{
	/*
	transform-origin: 0 0;  
	transform: scale(0.7);
	*/
	}
	
#resizing{
	display: none;
	width: 100%;
	text-align: center;
	min-height: 300px;
	background: lightgrey;
	font-size: 18px;
	color: #777;
	font-width: bold;
	}
	
#resizing div{ /* inner just for positioning */
	position: relative;
	top: 45%;
	left: 0%;
	width: 100%;
	}	
	
#smallScreenNotice{
	background-color: #b56bc7;
	color: #e8d792;
	font-size: 17px;
	}
	
#smallScreenNotice i{
	font-size:30px;
	display: block;
	margin-top: 12px;
	margin-left: 3px;
	}
	
@media (min-width: 480px) {
	#smallScreenNotice{
		display: none;
		}
	}

.hourglass{
	padding-top: 80px;
	text-align: center;
	font-size: 18px;
	}
	
.hourglass i{ /* spinning icon */
	display: block;
	margin-bottom: 12px;
	font-size: 40px;
	color: #15abdd;
	}

#dashBoard{
	padding-top: 4px;	
	/* help for touch devices and slider usability */
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
	}

#data {
	font-size: 14px; /* 2026: vorher 12px */
	}

table { 
	text-align: right; 
	border-collapse: collapse;
	}

#tAge {
	/* 2026: feste Breite 78px entfernt, damit "Alter in Jahren" nicht umbricht */
	text-align: left;
	white-space: nowrap;
	padding-right: 12px;
	}

/* 2026: unter 992px und ab 1400px die Alters-Spalte auf Textbreite schrumpfen
   (wie im Bereich 992-1399px), Personen/Anteil bekommen den Rest */
@media (max-width: 991px), (min-width: 1400px) {
	#tAge {
		width: 1%;
		}
	}

#tMill {
	width: 96px;
	}

#tRatio {
	width: 90px;
	}


td { 
	padding-top: 7px;
	padding-bottom: 5px;
	}

.above{
	border-top : 1px solid black;
	}

.middle{
	border-top : 1px solid black;
	border-bottom: 1px solid black;
	}

.ageLimitTxt{
	border-right: 8px solid white;
	}

.ageLimitTxt{
	padding-right: 16px;
	}


a {text-decoration: none; color: #0f478c}
a:hover { cursor:pointer; text-decoration: none; background-color: #ddd;}

.flushRight{
	right: 15px;
	float: right;
	position: relative;
	}

#ageLimitControl {
	position: absolute;
	/*
	top: 590px;
	left: 66px;
	position: absolute;*/
}

#ageLimitControl p {
	font-size: 12px;
	margin-top: 6px;
	margin-bottom: 6px;
}

#legend {
	position: absolute;
	
	z-index: 25;
	top: 67px;
	left: 20px;
	margin: 0px;
	padding: 0px;
	width: 60px;
	height: 90px;
	
	/*background: rgba(255,0,0,0.3)*/
	/*overflow: hidden;*/
	}

@media (max-width: 767px) {
	#legend {
		left: 4px;
		}
	}

#legend button {
	pointer-events: none;
	/*position: absolute;
	top: 0px;
	*/
	background: yellow;
	
	padding-left: 3px;
	padding-right: 3px;
	font-size: 9px;
}

.mini {
	fill: #444;
	pointer-events: none;
}

.Year {
	font-weight: bold;
	font-size: 11px;
}

.Variant {
	font-size: 10px;
}

svg {
	overflow: hidden;
	font: 12px Arial, sans-serif;
	text-anchor: middle;
	}

#mainSVG{
	/*background-color: #ccc;*/
	}
	
#legendSvg{
	/*background-color: rgba(0,255,0,0.2);*/
	}

.x.axis path {
  display: none;
}

.x.axis line {
  stroke: #fff;
/*   stroke-opacity: .2; */
  stroke-opacity: .3;
  shape-rendering: crispEdges;
}

.xAxisLabel {
  font-size: 12px;
  fill: #000;	
}

.title {
  font-size: 33px;
  letter-spacing: -2px;
  font-weight: bold;
  fill: #999;
}

.subtitle {
  font-size: 13px;
  font-weight: normal;
  fill: #333;
}

.subtitleLeft {
  text-align: left;
  font-size: 13px;
  font-weight: normal;
  fill: #333;
}

.birthyear {
  font-size: 8px;
  fill: #fff;
/*   fill: none; */
}

.hoverBirthYear {
	pointer-events: none;
	font-size: 12px;
	font-weight: bold;
	fill: #fff;
	/*text-shadow: 1px 1px 2px #333;*/
	}
	
/* IE doesnet render text-shadow (http://www.d3noob.org/2013/01/adding-drop-shadow-to-allow-text-to.html) */
.hoverBirthYearIE_BG{
	pointer-events: none;
	font-size: 12px;
	font-weight: bold;
	
	stroke: #333;
    stroke-width: 2.5px;
    opacity: 0.9;
	}

.age {
  fill: #444;
  font-weight: bold;
  font-size: 12px;
}



.symmetry {
  pointer-events: none;
  fill-opacity: .25;
  fill: white;
}

.envelopeCurve {
	fill: none;
	stroke: black;
	stroke-width: 1.5px;
	stroke-linejoin: bevel;
	pointer-events: none;
}

.miniCurve {
	/*stroke: lime;*/
	stroke: darkgrey;
	stroke-width: 20px;
	pointer-events: none;
}

.swoosh {
	stroke: #e21616;
	stroke-width: 5;
	fill: none;
}

.xl {
/* 	these elements will only be used in the XL size */
}

.nick {
	font-weight: normal;
	padding-left: 6px;
}




@media print {
	
	.noPrint, .symmetry { display:none;}

	.x.axis line, .males, .females {
		stroke: #fff;
		stroke-opacity: 1;
		stroke-width: 0.2pt;
		shape-rendering: crispEdges;
	}

	a {color: #000;}

}

/* loading spinner */
.spinner {
  -webkit-animation: moveMe 10.0s infinite linear;
  animation: moveMe 10.0s infinite linear;
}

@-webkit-keyframes moveMe {
  0% { -webkit-transform: translate(0) }
  50% { -webkit-transform: translate(300px) }
  100% { -webkit-transform: translate(0) }
}
@keyframes moveMe {
  0% { transform: translate(0) }
  50% { transform: translate(300px) }
  100% { transform: translate(0) }
}