button:focus {
    outline: none;  /*remove the blue border*/
}

.lab-tools {
    position: absolute;
}
#container, #container_layer2 {
    background: url(../img/container.png);
    width: 775px;
    height: 200px;
    left: 15px;
    top: 28px;
}
#container_layer2 {
    background: url(../img/container_layer2.png);
}
#tank {
    background: url(../img/tank_lg.png);
    width: 68px;
    height: 200px;
    left: 15px;
    top: 28px;
    background-position: 0px 0px;
}
#detector {
    left: 684px;
    top: 78px;
}
#particleAnim {
    left: 208px;
    top: 91px;
    /*border: 1px dotted;*/
}
#bg {
    width: 800px;
    height: 25px;
    top: 183px;
    position: absolute;
    background: url(../img/bg.png);
    opacity: .4;
}
.graph {
    position: absolute;
    width: 411px;
    height: 124px;
    left: 380px;
    top: 230px;
    border-top: 1px solid #999;
    /*border-right: 1px solid #ccc;*/
}
#Vgraph {
    top: 402px;
    height: 154px;
}
.graph-labels {
    position: absolute;
    left: 330px;
    top: 230px;
    /*display: none;*/
    /*border: 1px solid;*/
}
#Vlabels {
    top: 402px;
}
.xaxis-labels {
    position: absolute;
    text-align: center;
    font: 12px Arial, Helvetica, sans-serif;
    width: 400px;
    left: 380px;
    top: 375px;
}
#xlabelV {
    top: 578px;
}
.yaxis-labels {
    position: absolute;
    font: 12px Arial, Helvetica, sans-serif;
    text-align: center;
    width: 127px;
    height: 35px;
    left: 270px;
    top: 275px;
    transform: rotate(-90deg);
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);
    -o-transform: rotate(-90deg);
    -ms-transform: rotate(-90deg);
    /*text-align: right;
    width: 120px;
    top: 430px;
    left: 235px;*/
}
#ylabelV {
    top: 462px;
    left: 295px;
}

#startButton {
    width: 80px;
    top: 250px;
    left: 20px;
}
#calcButton {
    display: none;
    width: 100px;
    top: 460px;
    left: 527px;
}
#resetButton {
    width: 80px;
    top: 250px;
    left: 110px;
}
#graphTabs {
    position: absolute;
    width: 411px;
    left: 380px;
    top: 204px;
    height: 26px;
    border-bottom: 1px solid #999;
    padding-left: 0px;
}
.tab-button {
    /*position: absolute;*/
    font: 12px Arial, Helvetica, sans-serif;
    background-color: #EEE;
    border: 1px solid #999999;
    border-bottom: none;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    height: 26px;
    line-height: 22px;
    width: 46px;
    margin-left: 0px;
    margin-right: 0px;
    color: #336699;
    cursor: pointer;
    display: none;
    white-space: nowrap;
    text-align: left;
    padding-left: 5px;
}
.tabButton:hover {
    background-color: #CCC;
}
.tab-active, .tab-active:hover {
    background-color: #FFF;
    border-bottom: 1px solid #FFF;
    height: 27px;
    width: 61px;
}
.tab-delete {
    position: absolute;
    display: inline-block;
    left: 48px;
    top: 7px;
    width: 12px;
    height: 12px;
    /*padding: 0 5px 0 0;
    border-radius: 6px;*/
    background: url(../img/ui_delete.png);
    background-size: 12px 24px;
    background-repeat: no-repeat;
    background-position: 0px 0px;
    border: none;
    cursor: pointer;
    /*text-align: right;
    line-height: 12px;
    border: 1px solid #FFF;
    background-color: #FFF;
    color: #333;*/
    display: none;
}
.tab-delete:hover, .tab-delete:active {
    background-position: 0px -12px;
}
/*.tab-delete:active {
    border: 1px solid #CCC;
    background-color: #EEE;
}*/

.lab-button {
    position: absolute;
    display: inline-block;
    color: black;
    background-color: #EEE;
    border: 1px solid #999999;
    border-radius: 10px;
    font: 14px Arial, Helvetica, sans-serif;
    padding: 8px;
    cursor: pointer;
}
.lab-button:hover {
    background-color: #CCC;
}
.lab-button:active {
    background-color: #BBB;
}
.lab-button-disable, .lab-button-disable:hover, .lab-button-disable:active  {
    opacity: .5;
    cursor: default;
    background-color: #EEE;
}

#gasChoices {
    position: absolute;
    top: 390px;
    left: 20px;
    font: 14px Arial, Helvetica, sans-serif;
}
.tank-button {
    background: url(../img/tank_sm.png);
    background-size: 45px 141px;
    background-repeat: no-repeat;
    width: 45px;
    height: 141px;
    font: 14px Arial, Helvetica, sans-serif;
    /*font-weight: bold;*/
    color: #333;
    text-align: center;
    border: none;
    margin-left: 5px;
    margin-top: 5px;
    cursor: pointer;
}
#choiceA {
    margin-left: 40px;
}
#choiceB {
    opacity: .4;
    background: url(../img/tank_sm_green.png);
    background-size: 45px 141px;
}
#choiceC {
    opacity: .4;
    background: url(../img/tank_sm_red.png);
    background-size: 45px 141px;
}
#currentChoice {
    position: absolute;
    font: 16px Arial, Helvetica, sans-serif;
    text-align: center;
    width: 50px;
    top: 135px;
    left: 27px;
    color: #000;
    /*font-weight: bold;*/
}
#massLabel {
    position: absolute;
    top: 565px;
    left: 20px;
    width: 235px;
    text-align: center;
    font: 14px Arial, Helvetica, sans-serif;
    color: #336699;
}
.text-header {
    color: #000;
}
/*#progressIndicator {
    position: absolute;
    color: #999;
    font: 12px Arial, Helvetica, sans-serif;
    width: 320px;
    left: 110px;
    top: 260px;
    display: none;
}
#circles {
    color:#CCC;
    font: 16px serif;
    letter-spacing: 6px;
    overflow: hidden;
    width: 12px;
}*/
#logo {
    top:8px;
    left:645px;
}

#message {
    top: 450px;
    left: 20px;
    width: 200px;
}
#controls {
    display: none;
    position: absolute;
    height: 88px;
    width: 800px;
    bottom: 20px;
    z-index: 2;
}
#helpButton {
    left: 20px;
    top: 50px;
}