/* Disable touch events on Canvas */
.upper-canvas {
    -webkit-touch-callout: none; /* prevent callout to copy image, etc when tap to hold */
    -webkit-text-size-adjust: none; /* prevent webkit from resizing text to fit */
    /* make transparent link selection, adjust last value opacity 0 to 1.0 */
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-user-select: none; /* prevent copy paste, to allow, change 'none' to 'text' */
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    touch-action: none;
}
h1 {
    font-size: 24px;
    margin: 0;
    padding-top: 30px;
}
h2 {
    font-size: 18px;
    margin: 0;
    padding: 0;
}
#content {
    position: absolute;
    width: 900px;
}
.hidden {
    display: none;
}
.transparent {
   opacity: .5;
}
.flash {
   background: #FF9900;
}
#ui-blocker {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 450px;
    z-index: -100;
	background-color: rgba(255,255,255,0.01); /* this must be kept in for z-index to work in IE */
}
#ui-blocker2 {
    position: absolute;
    top: 450px;
    left: 150px;
    width: 600px;
    height: 150px;
    z-index: -100;
	background-color: rgba(255,255,255,0.01); /* this must be kept in for z-index to work in IE */
}
#introscreen {
    /*position: absolute;*/
    font: 18px Arial, Helvetica, sans-serif;
    color: black;
    margin: 40px 100px 100px 100px;
    padding: 100px 0 0 0;
    background-image: url('../img/SaplingLearning_logo_intro.png');
    /*Image set for higher density displays*/
    background-image: -webkit-image-set( url(../img/SaplingLearning_logo_intro.png) 1x, 
                                        url(../img/SaplingLearning_logo_intro_2x.png) 2x);
    background-repeat: no-repeat;
    background-size: 202px 65px;
    background-position: center top;
    /*border: 1px dotted gray;*/
    /*display: none;*/
}
#introButton {
    width: 110px;
    margin: 0 auto;
    margin-top: 50px;
}
.logo {
    position: absolute;
    top: 10px;
    left: 10px;
    background: url(../img/SaplingLearning_logo_small.png) no-repeat;
    width: 150px;
    height: 48px;
}
#help-button {
    position: absolute;
    left: 20px;
    top: 530px;
}
#reset {
    position: absolute;
    right: 16px;
    top: 530px;
}
#resume {
	position: absolute;
    top: 380px;
    right: 70px;
    width: 64px;
	height: 44px;
	z-index: 100;
}
#pause {
	position: absolute;
    top: 380px;
    right: 70px;
    width: 64px;
	height: 44px;
	z-index: 100;
}
#message {
    position: absolute;
    top: 330px;
    left: 20px;
    width: 155px;
    visibility: visible;
}
.main_panel{
    position: relative;
    width: 100%;
    padding-top: 30px;
}
#textBox {
    width: 130px;
    height: 28px;
    margin: 0px;
    padding: 0px;
    text-align: center;
    font: 20px Times, serif;
    color: #000;
    border:none;
    background:none;
    -webkit-text-size-adjust:none;
    z-index:999;
}
#canvas-wrapper-main {
    position: relative;
    width: 800px;
    margin: 0px auto;
    top: -30px;
    z-index: 5;
}
#canvas{
    border: 0px solid red;
    top: 0px;
}
#canvas2{
    position: absolute;
    display: block;
    left: 247px;
    top: 68px;
    z-index: 0;
}
#canvas3{
    position: absolute;
    top: 42px;
    z-index: -1;
}
#cool {
    position: absolute;
    display: block;
    width: 40px;
    left: 244px;
    top: 415px;
    z-index: 100;
    font-size: 16px;
    font-weight: bold;
    color: white;
}
#heat {
    position: absolute;
    display: block;
    width: 40px;
    left: 616px;
    top: 415px;
    z-index: 100;
    font-size: 16px;
    font-weight: bold;
    color: white;
}
#slider {
    position: absolute;
    display: block;
    width: 300px;
    left: 295px;
    top: 404px;
    z-index: 90;
}
.panel{
    position: relative;
    width: 100%;
    height: 130px;
    top: -10px;
}
#controls {
    position: relative;
    display: block;
    width: 100%;
}
.buttons {
    position: relative;
    height: 120px;
    padding-left: 50px;
    float: left;
    text-align: center;
}
.spacer {
    position: relative;
    height: 120px;
    width: 110px;
    float: left;
}
.control-button {
    opacity: 1;
}
.control-button:hover {
    opacity: 0.75;
}
#field {
    display: none;
}
.ui-btn-up-b {
    background: linear-gradient(#0093ae, #00788f) repeat scroll 0 0 #047584;
}
.ui-checkbox-on .ui-icon, .ui-radio-on .ui-icon {
    background-color: #00869F;
}
.ui-btn-inner {
    text-overflow: clip;
    border-top: none;
}
.ui-focus, .ui-btn:focus {
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
}
/*#slider-horz {background:linear-gradient(to right, blue, white, red);}*/
#slider-horz {background:url(images/rwb.png);}
#slider-horz:focus{-moz-box-shadow:inset 0 0 3px #387bbe,0 0 9px #387bbe;-webkit-box-shadow:inset 0 0 3px #387bbe,0 0 9px #387bbe;box-shadow:inset 0 0 3px #387bbe,0 0 9px #387bbe}
