/* #Variables
================================================== */
/* #Reset Styles
================================================== */
html, body, div, span, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
abbr, address, cite, code,
del, dfn, em, img, ins, kbd, q, samp,
small, strong, sub, sup, var,
b, i,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent; }

body {
  line-height: 1; }

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

nav ul {
  list-style: none; }

blockquote, q {
  quotes: none; }

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

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent; }

ins {
  background-color: #ff9;
  color: #000;
  text-decoration: none; }

mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold; }

del {
  text-decoration: line-through; }

abbr[title], dfn[title] {
  border-bottom: 1px dotted;
  cursor: help; }

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

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #bbb;
  margin: 1em 0;
  padding: 0; }

input, select {
  vertical-align: middle; }

/* #Site Styles
================================================== */
::selection {
  background: black;
  color: #00b1b6; }

body {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  line-height: 1.8em;
  background: url(../images/body-tail.gif) center top repeat #e7e7e7; }

a {
  color: #00989d;
  text-decoration: none;
  -webkit-transition: all 0.2s ease;
  -moz-transition: all 0.2s ease;
  -o-transition: all 0.2s ease;
  -ms-transition: all 0.2s ease;
  transition: all 0.2s ease; }

a:hover,
a:focus {
  color: #00b1b6; }

.full-width {
  width: 100%; }

header {
  background: url(../images/border-bot.gif) left bottom repeat-x; }

h1 {
  font-size: 3em;
  padding: 30px 0;
  line-height: 1.2em; }

section.main {
  background: url(../images/content-tail.gif) center top repeat;
  padding: 40px 0; }

h2 {
  font-size: 2.1em;
  line-height: 1.2em;
  color: black;
  letter-spacing: -1px;
  margin-bottom: 10px; }

h3 {
  font-size: 1.3em;
  margin-top: 10px; }

h4 {
  color: #00989d;
  font-size: 1.1em;
  font-weight: normal; }

p {
  margin: 5px 0 10px 0; }

figure {
  margin: 0 20px 0 0;
  float: left; }

figure img {
  box-shadow: 2px 2px 5px #aaa; }

a.button {
  background: #00989d;
  color: white;
  padding: 10px 20px;
  margin: 10px 0;
  display: inline-block;
  text-decoration: none; }

a.button:hover,
a.button:focus {
  background: #00b1b6; }

footer {
  background: url(../images/footer-tail.gif) left top repeat-x;
  padding: 40px 0; }

footer .right-border {
  background: url(../images/spacer-1.gif) right top repeat-y; }

/* #Media Queries
================================================== */
/* Tablet Portrait size to standard 960 (devices and browsers) */
/* All Mobile Sizes (devices and browser) */
/* Mobile Landscape Size to Tablet Portrait (devices and browsers) */
@media only screen and (min-width: 480px) and (max-width: 767px) {
  body {
    font-size: 16px; }

  h1 {
    font-size: 2em; }

  /*figure {
  	float: none;
  }*/
  a.button {
    display: block;
    text-align: center;
    padding: 20px; }

  footer .right-border {
    background: none; } }
/* Mobile Portrait Size to Mobile Landscape Size (devices and browsers) */
@media only screen and (max-width: 479px) {
  body {
    font-size: 16px; }

  h1 {
    font-size: 2em; }

  figure {
    float: none; }

  a.button {
    display: block;
    text-align: center;
    padding: 20px; }

  footer .right-border {
    background: none; } }
