/* force hide contextual links */
.contextual-links[hidden] {
  display: none !important;
}

/* make sure unpublished pages are obvious */
.unpublished {
  background-color: lightsalmon;
}
.revision {
  background-color: lightgreen;
}

/* force header below the Drupal toolbar */
.toolbar-horizontal .main-header {
  margin-top: 39px;
}
.toolbar-horizontal.toolbar-tray-open .main-header {
  margin-top: 79px;
}

.hide-body .cta__body {
    display: none;
}

.field--label-inline .field__label::after {
  content: ': ';
}
.field--label-inline > div {
  display: inline-block;
}

.field--type-text-long > ol {
  margin-left: 2rem;
}

/* imgs maybe shouldn't go full-width automatically */
.path-media img {
  width: auto;
}

/* system message blocks */
.messages {
  font-size: 110%;
}
.messages__inner {
  margin: 0 auto;
  max-width: 75rem;
  padding: 2rem;
}
.messages.messages--status {
  background-color: lightcyan;
}
.messages.messages--warning {
  background-color: lightyellow;
  font-weight: bold;
}
.messages.messages--error {
  color: white;
  background-color: red;
  font-weight: bold;
}

/* override contextual placement */
.large-photo-header__photo .contextual-region {
  position: static;
}

/* active trails on sidenav */
.sidebar--nav .menu-item ul {
  display: none;
}
.sidebar--nav .menu-item.menu-item--active-trail > ul {
  display: inherit;
}

.sidebar-filters [data-drupal-selector="edit-unit"] ul ul {
  display: none;
}

.node--type-people .page-header .two-columns__right .header__image {
  text-align: right;
  }
  .node--type-people .page-header .two-columns__right .header__image img {
    max-width: 400px;
    max-height: 300px;
  }

.person-info .field {
  margin-bottom: .5rem;
}

.embederator .embed {
  position: relative;
  overflow: hidden;
  /*padding-top: 56.25%;*/
  }
  .embederator .embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }

/** hide child labels */
#views-exposed-form-directory-page-1 select option[label^="-"] {
  display: none;
}
#views-exposed-form-directory-page-1 select option[label^="- Any -"] {
  display: inherit;
}

.embederator--spotify .embed {
  padding-top: 0;
}
.embederator--spotify.embederator .embed iframe {
  position: relative;
}