/* *** CSS for small screens: phones *** */
body {
    background: #ddd;
    margin: 0 auto; padding: 0;
    width: 360px;
    min-height: 430px;
    height: 860px;
    position: relative;
}
body * { font-family: Lato,"Trebuchet MS",sans-serif; }
*:focus { outline: 2px solid rgba(238,137,0, .7); }
#wrapper {
    width: 360px; height: 765px;
    background: #fff;
    border-bottom: 4px solid #000;
}
#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; left:4px;
}
#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;
    display: inline-block;
}
#header ul li button {
    cursor: pointer;
    color: #333;
    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:29px; }
#header ul li.thisTab button img { opacity: 1; }
section#intro { z-index: 90; }
section#simulation_1 {
    z-index: 80;
    display: none;
}
section#colophon {
    z-index: 60;
    padding: 10px 5px 0 5px;
    display: none;
}
section.innerTab {
    margin: 0;  padding: 0 5px 5px 5px;
    height: 688px; width: 350px;
    position: absolute;
    background: linear-gradient(to bottom, #fff 50%, #b8c9d7 100%);
}
h1.blackbarheading {
    color: #fff;
    font-size: 16px;
    position: absolute; top: 0;
    background: #000;
    width: 355px; text-align: center;
}
.sronly { 
    position: absolute; top: -999px;
    width: 1px; height: 1px; overflow: hidden;
}
section#simulation_1 canvas {
    background: #fff;
    width: 358px; height: 238px;
    margin: 0; padding: 0;
    position: absolute; top: 6px; right: 0px; /*left: 0px;*/
    border: 1px solid #000;
}
button { cursor: pointer; }
div#alertMain {
    z-index: 100;
    position: absolute; top: 0px; right: 0px;
    margin: 0; padding: 0;
    background: rgba(255,255,255, .65);
    width: 360px; height: 250px;
    display: none;
}
div#alertBox {
    width: 350px; height: 240px;
    border-radius: 10px;
    padding: 5px;
    margin: auto;
    text-align: center;
    position: relative; top: 1px;
    background: #fff;
    box-shadow: 0 0 40px 5px rgba(0,0,0,.45);
    font-size: 12px;
}
div#alertBoxInner{
    font-size: 12px;
    width: 340px; height: 170px;
    display: table-cell; vertical-align: middle;
    margin: 0; padding: 0 5px;
}
div#alertBtns {
    position: absolute;
    bottom: 0px; left: 0;
    width: 100%;
    text-align: center;
}
div#alertBtns button {
    font-size: 12px;
    height: 66px; width: 85px;
    margin: 5px; padding: 3px;
    box-shadow: inset 0 1px 0 0 #fff;
    border-radius: 10px;
    border: 1px solid #dcdcdc;
    cursor: pointer;
    color: #333;
}
span#btnTxt { position: relative; top: .6em; }
span#btnSpc { display: inline; }
div#alertBtns button img { width: 20px; height: 20px; }
div#alertMain h3 {
    width: 600px;
    position: relative; top: 0; left: 0;
}
div.popTxtOnly{ margin:5px 0; }
div.popTxtOnly p{ margin: 0 0 7px 0; }
div#footer {
    width: 100%;
    height: 50px;
    margin: 25px auto 15px auto;
    padding: 0;
    position: absolute; bottom: 5px;
    text-align: center;
    font-size: 0.65em;
    display: inline-block;
    float: left;
    clear: both;
}
div#footer p {
    width: 360px;
    margin: 0 auto; padding: 0;
}
div.creditbar {
    border-bottom: 1px dotted #333;
    margin: 0;
    padding: 10px 5px;
    clear: both;
}
div.creditbar:first-of-type { height: 275px; }
div.creditbar:last-child {
    border: none;
    font-size: 0.8em;
}
div.creditbar img.creditbarimg {
    float: left;
    width: 60px; height: 60px;
}
div.creditbar p {
    display: table-cell;
    vertical-align: middle;
    margin: 0;
    padding: 0 0 0 7px;
    line-height: 1.3em;
    font-size: 14px;
}
div.creditbar:last-child p {
    height: 65px;
    margin: 0; padding: 0 5px;
    font-size: 11px;
}
div#intro_txt {
    margin: 5px;
    padding: 0;
    line-height: 1.3em;
    width: 340px;
    font-size: 14px;
}
div#intro_txt img {
    box-shadow: rgba(0,0,0, .5) 1px 3px 7px;
    width: 340px; height: auto;
    margin: 0 0 10px 0;
}
div#intro_txt h3 { margin: .8em 0 .1em 0; }
div#intro_txt ul { margin: 0 0 1em -1.25em; }
div#intro_txt li, div#intro_txt p { margin: .1em 0 .3em 0; }
#simulation_1 h3 {
    text-align: center;
    margin: 0;
    font-size: 16px;
}
#fieldNotes {
    margin: 0; padding: 0;
    width: 350px;
    position: absolute;
    top: 265px; left: 5px;
}
table#tbl {
    background: #fff;
    position: relative; left: -2px; top: 3px;
    table-layout: fixed;
    /*width: 350px;*/
    border-spacing: 2px;
    margin: 0; padding: 0;
}
tr.toprow th { background: #49e; font-size: 12px; text-align: center; }
tr.oddrow { background: #ace; }
tr.evenrow { background: #cde; }
tbody td, tbody th { padding: 3px; text-align: center; transition: 0.4s ease-in-out; font-size: 12px; }
th, td {
    height: 20px;
    margin: 0; padding: 3px;
    font-size: 11px;
    width: 50px;
    transition: .5s ease-in-out;
}
td#ang_misc h5 {
    font-size: 1em;
    margin: 10px 5px 1px 5px; padding: 0;
}
td#ang_misc p { margin: 5px; padding: 0; }
thead {
	padding: 0; margin: 0;
	//overflow: hidden;
    height: 29px;
    display: block;
    width: 350px;
}
tbody#tbody { 
    display: block;
	overflow-y: scroll;
    max-height: 365px;
    width: 350px;
}
td input {
    //display: inline-block;
    display: none;
    width: 44px;
    appearance: textfield;
    text-align: right;
    border: 1px solid grey;
    margin: 0; padding: 1px;
    font-size: 12px;
    text-decoration: underline 1px rgba(0,0,0,.5);
}
td input::-webkit-outer-spin-button, td input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
#btn_accToggle {
    transform: scale(1.5);
    position: relative; top: -1px;
    margin: 7px 5px 0 3px;
}
sub{ font-size:.7em; }
.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
}
.tooltip .tooltiptext {
  visibility: hidden;
  background-color: #111;
  color: #eee;
  text-align: center;
  border-radius: 5px;
  padding: 3px 5px;
  position: absolute;
  z-index: 1000;
  top: 15px; left: -50%;
  font-size: 12px;
}
.tooltip:hover .tooltiptext {
  visibility: visible;
}
img.new_win { width: 8px; height: 8px; }
td#nested_td { padding: 0; }
table#nested {
    width: 100%;
    border-spacing: 0;
}