
body{overflow:hidden;font-family: Helvetica, sans-serif;font-family: Times, 'Times New Roman', Georgia, serif;}
#container{width:800px;margin:20px auto 0 auto;position: relative;}
#helpBtn,#skipBtn, #muteBtn, #pauseBtn{display:block;text-align:center;width:45px;height:20px;background:#f5e279; color:#e14f1c; cursor: pointer;position: absolute;top:-18px; right:0px; border:1px solid;line-height:1.2em;text-decoration: none;}
#helpBtn:hover,#skipBtn:hover, #muteBtn:hover, #pauseBtn:hover,#pauseBtn.active{color:#f5e279;background:#3f0606;}
#skipBtn{top:10px;right:10px;z-index: 999;display:none;}
#muteBtn{right:60px;width: 55px;}
#pauseBtn{right:130px;width:80px;display:none;}


#loading{width:800px;height:400px;position:absolute;z-index:9999;top:0px;left:0px;background:#000;border:2px solid #fff;text-align:center;color:#fff;font-size:6em;font-weight:100;padding:200px 0 0 0;}

.ui-dialog input{margin:2px 0 10px 0;width:90%;}
.ui-dialog p{font-size:.75em;margin:2px 0 10px 0;}
.ui-dialog label{color:#1884bb;}

#mediaWrapper{position:absolute;left:1px;top:1px;z-index: 999;width:800px;height:600px;background:#000;border:1px solid #fff;display:none;}
#mediaplayer{position:absolute;left:0px;top:76px;z-index: 999;width:800px;height:448px;}

#gameBoard{width:800px;height:600px;background:#fff;border:1px solid #fff;overflow:hidden;position:relative;}
#slides{z-index: 200;position:absolute;top:1px;left:1px;}
#slides img{position: absolute;display:none;}
#sl1{z-index: 203;}
#sl2{z-index: 202;}
#sl3{z-index: 201;}
#sl4{z-index: 200;}
#sl5{z-index: 199;}
#sl6{z-index: 198;}
#scene{width:800px;height:600px;overflow:hidden;position:relative;}
#s1, #s2, #s3, #s4, #s5, #light, #pit, #topBar{width:800px;height:600px;position:absolute;top:0px;left:0px;}
.g1 #s1{background:url('img/bcqJungleBG.jpg') repeat-x 0px 50px;z-index:10;}
.g1 #s2{background:url('img/bcqTrees.png') repeat-x 0px 50px;z-index:11;}
.g1 #s3{background:url('img/bcqMidPlants2.png') repeat-x 0px 20px;z-index:13;}
.g1 #s4{background:url('img/bcqGrass2.png') repeat-x 0px 417px;z-index:15;}
.g1 #pit{background:url('img/bcqPit.png') no-repeat 800px 456px;z-index:16;}
.g1 #char{background:url('img/bcqM-1.png') no-repeat 0px 0px;z-index:14;width:112px;height:140px;position: absolute;}
.g1.ie8 #char{background:url('img/bcqM-1-ie8.png') no-repeat 0px 0px;}
#charWrapper{width:112px;height:140px;position:absolute;top:330px;left:70px;z-index:14;}
.g1 #light{background:url('img/bcqLight.png') repeat-x 0px 50px;z-index:12;}
.g1 #topBar{background:url('img/bcqStoneTop.png') no-repeat 0px 0px;z-index:15;height:67px;}
#score{position:absolute;top:5px;right:5px;color:#f5e279;font-size:2.5em;text-align:right;}
.g1 #game2Btn{display:none;width:200px;height:59px;background:url('img/bcqGame2Btn.png') no-repeat left top;position:absolute;top:50px;right:15px;z-index: 900;}
#game2Btn:hover{background-position: 0px -59px;}
.g1 #beginBtn{display:none;width:185px;height:99px;background:url('img/bcqBeginBtn.png') no-repeat top left;position: absolute;left:305px;top:100px;z-index: 900;} 
.g1.ie8 #beginBtn{background:url('img/bcqBeginBtn-ie8.png') no-repeat top left;}

#game2Diag{font-size:1em;line-height:1.2em;}
#game2Diag p{margin:10px 0 0 0;}

.g1 #tableBtn,.g1 #closeTable{color:#fff;font-size:10px;text-align:center;width:137px;height:98px;background:url('img/bcqPerTableBtn.png') no-repeat left top;position:absolute;top:0px;left:0px;z-index: 99;display:none;}
.g1 #closeTable{background:url('img/bcqCloseBtn.png') no-repeat left top;width:125px;height:71px;z-index: 501;left:655px;cursor:pointer;}
#table,#tableBG{width:800px;height:600px;position:absolute;top:0px;left:0px;z-index:500;display:none;}
.g1 #tableBG{background:url('img/perTable.jpg') no-repeat left top;}

.t-ele{display:block;height:42px;width:38px;position:absolute;cursor: move;z-index: 520;top:-100px;}
#t-H{left:35px;top:89px;}
#t-Li{left:35px;top:132px;}
#t-Be{left:74px;top:132px;}
#t-Na{left:35px;top:175px;}
#t-Mg{left:74px;top:175px;} 
#t-Ca{left:74px;top:218px;}
#t-Ba{left:74px;top:305px;}
#t-K{left:35px;top:218px;}
#t-Al{left:535px;top:175px;}
#t-N{left:611px;top:132px;}
#t-O{left:650px;top:132px;}
#t-F{left:688px;top:132px;}
#t-P{left:611px;top:175px;}
#t-S{left:650px;top:175px;}
#t-Cl{left:688px;top:175px;}

.g1b #OH{left:688px;top:175px;}


#puzzWrapper{width:350px;height:400px;position:absolute;top:-440px;left:800px;z-index:90;}
#XpuzzWrapper{top:0px;left:225px;}
.g1 #bondBox{line-height:30px;background:url('img/bcqPuzzStone.png') no-repeat left top;width:350px;height:400px;position:relative;}

#bondCompound,#elementLabel1,#elementLabel2{height:20px;width:350px;color:#3f0606;color:#fff;text-shadow:0px 2px 2px #210E09;-moz-user-select: none;-khtml-user-select: none;-webkit-user-select: none;user-select: none;text-align:center;line-height:2.2em;font-size:1.2em;}
#bondCompound{display:none;left:0px;top:0px;position:absolute;}
#elementLabel1{width:165px;left:5px;position:absolute;}
#elementLabel2{width:165px;left:180px;position:absolute;}
.g1 #leftGroup, .g1 #rightGroup{width:180px;height:175px;position:absolute;left:10px;top:30px;background:url('img/bcqPuzzStoneLeft.png') no-repeat left top;}
.g1 #rightGroup{right:0px;left:180px;background:url('img/bcqPuzzStoneRight.png') no-repeat left top;}
.g1 #bondBtn{cursor:pointer;width:86px;height:36px;position:absolute;top:382px;left:132px;background:url('img/bcqBondBtn.png') no-repeat left top;overflow: hidden;text-indent: -999em;display:block;cursor:pointer;}
a#bondBtn:hover{background-position: left bottom;}
.b1,.b2,.b3,.b4,.b5,.b6{width:160px;height:62px;margin:4px;position:absolute;z-index: 10;}
.b2{top:56px;z-index: 9;}
.b3{top:112px;z-index: 8;}
.b4{top:168px;z-index: 7;}
.b5{top:224px;z-index: 6;}
.b6{top:280px;z-index: 5;}

#l1,#l2,#l3{z-index: 1130;}
#r1,#r2,#r3{z-index: 1129;}

.rune{width:170px;height:116px;display:block;position:absolute;top:0px;left:-10px;}

/* +1 */
.sym_Li{background:url('img/rune-Li.png') no-repeat left top;}
.sym_Na{background:url('img/rune-Na.png') no-repeat left top;}
.sym_K{background:url('img/rune-K.png') no-repeat left top;}
.sym_H{background:url('img/rune-H.png') no-repeat left top;}
.sym_NH4{background:url('img/rune-NH4.png') no-repeat left top;}

/* -1 */
.sym_F{background:url('img/rune-F.png') no-repeat left top;}
.sym_Cl{background:url('img/rune-Cl.png') no-repeat left top;}
.sym_OH{background:url('img/rune-OH.png') no-repeat left top;}
.sym_NO3{background:url('img/rune-NO3.png') no-repeat left top;}
.sym_ClO3{background:url('img/rune-ClO3.png') no-repeat left top;}
.sym_HCO3{background:url('img/rune-HCO3.png') no-repeat left top;}
.sym_CH3CO2{background:url('img/rune-CH3CO2.png') no-repeat left top;}
.sym_CN{background:url('img/rune-CN.png') no-repeat left top;}

/* +2 */
.sym_Be{background:url('img/rune-Be.png') no-repeat left top;}
.sym_Mg{background:url('img/rune-Mg.png') no-repeat left top;}
.sym_Ca{background:url('img/rune-Ca.png') no-repeat left top;}
.sym_Ba{background:url('img/rune-Ba.png') no-repeat left top;}

/* -2 */
.sym_O{background:url('img/rune-O.png') no-repeat left top;}
.sym_S{background:url('img/rune-S.png') no-repeat left top;}
.sym_SO4{background:url('img/rune-SO4.png') no-repeat left top;}
.sym_CO3{background:url('img/rune-CO3.png') no-repeat left top;}

/* +3 */
.sym_Al{background:url('img/rune-Al.png') no-repeat left top;height:180px;}

/* -3 */
.sym_N{background:url('img/rune-N.png') no-repeat left top;}
.sym_P{background:url('img/rune-P.png') no-repeat left top;}
.sym_PO4{background:url('img/rune-PO4.png') no-repeat left top;}

.sym_Li, .sym_Na, .sym_H, .sym_K, .sym_NH4{height:62px;background-position: 0px 3px;}
.sym_F, .sym_Cl, .sym_OH, .sym_NO3, .sym_ClO3, .sym_CHO3, .sym_CH3CO2, .sym_CN{height:62px;}
.sym_Ba, .sym_Be, .sym_Mg, .sym_Ca{height:123px;}
.sym_O, .sym_S, .sym_SO4, .sym_CO3{height:123px;}
.sym_N, .sym_P, .sym_PO4{height:180px;}




.g2 #s1{background:url('img/bcqCaveBG_new.jpg') repeat-x 0px 0px;z-index:10;height:262px;top:354px;}
.g2 #s2{background:url('img/bcqCave.png') repeat-x 0px 0px;z-index:11;height:262px;top:344px;}
.g2 #s3{background:none;z-index:13;height:262px;}
.g2 #s4{background:url('img/bcqCaveTop.jpg') repeat-x 0px 0px;z-index:15;height:262px;top:330px;z-index:18;}
.g2 #light{display:none;}
.g2 #charWrapper{top:450px;z-index:16;} 
.g2 #wallWrapper{width:99px;height:250px;position:absolute;top:350px;left:0px;z-index:17;}
.g2 #wall{width:99px;height:250px;position:absolute;background: url('img/bcqWall2.png') no-repeat left top;z-index:17;top:0px;left:0px;}
.g2.ie8 #wall{background:url('img/bcqWall2-ie8.png') no-repeat left top;}
.g2 #wall.idol{text-indent:56px;background:url('img/bcqIdol.png') no-repeat;text-align:center;color:#96001b;padding:210px 0 0 0;width:340px;}
.g2.ie8 #wall.idol{background:url('img/bcqIdol-ie8.png') no-repeat;}
.g2 #wall h2{font-size:16px;display:none;}
.g2 #wall h1{font-size:24px;color:#000;display:none;}
.g2 #pit{display:none;}
.g2 #scene{background:url('img/bcqGame2BG3.jpg') no-repeat left top;} 
.g2 #divider{width:800px;height:13px;position: absolute;top:330px;left:0px;z-index:401;background:url('img/bcqDivider.jpg') no-repeat left top;}

#caveWrapper{display:none;} 
.g2 #beginBtn{top:290px;}
.g2 #caveCover{background:url('img/bcqGame2Cover.jpg') no-repeat left top;position:absolute;display:block;z-index:300;width:800px;height:340px;z-index: 580;}
.g2 #caveFinal{background:url('img/bcqGame2Final.jpg') no-repeat left top;position:absolute;display:block;z-index:300;width:800px;height:340px;z-index: 580;display:none;}
.g2 #restartBtn{width:216px;height:128px;cursor:pointer;position: absolute;top:10px;left:292px;z-index: 581;background: url('img/bcqRestart.png') no-repeat left top;display:none;}
.g2 #caveWrapper{position:absolute;display:block;z-index:300;width:800px;height:340px;}
.g2 #coBox{position:absolute;z-index:403;width:800px;height:85px;left:15px;top:88px;}
.g2 #coBox .coTile, #game3Wrapper .coTile{width:78px;height:80px;position:absolute;top:0px;left:0px;text-align:center;font-size:3em;line-height:1.4em;color:#fff;text-shadow:0px 2px 2px #210E09;-moz-user-select: none;-khtml-user-select: none;-webkit-user-select: none;user-select: none;opacity:0.5;filter:alpha(opacity=50); /* For IE8 and earlier */}
#game3Wrapper .coTile{z-index:20;cursor:move;opacity:1;filter:alpha(opacity=100); /* For IE8 and earlier */}
.g2 #coBox .coTile:first-child{cursor:move;opacity:1;filter:alpha(opacity=100); /* For IE8 and earlier */}
.g2 .tile_a, #game3Wrapper .tile_a{background:url('img/bcqTile_a.png') no-repeat 2px top;}
.g2 .tile_b, #game3Wrapper .tile_b{background:url('img/bcqTile_b.png') no-repeat 2px top;}
.g2 .tile_c, #game3Wrapper .tile_c{background:url('img/bcqTile_c.png') no-repeat 2px top;}
.g2.ie8 .tile_a, .ie8 #game3Wrapper .tile_a{background:url('img/bcqTile_a-ie8.png') no-repeat 2px top;}
.g2.ie8 .tile_b, .ie8 #game3Wrapper .tile_b{background:url('img/bcqTile_b-ie8.png') no-repeat 2px top;}
.g2.ie8 .tile_c, .ie8 #game3Wrapper .tile_c{background:url('img/bcqTile_c-ie8.png') no-repeat 2px top;}

.g2 #eqBox{width:800px;height:100px;z-index:400;position:absolute;top:212px;left:0px;color:#fff;font-size:auto;padding:10px 0 0 0 ;text-align:center;line-height:48px;overflow:hidden;}
.g2 .subScript{font-size:.5em; vertical-align:bottom;line-height:4em;padding:5px;}
.g2 .eqDrop{position:relative;background:url('img/bcqCoe.png') no-repeat center center;margin:3px;width:68px;height:68px;display:inline-block;vertical-align:middle;line-height:3em;}
.g2 .eqDrop .coTile{z-index:410;width:78px;height:78px;margin:0px 0 0 -5px;text-align:center;font-size:48px;line-height:1.4em;color:#fff;text-shadow:0px 2px 2px #210E09;-moz-user-select: none;-khtml-user-select: none;-webkit-user-select: none;user-select: none;font-size:48px;}
.g2 #discardBtn{cursor:pointer;width:94px;height:36px;border:none;background:url('img/bcqDiscard.png') no-repeat 0px 0px;position:absolute;z-index:401;top:50px;left:5px;}
.g2 #discardBtn:hover{background-position:0px -36px;}

.g2 #solveWrapper{width:147px;height:61px;position:absolute;z-index:402;top:165px;left:326px;}
.g2 #solveBtn{cursor:pointer;width:147px;height:61px;border:none;background:url('img/bcqSolve.png') no-repeat 0px 0px;position:absolute;z-index:402;top:0px;left:0px;}
.g2 #solveBtn:hover{background-position:0px -61px;}

.g2 #dangerWrapper{position:absolute;top:158px;right:85px;z-index: 402;width:75px;height:40px;}
.g2 #danger{display:none;background:url('img/bcqDanger.png') no-repeat left top;width:75px;height:40px;}

.g2 #eqMarks{position:absolute;width:400px;height:31px;top:8px;left:10px;z-index:420;}
.g2 .eqMark{float:left;width:31px;height:31px;background:url('img/bcqEqMark.png') no-repeat left top;opacity:0.5;filter:alpha(opacity=50); /* For IE8 and earlier */}

#preload {width:1px;height:1px;overflow:hidden;position: absolute;top:5px;right:5px;z-index:400;background:#fff;}
#dev{width:200px;padding:5px;float:left;min-height:30px;border:1px solid #ccc;background:#000;color:#ccc;font-family: Helvetica, sans-serif;font-size: 10px;overflow:hidden;display:none;}


#game3Wrapper {width:800px;height:600px;background:url('img/game3BG.jpg') no-repeat left top;position: absolute;top:0px;left:0px;z-index: 999;display:none;}
#game3Wrapper .game3drop{width:60px;height:60px;overflow:hidden;text-indent:999em;position:absolute;}
#g3drop1{top:175px;left:63px;z-index:10;}
#g3drop2{top:175px;left:410px;z-index:10;}
#g3drop3{top:431px;left:63px;z-index:10;}



#exContainer{font-family:sans-serif;background-color: #cccccc;height:auto;width:600px;border:1px solid;margin:10px auto;padding:10px;}
#exContainer h1{font-size:20px;margin:0 0 10px 0;}
#exContainer label{margin:0 10px 0 0;}
#exContainer button{height:60px;width:120px;margin:0 0 0 40px;font-size:30px;color:#666;}

