html {
  margin: 0;
  padding: 0;
  height: 100%;
}
body {
  font-family: 'Open Sans', 'Helvetica Neue', helvetica, trebuchet, sans-serif;
  font-weight: 300;
  margin: 0;
  padding: 0;
  font-size: 18px;
/*  min-width: 500px;
  min-height: 800px;*/
}

table {
  width: 100%;
}
tbody tr:nth-child(odd) {
  background-color: #eee;
}

.site-title {
  top: 0;
  bottom: 0;
  padding-top: 60px;
  padding-bottom: 10px;
  padding-left: 20px;
  padding-right: 20px;
  margin-left: 50px;
  width: 200px;
  position: absolute;
}
.site-title p:nth-last-child(2) {
  margin-bottom: 20px;
}

.site-photo {
  position: absolute;
  top: 0;
  bottom: 0;
  margin-left: 300px;
  min-height: 500px;
}

.site-content {
  margin-left: 300px;
  padding-top: 50px;
  max-width: 50%;
}

.portfolio-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;

  margin-left: 300px;

  padding-bottom: 32px;
  padding-left: 32px;
  padding-right: 32px;
  padding-top: 10px;

  background-color: rgba(0,0,0,0.3);
}

.portfolio-image {
  position: absolute;
  top: 50px;
  bottom: 0;
  right: 32px;
  left: 332px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  z-index: -3;
}

.portfolio-navigation {
  position: absolute;
  top: 0;
  bottom: 142px;
  right: 0;
  left: 300px;
  z-index: -2;

  font-size: 32px;
}

#prev-image-icon {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;

  background-image: url("/img/icons/left-arrow.png");
  background-position:center;
  background-repeat: no-repeat;

  padding-left: 32px;
  padding-right: 128px;
}

#next-image-icon {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;

  background-image: url("/img/icons/right-arrow.png");
  background-position:center;
  background-repeat: no-repeat;
  
  padding-left: 32px;
  padding-right: 128px;
}

.mini-image {
  height: 450px;
  text-align: center;
}
.full-width-image {
  width: 100%;
}
.center-image-caption {
  text-align: center;
}

.main-photo {
  height: 100%;
  display: block;
}

.exif-caption {
  padding-bottom: 10px;
}
#selected-works-title {
  padding-right: 20px;
}
#selected-works-exif {
  line-height: 42px;
  vertical-align: middle;
}

@media screen and (max-width: 1024px) {
  .site-title {
    padding-top: 20px;
  }
  
  .portfolio-image {
    height: auto;
  }
}


/* Typography */
p {
  margin-top: 8px;
  margin-bottom: 8px;
}

p small {
  margin-top: 2px;
}

@media screen and (max-width: 1024px) and (orientation: landscape) {
  p {
    margin-top: 2px;
    margin-bottom: 2px;
  }
}

h1 {
  font-size: 2rem;
  font-weight: 400;
  margin-top: 10px;
  margin-bottom:20px;
}
h1 small {
  font-size: 1.05rem;
  font-weight: 300;
  letter-spacing: 2px;
}

h3 small {
  font-weight: 300;
}

h4 {
  margin-top: 10px;
  margin-bottom: 2px;
}

.exif-information {
  font-size: 0.75rem;
  margin-top: 5px;
  margin-bottom: 5px;
}

small > .nav-links {
  font-size: 1.05rem;
}

.nav-links, .nav-text{
  font-size: 1.2rem;
}
a:link {
  color: #000;
  text-decoration: none;
}
a:visited {
  color: #000;
  text-decoration: none;
}
a:hover {
  color: #000;
  text-decoration: underline;
}
a:active {
  color: #000;
  text-decoration: underline;
}

#site-name {
  line-height: 1em;
}
#site-name a:link {
  text-decoration: none;
}
#site-name a:visited {
  text-decoration: none;
}
#site-name a:hover {
  text-decoration: none;
}
#site-name a:active {
  text-decoration: none;
}

.site-content a:link {
  color: #3399FF;
}
.site-content a:visited {
  color: #297ACC;
}
.site-content a:hover {
  color: #5CADFF;
}
.site-content a:active {
  color: #5CADFF;
}
.exif-caption a:link {
  color: #3399FF;
}
.exif-caption a:visited {
  color: #297ACC;
}
.exif-caption a:hover {
  color: #5CADFF;
}
.exif-caption a:active {
  color: #5CADFF;
}
