.alert-debug {
	background-color: #fff;
	border-color: #d6e9c6;
	color: #000; 
}

.alert-error {
	background-color: #f2dede;
	border-color: #eed3d7;
	color: #b94a48; 
}

[hidden][style="display: block;"] {
	display: block !important; 
}

.ticks {
  font: 10px sans-serif;
}

.track,
.track-inset,
.track-overlay {
  stroke-linecap: round;
}

.track {
  stroke: #000;
  stroke-opacity: 0.3;
  stroke-width: 10px;
}

#btn-container {
    margin:4px;
}
#btn-container label {
    width:90px;
    margin:4px;
    background-color:#EFEFEF;
    border-radius:4px;
    border:1px solid #D0D0D0;
    overflow:auto;
       
}

#btn-container label span {
    text-align:center;
    font-size: 13px;
    padding:5px 0px;
    display:block;
}

#btn-container label input {
    appearance: none;
    display:none;
}

#btn-container input:checked + span {
    background-color:#404040;
    color:#F7F7F7;
}
.track-inset {
  stroke: #ddd;
  stroke-width: 8px;
}

.track-overlay {
  pointer-events: stroke;
  stroke-width: 50px;
  stroke: transparent;
  cursor: crosshair;
}

.handle {
  fill: #fff;
  stroke: #000;
  stroke-opacity: 0.5;
  stroke-width: 1.25px;
}

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.code{
	font-size: 40px;
	font-family:Consolas,Monaco,"Lucida Console","Liberation Mono","DejaVu Sans Mono","Bitstream Vera Sans Mono","Courier New",sans-serif;
}

.btn-container {
  text-align: center;
}

#sections > div{
	opacity: .3
} 

#sections div.graph-scroll-active{
	opacity: 1;
}
#container{
	position: relative;
}

#sections{
	width: 340px;
}

.section{
	padding-top: 50px;
	padding-bottom: 50px;
	opacity: .3;
	height: 720px;
}

.section#conclusion{
	height: auto;
	min-height: 515px;
	/* Leave enough room below the last section that the page can scroll far
	   enough to activate it, however tall the window is. */
	margin-bottom: 200px;
	margin-bottom: max(200px, calc(100vh - 600px));
}

#graph{
	width: calc(100% - 340px);
	height: 60vh;
	padding-left: 40px;
	position: -webkit-sticky;
	position: sticky;
	top: 20vh;
	float: right;
	left:0;
  	right:0;
}

#intro{
	padding-top: 100px;
}

#about{
	padding-top: 3% !important;
}

@media (max-width: 925px)  {
	#graph{
		padding-left: 0px;
		width: 100%;
		/* The graph sits on top of the text on narrow screens, so give it a
		   solid background and let it grow to cover its controls; otherwise
		   the text scrolls through the chart. */
		height: auto;
		margin: 0px auto;
		top: 0;
		padding-top: 5vh;
		background-color: #fff;
		z-index: 1;
		/* Extend the white backing sideways to the window edges. */
		box-shadow: 0 0 0 100vmax #fff;
		clip-path: inset(0 -100vmax 0 -100vmax);
	}

	#graph_svg{
		height: 340px;
	}

	#sections{
		position: relative;
		margin: 0px auto;
		padding-top: 250px;
	}

	.section{
		opacity: 0.1;
		padding-top: 10px;
		padding-bottom: 10px;
	} 
	#header{
		padding-top: 20px;
	}
	.section#conclusion{
		margin-bottom: 50px;
		height: auto;
		min-height: 300px;
	}
}

