/* Responsive ---------------------------------------------------- */

@media only screen and (min-width: 1900px) {
  #wrapper {
    width: 50% !important;
  }
}

@media only screen and (max-width: 1300px) {
  #wrapper {
    width: 85% !important;
  }
}

@media only screen and (max-width: 1140px) {
  nav {
    font-size: 2.2vw !important;
  }
  #wrapper {
    overflow: hidden !important;
    padding: 20px 0 !important;
    width: 100% !important;
  }
  #logo,
  #menu {
    margin: 0 2%;
  }
}

@media only screen and (max-width: 737px) {
  header {
    text-align: center;
  }
  #logo {
    float: none !important;
    margin-bottom: 1.2em;
  }
  nav {
    font-size: 3vw !important;
    width: 100%;
  }
  .sizer,
  .item {
    width: 100% !important;
  }
  .double {
    width: 100% !important;
  }
  .entry {
    overflow: inherit !important;
  }
  .entry img,
  .entry .desc {
    float: none !important;
    max-width: 100% !important;
  }
  .desc {
    float: left;
    padding: 3%;
  }
}


/* Main----------------------------------------------------------- */

html {
  overflow-y: scroll;
}

body {
  margin: 0;
  padding: 0;
  background: #000 url(../img/bg.png) repeat;
  background-attachment: fixed;
  color: #FFF;
  font-family: 'Roboto', Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
}

#wrapper {
  margin: 0 auto;
  padding: 0 2%;
  width: 75%;
}

header {
  margin: 4% 0;
  overflow: hidden;
}

#logo {
  float: left;
}

nav {
  float: right;
  font-size: 1.5em;
  font-weight: 300;
  height: 38px;
  padding-top: 10px;
}

.nav-active {
  border-bottom: 1px solid white;
  color: #FFF;
}

nav a {
  color: #999;
  margin: 0 0.5em;
  padding: 0.3em 0.2em;
  text-decoration: none;
}

nav a:hover {
  border-bottom: 1px solid #999;
}

section {
  min-height: 1500px;
}

h1 {
  font-size: 42px;
  font-weight: 300;
  margin: 0;
  padding: 0;
}

/* Photography */

.item, .sizer {
  display: block;
  float: left;
  margin-bottom: -6px;
  overflow: hidden;
  width: 33.2%;
}

.item img {
  width: 100%;
}

.double {
  width: 66.4%;
}


/* Fancybox */

.fancybox-wrap, .fancybox-skin, .fancybox-outer, .fancybox-inner, .fancybox-image, .fancybox-nav, .fancybox-nav span, .fancybox-tmp {
  border: 0;
  margin: 0;
  outline: none;
  padding: 0;
  vertical-align: top;
}

.fancybox-wrap {
  left: 0;
  position: absolute;
  top: 0;
  z-index: 8020;
}

.fancybox-skin {
  background: #f9f9f9;
  border-radius: 4px;
  color: #444;
  position: relative;
  text-shadow: none;
}

.fancybox-opened {
  z-index: 8030;
}

.fancybox-opened .fancybox-skin {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.fancybox-outer, .fancybox-inner {
  position: relative;
}

.fancybox-inner {
  overflow: hidden;
}

.fancybox-type-iframe .fancybox-inner {
  -webkit-overflow-scrolling: touch;
}

.fancybox-error {
  color: #444;
  font: 14px/20px "Helvetica Neue", Helvetica, Arial, sans-serif;
  margin: 0;
  padding: 15px;
  white-space: nowrap;
}

.fancybox-image {
  display: block;
  height: 100%;
  width: 100%;
  max-height: 100%;
  max-width: 100%;
}

#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
  background-image: url('fancybox_sprite.png');
}

#fancybox-loading {
  background-position: 0 -108px;
  cursor: pointer;
  left: 50%;
  margin-left: -22px;
  margin-top: -22px;
  opacity: 0.8;
  position: fixed;
  top: 50%;
  z-index: 8060;
}

#fancybox-loading div {
  background: url('fancybox_loading.gif') center center no-repeat;
  height: 44px;
  width: 44px;
}

.fancybox-close {
  cursor: pointer;
  height: 36px;
  position: absolute;
  right: -18px;
  top: -18px;
  width: 36px;
  z-index: 8040;
}

.fancybox-nav {
  background: transparent url('blank.gif');
  cursor: pointer;
  height: 100%;
  position: absolute;
  text-decoration: none;
  top: 0;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  width: 40%;
  z-index: 8040;
}

.fancybox-prev {
  left: 0;
}

.fancybox-next {
  right: 0;
}

.fancybox-nav span {
  cursor: pointer;
  height: 34px;
  margin-top: -18px;
  position: absolute;
  top: 50%;
  visibility: hidden;
  width: 36px;
  z-index: 8040;
}

.fancybox-prev span {
  background-position: 0 -36px;
  left: 10px;
}

.fancybox-next span {
  background-position: 0 -72px;
  right: 10px;
}

.fancybox-nav:hover span {
  visibility: visible;
}

.fancybox-tmp {
  left: -99999px;
  max-height: 99999px;
  max-width: 99999px;
  overflow: visible !important;
  position: absolute;
  top: -99999px;
  visibility: hidden;
}


/* Overlay helper */

.fancybox-lock {
  overflow: hidden !important;
  width: auto;
}

.fancybox-lock body {
  overflow: hidden !important;
}

.fancybox-lock-test {
  overflow-y: hidden !important;
}

.fancybox-overlay {
  background: url('fancybox_overlay.png');
  display: none;
  left: 0;
  overflow: hidden;
  position: absolute;
  top: 0;
  z-index: 8010;
}

.fancybox-overlay-fixed {
  bottom: 0;
  position: fixed;
  right: 0;
}

.fancybox-lock .fancybox-overlay {
  overflow: auto;
  overflow-y: scroll;
}


/* Title helper */

.fancybox-title {
  font: normal 13px/20px "Helvetica Neue", Helvetica, Arial, sans-serif;
  position: relative;
  text-shadow: none;
  visibility: hidden;
  z-index: 8050;
}

.fancybox-opened .fancybox-title {
  visibility: visible;
}

.fancybox-title-float-wrap {
  bottom: 0;
  margin-bottom: -35px;
  position: absolute;
  right: 50%;
  text-align: center;
  z-index: 8050;
}

.fancybox-title-float-wrap .child {
  background: transparent;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 15px;
  color: #FFF;
  display: inline-block;
  font-weight: bold;
  line-height: 24px;
  margin-right: -100%;
  padding: 2px 20px;
  text-shadow: 0 1px 2px #222;
  white-space: nowrap;
}

.fancybox-title-outside-wrap {
  color: #fff;
  margin-top: 10px;
  position: relative;
}

.fancybox-title-inside-wrap {
  padding-top: 10px;
}

.fancybox-title-over-wrap {
  background: #000;
  background: rgba(0, 0, 0, .8);
  bottom: 0;
  color: #fff;
  left: 0;
  padding: 10px;
  position: absolute;
}
