html {
  position: relative;
  min-height: 100%;
  background-image: url("../assets/images/background.jpg");
  background-position: center left;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
 
}
body {
  width: 90%;
  font-family: "Open Sans", sans-serif;
  font-size: 1.1em;
  color: #fff;
  margin:  auto;
  box-sizing: border-box;
  
}
h2 {
  margin: 20px 50px 0 50px;
}
h3 {
  padding: 20px 50px 0 50px;
}
p {
  padding: 0 50px 20px 50px;
}
li {
  margin-left: 55px;
}

header {
  width: 100%;
  height: 250px;
}
#logo-main {
  position: absolute;
}
#tagline-main {
  position:relative;
  margin: 0 0 0 0;
  top: 200px;
  text-shadow: 2px 2px 2px #000;
}

nav {
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-evenly;
  align-content: center;
  width: 100%;
  height: 50px;
  background: rgba(0, 0, 0, 0.8);
  font-size: 1.1em;
  margin-bottom: 22px;
  padding-top: 22px;
}
nav a {
  text-decoration: none;
  color: #fff;
}
.drop-button {
  background: none;
  font-size: 1.1em;
  color: #fff;
  border: 1px solid rgba(0, 0, 0, 0);
  cursor: pointer;
  max-width: 100px;
  outline: none;
}
.dropdown {
  position: relative;
  display: inline-block;
}
.dropdown-content {
  display: none;
  position: absolute;
  background: rgba(0, 0, 0, 1);
  max-width: 275px;
  z-index: 1;
  text-align: left;
  padding: 0 10px 0 0;
}
.dropdown-content-lite {
  display: none;
  position: absolute;
  background: rgba(0, 0, 0, 1);
  width: 150px;
  z-index: 1;
  text-align: left;
  padding: 0 10px 0 0;
  left: 0;
  right: 0;
}
.dropdown-content a,
.dropdown-content-lite a,
.dropdown-content-lite p {
  text-decoration: none;
  color: #fff;
  margin: 10px 0 10px 10px;
  display: block;
  height: 30px;
  white-space: nowrap;
}
.dropdown-content a:hover,
.dropdown-content-lite a:hover {
  color: #9a9a9a;
}

/* Makes the dropdown appear */

.dropdown:hover .dropdown-content {
  display: block;
}
.dropdown:hover .dropdown-content-lite {
  display: block;
}
.dropdown:active .dropdown-content {
  display: block;
}
.dropdown:active .dropdown-content-lite {
  display: block;
}

main {
  width: 100%;
  min-height: 100px;
  margin-top: -22px;
}
.main-lite {
  background: rgba(0, 0, 0, 0.5);
  height: 100%;
  width: 100%;
  padding: 17px 0 20px 0;
}
.main-dark {
  background: rgba(0, 0, 0, 0.8);
  height: 100%;
  width: 100%;
  padding: 10px 0 10px 0;
}
.main-centre {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-content: center;
  width: calc(100% - 40px);
  min-height: 50px;
  text-align: center;
  margin: 0 0 70px 0;
  padding: 10px 20px 10px 20px;
}

/* Pages That Need to Stretch to the Bottom (Investors, News) */

.main-lite-lite {
  background: rgba(0, 0, 0, 0.5);
  min-height: 253px;
  max-height: 100%;
  width: 100%;
  padding: 17px 0 20px 0;
}

/* Index Page */

.main-centre-table {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-evenly;
  align-content: center;
  width: 100%;
  min-height: 50px;
  text-align: center;
}

/* Contact Page */

.main-centre-contact {
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  align-content: stretch;
  padding: 20px 50px 20px 50px;
  text-align: left;
}
.main-centre-contact h3 {
  margin: 0;
  padding: 0;
}
.main-centre-contact-container {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-content: center;
}
.fa-phone,
.fa-phone a,
.fa-envelope-open-text,
.fa-envelope-open-text a {
  margin-right: 10px;
}
.contact-button {
  width: calc(30% - 40px);
  height: 70px;
  outline: none;
  border: 1px solid #fff;
  background: rgba(0, 0, 0, 0);
  color: #fff;
  font-size: 0.9em;
  margin: 30px 20px 0 20px;
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-content: center;
  padding: 0;
}
.contact-button-long {
  width: calc(100% - 150px);
  height: 70px;
  outline: none;
  border: 1px solid #fff;
  background: rgba(0, 0, 0, 0);
  color: #fff;
  font-size: 0.9em;
  margin: 30px 20px 0 20px;
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-content: center;
  padding: 0;
}
.contact-button a,
.contact-button-long a {
  text-decoration: none;
  color: #fff;
  width: 100%;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-content: center;
}
.contact-button p,
.contact-button-long p {
  margin: 0;
  padding: 0;
}

/* Divisions Pages */

.main-lite-div {
  background: rgba(0, 0, 0, 0.5);
  height: 100%;
  width: 100%;
  padding: 17px 0 20px 0;
  text-align: center;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.main-dark-div {
  background: rgba(0, 0, 0, 0.8);
  height: 100%;
  width: 100%;
  padding: 10px 0 10px 0;
  text-align: center;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}
.main-lite-div a,
.main-dark-div a {
  text-decoration: none;
  color: #fff;
}
.main-lite-div a:hover,
.main-dark-div a:hover {
  color: #9a9a9a;
  text-shadow: 2px 2px 2px #000;
}

.division-button {
  width: 100%;
  height: 100%;
  background-position: center left;
  background-repeat: no-repeat;
  background-size: cover;
}
.division-button p,
h1 {
  text-shadow: 2px 2px 2px #000;
}

.img-header {
  width: 95%;
  height: 200px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 25px;
  margin: 0 auto;
}

/* Index "Learn More" */

.main-button {
  width: calc(100% - 40px);
  height: 50px;
  margin: 20px;
  font-size: 1.1em;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(0, 0, 0, 0);
  cursor: pointer;
  outline: none;
}
.main-button a {
  text-decoration: none;
  color: #fff;
}
.main-dark p {
  padding: 0 50px 10px 50px;
}

/* Index Last Section, Projects */

.main-lite-image-container {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-content: center;
  background: rgba(0, 0, 0, 0.5);
  min-height: 50px;
  width: 100%;
  padding: 17px 0 20px 0;
}
.img-buttons {
  width: calc(45% - 40px);
  height: 300px;
  padding: 20px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  margin: 10px;
  display: inline;
}
.img-button-titles {
  width: 100%;
  height: 300px;
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-content: center;
}
.img-button-titles h1 {
  text-shadow: 2px 2px 2px #000;
  font-size: 3em;
  vertical-align: middle;
  line-height: 230px;
}
.img-button-titles h2 {
  text-shadow: 2px 2px 2px #000;
  font-size: 2.2em;
  vertical-align: middle;
  line-height: 250px;
}
.img-buttons:hover .img-button-titles {
  display: none;
}
.img-buttons:hover .img-button-desc {
  display: flex;
  flex-flow: row wrap;
  justify-content: center;
  align-content: center;
}
.img-button-desc {
  height: 300px;
  width: 100%;
  position: relative;
  display: none;
  font-size: 0.9em;
  background: rgba(0, 0, 0, 0.85);
}
.img-button-desc p {
  padding: 10px 5px 5px 10px;
}
.img-button-desc a,
.img-buttons a,
.img-button-titles a {
  text-decoration: none;
  color: #fff;
}

/* Index First Section, Icon List */

.img-button {
  width: 12%;
  height: 100px;
  display: flex;
  flex-flow: row wrap;
  justify-content: flex-start;
  align-content: center;
  background: rgba(0, 0, 0, 0);
  border: none;
  outline: none;
  font-size: 200%;
  cursor: pointer;
}
.img-button a {
  text-decoration: none;
  color: #fff;
  font-size: 2em;
}
.hovericon {
  width: 100%;
}
.hovericon a {
  text-decoration: none;
  color: #fff;
  font-size: 0.4em;
}
.fa-space-shuttle,
.fa-archway,
.fa-leaf,
.fa-user-astronaut,
.fa-atom,
.fa-satellite,
.fa-fighter-jet {
  width: 100%;
  color: #fff;
  font-size: 3em;
}
.mobile-division-button {
  display: none;
  width: calc(100% - 40px);
  height: 50px;
  margin: 20px;
  font-size: 1.1em;
  color: #fff;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(0, 0, 0, 0);
  cursor: pointer;
  outline: none;
}

/* Web Page Footer*/

footer {
        width: 90%;
        height: 100px;
        text-align: center;
        background:#000;
        font-size: 1em;
        font-weight: 400;
        padding: 25px 0px 15px 0px;
        position: absolute;
         
                 }
footer a{
    display: inline-block;
	height: 35px;
	width: 40px;
	background-color: #2020a3dc;
	margin:0 10px 10px 0;
	text-align: center;
	line-height: 40px;
	border-radius: 50%;
	color: #ffffff;
	transition: all 0.5s ease;
 
}
footer a:hover{
	color: white;
	background-color:blue;
}


footer p{
padding-top: 10px;


}
footer{margin-bottom: 100px;
}

/*
footer {
   width: 90%;
  height: 100px;
  padding: 40px 0 10px 0;
  background-color:#000;
  position:absolute;
  text-align:center;
  font-size: 15px;
 margin-bottom: 100px;
  
    }
 
    footer{
      margin-bottom: 100px;
    }
 footer p{
padding-top:20px;
 }
*/
 /*Media Queries */


 @media screen and (max-width: 750px) {
  html, body {
      width: 95%;
      margin: 0 auto;
  }
  header {
      height: 200px;
      text-align: center;
  }
      #logo-main img {
          width: 100%;
          margin: 0 auto;
      }
      #logo-main {
          height: 150px;
          width: calc(100% - 50px);
      }
      #tagline-main {
          display: none;
      }
  h2 {
      margin-top: 0;
  }

  .dropdown-content {
      left: -51px;
  }
  .drop-button {
      max-width: 100px;
      font-size: 100%;
  }
  .dropdown {
      margin: 0;
  }

  .main-centre {
      margin: 0 0 30px 0;
      flex-flow: row wrap;
  }
  .drop-button-dark {
      margin-top: 50px;
  }

  .img-buttons {
      width: 100%;
  }
  .img-button {
      width: 40%;
      justify-content: flex-start;
  }
  .img-button-desc p {
      font-size: 0.8em;
  }
  .img-button-titles {
      text-align: center;
  }

  .main-centre-contact h1 {
          margin-top: 0;
      }
  .contact-button, .contact-button-long {
      width: 100%;
      margin: 30px 0 0 0;
  }

  .main-centre-table {
      display: none;
  }
  .mobile-division-button {
      display: flex;
      flex-flow: row nowrap;
      justify-content: center;
      align-content: center;
  }
      .mobile-division-button a {
          text-decoration: none;
          color: #fff;
          padding-top: 7px;
      }

  .main-lite p, .main-dark p {
      margin: 20px -20px 10px -20px;
  }
  .main-lite h3, .main-dark h3 {
      margin: 0 -20px 10px -20px;
  }
  h2 {
      margin: 10px 30px 10px 30px;
  }

  li {
      margin-left: 0;
  }

  .main-centre-contact h3 {
      margin-left: 0;
  }

  .fa-phone, .fa-phone a, .fa-envelope-open-text, .fa-envelope-open-text a {
      margin-right: 0;
  }
  .contact-button {
      width: 100%;
      height: 70px;
      outline: none;
      border: 1px solid #fff;
      background: rgba(0, 0, 0, 0);
      color: #fff;
      font-size: 0.9em;
      margin: 30px 0 0 0;
      display: flex;
      flex-flow: row wrap;
      justify-content: center;
      align-content: center;
      padding: 0;
  }
      .contact-button p {
          margin: 0 0 0 10px;
          padding: 0;
      }
}
@media screen and (max-width: 580px) {
  header {
      height: 190px;
  }
}
@media screen and (max-width: 500px) {
  header {
      height: 150px;
  }
}
