/* *** 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;
}
#header ul li h2 {
    font-size: 1em;
    margin: 0; padding: 0;
    display: inline-block;
}
#header ul li h2 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 h2 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; }
div#intro { z-index: 90; }
div#simulation_1 {
    z-index: 80;
    display: none;
}
div#colophon {
    z-index: 60;
    padding: 10px 5px 0 5px;
    display: none;
}
div.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;
}
div#simulation_1 canvas {
    background: #fff;
    width: 358px; height: 238px;
    margin: 0; padding: 0;
    position: absolute; top: 7px; right: 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 {
    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 0 67px;
    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: 255px; left: 5px;
}
table {
    background: #fff;
    position: relative; left: 0px;
    table-layout: fixed;
    width: 350px;
    border-spacing: 2px;
}
h4 {
    margin: 5px 0 0 0; padding: 0;
    text-align: center;
}
h4 button {
    border: none;
    width: 100%;
    margin: 0; padding: 10px 5px;
    background: #369;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
}
h4 button span {
    font-weight: normal;
    font-style: italic;
}
h4 button:after {
  content: '+';
  color: #fff;
  font-weight: bold;
  float: right;
  margin: 0 15px 0 5px;
}
.acdn_open:after { content: '-' }
.acdn {
    display: block;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
}
#acdn_ha { max-height: 305px; }
tr.toprow th { background: #49e; font-size: 12px; }
th sub { font-size: .7em; }
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; }
tbody th { text-align: right; }
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: 30px;
}
tbody { max-height: 275px; }
td input {
    //display: inline-block;
    width: 15px;
    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;
}
td input.inp_deg { width: 21px; }
#thead_ha tr th { width: 92px; padding: 3px; }
#thead_ha tr th:first-child { width: 40px; }
td#ha_101_lbl  { width: 48px; }
td#ha_101_dir, td#ha_101_rev, td#ha_101_mean { width: 99px; }
td#hd_101_103, td#hd_101_dir, td#hd_103_101, td#hd_101_rev, td#hd_101_mean, td#vd_101_103, td#vd_101_dir, td#vd_103_101, td#vd_101_rev, td#vd_101_mean { width: 68px; }
span.nobreak, b, a { white-space: nowrap; }
td label p { display: inline; }
table#tbl_hd input, table#tbl_vd input { width: 50px; }
.showMe { background: #fb0; border: 1px solid #901; }
span.showMe { padding: 5px 7px; }
#btn_accToggle {
    transform: scale(1.5);
    position: relative; top: -1px;
    margin: 7px 5px 0 3px;
}