/* ========================================================================== */
/* CUSTOM */
/* ========================================================================== */

/* Style the body */
body {
  font-family: Verdana, Arial, sans-serif;
  font-size: 100%;
  margin: 0;
  padding: 0;
  color: #333333;
  background-color: #05313f;
  background-image: url('/images/bg-highlight.png');
	background-repeat: repeat-x;
}

main{
  margin: auto;
  width: 98%;
  max-width: 1024px;
  background-color: #fcfce9;
  border-left: solid 1px #ddd;
  border-right: solid 1px #ddd;
}

/* Header/logo */
.header {
  padding: 6rem;
  background: transparent url('../images/border-tl-color1.png') no-repeat;
}

/* Style the top navigation bar */
nav {
  display: flex;
  text-align: center;
}

/* Style the navigation bar links */
nav a {
  padding: 0.5rem 2rem;
  margin: 0 20px;
  text-decoration: none;
  background-color: #eef8f6;
  border: solid 1px #aa613a;
  border-radius: 20px;
  color: #44A0AD;
}

/* Change color on hover */
nav a:hover {
  background-color: #ddd;
  color: black;
}

.social-buttons {
  display: none;
}

section {
  margin: 0.25rem 0;
  padding: 0 1rem 0.25rem 1rem;
  clear: both;
}

section:first-of-type {
  padding: 1rem 1rem;
}

section.alt
{
  background-color: #eef8f6;
  border: solid 1px #ddd;
  border: 0 1px;
}

/* Column container */
.row {
  display: flex;
  flex-wrap: wrap;
}

img.home-image {
  border: 1px solid #caa17a;
  border-radius: 6px;
  padding: 3px;
  width: 200px;
}

/* Footer */
.footer {
  padding: 20px;
  text-align: center;
}

h1 {
  padding: 0.5rem 0;
  margin: 0;
  font-weight: bold;
  font-size: 130%;
  line-height: 22px;
  color: #aa613a;
}

h2, h3 {
  padding: 0;
  padding-top: 0.25rem;
  font-weight: bold;
  color: #9a512a;
}

h2 {
  font-size: 120%;
  line-height: 18px;
}

ul li {
  margin: 1rem 0 1rem 0;
}

p {
  line-height: 130%;
}

/* Responsive layout - when the screen is less than 700px wide, make the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 700px) {
  .row,
  .navbar {
    flex-direction: column;
  }
}

@media screen and (max-width: 1024px) {
  main{
    width: 100%;
    background-color: #fcfce9;
  }
  
  nav a {
    font-size: 250%;
    padding: 1rem 1.2rem;
    border: solid 2px #aa613a;
    display:flex;
    align-items: center;
  }

  section {
    margin: 2rem 0;
    padding-left: 2rem;
    padding-right: 2rem;
    clear: both;
  }

  img.home-image {
    width: 30%;
  }

  img.composite-image
  {
    width: 100%;
  }

  #map {
    height: 800px;
  }
}