html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color:#ffee43;
  background:#111133;
}

.header{
  height: 150px;
  padding: 20px;
  text-align: center;
  background-color: #000022;
}

/* --- Menu  ---*/
.navigation {
  border-top: solid 2px #0066aa;
  border-bottom: solid 2px #002266;
  background-color: #004488;
  font-size: 18px;
  top:0px;
  position: -webkit-sticky ; /* Safari */
  position: sticky ;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  scroll-behavior: smooth;
}

.topnav {
  width:70%;
  margin:auto;  
  text-shadow: 2px 2px 5px #000;
}

.topnav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background-color: #004488;
}

.topnav li {
  float: left;
}

.topnav li a, .dropbtn {
  display: inline-block;
  color: #ffffff; 
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
}

.topnav li a:hover, .dropdown:hover .dropbtn {
  background-color: #aabbbb !important; 
  color: #004488 !important;
  box-shadow: 0px 8px 16px 0px #aabbbb80;
  text-shadow: none !important; 
}

.topnav li a.active {
  background-color: #5577cc;
  color: #ffee43;

}
.topnav li.dropdown {
  display: inline-block;
}

.topnav .dropdown-content {
  display: none;
  position: absolute;
  background-color: #ffffff !important; 
  min-width: 160px;
  z-index: 1;
}

.topnav .dropdown-content a {
  color: #004488 !important;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  text-align: left;
  background-color: #ffffff !important; 

}

.topnav .dropdown-content a:hover {
  background-color: #aabbbb !important; 
  text-shadow: none !important; 
}  

.topnav .dropdown:hover .dropdown-content {
  display: block;
  text-shadow: none !important; 
}

.right {
  float:right !important;
}
/* --- Content --- */
.content {
  display: inline-block;
  clear: both; 
  height: 100%;
  width: 100%;
  background:#111133;
  font-size: 16px;
  text-align:justify;
  margin-top:10px;

  offset-anchor: 100%, 0%;
  offset-distance: 100px;
  background-image: url('/images/web_logo_crazycolumns_gray.png');
  background-blend-mode:soft-light;
  background-position-x:center;
  background-attachment:fixed;
}
.content .leftside,.rightside{
  width: 10%;
  float: left;
}
.middle{
  width: 70%;
  margin: auto;
 
  padding:8px;  
}
.content .middle .contentblock{
  box-shadow: 10px 10px 5px #002;
  color:#ffee43;
  background: #222244;
  text-shadow: 2px 2px 5px #000;
  border-top:1px solid #333344;
  border-left:1px solid #333344;
  margin-bottom:20px;
  padding: 2%;
}
.contentblock input[type=text] { 
  width: 240px;
  padding: 5px;
  border: solid 2px #333344;
  height: 24px;
  background: #111133;
  color: #ff0;
  font-size: 1.0em;
}
.contentblock button { 
  font-size: 1.1em;
  height: 34px;
  outline: none;
  color: white;
  cursor: pointer;
  border-radius: 4px;
  margin: 0px;
  border-top: solid 2px #0066aa;
  border-bottom: solid 2px #002266;
  border-left: none;
  border-right: none;
  background-color: #004488;
}
.contentblock .newhs {
  color: green;
  font-size: 1.2em;
}
.content .heady {
  text-decoration: underline;
  font-size:18px;
}
.content h1 {
  font-size: 40px;
  margin:5px;
}
.content h2 {
  font-size: 26px;
  color:#fff;
  margin-top:5px;
}
.content h3 {
  font-size: 20px;
  color:#abb;
}
.content ul {
  list-style-type: '\276F\20';
}
.content ul li {
  padding:3px;  
}
.content ul li ul{
  list-style-type: '-' !important;
}
.content table {
  border-collapse: collapse;
}
.content th {
  border-bottom: solid 3px #0066aa;
  padding: 4px;
  text-align: center;
}
.content th:first-child {
  text-align: left;
}
.content td {
  border-bottom: solid 1px #0066aa;
  padding: 2px 20px 2px 2px;
  text-align: center;
}
.content td:first-child {
  text-align: left;
}
.content .download a{
  background:none;
  color:#fff;
}

.content a{
  background:none;
  color:#abb;
}

.tabhs {
  margin-left:auto; 
  margin-right:auto;
}

.tabhs th { 
  text-align: right; 
  /* margin: 4px; */
  width: 100px;
  padding: 2px 20px 2px 2px;

}
.tabhs th:first-child { 
  text-align: center; 
}
.tabhs th:nth-child(2) { 
  text-align: center; 
}
.tabhs th:nth-child(6) { 
  text-align: center; 
}
.tabhs td { 
  text-align: right; 
  /* margin: auto; */
  width: 100px;
  padding: 2px 20px 2px 2px;
}
.tabhs td:first-child { 
  text-align: center; 
}

.tabhs td:nth-child(2) { 
  text-align: center; 
}
.tabhs td:nth-child(6) { 
  width:130px; 
  font-size: 0.8em;
}

.tabhs tbody tr {
  color: #abb;
} 
.tabhs tbody tr:nth-child(1) {
  color: #db6;
} 
.tabhs tbody tr:nth-child(2) {
  color: #eed;
} 
.tabhs tbody tr:nth-child(3) {
  color: #b85;
} 
/* .tabhs th:nth-child(0) { 
  text-align: center; 
  width: 50px;
} */
/* 
.tabhs th:nth-child(1) { 
  text-align: left; 
} */

#Jump2Top {
  display: none;
  position: fixed;
  bottom: 30px;
  right: 16px;
  z-index: 99;
  font-size: 18px;
  border: none;
  outline: none;
  color: white;
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 4px;
  border-top: solid 2px #0066aa;
  border-bottom: solid 2px #002266;
  background-color: #004488;
}

#Jump2Top:hover {
  background-color: #aabbbb;
  color: #002266;

}

.anchordiv {visibility: hidden; height: 0px !important; position: absolute; margin: -54px;}

/* --- galleryitem --- */
div.gallery{
  display:flex;
  flex-wrap: wrap;
  justify-content:flex-start;
}
div.galleryitem {
  border: 1px solid #004488;
  width: 300px;
  margin:5px;
}

div.galleryitem:hover {
  border: 1px solid #aabbcc;
}

div.galleryitem img {
  width: 100%;
  height: auto;
}

div.desc {
  padding: 15px;
  text-align: center;
  height: 100px;
}

/* --- footer --- */
.footer {
  border-top: solid 2px #0066aa;
  border-bottom: solid 2px #002266;
  background-color: #004488;
  /* height: 20; */
  color:#abb;
  font-size: 13px;
  text-align: center;
  /* margin-top: 32px; */
  bottom: 0px;
  margin-bottom: 5px;
}
.footer a {
  color:#fff;
  text-decoration: none;
}

/* --- Mobile Stuff --- */
@media only screen and (max-width: 450px) {
  .header {
    height: 100%;
    margin:auto;
    content:center;
  }
  .header img {
    height:50px;
    padding:0px;
    margin:0px;
  }
  .topnav {
    width:96%;
    margin:auto;  
  }
  .middle{
    width: 96%;
    margin: auto;
  }

  .navigation,.topnav {   
    /* flex-direction: column; */
    position: unset;
    overflow: unset;
    height: auto;
  }

  .topnav li {
    float: none;
    text-align: center;
    width: 100%;
  }
  .topnav li a {
    padding: 2px;
  }
  .topnav li a.active {
    width: 100%;
  }
}


@media only screen and (max-width: 1100px) {
  .header {
    height: 100%;
    padding:0;
    margin:auto;
    content:center;
    object-fit: cover;
  }
  .header img {
    padding:0px;
    margin:0px;
  }
  .topnav {
    width:96%;
    margin:auto;  
  }
  .middle{
    width: 96%;
    margin: auto;
  }
}