/*-
 * ###license-information-start###
 * E-PIX - Enterprise Patient Identifier Cross-referencing
 * __
 * Copyright (C) 2009 - 2025 Trusted Third Party of the University Medicine Greifswald
 * 							kontakt-ths@uni-greifswald.de
 * 
 * 							concept and implementation
 * 							l.geidel,c.schack, d.langner, g.koetzschke
 * 
 * 							web client
 * 							a.blumentritt, f.m. moser
 * 
 * 							docker
 * 							r.schuldt, f.m. moser
 * 
 * 							privacy preserving record linkage (PPRL)
 * 							c.hampf
 * 
 * 							please cite our publications
 * 							http://dx.doi.org/10.3414/ME14-01-0133
 * 							http://dx.doi.org/10.1186/s12967-015-0545-6
 * 							https://translational-medicine.biomedcentral.com/articles/10.1186/s12967-020-02257-4
 * __
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Affero General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU Affero General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 * ###license-information-end###
 */
/* author: Arne Blumentritt  */
@import url("ths_responsive.css");

:root {
	--primary-color: #d14754;
	--primary-highlight-color: #db4b59;
	--primary-focus-color: #db4b5980;
}

/* Possible Matches tables */
.matchesTable .ui-blockui-content {
	height: 90px;
}

/* Reflow */
@media (min-width: 641px) {
	.ui-datatable.possible-matches .ui-datatable-odd {
		background-color: inherit;
	}
}

@media (max-width: 640px) {
	.possible-match .label {
		text-align: center;
		border-top: 1px solid #8296a1;
		border-left: 1px solid #d9e3e8;
		border-right: 1px solid #d9e3e8;
	}
}

.ui-datatable.possible-matches table {
	overflow: hidden;
}

.ui-datatable.possible-matches .ui-expanded-row-content > td {
	padding: 0;
}

.possible-matches .expansion {
	border-color: #d14754;
}

.possible-match div {
	padding: 4px 8px;
}

.possible-match .label {
	color: #626262;
}

.possible-match .label.highlight {
	font-weight: bold;
}

.possible-match .left.last {
	border-bottom: 1px solid #d9e3e8;
}

.possible-match .left {
	border-left: 1px solid #d9e3e8;
	border-right: 1px solid #d9e3e8;
	border-top: 1px solid #d9e3e8;
	background-color: inherit;
	color: inherit;
}

.possible-match .right.last {
	border-bottom: 1px solid #d9e3e8;
}

.possible-match .right {
	border-left: 1px solid #d9e3e8;
	border-right: 1px solid #d9e3e8;
	border-top: 1px solid #d9e3e8;
	background-color: #F2F6FC;
	color: inherit;
	margin: 0;
}

.possible-match .left.highlight, .possible-match .right.highlight {
	background-color: #e55a67;
	color: #FFF;
	font-weight: bold;
}

@media screen and (min-width: 40.063em) {
	.possible-match .ui-md-4.left, .possible-match .ui-lg-5.left {
		margin: 0 16px 0 -18px;
	}
}

.ui-datatable .border-right {
	border-right-width: 3px !important;
}

.unlink-identity button {
	background-color: grey;
}

.unlink-identity button {
	border-color: #767676;
}

.unlink-identity button.ui-state-hover {
	background-color: #999999;
}

.highlight > td, .highlight > td > a {
	color: #FFF !important;
}

.highlight > td:nth-child(2) {
	font-weight: bold;
}

.rowDetail {
	font-size: 0.85em;
	font-weight: normal;
	color: #888;
	display: block;
	margin: 2px 0 6px 0;
}

/* Hide a column */
table .spacer, .ui-datatable table tbody tr td.spacer {
	width: 10px;
	border-style: none !important;
	background-color: transparent !important;
}

.ui-paginator-rpp-options {
	width: initial;
	font-size: 0.9em;
	float: right;
	margin: 4px -2px 0 5px !important;
}

.page-size {
	float: right;
	font-size: 0.9em;
	margin: 4px 0 0 0;
}

.table-icon {
	margin: -3px 0 -5px 0;
	display: block;
}

.table-icon::before {
	font-size: 20px;
}

.spacer.s {
	padding: 0 8px !important;;
}

/* Person Chronoline */
.person-chronoline .ui-card-content {
	display: flex;
	column-gap: 30px;
}

.person-chronoline .ui-chronoline-event:nth-child(odd) .ui-card-content {
	flex-direction: row;
}

.person-chronoline .ui-chronoline-event:nth-child(even) .ui-card-content {
	flex-direction: row-reverse;
}

.person-chronoline .ui-chronoline-event-content {
	margin-top: -15px;
}

/* Set Reference */
.set-reference {
	text-decoration: none;
}

.set-reference .tag {
	opacity: 0;
}

.set-reference:hover .tag {
	opacity: 1;
}
