* {	padding: 0; margin: 0; vertical-align: top; }

body {
/* 	background: url(background.png) repeat-x; */
	font: 18px "Assistant", Helvetica, Arial, sans-serif;
	line-height: 1.5;
	overflow:hidden;
}

a {	color: #069; }
a:hover { color: #28b; }

h2 {
	margin-top: 15px;
	font: normal 32px "Assistant", Helvetica, Arial, sans-serif;
}

h3 {
	margin-left: 30px;
	font: normal 26px "Assistant", Helvetica, Arial, sans-serif;
	color: #666;
}

p {
	margin-top: 10px;
}

button {
	font-size: 18px;
	padding: 1px 7px;
}

input {
	font-size: 18px;
}

input[type=checkbox] {
	margin: 7px;
}

#header {
	position: relative;
	width: 750px;
	margin: auto;
}

#header h2 {
	margin-left: 10px;
	vertical-align: middle;
	font-size: 42px;
	font-weight: bold;
	text-decoration: none;
	color: #000;
}

#content {
	width: 90%;
	margin: 0 auto;
	padding: 10px;
}

#footer {
	margin-top: 25px;
	margin-bottom: 10px;
	text-align: center;
	font-size: 12px;
	color: #999;
}

fieldset {
		display: block;
		-webkit-margin-start: 2px;
		-webkit-margin-end: 2px;
		-webkit-padding-before: 0.35em;
		-webkit-padding-start: 0.75em;
		-webkit-padding-end: 0.75em;
		-webkit-padding-after: 0.625em;
		min-width: -webkit-min-content;
		border-width: 2px;
		border-style: groove;
		border-color: threedface;
		border-image: initial;
		padding: 10px;
}

.legend {
		display: block;
		-webkit-padding-start: 2px;
		-webkit-padding-end: 2px;
		border-width: initial;
		border-style: none;
		border-color: initial;
		border-image: initial;
		padding-left: 10px;
        padding-right: 10px;
        padding-top: 10px;
        padding-bottom: 10px;
}

.legendLayer .background {
    fill: rgba(255, 255, 255, 0.85);
    stroke: rgba(0, 0, 0, 0.85);
    stroke-width: 1;
}

input[type="radio"] {
		margin-top: -1px;
		vertical-align: middle;
}

.tickLabel {
	line-height: 1.1;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

.x1Label {
	fill: #224499;
	font-size: 20px;
	font-family: Helvetica, Geneva, sans-serif;
}

.y1Label {
	fill: #224499;
	font-size: 20px;
	font-family: Helvetica, Geneva, sans-serif;
}


.demo-container {
	box-sizing: border-box;
	height: 400px;
	margin: 30px auto 0px auto;

}

.img-placeholder {
	width: 100%;
	height: 100%;
	float: left;
	border: 1px solid red;
	font-size: 14px;
}

.cbar-placeholder {
	width: 100%;
	height: 100%;
/* 	float: right; */
	border: 1px solid black;
	font-size: 14px;
}


#placeholder-img {
	width: 75%;
	float: left;
}

#placeholder-cbar {
	width: 15%;
	max-width: 100px;
	min-width: 90px;
	height: 350px;
	float: right;
}


#plot_image {

	float: right;
	width: 85%;
/* 	border: 1px solid red; */

}

#plot_sliders {
	float: left;
	margin-top: 30px;
	margin-left: 0px;
/* 	border: 1px solid black; */
}

#plot_sliders th {
	padding-left: 5px;
	padding-right: 10px;
}

#plot_sliders th div {
	width: 25px;
}

.param_slider {
	width: 20px;
	height: 300px;
	margin-left: 10px;
}

#slider_df {
	height: 160px;
}

#slider_alpha {
	height: 160px;
	
}


#beta1_label {
	color: #333;
}

#beta2_label {
	color: #e8513a;
}


.slider_label {

	padding-bottom: 15px;

}

#plot_params {
	position: relative;
	left:      75%;
	top:       60%;
	width:     65px;
	height:    75px;
	color:     #224499;
	font-size: 16px;
	background-color: white;
	border: 1px solid #224499;
	border-radius: 5px;
	padding: 3px 10px 3px 10px;

}


.img_crisp {

	image-rendering: optimizeSpeed;             /* STOP SMOOTHING, GIVE ME SPEED  */
	image-rendering: -moz-crisp-edges;          /* Firefox                        */
	image-rendering: -o-crisp-edges;            /* Opera                          */
	image-rendering: -webkit-optimize-contrast; /* Chrome (and eventually Safari) */
	image-rendering: pixelated; /* Chrome */
	image-rendering: optimize-contrast;         /* CSS3 Proposed                  */
	-ms-interpolation-mode: nearest-neighbor;

}
