html, body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: "Gill Sans", "Gill Sans MT", Calibri, sans-serif;
  height: 100%;
  padding: 0;
  margin: 0;
  min-width: 350px;
  background-color: RGB(245, 241, 241, 1.0);
}

ul {
  list-style-type: none;
}

.header-logo {
  max-width: 168px;
  margin-top: 10px;
}

header {
  padding: 1em;
  background-color: white;
}

footer {
  background-color: #003a70;
  color: white;
  margin: 0;
  padding: 1em;
  margin-top: 2em;
}

.footer-top {
  margin: auto;
  max-width: 1000px;
  width: 100%;
  display: flex;
}

.footer-bottom {
  width: 100%;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  padding: 0;
}

.footer-section {
  flex: 1;
}

.footer-contact a {
  color: white;
  text-decoration: none;
  padding-top: 0.5em;
  margin-left: 0.5em;
}

.footer-contact div {
  display: flex;
  float: right;
  margin-right: 2em;
  margin-left: 2em;
}

.footer-contact img {
  height: 2em;
}

footer h3 {
  font-weight: 100;
  font-size: 2em;
  margin: 0;
  float: left;
  padding: 0;
  margin-left: 1em;
}

footer h4 {
  color: #92C0E9;
  font-weight: 800;
  font-size: 2em;
  margin: 0;
  float: left;
  padding: 0;
}

.footer-icon {
  height: 2.5em;
  float: left;
  margin: 0;
}

.header-bkgnd {
  margin: auto;
  max-width: 1000px;
  position: relative;
}

.header-links {
  margin: 0;
  position: absolute;
  top: 30%;
  right: 0;
  padding: 0;
  visibility: visible;
}

.header-logo-link {
  text-decoration: none;
  margin: 0;
}

.header-links li {
  float: left;
}

.header-links a {
  text-decoration: none;
  color: black;
  margin-left: 0.5em;
  margin-right: 0.5em;
  font-size: 1.3em;
}

.header-links a:hover {
  color: #92C0E9;
}

.home-banner {
  height: 30vh;
  min-height: 7em;
  width: 100%;
  background-image: url('images/clouds-background.jpg');
  background-repeat: no-repeat;
  background-position: center;
  position: relative;
}

.tagline-text {
  margin: auto;
  color: #003a70;
  font-size: 2em;
  font-weight: normal;
  position:absolute;
  top: 20%;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 1000px;
}

.tagline-text p {
  margin: 0;
}

.tagline-text p.tagline-text2 {
  margin-left: 1.5em;
  font-size: 1.2em;
  color: white;
}

.tagline-text p.tagline-text3 {
  margin-left: 2.1em;
  margin-top: -0.2em;
  font-size: 1.3em;
  font-weight: bold;
  /*text-shadow: -7px 3px 0 #003a70;-->*/
  /*color: white;*/
}

main {
  height: 100%
}

#menuToggle span {
  display: none
}

#menuToggle input {
  display: none
}

.home-main-section {
  display: flex;
  padding: 2em 10% 1em 10%;
  color: black;
  max-width: 1000px;
  margin: auto;
  margin-bottom: 2em;
}

div.home-main-left {
  flex: 2;
  padding: 1em;
}

div.home-main-left p {
  font-size: 2.3em;
}

div.home-main-right {
  flex: 3;
  padding: 1em;
  font-size: 1.2em;
  position: relative;
}

div.home-main-right p {
  position: absolute;
  margin: 0;
  top: 50%;
  transform: translateY(-50%);
}

div.home-page-img {
  width: 90%;
  max-width: 980px;
  margin: auto;
  overflow: hidden;
  max-height: 35vh;
}

div.home-page-img > img {
  max-width: 100%;
}

.home-mission {
  max-width: 1000px;
  text-align: center;
  margin: auto;
}

.home-mission ul {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0;
  padding: 0;
}

.home-mission li {
  width: 8em;
  margin-left: 1em;
  margin-right: 1em;
}

.home-mission h1 {
  margin-top: 2em;
  font-size: 2.0em;
  font-weight: normal;
}

.home-mission p > span {
  font-weight: bold;
}

.home-mission li > img {
  width: 2em;
}

.home-core {
  max-width: 1000px;
  text-align: center;
  margin: auto;
}

.home-core h1 {
  margin-top: 2em;
  font-size: 2.0em;
  font-weight: normal;
}

.home-core-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 0;
  padding-left: 0.5em;
  padding-right: 0.5em;
}

.home-core-list li {
  display: flex;
  width: 50%;
  min-width: 450px;
}

.home-core-list img {
  width: 100%;
  max-width: 15em;
}

.home-core-list div {
  flex: 3;
}

.home-core-list h3 {
  text-align: center;
  padding-left: 0.5em;
  padding-right: 0.5em;
  margin: 0;
}

.home-core-list p {
  text-align: center;
  padding: 0.5em;
  padding-bottom: 0;
  margin: 0;
}

.home-core-list div.home-core-img {
  flex: 2;
}

.president-bio img {
  float: left;
  width: 40%;
  margin-right: 2em;
}

.president-bio h4, .president-bio h3 {
  margin-left: 40%;
  text-align: center;
}

.president-bio h3 {
  color: #92C0E9;
}

.about-main p {
  padding-left: 1em;
  padding-right: 1em;
}

.about-main, .careers-main, .services-main, .contact-main {
  max-width: 1000px;
  margin: auto;
}

.careers-main div {
  margin-top: 30vh;
  margin-bottom: 30vh;
}

.careers-main p, .careers-main h2 {
  text-align: center;
}

.core-values-list {
  padding: 0;
  margin: 0;
}

.core-values-list img {
  width: 3em;
  float: left;
  margin-right: 2em;
  margin-left: 1em;
}

.core-values-list h4 {
  padding-top: 0.8em;
  margin-bottom: 1.5em;
}

.about-main h2 {
  width: 100%;
  text-align: center;
  color: #003a70;
}

.short-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
}

.short-body {
  height: 100%;
}

#comment-form {
  /*border: 1px solid #003a70;*/
  max-width: 600px;
  margin: auto;
  margin-top: 3em;
}

#comment-form > h2 {
  text-align: center;
  margin: auto;
  color: #003a70;
  font-size: 1.7em;
  margin-top: 0.5em;
}

#comment-form > input, #comment-form > textarea {
  display: block;
  width: 80%;
  padding: 0.2em;
  padding-left: 1em;
  padding-right: 1em;
  margin: auto;
  margin-top: 1em;
  font-family: "Gill Sans", "Gill Sans MT", Calibri, sans-serif;
}

#comment-form > textarea {
  resize: none;
  height: 12em;
}

#comment-form > input.contact-form-button {
  background-color: #003a70;
  color: white;
}

#comment-form * {
  box-sizing: border-box;
}

@media screen and (max-width: 940px) {
  .home-core-list li {
    margin-top: 1em;
  }
}

@media screen and (max-width: 600px) {
  .tagline-text {
    font-size: 1.2em;
  }

  .main-banner {
    height: 15vh;
  }
  
  #menuToggle {
    display: block;
    position: absolute;
    top: 1.2em;
    right: 1.5em;
    z-index: 1;
    -webkit-user-select: none;
    user-select: none;
  }
  
  #menuToggle a {
    transition: color 0.3s ease;
  }
  
  #menuToggle input {
    display: block;
    width: 40px;
    height: 32px;
    position: absolute;
    top: -7px;
    left: -5px;
    
    cursor: pointer;
    
    opacity: 0; /* hide this */
    z-index: 2; /* and place it over the hamburger */
    
    -webkit-touch-callout: none;
  }
  
  #menuToggle span {
    display: block;
    width: 33px;
    height: 4px;
    margin-bottom: 5px;
    position: relative;
    
    background: #003a70;
    border-radius: 3px;
    
    z-index: 1;
    
    transform-origin: 4px 0px;
    
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                opacity 0.55s ease;
  }
  
  #menuToggle span:first-child {
    transform-origin: 0% 0%;
  }
  
  #menuToggle span:nth-last-child(2) {
    transform-origin: 0% 100%;
  }
  
  #menuToggle input:checked ~ span {
    opacity: 1;
    transform: rotate(45deg) translate(-2px, -1px);
    background: #232323;
  }
  
  #menuToggle input:checked ~ span:nth-last-child(3) {
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
  }
  
  #menuToggle input:checked ~ span:nth-last-child(2) {
    transform: rotate(-45deg) translate(0, -1px);
  }
  
  #menu {
    position: absolute;
    width: 300px;
    margin: -100px 0 0 100px;
    padding: 50px;
    padding-top: 125px;
    background: #ededed;
    list-style-type: none;
    -webkit-font-smoothing: antialiased;

    /* to stop flickering of text in safari */
    transform-origin: 0% 0%;
    transform: translate(-100%, 0);
    
    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
  }
  
  #menu li {
    padding: 10px 0;
    font-size: 22px;
  }
  
  #menuToggle input:not(:checked) ~ ul {
    transform: none;
  }

  .header-links {
    top: unset;
    right: unset;
  }

  .header-links li {
    float:none;
  }

  .home-main-section {
    display: block;
    padding: 0;
    flex: unset;
  }

  .home-main-section div {
    padding-top: 0;
    padding-bottom: 0;
  }

  div.home-main-right p {
    position:relative;
    transform: unset;
  }

  body {
    min-width: unset;
  }

  .footer-top {
    display: inline-block;
  }

  .footer-section {
    width: 100%;
    display: flex;
  }

  .footer-contact div {
    float: none;
    display: block;
    width: 100%;
    text-align: center;
  }

  .footer-contact a {
    padding-bottom: 1.5em;
    padding-top: 0.3em;
    margin: 0;
    display: block;
  }

  .footer-logo h3, .footer-logo h4 {
    float: none;
    display: inline-block;
  }

  .footer-logo img {
    float: none;
    display: inline;
  }

  .footer-logo {
    margin-bottom: 1em;
  }
  
  .footer-logo div {
    flex-grow: 1;
  }

  .home-core-list li {
    display: flex;
    flex-direction: column;
    width: unset;
    min-width: unset;
  }

  .home-core h1 {
    margin-top: 0.5em;
    margin-bottom: 0;
  }

  .home-mission h1 {
    margin-top: 1em;
    margin-bottom: 0.5em;
  }

  .home-core-list li:nth-child(even) > div {
    order: 2;
    flex: unset;
  }

  .home-core-list li:nth-child(even) > div.home-core-img {
    order: 1;
  }

  .home-core-list p {
    max-width: 15em;
  }

  .president-bio img {
    float: none;
    width: 80%;
    margin-left: 10%;
    margin-right: 10%
  }
  
  .president-bio h4, .president-bio h3 {
    margin-left: 0;
    text-align: center;
  }

  .short-footer {
    position: unset;
    width: unset;
    left: unset;
  }

  #comment-form {
    margin: 1em;
  }

  #comment-form input, #comment-form > textarea {
    width: 70%;
  }
}