/*****************************************
** TABLE OF CONTENTS

Search for any of these variables (i.e. "$MEDIA DEFAULTS") to jump to those styles.

- $FONTS .................... Google font imports
- $GROUP CLEARFIX HELPER .... Clearfix group helper - add the class "group" to any element to clear floats inside.
- $MEDIA DEFAULTS ........... Default img and media tag behaviours
- $ROOT ..................... Base font size and default typography styles
- $LINKS .................... Default styles for links
- $HEADINGS ................. h1, h2, h3, h4, h5 & h6 tag styles
- $PARAGRAPHS ............... p tag styles
- $REGIONS .................. Default "l-region" styles - add class "l-region" to add appropriate "section" spacing to a section/div.
- $HEADER & FOOTER .......... Header and footer styles.
- $BLOCK .................... Add the class "l-block" to any div (with additional classes "l-block--left" and "l-block--right" to float it) to make a block feature
- $MAP ...................... Default map styles. Height is calculated via JS also.
- $MENGEROMETE .............. Styles for the Mengerometer.
- $CUSTOM LISTS ............. .icon-list and .logo-list - custom ul classes used to style lists a certain way.

*****************************************/



/*****************************************
** $FONTS
*****************************************/

@import url('http://fonts.googleapis.com/css?family=PT+Sans:400,700,400italic,700italic');

/*****************************************
** $GROUP CLEARFIX HELPER
*****************************************/
.group {
  *zoom: 1;
}

.group:before,
.group:after {
  content: " ";
  display: table;
}

.group:after {
  clear: both;
}

/*****************************************
** $MEDIA DEFAULTS
*****************************************/

img {
  max-width: 100%;
  height: auto;
  vertical-align: top;
}

/*****************************************
** $ROOT
*****************************************/

html {
  font-family: "PT Sans", Helvetica, Arial, sans-serif;
  font-size: 112.5%;
  line-height: 1.4;
  color: #666;
  background: #fff;
}

/*****************************************
** $LINKS
*****************************************/

a {
  color: #861e22;
}

a:hover,
a:focus {
  color: #5c1517;
}

/*****************************************
** $HEADINGS
*****************************************/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 100;
  margin-top: 0em;
  padding-top: 0em;
  padding-bottom: 0em;
  margin-bottom: 1em;
}

h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a {
  color: inherit;
  text-decoration: none;
}

h1 {
  font-size: 48px;
  line-height: 1;
  margin-bottom: 0;
  color: #5d6c6f;
}

h2 {
  font-size: 30px;
}

h3 {
  font-size: 24px;
}

h4 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 0.5em;
}

h5 {
  margin-bottom: 0;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
}

h6 {
  margin-bottom: 0;
  font-size: 18px;
  font-weight: 700;
}

@media (max-width: 600px) {
  h2 {
    font-size: 24px;
  }

  h3,
  h4 {
    font-size: 20px;
  }
}

/*****************************************
** $PARAGRAPHS
*****************************************/

p {
  margin: 0;
  padding-top: 0em;
  padding-bottom: 0em;
  margin-bottom: 1em;
}

p + img {
  float: left;
  margin-right: 1em;
}

p:last-child {
  margin-bottom: 0;
}

/*****************************************
** $REGIONS
*****************************************/

.l-region {
  max-width: 1120px;
  padding-left: 20px;
  padding-right: 20px;
  margin: 45px auto;
  *zoom: 1;
}

@media (max-width: 1000px) {
  .l-region {
    margin: 25px auto;
  }
}

.l-region:before,
.l-region:after {
  content: " ";
  display: table;
}

.l-region:after {
  clear: both;
}

/*****************************************
** $HEADER & FOOTER
*****************************************/

.l-header,
.l-footer {
  background: #861e22;
  background: -moz-linear-gradient(top, #861e22 0%, #721a1d 100%);
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#861e22), color-stop(100%,#721a1d));
  background: -webkit-linear-gradient(top, #861e22 0%,#721a1d 100%);
  background: -o-linear-gradient(top, #861e22 0%,#721a1d 100%);
  background: -ms-linear-gradient(top, #861e22 0%,#721a1d 100%);
  background: linear-gradient(to bottom, #861e22 0%,#721a1d 100%);

  color: #fff;
}

.l-header h1 {
  max-width: 519px;
  width: 100%;
  height: auto;
  display: block;
  float: left;
}

.l-header .supported-by {
  float: left;
  display: block;
  margin-top: 20px;
  clear: left;
}

@media (min-width: 840px) {
  .l-header .supported-by {
    float: right;
    margin-top: 0;
    clear: right;
  }
}

.l-header .supported-by img {
  display: block;
}

.l-footer .l-region {
  margin-top: 25px;
  margin-bottom: 25px;
}

.l-header a,
.l-footer a {
  color: #fff;
}

.l-header a:hover,
.l-header a:focus,
.l-footer a:hover,
.l-footer a:focus {
  text-decoration: none;
}

.l-footer p {
  width: 45%;
  margin-bottom: 0;
}

.l-footer .copyright {
  float: left;
}

.l-footer .author {
  float: right;
  text-align: right;
}

@media (max-width: 600px) {
  .l-footer p {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .l-footer .copyright,
  .l-footer .author {
    float: none;
    text-align: center;
    width: 100%;
  }
}

/*****************************************
** $BLOCK
*****************************************/

.l-block {
  background-color: #ebebeb;
  padding: 25px;
  margin-bottom: 1em;
  width: 520px
}

.l-block--left {
  float: left;
  margin-right: 40px;
}

.l-block--right {
  float: right;
  margin-left: 40px;
}

@media (max-width: 1000px) {
  .l-block {
    width: 100%;
  }

  .l-block--left {
    float: none;
    margin-right: 0;
  }

  .l-block--right {
    float: none;
    margin-left: 0;
  }
}

/*****************************************
** $MAP
*****************************************/

.map-key {
  background-color: #ebebeb;
  padding: 10px 20px;
}

.map-key ul,
.map-key li {
  list-style: none;
  padding: 0;
  margin: 0;
}

.map-key h3 {
  margin-right: 3em;
  margin-bottom: 0;
}

.map-key h3,
.map-key ul {
  display: inline-block;
}

.map-key li {
  display: inline-block;
  margin-right: 1.5em;
}

.map-key img {
  vertical-align: middle;
}

.map-points {
  display: none;
}

.map-container {
  height: 625px;
}

.map-container .gm-style .gm-style-iw {
  width: 100% !important;
}

.map-container img {
  height: auto;
  max-width: none;
}

/*****************************************
** $MENGEROMETER
*****************************************/

.mengerometer {
  display: inline-block;
  position: relative;
  height: 54px;
  max-width: 1080px;
  width: 100%;
  padding: 0;
  margin: 0 auto 1em auto;
  background: #666;
}
.mengerometer .progress {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #861e22;
}
.mengerometer .mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('/images/mengerometer-mask.png');
  background-size: initial;
  background-repeat: repeat-x;
}

/*****************************************
** $CUSTOM LISTS
*****************************************/

.icon-list,
.logo-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.icon-list {
  font-size: 24px;
  color: #5c1517;
}

@media (max-width: 600px) {
  .icon-list {
    font-size: 18px;
  }
}

.icon-list li {
  margin-top: 0.75em;
  margin-bottom: 0.75em;
}

.icon-list li a {
  color: #5c1517;
  text-decoration: none;
}

.icon-list li a:hover,
.icon-list li a:focus {
  color: #861e22;
}

.logo-list {
  text-align: center;
}

.logo-list li {
  display: inline-block;
  margin-left: 1em;
  margin-right: 1em;
  margin-top: 1em;
  vertical-align: middle;
}

.icon {
  text-indent: -9999px;
  display: inline-block;
  margin-right: 0.75em;
  width: 42px;
  height: 42px;
  vertical-align: middle;
  background-color: transparent;
  background-position: 0 0;
  background-repeat: no-repeat;
}

.icon--calendar {
  background-image: url('/images/icons/icon-calendar.png');
}

.icon--twitter {
  background-image: url('/images/icons/icon-twitter.png');
  height: 35px;
}

.icon--email {
  background-image: url('/images/icons/icon-email.png');
  height: 30px;
}

.icon--info {
  background-image: url('/images/icons/icon-info.png');
}

/* Image line */
.image-line {
  display: block;
  margin: 0;
  padding: 1em 0 0 1.111111111%;
  background-color: #ebebeb;
  list-style: none;
}

.image-line li {
  width: 10%;
  float: left;
  margin-bottom: 1em;
  margin-right: 1.111111111%;
}

@media (max-width: 1025px) {
  .image-line li {
    width: 15%;
    margin-right: 1.66666666666667%;
  }
}

@media (max-width: 639px) {
  .image-line li {
    width: 30%;
    margin-right: 3.33333333333333%;
  }
}

.image-line li img {
  border: 1px solid black;
  width: 100%;
  display: block;
}

.image-line li a {
  display: block;
  padding: 1em;
  background-color: #5c1517;
  color: #fff;
  text-decoration: none;
}

.image-line li a:hover,
.image-line li a:focus {
  background-color: #861e22;
}