html, body{
  height:100%;
}

body {
	font-family: Trebuchet MS, Verdana;
	font-size: 12pt;
    margin:0;
}

svg {
  font: 10px sans-serif;
}

.axis {
  shape-rendering: crispEdges;
  font-weight: bold;
}

.axis path, .axis line {
  fill: none;
  stroke-width: .5px;
}

rect.pane {
  cursor: move;
  fill: none;
  pointer-events: all;
}

#header {
	background-color: #3399BC;
	padding: 0.5em;
}

h1 {
	color: #FFFFFF;
	text-align: center;
	font-size: 23pt;
	font-weight: normal;
}

#time {
	font-weight: bold;
	font-size: 40pt;
}

.text {
	width: 70%;
	margin-right: 15%;
	margin-left: 15%;
}

#line {
	border: solid 1px #3399BC;
}

#link_to_graphic {
	text-decoration: none;
	color: #000000;
	font-weight: bold;
}

#border {
	height: 6px;
	color: #FFFFFF;
}

#graphic {
    padding:8px;
}

#arrival, #departure {
	-webkit-appearance: button;
    -moz-appearance: button;
    -webkit-user-select: none;
    -moz-user-select: none;
    -webkit-padding-end: 20px;
    -moz-padding-end: 20px;
    -webkit-padding-start: 2px;
    -moz-padding-start: 2px;
    background-color: #3399BC;
    background-position: center right;
    background-repeat: no-repeat;
    border: 1px solid #000000;
    border-radius: 2px;
    color: #FFFFFF;
    font-size: 10pt;
    margin: 0;
    overflow: hidden;
    padding-top: 2px;
    padding-bottom: 2px;
    /*text-overflow: ellipsis;*/
    white-space: nowrap;
}

select {
	background-color: #3399BC;
    background-position: center right;
    background-repeat: no-repeat;
    border: 1px solid #000000;
    border-radius: 2px;
    color: #FFFFFF;
    font-size: 10pt;
    margin: 0;
    overflow: hidden;
    padding-top: 2px;
    padding-bottom: 2px;
    /*text-overflow: ellipsis;*/
    white-space: nowrap;
}

.d3-tip {
    line-height: 1;
    font-weight: bold;
    padding: 12px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    border-radius: 2px;
}

/* Creates a small triangle extender for the tooltip */

/* Style northward tooltips differently */
.d3-tip.n:after {
    box-sizing: border-box;
    display: inline;
    font-size: 10px;
    width: 100%;
    line-height: 1;
    color: rgba(0, 0, 0, 0.8);
    position: absolute;
    text-align: center;
    content: "\25BC";
    margin: -1px 0 0 0;
    top: 100%;
    left: 0;
}

/* Style southward tooltips differently */
.d3-tip.s {
    margin-top: 18px;
}

.d3-tip.s:after {
    box-sizing: border-box;
    display: inline;
    font-size: 10px;
    width: 100%;
    line-height: 1;
    color: rgba(0, 0, 0, 0.8);
    position: absolute;
    text-align: center;
    content: "\25b2";
    margin: -9px 0 0 0;
    top: 0;
    left: 0;
}

/* Style southeastward tooltips differently */
.d3-tip.se {
    margin: 12px 0 0 2px;
}

.d3-tip.se:after {
    box-sizing: border-box;
    display: inline;
    font-size: 10px;
    width: 100%;
    line-height: 1;
    color: rgba(0, 0, 0, 0.8);
    position: absolute;
    text-align: left;
    content: "\25bc";
    margin: -1px 0 0 -4px;
    top: 0;
    left: 0;
}

/* Style northeastward tooltips differently */
.d3-tip.ne {
    margin: 6px 0 0 3px;
}

.d3-tip.ne:after {
    box-sizing: border-box;
    display: inline;
    font-size: 10px;
    width: 100%;
    line-height: 1;
    color: rgba(0, 0, 0, 0.8);
    position: absolute;
    text-align: left;
    content: "\25b2";
    margin: -9px 0 0 -4px;
    top: 100%;
    left: 0;
}

/* Style southwestward tooltips differently */
.d3-tip.sw {
    margin: 12px 0 0 -5px;
}

.d3-tip.sw:after {
    box-sizing: border-box;
    display: inline;
    font-size: 10px;
    width: 100%;
    line-height: 1;
    color: rgba(0, 0, 0, 0.8);
    position: absolute;
    text-align: right;
    content: "\25bc";
    margin: -1px 0 0 4px;
    top: 0;
    left: 0;
}

/* Style northwestward tooltips differently */
.d3-tip.nw {
    margin: 6px 0 0 -4px;
}

.d3-tip.nw:after {
    box-sizing: border-box;
    display: inline;
    font-size: 10px;
    width: 100%;
    line-height: 1;
    color: rgba(0, 0, 0, 0.8);
    position: absolute;
    text-align: right;
    content: "\25b2";
    margin: -9px 0 0 4px;
    top: 100%;
    left: 0;
}

.tip_active {
    fill: #3399BC;
}

.umsteigetext {
    font-size: 12pt;
    font-weight: bold;
}
