/*
*
*	"Home" Page
*
*/
#titleArea {
  background-color: #efefef;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
#titleArea h1 {
  font-size: xx-large;
  font-weight: bold;
  color: #404040;
}
#titleArea p {
  font-size: large;
  color: #808080;
}
.homeNews h4 {
  display: inline-block;
  margin-bottom: 5px;
}
.homeNews span {
  color: #808080;
  display: inline-block;
  margin-left: 10px;
}
.homeNews .singleNewsItem {
  padding: 3px;
}
.homeNews .singleNewsItem > .short-text > p {
  display: inline;
  margin-right: 3px;
}
.homeStats dt,
.homeStats dd {
  display: inline-block;
  font-size: 1.3em;
  color: #808080;
}
.homeStats dt {
  margin-right: 20px;
  width: 255px;
}
#homeTeasers {
  margin: 90px 0 50px;
}
.homeTeaserContainer {
  text-align: center;
}
.homeTeaserContainer .buttonIcon {
  background-color: #3875b2;
  border-radius: 70px;
  padding: 20px;
  width: 130px;
  height: 130px;
  display: inline-block;
}
.homeTeaserContainer .buttonIcon i {
  font-size: 75px;
  color: white;
  margin-top: 8px;
}
.homeTeaserContainer .buttonIcon i.fa-calendar {
  margin-top: 5px;
}
.homeTeaserContainer .buttonIcon i.fa-search {
  margin-top: 3px;
}
@media screen and (max-width: 768px) {
  #homeTeasers {
    margin: 50px 0;
  }
  .homeTeaserContainer {
    margin: 50px 0;
  }
}
/*
*
*	Everything under /series
*
*/
#siteTitle .dropdown {
  display: inline-block;
}
#siteTitle .btn.dropdown-toggle {
  margin: 0;
  padding: 5px 8px;
  font-size: 0.9em;
}
#siteTitle .dropDownText,
#siteTitle .caret {
  color: #3875b2;
}
#siteTitle .dropDownText.classic,
#siteTitle .caret.classic {
  color: blue;
  text-decoration: underline;
}
#siteTitle #titleSearch {
  display: inline-block;
}
#siteTitle #titleSearch .btn {
  color: #3875b2;
  margin: 0;
  padding: 5px 8px;
}
#siteTitle #titleSearch.classic span {
  color: blue;
}
#siteTitle #titleFilter {
  display: none;
  margin-left: 3px;
}
.seriesCollection .seriesAlphabetItem {
  font-size: 2em;
  color: #bfbfbf;
}
.seriesCollection .seriesItem h4.highlighted {
  border: 2px solid #3875b2;
  padding: 8px;
}
.seriesCollection .seriesItem > a:first-child {
  max-width: 100%;
}
.seriesCollection .seriesItem > a,
.seriesCollection .seriesItem > span {
  display: inline-block;
}
.seriesCollection .seriesItem .noLink span {
  color: #808080;
}
.seriesCollection .seriesItem a.infoLink {
  margin-left: 5px;
}
.seriesCollection .seriesItem .seriesItemMeta dt,
.seriesCollection .seriesItem .seriesItemMeta dd {
  display: inline-block;
  font-size: 1em;
  color: #808080;
}
.seriesCollection .seriesItem .seriesItemMeta dt {
  width: 140px;
  vertical-align: top;
}
.seriesCollection .seriesItem .seriesItemMeta dd {
  max-width: 540px;
}
.seriesCollection .seriesItem .seriesItemMeta i {
  padding: 0 5px;
  margin-left: 5px;
  cursor: help;
  color: #808080;
}
.seriesCollection .seriesItem .seriesItemMeta i:hover {
  color: #404040;
}
.seriesCollection .seriesItem.highlighted {
  border-left: 10px solid #7ba8d5;
  padding-left: 20px;
}
#convertedContent h4 {
  margin-top: 30px;
}
#convertedContent hr {
  margin-top: 0;
  border-top: 1px solid #bfbfbf;
}
#convertedContent ul {
  list-style: square;
  margin-left: 20px;
}
#convertedContent ul li {
  list-style: inherit;
}
#convertedContent img {
  display: block;
  max-height: 50px;
  max-width: 50px;
  margin-bottom: 10px;
}
#convertedContent a {
  display: block;
  font-size: 14px;
}
/*
*
*	Everything regarding the search site and search results
*
*/
/*
*	 ___ Search sites ___
*/
#searchContainer .form-group label {
  color: #808080;
}
#searchContainer .form-control {
  background-position: center bottom, center calc(100% - 0px);
  padding-left: 5px;
  border: 1px solid #bfbfbf;
  border-bottom: none;
}
#searchContainer .pager {
  padding: 0 15px;
}
#searchContainer .pager > li a {
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
}
#searchFormTabs li a[role="tab"] {
  color: #3875b2;
  margin: 0;
}
#searchFormTabs li.active a[role="tab"] {
  color: #404040;
  background-color: transparent;
}
#searchFormTabs li.active:hover {
  color: #404040;
}
.searchTypeContainer {
  margin-bottom: 10px;
}
.searchTypeContainer .btn {
  padding-left: 17px;
  padding-right: 17px;
}
@media screen and (max-width: 768px) {
  .searchTypeContainer .btn {
    display: block;
    width: 100%;
  }
}
.searchTypeContainer .btn .glyphicon-alert {
  color: orangered;
}
.searchTypeContainer #titleDropdown_chosen,
.searchTypeContainer #citationTitleDropdown_chosen {
  width: 100% !important;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
.searchTypeContainer #titleDropdown_chosen ul.chosen-choices,
.searchTypeContainer #citationTitleDropdown_chosen ul.chosen-choices {
  border: 1px solid #bfbfbf;
  background-color: white;
  background-image: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
.searchTypeContainer #titleDropdown_chosen ul.chosen-choices,
.searchTypeContainer #citationTitleDropdown_chosen ul.chosen-choices {
  -webkit-transition: border-color 0.2s ease-in-out;
  -moz-transition: border-color 0.2s ease-in-out;
  -ms-transition: border-color 0.2s ease-in-out;
  -o-transition: border-color 0.2s ease-in-out;
}
.searchTypeContainer #titleDropdown_chosen.chosen-with-drop ul.chosen-choices,
.searchTypeContainer #citationTitleDropdown_chosen.chosen-with-drop ul.chosen-choices {
  border-color: #3875b2;
}
.searchTypeContainer #titleDropdown_chosen ul.chosen-results,
.searchTypeContainer #citationTitleDropdown_chosen ul.chosen-results {
  -webkit-box-shadow: 0;
  -moz-box-shadow: 0;
  box-shadow: 0;
  background-color: white;
  background-image: none;
}
.searchTypeContainer #titleDropdown_chosen ul.chosen-results li.highlighted,
.searchTypeContainer #citationTitleDropdown_chosen ul.chosen-results li.highlighted {
  background-color: #3875b2;
  background-image: none;
}
.searchTypeContainer #titleDropdown_chosen .search-choice,
.searchTypeContainer #citationTitleDropdown_chosen .search-choice {
  background-image: none;
  background-color: white;
  border: 1px solid #3875b2;
  -webkit-border-radius: 0;
  -moz-border-radius: 0;
  border-radius: 0;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
}
.searchTypeContainer .dateLabel {
  display: block;
  font-weight: 700;
  color: #808080;
  margin-bottom: 5px;
}
.searchTypeContainer .dateFields {
  margin-bottom: 15px;
}
.searchTypeContainer .dateFields .input-group {
  width: 32%;
}
@media screen and (max-width: 769px) {
  .searchTypeContainer .dateFields .input-group {
    width: 100%;
  }
}
.searchTypeContainer #dateBlockFrom,
.searchTypeContainer #dateBlockTill {
  display: inline-block;
  width: 44%;
}
.searchTypeContainer .fieldDay,
.searchTypeContainer .fieldMonth {
  display: inline-block;
  width: 24%;
  margin-left: 3%;
}
.searchTypeContainer .fieldYear {
  display: inline-block;
  width: 40%;
}
.searchTypeContainer .dateDivider {
  font-size: 14px;
  font-weight: bold;
  margin-right: 2%;
  margin-left: 1%;
  color: #808080;
}
.searchTypeContainer #hint {
  color: orangered;
  font-size: 0.8em;
}
#searchTypeExtendedContainer label > small {
  color: #bfbfbf;
}
#searchTypeExtendedContainer label[for="citationTitleDropdown"] {
  margin-bottom: 3px;
}
#searchTypeExtendedContainer #titleSearchblocks {
  position: relative;
}
#searchTypeExtendedContainer #loadingBlocker {
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -10px;
  border-radius: 3px;
  background-color: rgba(255, 255, 255, 0.3);
  z-index: 1000;
}
#searchTypeExtendedContainer #loadingBlocker i {
  position: absolute;
  left: 45%;
  top: 16%;
  font-size: 50px;
  color: white;
  text-shadow: 1px 0px 5px #999;
}
#searchTypeExtendedContainer #progressBar {
  opacity: 0;
  width: 100%;
  height: 2px;
  background-color: white;
  z-index: 10000;
}
#searchTypeExtendedContainer #progressBar div {
  height: 100%;
  color: #fff;
  text-align: right;
  line-height: 22px;
  /* same as #progressBar height if we want text middle aligned */
  width: 0;
  background-color: #3875b2;
}
.searchText {
  padding: 2px 5px 2px 2px;
  font-size: 14px;
  color: #808080;
  margin-bottom: 20px;
}
  /*border-right: 1px solid @mediumgray;*/
/*
*	 ___ Search result sites ___
*/
.ct-label {
  font-size: 11px;
}
.couldntFindAnything h4 {
  color: #404040;
}
.relativePosition {
  position: relative;
}
#extendedQueryInfo {
  margin-top: 0;
  color: #808080;
}
a[href="#showSearchHistory"] {
  padding: 8px 8px;
  color: #3875b2 !important;
}
.modal-title {
  color: #404040;
}
.modal-info {
  color: #808080;
}
#facetChartInModal {
  margin-top: 10px;
}
#searchHistory .historyListItem {
  padding: 10px;
  border: 1px solid transparent;
}
#searchHistory .historyListItem:first-child {
  margin-top: 20px;
}
#searchHistory .historyListItem:hover {
  transition: box-shadow 0.25s;
  -webkit-box-shadow: 0px 0px 10px 0px #999999;
  -moz-box-shadow: 0px 0px 10px 0px #999999;
  box-shadow: 0px 0px 10px 0px #999999;
}
#searchHistory .historyListItem p {
  margin: 0;
}
#searchHistory .historyListItem .time p {
  color: #808080;
}
#searchHistory .historyListItem dt,
#searchHistory .historyListItem dd {
  display: inline-block;
  font-size: 1em;
  color: #808080;
}
#searchHistory .historyListItem dt {
  width: auto;
  margin-right: 10px;
  vertical-align: top;
}
#searchHistory .historyListItem .small {
  color: #808080;
  margin-left: 10px;
}
#searchresultSidebar {
  /*display: block;
  position: absolute;
  left: -40px;
  top: 23px;
  .drop-shadow (0, 2px, 4px, 0, 0.15);
  max-width: 280px;
  max-height: 80%;
  overflow-y: auto;*/
}
#searchresultSidebar h5 {
  color: #404040;
  font-size: 1.2em;
}
#searchresultSidebar h5.title {
  padding: 0 0 5px 0;
  border-bottom: 1px solid #bfbfbf;
}
#searchresultSidebar h5 .btnFacetChart {
  margin-left: 5px;
}
#searchresultSidebar a {
  text-decoration: none;
}
#searchresultSidebar .expandIcon,
#searchresultSidebar .collapseIcon {
  position: relative;
  margin: 0 10px 0 5px;
}
#searchresultSidebar .expandIcon:before,
#searchresultSidebar .collapseIcon:before {
  font-family: FontAwesome;
  left: -5px;
  position: absolute;
}
#searchresultSidebar .expandIcon:before {
  content: "\f196";
}
#searchresultSidebar .expandIcon:hover:before {
  content: "\f0fe";
}
#searchresultSidebar .collapseIcon:before {
  content: "\f147";
}
#searchresultSidebar .collapseIcon:hover:before {
  content: "\f146";
}
#searchresultSidebar ul {
  padding-left: 10px;
}
#searchresultSidebar ul li {
  padding-bottom: 10px;
  line-height: 1;
}
#searchresultSidebar ul.subFacetList {
  display: none;
}
#searchresultSidebar .facetBlock .filterFacetInput {
  margin: 0 10px;
}
#searchresultSidebar .facetList a {
  text-decoration: none;
  width: 100%;
  display: block;
  position: relative;
  padding: 0 3px;
}
#searchresultSidebar .facetList a span.linkText {
  z-index: 20;
  position: relative;
  max-width: 74%;
  display: block;
}
#searchresultSidebar .facetList a .inlineBarChartContainer {
  position: absolute;
  right: 3px;
  top: 20%;
  height: 10px;
  width: 25%;
  border: 1px solid #bfbfbf;
}
#searchresultSidebar .facetList a .inlineBarChartContainer .inlineBarChart {
  position: absolute;
  top: 24%;
  bottom: 25%;
  right: 1px;
  background-color: #6BA1D8;
  -webkit-transition: background-color 0.25s;
  -moz-transition: background-color 0.25s;
  -ms-transition: background-color 0.25s;
  -o-transition: background-color 0.25s;
}
#searchresultSidebar .facetList a:hover .inlineBarChart {
  background-color: #204265;
}
#searchresultSidebar .currentlySelectedFacet span {
  color: #808080;
}
#searchresultSidebar .currentlySelectedFacet i {
  color: indianred;
}
#searchresultSidebar .currentlySelectedFacet:hover span {
  color: #404040;
}
#searchresultSidebar .currentlySelectedFacet:hover i {
  color: red;
}
#searchresultSidebar .currentlySelectedFacet .inlineBarChart {
  background-color: #808080 !important;
}
#searchformOnTopOfResults {
  display: none;
}
#searchformOnTopOfResults .form-control {
  background-position: center bottom, center calc(100% - 0px);
  padding-left: 5px;
  border: 1px solid #bfbfbf;
  border-bottom: none;
}
.searchresult {
  padding: 20px 0;
  margin: 10px 0;
  position: relative;
}
.searchresult dt,
.searchresult dd {
  display: inline-block;
  font-size: 1em;
  color: #808080;
}
.searchresult dt {
  display: inline-block;
  min-width: 130px;
  vertical-align: top;
}
.searchresult dd {
  max-width: 376px;
}
.searchresult dl {
  margin-bottom: 0;
}
.searchresult .searchResultThumbnail {
  width: 100%;
  -webkit-box-shadow: 0 2px 5px #808080;
  -moz-box-shadow: 0 2px 5px #808080;
  box-shadow: 0 2px 5px #808080;
  margin-bottom: 20px;
}
.searchresult .searchResultDivider {
  position: absolute;
  bottom: 0;
  left: 20%;
  width: 60%;
  height: 33%;
  border-bottom: 1px solid #ccc;
  z-index: 1;
}
.searchresult .srItem {
  z-index: 10;
}
.searchresult:last-child .searchResultDivider {
  display: none;
}
.numOfHits {
  color: #808080;
}
.snippets {
  clear: left;
}
.highlightcontainer {
  margin-bottom: 10px;
}
.highlightcontainer:last-child {
  margin-bottom: 0;
}
.highlightcontainer.showAllSnippets .snippetcontainer {
  display: block;
}
.highlightcontainer .highlightLocation {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  padding: 5px 10px;
  background: rgba(0, 0, 0, 0.6);
  margin: 0;
  color: white;
  font-weight: bold;
  font-size: 0.8em;
  opacity: 0.5;
}
.highlightcontainer:hover .highlightLocation {
  opacity: 1;
}
.srTitle {
  font-size: 1.4em;
  margin-right: 20px;
}
.srTitleAccessory {
  color: #808080;
  font-weight: bold;
  word-wrap: break-word;
  -ms-word-wrap: break-word;
  white-space: normal;
}
.srMetadata {
  font-size: 0.9em;
  color: #808080;
}
.snippetcontainer {
  padding: 10px 0;
}
.snippetcontainer:nth-child(n+2) {
  display: none;
}
.snippetcontainer:last-child {
  margin-bottom: 0;
}
.snippetcontainer .snTitle {
  color: #808080;
  font-weight: bold;
  margin-bottom: 3px;
}
.snippetcontainer .coloredBG {
  background: #3875b2;
}
.snippetcontainer .snImage {
  width: 100%;
  -webkit-box-shadow: 0 2px 5px #808080;
  -moz-box-shadow: 0 2px 5px #808080;
  box-shadow: 0 2px 5px #808080;
  -webkit-transition: all 0.25s linear;
  -moz-transition: all 0.25s linear;
  -ms-transition: all 0.25s linear;
  -o-transition: all 0.25s linear;
}
.snippetcontainer .snImage:hover {
  opacity: 0.7;
}
.snippetcontainer .snippet-container {
  position: relative;
  display: block;
  overflow: hidden;
}
.snippetcontainer .snippet-container .snippet-image {
  position: relative;
  display: table;
  width: 100%;
  border: 1px solid #BBB;
}
.snippetcontainer .snippet-container a {
  display: block;
  margin-top: 5px;
  position: relative;
}
.snippetcontainer .snippet-container a:first-child {
  margin-top: 0;
}
.snippetcontainer .snippet-container .showFullText {
  position: absolute;
  right: -50px;
  bottom: 0;
  top: 0;
  width: 50px;
  background-color: rgba(255, 255, 255, 0.8);
  -webkit-transition: right 0.25s;
  -moz-transition: right 0.25s;
  -ms-transition: right 0.25s;
  -o-transition: right 0.25s;
}
@media screen and (max-width: 1024px) {
  .snippetcontainer .snippet-container .showFullText {
    right: 0;
  }
}
.snippetcontainer .snippet-container .showFullText .fa {
  font-size: 21px;
  color: #3875b2;
  display: block;
  left: calc(50% - 10px);
  top: calc(50% - 10px);
  position: absolute;
  width: 20px;
  height: 20px;
  cursor: pointer;
}
.snippetcontainer .snippet-container:hover .showFullText {
  right: 0;
}
.snippetcontainer .markUp {
  display: none;
  padding: 5px 5px;
  background-color: white;
  -webkit-box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.2);
  transition: display 0.5s;
}
.snippetcontainer .markUp p::before, .snippetcontainer .markUp p::after {
  content: " [...] ";
}
.snippetcontainer .snippet-separator {
  height: 8px;
  width: 100%;
  margin: 0 auto;
}
.snippetcontainer .snippet-highlight {
  position: absolute;
  background-color: yellow;
  opacity: 0.4;
}
.snippetcontainer em {
  background-color: yellow;
}
button.showAllSnippetsBtn {
  margin: 0 auto;
  display: block;
  color: #808080 !important;
}
.paging {
  text-align: center;
}
/*
*
*	Everything regarding the calendar sites
*
*/
#theUndertaker {
  top: -20px;
  display: block;
  position: relative;
  font-size: 11px;
  color: #808080;
}
#calendarContainer hr {
  border-top: 1px solid #bfbfbf;
}
.thumbnailHeader {
  color: #808080;
}
.previewThumbnails {
  margin: 15px 0;
  min-height: 330px;
}
.fa-refresh {
  margin: 0 auto;
  display: block;
  color: #808080;
}
.newspaperThumbnail {
  width: 20%;
  display: block;
  float: left;
  position: relative;
  padding: 0 15px;
  margin: 15px 0;
}
@media screen and (min-width: 1200px) {
  .newspaperThumbnail:nth-child(5n+6) {
    clear: left;
  }
}
@media screen and (max-width: 1200px) {
  .newspaperThumbnail {
    width: 33%;
  }
  .newspaperThumbnail:nth-child(3n+4) {
    clear: left;
  }
}
@media screen and (max-width: 500px) {
  .newspaperThumbnail {
    width: 100%;
  }
}
.newspaperThumbnail .coloredBG {
  background: #3875b2;
  position: relative;
  min-height: 150px;
}
.newspaperThumbnail img {
  width: 100%;
  display: block;
  position: relative;
  -webkit-box-shadow: 0 2px 5px #808080;
  -moz-box-shadow: 0 2px 5px #808080;
  box-shadow: 0 2px 5px #808080;
  -webkit-transition: all 0.25s linear;
  -moz-transition: all 0.25s linear;
  -ms-transition: all 0.25s linear;
  -o-transition: all 0.25s linear;
}
.newspaperThumbnail:hover img {
  opacity: 0.7;
}
.newspaperThumbnail span {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px 5px 5px;
  color: white;
  text-shadow: 1px 1px 1px #000;
  font-weight: bold;
  overflow: hidden;
  text-overflow: ellipsis;
  background: rgba(0, 0, 0, 0);
  background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.23) 43%, rgba(0, 0, 0, 0.39) 73%, rgba(0, 0, 0, 0.54) 100%);
  background: -webkit-gradient(left top, left bottom, color-stop(0%, rgba(0, 0, 0, 0)), color-stop(0%, rgba(0, 0, 0, 0)), color-stop(43%, rgba(0, 0, 0, 0.23)), color-stop(73%, rgba(0, 0, 0, 0.39)), color-stop(100%, rgba(0, 0, 0, 0.54)));
  background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.23) 43%, rgba(0, 0, 0, 0.39) 73%, rgba(0, 0, 0, 0.54) 100%);
  background: -o-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.23) 43%, rgba(0, 0, 0, 0.39) 73%, rgba(0, 0, 0, 0.54) 100%);
  background: -ms-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.23) 43%, rgba(0, 0, 0, 0.39) 73%, rgba(0, 0, 0, 0.54) 100%);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.23) 43%, rgba(0, 0, 0, 0.39) 73%, rgba(0, 0, 0, 0.54) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#000000', endColorstr='#000000', GradientType=0);
}
.previewList {
  display: none;
}
.previewList ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.previewList ul li {
  height: 80px;
  padding: 10px 15px;
  border-bottom: 1px solid #bfbfbf;
}
.previewList ul li:last-child {
  border-bottom: none;
}
.previewList ul li img {
  display: inline-block;
  height: 100%;
  max-width: 10%;
  vertical-align: top;
}
.previewList ul li a {
  margin: 0 3%;
  font-size: large;
  text-decoration: none;
  max-width: 80%;
  display: inline-block;
}
.previewList ul li p {
  display: inline-block;
  color: #808080;
}
.centuryContainer {
  margin-bottom: 20px;
}
.centuryTitle {
  color: #808080;
  text-align: left;
  margin-left: 2.5%;
}
ul.centuryYearList {
  margin: 0;
  padding: 0;
  list-style: none;
}
ul.centuryYearList li {
  float: left;
  color: #bfbfbf;
  display: block;
  width: 10%;
  text-align: center;
}
@media screen and (max-width: 500px) {
  ul.centuryYearList li {
    width: 20%;
    font-size: 1.3em;
  }
}
ul.centuryYearList li a,
ul.centuryYearList li .linkSubstitute {
  display: block;
  padding: 7px 0;
}
ul.centuryYearList li a {
  color: #3875b2;
  font-weight: bold;
  text-decoration: none;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
}
ul.centuryYearList li a:hover {
  box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.12), 0 1px 6px 0 rgba(0, 0, 0, 0.12);
}
ul.monthList {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}
ul.monthList > li {
  width: 16%;
  padding: 10px;
  float: left;
}
@media screen and (min-width: 1200px) {
  ul.monthList > li:not(.larger):nth-child(6n+7) {
    clear: left;
  }
}
@media screen and (min-width: 991px) and (max-width: 1200px) {
  ul.monthList > li {
    width: 33%;
  }
  ul.monthList > li:not(.larger):nth-child(3n+4) {
    clear: left;
  }
}
@media screen and (max-width: 990px) {
  ul.monthList > li {
    width: 50%;
  }
  ul.monthList > li:not(.larger):nth-child(2n+3) {
    clear: left;
  }
}
@media screen and (max-width: 500px) {
  ul.monthList > li {
    width: 100%;
  }
}
ul.monthList > li h3 {
  margin: 10px 0;
}
ul.monthList > li h3 a,
ul.monthList > li h3 .linkSubstitute {
  padding: 5px 20px;
}
ul.monthList > li h3 a {
  text-decoration: none;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
}
ul.monthList > li h3 a:hover {
  color: #3875b2;
  box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.12), 0 1px 6px 0 rgba(0, 0, 0, 0.12);
}
ul.monthList > li h3 .linkSubstitute {
  color: #bfbfbf;
}
ul.monthList ul.days {
  margin: 0;
  padding: 0;
  list-style: none;
}
ul.monthList ul.days li.day {
  width: 14%;
  float: left;
  font-size: 1.1em;
  text-align: center;
  height: 25px;
}
ul.monthList ul.days li.day a,
ul.monthList ul.days li.day .linkSubstitute {
  padding: 3px 5px;
}
ul.monthList ul.days li.day a {
  text-decoration: none;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
}
ul.monthList ul.days li.day a:hover {
  color: #3875b2;
  box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.12), 0 1px 6px 0 rgba(0, 0, 0, 0.12);
}
ul.monthList ul.days li.day .linkSubstitute {
  color: #bfbfbf;
}
ul.monthList ul.days li.day.title {
  color: #808080;
  font-size: 1em;
}
ul.daysList {
  margin: 0;
  padding: 0;
  list-style: none;
}
ul.daysList li.day {
  float: left;
  color: #bfbfbf;
  display: block;
  width: 14%;
  text-align: center;
  height: 60px;
}
ul.daysList li.day.title {
  height: 30px;
}
ul.daysList li.day h3 {
  margin: 0;
}
ul.daysList li.day a,
ul.daysList li.day .linkSubstitute {
  display: block;
  padding: 18px 0;
}
ul.daysList li.day a {
  color: #3875b2;
  font-weight: bold;
  text-decoration: none;
  -webkit-border-radius: 2px;
  -moz-border-radius: 2px;
  border-radius: 2px;
  -moz-background-clip: padding;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
}
ul.daysList li.day a:hover {
  box-shadow: 0 1px 6px 0 rgba(0, 0, 0, 0.12), 0 1px 6px 0 rgba(0, 0, 0, 0.12);
}
/*
*
*	Everything regarding the viewer
*
*/
div#sidebarForTocAndCalendar {
  position: fixed;
  z-index: 100;
  background-color: white;
  left: -370px;
  top: 110px;
  width: 400px;
  -webkit-box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.15);
  -moz-box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.15);
  box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.15);
  padding: 15px 30px 15px 10px;
  transition: left 1s;
  height: calc(100% - 170px);
  overflow-y: auto;
}
@media screen and (max-width: 1200px) {
  div#sidebarForTocAndCalendar {
    top: 109px;
    height: calc(100% - 169px);
  }
}
@media screen and (max-width: 667px) {
  div#sidebarForTocAndCalendar {
    display: none;
  }
}
div#sidebarForTocAndCalendar.sidebarVisible {
  left: 0;
}
div#sidebarForTocAndCalendar.sidebarVisible .tackOpen {
  width: 30px;
}
div#sidebarForTocAndCalendar.sidebarVisible .tackOpen:before {
  content: "\f08d";
}
div#sidebarForTocAndCalendar.sidebarVisible .tackOpen.tacked:before {
  content: "\f00d";
}
div#sidebarForTocAndCalendar .tackOpen {
  position: absolute;
  right: 7px;
  top: 5px;
  font-size: 20px;
  text-decoration: none;
  width: 17px;
  height: 30px;
  text-align: center;
}
div#sidebarForTocAndCalendar .tackOpen:before {
  content: "\f073";
  font-family: FontAwesome;
}
div#sidebarForTocAndCalendar .btn {
  margin-bottom: 10px;
}
div#sidebarForTocAndCalendar .sidebarLink {
  display: block;
}
div#sidebarForTocAndCalendar div.quickCalendar ul.annualCalendar {
  padding-left: 10px;
}
div#sidebarForTocAndCalendar div.quickCalendar ul.annualCalendar li.aMonth > a {
  text-decoration: none;
  font-size: 15px;
}
div#sidebarForTocAndCalendar div.quickCalendar ul.annualCalendar li.aMonth > a:before {
  content: "\f078";
  font-family: FontAwesome;
  margin-right: 5px;
}
div#sidebarForTocAndCalendar div.quickCalendar ul.annualCalendar li.aMonth.loading > a:before {
  content: "\f021";
  font-family: FontAwesome;
  -webkit-animation: spin 4s linear infinite;
  -moz-animation: spin 4s linear infinite;
  animation: spin 4s linear infinite;
}
div#sidebarForTocAndCalendar div.quickCalendar ul.annualCalendar li.aMonth.opened > a:before {
  content: "\f077";
  font-family: FontAwesome;
}
div#sidebarForTocAndCalendar div.quickCalendar ul.annualCalendar li.aMonth ul.days {
  padding-left: 10px;
  display: none;
}
div#sidebarForTocAndCalendar div.quickCalendar ul.annualCalendar li.aMonth ul.days li.aDay {
  width: 300px;
}
div#sidebarForTocAndCalendar div.quickCalendar ul.annualCalendar li.aMonth ul.days li.aDay:hover .dayDate:before {
  content: "\f061";
  font-family: FontAwesome;
  position: absolute;
  right: 20px;
  color: #808080;
}
div#sidebarForTocAndCalendar div.quickCalendar ul.annualCalendar li.aMonth ul.days li.aDay a {
  text-decoration: none;
  padding: 2px;
}
div#sidebarForTocAndCalendar div.quickCalendar ul.annualCalendar li.aMonth ul.days li.aDay a:hover {
  font-weight: bold;
}
div#sidebarForTocAndCalendar div.quickCalendar ul.annualCalendar li.aMonth ul.days li.aDay .dayDate {
  display: inline-block;
  width: 20px;
  text-align: right;
  position: relative;
}
div#sidebarForTocAndCalendar div.quickCalendar ul.annualCalendar li.aMonth ul.days li.aDay .dayWeekday {
  color: #bfbfbf;
  margin-left: 5px;
  width: 15px;
  display: inline-block;
}
div#sidebarForTocAndCalendar div.quickCalendar ul.annualCalendar li.aMonth ul.days li.aDay.sunday {
  padding-bottom: 5px;
  margin-bottom: 5px;
}
div#sidebarForTocAndCalendar div.quickCalendar ul.annualCalendar li.aMonth ul.days li.aDay > ul {
  display: inline-block;
  margin-left: 15px;
  vertical-align: top;
  width: 245px;
}
div#sidebarForTocAndCalendar div.quickCalendar ul.annualCalendar.larger .aMonth > a > span {
  font-size: 20px;
}
div#sidebarForTocAndCalendar div.undatedIssues ul.thumbnails li {
  float: left;
  width: 100%;
  margin-right: 3%;
}
div#sidebarForTocAndCalendar div.undatedIssues ul.thumbnails li a {
  display: block;
}
div#sidebarForTocAndCalendar div.undatedIssues ul.thumbnails li a img {
  width: 100%;
  -webkit-box-shadow: 0 2px 5px #808080;
  -moz-box-shadow: 0 2px 5px #808080;
  box-shadow: 0 2px 5px #808080;
  -webkit-transition: all 0.25s linear;
  -moz-transition: all 0.25s linear;
  -ms-transition: all 0.25s linear;
  -o-transition: all 0.25s linear;
}
div#sidebarForTocAndCalendar div.undatedIssues ul.thumbnails li a:hover img {
  opacity: 0.7;
}
#viewer {
  /* Overwriting Mirador stuff
  * !! important: We're using a single viewer. Won't maybe work for
  *               tiled presentation with multiple views.
  */
}
#viewer .overlay .metadata-item {
  clear: left;
  overflow: hidden;
}
#viewer .overlay .metadata-item .metadata-label,
#viewer .overlay .metadata-item .metadata-value,
#viewer .overlay .metadata-item .metadata-logo {
  float: left;
  display: block;
}
#viewer .overlay .metadata-item .metadata-label {
  font-weight: bold;
}
#viewer .overlay .metadata-item .metadata-value {
  margin-left: 5px;
}
#viewer .overlay .metadata-item .metadata-logo {
  margin-left: 5px;
  max-width: 250px;
  max-height: 250px;
}
#viewer .overlay .sub-title {
  clear: left;
}
#viewer .mirador-viewer {
  position: fixed;
  top: 70px !important;
  right: 0;
  width: 100%;
  bottom: 60px;
  z-index: 20;
}
@media screen and (max-width: 1200px) {
  #viewer {
    top: 60px;
    bottom: 50px;
  }
}
@media screen and (max-width: 667px) {
  #viewer .extendedNav {
    display: none;
  }
}
#viewer .window-manifest-navigation {
  width: 220px;
}
#viewer .window-manifest-title {
  max-width: calc(100% - 200px);
  height: 1.25em;
}
#viewer .workspace-container {
  margin: 0;
}
#viewer .slotIconContainer {
  display: none;
}
#viewer .layout-slot {
  left: 0 !important;
  top: 0 !important;
  width: 100% !important;
  height: 100% !important;
}
#viewer .manifest-info {
  background-color: white;
}
#viewer .content-container {
  margin-top: 40px;
  width: calc(100% - 30px);
  left: inherit;
  right: 0;
  transition: width 1s;
}
@media screen and (max-width: 667px) {
  #viewer .content-container {
    width: 100% !important;
  }
}
#viewer .mirador-osd-annotation-controls * {
  box-sizing: content-box;
}
#viewer .mirador-manipulation-controls {
  top: 0;
}
#viewer.sidebarVisible .content-container {
  width: calc(100% - 400px);
}
#viewer .panel-thumbnail-view {
  overflow-x: auto;
}
#viewer .window-manifest-title {
  color: #404040 !important;
}
#viewer .window-manifest-navigation > .mirador-btn > i {
  vertical-align: 0;
}
#viewer .mirador-btn.mirador-icon-dfg-viewer,
#viewer .mirador-btn.mirador-icon-manifest {
  box-sizing: border-box;
  color: #929191;
  margin-right: 8px;
}
#viewer .mirador-btn.mirador-icon-dfg-viewer {
  height: 12px;
  width: 34px;
}
#viewer .mirador-btn.mirador-icon-manifest > i,
#viewer .mirador-btn.mirador-icon-dfg-viewer > i {
  background-repeat: no-repeat;
  background-size: contain;
}
#viewer .mirador-btn.mirador-icon-manifest > i {
  background-image: url('/images/iiif_logo-dfb386f96b24a06a799e70183ed0580f.svg');
  height: 14px;
  width: 16px;
}
#viewer .mirador-btn.mirador-icon-dfg-viewer > i {
  background-image: url('/images/dfg_logo-11e9713476b4698951ba97f0d10cc00c.svg');
  height: 100%;
  width: 100%;
}
#viewer .metadata-item.within {
  display: none;
}
.window:-webkit-full-screen .content-container {
  transition: width 0s !important;
  width: 100% !important;
}
.window:-webkit-full-screen .content-container.sidebarVisible {
  width: 100% !important;
}
.window:-moz-full-screen .content-container {
  transition: width 0s !important;
  width: 100% !important;
}
.window:-moz-full-screen .content-container.sidebarVisible {
  width: 100% !important;
}
.window:-ms-fullscreen .content-container {
  transition: width 0s !important;
  width: 100% !important;
}
.window:-ms-fullscreen .content-container.sidebarVisible {
  width: 100% !important;
}
/*
*
*	Everything regarding the viewer
*
*/
.issuePager {
  text-align: center;
}
.issuePager a {
  margin: 0 10px;
  text-decoration: none;
}
/*
*
*	Partially reverting Material Design
*
*/
body {
  background-color: white;
  font-size: 14px;
}
body h4 {
  font-size: 20px;
}
body p {
  color: #404040;
  line-height: 24px;
  font-size: 16px;
}
a {
  color: #3875b2;
  -webkit-transition: color 0.5s;
  -moz-transition: color 0.5s;
  -ms-transition: color 0.5s;
  -o-transition: color 0.5s;
}
a:hover {
  color: #204265;
}
a:visited {
  color: #3875b2;
}
a.classic:not(.noClassic),
a.classic:not(.noClassic) li.aMonth a {
  color: blue !important;
  text-decoration: underline !important;
}
a.classic:not(.noClassic):hover,
a.classic:not(.noClassic) li.aMonth a:hover {
  color: black !important;
  text-decoration: underline !important;
}
a.classic:not(.noClassic).btn,
a.classic:not(.noClassic) li.aMonth a.btn {
  background-color: white !important;
}
.btn-primary:not(.btn-link):not(.btn-flat) {
  background-color: #3875b2;
  color: white;
}
.btn-primary:not(.btn-link):not(.btn-flat):hover {
  background-color: #2c5c8c;
}
button,
.btn {
  -webkit-transition: color 0.5s;
  -moz-transition: color 0.5s;
  -ms-transition: color 0.5s;
  -o-transition: color 0.5s;
  -webkit-transition: background-color 0.5s;
  -moz-transition: background-color 0.5s;
  -ms-transition: background-color 0.5s;
  -o-transition: background-color 0.5s;
}
a.classicBtn,
button.classicBtn {
  background-color: blue !important;
  color: white !important;
  text-decoration: underline;
}
a.classicBtn:hover,
button.classicBtn:hover {
  background-color: black !important;
}
a.classicBtn span,
button.classicBtn span {
  color: white !important;
  text-decoration: underline;
}
a[href^="http"]:not(.no-ext-link):after {
  content: "\f08e";
  font-family: FontAwesome;
  padding-left: 3px;
  font-size: 11px;
}
.form-error {
  font-size: 15px;
  color: red;
  margin-bottom: 10px;
  padding: 5px;
  text-align: center;
}
*.larger {
  font-size: 103% !important;
}
*.larger dt {
  width: auto !important;
}
*.larger.buttonIcon i {
  font-size: 75px !important;
}
#titleArea h1.larger {
  font-size: xx-large !important;
}
h2.larger {
  font-size: 30px;
}
h3.larger {
  font-size: 180%;
}
h4.larger {
  font-size: 150%;
}
ul.monthList.larger > li.larger {
  width: 25%;
}
ul.monthList.larger > li.larger:nth-child(4n+5) {
  clear: left;
}
@media screen and (min-width: 991px) and (max-width: 1200px) {
  ul.monthList.larger > li.larger {
    width: 50%;
  }
  ul.monthList.larger > li.larger:nth-child(2n+3) {
    clear: left;
  }
}
@media screen and (max-width: 990px) {
  ul.monthList.larger > li.larger {
    width: 100%;
  }
}
li.day.larger {
  height: 30px !important;
}
.changeDateControls.larger a {
  font-size: 30px !important;
}
label.larger {
  font-size: 18px !important;
}
section p.larger {
  font-size: 120%;
}
.smaller {
  font-size: smaller;
}
/*
*
*	Navbar
*
*/
.navbar-default.navbar {
  background-color: white;
  border: none;
  position: relative;
  margin-bottom: 60px;
  -webkit-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.15);
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.15);
}
.navbar-default.navbar .icon-bar {
  background-color: #404040;
}
.navbar-default.navbar .container {
  padding: 0px 15px 0px 15px;
}
#navbar li {
  color: #808080;
}
#navbar li.active a {
  background-color: white;
  color: #ed071e;
  font-weight: bold;
}
#navbar li a {
  padding-left: 12px;
  padding-right: 12px;
}
#navbar li a:hover {
  color: #fb838f;
}
.navbar-fixed-top .navbar-collapse {
  max-height: none;
}
.navbar-brand {
  width: 250px;
}
.navbar-brand > img {
  display: block;
  float: left;
  padding: 5px 0;
}
#logoBSB {
  height: 35px;
  margin-top: 1px;
  margin-left: 5px;
  border-left: 1px solid grey;
  padding-left: 5px;
  vertical-align: top;
}
/*
*
*	Stuff which is present on many sites. E.g. Site title
*
*/
#siteTitle h3 {
  display: inline-block;
  color: #404040;
}
#siteTitle .titleAccessory {
  color: #808080;
  margin: 0 20px 0 5px;
}
#siteTitle hr {
  margin-top: 0;
  border-top: 1px solid #bfbfbf;
}
.titleAndAccessoires {
  display: block;
}
.titleAndAccessoires h4 {
  display: inline-block;
}
.titleAndAccessoires p {
  margin: 0 0 10px;
  color: #808080;
  line-height: 23px;
}
.titleAndAccessoires p span.listedTitle {
  padding: 2px 5px 2px 2px;
  color: #404040;
  border-right: 1px solid #808080;
  /*&:nth-child(even) {
        background-color: #e5f2ff;
      }*/
}
.titleAndAccessoires p span.listedTitle:last-of-type {
  border: none;
}
.titleAndAccessoires .switcherList,
.titleAndAccessoires .switcherThumbs {
  font-size: 1.3em;
  margin-left: 5px;
  position: relative;
  top: 25px;
  text-decoration: none;
}
.titleAndAccessoires .switcherList.active,
.titleAndAccessoires .switcherThumbs.active {
  color: #bfbfbf;
}
@media screen and (max-width: 500px) {
  .titleAndAccessoires .switcherList,
  .titleAndAccessoires .switcherThumbs {
    display: none;
  }
}
.titleAndAccessoires.undated .switcherList,
.titleAndAccessoires.undated .switcherThumbs {
  top: 10px;
}
.titleAndAccessoires .changeDateControls {
  display: inline-block;
  margin-left: 5px;
}
.titleAndAccessoires .changeDateControls span {
  color: #808080;
}
.titleAndAccessoires .changeDateControls a,
.titleAndAccessoires .changeDateControls span {
  font-size: 24px;
}
#contactContainer .contact {
  margin-top: 30px;
}
/*
*
* Simple sites e.g. digipress, help, info
*
*/
#infoContentContainer h4 {
  margin: 30px 0 5px 0;
}
#infoContentContainer h4:first-child {
  margin-top: 10px;
}
#infoContentContainer ul {
  list-style: square;
  padding: 0 0 0 20px;
}
#infoContentContainer ul li {
  list-style: inherit;
}
#infoContentContainer .logoImg {
  max-height: 50px;
  max-width: 50px;
  margin-bottom: 10px;
}
#infoContentContainer .externalLinks {
  margin: 0 0 10px 0;
}
#infoContentContainer .externalLinks a {
  display: block;
}
#infoContentContainer .internalLinks a {
  display: block;
}
.help h3,
.imprint h3 {
  margin-top: 40px;
}
.help h4,
.imprint h4 {
  margin-top: 20px;
}
.help .img-responsive,
.imprint .img-responsive {
  -webkit-box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.2);
  -moz-box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.2);
  box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.2);
  margin: 20px auto;
}
.help ol > li,
.imprint ol > li {
  list-style: inherit !important;
}
.help ul,
.imprint ul,
.help li,
.imprint li {
  list-style: inherit;
}
.help ul,
.imprint ul {
  padding-left: 20px;
}
.help li,
.imprint li {
  padding: 3px 0;
}
.help dt,
.imprint dt {
  margin-top: 10px;
}
.help dt:first-child,
.imprint dt:first-child {
  margin-top: 0;
}
.help .helpLinks a,
.imprint .helpLinks a {
  color: #3875b2 !important;
}
.dfgviewer-icon {
  background-image: url('/images/dfg_logo-11e9713476b4698951ba97f0d10cc00c.svg');
  background-repeat: no-repeat;
  background-size: contain;
  height: 12px;
  width: 34px;
  display: inline-block;
  margin: 0 4px;
}
.iiif-icon {
  background-image: url('/images/iiif_logo-dfb386f96b24a06a799e70183ed0580f.svg');
  background-repeat: no-repeat;
  background-size: contain;
  height: 15px;
  width: 16px;
  display: inline-block;
  margin: 0 4px;
}
.singleNewsItem {
  border-top: none;
  margin-bottom: 30px;
}
.singleNewsItem ~ .singleNewsItem {
  border-top: 1px solid #eee;
}
.singleNewsItem:first-of-type .newsItemDate {
  padding-top: 0;
}
.singleNewsItem .newsItemDate {
  color: #808080;
  font-size: large;
  padding-top: 10px;
  float: right;
}
.singleNewsItem .newsItemContent {
  clear: right;
}
.singleNewsItem .newsItemContent h1 {
  color: #404040;
  font-size: 2em;
}
.singleNewsItem .newsItemContent h2 {
  font-size: 1.4em;
}
.singleNewsItem .newsItemContent ul {
  padding-left: 20px;
}
.singleNewsItem .newsItemContent ul li {
  list-style: disc;
}
/*
*
*	Footer
*
*/
html {
  position: relative;
  min-height: 99%;
}
body {
  /* Margin bottom by footer height */
  margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  /* Set the fixed height of the footer here */
  height: 52px;
  background-color: white;
  -webkit-box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.15);
  -moz-box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.15);
  box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.15);
}
.footer > .container {
  padding-right: 15px;
  padding-left: 15px;
}
.footer > .container .text-muted {
  margin: 20px 0;
}
.footer > .container .text-muted a {
  margin: 0 5px;
}
@media screen and (max-width: 1200px) {
  .footer {
    height: 50px;
  }
  .footer > .container .text-muted {
    margin: 15px 0;
  }
}
@media screen and (max-width: 767px) {
  .footer {
    font-size: 12px;
  }
}
.footer p {
  font-size: 14px;
}

div.webpage-label {
  border-bottom: 1px solid #eee;
  font-size: 24px;
  margin: 20px 0;
  padding-bottom: 15px;
}

.error-page p {
  text-align: left;
}

.error-page h1, .error-page h2, .error-page h3, .error-page div {
  text-align: center;
}


div.error-page p.btn a.btn {
  margin-left: auto;
  margin-right: auto;
}

#searchFormTabs .btn-default {
  border: 1px solid rgb(204, 204, 204);
}

#searchFormTabs > li{
  margin-bottom: 5px;
  margin-right: 10px;
}

#searchFormTabs{
  margin-bottom: 15px;
}

#searchFormTabs.nav-pills > li + li {
  margin-left: 0;
}

/* single news article */

.news-article + .bottom-links {
  border-top: 1px solid #eee;
  padding: 15px;
}

.news-article + .bottom-links a:not(:first-child) {
  margin-left: 1rem;
}

/* newspaper list */

.newspaper-list .alphabet-list li {
  display: inline-block;
  font-size: 1.3em;
  padding: 0 3px;
}

.newspaper-list .alphabet-list li a {
  padding: 0 2px;
}

.newspaper-list .alphabet-list li.active {
  font-weight:bold;
  border-radius: 3px;
  background-color: #3875b2;
}

.newspaper-list .alphabet-list li a:hover{
  color: #3875b2
}

.newspaper-list .alphabet-list li.active a {
  color: white;
}

.newspaper-list .alphabet-list li.disabled span{
  color: lightgrey;
}

.newspaper-list .alphabet-list li.active a:hover {
  color: white;
}

.newspaper-list .publication-info > :not(:last-child):after {
  content: '; ';
}

/* single newspaper details */

.work-description ul {
  list-style: square;
  margin-left: 20px;
}
.work-description ul li {
  list-style: inherit;
}

.work-links > a {
  display: block;
  font-size: 14px;
}

.multi-select + .panel {
    border-radius: 0;
    border: 1px solid #80808033;
    box-shadow: none;
}

.multi-select + .panel-heading {
    display: none;
}

/* Selected Tags im MultiSelect */
.multi-select-tag {
    margin: 1px !important;
    background-color: #e6e9ed !important;
    border: 1px solid #ccc;
    text-transform: none !important;
    box-shadow: none;
    max-width: 400px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    vertical-align: middle;
}

/* Hover dezent */
.multi-select-tag:hover {
    background-color: #e6e6e6;
    border-color: #bfbfbf;
    color: #000;
}

/* Remove Icon etwas softer */
.multi-select-tag .glyphicon {
    font-size: 10px;
    opacity: 0.7;
}

.tag-text {
    margin-left: 10px;
}

.selected-options {
    padding: 3px;
}

.multi-select-btn {
    text-transform: none !important;
    font-family: "RobotoDraft", "Roboto", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-weight: 700 !important;
    border: 1px solid rgb(204, 204, 204) !important;
    color: #808080 !important;
}

/* MultiSelect Dropdown: Höhe begrenzen */
.multi-select .dropdown-menu {
    max-height: 260px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Dropdown-Einträge kürzen */
.multi-select .dropdown-menu li > a {
    max-width: 550px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

/* anfang integriertes multiselect 

    *, *:before, *:after { -webkit-box-sizing: border-box; box-sizing: border-box; } */



    /* ── Dependency arrow between the two controls ── */
    .ms-dependency-row {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-align: center;
          -ms-flex-align: center;
              align-items: center;
      margin: 10px 0;
      gap: 10px;
    }

    .ms-dependency-line {
      -webkit-box-flex: 1;
          -ms-flex: 1;
              flex: 1;
      height: 1px;
      background: #d8d3cb;
      position: relative;
    }


    /* ── Widget wrapper ── */
    .ms-widget {
      position: relative;
      margin-bottom: 4px;
    }

    /* ── Container (trigger + tags + dropdown as one unit) ── */
    .ms-container {
      border: 1px solid #d8d3cb;

    }

    .ms-container.is-open {
      border-color: #2d2926;
      -webkit-box-shadow: 0 0 0 3px rgba(45,41,38,.08);
              box-shadow: 0 0 0 3px rgba(45,41,38,.08);
    }

    /* Disabled state (Titel-Control bevor Unternehmen gewählt) */
    .ms-container.is-disabled {
      background: #f5f2ee;
      border-color: #e4e0da;
      pointer-events: none;
      opacity: .65;
    }

    /* ── Trigger ── */
    .ms-trigger {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-align: center;
          -ms-flex-align: center;
              align-items: center;
      -webkit-box-pack: justify;
          -ms-flex-pack: justify;
              justify-content: space-between;
      padding: 8px 12px;
      cursor: pointer;
      -webkit-user-select: none;
         -moz-user-select: none;
          -ms-user-select: none;
              user-select: none;
      min-height: 38px;
    }

    .ms-trigger-left {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-align: center;
          -ms-flex-align: center;
              align-items: center;
      -webkit-box-flex: 1;
          -ms-flex: 1;
              flex: 1;
      min-width: 0;
    }

    .ms-trigger-text {
      font-size: 14px;
      color: #9e9893;
      -webkit-box-flex: 1;
          -ms-flex: 1;
              flex: 1;
    }

    .ms-trigger-text.has-selection {
      color: #1a1714;
      font-weight: 500;
    }

    .ms-chevron {
      color: #9e9893;
      font-size: 12px;
      margin-left: 8px;
      -webkit-transition: -webkit-transform .22s;
              transition: transform .22s;
      -ms-flex-negative: 0;
          flex-shrink: 0;
    }

    .ms-container.is-open .ms-chevron {
      -webkit-transform: rotate(180deg);
          -ms-transform: rotate(180deg);
              transform: rotate(180deg);
    }

    /* ── Spinner (Ajax loading) ── */
    .ms-spinner {
      display: none;
      margin-left: 8px;
    }

    .ms-spinner.visible {
      display: inline-block;
    }

    .ms-spinner-icon {
      width: 14px;
      height: 14px;
      border: 2px solid #d8d3cb;
      border-top-color: #2d2926;
      border-radius: 50%;
      display: inline-block;
      -webkit-animation: spin .7s linear infinite;
              animation: spin .7s linear infinite;
    }

    @-webkit-keyframes spin {
      to { -webkit-transform: rotate(360deg); transform: rotate(360deg); }
    }
    @keyframes spin {
      to { transform: rotate(360deg); }
    }

    /* ── Divider ── */
    .ms-divider {
      height: 1px;
      background: #d8d3cb;
      margin: 0;
      display: none;
    }

    .ms-divider.visible { display: block; }

    /* ── Tags panel ── */
    .ms-tags {
      padding: 8px 10px;
      display: none;
    }

    .ms-tags.has-tags { display: block; }

    /* ── Tag ── */
    .ms-tag {
      display: -webkit-inline-box;
      display: -ms-inline-flexbox;
      display: inline-flex;
      -webkit-box-align: center;
          -ms-flex-align: center;
              align-items: center;
      padding: 3px 6px 3px 9px;
      font-size: 13px;
      font-weight: 300;
      margin: 3px 4px 3px 0;
      white-space: nowrap;
      -webkit-animation: tagIn .2s cubic-bezier(.34,1.56,.64,1) forwards;
              animation: tagIn .2s cubic-bezier(.34,1.56,.64,1) forwards;
      line-height: 1;
      background: #e0e0e0;
      max-width: 100%;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      display: inline-block;
    }


    @-webkit-keyframes tagIn {
      from { opacity: 0; -webkit-transform: scale(.8) translateY(3px); transform: scale(.8) translateY(3px); }
      to   { opacity: 1; -webkit-transform: scale(1) translateY(0);    transform: scale(1) translateY(0); }
    }
    @keyframes tagIn {
      from { opacity: 0; transform: scale(.8) translateY(3px); }
      to   { opacity: 1; transform: scale(1) translateY(0); }
    }

    @-webkit-keyframes tagOut {
      from { opacity: 1; -webkit-transform: scale(1);   transform: scale(1); }
      to   { opacity: 0; -webkit-transform: scale(.75); transform: scale(.75); }
    }
    @keyframes tagOut {
      from { opacity: 1; transform: scale(1); }
      to   { opacity: 0; transform: scale(.75); }
    }

    .ms-tag-remove {
      display: -webkit-inline-box;
      display: -ms-inline-flexbox;
      display: inline-flex;
      -webkit-box-align: center;
          -ms-flex-align: center;
              align-items: center;
      -webkit-box-pack: center;
          -ms-flex-pack: center;
              justify-content: center;
      width: 16px;
      height: 16px;
      border: none;
      cursor: pointer;
      padding: 0;
      margin-right: 5px;
      font-size: 11px;
      line-height: 1;
      -webkit-transition: background .12s;
              transition: background .12s;
      -ms-flex-negative: 0;
          flex-shrink: 0;
    }

    .ms-tag-remove:hover {
      background: rgba(255,255,255,.3);
      color: #fff;
    }

    /* ── Dropdown ── */
    .ms-dropdown {
      position: absolute;
      top: 100%;
      margin-top: 5px;
      left: 0;
      right: 0;
      background: white;
      border: 1px solid #2d2926;
      -webkit-box-shadow: 0 4px 16px rgba(45,41,38,.12);
              box-shadow: 0 4px 16px rgba(45,41,38,.12);
      z-index: 1050;
      overflow: hidden;
      display: none;
      -webkit-animation: dropIn .18s ease;
              animation: dropIn .18s ease;
    }

    @-webkit-keyframes dropIn {
      from { opacity: 0; -webkit-transform: translateY(-5px); transform: translateY(-5px); }
      to   { opacity: 1; -webkit-transform: translateY(0);    transform: translateY(0); }
    }
    @keyframes dropIn {
      from { opacity: 0; transform: translateY(-5px); }
      to   { opacity: 1; transform: translateY(0); }
    }

    .ms-container.is-open .ms-dropdown { display: block; }

    .ms-search-wrap {
      padding: 8px 10px;
      border-bottom: 1px solid #e8e4de;
      position: relative;
    }

    .ms-search-wrap .glyphicon-search {
      position: absolute;
      left: 20px;
      top: 50%;
      margin-top: -7px;
      color: #9e9893;
      font-size: 12px;
      pointer-events: none;
    }

    .ms-search {
      width: 100%;
      border: 1px solid #d8d3cb;
      padding: 6px 10px 6px 28px;
      font-family: 'DM Sans', sans-serif;
      font-size: 13px;
      color: #1a1714;
      background: #f0f0f0;
      outline: none;
      -webkit-transition: border-color .15s;
              transition: border-color .15s;
    }

    .ms-search:focus { border-color: #2d2926; }

    /* Ajax loading overlay inside dropdown */
    .ms-loading-overlay {
      display: none;
      padding: 20px;
      text-align: center;
      color: #9e9893;
      font-size: 13px;
    }

    .ms-loading-overlay.visible { display: block; }

    .ms-loading-overlay .ms-spinner-icon {
      width: 18px;
      height: 18px;
      margin-bottom: 8px;
    }

    .ms-list {
      max-height: 220px;
      overflow-y: auto;
      padding: 4px 0;
    }

    .ms-list::-webkit-scrollbar { width: 4px; }
    .ms-list::-webkit-scrollbar-track { background: transparent; }
    .ms-list::-webkit-scrollbar-thumb { background: #808080; }

    .ms-option {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-align: center;
          -ms-flex-align: center;
              align-items: center;
      -webkit-box-pack: justify;
          -ms-flex-pack: justify;
              justify-content: space-between;
      padding: 8px 12px;
      font-size: 14px;
      color: #1a1714;
      cursor: pointer;
      -webkit-transition: background .1s;
              transition: background .1s;
    }

    .ms-option:hover:not(.is-selected) { background: #e0e0e0; }

    .ms-option.is-selected {
      color: #9e9893;
      background: #f0f0f0;
      cursor: default;
    }

    .ms-option-check {
      font-size: 12px;
      color: #2d2926;
      visibility: hidden;
    }

    .ms-option.is-selected .ms-option-check { visibility: visible; }

    .ms-no-results {
      padding: 12px;
      font-size: 13px;
      color: #9e9893;
      text-align: center;
      font-style: italic;
      display: none;
    }

    /* Hint inside Titel-dropdown when no Unternehmen selected */
    .ms-empty-hint {
      padding: 16px 14px;
      font-size: 13px;
      color: #9e9893;
      text-align: center;
      line-height: 1.55;
      display: none;
    }

    .ms-empty-hint .glyphicon {
      display: block;
      font-size: 20px;
      margin-bottom: 8px;
      color: #d8d3cb;
    }

    /* ── Footer ── */
    .demo-footer {
      margin-top: 24px;
      padding-top: 20px;
      border-top: 1px solid #d8d3cb;
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-align: center;
          -ms-flex-align: center;
              align-items: center;
      -webkit-box-pack: justify;
          -ms-flex-pack: justify;
              justify-content: space-between;
    }

    .btn-ms-clear {
      background: none;
      border: 1px solid #d8d3cb;
      padding: 7px 16px;
      font-family: 'DM Sans', sans-serif;
      font-size: 14px;
      color: #6b6560;
      cursor: pointer;
      -webkit-transition: border-color .15s, color .15s;
              transition: border-color .15s, color .15s;
    }

    .btn-ms-clear:hover { border-color: #2d2926; color: #2d2926; }

    .ms-trigger:focus {
        outline: none;
        -webkit-box-shadow: 0 0 0 3px rgba(45,41,38,.15);
        box-shadow: 0 0 0 3px rgba(45,41,38,.15);
    }

    .ms-option:focus {
        outline: none;
        background: #e8e4de;
        /* Kleiner linker Balken als Fokus-Indikator */
        -webkit-box-shadow: inset 3px 0 0 #2d2926;
        box-shadow: inset 3px 0 0 #2d2926;
    }

    .ms-option.is-selected:focus {
        background: #ede8df;
        -webkit-box-shadow: inset 3px 0 0 #9e9893;
        box-shadow: inset 3px 0 0 #9e9893;
    }
