html, body {
  font-family: Helvetica, Arial, sans-serif;
  font-size: 12pt;
  height: 100vh;
  margin: 0;
  padding: 0;
  width: 100vw;
}

.header {
  background-color: #333;
  height: 100px;
  overflow: hidden;
  position: absolute;
  transition: .8s height;
  width: 100vw;
}
.header.full {
  height: calc(100vh - 50px);
}

.headerTop {
  background-color: #39D;
  height: 60px;
  overflow: hidden;
  position: absolute;
  transition: .8s height;
  width: 100vw;
}

.headerTitle {
  color: #FFF;
  font-size: 18pt;
  height: 60px;
  line-height: 60px;
  opacity: 0;
  padding-left: 200px;
  position: relative;
  transition: .8s opacity, .8s height, .8s line-height, .8s padding-left;
}

.headerTop img {
  margin-right: 5px;
  max-height: 50px;
  max-width: 100px;
  padding: 5px;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  transition: .8s max-height, .8s max-width, .8s padding;
}

.headerLeft {
  background-image: linear-gradient(-65deg, transparent 0%, transparent 30%, #026 30% ,#026 100%);
  height: 85px;
  position: absolute;
  transition: .8s height, .8s width;
  width: 150px;
}

.headerLeft img {
  max-height: 75px;
  max-width: 105px;
  padding: 10px;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  transition: .8s max-height, .8s max-width, .8s padding;
}

.headerBottom {
  height: 40px;
  position: absolute;
  top: 60px;
  transition: .8s top;
  width: 100vw;
}

.headerMobileTitle {
  color: #FFF;
  font-size: .9em;
  height: 40px;
  line-height: 40px;
  opacity: 1;
  padding-left: 130px;
  position: relative;
  transition: .8s opacity, .8s padding-left;
}

.headerMobileToggle {
  color: #FFF;
  height: 40px;
  line-height: 40px;
  opacity: 1;
  position: absolute;
  right: 10px;
  text-align: right;
  top: 0;
  transition: .8s opacity, .8s line-height, .8s height, .8s right;
  width: 2em;
}

.headerNav {
  position: absolute;
  top: 50px;
  width: 100vw;
}

.headerNav a, .headerNav a:visited {
  color: #FFF;
  display: block;
  font-size: 1em;
  padding: 5px;
  text-align: center;
}

.body {
  height: calc(100vh - 100px);
  position: absolute;
  top: 100px;
  transition: .8s height, .8s top;
  width: 100vw;
}

.contents {
  min-height: calc(100vh - 150px);
  position: relative;
  transition: .8s min-height;
  width: 100vw;
  overflow: auto;
}

.copyright {
  background-color: #333;
  color: #FFF;
  height: 50px;
  line-height: 50px;
  position: relative;
  text-align: center;
}

@media screen and (min-width: 768px) {
  .header {
    height: 150px;
  }

  .headerTop {
    height: 100px;
  }

  .headerTitle {
    line-height: 100px;
    opacity: 1;
    padding-left: 280px;
  }

  .headerTop img {
    margin-right: 5px;
    max-height: 100px;
    max-width: 200px;
    padding: 15px;
  }

  .headerLeft {
    height: 130px;
    width: 300px;
  }

  .headerLeft img {
    max-height: 120px;
    max-width: 215px;
    padding: 15px;
  }

  .headerBottom {
    top: 100px;
  }

  .headerMobileTitle {
    opacity: 0;
    padding-left: 250px;
  }

  .headerMobileToggle {
    height: 50px;
    line-height: 50px;
    opacity: 0;
    right: 15px;
  }

  .headerNav {
    box-sizing: border-box;
    height: 50px;
    padding-left: 230px;
    top: 0;
    width: 100vw;
  }

  .headerNav a, .headerNav a:visited {
    display: inline;
    font-size: 1.05em;
    height: 50px;
    line-height: 50px;
    padding: 0 7px;
  }

  .contents {
    min-height: calc(100vh - 200px);
  }

  .body {
    height: calc(100vh - 150px);
    top: 150px;
  }
}

.fred{color:red;}
.fgreen{color:green;}
.link{cursor:pointer;}
