@charset "UTF-8";

::-moz-selection { background: blue; color: white; }
::selection { background: blue; color: white; }

* {
  box-sizing: border-box;
}

html {
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: "Times New Roman", Georgia, Serif;
  font-size: 1.75em;
  background-color: white;
  color: black;
  cursor: default;
  overflow-x: hidden;
  padding: 40px;
}

body:after {
  content: url("/assets/images/cursor-close-smaller@2x.png")
    url("/assets/images/cursor-right-smaller@2x.png")
    url("/assets/images/cursor-left-smaller@2x.png");
  display: none;
}

body.no-scroll {
  overflow: hidden;
}

body.no-scroll main {
  filter: progid:DXImageTransform.Microsoft.Blur(PixelRadius='3');
  -webkit-filter: blur(3px);
  -moz-filter: blur(3px);
  -o-filter: blur(3px);
  -ms-filter: blur(3px);
  filter: url(#blur);
  filter: blur(3px);
}

a,
a:visited {
  color: black;
  text-decoration: none;
}

h1,h2,h3 {
  font-weight: normal
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

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

figure {
  margin: 0;
}

.year {
  margin-top: 1em;
}

.project-media.other.iframe iframe,
.project-media.other figure.video iframe {
  font-size: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#about-me {
  margin-bottom: 4em;
}

.title {
  font-size: inherit;
  font-weight: normal;
  margin: 0;
}

.project {
  margin-bottom: 2em;
}

.project p {
  margin: 0;
}

.project-heading {
  margin-bottom: 10px;
  font-size: inherit;
}

.project-heading p {
  margin: 0;
  display: inline;
}

.project-heading > *:after {
  content: ",";
  font-style: normal;
}

.project-heading > *:last-child:after {
  content: "";
}

.project-title {
  font-style: italic;
}

.project-title a:focus {
  background-color: blue;
  color: white;
  outline: none;
}

.project-organization a,
.project-location a,
.project-media.link,
.project-media.other a {
  color: blue;
  border-bottom: 2px solid blue;
  display: inline-block;
}

.project-media-list li {
  display: inline-block;
  margin-bottom: 10px;
  padding-right: 10px;
  position: relative;
}

.project-media-list li:after {
  content: ",";
  position: absolute;
  right: 3px;
  bottom: 0;
}

.project-media-list li:last-child:after {
  content: "";
}

.project-media-list li.comma {
  margin: 0 0 5px 0;
  padding: 0 5px 0 0;
}

.project-media-list li.comma:last-child {
  display: none;
}

.project-media {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.project-media.image,
.project-media.other.iframe {
  width: 404px;
  padding-bottom: 64%;
}

.project-media.image {
  font-size: 0;
  background-size: cover;
  background-repeat: no-repeat;
}

.project-media.other.iframe.play-in-lightbox:after,
.project-media.image:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 255, .75);
  opacity: 0;
  transition: opacity 200ms;
  cursor: pointer;
}

.no-swipe .project-media.other.iframe.play-in-lightbox:focus,
.no-swipe .project-media.image:focus {
  outline: none;
}

.no-swipe .project-media.other.iframe.play-in-lightbox:hover:after,
.no-swipe .project-media.other.iframe.play-in-lightbox:focus:after,
.no-swipe .project-media.image:hover:after,
.no-swipe .project-media.image:focus:after {
  opacity: 1;
}

.project-media-content {
  display: none;
}

.featherlight.lightbox {
  cursor: url("/assets/images/cursor-close-smaller@2x.png") 0 0, n-resize;
  z-index: 1;
  overflow: auto;
/*  cursor: -webkit-image-set(
    url('/assets/images/cursor-close.png') 1x,
    url('/assets/images/cursor-close@2x.png') 2x
  ), n-resize;*/
}

.featherlight.lightbox figure p {
  margin: 0;
}

.lightbox .featherlight-content {
  padding: 0;
  background: transparent;
  border-bottom: none;
  color: white;
  overflow: visible;
}

.lightbox .featherlight-content *::selection { background-color: white; color: blue; }

.lightbox .featherlight-content a {
  color: white;
  border-bottom: 2px solid white;
}

.featherlight.lightbox:last-of-type {
  background: rgba(0,0,255,.8);
  transition: background 200ms;
}

.lightbox.featherlight-iframe .featherlight-content {
  max-width: 720px;
  width: 100%;
  margin: 0;
}

.lightbox.featherlight-iframe .featherlight-inner.iframe {
  width: 100%;
  padding-bottom: 56.25%;
}

.lightbox.featherlight-iframe .featherlight-inner.iframe:before {
  content: "...";
  top: calc(50% - 0.5em);
  left: calc(50% - 0.5em);
  position: absolute;
}

.lightbox.featherlight-iframe .featherlight-inner.iframe iframe {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.lightbox.featherlight .featherlight-close-icon {
  display: none;
}

.lightbox.featherlight-reader .featherlight-content {
  max-width: 720px;
  width: 100%;
  margin: 0;
  max-height: 100%;
}

.featherlight.lightbox img {
  max-height: 100vh;
  max-width: 100%;
}

.featherlight-next {
  content: "";
  position: fixed;
  width: 25%;
  height: 100%;
  right: 0;
  top: 0;
  cursor: url("/assets/images/cursor-right-smaller@2x.png") 0 0, e-resize;
/*  cursor: -webkit-image-set(
    url('/assets/images/cursor-right.png') 1x,
    url('/assets/images/cursor-right@2x.png') 2x
  ), e-resize;*/
}

.featherlight-previous {
  content: "";
  position: fixed;
  width: 25%;
  height: 100%;
  left: 0;
  top: 0;
  cursor: url("/assets/images/cursor-left-smaller@2x.png") 0 0, w-resize;
/*  cursor: -webkit-image-set(
    url('/assets/images/cursor-left.png') 1x,
    url('/assets/images/cursor-left@2x.png') 2x
  ), w-resize;*/
}

.featherlight-next:hover,
.featherlight-previous:hover {
  background: none;
}

.featherlight:before {
  margin-right: 0;
}

.lightbox .close-lightbox {
  position: fixed;
  color: white;
  top: 10px;
  right: 10px;
  display: none;
  border-bottom: none;
}

.lightbox.featherlight-reader .featherlight-content:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100px;

}

.featherlight-first-slide.featherlight-last-slide .featherlight-previous,
.featherlight-first-slide.featherlight-last-slide .featherlight-next {
  display: none;
}

svg {
  position: absolute;
  width: 0;
  height: 0;
}

/* http://stackoverflow.com/questions/12845892/ios-overflow-x-or-position-absolute-makes-scrolling-choppy */

/* Tablets / Big Phones */
@media (max-width: 960px) {
  body {
    padding: 20px;
    font-size: 1.5em;
  }

  .project-media-list li.block {
    width: calc(50% - 5px);
  }

  .project-media.image,
  .project-media.other.iframe {
    width: 100%;
  }

  .lightbox .featherlight-content {
    max-width: calc(100% - 40px);
    margin-left: 0;
    margin-right: 0;
  }

  .featherlight.lightbox.other-content .featherlight-content {
    margin: 0;
  }

  .project-media.image:after {
    display: none;
  }

  .lightbox .close-lightbox {
    display: inline-block;
    width: 1.5em;
  }
}

/* Phones */
@media (max-width: 480px) {
  body {
    padding: 10px;
    font-size: 1.25em;
  }

  #about-me {
    margin-bottom: 3em;
  }

  .project {
    margin-bottom: 1.5em;
  }

  .project-media-list li.block {
    width: 100%;
  }

  .project-media.image,
  .project-media.other.iframe {
    width: 100%;
  }

  .featherlight.lightbox.other-content .featherlight-content,
  .lightbox .featherlight-content {
    max-width: calc(100% - 20px);
  }
}

