/* Databases A-Z style */

.LISDatabaseEntry:nth-child(even) {
	background-color:rgba(0,0,0,0.05);
}

.LISDatabaseEntry:nth-child(odd) {
	background:#fdfdfe;
}

.LISDatabaseEntry {
    padding: 8px;
    padding-left: 10px;
}

.LISDatabaseEntry a {
  color: #2e39b3;
}

.LISDB-fault-brief {
  font-weight: bold;
}

.LISDB-fault-expand {
  cursor: pointer;
  float: right;
  text-decoration: none;
  color: #428BCA;
}

.LISDB-fault-expand:hover {
  color: #2A6496;
  text-decoration: underline;
}

.LISDB-fault {
  padding: 8px 5px;
}

.LISDB-fault div {
  padding-right: 0;
  padding-left: 0;
}

.LISDB-Infolink {
  flex-shrink: 0;
  margin-top: 12px;
  align-self: flex-end;
}

.LISDB-left {
  padding-bottom: 5px;
}

.LISDB-description {
  padding-bottom: 5px;
}

.LISDB-message {
  border: grey 1px solid;
  padding: 15px 10px 0px 10px;
  margin-bottom: 15px;
}

.LISDB-Licence-Container {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.LISDB-Licence {
  margin-top: 12px;
  font-size: 85%;
  flex-grow: 1;
  flex-shrink: 1;
}

.LISDB-Licence p {
  margin-bottom: 0.3rem;
}

.LISDatabaseList {
  margin-bottom: 40px;
}

.alpha-nav-list {
  display: flex;
  width: 100%;
  margin-bottom: 10px;
}

.alpha-nav-half {
  flex-grow: 1;
  display: flex;
  margin-bottom: 10px;
}

.alpha-nav-half a {
  flex-grow: 1;
  text-align: center;
}

@media (min-width: 1024px) {
  .LISDB-Licence-Container, .alpha-nav-list {
    flex-wrap: nowrap;
  }

  .LISDB-Licence {
    margin-right: 20px;
  }
}

@media (max-width: 1023px) {
  .alpha-nav-list {
    flex-wrap: wrap;
  }

  .alpha-nav-half {
    min-width: 100%;
  }

  .LISDB-left, .LISDB-right {
    padding-right: 0px;
    padding-left: 0px;
  }
}

/* LibChat */
div.lcs_slide_out {
  z-index: 10000;
}

a.scroll-anchor {
  position: relative;
  top: -106px;
}

/* Fix for 2019 accordion on pages with nav menu */
@media (min-width: 768px) {
	body.template--side-nav .accordion-with-overview {
		padding-left: 0px;
		padding-top: 40px;
		padding-bottom: 42px;
	}
}

@media (min-width: 1440px) {
	body.template--side-nav .accordion-with-overview {
		padding-left: 0px;
		padding-top: 40px;
		padding-bottom: 42px;
	}
}

/* Fix for new carousel on side-nav template pages */
.template--side-nav .arts_news {
  padding: 50px 0 10px;
  margin-bottom: 50px;
}

@media (min-width: 768px) {
	.template--side-nav .arts_news .section_title {
		left: 0px;
		top: unset;
		max-width: 360px;
	}
	
	.template--side-nav .arts_news .section_title h2 {
		font-size: 46px;
	}
  
  .template--side-nav .arts_news .arts-carousel {
		margin-left: 360px;
	}
}

/* Fix for new carousel on landing template pages */
@media (min-width: 768px) {
  .template--landing .arts_news .arts-carousel {
		margin-left: 360px;
	}
}

@media (min-width: 1440px) {
  .template--landing .arts_news .arts-carousel {
		margin-left: 480px;
	}
}

/* Corrections and additional light theme for Library Search content type */
.heading--fullwidth-image div[class*="container"] .heading--search-form ~ a.btn-link, .heading--image-banner div[class*="container"] .heading--search-form ~ a.btn-link {
  margin-bottom: 0;
  margin-right: 40px;
}

.librarysearch.light .nav-tabs .nav-item .nav-link.active {
  color: #fff;
}

.librarysearch.light {
  background-color: #000000a1;
  border-radius: 10px;
}

.librarysearch.light .librarysearch-form {
  padding: 20px 40px;
}

.heading--fullwidth-image.heading--search-form::after {
  background: -webkit-gradient(linear, left top, left bottom, from(rgba(0,0,0,0.4)), color-stop(88%, rgba(0,0,0,0.7)), to(rgba(0,0,0,0.75)));
  background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.7) 88%, rgba(0,0,0,0.75) 100%);
}

@media (min-width: 768px) {
  .heading--fullwidth-image.heading--search-form .section_title {
    padding-top: 130px;
  }
  .heading--fullwidth-image.heading--search-form .section_title h1 {
    font-size: 110px;
  }
}

@media (min-width: 1440px) {
  .heading--fullwidth-image.heading--search-form .section_title {
    padding-top: 100px;
  }
}

@media (min-width: 1024px) {
  .heading--fullwidth-image.heading--search-form.heading {
    padding-bottom: 100px;
  }
}

.heading--fullwidth-image.heading--search-form .section_title h1 {
  margin-bottom: 0px;
}

/* Hide Navigation Wizard (Fanplayr) */
iframe.fpw-view {
  display: none;
}

/* Hide HELLO toast prompt */
div.toast {
  display: none;
}

/* Hide Wolfie */
#GeckoChatWidget {
  display: none !important;
}

/* Hide Corporate Comms section on news items */
div.news-article-detail__media-relations {
  display: none;
}
