@font-face {
    font-family: "HGSS";
    src: url("web/HGSS.ttf");
    }

* {
  box-sizing: border-box;
}

a.welcome{
    color:white;
    font-size: 30px;
    text-align: center;
    text-shadow: #000 0px 0px 2px,   #000 0px 0px 2px,   #000 0px 0px 2px, #000 0px 0px 2px,   #000 0px 0px 2px,   #000 0px 0px 2px;
    font-family:"HGSS";
    margin: -15px;
}

body {
    background-color: #242526; 
    font-family:Lucida Console;
    color: beige;
    padding-top: 3em;
    height: 92%;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
}

nav {
  background: beige;
  box-shadow: 0 0 15px 0 rgba(0,0,0,.10);
  position: fixed;
  top: 0;
  width: 100%; 
  margin-left:-8px;
}

nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
  position: relative;
  text-align: left;
}

nav li {
  display: inline-block;
}

nav a {
  color: #444;
  text-decoration: none;
  display: block;
  padding: .75em 1.75em;
}

nav li:hover {
  background: #ffb347;
}

nav li:hover a {
  color: #fff;
}


.menu-sub {
  position: absolute;
  left: 0;
  background: #444;
  width: 100%;
  display: none;
  color: #fff;
  padding: 3em;
}

nav li:hover .menu-sub {
  display: block;
}

.menu-sub li {
  display: block;
}

.menu-sub a {
  padding: 0;
  margin-bottom: .35em;
}

.menu-sub a:hover {
  text-decoration: underline;
}

.menu-category {
  margin: 2.5em 0 .5em;
}

.menu-category:first-of-type {
  margin-top: 0;
}

.menu-col-1,
.menu-col-2,
.menu-col-3,
.menu-col-4 {
  float: left;
}

.menu-col-1 {
  width: 33%;
}

.menu-col-2 {
  width: 50%;
}

var.footer {
  background: beige;
  box-shadow: 0 0 15px 0 rgba(0,0,0,.10);
  position: fixed;
  bottom: 0;
  width: 100%;
  margin-left:-8px; 
}

iframe.link{
    border:none; 
    min-height: calc(100% - 3em - 3em);
    width: 100%;
    margin: -8px;
    position: absolute;    
    z-index: -2; 
}

iframe.spcalc{
  border:none;
  width:45em;
  height:50em;
}

div.sidenav{
    height: 100%;
    width: 170px;
    position: fixed;
    z-index: 1;
    background-color: beige;
    overflow-x: hidden;
    top: 0;
    left: 0;
    bottom: 0;
    color:grey;
    padding-left: 10px;
    padding-top: 10px;
    font-size: 13px;
}
div.sidenav a{
    color:grey;
    text-decoration: none;
}

div.sidecontent {
  padding-left: 12em;
}

div.dropdown {
    float:left;
    overflow:hidden;
}
div.dropdown .dropbtn { 
    border: none;
    outline: none;
    color: grey;
    padding: 8px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
}
div.topnav a:hover, .dropdown:hover .dropbtn {
    background-color: orange;
}
.dropcont {
    display: none;
    position: absolute;
    background-color: beige;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}
div.dropcont a {
    float: none;
    color: grey;
    padding: 8px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}
div.dropcont a:hover {
    background-color: orange;
}
div.dropdown:hover .dropcont {
    display: block;
}

button.tabbtn{
    border: none;
    color: black;
    background-color: beige;
    font-family: inherit;
    padding: 7px 7px;
    margin-top: 5px;
    margin-bottom: 5px;
    text-decoration: none;
}

button.tabbtn:hover{
    background-color: orange;
}

.tooltip {
    background: cornsilk;
    border: 1px solid black;
    border-radius: 5px;
    padding: 5px;
}

.tooltip1 {
  position: relative;
  display: inline-block;
}
  
.tooltip1 .tooltiptext {
  visibility: hidden;
  background-color: beige;
  width: 200px;
  vertical-align: middle;
  color: grey;
  border-radius: 6px;
  padding: 5px 0;
  text-align: center;
    
  /* Position the tooltip */
  position: absolute;
  z-index: 1;
  top: 100%;
  left: 50%;
  margin-left: -100px;
}
  
.tooltip1:hover .tooltiptext {
  visibility: visible;
}

.tooltip2 {
  position: relative;
  display: inline-block;
}

.tooltip2 .tooltiptext2 {
  visibility: hidden;
  background-color: grey;
  width: 200px;
  vertical-align: middle;
  color: beige;
  border-radius: 6px;
  padding: 5px 0px;
  
  /* Position the tooltip */
  position: absolute;
  z-index: 1;
  top: 100%;
  left: 50%;
  margin-left: -100px;
}

.tooltip2:hover .tooltiptext2 {
  visibility: visible;
}

div.row {
  display:flex;
  height:100%;
}

div.column{

  flex:50%;
  width:100%;
}

iframe.column{
  border:none;
  width:100%;
  height: 100%;
}