/* Laurel's Global Styles */

*,
:before,
:after {
  box-sizing: border-box;
}

#title {
  margin-bottom: 1em;
}

a.is-active {
  text-decoration: none;
}

p {
  margin-bottom: 1.35em;
}

hr {
  border: 0;
  border-bottom: 1px solid #000;
  width: 1em;
  margin: 2em 0;
}

/* Custom Styles for Sara Cwynar's Website */

@font-face {
  font-family: "century";
  src: url("../fonts/century.woff");
}

@font-face {
  font-family: "century italic";
  src: url("../fonts/century-italic.woff");
}

iframe {
  border: 0;
}

iframe.blush {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
}

iframe.title {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 72px;
  bottom: auto;
  z-index: 2;
  /* overflow: none; */
}

iframe.home {
  border: 0;
  position: absolute;
  top: 72px;
  left: 0;
  min-width: 100%;
  min-height: calc(100% - 72px);
}

object.pdf {
  position: absolute;
  left: 0;
  top: 42px;
  width: 100vw;
  height: calc(100vh - 42px);
}

iframe.film-title,
iframe.page-title {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 42px;
}

iframe.film-content,
iframe.page-content {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  -webkit-overflow-scrolling: touch !important;
  overflow-y: scroll !important;
}

iframe.image-content {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100vh;
  position: absolute;
}

iframe.film-viewer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: auto;
  height: 100vh;
  width: 33vw;
}

iframe.film-viewer body,
iframe.film-viewer video {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: transparent !important;
}

body.title {
  margin: 0;
}

body.page h1 {
  margin-bottom: 1.35em;
}

body.title h1 {
  margin-left: 28px;
  margin-top: 26px;
}

body.list p:first-child {
  margin-top: 0;
}

body.content {
  margin-left: 0;
}

body {
  font-family: "century", monospace;
  color: black;
  margin: 28px;
  margin-top: 0;
  font-size: 17px;
  line-height: 1.4;
  background-color: transparent;
  letter-spacing: 0.03em;
}

.blush {
  /* background-color: #fde9eb; */
  /* transition: background-color 6s; */
}

.blush.transition {
  transition: background-color 6s;
}

body.show {
  display: block;
}

i,
em {
  font-style: normal;
  font-family: "century italic";
  letter-spacing: 0.1em;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
  font-size: 1em;
  margin-bottom: 1em;
}

h1.title,
a.home-link {
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.2em;
}

a.home-link {
  display: inline-block;
}

h1 {
  margin-top: 0;
}

h2 {
  margin-top: 2.4em;
  margin-bottom: 1em;
  margin-bottom: 0;
  display: inline-block;
  /* text-decoration: underline; */
  /* border-bottom: 1px solid black; */
}

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

li {
  padding-left: 2em;
  text-indent: -2em;
  margin-bottom: 0.1em;
}

.metadata,
.return {
  /* opacity: 0.64; */
  transition: opacity 0.4s;
}

.metadata:hover,
.return:hover {
  opacity: 1;
}

p.metadata:first-child {
  margin-top: 0;
}

.return,
.media {
  margin-top: 2em;
}

.videos {
  margin-bottom: 2em;
}

.images img {
  max-width: 740px;
  display: block;
  margin-bottom: 0.5em;
  /* margin-right: 0.1em;
  vertical-align: top; */
}

body.cover-girl,
body.cover-girl a {
  color: #91443c;
}

body.cover-girl {
  background: #c0b5b5;
}

p.caption {
  /* font-size: 0.64em; */
  margin-top: 0.25em;
  font-family: "century italic";
}

.thumbs {
  margin-top: 1.4em;
}

img {
  margin-top: 0.5em;
  display: inline-block;
  vertical-align: top;
  max-width: 100%;
}

img.full {
  max-width: 100%;
}

.container-large {
  max-width: 1000px;
  display: inline-block;
}

.container-medium {
  max-width: 450px;
  display: inline-block;
}

.container-small {
  max-width: 200px;
  display: inline-block;
}

.container-tiny {
  max-width: 40px;
  display: inline-block;
}

.clearer {
  clear: both;
}

/* Lightbox */

iframe#lightbox-half {
  position: fixed;
  max-height: 100vh;
  width: 50vw;
  /* height: 100%; */
  top: 0;
  right: 0;
  overflow: scroll;
  overflow-x: scroll;
  z-index: 5;
}

iframe#lightbox-large {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-height: 100vh;
  overflow-y: scroll;
  overflow-x: scroll;
  z-index: 4;
}

body.image {
  margin: 0;
  padding: 0;
}

body.image img {
  display: block;
  margin-top: 0;
  height: auto;
  max-width: 100vw;
  cursor: zoom-in;
  /* cursor: url('../images/magnifying1e.png') 36 36, zoom-in; */
}

body.image img.full {
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  cursor: zoom-out;
}

#zoomcursor {
  position: absolute;
  opacity: 0;
  background: black;
  color: white;
  padding: 8px 8px 5px;
}

body.image img.lightbox-image-full {
  max-height: 100vh;
}

body.image img.lightbox-image-full.full {
  max-height: none;
}

body.image img.lightbox-image-tiny {
  max-height: 114px;
}

body.image img.lightbox-image-tiny.full {
  max-height: none;
}

a.lightbox-close {
  position: fixed;
  z-index: 100;
  margin-top: 0;

  /* -webkit-font-smoothing: antialiased; */
  /* -webkit-text-stroke: 1px pink; */

  top: 18px;
  left: 17px;
  padding: 8px 8px 5px;
  background: #c2a88c;
  background: #c43f36;
  background: #b5427c;
  background: #d0bcbb;
  background: white;
  pointer-events: all !important;
}

a.lightbox-close.half {
  left: auto;
  right: 17px;
}

iframe#lightbox-tiny {
  position: fixed;
  height: 100%;
  width: 25vw;
  left: 50vw;
  right: auto;
  top: 0;
  height: 114px;
  z-index: 99999999;
}

body.tiny {
  margin: 0;
  padding: 0;
}

body.tiny img {
  height: 114px;
  width: auto;
}

.video-wrapper {
  background: black;
  width: 100vw;
  height: 100vh;
}

.video-wrapper video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Audio Tag */

.audio-wrapper span {
  cursor: pointer;
}

iframe.page-content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  overflow-y: hidden;
  overflow-x: scroll !important;
  -webkit-overflow-scrolling: touch !important;
}

.container-home {
  -webkit-overflow-scrolling: touch;
  /* overflow-y: scroll; */
  overflow: auto;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: 48px;
  height: calc(100vh - 48px);
}

.container-page-content {
  -webkit-overflow-scrolling: touch;
  overflow-y: scroll;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  top: 42px;
  height: calc(100vh - 42px);
}

#zoom-instructions {
  position: fixed;
  bottom: 0;
  left: 0;
  right: auto;
  bottom: 18px;
  left: 17px;
  padding: 8px 8px 5px;
  font-size: 0.7em;
  text-transform: uppercase;

  padding: 3px 5px 1px;
  font-size: 0.7em;
  letter-spacing: 0.1em;
  -webkit-font-smoothing: antialiased;

  color: white;
  background: black;
  display: inline-block;
  /* text-align: center; */
}

#zoom-instructions span {
  display: inline-block;
  width: 2em;
}

#zoom-instructions .out {
  display: none;
}

#zoom-instructions.zoomed .out {
  display: inline-block;
}

/* #zoom-instructions::after {
  content: "";
  position: absolute;
  display: block;
  top: 0;
  bottom: 0;
  right: -30px;
  width: 30px;
  height: 100%;
  background: -webkit-linear-gradient(right, rgba(0, 0, 0, 0), #000);
  background: -o-linear-gradient(left, rgba(0, 0, 0, 0), #000);
  background: -moz-linear-gradient(left, rgba(0, 0, 0, 0), #000);
  background: linear-gradient(to left,
  rgba(0, 0, 0, 0),
      #000);
} */

#zoom-instructions.zoomed .in {
  display: none;
}

#flowers-slideshow img {
  cursor: pointer;
  margin-top: 0;
  display: none;
}

@media screen and (max-width: 700px) {
  body {
    margin: 18px;
    margin-top: 0;
    font-size: 13px;
    line-height: 1.5;
  }

  body.title h1 {
    margin-left: 18px;
    margin-top: 16px;
  }

  iframe.title {
    height: 48px;
  }

  object.pdf {
    top: 34px;
    height: calc(100vh - 34px);
    position: absolute;
  }

  iframe.film-title,
  iframe.page-title {
    height: 34px;
  }

  iframe#lightbox-full {
    width: 100vw;
    height: calc(100vh - 34px);
    top: 34px;
  }

  iframe#lightbox-tiny {
    width: 25vw;
    right: 0;
    left: auto;
  }

  .container-page-content {
    top: 34px;
    height: calc(100vh - 34px);
  }

  #content,
  #content-home {
    padding-bottom: 54px;
  }

  .container-tiny {
    display: none;
  }

  iframe.home {
    top: 51px;
    min-height: calc(100% - 51px);
  }

  /* iframe#lightbox-tiny {
    height: 85px !important;
    width: auto !important;
    left: auto !important;
    right: 0 !important;
  } */
}

@media screen and (max-width: 350px) {
  body.tiny a {
    position: absolute;
    top: 0;
    right: 0;
    display: block;
  }

  body.tiny img {
    height: 85px;
  }
}
