:root {
  --primary-color: #f05129;
  --primary-color-hover: rgba(188, 57, 1, 1);
  /* #BC3901 */
  --secondary-color: rgba(0, 167, 228, 1);
  /* #00A7E4 */
  --color-success: rgba(22, 201, 74, 1);
  /* #16C94A */
  --color-danger: rgba(254, 12, 11, 1);
  /* #FE0C0B */
  --color-warning: rgba(254, 153, 11, 1);
  /* #FE990B */
  --color-info: rgba(2, 252, 216, 1);
  /* #02FCD8 */
  --text-color-primary: rgba(38, 50, 56, 1);
  /* #263238 */
  --text-color-offwhite: rgba(250, 250, 250, 1);
  /* #FAFAFA */
  --text-nav-current: #f05129;
  --bg-offwhite: rgba(250, 250, 250, 1);
  /* #FAFAFA */
  --bg-lightest-gray: rgba(245, 245, 245, 1);
  /* #F5F5F5 */
  --bg-darkest-gray: rgba(51, 51, 51, 1);
  /* #333333 */
  --bg-offblack: rgba(38, 50, 56, 1);
  /* #263238 */
  --bg-dark-gray: rgba(102, 102, 102, 1);
  /* #666666 */
  --bg-medium-gray: rgba(153, 153, 153, 1);
  /* #999999 */
  --bg-footer: rgba(238, 238, 238, 1);
  /* #EEEEEE */
  --bg-divider: rgba(189, 189, 189, 1);
  /* #BDBDBD */
  --bg-card-title: rgba(51, 51, 51, 0.7);
  /* #333333 */
  --bg-loading: rgba(51, 51, 51, 0.5);
  /* #333333 */
  --bg-completed: #00618e;
  --bg-submitted: #2e91bf;
  --bg-in_progress: #80cef3;
  --bg-not_started: #e9ecef;
  --shadow-color: rgba(51, 51, 51, 0.8);
  /* #333333 */
  --light-shadow-color: rgba(51, 51, 51, 0.4);
  /* #333333 */
  --footer-links-color: #00618e;
  /* Colors used to build complex interface widgets */
  --control-bg-light: #efefef;
  --control-bg-default: #d8d8d8;
  --control-label-color: #333333;
  --height-top-nav: 113px;
  /* Height of logo image plus padding */
  --height-footer: 149px;
  --height-main: calc(100vh - (var(--height-top-nav) + var(--height-footer)));
  /* Making room for instructions button on bottom and breadcrumb and nav on top */
  --height-contribute-image: calc(
        100vh - (8.0625rem + 1.59375rem + 2.375rem)
    );
  /* Subtract height of navbar, breadcrumbs, and nav pills */
  --height-contribute-input: calc(50vh - 5.96875rem);
  --height-tags-input: calc(50vh - 2.625rem);
  --top-tags-input: calc(50vh - 0.75rem);
}

html,
body.view-transcriptions--asset-detail main,
#contribute-main-content {
  /* This avoids browser inconsistencies when using the fullscreen API */
  color: var(--text-color-primary);
  background-color: var(--bg-offwhite);
}

body {
  color: var(--text-color-primary);
  border-top: 0.25rem solid var(--primary-color);
  background-color: var(--bg-offwhite);
}

main {
  min-height: var(--height-main);
}

h1,
.h1 {
  font-family: 'Roboto Slab', serif;
  font-weight: bold;
  color: var(--text-color-primary);
}

h1.header-text {
  font-family: 'Open Sans', sans-serif;
  font-size: 2.5rem;
  font-weight: normal;
  color: black;
  text-transform: uppercase;
}

h2,
.h2 {
  font-size: 1.5rem;
  line-height: 125%;
  color: var(--text-color-primary);
}

h2.offwhite {
  color: var(--text-color-offwhite);
}

h2 small {
  color: var(--text-color-primary);
}

h3 {
  font-size: 1.25rem;
  line-height: 125%;
  color: var(--text-color-primary);
}

h4 {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.125rem;
  line-height: 125%;
  color: var(--text-color-primary);
}

h5 {
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  line-height: 125%;
  font-weight: normal;
}

h6 {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.875rem;
  line-height: 125%;
  color: var(--text-color-primary);
}

.offwhite-text {
  color: var(--text-color-offwhite);
}

.primary-text {
  color: var(--primary-color);
}

.gray-text {
  color: var(--text-color-primary);
}

a:hover {
  color: var(--text-color-primary);
}

a.primary-text {
  color: var(--primary-color);
  text-decoration: none;
}

a.primary-text:hover {
  color: var(--primary-color-hover);
  text-decoration: underline;
}

a.offwhite-text {
  color: var(--text-color-offwhite);
  text-decoration: none;
}

a.offwhite-text:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

a.gray-text {
  text-decoration: none;
}

a.gray-text:hover {
  color: var(--primary-color);
  text-decoration: none;
}

a.nav-secondary {
  font-family: 'Open Sans', sans-serif;
  font-weight: normal;
  font-size: 0.875rem;
  color: var(--text-color-primary);
}

a.nav-secondary:hover {
  opacity: 0.7;
  text-decoration: none;
}

a .campaign-title:hover,
.hero-text a:hover {
  color: var(--text-color-primary);
  text-decoration: underline;
}

ul.nav-secondary li:first-of-type {
  border-right: solid 0.0675rem var(--bg-darkest-gray);
}

p.hero-secondary {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.125rem;
  color: var(--text-color-primary);
}

p.hero-secondary.offwhite-text {
  font-family: 'Open Sans', sans-serif;
  font-size: 1.125rem;
  color: var(--text-color-offwhite);
}

.bg-offwhite {
  background-color: var(--bg-offwhite);
}

.bg-lightest-gray {
  background-color: var(--bg-lightest-gray);
}

.bg-medium-gray {
  background-color: var(--bg-medium-gray);
}

.bg-darkest-gray {
  background-color: var(--bg-darkest-gray);
}

.bg-dark-gray {
  background-color: var(--bg-darkest-gray);
}

.bg-footer {
  background-color: var(--bg-footer);
}

.bg-card-title {
  background-color: var(--bg-card-title);
}

.bg-home-contribute {
  /* For browsers that do not support gradients */
  background-color: var(--bg-darkest-gray);
  background-image: linear-gradient(rgba(250, 250, 250, 0.25), rgba(38, 50, 56, 0.25)), linear-gradient(#333333, #333333);
}

.bg-img-placeholder {
  background-color: var(--bg-divider);
}

.bg-img-placeholder:hover {
  background-image: linear-gradient(rgba(252, 76, 2, 0.5), rgba(252, 76, 2, 0.1)), linear-gradient(#bdbdbd, #bdbdbd);
}

.bg-primary-color {
  background-color: var(--primary-color);
}

.bg-completed {
  background-color: var(--bg-completed);
}

.bg-submitted {
  background-color: var(--bg-submitted);
}

.bg-in_progress {
  background-color: var(--bg-in_progress);
}

.bg-not_started {
  background-color: var(--bg-not_started);
}

input {
  color: var(--text-color-primary);
  background-color: var(--bg-offwhite);
}

hr {
  color: var(--bg-dark-gray);
}

.navbar-brand {
  padding-top: 0;
  padding-bottom: 0;
  margin-right: 0;
}

.navbar-brand img {
  width: 10.625rem;
  height: auto;
}

ul.nav-secondary {
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
}

/*
* vertical and horizontal dividers
*/
.navbar-brand .vl {
  height: 6rem;
  background-color: var(--bg-dark-gray);
  width: 0.0675rem;
}

.border-login-register {
  border-left: solid 0.0675 var(--bg-darkest-gray);
}

.border-left-home-contribute {
  border-left: solid 0.0675rem var(--bg-offwhite);
}

.navbar-offwhite .navbar-nav .active > .nav-link,
.navbar-offwhite .navbar-nav .nav-link.active,
.navbar-offwhite .navbar-nav .nav-link.show,
.navbar-offwhite .navbar-nav .show > .nav-link {
  color: var(--text-nav-current);
}

.navbar-offwhite .navbar-nav .nav-link {
  font-family: 'Open Sans', sans-serif;
  font-weight: bold;
  color: var(--text-color-primary);
}

#topnav-account-dropdown .dropdown-menu {
  /* Our custom styling conflicts with the Bootstrap defaults */
  top: 2.8rem;
  left: -5rem;
}

.btn.disabled,
.btn:disabled {
  opacity: 0.3 !important;
}

.btn-default {
  background-color: #9e9e9e;
  border-color: #9e9e9e;
  color: var(--text-color-primary);
}

.btn-default.disabled,
.btn-default:disabled {
  background-color: #9e9e9e !important;
  border-color: #9e9e9e !important;
  color: var(--text-color-primary) !important;
}

.btn-default:hover {
  background-color: var(--bg-darkest-gray);
  border-color: var(--bg-darkest-gray);
  color: var(--text-color-offwhite);
}

.btn-outline-default {
  border-color: var(--bg-medium-gray);
  color: var(--bg-medium-gray);
}

.btn-outline-default:hover {
  border-color: var(--bg-darkest-gray);
  background-color: transparent;
  color: var(--bg-darkest-gray);
}

.btn-row .btn {
  width: 9.875rem !important;
}

.btn-dark {
  background-color: var(--bg-offblack);
  border-color: var(--bg-offblack);
  color: var(--text-color-offwhite);
}

.btn-dark.disabled,
.btn-dark:disabled {
  background-color: var(--bg-darkest-gray) !important;
  border-color: var(--bg-darkest-gray) !important;
  color: var(--text-color-offwhite) !important;
}

/* Forms */
.form-group-required label {
  font-weight: bold;
}

/* Cards */
.card-body {
  padding: 1rem 0.5rem;
}

.card-img-campaign {
  object-position: center top;
  object-fit: cover;
  height: 13.25rem;
}

.card-img-overlay {
  left: 0;
  right: 0;
  bottom: 0;
  margin-bottom: 3.0675rem;
  padding: 0.5rem 1.25rem;
}

.card-img-overlay.img-campaign {
  padding: 0;
}

.card-title {
  margin-bottom: 0.5rem;
}

.img-project {
  min-height: 13.125rem;
}

.round-corners-bottom {
  border-radius: 0 0 0.5rem 0.5rem;
}

.img-fluid.rounded-circle {
  max-height: 15rem;
  width: auto;
}

.shadow-regular {
  box-shadow: 0 0 0.25rem var(--shadow-color);
}

/*
 * Common navigational elements
 */
.breadcrumb {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: start;
  align-items: start;
}

.breadcrumb-item {
  max-width: 20em;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

/*
 * List-like displays for items and assets
 */
.card-deck .card.concordia-object-card {
  position: relative;
  flex-grow: 0;
  flex-basis: 200px;
  width: 200px;
  min-height: 300px;
  margin: 0.25rem;
  justify-content: start;
  align-items: center;
  background-color: var(--bg-lightest-gray);
}

.card-deck .card.concordia-object-card > * {
  /* This is only necessary for IE11 */
  max-width: 100%;
}

@media screen and (max-width: 576px) {
  .card-deck .card.concordia-object-card {
    flex-basis: auto;
  }
}

.concordia-object-card .card-title,
.concordia-object-card .card-actions {
  position: absolute;
  left: 0;
  right: 0;
}

.concordia-object-card[data-transcription-status='completed']:not(:hover) {
  opacity: 0.5;
}

.concordia-object-card .card-title {
  bottom: 0;
  padding: 2px;
  margin-bottom: 0;
  font-weight: bold;
  font-size: 0.875rem;
  position: static;
}

.concordia-object-card .card-actions {
  top: 0;
}

.concordia-object-card .card-actions .btn-default:not(:hover) {
  background-color: var(--shadow-color);
  border-color: var(--shadow-color);
  color: #fff;
}

.concordia-object-card .card-img-container {
  display: block;
  height: 100%;
  width: 100%;
}

.card.concordia-object-card .progress {
  height: 1em;
  border-radius: 0;
}

/*
 * Progress displays
 */
#progress-bar {
  height: 2rem;
}

#progress-stats {
  font-size: smaller;
}

#progress-stats th {
  font-size: inherit;
  font-weight: inherit;
}

.transcription-status-key {
  display: inline-block;
  height: 0.6em;
  width: 0.6em;
  vertical-align: baseline;
}

/*
 * Homepage customizations
 */
.view-homepage h1 {
  font-size: 2rem;
  line-height: 125%;
}

.view-homepage .carousel-indicators li {
  width: 12px;
  height: 12px;
  background: url("data:image/svg+xml;charset=utf8,%3Csvg%20height%3D%2212%22%20viewBox%3D%220%200%2012%2012%22%20width%3D%2212%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20fill%3D%22%23fff%22%20fill-rule%3D%22evenodd%22%20r%3D%225.5%22%20stroke%3D%22%23333%22/%3E%3C/svg%3E");
  background-repeat: no-repeat;
}

.view-homepage .carousel-indicators .active {
  background: url("data:image/svg+xml;charset=utf8,%3Csvg%20height%3D%2212%22%20viewBox%3D%220%200%2012%2012%22%20width%3D%2212%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Ccircle%20cx%3D%226%22%20cy%3D%226%22%20fill%3D%22%23F05129%22%20fill-rule%3D%22evenodd%22%20r%3D%225.5%22%20stroke%3D%22%23fff%22/%3E%3C/svg%3E");
  background-repeat: no-repeat;
}

.view-homepage .carousel-control-next,
.view-homepage .carousel-control-prev {
  opacity: 1;
}

.view-homepage .carousel-control-next-icon,
.view-homepage .carousel-control-prev-icon {
  height: 55px;
  width: 33px;
}

.view-homepage .carousel-control-next-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20height%3D%2255%22%20viewBox%3D%220%200%2033%2055%22%20width%3D%2233%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22m1221.23218%20395.14282c0%20.428572-.21429.910716-.53571%201.232145l-24.96432%2024.964315c-.32143.321429-.80357.535715-1.23214.535715-.42858%200-.91072-.214286-1.23215-.535715l-2.67857-2.678574c-.32143-.321429-.53572-.750001-.53572-1.232145%200-.428572.21429-.910715.53572-1.232144l21.05359-21.053597-21.05359-21.053596c-.32143-.321429-.53572-.803573-.53572-1.232144%200-.428572.21429-.910716.53572-1.232145l2.67857-2.678574c.32143-.321429.80357-.535715%201.23215-.535715.42857%200%20.91071.214286%201.23214.535715l24.96432%2024.964315c.32142.321429.53571.803572.53571%201.232144z%22%20fill%3D%22%23fff%22%20fill-rule%3D%22evenodd%22%20stroke%3D%22%23333%22%20stroke-width%3D%22.5%22%20transform%3D%22translate%28-1189%20-368%29%22/%3E%3C/svg%3E");
}

.view-homepage .carousel-control-next:hover .carousel-control-next-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20height%3D%2255%22%20viewBox%3D%220%200%2033%2055%22%20width%3D%2233%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22m1221.23218%20395.14282c0%20.428572-.21429.910716-.53571%201.232145l-24.96432%2024.964315c-.32143.321429-.80357.535715-1.23214.535715-.42858%200-.91072-.214286-1.23215-.535715l-2.67857-2.678574c-.32143-.321429-.53572-.750001-.53572-1.232145%200-.428572.21429-.910715.53572-1.232144l21.05359-21.053597-21.05359-21.053596c-.32143-.321429-.53572-.803573-.53572-1.232144%200-.428572.21429-.910716.53572-1.232145l2.67857-2.678574c.32143-.321429.80357-.535715%201.23215-.535715.42857%200%20.91071.214286%201.23214.535715l24.96432%2024.964315c.32142.321429.53571.803572.53571%201.232144z%22%20fill%3D%22%23F05129%22%20fill-rule%3D%22evenodd%22%20stroke%3D%22%23fff%22%20stroke-width%3D%22.5%22%20transform%3D%22translate%28-1189%20-368%29%22/%3E%3C/svg%3E");
}

.carousel-control-prev-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20height%3D%2255%22%20viewBox%3D%220%200%2033%2055%22%20width%3D%2233%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22m100.946469%20372.85708c0%20.428571-.214286.910715-.535715%201.232144l-21.0535968%2021.053596%2021.0535968%2021.053597c.321429.321429.535715.803572.535715%201.232144s-.214286.910716-.535715%201.232145l-2.6785749%202.678574c-.321429.321429-.8035724.535715-1.2321444.535715-.4285719%200-.9107153-.214286-1.2321443-.535715l-24.9643155-24.964315c-.3214289-.321429-.5357149-.803573-.5357149-1.232145s.214286-.910715.5357149-1.232144l24.9643155-24.964315c.321429-.321429.8035724-.535715%201.2321443-.535715.428572%200%20.9107154.214286%201.2321444.535715l2.6785749%202.678574c.321429.321429.535715.750001.535715%201.232145z%22%20fill%3D%22%23fff%22%20fill-rule%3D%22evenodd%22%20stroke%3D%22%23333%22%20stroke-width%3D%22.5%22%20transform%3D%22translate%28-69%20-368%29%22/%3E%3C/svg%3E");
}

.view-homepage .carousel-control-prev:hover .carousel-control-prev-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg%20height%3D%2255%22%20viewBox%3D%220%200%2033%2055%22%20width%3D%2233%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22m100.946469%20372.85708c0%20.428571-.214286.910715-.535715%201.232144l-21.0535968%2021.053596%2021.0535968%2021.053597c.321429.321429.535715.803572.535715%201.232144s-.214286.910716-.535715%201.232145l-2.6785749%202.678574c-.321429.321429-.8035724.535715-1.2321444.535715-.4285719%200-.9107153-.214286-1.2321443-.535715l-24.9643155-24.964315c-.3214289-.321429-.5357149-.803573-.5357149-1.232145s.214286-.910715.5357149-1.232144l24.9643155-24.964315c.321429-.321429.8035724-.535715%201.2321443-.535715.428572%200%20.9107154.214286%201.2321444.535715l2.6785749%202.678574c.321429.321429.535715.750001.535715%201.232145z%22%20fill%3D%22%23F05129%22%20fill-rule%3D%22evenodd%22%20stroke%3D%22%23fff%22%20stroke-width%3D%22.5%22%20transform%3D%22translate%28-69%20-368%29%22/%3E%3C/svg%3E");
}

.view-homepage .hero-text {
  font-family: 'Open Sans', sans-serif;
  max-width: 30em;
}

#homepage-contribute-activities {
  max-width: 100%;
  margin: auto;
}

.homepage-activity {
  width: calc(33% - 8px);
  flex-shrink: 0;
  flex-grow: 0;
}

.homepage-activity a {
  display: block;
}

#homepage-campaign-list .campaign {
  width: 380px;
}

#homepage-campaign-list img {
  width: 368px;
  height: 262px;
  display: block;
  object-fit: cover;
}

#homepage-campaign-list h3 {
  /* avoid the text below the images overhanging the image */
  max-width: 360px;
}

@media screen and (max-width: 575px) {
  .view-homepage h1 {
    font-size: 2rem;
  }
  .view-homepage .hero-text {
    font-size: 95%;
  }
  .homepage-activity h4 {
    font-size: 95%;
  }
  .homepage-activity p {
    font-size: 85%;
  }
  .view-homepage .carousel-control-next,
  .view-homepage .carousel-control-prev {
    /*
            the background images are all 1200x480 sized with width:100% so
            we'll set our height to match that aspect ratio plus the control icon height and a bit of padding
        */
    height: calc((100vw / (1200 / 480)) + 36px + 8px);
    align-items: flex-end;
  }
  .view-homepage .carousel-control-next-icon,
  .view-homepage .carousel-control-prev-icon {
    height: 36.5px;
    width: 22px;
    filter: invert(1);
  }
  .view-homepage .carousel-overlay .title {
    max-width: 70%;
  }
}

@media screen and (min-width: 720px) {
  #homepage-carousel {
    position: relative;
  }
  #homepage-carousel img {
    cursor: pointer;
  }
  .carousel-overlay {
    position: absolute;
    top: 50px;
    left: 120px;
    width: 420px;
    height: 232px;
    background-color: var(--bg-offwhite);
    padding: 1rem 1rem 1.3rem 1rem;
  }
  #homepage-carousel[data-overlay-position='top-right'] .carousel-overlay {
    left: unset;
    right: 120px;
  }
  #homepage-campaign-list .campaign {
    max-width: 30%;
  }
  .view-homepage .carousel-control-next {
    padding-left: 50px;
  }
  .view-homepage .carousel-control-prev {
    padding-right: 50px;
  }
}

/*
 * Asset detail page
 *
 * This page wants to display as much as possible and so the entire page is a flex column
 */
body.view-transcriptions--asset-detail main {
  min-height: 740px;
  height: var(--height-main);
  background-color: inherit;
}

#contribute-main-content {
  position: relative;
}

#contribute-main-content h2 {
  font-size: inherit;
}

#navigation-container {
  background-color: var(--control-bg-light);
  border: solid var(--control-bg-default) 1px;
  border-bottom: unset;
}

#contribute-container {
  border: solid var(--control-bg-default) 1px;
}

.gutter.gutter-horizontal {
  display: block;
  position: relative;
  cursor: ew-resize;
  background-color: var(--control-bg-default);
}

.gutter.gutter-horizontal::after {
  display: block;
  position: absolute;
  top: calc(50% - 40px);
  left: -4px;
  content: '';
  height: 40px;
  width: 16px;
  background: url("../img/handle.0b17d336ca85.svg") no-repeat;
}

#transcription-editor textarea {
  resize: none;
}

#help-container {
  display: flex;
  justify-content: end;
  align-items: center;
}

#help-container > * {
  margin: 0.6rem;
}

/* Social share icons */
.facebook-icon {
  display: inline-block;
  vertical-align: text-top;
  height: 19px;
  width: 19px;
  background-image: url("../img/facebook-icon.48cd5a710e6a.png");
  background-repeat: no-repeat;
}

.twitter-icon {
  display: inline-block;
  vertical-align: text-top;
  height: 19px;
  width: 19px;
  background-image: url("../img/twitter-icon.7ba8b3d01c4c.png");
  background-repeat: no-repeat;
}

/* Help Center */
.help-center-card {
  color: #fff;
  height: 225px;
  background-color: var(--primary-color);
  margin-bottom: 1rem;
}

.help-center-card a {
  color: #fff;
}

#faqAccordion {
  padding-bottom: 20px;
}

#faqAccordion button {
  color: #333;
}

#faqAccordion .card {
  border-left: 0;
  border-right: 0;
}

#faqAccordion .card-header {
  padding-left: 0;
}

#faqAccordion .card-header button {
  padding-left: 0;
}

.help-center .nav-link {
  padding: 0.5rem 0.5rem;
}

.help-center a.nav-link {
  color: #333;
  font-weight: bold;
}

.help-center a.nav-link.active {
  color: var(--primary-color);
}

/* End of help center stuff */
#instruction-window {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 10;
  background-color: rgba(250, 250, 250, 0.8);
  border-top: 1pt solid var(--bg-darkest-gray);
  transition: height 1s linear 0s;
}

#instruction-window.collapse {
  display: none;
}

#instruction-window.collapse.show {
  display: block;
}

#instruction-window p {
  max-width: 40em;
  margin: auto;
}

/*
 * Tag input on the asset detail page
 */
#current-tags {
  border: 0px solid #ccc;
  border-radius: 0.25rem;
  list-style-type: none;
  max-height: var(--height-contribute-input);
  max-height: 15vh;
  overflow-y: scroll;
}

#current-tags li {
  margin: 0.375rem;
  padding: 0.188rem 0.375rem;
  color: var(--text-color-offwhite);
  background-color: var(--primary-color);
  box-shadow: 0 0 0.125rem var(--shadow-color);
  border-radius: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#current-tags li > * {
  margin: 0 0.188rem;
  padding: 0;
}

#current-tags [data-role='remove'] {
  background-color: var(--primary-color-hover);
  cursor: pointer;
}

#current-tags [data-role='remove']:hover:after {
  background-color: rgba(0, 0, 0, 0.62);
}

#current-tags [data-role='remove']:hover:active {
  box-shadow: inset 0 0.1875rem 0.3125rem rgba(0, 0, 0, 0.125);
}

/*
# Campaign Resources Panel
*/
div.related-links {
  background-color: #ddd;
  border: #000 1px solid;
}

.related-links .list-group-item {
  background-color: #ddd;
  border: 0;
  padding-left: unset;
}

/*
* Alerts
*/
.alert.alert-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--text-color-offwhite);
}

.alert.alert-secondary {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--text-color-primary);
}

.alert.alert-success {
  background-color: var(--color-success);
  border-color: var(--color-success);
  color: var(--text-color-offwhite);
}

.alert.alert-danger {
  background-color: var(--color-danger);
  border-color: var(--color-danger);
  color: var(--text-color-offwhite);
}

.alert.alert-warning {
  background-color: var(--color-warning);
  border-color: var(--color-warning);
  color: var(--text-color-primary);
}

.alert.alert-info {
  background-color: var(--color-info);
  border-color: var(--color-info);
  color: var(--text-color-primary);
}

.alert .close {
  opacity: 0.8;
}

/*
* Footer
*/
.footer-crowd {
  background-color: var(--bg-lightest-gray);
  border-top: 1px solid var(--bg-medium-gray);
  padding: 22px 0;
}

.footer-crowd-row {
  max-width: 1200px;
  padding: 0 1rem;
  margin: 0 auto;
  box-sizing: border-box;
}

@media (min-width: 769px) {
  .footer-crowd-row {
    display: flex;
    padding: 0 2rem;
  }
}

.footer-crowd-social {
  text-align: center;
}

@media (min-width: 769px) {
  .footer-crowd-social {
    text-align: left;
    padding-right: 20px;
  }
}

@media (min-width: 993px) {
  .footer-crowd-social {
    padding-right: 40px;
  }
}

.footer-crowd-social > h2 {
  font-family: inherit;
  font-weight: normal;
  line-height: 1.2;
  color: var(--bg-darkest-gray);
  font-size: 1.25rem;
  margin: 0 0 0.75rem;
}

.footer-crowd-social .links-social {
  margin: 0 -6.5px;
  display: inline-block;
  margin-bottom: 0;
}

.footer-crowd-social .links-social > li {
  display: inline-block;
  margin: 0 6.5px;
}

.footer-crowd-links {
  border-top: 1px solid var(--bg-medium-gray);
  border-bottom: 1px solid var(--bg-medium-gray);
  padding: 16px 0;
  margin: 16px 0;
}

@media (min-width: 769px) {
  .footer-crowd-links {
    flex: 1;
    border: none;
    border-left: 1px solid var(--bg-medium-gray);
    padding: 0;
    padding-left: 20px;
    margin: 0;
  }
}

@media (min-width: 993px) {
  .footer-crowd-links {
    padding-left: 40px;
  }
}

.footer-crowd-links > ul {
  font-size: 14px;
  font-weight: bold;
  margin: 0;
}

.footer-crowd-links > ul > li {
  margin-bottom: 5px;
  text-align: center;
}

@media (min-width: 769px) {
  .footer-crowd-links > ul > li {
    text-align: left;
  }
}

@media (min-width: 769px) {
  .footer-crowd-links-aside {
    border-left: 1px solid var(--bg-medium-gray);
    padding-left: 20px;
    padding-top: 20px;
  }
}

@media (min-width: 993px) {
  .footer-crowd-links-aside {
    padding-left: 40px;
  }
}

.footer-crowd-links-aside .links-aside {
  padding-left: 0;
  list-style: none;
  text-align: center;
  margin-bottom: 15px;
}

@media (min-width: 769px) {
  .footer-crowd-links-aside .links-aside {
    text-align: left;
  }
}

.footer-crowd-links-aside .links-aside > li {
  display: inline-block;
  font-size: 13px;
  line-height: 1.1;
}

.footer-crowd-links-aside .links-aside > li:not(:last-child) {
  border-right: 1px solid var(--bg-medium-gray);
  padding-right: 8px;
  margin-right: 5px;
}

.footer-crowd-links-aside .links-intersites {
  padding-left: 0;
  list-style: none;
  margin: 0 -1rem;
}

.footer-crowd-links-aside .links-intersites > li {
  display: inline-block;
  margin: 0 1rem;
}

.footer-crowd-links-aside .links-intersites > li > a {
  display: block;
}

@media (max-width: 992px) {
  .footer-crowd-links-aside .links-intersites > li > a {
    margin: 5px 0;
  }
}

.footer-crowd-links-aside .links-intersites > li.intersites-link-congress > a {
  width: 125px;
  height: 30px;
  background: url("../img/congress-gov.d08bcb07a130.svg") no-repeat;
  background-size: 125px 30px;
}

.footer-crowd-links-aside .links-intersites > li.intersites-link-copyright > a {
  width: 175px;
  height: 30px;
  background: url("../img/copyright-gov.edc137f19a91.svg") no-repeat;
  background-size: 175px 30px;
}

@media (max-width: 768px) {
  .footer-crowd-links-aside .links-intersites {
    text-align: center;
  }
}

.bitmap-icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  vertical-align: text-top;
  background-image: url("../img/social-icons-sprite.343d9a36d8fc.png");
  background-position: -200px 0;
  background-repeat: no-repeat;
}

.bitmap-icon.github-icon {
  background-position: 0 0;
}

.bitmap-icon.twitter-icon {
  background-position: -40px 0;
}

.bitmap-icon.email-icon {
  background-position: -80px 0;
}

.bitmap-icon.facebook-icon {
  background-position: -40px -36px;
}

.bitmap-icon.copy-link-icon {
  background-position: -80px -36px;
}

/* Registration page */
#registration-form-container > .col-md-6 {
  max-width: 30rem;
}

/* This is here to fix
    https://github.com/LibraryOfCongress/concordia/issues/1127
    until https://github.com/twbs/bootstrap/issues/29439 is fixed */
#registration-form-container .invalid-feedback {
  display: block;
}

/* print */
@media print {
  @page {
    margin: 0.75in;
  }
  body {
    border-style: none;
    background-color: transparent;
    font-size: 14pt;
  }
  header .navbar {
    padding: 0;
    background-color: transparent;
  }
  #navigation-container {
    border-style: none;
    padding: 0;
  }
  #contribute-container {
    border-style: none;
  }
  .print-transcription-image {
    page-break-before: always;
  }
  #contribute-container .gutter-horizontal {
    display: none;
  }
  #contribute-container #editor-column .tx-status-display {
    font-size: 24px;
    margin: 2rem 0;
  }
  #contribute-container #editor-column .print-transcription-text {
    display: block !important;
    white-space: pre-wrap;
    color: #000;
  }
  #current-tags {
    max-height: none;
  }
  #current-tags li {
    background-color: transparent;
    color: #000;
    display: inline-block;
  }
}

/*# sourceMappingURL=../sourcemaps/css/base.css.map */
