body{
    background-color: #DDDDCC;
    color: #000000;
    -moz-user-select: -moz-none;
    -khtml-user-select: none;
}

h1 {
    font-family: "Arial Black";
    font-size: 24px;
    color: #333333;
    width: 800px;
    margin: 0 auto;
    -moz-user-select: none;
    -khtml-user-select: none;
}

em {
    font-style: normal;
    font-weight: bold;
    color: #f00;
}

#warn {
    display: none;
}

#footer {
    font-size:12px;
    border-top: 1px solid #000000;
    margin: 1em;
    padding-top: 5px;
    clear: both;
}

#loading p {
    padding: 1em;
    background-color: #333333;
    color: #ffffff;
    margin: 180px auto 0;
    width: 500px;
}

/* ROOM BOX */
#game_box {
    overflow: hidden;
    position: relative;
    text-align: center;
    font-family: Verdana, sans-serif;
    font-weight: bold;
    font-size: 12px;
    width: 800px;
    margin: 0 auto 10px;
    border: 1px solid #000000;
    padding:0;
}

#room_box img {
    position: absolute;
}

#right_box,
#left_box,
#lower_box{
    text-align: center;
    position: absolute;
    cursor: pointer;
    z-index: 100;
    /* filter: alpha(opacity=70); */
    opacity: 0.7;
}

#right_box {
    right: 200px;
    top: 40px;
    width: 30px;
    height: 320px;
}

#left_box {
    left: 0px;
    top: 40px;
    width: 30px;
    height: 320px;
}

#lower_box {
    left: 50px;
    bottom: 0px;
    width: 500px;
    height: 30px;
    background-color: #DDDDCC;
}

#right_box_arrow,
#left_box_arrow {
    margin-top: 146px;
}

.arrow {
    vertical-align: middle;
}

/* SCENES */
#loading {
    float: left;
    font-size:large;
    width: 600px;
    height: 400px;
}

.room {
    display: none;
    float: left;
    width: 600px;
    height: 400px;
    background-image: url("img/room.png");
    border-right: 1px solid #000000;
}

.wall{
   display: none;
   float: left;
   width: 600px;
   height: 400px;
   background-color: #DDDDCC;
   border-right: 1px solid #000000;
}

.floor{
    display: none;
    float: left;
    width: 600px;
    height: 400px;
    background-color: #999988;
    border-right: 1px solid #000000;
}

#door,
#door2 {
    position: absolute;
    top: 160px;
    left: 240px;
}

#door2 {
    cursor: pointer;
}

#message {
    width: 550px;
    height: 110px;
    background-image: url("img/rect.png");
    position: absolute;
    top: 230px;
    left: 15px;
    padding: 10px;
    color: #FFFFFF;
    text-align: left;
}

.popup {
    position: absolute;
    font-family: Verdana;
    font-weight: bold;
    color: #990000;
    -moz-user-select: none;
    -khtml-user-select: none;
    z-index:50;
}


/* ITEM */
#item_holder {
    /* width: 199px; */
    height: 390px;
}

#item_tbl {
    position:absolute;
    right:20px;
    top: 10px;
    border-spacing: 15px;
    color:#000000;
}

#item_tbl caption {
    padding-bottom:0;
}

#item_tbl td {
    width: 54px;
    height: 54px;
    padding: 0;
}

#about_item {
    background-color: #333333;
    border: 1px solid #000000;
    color:#ffffff;
    padding: 2px 0 0;
    cursor: pointer;
    position:absolute;
    bottom:5px;
    right:10px;
    width:178px;
    height:20px;
    z-index: 100;
}

#g_logo {
    position: absolute;
    right: 10px;
    bottom: 30px;
}

.g_item {
    cursor: pointer;
    border: 2px solid #DDDDCC;
}

.u_item {
    position: absolute;
    z-index: 20;
    visibility: hidden;
}

/*
.about {
    position: absolute;
    top: 60px;
    left: 110px;
    visibility: hidden;
    cursor: pointer;
    z-index: 500;
    border: 40px solid #333333;
    filter: alpha(opacity=90);
    opacity: 0.9;
}
*/

.about {
    position: absolute;
    top: 110px;
    left: 160px;
    visibility: hidden;
    cursor: pointer;
    z-index: 110;
}

#about_border {
    background-color: #333333;
    position: absolute;
    top: 60px;
    left: 110px;
    width: 400px;
    height: 300px;
    visibility: hidden;
    cursor: pointer;
    z-index: 100;
    /* filter: alpha(opacity=90); */
    opacity: 0.9;
}

/* NUMLOCK */
#input_tbl {
    margin: 50px auto 0;
    border-top: 2px solid #ACACAC;
    border-left: 2px solid #ACACAC;
    border-right: 2px solid #666666;
    border-bottom: 2px solid #666666;
    padding: 0px;
}

.nb_cell {
    padding-bottom: 10px;
}

#answer_ipt {
    background-color: #000000;
    border-top: 2px solid #A8A8A8;
    border-left: 2px solid #A8A8A8;
    border-right: 2px solid #cccccc;
    border-bottom: 2px solid #cccccc;
    color: #009900;
    font-size: 32px;
    font-weight: bold;
    width: 180px;
}

button.sb_btn {
    background-color: #aaaaaa;
    border-top: 2px solid #cccccc;
    border-left: 2px solid #cccccc;
    border-right: 2px solid #666666;
    border-bottom: 2px solid #666666;
    font-size: 26px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    padding:1px 3px;
}

.sb_btn_l {
    background-color: #aaaaaa;
    border-top: 2px solid #cccccc;
    border-left: 2px solid #cccccc;
    border-right: 2px solid #666666;
    border-bottom: 2px solid #666666;
    font-size: 18px;
    cursor: pointer;
    width: 75px;
    padding:1px 3px;
}

/* Combination Lock */
table#cl_tbl {
    margin: 100px auto 0;
}

#cl_tbl button {
    border-top: 2px solid #cccccc;
    border-left: 2px solid #cccccc;
    border-right: 2px solid #666666;
    border-bottom: 2px solid #666666;
    background-color: #aaaaaa;
    cursor: pointer;
}

.cl_num {
    width: 100px;
    height: 140px;
    background-image: url("img/digi_num.png");
}

#cl_answer {
    border-top: 2px solid #cccccc;
    border-left: 2px solid #cccccc;
    border-right: 2px solid #666666;
    border-bottom: 2px solid #666666;
    background-color: #aaaaaa;
    cursor: pointer;
    font-size: 20px;
    margin-top: 20px;
}
