/* Copyright (c) 2011 Shawn Van Ittersum.  All rights reserved. */

body, th, td {
  font-family: helvetica, arial, sans-serif;
  font-size: 18px;
  color: #000;
}

body {
  /* red background
  background: #a43;
  background-image: url(/img/background.gif);
  */
  background: #666;
  background-image: url(/img/gray_background.gif);
  margin: 0;
  padding: 0;
  
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  user-select: none;
}

.overflowAuto {
  overflow: auto;
}

#slideshow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
#slideshow img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  
  -webkit-transform: scale(1.2);
  -moz-transform: scale(1.2);
  -ms-transform: scale(1.2);
  transform: scale(1.2);
  
  -webkit-transition: -webkit-transform 13s linear;
  -moz-transition: -moz-transform 13s linear;
  -ms-transition: -ms-transform 13s linear;
  transition: transform 13s linear;
}
#slideshow img.shrink {
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}

.bubble {
  display: none;
  
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  bottom: 80px;
  
  z-index: 10;
  
  opacity: 0;
  
  -webkit-transform: scale(0.94);
  -moz-transform: scale(0.94);
  -ms-transform: scale(0.94);
  transform: scale(0.94);
  
  -webkit-transition: all 0.3s cubic-bezier(0.470, 0.000, 0.305, 1.000);
  -moz-transition: all 0.3s cubic-bezier(0.470, 0.000, 0.305, 1.000);
  -ms-transition: all 0.3s cubic-bezier(0.470, 0.000, 0.305, 1.000);
  transition: all 0.3s cubic-bezier(0.470, 0.000, 0.305, 1.000);
}
.bubble.visible {
  display: block;
  opacity: 1;
  -webkit-transform: scale(1);
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  transform: scale(1);
}
.bubble.visible.hiding {
  opacity: 0;
  
  -webkit-transform: scale(0.94);
  -moz-transform: scale(0.94);
  -ms-transform: scale(0.94);
  transform: scale(0.94);
}
.bubble.visible.pushed {
  opacity: 0;
  
  -webkit-transform: scale(1.2);
  -moz-transform: scale(1.2);
  -ms-transform: scale(1.2);
  transform: scale(1.2);
}
.bubble .background {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: #111;
  opacity: 0.8;
  -webkit-border-radius: 20px;
  -moz-border-radius: 20px;
  border-radius: 20px;
}
.bubble .closeBox {
  cursor: hand;
  display: block;
  position: absolute;
  top: 12px;
  right: 12px;
  -webkit-border-radius: 16px;
  -moz-border-radius: 16px;
  border-radius: 16px;
  border: 3px solid #ddd;
  padding: 2px 6px;
  font-size: 16px;
  font-weight: bold;
  color: #ddd;
  text-decoration: none;
  text-align: center;
}
.bubble .closeBox:hover {
  border: 3px solid #fff;
  color: #fff;
  background-color: #222;
}
.bubble .content {
  position: absolute;
  top: 53px;
  bottom: 20px;
  left: 20px;
  right: 20px;
  color: #fff;
  line-height: 1.3;
}
.bubble h1 {
  position: absolute;
  top: 16px;
  left: 20px;
  font-size: 24px;
  letter-spacing: -1px;
  color: #fff;
  margin: 0 0 8px 0;
  z-index: 2;
}
.bubble h1 .small {
  font-size: 18px;
  color: #bbb;
}
.bubble h2 {
  font-size: 21px;
}

.bubble a {
  color: #ff6;
}

#footer {
  z-index: 10;
  position: fixed;
  bottom: 0;
  height: 50px;
  width: 100%;
  overflow: hidden;
}
#footer .background {
  z-index: 11;
  position: absolute;
  height: 50px;
  width: 100%;
  background: #000;
  opacity: 0.7;
}
#footer .foreground {
  position: relative;
  z-index: 12;
  color: #ccc;
  padding: 0 16px 0 14px;
  /* Use line height to force photo caption below fold */
  line-height: 50px;
}
#footer .name {
  float: left;
  position: relative;
  top: -1px;
  padding-right: 12px;
  text-shadow: 0 1px 2px #000;
  
  font-size: 30px;
  font-weight: bold;
  letter-spacing: -1px;
  color: #fff;
}
#footer a {
  padding: 0 3px;
  color: #ccc;
  font-weight: bold;
  font-size: 18px;
  text-shadow: 0 1px 2px #000;
  
  cursor: hand;
  text-decoration: none;
}
#footer a:hover {
  color: #fff;
}
#footer .copyright {
  color: #fff;
  font-weight: bold;
  opacity: 0.4;
  padding: 0 5px;
  font-size: 14px;
}
#footer .copyright .symbol {
  padding-right: 2px;
  font-weight: bold;
}

#photo_caption {
  float: right;
  font-size: 16px;
  font-style: italic;
  text-shadow: 0 1px 1px #000;
  color: #ccc;
}
#photo_caption .title {
  color: #fff;
  padding-right: 4px;
}

.albumSet {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  text-align: left;
  overflow: auto;
}
.photoSet {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 670px;
  right: 0;
  text-align: center;
  overflow: auto;
}
.photoViewer {
  position: absolute;
  top: 0;
  bottom: 70px;
  left: 0;
  width: 640px;
  text-align: center;
}
.photoViewer img {
  position: relative;
  height: 100%;
  border: 0;
  margin: 4px 0;
  border: 8px solid #fff;
}

.photoAlbumName {
  font-size: 16px;
  font-weight: bold;
}
.photoAlbumLocation {
  font-size: 12px;
  color: #ddd;
}
.photoAlbumDate {
  font-size: 11px;
  color: #ddd;
  font-style: italic;
}

a.resumeDownload {
  text-decoration: none;
  color: #e44;
  font-size: 16px;
}
.resume {
  margin-top: -12px;
  padding-right: 14px;
}
.resume img {
  width: 100%;
  margin-top: 12px;
}

table.bio th {
  line-height: 1.3;
  color: #fd6;
  text-align: right;
  vertical-align: top;
}
table.bio td {
  line-height: 1.3;
  padding: 1px 0 12px 6px;
  color: #fff;
}

::selection {
  background: inherit;
}
::-webkit-selection {
  background: inherit;
}

::-webkit-scrollbar {
  width: 12px;
}
::-webkit-scrollbar:horizontal {
  display: none;
}
::-webkit-scrollbar-track {
  -webkit-border-radius: 10px;
  border-radius: 10px;
  background: rgba(102,102,102,0.5);
}
::-webkit-scrollbar-thumb {
  -webkit-border-radius: 10px;
  border-radius: 10px;
  background: rgba(153,153,153,0.9);
}
::-webkit-scrollbar-thumb:window-inactive {
	background: rgba(153,153,153,0.4); 
}
::-webkit-scrollbar-corner {
  display: none;
}