body {
    margin: 0;
}

#gameArena {
    width: 100%;
    height: 100%;
    position: absolute;
    overflow: hidden;
}

#loadingBar {
    top: 50%;
    left: 50%;
    width: 200px;
    height: 5px;
    border: 1px solid white;
    z-index: 200;
    position: fixed;
    margin-left: -100px;
    border-radius: 5px;
}

#loadingBarInner {
    width: 0;
    height: 5px;
    border-radius: 2px;
    background-color: white;
}

#hud {
    top: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    background: url('../art/logo.png') no-repeat 50% 0;
}

#helpTopLeft {
    width: 294px;
    height: 113px;
    position: absolute;
    background: url('../art/helpTopLeft.png') no-repeat 0 0;
}
#helpTopRight {
    right: 0;
    width: 220px;
    height: 62px;
    position: absolute;
    background: url('../art/helpTopRight.png') no-repeat right 0;
}

.debug {
    z-index: 1000;
    display: none;
}

#heliStart {
    width: 40px;
    height: 40px;
    position: absolute;
    background-image: url('../art/startFlag.png');
}

#heli {
    top: 0px;
    left: 0px;
    width: 90px;
    height: 40px;
    position: absolute;
    z-index: 100;
    background-position: 0 0;
    background-image: url('../art/Heli.png');
}
#heli.flipped {
    background-position: 90px 0;
}
#heli.blinkA {
    background-position: 0 -40px;
}
#heli.blinkA.flipped {
    background-position: 90px -40px;
}
#heli.blinkB {
    background-position: 0 -80px;
}
#heli.blinkB.flipped {
    background-position: 90px -80px;
}
#heliCollisionBoxFront, #heliCollisionBoxBack {
    top: 0px;
    left: 0px;
    width: 40px;
    height: 30px;
    position: absolute;
    border: 1px solid red;
}
#heliCollisionBoxBack {
    border: 1px solid blue;
}
#heliSkidCollisionBox {
    top: 40px;
    left: 50px;
    width: 40px;
    height: 5px;
    position: absolute;
    border: 1px solid green;
}

#levelBackground {
    width: 100%;
    height: 100%;
    position: absolute;
}

#levelForeground {
    top: 0px;
    left: 0px;
    height: 100%;
    z-index: 100;
    position: absolute;
    background: url('../art/foreground.png') repeat;
}

#level, #levelOverlay {
    top: 0px;
    left: 0px;
    height: 100%;
    position: absolute;
}
#levelOverlay {
    opacity: 0;
}

.tile {
    width: 40px;
    height: 40px;
    position: absolute;
}

.officeBlockA {
    background-image: url('../art/officeBlockA.png');
    background-position: 0 0;
}
.officeBlockA.destroyed {
    background-position: 0 -40px;
}

.human {
    width: 30px;
    height: 30px;
    position: absolute;
}
.human.walk.flipped {
    background-position: 0 -30px;
}
.human.good {
    background-image: url('../art/human-good.png');
}
.human.rebel {
    background-image: url('../art/human-rebel.png');
}
.human.good.dead {
    background-image: url('../art/human-good-dead.png');
}
.human.rebel.dead {
    background-image: url('../art/human-rebel-dead.png');
}
.human.good.walk {
    background-image: url('../art/human-good-walk.png');
}
.human.rebel.walk {
    background-image: url('../art/human-rebel-walk.png');
}

#level .cloud0 {
    width: 100px;
    height: 60px;
    background: url('../art/cloud.png');
    position: absolute;
}
#level .cloud1 {
    width: 100px;
    height: 60px;
    background: url('../art/cloud2.png');
    position: absolute;
}

#level .bullet {
    width: 800px;
    height: 1px;
    position: absolute;
    z-index: 101;
    background-color: yellow;
}
#level .burst {
    width: 7px;
    height: 7px;
    position: absolute;
    z-index: 101;
    background-image: url('../art/particle-fire.png');
}
#level .dust {
    width: 7px;
    height: 7px;
    position: absolute;
    z-index: 101;
    background-image: url('../art/particle-dust.png');
}
#level .blood {
    width: 7px;
    height: 7px;
    position: absolute;
    z-index: 101;
    background-image: url('../art/particle-blood.png');
}

#level .shell {
    width: 7px;
    height: 7px;
    position: absolute;
    z-index: 101;
    background-image: url('../art/particle-shell.png');
}
#level .missile {
    width: 5px;
    height: 3px;
    position: absolute;
    z-index: 101;
    background-image: url('../art/particle-bullet.png');
}
#level .rebelMissile {
    width: 5px;
    height: 3px;
    position: absolute;
    z-index: 101;
    background-image: url('../art/particle-bullet.png');
}
#level .missileSmoke {
    width: 7px;
    height: 7px;
    position: absolute;
    z-index: 101;
    background-image: url('../art/particle-dust.png');
}
#level .bomb {
    width: 6px;
    height: 10px;
    position: absolute;
    z-index: 101;
    background-image: url('../art/particle-bomb.png');
}
#level .explosion {
    width: 20px;
    height: 20px;
    position: absolute;
    z-index: 101;
    background-image: url('../art/particle-explosion.png');
}
#level .glass {
    width: 5px;
    height: 5px;
    position: absolute;
    z-index: 101;
    background-image: url('../art/particle-glass.png');
}

.human .weapon {
    top: 12px;
    left: 5px;
    position: absolute;
}

.human.dead .weapon {
    display: none;
}

#weaponSelection img {
    width: 20px;
    height: 20px;
    background: url('../art/weapon-selection.png') left 0;
}

#weaponSelection .machineGun {
    background-position: 0 0;
}
#weaponSelection .missile {
    background-position: -20px 0;
}
#weaponSelection .bomb {
    background-position: -40px 0;
}

.target {
    width: 9px;
    height: 9px;
    position: absolute;
    z-index: 100;
}

#heliTarget, #groundTrackA, #heliTarget3 {
    background-image: url('../art/heliTarget.png');
}
#heliTarget2 {
    background-image: url('../art/heliTarget2.png');
}
#groundTrackB {
    background-image: url('../art/heliTarget2.png');
}

#weaponSelection {
    top: 40px;
    left: 20px;
    z-index: 100;
    position: absolute;
}
#weaponSelection img {
    display: none;
}

#goodHead {
    top: 10px;
    left: 10px;
    z-index: 100;
    position: absolute;
}

#rebelHead {
    top: 10px;
    right: 10px;
    z-index: 100;
    position: absolute;
}

#goodHead img, #rebelHead img {
    margin: 0 2px;
}



#options {
    left: -300px;
    width: 600px;
    z-index: 101;
    display: none;
    overflow: auto;
    position: absolute;
    margin-left: 50%;
}

#optionsToggle {
    top: 10px;
    left: 62%;
    cursor: pointer;
    z-index: 101;
    display: none;
    position: absolute;
}
