/************* CSS RESET ***************/


/* Eric Meyer's Reset CSS v2.0 - http://cssreset.com */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  margin: 0;
  padding: 0
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
  display: block
}

body {
  line-height: 1
}

ol, ul {
  list-style: none
}

blockquote, q {
  quotes: none
}

blockquote:before, blockquote:after, q:before, q:after {
  content: none
}

table {
  border-collapse: collapse;
  border-spacing: 0
}

img {
  max-width: 100%;
}

* {
  box-sizing: border-box;
}


/************* END CSS RESET ***************/

body {
  font-family: Arial, sans-serif;
  color: #333;
}

.container {
  width: 1020px;
  margin: auto;
  overflow: hidden;
  padding: 30px 0;
}

#middle {
  background: #e5e5e5;
}

#bottom {
  background: #4d4d4d;
}

.half {
  width: 50%;
  float: left;
  padding: 0 15px;
}

.column {
  width: 33.3333%;
  float: left;
  padding: 0 15px;
}

article {
  margin-bottom: 20px;
  overflow: hidden;
}

footer {
  min-height: 300px;
  padding: 0 15px;
}


/******* Navigation styles ********/

nav {
  padding: 0 15px;
  overflow: hidden;
  margin-bottom: 50px;
}

nav img {
  float: left;
}

nav ul {
  float: right;
  width: 66.6666%;
  background: #e5e5e5;
  overflow: hidden;
  height: 44px;
}

nav ul li {
  float: left;
  width: 16.6666%;
}

nav ul li a {
  display: block;
  text-decoration: none;
  height: 44px;
  line-height: 44px;
  text-align: center;
  color: #000;
  font-weight: bold;
}


/******* Typography Rules ********/

header p {
  font-size: 130%;
  line-height: 1.5em;
}

h1, h2, h3 {
  margin-bottom: .5em;
  font-weight: bold;
}

h1 {
  font-size: 200%;
}

h2 {
  font-size: 170%;
}

h3 {
  font-size: 130%;
}

p {
  font-size: 14px;
  margin-bottom: 1em;
  line-height: 1.3em;
}


/********** last column styling ************/

.column:last-of-type article img {
  float: left;
  margin-right: 7px;
}

.column:last-of-type article p {
  float: left;
  width: 80%;
}

@media only screen and (max-width: 1020px) {
  .container {
    width: 100%;
  }
}

@media only screen and (max-width: 960px) {
  .column {
    width: 50%;
  }
  .column:first-of-type {
    width: 100%;
    padding: 0;
  }
  .column:first-of-type article {
    float: left;
    width: 33.3333%;
    padding: 0 15px;
  }
  .column:first-of-type h2 {
    margin-left: 15px;
  }
}

@media only screen and (max-width: 700px) {
  nav img {
    float: none;
    margin-bottom: 30px;
  }
  nav ul {
    float: none;
    width: 100%;
    height: 88px;
  }
  nav ul li {
    float: left;
    width: 100%;
  }
  .half {
    float: none;
    width: 100%;
  }
  header .half img {
    display: block;
    margin: auto;
  }
}

@media only screen and (max-width: 640px) {
  .column:last-of-type article p {
    float: none;
    width: 100%;
  }
}

@media only screen and (max-width: 550px) {
  .column {
    float: none;
    width: 100%;
  }
}

@media only screen and (max-width: 480px) {
  .column:last-of-type article {
    float: none;
    width: 100%;
  }
  .column:last-of-type article {
    text-align: center;
  }
}
