  
/*--- Fundraising Thermometer ---*/

div.thermometer {
	float: left;
	margin: 0 140px;
	width: 60px;
	height: 300px;
	position: relative;
	background: #f1f1ef;
	border-radius: 12px;
}

div.thermometer:after {
	content: "";
	display: table;
	clear: both;
}

div.thermometer div.track {
	height: 280px;
	top: 10px;
	width: 20px;
	border: 1px solid #ccc;
	position: relative;
	margin: 0 auto;
	background: #fff;
}

div.thermometer div.track div.progress,
div.thermometer div.track div.pledged,
div.thermometer div.track div.intermediary {
	height: 0%;
	width: 100%;
	position: absolute;
	bottom: 0;
	left: 0;
	transition: all 1s;
}

div.thermometer div.track div.intermediary {
	border: 1px dashed #bcbcbc;
	z-index: 4;
}

div.thermometer div.track div.progress {
	background-color: #006847;
	z-index: 3;
	font-size:1.1rem;
}

div.thermometer div.track div.pledged {
	background-color: #6dc24b;
	z-index: 2;
}

div.thermometer div.track div.goal {
	position: absolute;
	top: 0;
	right: 0;
}

div.thermometer div.track div.amount {
	display: inline-block;
	padding: 0 60px 0 5px;
	border-top: 1px solid black;
	font-family: "Trebuchet MS", Helvetica, sans-serif;
	font-weight: bold;
	color: #939393;
}

div.thermometer div.track div.progress div.amount,
div.thermometer div.track div.pledged div.amount {
	position: absolute;
	border-top: 1px solid #063;
	right: 0;
}

div.thermometer div.track div.intermediary div.amount {
	color: #bcbcbc;
	position: relative;
	float: right;
	margin-right: 0.25em;
}

div.thermometer div.track div.progress div.amount {
	color: #006847;
}

div.thermometer div.track div.pledged div.amount {
	color: #6dc24b;
}

div.thermometer.horizontal {
	margin: 30px 5px;
	width: 90%;
	height: 100px;
	min-width: 350px;
}

div.thermometer.horizontal div.track {
	width: 90%;
	left: 0;
	height: 30px;
	margin: -15px auto;
	background: #fff;
	top: 50%;
}

div.thermometer.horizontal div.track,
div.thermometer.horizontal div.track div.intermediary,
div.thermometer.horizontal div.track div.progress,
div.thermometer.horizontal div.track div.pledged {
	border-radius: 7px;
}

div.thermometer.horizontal div.track div.intermediary,
div.thermometer.horizontal div.track div.progress,
div.thermometer.horizontal div.track div.pledged {
	height: 100%;
	width: 0%;
	overflow:visible;
}

div.thermometer.horizontal div.track div.goal {
	right: 3em;
	height: 100%;
}

div.thermometer.horizontal div.track div.amount {
	bottom: 0;
	position: absolute;
	padding: 0 0 35px 0;
	border-top: 0;
}

div.thermometer.horizontal div.track div.intermediary div.amount,
div.thermometer.horizontal div.track div.progress div.amount,
div.thermometer.horizontal div.track div.pledged div.amount {
	border-left: 0;
	border-top: 0;
	text-align: right;
}

div.thermometer ul.legend {
	list-style-type: square;
	bottom: 0;
	position: absolute;
	width: 300px;
	display: table;
	left: 50%;
	margin-left: -150px;
	margin-bottom: 10px;
}

div.thermometer ul.legend li.progress,
div.thermometer ul.legend li.pledged,
div.thermometer ul.legend li.remaining {
	margin: 0 auto;
	display: table-cell;
}

div.thermometer ul.legend li span {
	color: black;
	font-size: 11px;
	text-transform: capitalize;
	font-family: "Arial", Helvetica, sans-serif;
	font-weight: bold;
}

div.thermometer ul.legend li span::before {
	content: "";
	color: #fff;
	display: inline-block;
	width: 12px;
	height: 12px;
	top: 2px;
	position: relative;
	right: 5px;
	border-radius: 3px;
}

div.thermometer ul.legend li.progress span::before {
	background-color: #397c39;
}

div.thermometer ul.legend li.pledged span::before {
	background-color: #6dc24b;
}

div.thermometer ul.legend li.remaining span::before {
	background-color: #fff;
	border: 1px solid #ccc;
	top: 3px;
}

