/* 
    Created on : Jun 30, 2016, 10:28:39 AM
    Author     : samudra
*/
@font-face {
    font-family: 'digital-7regular';
    src: url('../fonts/digital-7-webfont.eot');
    src: url('../fonts/digital-7-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/digital-7-webfont.woff2') format('woff2'),
         url('../fonts/digital-7-webfont.woff') format('woff'),
         url('../fonts/digital-7-webfont.ttf') format('truetype'),
         url('../fonts/digital-7-webfont.svg#digital-7regular') format('svg');
    font-weight: normal;
    font-style: normal;

}
@font-face {
    font-family: 'open_sansitalic';
    src: url('../fonts/opensans-italic-webfont.eot');
    src: url('../fonts/opensans-italic-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/opensans-italic-webfont.woff2') format('woff2'),
         url('../fonts/opensans-italic-webfont.woff') format('woff'),
         url('../fonts/opensans-italic-webfont.ttf') format('truetype'),
         url('../fonts/opensans-italic-webfont.svg#open_sansitalic') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'open_sansbold';
    src: url('../fonts/OpenSans-Bold-webfont.eot');
    src: url('../fonts/OpenSans-Bold-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/OpenSans-Bold-webfont.woff') format('woff'),
         url('../fonts/OpenSans-Bold-webfont.ttf') format('truetype'),
         url('../fonts/OpenSans-Bold-webfont.svg#open_sansbold') format('svg');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'open_sansregular';
    src: url('../fonts/OpenSans-Regular-webfont.eot');
    src: url('../fonts/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/OpenSans-Regular-webfont.woff') format('woff'),
         url('../fonts/OpenSans-Regular-webfont.ttf') format('truetype'),
         url('../fonts/OpenSans-Regular-webfont.svg#open_sansregular') format('svg');
    font-weight: normal;
    font-style: normal;
}
*{ margin: 0; padding: 0; -webkit-tap-highlight-color: rgba(0,0,0,0);}
body{ background: #a8a9ad; font-family: 'open_sansregular'; font-size: 18px; line-height: 20px; }

#container{ display: block; width: 980px; height: 680px; margin: 0 auto; background: #fff; border-radius: 5px; position: relative; }

/* content body css */
#contentbody { padding: 1.5%; position: absolute; width: 97%; margin-top: 2em }

/* popup css */

#mask{ position: absolute; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); border-radius: 5px; }
#popup {
    display: none;
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 5px;
    z-index: 9999;
}
.popup_table{
    display: table;
    height: 100%;
    width: 100%;
}
.popup_cell{
    display: table-cell;
    vertical-align: middle;
    text-align: center;
}
/*#popup-content   */
.popup_content{
    color: white;
    width: 50%;
    padding: 10px;
    background: #8f6daa none repeat scroll 0 0;
    border: 3px solid #ffe00f;
    border-radius: 5px;
    position: relative;
    margin: auto;
}

#popup-hedader {
    height: 35px;
    position: relative;
}
#popup-close {
    border: 2px solid #fff;
    border-radius: 100%;
    display: table-cell;
    font-family: open_sansbold;
    font-size: 14px;
    height: 20px;
    position: absolute;
    right: 0;
    text-align: center;
    text-shadow: 0 2px #000;
    top: 0;
    vertical-align: middle;
    width: 20px;
    cursor: pointer;
    line-height: 18px;
}
#popup-info{
    width: 34px; 
    height: 34px;
    background: rgba(0, 0, 0, 0) url("../images/btInfoOn@2x.png") no-repeat scroll 0 0 / cover ;
}
#popup-body{ 
    padding: 10px 25px 30px;
    line-height: 22px;
    text-align: left
}

/* footer css */
#footer { border-top: 2px solid #a8a9ad; bottom: 0; display: table-cell; height: 55px; position: absolute; vertical-align: middle; width: 100%; }
#instruction{
    display: block;
    height: 45px;
    left: 15px;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    top: 5px;
    width: 830px;
    opacity: 0;
    font-size: 16px;
	font-family: open_sansbold;
}
.single{ top: 16px; }
.double{ top: 8px; }
.fBtn{ position: absolute; top: 10px; width: 34px; height: 34px; }
#info{ background: rgba(0, 0, 0, 0) url("../images/btInfoOn@2x.png") no-repeat scroll 0 0 / cover ; right: 80px; cursor: pointer; }
#info.disable{ background: rgba(0, 0, 0, 0) url("../images/btInfoOff@2x.png") no-repeat scroll 0 0 / cover ; cursor: auto; }
#reset{ background: rgba(0, 0, 0, 0) url("../images/btResetOn@2x.png") repeat scroll 0 0 / cover ; right: 25px; cursor: pointer; }
#reset.disable{ background: rgba(0, 0, 0, 0) url("../images/btResetOff@2x.png") repeat scroll 0 0 / cover ; cursor: auto; }

.container_table{
    display: table;
    width: 100%;
    box-sizing: border-box;
}
.container_row{
    display: table-row;
}
.container_cell{
    display: table-cell;
    vertical-align: top;
    position: relative;
}

#grid_container{
    box-sizing: border-box;
    position: relative;
    padding: 15px;
    height: 510px;
    width: 510px;
    background-color:#fafafa;
}
#grid_container +img{
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 999;
    top:0
}
#dig_container{
    display: inline-block;
    vertical-align: top;
    width: 165px;
    height: 510px;
    margin-right: 10px;
    position: relative;
}
#digbot_container{
    display: inline-block;
    position: relative;
    vertical-align: top;
    width: 40px;
    height: 510px;
    margin-right: 28px;
    background-color: #A3A1A2;
    -webkit-box-shadow: 1px 0 1px 1px rgba(0, 0, 0, 0.5);
    -moz-box-shadow: 1px 0 1px 1px rgba(0, 0, 0, 0.5);
    box-shadow: 1px 0 1px 1px rgba(0, 0, 0, 0.5);
}
#grid_table {
    border-collapse: collapse;
    position: relative;
    box-sizing: border-box;
    display: table;
    margin: 33px auto 0;
}
.grid_row{
    display:table-row;
}
.grid_col{
    display:table-cell;
    width: 45px;
    height: 45px;
    /*box-sizing: border-box;*/
    border:1px solid rgba(191, 191, 191, 0.3);
}
.grid_bg{
    left:0;
    right:0;
    margin: auto;
    width: 93.4%;
    padding-top: 2px;
    max-width: 100%;
    position: absolute;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}
/*.grid_bg {
    right: 0;
    top: -31px;
    left: -33px;
    width: 116%;
    margin: auto;
    position: absolute;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
}*/
.dot{
    width: 16px;
    height: 16px;
    border-radius: 8px;
    background-color: #FF0000;
    position: absolute;
}
.dot.unresolve{
    background-color: #FF8080;
    width: 10px;
    height: 10px;
}
#digbot_container > div{
    position: absolute;
    right: 0;
    width: 12px;
    height: 100%;
    background-color: #999798;
}
#digbot{
    height: 75px;
    left: 190px;
    position: absolute;
    top: 267px;
    width: 60px;
    z-index: 9;
}
.dig_input_block {
    background-color: #fff;
    border-radius: 8px;
    -webkit-box-shadow: 1px 1px 3px 1px #666;
    -moz-box-shadow: 1px 1px 3px 1px #666;
    box-shadow: 1px 1px 3px 1px #666;
    padding-top: 1px;
    text-align: center;
}
.dig_input_block > span {
    display: inline-block;
    height: 35px;
    vertical-align: top;
}
input#dig_button {
    background-color: #1F8970;
    border: medium none;
    border-radius: 8px;
    color: #ffffff;
    font-size: 17px;
    font-weight: bold;
    vertical-align: bottom;
    margin: 0.8em 0;
    padding: 8px 0;
    line-height: 1;
    width: 70%;
    cursor: pointer;
}
input#dig_input {
    background-color: #CFE8D0;
    border: medium none;
    border-radius: 5px;
    display: inline-block;
    font-size: 18px;
    letter-spacing: 1px;
    padding: 8px 10px;
    text-align: center;
    line-height: 1;
    width: 70px;
}
/*span.left_parentheses {
    width: 20px;
    background-size: cover;
    background: url("../images/dig_input_bg.png") no-repeat -3px -2px transparent;
}*/
span.left_parentheses {
    background: transparent url("../images/dig_input_bg.png") no-repeat scroll -2px -3px;
    display: inline-block;
    height: 34px;
    vertical-align: top;
    width: 20px;
}
span.right_parentheses {
    width: 20px;
    height: 34px;
    display: inline-block;
    vertical-align: top;
    background-size: cover;
    background: url("../images/dig_input_bg.png") no-repeat scroll -37px -2px transparent;
}
.dig_title {
    color: #333333;
    font-size: 16px;
    font-weight: bold;
    margin: 5px 0 8px;
}
.vertical_bone {
    position: absolute;
    -webkit-transform: rotate(-90deg);
    -moz-transform: rotate(-90deg);;
    transform: rotate(-90deg);
}
.horizontal_bone{
    position: absolute;
}
#hint_block {
    bottom: 4.5em;
    position: absolute;
    text-align: center;
}
#hint_block img {
    width: 100%;
}
#hint_block .table_row {
    display: table-row;
}
#hint_block .table_cell {
    display: table-cell;
    padding: 0 4px;
    width: 20px;
}
.hint_button {
    bottom: 1.6em;
    width: 100%;
    position: absolute;
    text-align: center;
}
#hint_btn {
    background-color: #F27421;
    border: medium none;
    border-radius: 8px;
    color: #ffffff;
    font-size: 17px;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    padding: 7px 25px;
}
#hint_btn.hint_button_active{
    background-color: #8a8a89;
}
#hint_alert_block {
    display: none;
    height: 100%;
    position: absolute;
    text-align: center;
    vertical-align: middle;
    background-color: rgba(0,0,0,0);
    width: 100%;
    z-index: 99;
}
.hint_alert_cell {
    display: table-cell;
    line-height: 1;
    margin: auto;
    text-align: center;
    padding-left: 5em;
    padding-bottom: 3em;
    vertical-align: middle;
}
.hint_alert {
    background-color: #E8EAE3;
    line-height: 1;
    margin: auto;
    padding: 1.5em 0;
    position: relative;
    vertical-align: middle;
    width: 300px;
    border-radius: 10px 10px 15px 15px;
    -webkit-box-shadow: 1px 1px 2px 0 #333;
    -moz-box-shadow: 1px 1px 2px 0 #333;
    box-shadow: 1px 1px 2px 0 #333;
}
.hint_alert.x_ray{
    padding: 1em 0 0.5em;
    line-height:normal;
    width: 330px;
    display: none;
}
.hint_alert.x_ray b {
    display: block;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}
.hint_alert > div {
    font-size: 13px;
    margin: 0 0 0 auto;
    width: 95%;
}
img.digbot_alert {
    left: -64px;
    position: absolute;
    top: -30px;
    width: 90px;
}
a#hint_alert_close {
    background-color: #333;
    border: 3px solid #fff;
    border-radius: 15px;
    color: #fff;
    display: block;
    font-size: 17px;
    font-weight: bold;
    height: 21px;
    line-height: 1;
    text-decoration: none;
    position: absolute;
    top: -13px;
    right: -13px;
    width: 21px;
}
span#hint_alert_xy {
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 4px;
    margin-left: 5px;
}
#bg_correct, #bg_wrong{
    position: absolute;
    display: none;
    width: 100px;
}
#x_ray_scan_button{
    background-color: #9ACA3F;
    border: medium none;
    border-radius: 8px;
    color: #ffffff;
    cursor: pointer;
    font-size: 17px;
    font-weight: bold;
    padding: 5px 25px 6px;
    display: block;
    margin: 10px auto 5px;
}
.fade_in,
.fade_in_out{
    opacity: 0;
}
.info_container{
    width: 185px;
    height: 320px;
    position: relative;
    border-radius: 14px;
    vertical-align: top;
    margin: auto 0 auto auto;
    background-color: #1F8970;
}
#digbot_info {
    background-color: #CFE8D0;
    border-radius: 14px;
    height: 90.7%;
    width: 77.5%;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
    font-size: 12px;
    line-height: 1.5;
    padding: 0 6px;
    text-align: center;
    position: absolute;
}
img.robot {
    width: 78%;
    display: block;
    margin: 8px auto auto;
}
#digbot_info b {
    display: block;
    font-size: 15px;
    margin-top: 5px;
    font-weight: bold;
}
img#play_again {
    width: 36px;
    display: block;
    cursor: pointer;
    margin: 10px auto auto;
}
img.dynasore {
    position: absolute;
    width: 9em;
    right: 0;
    top: 0;
}
#bones {
    left: 2.3em;
    bottom: 3.3em;
    position: absolute;
}
#bones > span {
    width: 35px;
    height: 70px;
    margin-right: 5px;
    position: relative;
    display: inline-block;
    border: 2px solid rgba(0,0,0,0);
    -moz-border-radius: 19px / 35px;
    -webkit-border-radius: 19px / 35px;
    border-radius: 19px / 35px;
    background-color: #cfe8d0;
}
#bones > span > img {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 84%;
    margin: auto;
    position: absolute;
}
strong{
    font-weight: bold;
}