/*===================================================================================================
1) Reset & basics
===================================================================================================*/
* {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
}

/*===================================================================================================
2) Typography
===================================================================================================*/
h1 {
  font-size: 46px;
  line-height: 50px;
  margin-bottom: 14px;
}
h2 {
  font-size: 36px;
  line-height: 40px;
  margin-bottom: 10px;
}
h3 {
  font-size: 24px;
  line-height: 34px;
  margin-bottom: 6px;
}
h4 {
  font-size: 18px;
  line-height: 30px;
  margin-bottom: 6px;
}
h5 {
  font-size: 14px;
  line-height: 24px;
}
h6 {
  font-size: 12px;
  line-height: 21px;
}
p {
  margin: 0 0 20px 0;
}
strong {
  font-weight: bold;
  color: #333;
}
hr {
  border: solid #ddd;
  border-width: 1px 0 0;
  clear: both;
  margin: 10px 0 30px;
  height: 0;
}

/*===================================================================================================
3) Lists
===================================================================================================*/
ul,
ol {
  margin-bottom: 20px;
}
li {
  line-height: 18px;
  margin-bottom: 12px;
}
li p {
  line-height: 21px;
}
ol,
ul.disc {
  margin-left: 30px;
}
ul.disc {
  list-style: disc outside;
}

/*===================================================================================================
4) Base 960 grid
===================================================================================================*/
.container {
  position: relative;
  width: 960px;
  margin: 0 auto;
  padding: 0;
}
.container .columns {
  float: left;
  display: inline;
  margin-left: 10px;
  margin-right: 10px;
}

/* Base Grid */
.container .eight.columns {
  width: 460px;
}
.container .sixteen.columns {
  width: 940px;
}

/*===================================================================================================
5) Portfolio slider
===================================================================================================*/
.projectThumbnail {
  cursor: pointer;
}
.project img,
.project2 img,
.project3 img,
.project4 img.thumbnailImage {
  max-width: 100%;
  height: auto;
  cursor: pointer;
  border-radius: 8px;
}

/*===================================================================================================
6) Site styles
===================================================================================================*/
header {
  border-top: 3px solid #000;
}

#sitePreloader {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}
#preloaderImage {
  width: 30px;
  margin: 100px auto;
}

#logo {
  float: left;
  cursor: pointer;
}
#logo h2 {
  margin-top: -20px;
  padding-left: 2px;
}
#logo img {
  margin-top: 28px;
}

#about img {
  max-width: 100%;
  height: auto;
}
#about p,
#about blockquote {
  margin-bottom: 24px;
}

footer {
  margin-top: 0px;
  margin-bottom: 40px;
}
#footerLinks li {
  font-weight: bold;
  font-size: 12px;
  display: inline;
  padding-left: 12px;
  margin-left: 0;
  border-right: 1px solid;
  padding-right: 15px;
}
#footerLinks li:first-child {
  padding-left: 0;
}
#footerLinks li:last-child {
  border-right: none;
}

nav {
  clear: both;
  margin-bottom: -10px;
}
nav ul li {
  display: inline;
  margin: 0px 20px 0px 0px;
}
nav ul li button,
.projectNav button {
  cursor: pointer;
  background: none;
  border: none;
  text-shadow: none;
  padding: 0;
}
nav ul li button {
  margin-bottom: 0px;
}
nav ul li button:hover,
.projectNav button:hover {
  background: none;
  border: none;
}

.project,
.project1,
.project2,
.project3,
.project4 {
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.projectThumbnail {
  max-width: 100%;
}
.projectThumbnail img {
  display: block;
}
.projectThumbnailHover {
  position: absolute;
  border-radius: 8px;
  width: 100%;
  height: 100%;
  display: none;
  z-index: 10;
}
.projectThumbnailHover h4 {
  margin-top: 40px;
}
.projectThumbnailHover h5 {
  padding-top: 118px;
}

/* Tweak positioning slightly in Firefox */
@-moz-document url-prefix() {
  .projectNavEnlarge,
  .projectNavClose,
  .projectNavCenter {
    padding-top: 6px;
  }
}

.projectNavEnlarge {
  position: absolute;
  float: left;
  padding-top: 5px;
  padding-top: 7px\9; /* IE adjustment */
  width: auto;
}
.projectNavCenter {
  float: left;
  padding-top: 5px;
  padding-top: 7px\9;
  margin-left: 40%;
  position: absolute; /* IE adjustment */
  width: auto;
}
.projectNavClose {
  float: right;
  padding-top: 4px;
  /* width: 50px;
  margin-right: 12%; */
  padding-top: 5px\9; /* IE adjustment */ /*width: 50px;margin-right: 12%*/
}

.projectInfo {
  overflow: hidden;
}
.projectInfo,
.linedList {
  border-bottom: 3px solid #ddd;
}
.linedList {
  padding-bottom: 7px;
}
.projectInfo p:nth-of-type(1) {
  margin-top: 9px;
}
.projectInfo p:nth-last-child(2) {
  padding-bottom: 10px;
  border-bottom: 1px solid #ddd;
}
.projectInfo h4 {
  padding-top: 12px;
}
.projectInfo ul {
  margin-top: -8px;
  margin-bottom: 7px;
}
.projectInfo p + ul {
  margin-top: -20px;
}
.projectInfo li,
.linedList li {
  border-top: 1px solid #ddd;
  margin-top: 6px;
  margin-bottom: -1px;
  padding-top: 6px;
  padding-bottom: 0px;
}
.projectInfo li:first-child {
  border-top: none;
}
.projectInfo li:last-child {
  margin-bottom: -2px;
}

/*Disable pointer events to allow swipe navigation - needed to use a svg instead of a div since no versions of IE support pointer events on divs*/
.thumbnailMask {
  pointer-events: none;
  position: absolute;
  z-index: 24;
}

.bottom {
  position: fixed;
  bottom: 0;
  left: 0;
  height: 50px;
  background-color: white;
  width: 100%;
  display: none;
  filter: alpha(opacity=76);
  opacity: 0.6;
  text-align: center;
  color: #000000;
}
