/* *** CSS for small screens: phones *** */
body {
    background: #ddd;
    width: 360px;
    height: 750px;
    position: relative;
    margin: 0 auto;
}
body * { font-family: Lato,"Trebuchet MS",sans-serif; }

*:focus { outline: 2px solid rgba(238,137,0, .7); }

button:disabled img { opacity: .4; }

#vertwrap {

}
#wrapper {
    width: 360px;
    height: 657px;
    /*! margin: auto; */
    background: #fff;
    /*! box-shadow: #333 0 0 35px; */
    /*! position: absolute; */
    /*! overflow: hidden; */
    border-bottom: 4px solid #000;
    /*! left: 0; */
    /*! top: -8px; */
}
#header {
    width: 100%;
    height: 60px;
    margin: 0 0 10px 0; padding: 0;
    background: #000;
    border-bottom: 2px solid #000;
    position: relative;
}
#header ul {
    list-style: none;
    font-family: Lato,"Trebuchet MS",sans-serif;
    font-size: 12px;
    position: absolute; top:23px;
}
#header ul li {
    float: left;
    width: 119px; height: 21px;
    margin: 3px 0 0 1px; padding: 3px 0 0 0;
    background: #aaa;
    box-shadow: 0 -2px 4px rgba(150,150,150, .75);
    text-align: center;
}
#header ul li button {
    cursor: pointer;
    color: #555;
    font-size: 12px;
    text-decoration: none;
    display: block;
    width: 119px; height: 18px;
    margin: 0;
    border: none; background: none;
}
#header ul li button img {
    opacity: 0.6;
    width: 16px; height: 16px;
}
#header ul li.thisTab {
    background: #fff;
    background: linear-gradient(to top, #fff 5%, #ccc 100%);
    color: #000;
    font-size: 12px;
    box-shadow: 0 0 3px rgba(255,255,255, .5);
}
#header ul li#tab_colophon, #header ul li#tab_colophon button {
    width:34px;
}

div#intro {
    z-index: 90;
}
div#simulation {
    z-index: 80;
}
div#colophon {
    z-index: 70;
}
div.innerTab {
    margin: 0; padding: 5px;
    height: 575px; width: 350px;
    position: absolute;
    background: linear-gradient(to bottom, #fff 50%, #b8c9d7 100%);
}
h2.blackbarheading {
    color: #fff;
    font-size: 16px;
    position: absolute; top: -77px; /*left: 15px;*/
    background: #000;
    display: none;
    width: 355px; text-align: center;
}

button {
    cursor: pointer;
}
label a.questBtn, label a.exclBtn {
    cursor: pointer;
	margin: 0; padding:0;
    position: relative; top: 1px; right: -11px;
    display: none;
}
label a.questBtn img, label a.exclBtn img {
    position: absolute;
}

label a.questBtn:active {
	opacity:.5;
}

button#btn_chkAns {
    margin: 0 10px;
    width: 95px; height: 75px;
    font-weight: bold;
    font-size: 16px;
    line-height: 1em;
    position: absolute; bottom: 0; right: 0;
}

div#alert_text {
    z-index: 100;
    position: absolute; top: 0px; right: 0;
    margin: 0; padding: 0;
    background: rgba(255,255,255, .5);
    width: 360px;
    height: 220px;
    display: none;
}
div#alertTxt_box {
    border-radius: 15px;
    padding: 5px;
    margin: auto;
    text-align: center;
    background: #fff;
    box-shadow: 0 0 40px 5px rgba(0,0,0,.45);
    font-size: 14px;
    width: 340px; height: 200px;
    position: absolute;
    top: 5px; left: 5px;
}
div#alertTxt_inner {
    position: absolute; top: 50%;
    transform: translateY(-50%);
    width: 340px;
}
button#alertDoneBtn {
    display: none;
    font-size: 16px;
    height: auto; width: 100px;
    margin: 14px 0 0 0; padding: 5px;
    box-shadow: inset 0 1px 0 0 #fff;
    border-radius: 12px;
    border: 1px solid #dcdcdc;
    cursor: pointer;
    color: #666;
}

div#summary {
    z-index: 110;
    position: absolute; top: 0; left: 0;
    margin: 0; padding: 0;
    background: rgba(255,255,255, .5);
    width: 360px;
    height: 600px;
    display: none;
}
div#summary_box {
    padding: 5px 0;
    margin: auto;
    text-align: center;
    background: #fff;
    box-shadow: 0 0 40px 5px rgba(0,0,0,.45);
    font-size: 12px;
    width: 100%; height: 546px;
    position: absolute;
    top: 0; left: 0;
    overflow: hidden;
}
div#summary_inner {
    position: absolute;
    width: 360px; height: 500px;
}
div#summary_scroll {
    height: 215px;
    background: #eed;
    overflow-x: scroll;
}
div#scroll_inner {
    width: 1205px;
}
button#summaryCloseBtn, button.btn-summary {
    font-size: 14px;
    height: auto; width: 120px;
    margin: 0 5px; padding: 5px;
    box-shadow: inset 0 1px 0 0 #fff;
    border-radius: 12px;
    border: 1px solid #dcdcdc;
    cursor: pointer;
    color: #666;
}
button#summaryCloseBtn{
    position: absolute; bottom: 10px; left: 50%;
    transform: translateX(-50%);
}

div#summary_inner ol {
    text-align: center;
    list-style-type: none;
    margin: 0; padding: 0;
    position: relative;
    font-size: 12px;
}
div#summary_inner ol li p { margin: 0; }
li.summary_hi {
    position: absolute; top: 5px;
}
li.summary_tp {
    position: absolute; top: 32px;
}
li#s_tp0 { left: 11px; text-align: left;}
li#s_hi0 { left: 75px;}
li#s_tp1 { left: 165px;}
li#s_hi1 { left: 275px;}
li#s_tp2 { left: 360px;}
li#s_hi2 { left: 465px;}
li#s_tp3 { left: 555px;}
li#s_hi3 { left: 660px;}
li#s_tp4 { left: 750px;}
li#s_hi4 { left: 855px;}
li#s_tp5 { left: 945px;}
li#s_hi5 { left: 1050px;}
li#s_tp6 { right: 11px; text-align: right;}

div#summary_inner div.pgChk {

}
p.lgTxt { font-size: 18px; }
p.lgTxt span { display: none;}
p#verDate {
    position: absolute;
    left:5px; bottom: 5px;
    margin: 0; padding: 0;
    font-size: 14px;
}
p#verNum {
    position: absolute;
    right:5px; bottom: 5px;
    margin: 0; padding: 0;
    font-size: 14px;
}

div#footer {
    width: 360px;
    height: 50px;
    margin: 25px auto 15px auto;
    padding: 0;
    position: absolute; bottom: 5px;
    text-align: center;
    font-size: 0.6em;
    display: inline-block;
    float: left;
    clear: both;
}
div#footer p {
    width: 100%;
    margin: 0; padding: 0;
}

div.creditbar {
    border-bottom: 1px dotted #333;
    margin: 0 5px 10px 5px;
    padding: 5px 2px 8px 2px;
    clear: both;
    min-height: 70px;
}
div.creditbar:last-child {
    border: none;
}
div.creditbar img {
    float: left;
    width: 60px; height: 60px;
    margin: 0 10px 0 0;
}
div.creditbar p {
    display: table-cell;
    margin: 0;
    padding: 0;
    line-height: 1.3em;
    font-size: 12px;
}
div.creditbar:last-child p {
    height: 65px;
    margin: 0; padding: 0 5px;
    font-size: 10px;
}
div#intro_txt {
    margin: 0 5px 5px 5px;
    padding: 0;
    line-height: 1.2em;
    font-size: 14px;
}
div#intro_txt h3 { margin: 1em 0 0 0; }
div#intro_txt p, div#intro_txt h2 { margin: 0.3em 0; }
div#intro_txt ul {
    margin: 0 0 0.7em -1.25em;
}
div#intro_txt li, div#intro_txt p.ulPara {
    margin-bottom: 0.3em;
}
div#intro img {
    float: right;
    margin: 0 0 5px 10px;
    box-shadow: rgba(0,0,0, .5) 1px 3px 7px;
    height: 100px;
}

table { 
    background: #fff;
    position: absolute;
    top: 307px; left: 0;
    table-layout: fixed;
    width: 360px; height: 190px;
}
thead {
    display: block;
    position: absolute;
    top: 20px;
    z-index: 90;
}
tbody {
    display: block;
    height: 140px;
    overflow-y: scroll;
    position: absolute;
    top: 48px;
}
tr#toprow th { background: #49e; }
tr.oddrow { background: #ace; }
tr.evenrow { background: #cde; }
tr#toprow { background: #fff; }
th#th-desc { width: 57px; }
th, td {
    height: 20px;
    margin: 0; padding: 3px;
    font-size: 11px;
    width: 50px;
    transition: .5s ease-in-out;
}
table caption {
    font-size: 16px;
    font-weight: bold;
    margin: 0; padding: 0;
    position: absolute;
    width: 100%;
    text-align: center;
}
td.td-input { padding: 0; width: 5em;}
td.td-input input { 
    width: 45px; height: 18px;
    display: none;
    font-size: 0.9em;
}
td.emptycell span, td#td-bm-elev span {
    display: block;
    margin: 0; padding: 0;
}

#page-check {
    width: 230px; height: 70px;
    text-align: center;
    background: #ace;
    margin: 0; padding: 0;
    line-height: .9em;
    position: absolute;
    bottom: 10px; left: 15px;
    font-size: 12px;
}
#page-check h3, #page-check p {
    margin: 12px 5px 10px 5px; padding: 0;
}
#page-check input {width: 60px; }
#btn-wrap {
    width: 360px;
    position: absolute;
    top: 223px;
    left: 0;
    text-align: center;
}
button.btn-sim {
    font-size: 12px;
    cursor: pointer;
    box-shadow: 0 0 3px rgba(0, 0, 0, .2);
    border-radius: 10px;
    border: 2px solid #555;
    background: #fff;
    background: linear-gradient(to bottom, #ffffff 5%, #b8c9d7 100%);
    width: 130px; height: 35px;
    line-height: 1em;
    margin: 0 1px 3px 1px;
}
button.btn-sim img {
    float: left;
    height: 25px;
}
#btn-chkans { 
    position: absolute;
    bottom: 14px; right: 18px;
    width: 80px; height: 55px;
}
canvas {
    position: absolute;
    top: 0px; right: 0;
    width: 360px; height: 220px;
    background: #ccc;
    margin: 0; padding: 0;
}

sub{ font-size:.7em; }

.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
}

.tooltip .tooltiptext {
  visibility: hidden;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 5px;
  padding: 3px 5px;
  position: absolute;
  z-index: 1000;
  top: 15px; left: -50%;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}