/* IMPORTANT: to be customized to your webdesign */

.container-fluid.skin-bg-gray {
	background-color: #f5f5f5;
}
.container-fluid {
	margin-right: auto;
	margin-left: auto;
	padding-left: 12px;
	padding-right: 12px;
}
.search-form {
	margin-bottom: 48px;
}
.search-form h2.small-font {
	font-size: .83333333em;
}
.search-form .btn-primary:focus {
	background-color: #ad0023 !important;
}
.row.skin-gutter-wide {
	margin-left: -24px;
	margin-right: -24px;
}
.no-margin-bottom {
	margin-bottom: 0!important;
}
.search-results .path {
	list-style: none;
	padding-left: 0;
	margin-left: 0;
	font-size: .7em;
	margin:2em 0 0.1em 0
}
.search-results .path li:before {
	line-height: .5;
	font-size: 200%;
}
.search-results .path li {
	display:inline-block;
	white-space:nowrap;
	max-width:16rem;
	overflow:hidden;
	text-overflow:ellipsis;
	border:0 !important;
	margin:0 !important;
}
.search-results .path li a {
	color:#aaa;
	border:0 !important;
	margin:0 !important;
}
.search-results .hit em {
	font-style: normal;
	font-weight: initial !important;
	padding-left:.15em;
	padding-right:.15em;
	background-color: #d6002b1c !important;
}
.search-results > h2 > code {
	font-family: inherit;
	font-size: inherit;
	font-weight: inherit;
	background: none;
	color: inherit;
}
.search-results > h2 > code:before {
	content:"«";
	margin-right:.25rem;
}
.search-results > h2 > code:after {
	content:"»";
	margin-left:.25rem;
}

/* Loading Spinner */
.spin {
	display: block;
	width: 50px;
	height: 50px;
	border: 3px solid rgba(0, 0, 0, .1);
	border-radius: 50%;
	border-top-color: #d6002b;
	animation: spin 1s ease-in-out infinite;
	-webkit-animation: spin 1s ease-in-out infinite;
	margin:0 auto calc(100vh - 360px);
}
@keyframes spin {
	to {
		-webkit-transform: rotate(360deg);
	}
}
@-webkit-keyframes spin {
	to {
		-webkit-transform: rotate(360deg);
	}
}
.pagination i.fas.fa-chevron-left:after,
.pagination i.fas.fa-chevron-right:after {
	font-family: unibe-iconset;
	speak: none;
	font-size:200%;
	font-style: normal;
	font-weight: 400;
	font-variant: normal;
	text-transform: none;
	line-height: .75em;
	vertical-align: -.25em;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}
body:not(.zms.web) .pagination i.fas.fa-chevron-left:after {
	content: "\e603";
}
body:not(.zms.web) .pagination i.fas.fa-chevron-right:after {
	content: "\e602";
}
.pagination > li > a,
.pagination > li > span {
	color: #d6002b;
}
.pagination > .active > a,
.pagination > .active > span,
.pagination > .active > a:hover,
.pagination > .active > span:hover,
.pagination > .active > a:focus,
.pagination > .active > span:focus {
	background-color: #d6002b;
	border-color: #d6002b;
}
.search-results .nav-tabs > li {
	margin-bottom: 2px;
}
.search-results .tab-content h2 {
	display: none;
}
.search-results .tab-content .spin {
	margin-top: 2em;
}

/* ZMS-Demo-Theme */
body.zms.web .container-fluid.skin-bg-gray {
	background-color:unset;
}
body.zms.web #search_results ul.path {
	display:flex;
	white-space: nowrap;
	overflow: hidden;
}
body.zms.web #search_results ul.path li {
	margin-right:.25rem;
}
body.zms.web #search_results  ul.path li a {
	text-decoration:none !important;
}
body.zms.web #search_results ul.path li a:before {
	content:"/";
	display:inline;
	margin-right:.25rem;
}
body.zms.web #search_results article.hit {
	padding-top:0
}
body.zms.web #search_results .pagination i.fas.fa-chevron-left:after {
	content: none;
}
body.zms.web #search_results .pagination i.fas.fa-chevron-right:after {
	content: none;
}
body.zms.web #search_results .nav-tabs {
	display: none;
}

/* Custom-Autofill-GUI */
/*
	#form-keyword-container:hover datalist#suggests {
		color:#999;
		display:block;
		position:absolute;
		z-index:1000;
		background:#fff;
		margin:0 2px;
		padding:0 .6rem;
		min-width:280px;
		box-shadow:1rem 1rem 2rem -.5rem #0002
	}
	datalist#suggests option {
		cursor: pointer;
		user-select: none;
	}
	datalist#suggests option:hover {
		color:#000;
		background:aliceblue;
	}
*/


/* UNITEL */


article.hit.unitel > ul,
article.hit.unitel > a,
article.unitel.hit p,
article.unitel.hit .Reihenfolge,
article.unitel.hit .Land,
article.unitel.hit .Hauptadresse,
article.unitel.hit .InstitutionGUID {
	display:none !important;
}
article.unitel.hit h3 { 
	margin:0 0 1rem 0 !important 
}
article.unitel.hit dt {
	padding: 2px 12px 2px 0;
	color:#888;
	font-weight: normal;
	font-family: unset;
}
article.hit.unitel dl {
	white-space:pre-line;
	overflow:hidden;
	text-overflow:ellipsis;
}
article.hit.unitel dt,
article.hit.unitel dd {
	display:inline !important;
}
article.hit.unitel dt:not(:first-child):before {
	content:"\A";
}
article.hit.unitel dt:after{
	content:":";
}
article.hit.unitel dt.ger.Ort {
	display: none !important;
}
article.hit.unitel dd.PLZ {
	margin-right:.75rem
}
article.hit.unitel dt.ger.PLZ::after {
	content:",  Ort:";
}
#top_results .top_results {
	display:flex;
	flex-direction: row;
	align-items: stretch;
	column-gap:2rem;
	row-gap: 2rem;
	justify-content: flex-start;
	align-content: flex-start;
	overflow:hidden;
	flex-wrap: wrap;
}
@media screen and (max-width: 480px) {
	#top_results .top_results {
		flex-direction: column;
		row-gap: 2rem;
	}
}
#top_results article.top_result {
	max-width: 32rem;
	min-width: 26rem;
	padding: 0;
	border: 2px solid #e4e4e4;
	hyphens: auto;
}
#top_results article.hit.top_result h2 {
	margin: 0;
	padding:.5em .75em;
	font-size:120%;
}
#top_results article.top_result img {
	height: 20rem;
	width:100%;
	object-fit:cover;
	object-position: center;
	margin: 0;
	display: block;
}
#top_results .top_results article.top_result p {
	color: #666 !important;
	margin:0;
	padding:.25em .75em .5em .75em;
}
.search-results.content-tabs ul.nav-tabs {
	/* override legacy css */
	display: block;
}
ul.nav-tabs[role="tablist"] > li:not(.active):hover > a {
	background-color: #ebebeb;
}
ul.nav-tabs[role="tablist"] > li.active:hover > a {
	background-color: #fff;
}
ul.nav-tabs[role="tablist"] > li:hover > a > .badge.badge-tabs {
	background-color: #d6002b;
	color:white;
}
