/*
Shims for Flexbox - should work on Safari and IE10+
*/
.display-flex {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
body {
  color: #231f20;
  font-family: "ff-meta-serif-web-pro", Georgia, serif;
  font-size: 19px;
  line-height: 1.42105263;
  padding: 0;
  margin: 0;
}
main {
  display: block;
}
a {
  color: #0777b3;
  text-decoration: none;
  outline: 0 !important;
}
a:hover {
  color: #2b4d70;
}
a img {
  border: none;
}
img,
video,
embed,
object,
iframe {
  max-width: 100%;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  color: #231f20;
  margin: 1.42105263 0 0.71052632 0;
}
h1 {
  font-size: 40px;
  line-height: 1.07142857;
  letter-spacing: -0.5px;
  font-family: "ff-dagny-web-pro", Helvetica Neue, Helvetica, sans-serif;
}
@media (max-width: 768px) {
  h1 {
    font-size: 42px;
    line-height: 1.0952381;
    letter-spacing: -1px;
  }
}
h2 {
  font-size: 24px;
  line-height: 1.42105263;
}
h3 {
  font-size: 22px;
  line-height: 1.04545455;
}
h4 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  margin: 0.71052632 0 0 0;
}
nav.main-nav {
  background: white;
  border-bottom: 1px solid #e0e0e0;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.1);
  position: relative;
  line-height: 1;
}
nav.main-nav .wrapper {
  max-width: 1020px;
  margin: auto;
  position: relative;
  padding: 10px;
}
@media (max-width: 480px) {
  nav.main-nav .wrapper {
    padding: 6px;
  }
}
nav.main-nav .logo {
  display: block;
  vertical-align: middle;
}
nav.main-nav .logo img {
  height: 24px;
  max-height: 100%;
}
@media (max-width: 480px) {
  nav.main-nav .logo img {
    height: 18px;
  }
}
nav.main-nav .share.top {
  position: absolute;
  top: 10px;
  right: 10px;
}
@media (max-width: 768px) {
  nav.main-nav .share.top {
    right: 4px;
    width: auto !important;
  }
}
nav.main-nav .share.top label {
  background: white !important;
}
@media (max-width: 480px) {
  nav.main-nav .share.top {
    top: 6px;
  }
  nav.main-nav .share.top label span {
    display: none;
  }
  nav.main-nav .share.top .left {
    margin-left: -275px !important;
  }
}
.show-comments {
  border: 1px solid #0777b3;
  padding: 20px;
  text-align: center;
  text-transform: uppercase;
  font-family: "ff-dagny-web-pro", Helvetica Neue, Helvetica, sans-serif;
  font-weight: bold;
  font-size: 15px;
  color: #0777b3;
  cursor: pointer;
  margin: 20px 0;
}
.thin-div {
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 15px;
  font-family: "ff-dagny-web-pro", Helvetica Neue, Helvetica, sans-serif;
  margin: auto;
  max-width: 900px;
}
.thin-div .center {
  position: relative;
  top: 15px;
  margin: auto;
  width: 105px;
  text-align: center;
  font-size: 20px;
  background: white;
}
.dont-miss {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: auto;
  margin-top: 15px;
  max-width: 900px;
  font-size: 17px;
  font-family: "ff-dagny-web-pro", Helvetica Neue, Helvetica, sans-serif;
}
.dont-miss .story {
  -webkit-flex: 0 0 25%;
  -ms-flex: 0 0 25%;
  flex: 0 0 25%;
}
@media (max-width: 480px) {
  .dont-miss .story {
    -webkit-flex: 1 1 50%;
    -ms-flex: 1 1 50%;
    flex: 1 1 50%;
  }
}
.dont-miss .padded {
  padding: 10px;
}
.dont-miss img {
  width: 100%;
}
.dont-miss a {
  color: #424648;
  transition: color .1s linear;
}
.dont-miss a:hover {
  color: #0777b3;
}
footer.nav-bottom {
  background: black;
  opacity: 0.95;
  padding: 8px 8px 4px 8px;
  position: relative;
  z-index: 99;
}
footer.nav-bottom .logo {
  float: left;
  margin-right: 10px;
}
footer.nav-bottom .logo img {
  margin-top: 5px;
  height: 20px;
}
footer.nav-bottom::after {
  clear: both;
  content: " ";
  display: block;
}
footer.nav-bottom .share.bottom {
  float: right;
  margin-top: 2px;
}
footer.nav-bottom .share.bottom label {
  background: black !important;
  color: white !important;
}
.viewfinder-modal {
  position: fixed;
  background: rgba(0, 0, 0, 0.8);
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-flex-direction: column;
  -ms-flex-direction: column;
  flex-direction: column;
  z-index: 99999;
}
.viewfinder-modal.show {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}
.viewfinder-modal .viewfinder-inner {
  position: relative;
}
.viewfinder-modal video {
  max-width: 100%;
  max-height: 50vh;
  width: 600px;
  background: black;
  -webkit-transform: scaleX(-1);
  transform: scaleX(-1);
}
.viewfinder-modal .close {
  position: absolute;
  top: 8px;
  right: 8px;
  color: white;
  font-weight: bold;
  font-size: 48px;
  cursor: pointer;
}
.viewfinder-modal .shutter {
  border: 1px solid black;
  background: white;
  font-size: 20px;
  font-family: "ff-dagny-web-pro", Helvetica Neue, Helvetica, sans-serif;
  padding: 8px 16px;
  border-radius: 8px;
}
.viewfinder-modal .reticule {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translateX(-50%) translateY(-50%);
  transform: translateX(-50%) translateY(-50%);
  width: 200px;
  height: 200px;
  border: 3px dashed white;
  color: white;
  line-height: 200px;
  text-align: center;
  font-size: 200px;
  font-family: "ff-dagny-web-pro", Helvetica Neue, Helvetica, sans-serif;
}
.viewfinder-modal .reticule.error {
  width: auto;
  font-size: 20px;
  padding: 40px 20px;
  line-height: 1;
}
.canvas-container {
  max-width: 100%;
  width: 600px;
  margin: auto;
  position: relative;
}
.canvas-container .canvas-inner {
  position: relative;
  height: 0;
  padding-bottom: 120.77922078%;
  overflow: hidden;
}
.canvas-container svg {
  max-width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
.canvas-container canvas.face {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  cursor: move;
}
.eyedropper .canvas-container canvas.face {
  cursor: crosshair;
}
.controls {
  font-family: "ff-dagny-web-pro", Helvetica Neue, Helvetica, sans-serif;
  position: absolute;
  z-index: 99;
  bottom: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.8);
  transition: opacity .2s linear;
  box-shadow: 0 0 16px rgba(0, 0, 0, 0.2);
}
.controls.image {
  top: 0;
  bottom: auto;
}
.print-ready .controls {
  opacity: 0;
  pointer-events: none;
}
.controls .label {
  font-size: 13px;
  text-align: center;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.controls .skin-tones,
.controls .hair-tones {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}
.controls .skin-tones .skin,
.controls .hair-tones .skin,
.controls .skin-tones .hair,
.controls .hair-tones .hair {
  -webkit-flex: 1;
  -ms-flex: 1;
  flex: 1;
  height: 30px;
  border: none;
  cursor: pointer;
  font-size: 20px;
  color: rgba(128, 128, 128, 0.5);
  text-shadow: 0 0 black;
}
.controls .image-manipulation {
  text-align: center;
  padding: 8px 0;
}
.controls .button {
  border: 1px solid #7e838b;
  border-radius: 4px;
  background: white;
  padding: 4px 16px;
  cursor: pointer;
  display: inline-block;
  line-height: 1;
  font-size: 12px;
  font-family: "ff-dagny-web-pro", Helvetica Neue, Helvetica, sans-serif;
  text-align: center;
  color: black;
  text-transform: uppercase;
  transition: background .2s linear;
}
.controls .button i.fa {
  display: block;
  font-size: 16px;
  padding-bottom: 8px;
}
@media (max-width: 480px) {
  .controls .button i.fa {
    padding-bottom: 0;
  }
}
@media (max-width: 480px) {
  .controls .button {
    padding: 16px 8px;
    width: 20%;
  }
  .controls .button .text {
    display: none;
  }
}
.controls .button:hover {
  background: #e0e0e0;
}
.controls input[type=file] {
  display: none;
}
.no-gum .take-selfie.button {
  display: none;
}
.print-logo {
  display: none;
}
.page-break {
  display: block;
  height: 0;
  clear: both;
  break-before: always;
  page-break-before: always;
  position: relative;
}
.print-only {
  display: none;
}
@media print {
  nav.main-nav,
  .nav-bottom,
  .ad {
    display: none;
  }
  .paper-hawk > * {
    display: none;
  }
  .paper-hawk {
    width: 100%;
    position: relative;
  }
  .paper-hawk .print-logo {
    display: block;
    max-width: 20%;
    max-height: 50px;
    position: absolute;
    bottom: 0;
    right: 0;
  }
  .paper-hawk h2 {
    display: block;
    text-align: right;
    font-family: "ff-dagny-web-pro", Helvetica Neue, Helvetica, sans-serif;
  }
  .paper-hawk .canvas-container {
    width: 100%;
    display: block;
  }
  .paper-hawk .canvas-container .controls {
    display: none;
  }
  .print-only {
    display: block;
  }
}
.paper-hawk {
  max-width: 800px;
  margin: auto;
}
.ad {
  padding: 20px 0;
  text-align: center;
}
.instructions {
  font-family: "ff-dagny-web-pro", Helvetica Neue, Helvetica, sans-serif;
  font-size: 16px;
}
.links {
  font-family: "ff-meta-serif-web-pro", Georgia, serif;
  font-size: 14px;
  text-align: center;
}
@media (max-width: 480px) {
  .links {
    display: none;
  }
}
.workflow-controls {
  overflow: hidden;
  padding-top: 10px;
}
.workflow-controls .mode {
  float: left;
  width: 33%;
  text-align: center;
  color: white;
  background: #424648;
  font-family: "ff-dagny-web-pro", Helvetica Neue, Helvetica, sans-serif;
  padding: 16px 0;
  border: 2px solid white;
  cursor: pointer;
  transition: background .2s linear;
}
.workflow-controls .mode.null {
  background: #424648;
}
@media (max-width: 480px) {
  .workflow-controls .mode {
    display: block;
    float: none;
    width: 100%;
    padding: 8px 0;
  }
}
.workflow-controls .mode.active {
  background: #033651;
}
.workflow-controls .mode:hover:not(.active) {
  background: #7e838b;
}
