/* Base thermometer style, this is the slate */
#thermometer {
margin-left: 125px;
    width:50px;
    height:400px;
    position: relative;
	z-index:1;
    background: #ddd;
    border:1px solid #aaa;
    -webkit-border-radius: 12px;
       -moz-border-radius: 12px;
        -ms-border-radius: 12px;
         -o-border-radius: 12px;
            border-radius: 12px;
 
 
    -webkit-box-shadow: 1px 1px 4px #999, 5px 0 20px #999;
       -moz-box-shadow: 1px 1px 4px #999, 5px 0 20px #999;
        -ms-box-shadow: 1px 1px 4px #999, 5px 0 20px #999;
         -o-box-shadow: 1px 1px 4px #999, 5px 0 20px #999;
            box-shadow: 1px 1px 4px #999, 5px 0 20px #999;		
    
	
}



/* This represents the track of the thermometer, the linear background 
    with a background size set will generate a line every 10% of the track. */
#thermometer .track {
    height:380px;
    top:10px;
    width:45px;
    border: 1px solid #aaa;
    position: relative;
    margin:0 auto;
    background: rgb(255,255,255);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgb(0,0,0)), color-stop(1%,rgb(255,255,255)));
    background: -webkit-linear-gradient(top, rgb(0,0,0) 0%,rgb(255,255,255) 10%);
    background:      -o-linear-gradient(top, rgb(0,0,0) 0%,rgb(255,255,255) 10%);
    background:     -ms-linear-gradient(top, rgb(0,0,0) 0%,rgb(255,255,255) 10%);
    background:    -moz-linear-gradient(top, rgb(0,0,0) 0%,rgb(255,255,255) 10%);
    background:   linear-gradient(to bottom, rgb(0,0,0) 0%,rgb(255,255,255) 10%);
    background-position: 0 -1px;
    background-size: 100% 10%;
}
 
 
/* The progress indicator (the mercury, if you will) */
#thermometer .progress {
    height:0%;
    width:100%;
    background: rgb(176,0,0);
    background: rgba(176,0,0,.9);
    position: absolute;
    bottom:0px;
    left:0;
	z-index:4; 
}
 
 
/* this is the real goal used to calculate */
#thermometer .goal {
    position:absolute;
    top:0px;
}

/* this is the display goal - for posititioning purposes only */
#thermometer .goal2 {
    position:absolute;
    top:36px;
}
 
 
/* just style the amounts a little bit */
#thermometer .amount {
    display: inline-block;
    padding:0 5px 0 60px;
    border-top:1px solid black;
    font-family: Trebuchet MS;
    font-weight: bold;
    color:#333;
}
 
 
/* make sure the progress amount appears on the left side, 
    this way they progress and goal amounts won't overlap should we reach 100% (or greater) */
#thermometer .progress .amount {
    padding:0 60px 0 5px;
    position: absolute;
    border-top:2px solid #CC0000;
    color: #CC0000;
    right:0;
}

#thermometer .circle {
	margin-top: -109px; 
	margin-left: -28px; 
	border-radius: 50%;
	position:absolute;
	z-index: 3; 
	
	width: 100px;
	height: 100px;
	
	background-image: -moz-radial-gradient(45px 45px 30deg, circle cover, #CC0000 30%, black 120%, black 80%);
	background-image: -webkit-radial-gradient(45px 45px, circle cover, #CC0000, white);
	background-image: radial-gradient(45px 45px 30deg, circle cover, #CC0000 50%, black 50%, black 100%);
	
	animation-name: spin; 
	animation-duration: 3s; /* 3 seconds */
	animation-iteration-count: infinite; 
	animation-timing-function: linear;
		
			
	-webkit-box-shadow: 1px 1px 4px #999, 5px 0 20px #999;
       -moz-box-shadow: 1px 1px 4px #999, 5px 0 20px #999;
        -ms-box-shadow: 1px 1px 4px #999, 5px 0 20px #999;
         -o-box-shadow: 1px 1px 4px #999, 5px 0 20px #999;
            box-shadow: 1px 1px 4px #999, 5px 0 20px #999;	
}

#thermometer .circle2 {
	margin-top: 365px; 
	margin-left: -36px; 
	border-radius: 50%;
	position: relative; 
	width: 114px;
	height: 114px; 
	background: #E6E6DA;
    border:2px solid #aaa;
	z-index: 1;
	
	animation-name: spin; 
	animation-duration: 3s; /* 3 seconds */
	animation-iteration-count: infinite; 
	animation-timing-function: linear;
		
    border:1px solid #aaa;
			
	-webkit-box-shadow: 1px 1px 4px #999, 5px 0 20px #999;
       -moz-box-shadow: 1px 1px 4px #999, 5px 0 20px #999;
        -ms-box-shadow: 1px 1px 4px #999, 5px 0 20px #999;
         -o-box-shadow: 1px 1px 4px #999, 5px 0 20px #999;
            box-shadow: 1px 1px 4px #999, 5px 0 20px #999;	
}
