body {
  background-color: #111;
  color: #999;
  margin: 0;
  padding: 0;
}

a, span.link {
  color: #b35050;
  text-decoration: none;
  cursor: pointer;
}

a img {
  border: 0;
}

h2 a {
  color: #999;
}

a:hover, span.link:hover {
  color: #c71b1b;
  text-decoration: underline;
}

#header {
  color: #999;
  text-align: center;
  padding: 10px;
  font: normal 18px 'Raleway', helvetica, sans-serif;
  letter-spacing: 1px;
  border-bottom: 1px solid #333;
}

#header a {
  color: #999;
  text-decoration: none;
  margin: 0 30px;
}


#header a.active {
  color: #ddd;
}

#header a:hover {
  color: #666;
}

#footer {
  border-top: 1px solid #333;
  font: normal 11px helvetica, sans-serif;
  color: #999;
  text-align: center;
  padding: 50px 0;
}

#body {
  position: relative;
  background-color: #222;
  overflow: hidden;
}

.transition {
  -webkit-transition: all 0.15s ease-in-out;
  -moz-transition: all 0.15s ease-in-out;
  transition: all 0.15s ease-in-out;
}

#body>div {
  position: absolute;
  padding-top: 60px;
  padding-bottom: 40px;
  top: 0;
  left: 0;
  width: 100%;
  -webkit-transition: all 0.15s ease-in-out;
  -moz-transition: all 0.15s ease-in-out;
  transition: all 0.15s ease-in-out;
  opacity: 0;
}

.g-doc {
  position: relative;
  width: 900px;
  margin: auto;
  font: normal 15px/18px helvetica, sans-serif;
  text-shadow: 1px 1px 1px #111;
}

.bigger {
  font-size: 20px;
  line-height: 24px;
}

.thin {
  width: 50%;
}

h2 {
  font: normal 22px helvetica, sans-serif;
  margin: 50px 0 0 0;
}

h2.noborder {
  margin: 0;
}

h3 {
  font: bold 18px helvetica, sans-serif
	margin: 0;
}

.subheading {
  color: #666;
  margin: 0;
}


/** Styles for blog **/

.entry {
  font: normal 15px/24px helvetica, sans-serif;
}

.entry p {
  text-align: justify;
}

.entry code {
  font-size: 15px;
}

.entry img {
  border: 1px solid #000;
	box-shadow: 0 0 5px #fff;
}

.post {
  margin-bottom: 50px;
}

.align-right {
  text-align: right;
}

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

.alignright {
  float: right;
  margin-left: 10px;
}

.rss-link {
  opacity: 0.50;
}

.rss-link:hover {
  opacity: 1;
}

.alignleft {
  float: left;
	margin-right: 10px;
}


.align-right {
  text-align: right;
}

.alignleft {
  float: left;
  margin-right: 8px;
}

.alignright {
  float: right;
  margin-left: 8px;
}

.aligncenter {
  text-align: center;
}

.paginate p {
  margin: 24px 0 0 0;
  padding: 12px 5px 0 !important;
}

.postmetadata {
  clear: both;
}

.postmetadata p {
  padding: 0;  
  font: normal 11px helvetica, sans-serif;
}

.entry img {
  padding: 2px;
}

.post h2 {
  margin-top: 0;
}

.sidebar {
  padding-left: 20px;
}

.sidebar a {
  color: #555;
}

.sidebar a:hover {
  color: #c71b1b;
}

.sidebar p {
  font-size: 11px !important;
}

.sidebar h3 {
  margin-bottom: -6px;
	color: #555;
}

.catlist, .archivelist {
  font-size: 11px !important;
  list-style: none;
  padding: 0;
}

.catlist li {
  display: inline;
}

.archivelist li {
  padding-left: 4px;
}

.archivelist, .commentlist {
  list-style: none;
  padding: 0;
}

.comment-author {
  font: bold 12px helvetica, sans-serif ;
  padding: 0;
}

.comment-meta {
  font: normal 11px helvetica, sans-serif;
  padding: 0;
}

.commentlist p {
  margin: 0 0 12px 0;
}

.comment {
  margin-bottom: 20px;
}

cite {
  font-style: normal;
}

code {
  font-size: 11px;
}



/** Styles for projects page **/

.box {
  margin: 0 0 30px 0;
}

.box h2 {
  margin: 0;
}

.box p {
  margin: 0;
}


/** Styles for contact page */

.medium, .large {
  background-color: #999;
  color: #444;
  border: 1px solid #ccc;
  border-radius: 4px;
  font: normal 18px helvetica, sans-serif;
  box-shadow: inset 0 0 4px #333;
  padding: 5px;
}

.medium {
  width: 350px;
}

.large {
  width: 800px;
}

input:focus, textarea:focus {
  background-color: #ccc;
  outline: none;
}

.button {
  background-color: #333;
  font: normal 18px helvetica, sans-serif;
  display: inline-block;
  padding: 5px 30px 6px;
  color: #999;
  text-decoration: none;
  font-weight: bold;
  line-height: 1;
  border-radius: 5px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.5);
  text-shadow: 0 -1px 1px rgba(0,0,0,0.25);
  border: 0;
  border-bottom: 1px solid rgba(0,0,0,0.25);
  position: relative;
  cursor: pointer;
}

.error {
  border-radius: 5px;
  background-color: #a00;
  color: #fff;
  padding: 4px 10px;
  margin-bottom: 30px;
}


/** Styles for the photos page */

.photos-container {
  position: relative;
  margin: -25px auto 0 auto;
  width: 680px;
  height: 680px;
  background-color: #000;
	box-shadow: 0 0 5px #fff;
  overflow: hidden;  
}

.photos-scroller {
  position: absolute;
  width: 680px;
}

.photo {
  width: 640px;
  height: 640px;
  margin: 20px;
}

.photo img {
  background-color: #555;
}

.photos-overlay {
  position: absolute;
  top: 680px;
  left: 0;
  width: 100%;
  height: 100px;
  -webkit-transition: top 0.25s ease-in-out;
  -moz-transition: top 0.25s ease-in-out;
  transition: top 0.25s ease-in-out;
}

.photos-container:hover .photos-overlay {
  top: 580px;
}

.photos-overlay-content, .photos-overlay-glass {
  position: absolute;
  top: 0;
  left: 0;
}

.photos-overlay-glass {
  border-top: 1px solid #666;  
  background-color: #222;
  opacity: 0.7;
  width: 100%;
  height: 100px;
}

.photos-overlay-content {
  padding: 5px 0 0 10px;
  font-size: 12px;
  text-transform: capitalize;
}

.photos-overlay-thumbs {
  position: absolute;
  right: 5px;
  top: 5px;
  width: 400px;
  text-align: right;
  line-height: 1px;
}

.photos-overlay-thumbs img {
  margin: 3px;
  border: 2px solid #222;
  cursor: pointer;
}

.photos-info {
  text-align: right;
  width: 680px;
  margin: 20px auto 0 auto;
  font-size: 11px;
}

.photos-controls {
  float: left;
}

.photos-home-section {
  width: 324px;
  margin: 0 auto 25px auto;
}

.photos-home-section a {
  display: inline-block;
  height: 75px;
  background-color: #aaa;
  box-shadow: 0 0 5px #fff;
  border: 3px solid #000;
}

.photos-home-section-title {
  margin-top: 5px;
  text-transform: capitalize;
}

.photos-home-section a img {
  opacity: 0.7;
}

.photos-home-section a:hover img {
  opacity: 1;
}

/* Hack */
#prerendered-photos {
  height: 700px;
}

