/* instant Visual Feedback image size. */
img.unibox-vis {
	width: 70px;
}

/* each search suggest line. */
.unibox-selectable {
	clear: both;
	position: relative;
	font-size: 14px;
	text-align: left;
}

/* A theme can make links bold, and then the highlight would not stand out. */
.unibox-selectable a {
	font-weight: normal;
}

/* The icon and the text beside it, wrapping there if long. The rules are this plain so that a
   theme's own, usually under #unibox-suggest-box, wins over them. */
.search_icon {
	display: inline-block;
	min-width: 1.5em;
	vertical-align: top;
}

.search_txt {
	display: inline-block;
	max-width: calc(100% - 2.5em);
	vertical-align: top;
}

.unibox-selectable .unibox-extra {
	cursor: default;
}

.unibox-selectable:hover .unibox-extra {
	color: #fff;
}

.unibox-selectable.active, .unibox-selectable:hover {
	background-color: var(--bs-primary, var(--primary, #0078bf));
	color: #fff;
	cursor: pointer;
}
.unibox-selectable.active a, .unibox-selectable.active span, .unibox-selectable.active .unibox-extra, .unibox-selectable:hover a, .unibox-selectable:hover span, .unibox-selectable:hover .unibox-extra {
	color: #fff;
}
.unibox-selectable .unibox-selectable-img-container {
	width: 60px;
	float: left;
	margin-right: 6px;
}

.unibox-selectable img {
	max-width: 60px;
	max-height: 60px;
}

/* The line under a name: for a person, their functions and unit. Lighter, so that the name leads,
   and in the colour of the line, so that it also shows on an active one. At most two lines: some
   functions run to a hundred letters and more, and in a narrow list they made a person six lines
   high. The whole of it is in the title. */
.unibox-description {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	overflow: hidden;
	font-size: 85%;
	opacity: .75;
}

/* Highlight of search keywords in results. */
.unibox-highlight {
	font-weight: bold;
}

/* The line that takes the typed text to the search page, set apart from the suggestions under it.
   A grey that shows on a light list and on a dark one. */
.unibox-suggest- {
	border-bottom: 1px solid rgba(128, 128, 128, .25);
}

.unibox-ca {
	clear: both;
}

#unibox-invisible {
	visibility: hidden;
	position: relative;
	text-align: left;
	/** needs to get the same styles as the search box so that width of the text within the search box can be computed */
}

/* suggest box */
#unibox-suggest-box {
  position: absolute;
  display: none;
  border: 1px solid #E5E5E5;
  background-color: #fff;
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .15);
  overflow: hidden;
  z-index: 1500;
}

#unibox-suggest-box a {
	text-decoration: none;
}

/* What a theme gives h4 on its pages, such as a centred title over a thick line, does not suit a list. */
.unibox-suggest-cluster h4 {
	width: auto;
	min-height: 0;
	border: 0;
	text-align: left;
}

#unibox-suggest-box > div > div {
	padding: 6px 8px;
}
#unibox-suggest-box h4 {
	margin-left: 8px;
	margin-top: 6px;
	font-size: 18px;
}

.unibox-ivf {
	position: absolute;
}

.unibox-ivf {
    width: 76px;
    height: 76px;
    position: absolute;
    top: -89px;
    left: -15px;
}

.unibox-ivf img {
    max-width: 76px;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    transition:.3s ease-out;
    -webkit-transition:0.3s ease-out;
    -webkit-transform:rotateX(-90deg) translateY(100%);
    transform:rotateX(-90deg) translateY(100%);
}

.unibox-ivf img.l {
    -webkit-transform:rotateX(0deg) translateY(0%);
    transform:rotateX(0deg) translateY(0%);
}

#unibox-dab-holder{
	position: absolute;
	top: 0;
	right: 0;
	width: 20px;
	height: 32px;
	background-color: #fff;
	z-index: 9999;
	display: none;
	color: #666;
	border: none #666;
}
#unibox-dab{
	position: absolute;
	top: 50%;
	left: 0;
	margin-top: -6px;
	width: 12px;
	height: 12px;
	border: 1px solid;
	border-radius: 50%;
	font-size: 12px;
	line-height: 12px;
	vertical-align: middle;
	text-align: center;
	cursor: pointer;
}
#unibox-dab:before {
	content: "\00d7";
	position: absolute;
	top: 0;
	left: 0;
	margin-left: 3px;
	margin-top: 1px;
}