/**
 * Custom styling.
 */
table.dataTable {
	table-layout: auto;
}

.search-emphasis-label {
	margin-top: 3.1em;
}

.green,
.green a {
	color: #004F2E !important;
	font-weight: bold;
}

.twin-wrapper {
	margin-bottom: 0.938em;
}

@media screen and (max-width: 47.938em) {
	.twin-wrapper {
		padding: 0 0.938em !important;
	}
}

.table-wrapper .twin-wrapper:not(.department-list):not(.keyword-list):first-child {
	padding-left: 0;
}

.table-wrapper .twin-wrapper:not(.department-list):not(.keyword-list):last-child {
	padding-right: 0;
}

@media screen and (max-width: 47.938em) {
	.table-wrapper .twin-wrapper:first-child {
		padding: 0;
	}

	.table-wrapper .twin-wrapper:last-child {
		padding: 0;
	}
}

.twin-towers {
	border: 0.063em solid #ADADAD;
	overflow: hidden;
}

.twin-towers h4 {
	text-align: center;
	margin-top: 0.625em;
	padding: 0.313em;
	background-color: #F4AA00;
}

.twin-towers table {
	width: 100%;
	margin-bottom: 0.625em;
}

.twin-towers table td {
	vertical-align: top;
	font-size: 0.85em;
}

.indented {
	margin-left: 1.25em;
}

table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:after,
table.dataTable thead .sorting_asc_disabled:after,
table.dataTable thead .sorting_desc_disabled:after {
	bottom: 0.625em;
}

table.dataTable thead th[class*="-slim"].sorting:after,
table.dataTable thead th[class*="-slim"].sorting_asc:after,
table.dataTable thead th[class*="-slim"].sorting_desc:after,
table.dataTable thead th[class*="-slim"].sorting_asc_disabled:after,
table.dataTable thead th[class*="-slim"].sorting_desc_disabled:after {
	bottom: 1.563em;
}

.nds-name {
	width: 9.375em;
	max-width: 9.375em;
}

.nds-unit {
	width: 14.375em;
	max-width: 14.375em;
}

.nds-grad,
.nds-tech {
	width: 3.75em;
	max-width: 3.75em;
}

.nds-expertise {
	/*width: 460px;*/
	/*max-width: 460px;*/
}

.nds-name.nds-slim {
	width: 6.25em;
	max-width: 6.25em;
}

.nds-unit.nds-slim {
	width: 12.5em;
	max-width: 12.5em;
}

.nds-expertise.nds-slim {
	/*width: 460px;*/
	/*max-width: 460px;*/
}

.grouped-item,
.desc-item {
	margin-bottom: 0.938em;
}

.grouped-item:last-child,
.desc-item:last-child {
	margin-bottom: 0;
}

.grouped-name,
.grouped-expertise,
.grouped-keyword {
	padding: 0.5em;
	word-wrap: break-word;
}

.grouped-hdr {
	min-width: 5.625em;
	width: 5.625em;
	max-width: 5.625em;
}

.desc-hdr {
	min-width: 9.375em;
	width: 9.375em;
	max-width: 9.375em;
}

.grouped-keyword {
	min-width: 7.5em;
	width: 7.5em;
	max-width: 7.5em;
}

.grouped-hdr,
.grouped-value,
.desc-hdr,
.desc-value {
	height: 100%;
	padding: 0 0.188em;
	word-wrap: break-word;
}

@media screen and (max-width: 74.938em) {
	.desc-hdr,
	.desc-value {
		display: block;
		padding: 0;
	}
	
	.desc-hdr {
		min-width: 0;
		width: auto;
		max-width: none;
	}
}

.grouped-name {
	min-width: 7.5em;
	width: 7.5em;
	max-width: 7.5em;
}

.group-by-researcher, .group-by-researcher td,
.group-by-keyword, .group-by-keyword td {
	line-height: 1.5;
	border: 0.063em solid #DDDDDD;
}

@media screen and (max-width: 74.938em) {
	.group-by-researcher, .group-by-researcher td,
	.group-by-keyword, .group-by-keyword td {
		border: 0;
	}

	.group-by-researcher .grouped-name,
	.group-by-keyword .grouped-name,
	.group-by-keyword .grouped-keyword {
		min-width: 0;
		width: auto;
		max-width: none;
	}
	
	.group-by-researcher thead,
	.group-by-keyword thead {
		display: none;
	}
	
	.group-by-researcher tr,
	.group-by-keyword tr {
		padding: 0.313em;
		margin-bottom: 1.875em;
		display: block;
		border: 0.063em solid #ddd;
		border-bottom: 0.125em solid #ddd;

		-webkit-box-shadow: 0 0.5em 0.4em -0.3em #DDDDDD;
		-moz-box-shadow: 0 0.5em 0.4em -0.3em #DDDDDD;
		box-shadow: 0 0.5em 0.4em -0.3em #DDDDDD;
	}

	.group-by-researcher tr:last-child,
	.group-by-keyword tr:last-child {
		margin-bottom: 0.625em;
	}
	
	.group-by-researcher td,
	.group-by-keyword td {
		display: block;
		text-align: right;
		font-size: 0.813em;
		border-bottom: 0.063em dotted #ccc;
	}
	
	.group-by-researcher td:last-child,
	.group-by-keyword td:last-child {
		border-bottom: 0;
	}
	
	.group-by-researcher td:before,
	.group-by-keyword td:before {
		content: attr(data-label);
		float: left;
		text-transform: uppercase;
		/*font-weight: bold;*/
		font-weight: 500;
		color: #562E18;
		margin-right: 0.625em;
	}
	
	.group-by-researcher td.no-result,
	.group-by-keyword td.no-result {
		text-align: center !important;
	}

	.group-by-researcher .table-cell,
	.group-by-keyword .table-cell {
		display: block;
	}

	.group-by-researcher .grouped-hdr, .group-by-researcher .grouped-value,
	.group-by-keyword .grouped-hdr, .group-by-keyword .grouped-value {
		min-width: 0;
		width: auto;
		max-width: none;

		padding: 0;
	}
}

.contact-details {
	margin-bottom: 0.938em;
	overflow: hidden;
	word-wrap: break-word;
}

.base-contact-info {
	margin-bottom: 0.625em;
}

.expert-name {
	color: #200800;
	font-size: 2em;
	font-family: "Knockout 30 A", "Knockout 30 B", Helvetica, sans-serif;
	font-weight: 700;
}

.profile-label {
	display: inline-block;
	width: 6.25em;
}

.profile-header {
	margin: 2.188em 0 0.625em 0 !important;
	font-weight: 700;
}

.kw-wrapper,
.intl-wrapper {
	border: 0.063em solid #DDDDDD;
}

.kw-wrapper {
	margin: 0 0.938em;
}

@media screen and (max-width: 48em) {
	.kw-wrapper {
		margin: 0;
	}
}

.kw-wrapper th,
.kw-wrapper td,
.intl-wrapper th,
.intl-wrapper td {
	padding: 0.188em 0.5em;
	border: 0.063em solid #DDDDDD;
}

.kw-wrapper th,
.intl-wrapper th {
	text-align: center;
}

.kw-wrapper td,
.intl-wrapper td {
	vertical-align: top;
}

.desc-wrapper h4,
.lang-wrapper h4,
.act-wrapper h4,
.cv-wrapper h4,
.rec-grad-wrapper h4 {
	margin-top: 0.938em;
}

.activity-desc {
	margin: 0 0.938em 0.938em 0.938em;
}

.cv-download-details {
	margin: 0 0.938em;
}

.cv-download-details span {
	margin-right: 0.625em;
}

.cv-specs {
	font-size: 0.85em;
}

@media screen and (max-width: 48em) {
	.profile-label {
		display: block;
		width: auto;
	}
}

/** Override Tooltipster **/
.tooltipster-box {
	background: #F5CF47 !important;
	border: 0.125em solid #562E18 !important;
}

.tooltipster-sidetip.tooltipster-top .tooltipster-arrow-border {
	border-top-color: #562E18 !important;
}

.tooltipster-sidetip.tooltipster-top .tooltipster-arrow-background {
	border-top-color: #F5CF47 !important;
}

.tooltipster-content {
	color: #562E18 !important;
}