:root {
  --colors-primary: #ffea00;
  --colors-primary-dark-10: #cb0;
  --colors-black-10: rgba(0, 0, 0, 0.1);

  --gutter-outer: 4rem;
  --gutter-inner-y: 2rem;
  --gutter-inner-x: 8rem;
}
@media (max-width: 1200px) {
  :root {
    --gutter-outer: 1rem;
    --gutter-inner-y: 2rem;
    --gutter-inner-x: 4rem;
  }
}
@media (max-width: 900px) {
  :root {
    --gutter-inner-y: 1rem;
    --gutter-inner-x: 1rem;
  }
}
/* fjalla-one-regular - latin */
@font-face {
  font-family: "Fjalla One";
  font-style: normal;
  font-weight: 400;
  src: local(""), url("fjalla-one-v13-latin-regular.woff2") format("woff2"),
    url("fjalla-one-v13-latin-regular.woff") format("woff");
  font-display: swap;
}

html {
  background-color: var(--colors-primary);
  background-image: radial-gradient(var(--colors-black-10) 10%, transparent 10%),
    radial-gradient(var(--colors-black-10) 10%, transparent 10%);
  background-position: 0 0, 2vh 2vh;
  background-size: 2vh 2vh;
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.34;
  font-size: 20px;
}
@media (max-width: 1024px) {
  html {
    font-size: 14px;
  }
}

body {
  height: 100%;
  background-color: #fff;
  box-shadow: 0 1rem 2rem var(--colors-primary-dark-10);
  font-size: 1rem;
  font-family: "Helvetica Neue", "Arial Nova", Helvetica, Arial, sans-serif;
  box-sizing: border-box;
  border-radius: 0.4rem;
  padding: 0 var(--gutter-inner-y);

  --body-width: calc(100vw - calc(var(--gutter-outer) * 2));
  --body-max-width: calc(100vw - calc(var(--gutter-outer) * 2));
  --body-margin: var(--gutter-outer);

  width: var(--body-width);
  max-width: var(--body-max-width);
  margin: var(--body-margin);
}
.container {
  max-width: 100%;
  padding: 0;
}
@media (min-width: 1200px) {
  body {
    --body-max-width: calc(1200px - calc(var(--gutter-outer) * 2));
    --body-margin: var(--gutter-outer) auto;
  }
}
@media (max-width: 900px) {
  body {
    --body-width: 100vw;
    --body-max-width: calc(100vw - calc(var(--gutter-outer) * 2));
  }
}

.page-body {
  padding-bottom: 5rem;
}

.navbar.navbar-fixed-top {
  position: sticky;
  padding: 1rem 1rem;
  margin: 0 calc(-1 * var(--gutter-inner-y)) 2rem;
  box-shadow: none;
}
.navbar a {
  text-transform: uppercase;
  text-decoration: none;
  color: inherit;
}
.navbar .nav > li > a:hover,
.navbar .nav > li.active > a:hover,
.navbar .nav > .active > a {
  background-color: var(--colors-primary);
  outline: none;
}
.navbar .nav > li > a.with-icon {
  padding: 0;
  display: inline-block;
  height: calc(1.2em + 8px);
  vertical-align: -0.25em;
}
.navbar .nav > li > a.with-icon svg {
  width: 1.2em;
  height: 1.2em;
  margin: 4px;
}

.navbar .container {
  width: 100%;
  padding: 0;
  margin: 0;
}

.navbar .navbar-right {
  margin-right: 0;
}

.dropdown-menu > li {
  text-transform: none;
}

.navbar-brand,
.navbar-nav > li > a {
  text-transform: uppercase;
  font-family: Fjalla One, sans-serif;
  font-weight: 400;
}
.navbar-nav > li > a {
    padding: 8px;
}

.navbar-nav > li.dropdown li:has(a[href*="feedback"]) {
    display: none;
}

.navbar-nav {
  padding-top: 10px;
  font-size: 1.1rem;
}

.navbar-brand {
  margin-top: 5px;
  font-size: 2rem;
}

/* set custom font */

.idno-object h2 {
  font-size: 1.2rem;
  font-weight: normal;
}

.idno-body p {
  font-family: inherit;
  -webkit-hyphens: auto;
  hyphens: auto;
}

.fluid-width-video-wrapper {
  padding-top: 56.25% !important;
  margin-bottom: 10px;
}

.idno-object a.p-category {
  color: inherit;
}

#contentTypeButtonBar {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
}

@media screen and (max-width: 800px) {
  html {
    font-size: 15px;
  }
  .idno-content {
    padding: 0;
  }
}

/* cards for unfurls */

.card {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  min-width: 0;
  word-wrap: break-word;
  background-color: #fafafa;
  background-clip: border-box;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 1rem;
  overflow: hidden;

  filter: saturate(0);
  transition: 0.2s;

  max-height: 200px;
}
.card:hover {
  filter: saturate(1);
}

.card-img-top {
  flex: 1;
  max-width: 200px;
  max-height: 200px;
  object-fit: cover;
  aspect-ratio: 1;
}
.card-img-top[src="https://social.omgmog.net/gfx/users/default.png"]
{
  display: none;
}

.card-body {
  flex: 1;
  padding: 1.25rem;
}
.card-body::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2rem;
  background: linear-gradient(to bottom, rgba(250, 250, 250, 0) 0%, rgba(250, 250, 250, 1) 100%);
  pointer-events: none;
}

.card-img-top ~ .card-body {

}



.card-title {
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.card-footer {
  padding: 0.75rem 1.25rem;
  background-color: rgba(0, 0, 0, 0.03);
  border-top: 1px solid rgba(0, 0, 0, 0.125);
  width: 100%;
}

.card-footer:last-child {
  border-radius: 0 0 calc(0.25rem - 1px) calc(0.25rem - 1px);
}

.photo-view {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 30rem;
  max-width: 100%;
}
.photo-view > a {
  width: 100%;
  display: block;
}
.photo-view .u-photo {
  height: 100%;
  object-fit: contain;
  width: 100%;
}

figure.iframe {
  position: relative;
  /* padding-top: 71.25%;
  height: 0; */
  aspect-ratio: 16/9;
  padding-top: 0;
  height: auto;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.125);
}
.figure-content {
  height: 100%;
  border: 0;
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  width: 100%;
  border-radius: inherit;

  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.figure-content.placeholder {
  filter: saturate(0);
  background: var(--colors-darkgrey, #333);
  cursor: pointer;
  transition: 0.2s;
}
.figure-content.placeholder:hover {
  filter: saturate(1);
}
.iframe .figure-content.placeholder::before,
.iframe .figure-content.placeholder::after {
  color: var(--colors-white, #fff);
  position: absolute;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 1;
  filter: drop-shadow(0 0 0.5rem var(--colors-black, #000));
}
.iframe .figure-content.placeholder::before {
  content: "Click to play";
  font-weight: bold;
  bottom: 2.5rem;
}
.iframe .figure-content.placeholder::after {
  content: attr(data-src);
  font-style: italic;
  bottom: 1rem;
}
.iframe .figure-content.placeholder img {
  width: 100%;
  height: 100%;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  position: inherit;
  object-fit: cover;
  z-index: 0;
  opacity: 0.5;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
}



.idno-body p.only-emoji {
  display: flex;
  flex-direction: row;
  gap: .25em;
}

.idno-body p.only-emoji img.emoji {
  font-size: 3rem;
}

.navbar-default {
    background-color: rgba(255, 255, 255, 0.7);
    backdrop-filter: saturate(180%) blur(0.5rem);
    top: -1px;
    box-shadow: none;
    border-bottom-color: rgba(218, 219, 223, .8);
    transition: box-shadow .2s ease-in-out;
}
.navbar-default.is-pinned {
    box-shadow: 0 0.5rem 1rem rgba(153,153,153,0.25);
}
.navbar-default .navbar-brand, .navbar-default .navbar-nav > li > a {
    color: #000;
}

.navbar-nav.navbar-right {
    display: flex;
    flex-direction: row;
}
.navbar-nav.navbar-right > li {
    order: 1;
}
.navbar-nav.navbar-right > li.dropdown {
    order: 0;
}
.navbar-nav.navbar-right > li.dropdown .u-photo {display: none;}

.col-md-8.col-md-offset-2.edit-pane {
    width: 100%;
    margin-left: 0;
}

.col-md-8.col-md-offset-2.edit-pane h4,
.col-md-8.col-md-offset-2.edit-pane h4 + br  {
    display: none;
}

#contentCreate {
    padding: 0;
}
