* {
  /* margin and padding do not effect element width */
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
   box-sizing: border-box;
}

body {
  width: 100%;
  margin: 0px;
  font-family: 'AvenirNext', sans-serif;
}

header {
  width: 100%;
  min-height: 500px;
  background-size: cover;
  padding-bottom: 25px;
}

header.homepage {
  background-image: url('/img/header-background-homepage.png');
}

header.units {
  background-image: url('/img/header-background-units.png');
}

header.livedowntown {
  background-image: url('/img/header-background-live-downtown.png');
}

header.contactus {
  background-image: url('/img/header-background-contact-us.png');
}

header .button {
  text-align: center;
  display: block;
}

header h1 {
  color: #FFFFFF;
  text-align: center;
  text-transform: uppercase;
  font-size: 60px;
  margin-top: 70px;
  margin-bottom: 40px;
  text-decoration: underline;
}

header .button {
  background-color: #299b8d;
  color: #FFFFFF;
  text-transform: uppercase;
  display: block;
  padding: 15px 25px;
  width: 270px;
  font-weight: bold;
  text-decoration: none;
  margin-left: auto;
  margin-right: auto;
  font-size: 18px;
}

header .button:hover {
  background-color: #FFFFFF;
  color: #e5515b;
  text-decoration: underline;
}

h2 {
  color: #E5515B;
  text-align: center;
  text-transform: uppercase;
  font-size: 60px;
}

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 5px solid #F2A061;
  margin: 50px 0;
  padding: 0;
}

#content img.floorplan {
  max-width: 500px;
  width: 100%;
  margin-bottom: 30px;
}

.unit-features {
  text-transform: uppercase;
  color: #E5515B;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
}

ul {
  margin-left: 0px;
  padding-left: 0px;
}

#navbar {
  text-align: center;
  padding: 30px;
}

#navbar:hover {
  background-color: #E5515B;
}

#navbar #logo {
  float: left;
}

#navbar .navbar {
  display: inline-block;
}

#navbar ul {
  list-style: none;
}

#navbar ul li {
  float: left;
}

#navbar ul :not(:last-child) {
  margin-right: 25px;
}

#navbar ul li a {
  color: #FFFFFF;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: bold;
  line-height: 44px;
  margin-right: 15px;
  display: block;
}

#navbar ul li a:hover {
  text-decoration-color: #f2a061;
  text-decoration: underline;
}

#content {
  background-color: #FFFFFF;
}

#content div.content {
  width: 100%;
  max-width: 800px;
  margin: 40px auto;
  font-size: 18px;
  font-weight: bold;
}

#units div.unit, #things div.thing {
  width: 47%;
  float: left;
}

#units div.unit:nth-child(even), #things div.thing:nth-child(even) {
  margin-left: 20px;
}

#units div.unit:nth-child(odd), #things div.thing:nth-child(odd) {
  margin-right: 20px;
}

div.unit {
  width: 100%;
  padding: 15px;
  color: #FFFFFF;
  margin-bottom: 50px;
}

div.thing {
  width: 100%;
  padding: 0px;
  color: #FFFFFF;
  margin-bottom: 50px;
  background-color: #234654;
  height: 475px;
}

div.thing div {
  padding: 15px;
  width: 100%;
  display:block;
}

div.unit.available {
  background-color: #234654;
}

div.unit.unavailable {
  background-color: #E5515B;
}

div.unit img, div.thing img {
  width: 100%;
}

div.unit h4, div.thing h4 {
  text-transform: uppercase;
  font-size: 26px;
  margin-top: 20px;
  margin-bottom: 5px;
}

div.unit span.subtitle {
  font-size: 20px;
  font-weight: bold;
}

div.unit a.button, div.thing a.button, .form input.button {
  text-transform: uppercase;
  display: block;
  text-align: center;
  width: 100%;
  margin-top: 20px;
  padding: 20px;
  border: 2px solid #234654;
  background-color: #299B8D;
  color: #FFFFFF;
  text-decoration: none;
  overflow: hidden;
}

div.unit a.button:hover, div.thing a.button:hover {
  border: 2px solid #F2A061;
  background-color: #F0F0F0;
  color: #E5515B;
  text-decoration: underline;
}

div.unit.unavailable a.button {
  border: 2px solid #F2A061;
  background-color: #F0F0F0;
  color: #7B7B7B;
}

div.form {
  background-color: #e5515b;
  width: 100%;
  padding: 30px;
  color: #FFFFFF;
}

.form .half {
  width: 50%;
  float: left;
}

.form .half.left {
  padding-right: 15px;
}

.form .half.right {
  padding-left: 15px;
}

.form input[type='text'], .form textarea {
  width: 100%;
  padding: 10px;
}

.form div {
  text-transform: uppercase;
  font-size: 20px;
}

.form .required, .form label {
  font-size: 12px;
  text-transform: lowercase;
}

.form h3 {
  margin-top: 15px;
  margin-bottom: 10px;
}

footer {
  background-color: #234654;
  color: #FFFFFF;
  padding: 100px 60px;
}

footer ul {
  list-style: none;
}

footer ul li {
  float: left;
  text-align: right;
  margin-left: 20px;
  font-size: 16px;
}

footer #logo {
  font-size: 10px;
  margin-right: 60px;

}

footer a {
  color: #FFFFFF;
  font-weight: bold;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 24px;
}

footer a:hover {
  color: #f2a061;
  text-decoration: underline;
}

/* media query - mobile device size only */
@media (max-width: 480px) {
  header h1 {
    font-size: 30px;
  }

  .form .half {
    width: 100%;
    float: none;
  }

  div.content {
    padding-left: 15px;
    padding-right: 15px;
  }

  .form .half.right, .form .half.left {
    padding-left: 0px;
    padding-right: 0px;
  }

  #units div.unit, #things div.thing {
    width: 100%;
    float: none;
  }

  #units div.unit:nth-child(even), #things div.thing:nth-child(even) {
    margin-left: 0;
    margin-right: 0;
  }

  #units div.unit:nth-child(odd), #things div.thing:nth-child(odd) {
    margin-left: 0;
    margin-right: 0;
  }
}
