@charset "UTF-8";
/* CSS Document */
header,footer,
article,section,
hgroup,nav,
figure{
  display: block;
  font-family: Helvetica;
  font-weight: 300;
}

* {
  /*     border: 1px solid #0ff; */
}

body {
  /*     display: table; */
  margin: 0;
  padding: 0;
  width: 100%;
  /*height: 100%;*/
  background: #ccc;
}
body > *
{
  /*     display: table-cell; */
  overflow: hidden;
  font-family: Helvetica;
}


#main {
  display: table;
  padding-top: 30px;
  width: 100%;
}

a {
  color: #E67403;
}
a:visited {
  color: #555;
}
a:hover {
  color: #999;
}
a:active {
  color: #B35A01;
}


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

/*FIX*/
aside {
  /*     background: url('/images/chevron_orange.png') repeat; */
  height: 100%;
  margin: 0;
  display: none;;
  width: 130px;
  padding-left:10px;
  min-width: 130px;
  max-width: 130px;
  box-shadow: inset -2px 0px 6px rgba(0,0,0,0.5),inset 2px 0px 6px rgba(0,0,0,0.5);

  /*
  background:
  linear-gradient(135deg, rgba(250,250,250,0.06) 30%, transparent 30%) -25px 0,
  linear-gradient(225deg, rgba(250,250,250,0.06) 30%, transparent 30%) -25px 0,
  linear-gradient(315deg, rgba(250,250,250,0.06) 30%, transparent 30%),
  linear-gradient(45deg,  rgba(250,250,250,0.06) 30%, transparent 30%);
  background-size: 10px 10px;

  background-color: #F06000;
  */

  background-color: #333333;
  background-image: url('/images/dark_dashed.png');

}
aside a {
  color: #21EFDA;
  color: #3E3E64;
  color: #F06000;
  text-decoration:none;
  /*     text-shadow:  */
  /*     -1px -1px 1px rgba(250,250,250,0.5) */
}
aside a:visited {
  color: #3E3E64;
  color: #F06000
}
aside a:hover {
  color: #64597C;
  color: #F68020
}
aside ul {
  padding: 5px 0 5px 10px;
  font-size: 1.0em;
  font-weight: 700;
}

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

header {
  padding: 10px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  background: #A091B7; /* Old browsers */
  border-bottom: 6px solid #777;

}
header h1 {
  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-family: Rockwell, Georgia, "Times New Roman", Times, serif;
  font-family: Rockwell, 'Enriqueta', serif, Georgia, "Times New Roman", Times, serif;
  margin: 5px auto;
  z-index: 1;
}

footer p {
  margin: 4px 4px;
  color: #fff;
  font-size:0.9em;
}

footer a {
  text-decoration: none;
  color: #ccc;
}
footer a:visited {
  color: #ccc;
}
footer a:hover {
  color: #E67403;
}
/*FIX*/
#content {
  min-width: 640px;
  margin: 0px auto;
  padding: 0px !important;
  background:white;
}

section {
  padding: 20px 20px;
}

h2, h3, h4 {
  color: #555;
  font-family: Rockwell, 'Enriqueta', Georgia, "Times New Roman", Times, serif;
  margin: 2px 0;
  font-size: 1.2em;
}

#subheader {
  font-size: 1.8em;
}

ul li {
  margin: 5px 0;
}

blockquote {
  background: #E4D8EF;
  border-left: solid 5px #652BA6;
  padding: 10px 10px 10px 10px;
}

iframe {
  overflow:hidden;
}

.clear {
  clear: both;
}

.ans {
  border: 1px solid rgb(238, 238, 238);
  border-style: inset;
  padding: 2px 4px 2px 4px;
  box-shadow: inset 0px 0px 2px rgba(0,0,0,0.2);
  margin: 2px;
  background: #fff;
  color: #000;
  /*     width: 50px; */
  min-width: 50px;
  border-radius: 4px 0 4px 0;
  display:inline-block;
}
.ans span {
  padding: 0 10px 0 2px;
  font-size: 0.8em;
  color:gray;
  min-width: 20px;
}

.threecol {
  display: table;
  border-collapse: separate;
  border-spacing: 10px;
  width: 100%;
}
.threecol > div {
  display: table-cell;
  text-align: center;
  /*     width: 33%; */
}

.prefooter {
  color:#fff;
  background: #545454; /* Old browsers */
  background: -moz-linear-gradient(top, #545454 0%, #000000 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#545454), color-stop(100%,#000000)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, #545454 0%,#000000 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, #545454 0%,#000000 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, #545454 0%,#000000 100%); /* IE10+ */
  background: linear-gradient(to bottom, #545454 0%,#000000 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#545454', endColorstr='#000000',GradientType=0 ); /* IE6-9 */
  font-size: 0.8em;
  padding: 10px 10px;
}

.nostyle, .nostyle img {
  border-radius: 0;
  box-shadow: none;
  vertical-align: middle;
}

.centerimg {
  width:80%;
  box-shadow:none;
  padding-left: 0;
  padding-right: 0;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.calcimg {
  /*width: 100%;*/
  border-radius: 3px;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  margin: 15px;
}

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

form {
  display: block;
  margin:0 auto;
  width: 100%;
  text-align: center;
  box-sizing:border-box;
}
form label, form input, form textarea {
  /*border-radius: 4px 0 4px 0;*/

}
form input, form textarea {
  margin: 0px 0 2px 0;
  /*line-height: 14px;*/
  padding: 5px;
  font-size: 0.85em;
  border-radius: 3px;
  border: 1px solid #aaa;
  border-bottom: 1px solid #ddd;
  border-right: 1px solid #ddd;
}

form .button {

  -webkit-appearance: none;
  border: 1px solid #AE8ED7;

  background: #AE8ED7; /* Old browsers */

  padding: 0px 10px 2px 10px;
  -moz-border-radius: 6px;
  -webkit-border-radius: 6px;
  border-radius: 6px;

  color: #333;
  font-size: 1em;
  font-family: Gill Sans, Helvetica, Arial, Sans-Serif;
  text-decoration: none;
  vertical-align: middle;

  line-height: 20px;
}

form .button:hover {

  -webkit-appearance: none;
  /*border-top-color: #5e7d7d;*/
  color: #555;
  background: #b8e356; /* Old browsers */
  background: -moz-linear-gradient(top, #9E71CA 0%,#B98DEB 100%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#9E71CA), color-stop(100%,#B98DEB)); /* Chrome,Safari4+ */
  background: -webkit-linear-gradient(top, #9E71CA 0%,#B98DEB 100%); /* Chrome10+,Safari5.1+ */
  background: -o-linear-gradient(top, #9E71CA 0%,#B98DEB 100%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, #9E71CA 0%,#B98DEB 100%); /* IE10+ */
  background: linear-gradient(to bottom, #9E71CA 0%,#B98DEB 100%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#9E71CA', endColorstr='#B98DEB',GradientType=0 ); /* IE6-9 */

}
form .button:active, .disabled {

  -webkit-appearance: none;
  background: #52CDC9;
  position:relative;
  top:1px;
  background: -webkit-gradient(
    linear, left top, left bottom,
    from(#52CDC9),
    to(#44B3B3));
    background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05, #9476DC), color-stop(1, #44B3B3) );
    background:-moz-linear-gradient( center top, #9476DC 5%, #44B3B3 100% );
    background: linear-gradient( to bottom, #9476DC 5%, #8B55C0 100% );
    filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#9476DC', endColorstr='#8B55C0');

  }

  .disabled {
    color: red;
  }

  form .big {
    font-size: 1.2em;
    padding:3px 10px 5px 10px;
  }

  .centerform label {
    display:inline-block;
    padding: 5px 15px;
  }

  .converter {
    background: #555;
    /*background-image: url('/images/dark_dashed.png');*/
    background: #fff;
    border: 2px solid #888;
    /*     margin: 10px; */
    color: #fff;
    color: #555;
    /*border-radius: 15px 0 15px 0;*/
    /*box-shadow: inset 1px 1px 5px rgba(0,0,0,0.5), inset -1px -1px 5px rgba(0,0,0,0.3);*/
    padding: 15px;
    text-align: center;
  }
  .converter > * {
    color: #fff;
    color: #555;
  }
  .converter h2, .converter h3{
    border-bottom: 1px solid white;
    text-align: center;
    margin-bottom: 10px;
    color: #fff;
    color: #555;
  }
  .converter h4 {
    color: #fff;
    color: #555;
  }
  /*FIX*/
  .colorswatch {
    width: 180px;
    min-width: 180px;
    height: 52px;
    line-height: 25px;
    /*     padding: 5px 5px 3px 5px; */
    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);
    color: #eee;
  }

  .statinputs {
    text-align: right !important;
  }
  /*FIX*/
  .statinputs p {
    /*width: 150px;*/
    width: 60%;
  }

  .quiet {
    font-size: small;
    color: #444;
  }
  .small {
    font-size: small;
    color: #aaa;
  }

  canvas {
    padding-left: 0;
    padding-right: 0;
    margin-left: auto;
    margin-right: auto;
    display: block;
  }

  canvas.inset {
    box-shadow: inset 2px 2px 5px rgba(0,0,0,0.5), inset -2px -2px 5px rgba(0,0,0,0.2);
    /* box-sizing: border-box; */
  }

  .leftlist, .leftlist li {
    text-align: left;
  }

  .aligned form {
    width: 80%;
    margin: 0 auto;
  }

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

  .aligned label {
    width: 20%;
    max-width: 80px;
    text-align: right;
  }

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

  .aligned input + input {
    float: right;
  }

  .eqn {
    text-align: center;
    padding-top: 5px;
  }


  .hideDiv {
    display:none;
  }

  .floatform  {
    line-height: 2em;
    width: 300px;
  }
  .floatform input {
    float: right;
  }
  .floatform label {
    text-align: right;
  }
/*FIX*/
  .fixform {
    line-height: 2em;
    width: 300px;
    text-align:right;
  }

  /********* TOOL TIPs *********/
  .tooltip {
    background-color: #A27EB9;
    border-radius: 20px;
    border: 1px solid #815D9F;
    width: 16px;
    min-width: 16px;
    height: 15px;
    min-height: 15px;
    display: inline-block;
    box-shadow:
    1px 1px 2px rgba(0,0,0,0.5),
    inset 1px 1px 2px rgba(0,0,0,0.5),
    inset -1px -1px 2px rgba(250,250,250,0.7);
    position: relative;
    cursor: help;
    text-align: center;
    box-shadow: none;
    color: #eee;
  }

  .tooltip:active {

    box-shadow:
    -1px -1px 1px rgba(0,0,0,0.2),
    inset 1px 1px 1px rgba(0,0,0,0.2),
    inset -1px -1px 1px rgba(250,250,250,0.2);

    background-color: #826F9F;
  }

  .ttip {
    display: inline;
    position: relative;
    cursor: pointer;
    vertical-align: top;
    text-decoration:none;
  }
  .ttip:hover:after{
    background: #333;
    background: rgba(0,0,0,.8);
    border-radius: 5px;
    bottom: 26px;
    color: #fff;
    content: attr(data-tooltip);
    left: -50%;
    /*     right: -50%; */
    padding: 5px 15px;
    position: absolute;
    z-index: 98;
    width: 200px;
    text-align: left;
    font-size: 0.9em;

    position: absolute;
    /*     bottom: 150%; */
    left: 50%;
    /* 	margin-bottom: 5px; */
    margin-left: -80px;
    padding: 7px;
    width: 160px;
    font-size: 14px;
    line-height: 1.2;

  }
  .ttip:hover:before{
    border: solid;
    border-color: #333 transparent;
    border-width: 6px 6px 0 6px;
    bottom: 20px;
    content: "";
    left: 50%;
    position: absolute;
    z-index: 99;
  }

  .tooltip span, .ttip span {
    z-index:10;display:none; padding:5px;
    margin-top:20px; margin-left:-80px;
    width:200px; line-height:16px;
    position:absolute; color:#111;
    border:1px solid #7E6997; background:#A091B7;
    cursor: default;
    border-radius:4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-box-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    -webkit-box-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    box-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    text-align: left;
  }

  .callout .notch {
    position: absolute;
    left: -7px;
    top: 5px;
    margin: 0;
    border-left: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid #A091B7;
    width: 0;
    height: 0;

  }
  .border-callout .border-notch { border-right-color: #7E6997; left: -8px; }

  #histContainer {
    display: none;
  }
  .R1R2linktext {
    font-size: small;
    color: #aaa;
    text-align:left;
    vertical-align:middle
  }
  #R1R2link {
    cursor: pointer;
  }

  /************** FOR POPUP CALCULATOR ***************/
  .black_overlay {
    display: none;
    position: absolute;
    top: 0%;
    left: 0%;
    width: 100%;
    height: 100%;
    background-color: black;
    z-index:1001;
    -moz-opacity: 0.6;
    opacity:.60;
    filter: alpha(opacity=60);
    overflow: auto;
  }
  /* can't be absolute! want to get to from anywhere */
  .white_content {
    display: none;
    top: 85px;
    left: 250px;
    padding: 16px;
    border: 16px solid #f88009;
    background-color: white;
    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 {
    position: absolute;
    top: 30px;
    right: 2px;

    background: #99df56;
    z-index: 1003;
    border: 1px solid black;
    box-shadow:
    1px 1px 5px rgba(0,0,0,0.3),
    inset 1px 1px 5px rgba(0,0,0,0.3),
    inset -1px -1px 5px rgba(250,250,250,0.3);
    height: 25px;
    line-height: 28px;
    width: 25px !important;
    text-shadow: -1px 1px 4px rgba(0,0,0,0.8);
    text-align: center;

    font-family: Arial, Helvetica, sans-serif;
    /* 	font-size: 14px; */
    color: #5c5c5c;
    background: -moz-linear-gradient(
      top,
      #A17EDC 0%,
      #5331B0);
      background: -webkit-gradient(
        linear, left top, left bottom,
        from(#A17EDC),
        to(#5331B0));
        -moz-border-radius: 21px;
        -webkit-border-radius: 21px;
        border-radius: 21px;
        -moz-border-radius: 50%;
        -webkit-border-radius: 50%;
        border-radius: 50%;
        border: 1px solid #290066;
        -moz-box-shadow:
        0px 1px 3px rgba(000,000,000,0.5),
        inset 1px 1px 3px rgba(255,255,255,0.6);
        -webkit-box-shadow:
        0px 1px 3px rgba(000,000,000,0.5),
        inset 1px 1px 3px rgba(255,255,255,0.6);
        box-shadow:
        0px 1px 3px rgba(000,000,000,0.5),
        inset 1px 1px 3px rgba(255,255,255,0.6);
        text-shadow:
        0px -1px 0px rgba(000,000,000,0.7),
        0px 1px 0px rgba(255,255,255,0.3);

      }
      #close_button:hover,#close_button_mobile:hover {
        color: #eee;
      }
      #close_button:active,#close_button_mobile:active {

        background: -moz-linear-gradient(
          top,
          #5331B0 0%,
          #A17EDC);
          background: -webkit-gradient(
            linear, left top, left bottom,
            from(#5331B0),
            to(#A17EDC));
            -moz-box-shadow:
            inset 2px 2px 3px rgba(0,0,0,0.2);
            -webkit-box-shadow:
            inset 2px 2px 3px rgba(0,0,0,0.2);
            box-shadow:
            inset 2px 2px 3px rgba(0,0,0,0.2);
          }

          #tabtitle {
            color:#fff;
            text-decoration:none;
          }

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

          /*
          input {
          float: left;
        }
        label {
        float: left;
        width: 150px;
        text-align: right;
        margin-right: 0.5em;

        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        -o-text-overflow: ellipsis;
      }
      */

      /*
      .adsbygoogle {
      display:inline-block;
      width:120px;
      height:400px;
      margin-left: 5px;
      margin-top: 50px;
      z-index: -1;
    }
    */

    /********** 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: 9999px;
      }
      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;
      }
      /*
      .adsbygoogle {
      display:inline-block;
      width:200px;
      height:80px;
      margin-top: 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;
  }

}

@media only screen and (max-device-width: 980px) {
  /*body {
  font-size:x-large;
}
#topbar {
position: absolute;
}
.twocol {
display: block;
}
.twocol > div {
display: block;
width: auto;
margin: 10px auto;
}*/

}
