@charset "UTF-8";
/* CSS Document */

/* main site only */

#topbar {
  width:100%;
  height:20px;
  padding: 5px 10px;
  line-height:20px;
  display:block;
  background: #555;
  margin:0;
  color: #fff;
  position: fixed;
  border-bottom: 1px solid #222;
  vertical-align: middle;
  box-shadow: 0px 1px 5px rgba(0,0,0,0.4);
  font-size: 0.9em;
  font-weight: 300;
  background: rgba(80,80,80,0.9);
  z-index: 11;
}
#topbar img {
  vertical-align: middle;
}
#topbar a {
  color: #ccc;
}
#topbar a:visited {
  color: #ccc;
}
#topbar a:hover {
  color: #E67403;
}

/*FIX*/
nav {
  margin: 0;
  width: 200px;
  min-width: 200px;
  max-width: 200px;
  background: #333;
  display: table-cell;
  height: 100%;
  color: #fff;
  background-image: url('/images/dark_dashed.png');
  margin-top: 30px;
  box-shadow: inset -2px 0px 6px rgba(0,0,0,0.9);
}

nav ul li {
  list-style-type: none;
}

nav ul {
  max-width: 180px;
  padding: 5px 5px 5px 0;
  margin-right: 20px;
  background: rgba(250,250,250,0.2);
  box-shadow: 1px 1px 5px rgba(0,0,0,0.6);
  border-radius: 0 5px 5px 0;
  font-size: 1.1em;
}
nav ul li {
  padding-left: 10px;
}
nav a {
  color: #fff;
  text-decoration:none;
  text-shadow: 2px 2px 3px rgba(0,0,0,0.5);
}
nav a:visited {
  color: #fff;
  font-size: 1.1em;
}
nav a:hover {
  color: #f5f5f5;
  position: relative;
  text-shadow: -2px -2px 3px rgba(0,0,0,0.5);
}
nav a:active {
  position: relative;
  top: 1px;
}


.subnav {
  display: none;
  max-width: 160px;
  position: absolute;
  top: 0px;
  left: 155px;
  background-color: rgba(50,50,50,0.9);
  border-radius: 4px;
  width: 180px;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.8);
  border: 1px solid black;


  background-color: transparent;
  box-shadow: none;
  position: relative;
  left: 0;
  border: none;
}

.current_item .subnav {
  display: block;
  background-color: transparent;
  box-shadow: none;
  position: relative;
  left: 0;
  border: none;
}

.subnav a {
  font-size: 0.8em;
  text-shadow: none;
}

/*
nav li:hover .subnav {
display: block;
z-index: 25;
}
*/

nav li {
  position: relative;
}


/* have this slide out when hovering on nav?
or just have it always be there and content changes depending on nav selection!
*/


aside ul li {
  border-bottom: 1px solid rgba(255,255,255,0.8);
}

aside ul li {
  list-style-type: none;
  margin: 15px 5px;
}

aside div {
  /*
  height:40px;
  margin:10px;
  padding:10px;
  */
}

ul li {
  margin: 5px 0;
}

.tab {
  vertical-align:middle;
  margin-left:-1px;
  margin-top:0px;
  padding: 10px;
  position:fixed;
  border-radius: 0 0 5px 5px;
  border:1px solid #222;
  border-top:none;
  box-shadow: 0px 2px 5px rgba(0,0,0,0.4);
  background: rgba(80,80,80,0.9);
  z-index: 12;
  top: 30px;
  min-width: 170px;


  /*width: initial;*/


  /*     width: 160px;  */
  /*     max-width: 160px;  */
  /*     min-width: 160px;  */
}

#tabtitle {
  font-size: 0.83em;
}

aside #page_effect {
  display: none;
}

#page_effect2 {
  display: none;
}

.onecol {
  display: table;
  border-collapse: separate;
  border-spacing: 10px;
  width: 100%;
  margin: 0 auto;
  text-align: left;
}

.onecol .converter {
  text-align: left;
}

.twocol {
  display: table;
  border-collapse: separate;
  border-spacing: 10px;
  width: 100%;
  margin: 0 auto;
}
.twocol > div {
  display: table-cell;
  text-align: left;
  width: 50%;
}

.twocol div h2 {
  font-size: 1.4em;
}

.threecol div {
  text-align: left;
}
.threecol .converter {
  text-align: center;
  width: 33%;
}
.threecol div h2 {
  font-size: 1.4em;
}

.threecol .text45 {
  width: 45%;
}

.threecol .text55 {
  width: 55%;
}

.threecol .text {
  width: 60%;
}
.threecol .text70 {
  width: 70%;
}
.threecol .img {
  /*     width: 25%; */
  vertical-align: middle;
}
.threecol .img img {
  /*width: 95%;*/
}
/*
.threecol .img div {

}
.threecol .ad div {

}
*/

.pic {
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.floatimg {
  float: right;
  width: 50%;
  margin: 20px;
}


.double {
  width: 50%;
}
.double li{
  width: 50%;
  line-height:1.5em;
  float:left;
  display:inline;
}

/************** FOR POPUP CALCULATOR ***************/

iframe.noScrolling {
  overflow: hidden;
  width: 600px;
  height: 300px;
}

div#display{
  overflow: hidden;
}

#showCalc {
  cursor: pointer;
  cursor: hand;
  vertical-align:top;
  box-shadow:none;
  /*     float: right; */
}

.black_overlay {
  display: none;
  position: absolute;
  top: 0%;
  left: 0%;
  width: 100%;
  height: 100%;
  background-color: black;
  z-index:1001;
  -moz-opacity: 0.3;
  opacity:.30;
  filter: alpha(opacity=30);
  overflow: auto;
}
/* can't be absolute! want to get to from anywhere */
.white_content {
  display: none;
  top: 85px;
  left: 250px;
  padding: 16px;
  border: 4px solid #f88009;
  background-color: rgba(255,255,255,0.9);
  /*z-index:1002;*/
  overflow: auto;
  border-radius: 5px;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.5);
  margin-top: 10px;
  width: 600px;
  height: 380px;
}
#close_button,#close_button_mobile {
  /*     display: none; */
  position: absolute;
  top: 30px;
  right: 2px;
}

.minwidth {
  min-width: 170px;
}

.ad_div {
  vertical-align:top;
}

.adsbygoogle {
  width: 140px !important;
  max-width: 140px;
  vertical-align:top;
  border: 1px solid #333333;
  border-radius: 2px 0 2px 0;
}

/********* TOOL TIPs *********/
.tooltip {
  border-radius: 20px;
  width: 16px;
  min-width: 16px;
  height: 15px;
  min-height: 15px;
  line-height: 15px;
  font-size: small;
}

.collisiontable {
  width:300px;
}
.collisiontable td {
  /*     text-align: right; */
}

aside {
  display:none;
  left:-999;
}
#mobilenav {
  display:none;
  left:-999;
}
.twocol_table {
  width:50%;
  display:inline-block;
  float:left;
}
.scaleimg {
  width: 50%;
}
.scaleimg50 {
  width: 50%;
}
.scaleimg60 {
  width: 60%;
}
.scaleimg70 {
  width: 70%;
}
.scaleimg80 {
  width: 80%;
}
.scaleimg90 {
  width: 90%;
}
.scaleimg100 {
  width: 100%;
}
/********** MEDIA OPTIONS ************/


@media only screen and (max-width: 980px) {

  aside br {
    margin: 0;
    padding: 0;
  }
  aside {
    width: 100%;
    min-width: 0;
    max-width: 9999px;
    /*         min-width: 9999px; */
    display: inline-block;
    max-width: 9999;
  }
  aside ul, aside ul li {
    display: inline-block;
    margin: 0 auto;
    padding: 5px 10px;
    font-size: 1.0em;
    vertical-align: middle;
    border-bottom: none;
  }
  aside ul li {
    border-right: 1px solid white;
  }
  aside div {
    height: 0px;
    margin: 0;
    padding: 0 !important;
    max-height: 0px;
  }

  .tab {
    font-size: 0.8em;
    min-width: 155px;
  }
  #tabtitle {
    font-size: 0.8em;
  }
  .twocol div h2 {
    font-size: 1.1em;
  }
  .my_adspace {
    display: none;
  }
  nav > span {
    padding: 10px 0 10px 0;
  }
  .twocol {
    display: block;
  }
  .twocol > div {
    display: block;
    width: auto;
    margin: 10px auto;
  }

  .statinputs {
    display: table-cell !important;
    width: 50% !important;
  }
  .threecol .text, .text45, .text55, .text70 {
    width: 100%;
  }
}

@media only screen and (max-device-width: 920px) {

  /* mobile site only */

  body {
    /*font-size:large;*/
  }
  #mobilenav {
    display:block;
    left:-0;
  }

  #content {
    min-width: 0px;
    margin: 0px auto;
    padding: 0px !important;
    background:white;
  }

  section {
    padding:10px;
  }

  .tab {
    left: -9999px;
    position: absolute;
  }
  #topbar {
    position: absolute;
  }
  .twocol {
    display: block;
  }
  .twocol > div {
    display: block;
    width: auto;
    margin: 10px auto;
  }


  .double {
    width: auto;
  }
  iframe.noScrolling {
    width:0;
  }
  /* CSS Document from mobile */

  /* mobile site only */

  #main {
    padding-top: 0px;
  }

  h1 {
    vertical-align: middle;
    display: inline-block;
  }

  h1 a, h1 a:visited, h1 a:hover{
    color: #444;
  }

  header {
    width: auto;
    z-index: 1;
    cursor: pointer;
  }

  nav {
    display: none;
    left: -999;
    width:0;
  }
  #topbar {
    display: none;
    left: -999;
  }

  #subheader {
    font-size: 2em;
  }

  #submenu {
    display: none;
    background: #ddd;
  }
  #submenu  ul {
    padding: 0px 0px;
    margin: 0px 0px;
  }
  #submenu ul li {
    display: inline-block;
    border-left: 2px solid rgba(0,0,0,0.5);
    border-right: 2px solid rgba(250,250,250,0.5);
    /*     border-bottom: 2px solid rgba(0,0,0,0.5); */

    list-style-type: none;
    margin: 0px 0px;
    padding: 15px 20px;
  }
  #submenu ul li:last-child {
    border-right: none;
    /*     border-right: 2px solid rgba(0,0,0,0.5); */
  }
  #submenu ul li:first-child {
    border-left: none;
    border-left: 2px solid rgba(0,0,0,0.5);
  }
  #submenu a {
    font-size: 1.4em;
    color: #000;
  }

  #submenu a:visited {
    color: #555;
  }
  #submenu a:hover {
    color: #999;
  }

  /*footer p {
  font-size: 1.3em;
  }*/

  .aligned label + input {
    width: 100%;
    /*max-width: 80px;*/
    margin: 2px 5px 2px 5px;
  }

  .disclosure
  {
    width: 40px;
    height: 40px;
    vertical-align: middle;
  }


  aside {
    padding-bottom:10px;
    padding: 10px;
    width: 100%;
    min-width: 0;
    max-width: 9999px;
    display: inline-block;
    max-width: 9999px;
    z-index: 12;
  }
  aside a {
    font-size: 1.4em;
  }
  aside h4 {
    display:inline-block;
    vertical-align:middle;
    cursor: hand;
    /*font-size:1.5em;*/
    color: #aaa;
    text-shadow: -1px -1px rgba(255,255,255,0.5);
  }
  h3 {
    font-size: 1.5em;
  }
  h4 {
    /*font-size: 1.4em;*/
  }

  .index {
    margin-left: 50px;
  }

  .index h3 {
    font-size: 1.5em;
  }

  .index h3 > a, .index h3 > a:visited  {
    text-decoration: none;
    color: #555;
  }
  .index h3 > a:hover {
    color: #000;
  }

  ul li {
    margin: 5px 0;
    /*font-size: 1.3em;*/
  }

  .twocol {
    display: block;
    width: auto;
    margin: 10px auto;
  }
  .twocol > div {
    text-align: justify;
    display: block;
    width: auto;
    margin: 10px auto;
    /*padding: 20px;*/
  }

  .twocol div h2 {
    font-size: 1.8em;
  }


  .threecol,  .threecol > div {
    /*width: 50%;*/
    display: block;
  }
  .threecol div h2 {
    font-size: 1.8em;
  }

  .text, .text45, .text55, .text70 {
    width: 100%;
  }
  .threecol .text, .threecol .text45, .threecol .text55, .threecol .text70 {
    width: 100%;
  }
  .threecol .text45 {
    width: auto;
  }
  .my_adspace {
    display: none;
  }


  img {
    border-radius: 1px;
    /*     box-shadow: 0 0 10px rgba(0,0,0,0.5); */
  }


  .converter a:visited, .prefooter a:visited {
    color:#fff;
  }

  .converter h2 {
    font-size: 1.5em;
  }
  .threecol .converter {
    width: auto;
    margin-bottom:10px;
  }
  /*form, form input, form select, form label{
  font-size: 1.4em;
  }*/
  .floatimg {
    float:none;
    width: 100%;
  }
  form label, form input, form textarea {
    border-radius: 2px 0 2px 0;
  }

  form .button {
    -webkit-appearance: none;
    /*font-size: 1.5em;*/

    height: 30px !important;
    /*line-height: 70px !important;
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    margin: 2px auto;*/

  }
  input[type=radio] {
    width: 20px; height: 20px;
    -webkit-border-radius: 22px; -moz-border-radius: 22px; border-radius: 22px;
    border: 1px solid #bbb;
  }
  input[type=range] {
    width: 50%;
  }
  input[type=range]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px; height: 24px;
    /*background: #fdfdfd; background: -moz-linear-gradient(top, #fdfdfd 0%, #bebebe 100%); background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fdfdfd), color-stop(100%,#bebebe)); background: -webkit-linear-gradient(top, #fdfdfd 0%,#bebebe 100%); background: -o-linear-gradient(top, #fdfdfd 0%,#bebebe 100%); background: -ms-linear-gradient(top, #fdfdfd 0%,#bebebe 100%); background: linear-gradient(to bottom, #fdfdfd 0%,#bebebe 100%);*/
    border: 1px solid #bbb;
    -webkit-border-radius: 22px; -moz-border-radius: 22px; border-radius: 22px;
  }
  textarea {
    font-size: 1.0em;
  }
  /*
  p {
  font-size: 1.7em;
  }*/


  .statinputs {
    display: table-cell !important;
    width: 50% !important;
    margin: 0 auto;
  }

  .statinputs p {
    width: auto;
  }
  .statinputs, .statinputs input, .statinputs select, .statinputs label{
    font-size: 1.0em;
  }
  /*FIX*/
  .floatform  {
    /*width: 900px;*/
    line-height: 2.2em;
  }

  .floatform input {
    float:left;
    /*width: 30%;*/
    /*float: right;*/
    /*font-size: 1.2em;*/
  }

  .quiet {
    /*font-size: 1.3em;*/
    color: #444;
  }
  .small {
    /*font-size: 1.3em;*/
    color: #aaa;
  }

  input, select {
    font-size: 1em;
  }
  /*FIX*/
  .colorswatch {
    width: 200px;
    min-width: 200px;
    height: 50px;
    /*line-height: 58px;*/
    margin: 0px auto;
    text-align: center;
    border-radius: 6px 0 6px 0;
    /*     border:2px solid black; */
    background-color: #555;
    box-shadow: inset 1px 1px 5px rgba(0,0,0,0.5), inset -1px -1px 5px rgba(0,0,0,0.4);
    border: 1px solid rgba(50,50,50,1);
    font-size: 1.2em;
  }

  .insetshadow {
    box-shadow: inset 2px 2px 5px rgba(0,0,0,0.5), inset -2px -2px 5px rgba(0,0,0,0.2);
  }

  form .big {
    font-size: 1.5em;
    padding: 0px 12px;
    /*     6px 12px 8px 12px; */
  }

  input[type='checkbox'] {
    width: 20px;
    height: 20px;
  }


  .aligned label, .aligned input {
    display: inline;
  }


  /********* TOOL TIPs *********/
  .tooltip {
    border-radius: 50%;
    width: 1em;
    min-width: 1em;
    height: 1em;
    min-height: 1em;
    /*font-size: 1em;*/
  }

  /*FIX*/
  .tooltip span {
    font-size: 1.0em;
    line-height: 1.2em;
    width: 300px;
    min-width: 200px;
    left:-280px;
    margin-left:0;
  }

  .ttip:hover:after{
    font-size: 0.9em;
    width: 300px;
  }

  /************** FOR POPUP MENU ***************/

  .tab {
    vertical-align:middle;
    margin-left:-1px;
    margin-top:0px;
    position:absolute;
    z-index: 12;
    top: 30px;
    width: 100%;
  }

  .black_overlay {
    display: none;
    position: fixed;
    background-color: rgba(0,0,0,0.9);
    overflow: auto;
  }
  /* can't be absolute! want to get to from anywhere */
  .white_content {
    display: none;
    position: absolute;
    top: 25px;
    left: 20px;
    width: 75%;
    height: auto;
    margin: 0 0px;
    padding: 16px;
    border: 10px solid #f88009;
    background-color: white;
    overflow: auto;
    border-radius: 5px;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.5);

    margin-top: 10px;
    z-index:1002;
  }
  #close_button,#close_button_mobile {
    position: absolute;
    top: -15px;
    right: -15px;
    top: 5px;
    right: 5px;
    height: 45px;
    line-height: 45px;
    width: 45px !important;
    color: #ccc;
    z-index:1003;
  }

  .inline {
    margin: 0;
    padding: 0;
    display: inline-block;
  }

  #popmenu h3 {
    font-size: 2em;
    text-align: center;
    text-shadow: 0 0 2px rgba(0,0,0,0.4);
  }

  #popmenu a {
    text-decoration: none;
    font-size: 1em;
    padding: 10px;
  }
  #popmenu a:visited {
    color: #A17EDC;
  }

  .fancyhome {
    /*     border-radius: 4px; */
    /*     border: 3px solid gray; */
    margin-bottom: 5px;
    /*     color: #444; */
    text-shadow:  2px 2px #aaa, -1px -1px #000;
    text-shadow: rgba(0,0,0,0.5) -1px 0, rgba(0,0,0,0.3) 0 -1px, rgba(255,255,255,0.5) 0 1px, rgba(0,0,0,0.3) -1px -2px;
    font-size: 1.2em
  }


  .fancyhome:visited {
    /*     color: #444 !important; */
  }

  .mobile_equation {
    max-width: 350px;
    font-size: 0.7em;
    margin: auto;
  }

  .MathJax {
    font-size: 0.8em !important;
  }

  canvas {
    width: 100%;
  }
  .ad_div {
    width: 100%;
    vertical-align:top;
  }
  .twocol_table {
    width: 100%;
    display: block;
    float: none;
  }
  .twocol_table label, .twocol_table input[type=text] {
    width: 50px;
  }
  .twocol_table input[type=range] {
    width: 150px;
  }
  .scaleimg, .scaleimg50, .scaleimg60, .scaleimg70, .scaleimg80, .scaleimg90, .scaleimg100 {
    /*float:right;*/
    width: 100%;
  }

  .onecol {
    border-spacing: 0px;
  }
}
