html {
  box-sizing: border-box; }

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "segoe ui", "helvetica neue", helvetica, ubuntu, roboto, noto, arial, sans-serif;
  margin: 0; }

a {
  color: #009ec0;
  text-decoration: none; }
  a.underline {
    text-decoration: underline; }

p,
ul,
ol,
blockquote {
  line-height: 1.44em; }

.small {
  font-size: 12px;
  line-height: 16px;
  margin: 5px 0;
  opacity: 0.7; }

.responsive-wrapper {
  margin: 0 auto;
  transform: width 250ms; }
  @media (max-width: 719px) {
    .responsive-wrapper {
      width: 480px; } }
  @media (min-width: 720px) {
    .responsive-wrapper {
      width: 720px; } }
  @media (min-width: 960px) {
    .responsive-wrapper {
      width: 960px; } }
  .responsive-wrapper.row-wrap {
    display: flex;
    flex-wrap: wrap; }
  .responsive-wrapper.row-space {
    display: flex;
    justify-content: space-between; }
  .responsive-wrapper.row-center {
    display: flex;
    align-items: center;
    justify-content: center; }
  .responsive-wrapper.row-space-end {
    display: flex;
    align-items: flex-end;
    justify-content: space-between; }

.wrapper {
  width: 100%; }
  .wrapper.row-wrap {
    display: flex;
    flex-wrap: wrap; }
  .wrapper.row-space {
    display: flex;
    justify-content: space-between; }
  .wrapper.row-center {
    display: flex;
    align-items: center;
    justify-content: center; }

.column-space {
  display: flex;
  flex-direction: column;
  justify-content: space-between; }

.column-center {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center; }

.full-height {
  min-height: 100vh; }

.flex {
  display: flex; }

.flex-1 {
  flex: 1; }

.spacer {
  height: 20px; }

.loader {
  background: #2e2d30;
  border-radius: 2px;
  height: 4px;
  overflow: hidden;
  position: relative;
  width: 200px; }
  #shot-index .loader {
    background-color: #dedede; }

.loader-inner {
  animation: bounce infinite alternate 1250ms cubic-bezier(0.7, 0, 0.3, 1);
  background: #04d1e6;
  border-radius: 2px;
  height: 4px;
  transform: translateX(-40px);
  width: 50px; }

@keyframes bounce {
  0% {
    transform: translateX(-40px); }
  100% {
    transform: translate(190px); } }

@keyframes fade-in {
  0% {
    opacity: 0; }
  100% {
    opacity: 1; } }

@keyframes pop {
  0% {
    transform: scale(1); }
  97% {
    transform: scale(1.04); }
  100% {
    transform: scale(1); } }

@keyframes pulse {
  0% {
    opacity: 0.3;
    transform: scale(1); }
  70% {
    opacity: 0.25;
    transform: scale(1.04); }
  100% {
    opacity: 0.3;
    transform: scale(1); } }

@keyframes slide-left {
  0% {
    opacity: 0;
    transform: translate3d(160px, 0, 0); }
  100% {
    opacity: 1;
    transform: translate3d(0, 0, 0); } }

@keyframes bounce-in {
  0% {
    opacity: 0;
    transform: scale(1); }
  60% {
    opacity: 1;
    transform: scale(1.02); }
  100% {
    transform: scale(1); } }

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px; }
  @media (max-width: 719px) {
    .footer {
      display: flex;
      align-items: flex-start;
      flex-direction: column;
      justify-content: space-between; } }
  .footer a {
    font-size: 15px; }
  @media (max-width: 719px) {
    .footer .legal-links {
      display: flex;
      flex-direction: column;
      justify-content: space-between; } }
  .footer .legal-links a {
    font-size: 12px;
    margin-right: 15px; }
    @media (max-width: 719px) {
      .footer .legal-links a {
        margin-top: 5px; } }
  .footer .mozilla-logo {
    background-image: url("../img/mozilla.svg");
    background-repeat: no-repeat;
    background-size: auto 30px;
    display: block;
    height: 30px;
    width: 120px; }
  .inverse-color-scheme .footer .mozilla-logo {
    background-image: url("../img/mozilla-white.svg"); }
  .default-color-scheme .footer .mozilla-logo {
    background-image: url("../img/mozilla.svg"); }

.button {
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 3px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 400;
  height: 40px;
  min-width: 40px;
  outline: none;
  padding: 0 10px;
  position: relative;
  text-align: center;
  text-decoration: none;
  transition: background 150ms cubic-bezier(0.07, 0.95, 0, 1), border 150ms cubic-bezier(0.07, 0.95, 0, 1);
  user-select: none;
  white-space: nowrap; }
  .button.small {
    height: 32px;
    line-height: 32px;
    padding: 0 8px; }
  .button.tiny {
    font-size: 14px;
    height: 26px;
    border: 1px solid #c7c7c7; }
    .button.tiny:hover, .button.tiny:focus {
      background: #ededf0;
      border-color: #989898; }
    .button.tiny:active {
      background: #dedede;
      border-color: #989898; }
  .button.block-button {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    border: 0;
    border-right: 1px solid #c7c7c7;
    box-shadow: 0;
    border-radius: 0;
    flex-shrink: 0;
    font-size: 20px;
    height: 100px;
    line-height: 100%;
    overflow: hidden; }
    @media (max-width: 719px) {
      .button.block-button {
        justify-content: flex-start;
        font-size: 16px;
        height: 72px;
        margin-right: 10px;
        padding: 0 5px; } }
    .button.block-button:hover {
      background: #ededf0; }
    .button.block-button:active {
      background: #dedede; }
  .button.download, .button.edit, .button.trash, .button.share, .button.flag {
    background-repeat: no-repeat;
    background-size: 50%;
    background-position: center;
    margin-right: 10px;
    transition: background-color 150ms cubic-bezier(0.07, 0.95, 0, 1); }
  .button.download {
    background-image: url("../img/icon-download.svg"); }
    .button.download:hover {
      background-color: #ededf0; }
    .button.download:active {
      background-color: #dedede; }
  .button.share {
    background-image: url("../img/icon-share.svg"); }
    .button.share:hover {
      background-color: #ededf0; }
    .button.share.active, .button.share:active {
      background-color: #dedede; }
  .button.trash {
    background-image: url("../img/icon-trash.svg"); }
    .button.trash:hover {
      background-color: #ededf0; }
    .button.trash:active {
      background-color: #dedede; }
  .button.edit {
    background-image: url("../img/icon-edit.svg"); }
    .button.edit:hover {
      background-color: #ededf0; }
    .button.edit:active {
      background-color: #dedede; }
  .button.flag {
    background-image: url("../img/icon-flag.svg"); }
    .button.flag:hover {
      background-color: #ededf0; }
    .button.flag:active {
      background-color: #dedede; }

.alt-content {
  max-width: 520px;
  text-align: center; }
  .alt-content h1 {
    font-size: 26px;
    font-weight: normal;
    margin: 0; }
  .alt-content p {
    margin-top: 0;
    line-height: 1.8em; }
  .alt-content button {
    margin: 10px auto; }

.share-panel {
  border-radius: 3px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.3), 0 0 20px rgba(0, 0, 0, 0.2);
  position: absolute;
  right: 10px;
  top: 90px;
  width: 350px;
  z-index: 999; }
  @media (max-width: 719px) {
    .share-panel {
      bottom: 0;
      left: 0;
      margin: 0 auto;
      padding: 10px;
      position: fixed;
      right: 0;
      top: auto;
      width: 100%; } }
  @media (min-width: 720px) {
    .alt-notification + #frame .share-panel {
      top: 150px; } }
  .share-panel .share-buttons {
    padding: 20px;
    border-bottom: 1px solid #c7c7c7; }
    .share-panel .share-buttons > a {
      padding-right: 20px; }
  .share-panel .share-url-box {
    padding: 15px; }
  .share-panel img {
    height: 54px;
    width: 54px; }
  .share-panel p {
    margin: 0; }
  .share-panel .share-visibility-notice {
    color: #858585;
    font-size: 13px;
    margin-top: 10px; }
  .share-panel .copy-shot-link-input {
    border: 1px solid #c7c7c7;
    border-right: 0;
    font-size: 16px;
    height: 40px;
    line-height: 40px;
    padding: 5px;
    position: relative;
    flex: 1;
    margin: 0; }
    .share-panel .copy-shot-link-input:hover, .share-panel .copy-shot-link-input:focus {
      border-color: #989898; }
    .share-panel .copy-shot-link-input:active {
      border-color: #989898; }
  .share-panel .copy-toggle {
    flex: 1 0 70px;
    max-width: 120px;
    padding: 0 10px;
    margin: 0;
    border-radius: 0;
    border: 1px solid #c7c7c7; }
    .share-panel .copy-toggle:hover {
      background: #ededf0;
      border-color: #989898; }
    .share-panel .copy-toggle:active {
      background: #dedede;
      border-color: #989898; }

.inverse-color-scheme {
  background: #38383d;
  color: #f9f9fa; }
  .inverse-color-scheme a {
    color: #e1e1e6; }

.default-color-scheme {
  background: #f9f9fa;
  color: #38383d; }
  .default-color-scheme a {
    color: #009ec0; }

.highlight-color-scheme {
  background: #009ec0;
  color: #fff; }
  .highlight-color-scheme a {
    color: #fff;
    text-decoration: underline; }

.alt-color-scheme {
  background: #38383d;
  color: #f9f9fa; }
  .alt-color-scheme h1 {
    color: #6f7fb6; }
  .alt-color-scheme a {
    color: #e1e1e6;
    text-decoration: underline; }

.button.primary {
  background-color: #009ec0;
  color: #fff; }
  .button.primary:hover, .button.primary:focus {
    background-color: #00819c; }
  .button.primary:active {
    background-color: #006c83; }

.button.secondary {
  background-color: #f9f9fa;
  color: #38383d; }
  .button.secondary:hover {
    background-color: #ededf0; }
  .button.secondary:active {
    background-color: #dedede; }

.button.transparent {
  background-color: transparent;
  color: #38383d; }
  .button.transparent:hover {
    background-color: #ededf0; }
  .button.transparent:focus, .button.transparent:active {
    background-color: #dedede; }

.button.warning {
  color: #fff;
  background: #d92215; }
  .button.warning:hover, .button.warning:focus {
    background: #b81d12; }
  .button.warning:active {
    background: #a11910; }

.subtitle-link {
  color: #009ec0; }

@media (min-width: 720px) {
  .frame-header {
    display: flex;
    justify-content: space-between;
    height: 100px; } }

@media (max-width: 719px) {
  .frame-header {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; } }

.alt-notification {
  display: flex;
  align-items: center;
  min-height: 55px;
  padding: 5px 20px; }

.shot-main-actions {
  flex: 1;
  position: relative; }
  @media (min-width: 720px) {
    .shot-main-actions {
      display: flex;
      align-items: center;
      margin-right: 10px;
      overflow: hidden; } }
  @media (max-width: 719px) {
    .shot-main-actions {
      display: flex;
      align-items: center;
      background: #f9f9fa;
      border-bottom: 1px solid rgba(0, 0, 0, 0.1);
      border-top: 1px solid #c7c7c7;
      flex: 0 0 100%;
      height: 72px;
      order: 1;
      width: 100%; } }
  @media (max-width: 719px) {
    .shot-main-actions .expire-widget {
      display: none; } }

.shot-alt-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 30px; }
  @media (max-width: 719px) {
    .shot-alt-actions {
      padding-right: 10px; }
      .shot-alt-actions .download-text {
        display: none; } }

.shot-info {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
  color: #000;
  padding: 0 0 0 20px; }
  .shot-info > div {
    white-space: nowrap; }

.back-to-index {
  display: flex;
  align-items: center;
  background-image: url("../img/shots.svg");
  background-position: left center;
  background-repeat: no-repeat;
  background-size: 46px 46px;
  height: 46px;
  line-height: 46px;
  padding: 0 0 0 46px; }
  @media (max-width: 719px) {
    .back-to-index {
      background-position: left -5px center;
      background-repeat: no-repeat;
      background-size: 36px auto;
      height: 32px;
      padding-left: 28px; } }

.back-to-home {
  background-image: url("../img/new-scissors-icon.svg");
  background-position: left bottom;
  background-repeat: no-repeat;
  background-size: 30px auto;
  height: 34px;
  padding-left: 42px; }
  @media (max-width: 719px) {
    .back-to-home {
      background-position: left center;
      background-repeat: no-repeat;
      background-size: 24px auto;
      height: 32px;
      padding-left: 30px; } }
  .back-to-home > span {
    display: block;
    text-align: left; }
  .back-to-home .sub {
    font-size: 12px; }

.shot-title,
.shot-subtitle {
  overflow-x: hidden;
  text-overflow: ellipsis;
  white-space: nowrap; }

.shot-title {
  font-size: 28px;
  font-weight: 300;
  line-height: 28px;
  padding-bottom: 8px; }
  @media (max-width: 719px) {
    .shot-title {
      font-size: 20px;
      line-height: 20px;
      padding-bottom: 4px; } }
  .shot-title.saving {
    opacity: 0.7; }
  .shot-title.editable {
    cursor: default;
    padding-right: 28px; }
    .shot-title.editable:hover {
      background-image: url("/static/img/pencil.svg");
      background-position: right 5px;
      background-repeat: no-repeat;
      background-size: 20px 20px; }

.subtitle-link,
.time-diff {
  margin-right: 8px; }

.keep-for-form {
  display: flex;
  align-items: center; }
  .keep-for-form select {
    -moz-appearance: none;
    appearance: none;
    background-color: #f9f9fa;
    background-image: url("/static/img/icon-dropdown.svg");
    background-position: right 8px top 8px;
    background-repeat: no-repeat;
    background-size: 10px auto;
    border-radius: 3px;
    border: 1px solid #c7c7c7;
    color: #38383d;
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
    height: 26px;
    margin-left: 8px;
    outline: none;
    padding: 0 24px 0 4px;
    position: relative;
    text-align: center;
    text-decoration: none;
    transition: background 150ms cubic-bezier(0.07, 0.95, 0, 1), border 150ms cubic-bezier(0.07, 0.95, 0, 1);
    user-select: none;
    white-space: nowrap; }
    .keep-for-form select:hover, .keep-for-form select:focus {
      background-color: #ededf0;
      border-color: #989898; }
    .keep-for-form select:active {
      background-color: #dedede;
      border-color: #989898; }
  .keep-for-form .button,
  .keep-for-form select {
    margin-right: 8px; }

.favicon {
  background-size: 16px 16px;
  display: none;
  height: 16px;
  margin-right: 6px;
  width: 16px; }

.shot-title-input {
  border-radius: 3px;
  border: 1px solid #00d1e6;
  font-size: 28px;
  font-weight: 300;
  height: 36px;
  margin: -4px 0 4px -6px;
  padding: 0 5px;
  overflow: auto; }

.shot-subtitle {
  display: flex;
  align-items: center;
  font-size: 15px; }

.clip-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 auto;
  margin: 20px auto;
  max-width: 90%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05), 0 0 0 1px rgba(0, 0, 0, 0.05); }

.link-button {
  cursor: pointer;
  color: #000;
  background: transparent;
  border: 1px solid #d4d4d4;
  padding: 4px;
  border-radius: 4px; }

#clip-image-context {
  display: none; }

.edit,
.pen-button,
.highlight-button {
  background-size: 20px 20px;
  background-repeat: no-repeat;
  background-position: center center;
  margin-right: 10px;
  transition: background-image 150ms cubic-bezier(0.07, 0.95, 0, 1); }

.highlight-button {
  background-image: url("../img/annotation-highlight.svg"); }
  .highlight-button:hover {
    background-color: #ededf0; }
  .highlight-button:active, .highlight-button.active {
    background-image: url("../img/annotation-highlight-active.svg"); }

.pen-button {
  background-image: url("../img/annotation-pen.svg"); }
  .pen-button:hover {
    background-color: #ededf0; }
  .pen-button:active, .pen-button.active {
    background-image: url("../img/annotation-pen-active.svg"); }

html {
  min-height: 100%;
  position: relative; }

body {
  width: 100%;
  margin: 0;
  height: 100%; }

.editor-header {
  z-index: 9999;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  height: 100px;
  align-items: center;
  background: #f9f9fa; }
  @media (min-width: 720px) {
    .editor-header {
      display: flex;
      justify-content: space-between;
      height: 100px; } }
  @media (max-width: 719px) {
    .editor-header {
      display: flex;
      justify-content: space-between;
      flex-wrap: wrap; } }
  .editor-header .button {
    margin: 5px; }
  .editor-header .cancel,
  .editor-header .save {
    min-width: 100px; }
  .editor-header .cancel {
    background-color: #f9f9fa;
    border: 1px solid #9b9b9b; }
    .editor-header .cancel:hover {
      background-color: #ededf0; }
    .editor-header .cancel:active {
      background-color: #dedede; }

.annotation-actions {
  justify-content: center;
  overflow: visible; }
  @media (max-width: 719px) {
    .annotation-actions {
      background: none;
      border-bottom: none;
      border-top: none; } }

.annotation-tools {
  display: flex;
  flex-direction: row;
  background: #fff;
  box-shadow: rgba(0, 0, 0, 0.15) 0 2px 4px;
  border-radius: 3px; }
  .annotation-tools .button:first-child {
    margin-right: 0; }

.annotation-alt-actions {
  height: 72px; }
  @media (max-width: 719px) {
    .annotation-alt-actions {
      width: 100%;
      justify-content: center; } }

.main-container {
  z-index: 9990;
  position: absolute;
  top: 100px;
  left: 0;
  height: calc(100% - 100px);
  width: 100%;
  background-color: #f9f9fa;
  text-align: center; }

.canvas-container .editor {
  z-index: 2; }
  .canvas-container .editor.pen {
    cursor: url("../img/cursor-pen.png"), auto; }
  .canvas-container .editor.highlighter {
    cursor: url("../img/cursor-highlight.png"), auto; }

.highlighter {
  mix-blend-mode: multiply;
  z-index: 1; }

.image-holder {
  z-index: 0; }

.centered {
  position: absolute;
  top: 80px;
  left: 0;
  right: 0;
  margin: auto;
  overflow: hidden;
  margin-bottom: 20px; }
