/*carousel */
.owl-carousel.owl-theme.carousel {
  margin-left: 0 !important;
  margin-right: 0 !important;
  box-shadow: none !important;
}

.carousel .ui.fluid.card {
  box-shadow: none !important;
  border-radius: 0 0 0.28571429rem 0.28571429rem !important;
  overflow: hidden;
}

.carousel figure {
  margin: auto;
  padding: 0;
  position: relative;
  border-color: transparent;
  border-radius: 0 !important;
}
.carousel figcaption {
  position: absolute;
  z-index: 101;
  bottom: 0;
  width: 100%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.8), white);
  padding: 1em 1em !important;
}
.carousel .owl-dot {
  border: 0;
  background: transparent;
}
.carousel .ui.fluid.card {
  min-height: 150px;
  margin: 0 !important;
}

/* very edge case on LUP homepage: if (viewport === ipad landscape && sidebar != hidden) text in cards reveal is shown but not legible;
consider adding sidebar open class to push */
@media only screen and (max-width: 1130px) and (min-width: 961px) {
  /*   .home #site-sidebar:not(.toggle)~#push .card .ui.slide.active.reveal > .hidden.content, .ui.slide.reveal:hover > .hidden.content {
    display: none !important;
    }*/

  .home .ui.slide.active.reveal > .visible.content,
  .ui.slide.reveal:hover > .visible.content {
    transform: scale(1.1) translateX(0) !important;
  }
}
/* visually hide page title on home page LUP only*/
@media (min-width: 961px) {
  h2.home.ui.brand.header {
    margin-left: -3000em;
    position: absolute;
    font-size: 0;
  }
}
/* centre header on /pages, because they have container */

.pages h2.header,
.archives_browse h2.header,
.body-primary.contact h2.huge.ui.header,
.body-primary.contributors h2.huge.ui.header {
  text-align: center;
}

/*
 * One of these should be hidden:
 */
.meta .year-published {
  display: none;
}
.meta .date-published {
}

/* temporary fixes: TODO: merge into semantic.min.css */
.menu-has-children a {
  flex-basis: calc(100% - 2em);
}
.ui.message p:last-of-type {
  margin-bottom: 0;
}

/* Various hacks for alignment requests, needs sorting out */
body.books div.basic.ui.segment h2.header,
body.collections div.basic.ui.segment h2.header,
body.series div.basic.ui.segment h2.header {
  text-align: left;
  max-width: inherit !important;
}

/* Collections page specific title should be centered, above generic catch all, causing issue. */
body.collections h2,
body.imprints .huge.ui.header {
  text-align: center !important;
}

/*.cms blockquote, .cms dd, .cms dt, .cms h1, .cms h2, .cms h3, .cms h4, .cms h5, .cms h6, .cms li, .cms p, .cms pre*/
body.collections .cms p,
body.series .cms p {
  max-width: inherit !important;
}

body.collections div#browser {
  max-width: 55rem !important;
  margin: auto auto;
}

body .cms-content-body {
  text-align: left !important; /* added to fix aligner issue july 2019 */
}

/* body .cms-content-body could be a little non-specific, test. */
body.pages div.cms-content-body,
body.pages div.cms-content-body div.cards,
body.imprints .sixteen.wide.column,
body.collections .cms-content-body,
body .cms-content-body {
  max-width: 55rem !important;
  margin: auto auto !important;
}

body div.cms-content-body.journal-tabs-wrapper {
  max-width: 100% !important;
  margin-left: 0 !important;
  width: 100%;
  margin-top: 1em !important;
}
/*@media (min-width: 992px) {
    .pages main {max-width:80ch !important; margin:auto}
}*/

body.library .cms-content-body,
body.library h2.huge.ui.header {
  text-align: left !important;
  max-width: 55rem !important;
  margin: 0 0 1em !important;
}

/* hack to align series and child pages as they should be to the left */
body.series .cms-content-body,
body.series .cms * {
  max-width: 100% !important;
}

/* align book detail body copy left + keep line width (55rem) */
body.books .cms-content-body,
body.slug-orders section.cms.segment .cms-content-body {
  margin: inherit !important;
}
body.books .cms-content-body div.left.aligned.segment,
body.slug-orders .cms-content-body div.left.aligned.segment {
  /* remove left padding so it lines up with the heading */
  padding-left: 0;
}
/* end align book detail body copy left */

/* A hack to get the text to display properly in a full text search result - removes flex display on the blockquote (but it seems to be needed above that) */
#index-card .column.content,
#index-card .column.meta,
#index-card .wrapping-context,
.index-card.item div.full-text-results blockquote.content {
  display: block !important;
}

/* due to the non-specific line corrections targeting we'll have to watch items inside cms-content-body */
.ui.card {
  margin-left: 0.75em !important;
  margin-right: 0.75em !important;
}

/* about-us / meet the team page no wrap player names */
.slug-about-us .ui.attached.bottom.button {
  white-space: nowrap;
  overflow: hidden;
}

/* about-us / meet the team anchor link in page */
.slug-about-us ol.ui.stackable.fluid.eight.item.waypoint.menu * {
  font-size: 0.86rem;
}

/* slug-open-access align center cms text */
.slug-open-access .cms-content-body p:first-child {
  text-align: center;
}

/*client would prefer home page width to be larger than other pages*/
body.home .cms-content-body {
  max-width: 64rem !important;
}

/* hack to close menu for book series page on load */
.accordion #nav-content-series {
  display: none;
}

.ui.four.cards .ui.card.ie11-target-card {
  display: block !important;
}

/* LUP desktop search update to allow meta search */
@media (min-width: 961px) {
  #qs {
    display: block !important;
    padding-bottom: 10px !important;
  }
  #qs .search-aligner-fix {
    margin-bottom: 12px !important;
  }
  /* align user controls to search form + stack layout when logged in */
  .user-controls {
    margin-bottom: 10px !important;
  }
  .user-controls .ui.secondary.menu {
    display: flex;
    flex-direction: column;
  }
  .user-controls .ui.secondary.menu .item {
    align-self: flex-end;
  }
  #site-header .user-controls.item .ui.secondary.menu .item {
    align-self: flex-end !important;
  }
}

/* remove shadow for homepage items */
.home .cms-content-body .index-card.card {
  box-shadow: none;
}

/* mobile issue, sidebar won't scrol */
#site-sidebar {
  visibility: visible !important;
}

/* re-style form to show search on mobile */
form#qs.simple-search.show-mobile-search {
  margin: 14px !important;
  display: block !important;
  width: calc(100% - 28px) !important;
}
form#qs.simple-search.show-mobile-search .search-aligner-fix {
  margin-bottom: 14px !important;
}
form#qs.simple-search.show-mobile-search [for='qs-options'],
form#qs.simple-search.show-mobile-search .field {
  margin: 6px 0;
}
.show-mobile-search--active {
  display: flex;
  flex-direction: column-reverse;
}

.show-mobile-search--active .ui.form .inline.fields {
  flex-direction: column;
  align-items: baseline;
}

/* arrow display fix for pagnated items */
.ui.pagination.menu .item i.icon.arrow:before {
  border-left: none !important;
  border-right: none !important;
  top: auto !important;
}

.journal-article-item-details#item-details .content {
  display: flex;
  flex-direction: column;
}

.journal-article-item-details#item-details .content .journal-tabs-wrapper {
  order: 999999;
}

.no-dots .ui.list li:before {
  display: none !important;
}

.slug-journals-archive-archiving-indexing .cms dd,
.slug-journals-archive-archiving-indexing .cms dt,
.slug-journals-archive-archiving-indexing .cms h1,
.slug-journals-archive-archiving-indexing .cms h2,
.slug-journals-archive-archiving-indexing .cms h3,
.slug-journals-archive-archiving-indexing .cms h4,
.slug-journals-archive-archiving-indexing .cms h5,
.slug-journals-archive-archiving-indexing .cms h6,
.slug-journals-archive-archiving-indexing .cms li,
.slug-journals-archive-archiving-indexing .cms p,
.slug-journals-archive-modern-languages .cms dd,
.slug-journals-archive-modern-languages .cms dt,
.slug-journals-archive-modern-languages .cms h1,
.slug-journals-archive-modern-languages .cms h2,
.slug-journals-archive-modern-languages .cms h3,
.slug-journals-archive-modern-languages .cms h4,
.slug-journals-archive-modern-languages .cms h5,
.slug-journals-archive-modern-languages .cms h6,
.slug-journals-archive-modern-languages .cms li,
.slug-journals-archive-modern-languages .cms p,
.slug-journals-archive-political-history .cms dd,
.slug-journals-archive-political-history .cms dt,
.slug-journals-archive-political-history .cms h1,
.slug-journals-archive-political-history .cms h2,
.slug-journals-archive-political-history .cms h3,
.slug-journals-archive-political-history .cms h4,
.slug-journals-archive-political-history .cms h5,
.slug-journals-archive-political-history .cms h6,
.slug-journals-archive-political-history .cms li,
.slug-journals-archive-political-history .cms p {
  max-width: 100%;
}

.slug-journals-archive-archiving-indexing .ui.huge.header,
.slug-journals-archive-modern-languages .ui.huge.header,
.slug-journals-archive-political-history .ui.huge.header {
  max-width: 55rem;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}


.journal-tabs.journal-tabs-single {
  margin-top: 25px;
}

.journal-tabs.journal-tabs-single > .ui.top.attached.tabular.menu {
  overflow-y: hidden;
  overflow-x: auto;  
}
#site-footer .ui.inverted.link.list {
  -webkit-columns: 2;
          columns: 2;
}