/* SET COLUMN AND GUTTER WIDTHS */
/* FUNCTIONs FOR SETTING COLUMNS */
/* e.g. to get a span-5 column, add a class of .span(5) */
/* APPEND, PREPEND, PULL AND PUSH */
/* add .last class to remove right margin from final column */
.last {
  margin-right: 0 !important;
}
/* center container and wrapper (10px wider) at widths calculated from column and gutter widths above */
.container {
  width: 960px;
  margin: 0 auto;
}
.wrapper {
  width: 970px;
  margin: 0 auto;
}
/* RESET */
html {
  margin: 0;
  padding: 0;
  border: 0;
}
body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
code,
del,
dfn,
em,
img,
q,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
dialog,
figure,
footer,
header,
hgroup,
nav,
section {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 90%;
  font: inherit;
  vertical-align: baseline;
}
article,
aside,
details,
figcaption,
figure,
dialog,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1.5;
  background: #ffffff;
}
table {
  border-collapse: separate;
  border-spacing: 0;
}
caption,
th,
td {
  text-align: left;
  font-weight: normal;
  float: none !important;
}
table,
th,
td {
  vertical-align: middle;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
}
blockquote,
q {
  quotes: "" "";
}
a img {
  border: 0;
}
:focus {
  outline: 0;
}
ul {
  list-style: none;
}
/* MISC USEFUL STUFF*/
div.prepend-top,
.prepend-top {
  margin-top: 1.5em;
}
div.append-bottom,
.append-bottom {
  margin-bottom: 1.5em;
}
.box {
  padding: 1.5em;
  margin-bottom: 1.5em;
}
.clearfix:after,
.container:after,
.wrapper:after {
  content: "\0020";
  display: block;
  height: 0;
  clear: both;
  visibility: hidden;
  overflow: hidden;
}
.clearfix,
.container,
.wrapper {
  display: block;
}
.clear {
  clear: both;
}
/* TRANSITION */
/* e.g. to get a 1s ease-in-out transition, add a class of .transition(1s,ease-in-out) */
/* GENERAL */
.bottomborder {
  border-bottom: 1px solid #333;
}
.topborder {
  border-top: 1px solid #333;
}
.infospace {
  padding: 10px 0px 50px 0px;
}
.bottomgap {
  margin-bottom: 10px;
}
/* IE */
/* ADD STYLES HERE */
body {
  font-size: 10px;
}
.thumbunit {
  height: 322px;
  margin-bottom: 10px !important;
}
.textunit {
  margin-bottom: 10px !important;
  height: auto;
}
.thumbhalf {
  width: 90px;
  float: left;
  padding-left: 10px;
  padding-bottom: 10px;
}
.headerimage {
  width: 950px;
  height: 200px;
  margin-right: 10px;
}
.col1,
.col2,
.col3,
.col4 {
  margin-bottom: 10px;
}
.col1 {
  width: 230px;
  float: left;
  margin-right: 10px;
}
.thumb1 {
  width: 230px;
  height: 200px;
  margin-right: 10px;
  overflow: hidden;
}
.col2 {
  width: 470px;
  float: left;
  margin-right: 10px;
}
img.col2 {
  width: 100%;
}
.thumb2 {
  width: 470px;
  height: 200px;
  margin-right: 10px;
  overflow: hidden;
}
.col3 {
  width: 710px;
  float: left;
  margin-right: 10px;
}
.thumb3 {
  width: 710px;
  height: 200px;
  margin-right: 10px;
  overflow: hidden;
}
.col4 {
  width: 950px;
  float: left;
  margin-right: 10px;
}
.thumb4 {
  width: 950px;
  height: 200px;
  margin-right: 10px;
  overflow: hidden;
}
/* MEDIA QUERIES */
/* tinier */
@media only screen and (min-width: 1px) and (max-width: 320px) {
  .container {
    width: 432px;
    margin: 0 auto;
  }
  .wrapper {
    width: 442px;
    margin: 0 auto;
  }
  /* ADD STYLES HERE */
  body {
    font-size: 10px;
  }
  .thumbunit {
    height: 322px;
    margin-bottom: 10px;
  }
  .textunit {
    margin-bottom: 10px;
  }
  .thumbhalf {
    width: 45px;
    float: left;
    padding-left: 3px;
    padding-bottom: 3px;
  }
  .headerimage {
    width: 429px;
    height: 200px;
    background-color: grey;
    margin-right: 3px;
  }
  .col1,
  .col2,
  .col3,
  .col4 {
    margin-bottom: 10px;
  }
  .col1 {
    width: 105px;
    float: left;
    margin-right: 3px;
    -webkit-transition: all 0s ease;
    -moz-transition: all 0s ease;
    transition: all 0s ease;
    -o-transition: all 0s ease;
    position: relative;
  }
  .thumb1 {
    width: 105px;
    height: 200px;
    background-color: grey;
    margin-right: 3px;
    overflow: hidden;
  }
  .col2 {
    width: 213px;
    float: left;
    margin-right: 3px;
    -webkit-transition: all 0s ease;
    -moz-transition: all 0s ease;
    transition: all 0s ease;
    -o-transition: all 0s ease;
    position: relative;
  }
  img.col2 {
    width: 100%;
  }
  .thumb2 {
    width: 213px;
    height: 200px;
    background-color: grey;
    margin-right: 3px;
    overflow: hidden;
  }
  .col3 {
    width: 321px;
    float: left;
    margin-right: 3px;
    -webkit-transition: all 0s ease;
    -moz-transition: all 0s ease;
    transition: all 0s ease;
    -o-transition: all 0s ease;
    position: relative;
  }
  .thumb3 {
    width: 321px;
    height: 200px;
    background-color: grey;
    margin-right: 3px;
    overflow: hidden;
  }
  .col4 {
    width: 429px;
    float: left;
    margin-right: 3px;
    -webkit-transition: all 0s ease;
    -moz-transition: all 0s ease;
    transition: all 0s ease;
    -o-transition: all 0s ease;
    position: relative;
  }
  .thumb4 {
    width: 429px;
    height: 200px;
    background-color: grey;
    margin-right: 3px;
    overflow: hidden;
  }
  h1,
  h2 {
    padding-top: 20px;
  }
  /*
  	#maincontent div:nth-child(even) {
  		.last;
  	}
  	*/
}
/* smaller */
@media only screen and (min-width: 320px) {
  .container {
    width: 960px;
    margin: 0 auto;
  }
  .wrapper {
    width: 970px;
    margin: 0 auto;
  }
  /* ADD STYLES HERE */
  body {
    font-size: 12px;
  }
  .thumbunit {
    height: 322px;
    margin-bottom: 10px;
  }
  .thumbhalf {
    width: 90px;
    float: left;
    padding-left: 10px;
    padding-bottom: 10px;
  }
  .headerimage {
    width: 950px;
    margin-right: 10px;
  }
  .col1 {
    width: 230px;
    float: left;
    margin-right: 10px;
    -webkit-transition: all 0s ease;
    -moz-transition: all 0s ease;
    transition: all 0s ease;
    -o-transition: all 0s ease;
    position: relative;
  }
  .thumb1 {
    width: 230px;
    margin-right: 10px;
    height: 200px;
    overflow: hidden;
  }
  .medium1 {
    width: 230px;
    margin-right: 10px;
    height: 320px;
    overflow: hidden;
  }
  .col2 {
    width: 470px;
    float: left;
    margin-right: 10px;
    -webkit-transition: all 0s ease;
    -moz-transition: all 0s ease;
    transition: all 0s ease;
    -o-transition: all 0s ease;
    position: relative;
  }
  img.col2 {
    width: 100%;
  }
  .thumb2 {
    width: 470px;
    margin-right: 10px;
    height: 200px;
    overflow: hidden;
  }
  .medium2 {
    width: 470px;
    margin-right: 10px;
    height: 320px;
    overflow: hidden;
  }
  .col3 {
    width: 710px;
    float: left;
    margin-right: 10px;
    -webkit-transition: all 0s ease;
    -moz-transition: all 0s ease;
    transition: all 0s ease;
    -o-transition: all 0s ease;
    position: relative;
  }
  img.col3 {
    width: 100%;
  }
  .thumb3 {
    width: 710px;
    margin-right: 10px;
    height: 200px;
    overflow: hidden;
  }
  .medium3 {
    width: 710px;
    margin-right: 10px;
    height: 320px;
    overflow: hidden;
  }
  .col4 {
    width: 950px;
    float: left;
    margin-right: 10px;
    -webkit-transition: all 0s ease;
    -moz-transition: all 0s ease;
    transition: all 0s ease;
    -o-transition: all 0s ease;
    position: relative;
  }
  .thumb4 {
    width: 950px;
    margin-right: 10px;
    height: 200px;
    overflow: hidden;
  }
}