
body {
  text-align: center;
}

#header {
  height: 570px;
  width: 100%;
  margin: 0;
  padding: 0;
  background-image: url('../images/header_bg@2x.png');
  background-size: cover;
  background-repeat: no-repeat;
  background-position: left center;
  position: relative;
}

#header_logo {
  width: 648px;
  height: auto;
  position: absolute;
  top: 30px;
  right: 30px;
}

#header_description {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  font-family: 'Oswald';
  font-weight: bold;
  font-size: 0.9em;
  color: #18376A;
  line-height: 1.7em;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid #D5D5D5;
  position: absolute;
  right: 20px;
  bottom: 10px;
  padding: 15px 20px 16px 20px;
  text-align: left;
}

#content {
  width: auto;
  display: inline-block;
  margin: 0 auto;
  text-align: center;
  padding-bottom: 50px;
  margin-bottom: 20px;
  padding-left: 20px;
  padding-right: 20px;
  position: relative;
}

#content h1 {
  padding: 5px;
  background-color: #286490;
  font-family: 'Maven Pro', sans-serif;
  font-size: 1.2em;
  line-height: 1.3em;
  color: #FFFFFF;
  text-align: center;
  margin: 10px 30px;
  font-weight: 500;
}


.cover {
  width: 187px;
  display: inline-block;
  margin: 0px;
  padding: 0px 30px;
}

.cover a {
  text-decoration: none;
}

.cover a:hover {
  text-decoration: none;
}

.cover h3 {
  color: #286490;
  font-size: 0.9em;
  font-weight: normal;
  font-family: 'Maven Pro', sans-serif;
}

.cover img {
  width: 100%;
  height: auto;
  -webkit-transition: opacity 0.3s;
  -moz-transition: opacity 0.3s;
  transition: opacity 0.3s;
}

.cover img:hover {
  opacity: 0.8;
}

.button {
  background-color: #286490;
  color: #ffffff;
  text-align: center;
  font-size: 0.8em;
  padding: 10px 5px;
  padding-left: 20px;
  margin: 5px;
  background-image: url('../images/triangle@2x.png');
  background-repeat: no-repeat;
  background-position: 8px 8px;
  background-size: 12px 20px;
  text-decoration: none;
  font-family: 'Maven Pro', sans-serif;
  -webkit-transition: all 0.2s;
  -moz-transition: all 0.2s;
  transition: all 0.2s;
}

.button:hover {
  text-decoration: none;
  background-position: 12px 8px;
}

#footer_logo {
  width: 406px; 
  height: auto; 
  position: absolute; 
  right: 0px; 
  bottom: 0px;
  margin-right: 40px;
}


/** Adjustments for iPad landscape **/
@media (max-width: 1025px) and (orientation: landscape) {
  #header {
    height: 280px;
  }

  #header_logo {
    top: 20px;
    right: 20px;
  }

  .cover {
    padding: 0px 20px;
  }
}


/** Adjustments for iPad portrait **/
@media (max-width: 1025px) and (orientation: portrait) {
  #header {
    height: 370px;
  }

  #header_logo {
    width: 648px;
    top: 20px;
    right: 20px;
  }

  #content h1 {
    margin: 10px 140px;
  }

  .cover {
    padding: 0px 40px;
  }

  #footer_logo {
    margin: auto;
    left: 0px;
    right: 0px;
  }
}


/** Adjustments for iPhone **/
@media (max-width: 481px) {
  #header {
    height: 290px;
  }

  #header_logo {
    width: 300px;
    top: 10px;
    right: 5px;
  }

  #header_description {
    font-size: 0.7em;
  }

  #content h1 {
    font-size: 0.6em;
    margin: 10px 45px;
  }

  .cover {
    padding: 0px 20px;
  }

  #footer_logo {
    margin: auto;
    left: 0px;
    right: 0px;
    width: 300px;
  }
}


/** Adjustments for iframe 982p px **/
@media (max-width: 990px) {
  .cover {
    padding: 0px 20px;
  }

  #content h1 {
    margin: 10px 20px;
  }
}