* {
    font-family: verdana, sans-serif;
    margin: 0;
    padding-left: 0;
}

#container {
   width: 100%;
}

#header {
  height:169px;
  width:100%;
  position: relative;
}

header img{
    width: 100%;
    height: 100%;
}

#lefttopphoto {
  float:left;
  width: 10%;
  height: 169px;
  border: 1px #244C80 solid;
  box-sizing: border-box;
}

#righttopphoto {
  width: 10%;
  height: 169px;
  float:right;
  border: 1px #244C80 solid;
  box-sizing: border-box;
}

#topbar {
  height:169px;
  width: 80%;
  background-image: url("../images/cloudsdarkbkgnd.jpg");
  background-repeat: no-repeat;
  background-size: 100% 169px;
  display: flex;
  flex-direction:column;
  align-items:center;
  justify-content:space-around;
}

#headline {
  font-size: 36pt;
  background:radial-gradient(#244C80,#183254);
  display: inline-block;
  color:white;
  border:2px white solid;
  border-radius: 25px/15px;
  padding: 5px 10px;
  min-width: 450px;
  text-align: center;
  margin-top: 15px;
  box-shadow: 1px 5px 7px #3269B4;
}

#headline h1 {
  font-family: Verdana, serif;
  font-size: 32pt;
}

#themeverse{
  color: white;
  font-size: 12pt;
  text-shadow: 1px 1px 2px #244C80;
}

#headMenu {
  width: 95%;
  margin: 0 auto;
}

#hdmen ul {
  width: 100%;
  display: flex;
}

#hdmen ul li {
  display: inline-block;
  margin: 5px auto 10px auto;
  width:16%;
  text-align: center;
  transform-origin: top;
  transform: scaley(1);
  transition: transform .2s ease;
}

#hdmen a {
  color: white;
  border: 2px #00008B solid;
  border-radius: 5px;
  background: linear-gradient(to left, #3B50AA 0%, #2f45AA 10%, #244C80 40%, #244C80 100%);
  display: block;
  font-size: 19px;
  text-decoration: none;
  box-shadow: 1px 4px 7px #3269B4;
  transition:  border .5s ease;
}

#hdmen li:hover a {
  background: linear-gradient(to left, #3B50AA 0%, #195A9B 20%, #244C80 80%, #244C80 100%);
  border: 2px white solid;
}

#hdmen li:hover {
  transform: scaleY(1.1);
}

#head2Menu {
  display: none;
}

.topsidebdr{
  position: relative;
  width: 100%;
}

.botsidebdr{
  position: relative;
  width: 100%;
}

#ltside, #ltsidebot {
  position: absolute;
  left: 0px;
  width: 25px;
}

#rtside, #rtsidebot {
  position: absolute;
  right:0;
  width: 25px;
}

#rtsidebot, #ltsidebot {
  bottom: 0px;
  height: 260px;
}

#ltside, #rtside {
  top:25px;
  height: 260px;
}

.stuck {
  position: fixed;
  top: 0;
}

.stuck + .mainarea {
  padding-top: 28px;
}

nav {
  position: relative;
}

footer {
  clear: both;
  position: relative;
  width: 100%;
  height: 79px;
  z-index: 1;
}

footer img {
  height:79px;
  width: 100%;
}

#thinker {
  float: left;
  width: 90px;
}

#facphoto {
  float: right;
  width: 137px;
}

#footerbar {
  width: 100%;
  height: 79px;
  background-image: url(../images/footerbar.gif);
  background-size: cover;
  background-position: center center;
  text-align: center;
  font-size: 12pt;
  line-height: 70px;
}

@media screen and (max-width:1068px) {
  #header {
    height: 150px;
  }

  #righttopphoto, #lefttopphoto{
    height: 150px;
  }

  #topbar {
    height: 150px;
    background-size: 100% 150px;
  }

  #themeverse {
    font-size: 11pt;
  }

  #headline h1{
    font-size: 28pt;
  }

  footer {
    height: 70px;
  } 

  footer img {
    height: 70px;
   } 

  #footerbar {
    height: 70px;
    font-size: 11pt;
  }

  #thinker {
    width: 85px;
  }

  #facphoto {
    width: 130px;
  }
}

@media screen and (max-width:808px) {
  #header {
    height: 120px;
  }

  #righttopphoto, #lefttopphoto{
    height: 120px;
  }

  #topbar {
    height: 120px;
    background-size: 100% 120px;
  }

  #themeverse {
    font-size: 8pt;
  }

  #headline {
    min-width: 350px;
  }

  #headline h1 {
    font-size: 18pt;
  }

  footer {
    height: 65px;
  } 

  footer img {
    height: 65px;
   } 

  #footerbar {
    height: 65px;
    font-size: 10pt;
  }

  #thinker {
    width: 80px;
  }

  #facphoto {
    width: 122px;
  }
}

@media screen and (max-width:650px) {
  #header {
    height: auto;
  }

  #righttopphoto, #lefttopphoto, #ltsidebot, #rtsidebot, #ltside, #rtside {
    display: none
  }

  #topbar {
    height:auto;
    width: 100%;
    background-size: 100% 120px;  
    display: block;
    padding: 5px 0px 5px 0px;
  }

  #themeverse {
    display: none;
  }

  #headline {
    min-width: 250px;
    margin: 15px auto 5px auto;
    display: block;
  }

  #headline h1 {
    font-size: 14pt;
  }

  footer {
    height: 60px;
  } 

  footer img {
   height: 60px;
   } 

  #footerbar {
    height: 60px;
    font-size: 8pt;
  }

  #thinker {
    width: 0px;
  }

  #facphoto {
    width: 0px;
  }
}