charset "UTF-8";
/* CSS Document */
/* perpetua */
header,footer,
article,section,
hgroup,nav,
figure{
  display: block;
}
html {
  width: 100%;
  height:100%;
}
/* Default light theme */
:root {
    --background-color: #fff;
    --text-color: #333333;
    --link-color: #286dc0;
    --button-background-color: #286dc0;
    --button-text-color: #ffffff;
    --container-background: #f9f9f9;
    --column-background: #ededed;
    --h-color: #333;
    --header-background: #1d5370;
    --nav-background: #333333;
    --nav-link: #f9f9f9;
    --background:  radial-gradient(100% 50% at 50% 0%, #f9f9f9ff 0%, #f9f9f9aa 30%, #f9f9f966 40%, #f9f9f933 100%);
    --pre-background: #eaeaea;
    /* --background: transparent radial-gradient(100% 50% at 50% 0%, #00356bff 0%, #00356b77 30%, #00356b55 40%, #00356b00 100%); */
}
@media (prefers-color-scheme: dark) {
    :root {
        --background-color: #222222;
        --text-color: #ffffff;
        --link-color: rgb(155,223,220);
        --button-background-color: #286dc0;
        --button-text-color: #ffffff;
        --container-background: #222222;
        --column-background: #4a4a4a;
        --h-color: #eee;
        --header-background: #1d5370;    
        --background:  #222222;
        --nav-background: #002040;
        --nav-link: #f9f9f9;
    --pre-background: #343434;

        /* --background: transparent radial-gradient(100% 50% at 50% 0%, #00356bff 0%, rgba(14, 31, 47, 1) 70%, #000 100%); */
        a {
            color: rgb(155,223,220);
        }
       .title a {
            color: #222222;
        }

    }
}
/* * { border: solid 1px aqua; } */
body {
  background: var(--background-color);
  color: var(--text-color);
  width: 100%;
  height:100%;
  margin: 0;
  font-family: Helvetica;
  font-weight: 300;
  font-size: 1.0em;
  min-width: 900px;
}

body > * {
  vertical-align: top;
  overflow: hidden;
}

header {
  width: 100%;
  display: block;
  background: #1d5370;
  box-shadow: 0px 1px 2px 1px rgba(0,0,0,0.3);
  text-align: center;
}

header > h1 {
  margin: 10px 0px;
  color: white;
  font-size: 1.8em;
  text-align: center;
  padding: 20px;
  box-shadow:  0 1px 3px #89a;
  margin-top:0px; 
  color: #ffffff;
}

h3 {
  margin: 5px 0 8px 0;
}

nav
{
  display:block;
  height: 100%;
  color: black;
  margin: 0 auto;
  box-sizing:border-box;
  -moz-box-sizing:border-box;
  -webkit-box-sizing:border-box;
}
nav ul
{
  padding: 0px;
  margin: 0px;
  list-style-type: none;
  color: black;
}


nav ul li
{
  /* 		border-bottom: solid 1px white; */
}

nav a
{
  /* 		color: white; */
  /* 		color: #F5F4EB; */
  display: block;
  text-decoration: none;
  text-align: left;
  font-size: 22px;
  line-height: 32px;
  color: black;
  border-left: solid 8px white;
  padding-left: 6px;
}

nav a:hover
{
  /* 		color: #fff; */
  /* 		background-color: #999d8f; */
  border-left: 8px solid #999d8f;
  color: black;
}
nav	a:visited
{
  /* 		color: white; */
  color: black;
}

nav > ul li.current_item a
{
  /* 	   background: #92a2a2; */
  border-left: 8px solid #92a2a2;
  color: black;
  box-sizing: border-box;
}
/*
nav > ul li.current_item a:hover
{
background: #999d8f;
}
*/

/*--- Hide  Sublists ---*/
nav li {
}

nav li ul {
  position: absolute;
  /* 	border-top: solid 1px white; */
  width: 150px;
  /* 	left: -999em; */
  display: none;
}


nav li ul.show {
  display: block;
  margin-bottom: 70px;
}

nav li:hover ul, a:hover ul li {
  left: auto;
  font-size: 18px;
  /* 	display: block; */
  /* 	text-align: right; */
}

nav > ul li.submenu a {
  background: none;
  font-size: 20px;
  text-align: left;
  padding-left: 10px;
  border-left: 8px solid white;
}
nav > ul li.submenu_current a {
  /*
  border-bottom: 1px solid #92a2a2;
  border-top: 1px solid #92a2a2;
  border: 1px dashed #92a2a2;
  */
  border-left: 8px solid #92a2a2;
}
nav > ul li.submenu a:hover {
  /* background: #999d8f; */

  /* border: 1px dashed #999d8f; */
  border-left: 8px solid #005371;
}


nav .homepage {
  font-size: 1em;
}

.subpage > ul li a {
  border: 1px solid white;
}
.subpage > ul li.current_item a {
  border: 1px solid gray;
  border-bottom: 1px dotted gray;
  /*     outline: 2px solid white; */
  /*     box-shadow: 2px 2px 2px white; */
  box-shadow: 0px 7px 0px 0px white;

  border-radius: 4px 4px 0px 0px;
}
.subpage > ul li.current_item {
  /*     border: 1px solid gray; */
  /*     border-bottom: none; */
}

.subpage {
  font-size: 0.7em;
}

.subpage > ul li a:hover {
  color: #92a2a2;
}

a {
  color: #92a2a2; /* #999d8f; */
}

a:visited
{
  color: #485352;
}
a:hover
{
  color: #999d8f;
}

section
{
  text-align: left;
  margin: 15px auto;
  margin:0px 5px 0px 0px;
  padding-top:0px;
  width:100%
  padding: 10px;
}

h2
{
  text-align: center;
  margin-bottom: 0.3em;
}
h2, h3, h4, h5
{
  /* 		font-weight: 600; */
}
h4 {
  font-size: 1.1em;
}
h5 {
  font-size: 1.0em;
}
p {
  padding: 0 5px 0 5px;
}
footer
{
  padding: 10px 0 8px 0;
  border-top: solid 1px #aaa;
  clear: left;
  float:left;
  vertical-align:middle;
}

footer ul {
  margin: 0;
  padding-left: 5px;
}

footer li {
  display: inline;
  list-style-type: none;
  padding: 0 5px 0 5px;
  /*         border-left: solid 1px #555; */
  vertical-align: middle;
}

footer li:first-child {
  border-left: none;
}

footer a {
  text-decoration: none;
}

.clear {
  clear: both;
}

.twocol {
  /* display: table; */
  border-collapse: separate;
  border-spacing: 10px;
  width: 90%;
  margin: 0 auto;
  border-spacing: 10px;
  border-collapse: separate;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.twocol > div {
  display: table-cell;
  text-align: left;
  margin: 0;
  padding: 10px;
  border-right: dashed gray 1px;
  border-left: dashed gray 1px;

}


input, textarea {
  margin: 0px 0 10px 0;
  line-height: 18px;
  padding: 5px;
  font-size: 0.85em;
  border-radius: 3px;
  border: 1px solid #aaa;
  border-bottom: 1px solid #ddd;
  border-right: 1px solid #ddd;

}
input[type="button"],input[type="submit"] {
  border: 1px solid #ddd;
  border-bottom: 1px solid gray;
  border-right: 1px solid gray;
  /* background: linear-gradient(to bottom, rgba(242,245,246,1) 0%,rgba(227,234,237,1) 37%,rgba(200,215,220,1) 100%); /* W3C */ 
  padding: 3px 4px;
 -webkit-appearance: none;
  background: #1d5370;
  color: white;
  border:none;
   -webkit-appearance: none;
}
input[type="button"]:active,input[type="submit"]:active {
  background: rgb(0, 83, 113);
  top: 1px;
  position: relative;
   -webkit-appearance: none;

}
button {
  line-height: 20px;
  font-size: 0.85em;
  border-radius: 4px;
  color: black;
  border: 1px solid #ddd;
  border-bottom: 1px solid gray;
  border-right: 1px solid gray;
 -webkit-appearance: none;
  background: rgb(0, 83, 113);
  background: #739BA9;
  color: white;
  border:none;
}
button:enabled:active {
 -webkit-appearance: none;
  background: rgb(0, 83, 113);
  top: 1px;
  position: relative;
}
button:disabled,button:disabled:active,input[type="button"]:disabled  {
  color: #ccc;
  border: 1px solid #ddd;
  border-bottom: 1px solid #bbb;
  border-right: 1px solid #bbb;
  background: #899DA4;
  border:none;
  top: 0px;
  position: relative;
}
select {
  line-height: 20px;
  height: 28px;
  /* -webkit-appearance: none; */
  /* -webkit-appearance: menulist-button; */

}

.ttip {
  display: inline;
  position: relative;
  cursor: pointer;
  vertical-align: top;
  text-decoration:none;
}
.ttip:hover:after{
  background: #333;
  background: rgba(0,0,0,.8);
  background: rgba(0, 73, 103, 1);
  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: 80%;
  /* 	margin-bottom: 5px; */
  margin-left: -30px;
  padding: 7px;
  width: 160px;
  font-size: 14px;
  line-height: 1.2;

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

body > div {
  width: 100%;
  margin: 0;
  padding: 0;
}


.showmobile {
  display: none;
}

@media only screen and (max-width: 1124px) {
  .twocol {
        grid-template-columns: repeat(2, 1fr);
  }
}

@media only screen and (max-device-width: 980px) {
    body {
      min-width: 200px;
    }
      body {
    font-size:large;
  }
  body nav {
    height: 85px;
  }


  header > h1 {
    font-size: 1em;
    line-height: 42px;
    padding-bottom: 5px;
  }
    .twocol {
      display: block;
      margin: 5px;
      padding: 5px;
      width: 100%;
      display: table;
      grid-template-columns: repeat(2, 1fr);

    }
    .twocol > div {
      display: block;
      margin: 0px;
      padding: 0px;
      float: left;
      border: none;
    }
  .calcform, .calcform input, .calcform select {
    font-size: 1em;
  }

  input, select {
    font-size: 1em;
  }

  }


@media only print {

  nav {
    display:none;
  }
  header {
    display: none;
  }
  h1 {
    display: none;
  }
  .margin80 {
      width: 100%;
  }
  .margin60 {
      width: 80%;
  }
  footer {
    display: none;
  }
}