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

h1 {
    position: relative;
    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;
}

#nostyle {
    display: none;
}

noscript, #nocookie, #nostyle {
    color: red;
    font-weight: bold;
}

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

#footer1 {
    margin: -5px auto 0;
    background-image: url('img/black.png');
    background-repeat: no-repeat;
    width:800px;
    height:120px;
}

#footer2 {
    border-top: 1px solid #000000;
    position:absolute;
    background-color:#DDDDCC;
    width:100%;
    height:130px;
}

#f_button {
    position: absolute;
    right:5px;
    bottom: 3px;
    cursor: pointer;
    visibility: hidden;
}

#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;
}

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

#lower_box_arrow{
    margin-top: 9px;
}

.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;
}

.c_wall {
    position:absolute;
    top:40px;
    left:60px;
    width: 480px;
    height: 320px;
    background-color: #DDDDCC;
}

.sl_wall {
    position:absolute;
    top:0px;
    left:0px;
    width: 60px;
    height: 400px;
    background-color: #DDDDCC;
    border-right: 1px solid #000000;
}

.sr_wall {
    position:absolute;
    top:0px;
    right:200px;
    width: 60px;
    height: 400px;
    background-color: #DDDDCC;
    border-left: 1px solid #000000;
}

.floor {
    position:absolute;
    top:0px;
    left:0px;
}

.ceil {
    position:absolute;
    bottom:0px;
    left:0px;
}

#overlay {
    visibility: hidden;
   position:absolute;
   top:0;
   left:0;
   width: 600px;
   height: 400px;
   background-color: #000000;
   border-right: 1px solid #000000;
   z-index: 50;
}

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

#gl_handle {
    cursor: pointer;
}

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

.message_b {
    width: 550px;
    height: 110px;
    position: absolute;
    top: 260px;
    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:150;
}


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

#item_tbl {
    position:absolute;
    right:20px;
    top: 5px;
    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;
}

/*
#about_item:hover {
    background-color: #000000;
}
*/

#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;
}

/* SHOGO */
#sg_tbl {
    position:absolute;
    right:0px;
    bottom: -320px;
    width:199px;
    height:250px;
    background-color:#000000;
    color:#ffffff;
    z-index:500;
    filter: alpha(opacity=80);
    opacity: 0.8;
}

#sg_tbl td {
    color: #009900;
    border:1px solid #FFFFFF;
    width: 160px;
    padding: 0;
}

#sg_tbl_handle {
    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;
}

/*
.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: 100px;
    left: 150px;
    visibility: hidden;
    z-index: 110;
}

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

#about_close {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
}

/* 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: 7px;
}

#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;
    text-align: right;
}

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_g {
    width: 100px;
    height: 140px;
    background-image: url("img/digi_num_o.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;
}

/* ZOOM */
#z_drawer_u {
    background-image:url('img/drawer_bou.png');
}

#z_drawer_l {
    background-image:url('img/drawer_bol.png');
}

#z_bed_under {
    background-image:url('img/z_bed_under.png');
}

#z_desk_dl {
    background-image:url('img/desk_open_dl.png');
}

#z_desk_du {
    background-image:url('img/desk_open_du.png');
}

#z_desk_dd {
    background-image:url('img/desk_open_dd.png');
}

#z_desk_under {
    background-image:url('img/z_desk_under.png');
}

#z_trash {
    background-image:url('img/z_trash.png');
}

#a_memo {
    position:absolute;
    left:0px;
    top:0px;
    width:300px;
    height:200px;
    background-color:#DDDDCC;
    visibility: hidden;
    z-index: 110;
}

#a_memo div{
    margin: 20px auto;
    width:238px;
    height:158px;
    background-color:#FFFFFF;
    color:#FFFFFF;
    border:solid 1px #000000;
    -moz-user-select: text;
    -khtml-user-select: text;
}

#memo_text {
    font-family: Verdana, sans-serif;
    font-weight: bold;
    margin-top:50px;
    font-size: 18px;
    text-align: center;
    color: #FFFFFF;
    border:none;
}

#a_overlay {
    position:absolute;
    left:150px;
    top:100px;
    width: 300px;
    height:200px;
    background-color: #000000;
    opacity: 0;
    visibility: hidden;
    z-index: 111;
}
