@-webkit-keyframes rotating /* Safari and Chrome */ {
  from {
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}
@keyframes rotating {
  from {
    -ms-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -o-transform: rotate(0deg);
    transform: rotate(0deg);
  }
  to {
    -ms-transform: rotate(360deg);
    -moz-transform: rotate(360deg);
    -webkit-transform: rotate(360deg);
    -o-transform: rotate(360deg);
    transform: rotate(360deg);
  }
}


html, body {
  padding: 0;
  margin: 0;
  overflow-x:hidden;
}

#outer-container {
  overflow-x:hidden;
  /*max-width: 875px;*/
  /*max-width: 937px;*/
  max-width: 1162px;
  margin: 0 auto;
  /*margin-top: 50px;*/
  text-align: center;
  /*position: relative;*/
}

#nav {
  position: fixed;
  left: 30px;
  top: 75px;
  width: 190px;
  font-family: 'Space Mono', monospace;
  text-align: left;
  font-size: 13px;
  line-height: 18px;
}

#nav a {
  color: black;
  text-decoration: none;
  border: none;
}

#nav li {
  list-style-type: none;
  padding:0;
  margin: 0;
  margin-bottom: 8px;
}

#nav li.active {
  font-weight: bold;
}

#nav ul {
  padding: 0;
  margin: 0;
}

.nav-group {
  display: block;
}

.nav-wip {
  color: #bbb;
}

#blurb-text {
  display: none;
}

#blurb {
  font-size: 13px;
  text-align: left;
  line-height: 17px;
  /*margin-left: 150px;*/
  /*margin-top: 75px;*/
  display:inline-block;
  padding: 30px 30px 0 0;
  width: 500px;
  height: 650px;
  vertical-align: top;
}

#photos {
  /*width: 990px;*/
  /*width: 1215px;*/
  /*width: 1065px;*/
  width: 1010px;
  margin-left: 150px;
  text-align: left;
  margin-bottom: 50px;
}

#photos.horizontal {
  overflow-x: auto;
  margin-bottom: 0;
}

#photos.honey-valley {
  width: 920px;
}

#photos.slideshow {
  overflow: hidden;
  text-align: center;
  position: relative;
}

#next, #prev {
  position: absolute;
  width: 50%;
  height: 100%;
  top: 0;
  z-index: 30;
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

#next {
  right: 0;
  cursor: e-resize;
}

#prev {
  left: 0;
  cursor: w-resize;
}

.arrow {
  display: none;
  position: absolute;
  top: 50%;
  margin-top: -20px;
  width: 20px;
  height: 20px;
  line-height: 20px;
  font-size: 14px;
  text-align: center;
}

#loader {
  position: fixed;
  width: 50px;
  height: 50px;
  /*background: #ddd;*/
  background: url('loader.svg') no-repeat;
  background-size: 100%;
  left: 50%;
  top: 50%;
  margin-left: -25px;
  margin-top: -25px;
  -webkit-animation: rotating 2s linear infinite;
  -moz-animation: rotating 2s linear infinite;
  -ms-animation: rotating 2s linear infinite;
  -o-animation: rotating 2s linear infinite;
  animation: rotating 2s linear infinite;
}

#progress {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 100px;
  margin-left: -50px;
  margin-top: 35px;
  font-family: 'Space Mono', monospace;
  font-size: 12px;
}

.photo {
  /*width: 300px;*/
  /*width: 600px;*/
  /*width: 275px;*/
  /*width: 350px;*/
  /*width: 325px;*/
  width: 310px;
  margin-top: 10px;
  /*margin-top: 25px;*/
  /*margin-bottom: 30px;*/
  margin-bottom: 15px;
  /*margin: 25px;*/
  /*margin: 25px 25px 0 0;*/
  min-height: 50px;
  /*padding-left: 15px;*/
  /*padding-right: 15px;*/
  /*background: pink;*/
  /*background: #eee;*/

  /* 65px */
  /*opacity: 0;*/
}

.photo img {
  width: 100%;
}

.photo.horizontal {
  display: inline-block;
  margin-right: 50px;
  /*width: auto;*/
  width: auto;
  /*height: 530px;*/
  height: 650px;
}

.photo.horizontal:last-child {
  margin-right: 0;
}

.photo.horizontal img {
  height: 100%;
  width: auto;
}

.photo.slideshow {
  display: block;
  position: relative;
  /*height: 550px;*/
  height: 650px;
  margin-top: 50px;
  width: auto;
}

.photo.slideshow img {
  /*height: 100%;*/
  /*width: auto;*/

  max-height: 100%;
  width: auto;
  max-width: 100%;
}

.photo.hidden {
  display: none;
}

#contact {
  position: fixed;
  bottom: 10px;
  font-style: italic;
  font-size: 12px;
  left: 10px;
  right: 10px;
  /*text-align: center;*/
}

a {
  color: #76B4B7;
  text-decoration: none;
  border-bottom: 1px solid #76B4B7;
}

@media (max-width: 1280px){
  #outer-container {
    /*max-width: 600px;*/
    max-width: 750px;
  }
  /*#blurb {
    margin-left: auto;
    width: 686px;
  }*/
  /*#blurb p {
    width: 500px;
  }*/
  #photos {
    margin-left: auto;
    /*width: 660px;*/
    /*width: 810px;*/
    width: 686px;
    /*width: 850px;*/
  }

  #photos.honey-valley {
    width: 686px;
  }
}

@media (max-width: 1040px){
  #outer-container {
    /*max-width: 275px;*/
    /*max-width: 350px;*/
    max-width: 310px;
  }
  /*#blurb {
    width: auto;
  }
  #blurb p {
    width: auto;
  }*/
  #blurb {
    height: auto;
    margin-bottom: 30px;
    width: auto;
  }
  #photos {
    /*width: 330px;*/
    width: 405px;
  }

  #photos.horizontal {
    overflow-x: hidden;
    overflow-y: auto;
    height: 100%;
    margin-bottom: 50px;
  }

  .photo.horizontal {
    display: block;
    /*width: 350px;*/
    width: 310px;
    height: auto;
    margin-right: 0;
    margin-bottom: 50px;
  }

  .photo.horizontal img {
    width: 100%;
    height: auto;
  }

  .photo.slideshow {
    width: 310px;
    height: auto;
    margin-right: 0;
    margin-bottom: 50px;
  }

  .photo.slideshow img {
    width: 100%;
    height: auto;
  }
}

@media (max-width: 720px){
  #nav {
    position: absolute;
    top: 0;
    box-sizing: border-box;
    width: 100%;
    left: 0;
    padding: 20px 0 20px;
    background: #fff;
    text-align: center;
  }

  #nav li {
    display: inline-block;
    margin: 0 8px;
  }

  .nav-group {
    display: inline;
  }

  .photo {
    width: 275px;
  }

  .photo.horizontal {
    width: 275px;
  }

  .photo.slideshow {
    /*width: 275px;*/
    width: 235px;
    margin-left: 20px;
    margin-top: 65px;
  }

  #outer-container {
    max-width: 275px;
    /*max-width: 350px;*/
  }

  #photos {
    width: 330px;
    /*margin-top: 95px;*/
    /*width: 405px;*/
  }

  #photos.slideshow {
    height: 500px;
    line-height: 500px;
  }

  #next {
    width: 20px;
    /*background: #ddd;*/
    right: auto;
    left: 255px;
  }

  #prev {
    width: 20px;
    /*background: #ddd;*/
  }

  #next, #prev {
    cursor: pointer;
  }

  .arrow {
    display: block;
  }
}