html {
	font-size: 14px;
	position: relative;
	min-height: 100%;
}

body {
	margin-bottom: 60px;
}

footer {
	position: absolute;
	bottom: 0;
	width: 100%;
	height: 3rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

a {
	color: #009999;
}

	a:hover {
		color: #4e8f8f;
	}

.background-parallax {
	background-image: url("/img/background.jpg");
	height: 150px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.disabled {
	pointer-events: none;
	opacity: 0.5;
	cursor: not-allowed;
}

.input-container-outside {
	position: sticky;
	z-index: 100;
	background-color: #fff;
	top: 0;
	padding: 15px 0;
	text-align: center;
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

.input-container-outside {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: nowrap;
}

.input-container {
	border: 1px solid #ccc;
	border-radius: 4px;
	padding: 8px 12px;
}

	.input-container input {
		font-size: 20px;
		border: none;
		background-color: #fff;
		color: #000;
		letter-spacing: 0.35px;
		text-align: left;
		width: 300px;
		outline: none;
		cursor: pointer;
	}

	.input-container .label {
		font-size: 13px;
		letter-spacing: .4px;
		color: #595959;
		display: inline;
		position: relative;
		top: -30px;
		left: -10px;
		background-color: #fff;
		padding: 2px 4px;
		border: none;
	}

.swap-symbol {
	font-size: 18px;
	cursor: pointer;
	color: #000;
	padding: 5px 10px;
	border: 1px solid #ccc;
	border-radius: 4px;
	background-color: #f5f5f5;
	transition: background-color 0.3s ease;
}

	.swap-symbol:hover {
		background-color: #e0e0e0;
	}


.modal-dialog {
	max-width: 80%;
}

.thumbnail-canvas {
	border: 1px solid #ccc;
	margin-right: 5px;
}

.center {
	margin: 0;
	position: absolute;
	top: 50%;
	left: 50%;
	-ms-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
}

.divider:after,
.divider:before {
	content: "";
	flex: 1;
	height: 1px;
	background: #eee;
}

.h-custom {
	height: calc(100% - 73px);
}

.floating-button {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 9999;
}

.text-center {
	text-align: center;
}

.shadow {
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
}

.profile-card {
}

	.profile-card .profile-card_details {
		padding-top: 20px;
	}

	.profile-card .profile-card-image img {
		width: 100px;
		height: 100px;
		border-radius: 100%;
		object-fit: cover;
	}

	.profile-card .profile-card_social {
		position: absolute;
		left: 0;
		bottom: 0;
		width: 100%;
	}

		.profile-card .profile-card_social img {
			width: 33px;
			margin: 5px 10px;
		}

.person-fulldate-text {
	font-size: 20px;
	white-space: pre;
}

.familyPhoto {
	position: inherit !important;
	padding: 0;
	margin: 0 auto;
	max-height: 100%;
	max-width: 100%;
}

.profileIcon {
	margin-right: 25px;
}

.navbar-photo {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	background-color: #009999;
	overflow: auto;
	margin-bottom: 10px;
	flex-wrap: wrap;
	position: sticky;
	top: 0;
	z-index: 100;
}

	.navbar-photo a {
		float: left;
		padding: 12px;
		color: white;
		text-decoration: none;
		font-size: 17px;
		text-align: center;
	}

		.navbar-photo a:hover {
			background-color: #086969;
		}

.dont-break-out {
	overflow-wrap: break-word;
	word-wrap: break-word;
	-ms-word-break: break-all;
	word-break: break-all;
	word-break: break-word;
	-ms-hyphens: auto;
	-moz-hyphens: auto;
	-webkit-hyphens: auto;
	hyphens: auto;
}

.wrap-textarea {
	white-space: pre-wrap;
}

.text-bold {
	font-weight: bold;
}

.text-justify {
	text-align: justify;
}

.flex2 {
	display: flex;
	justify-content: space-around;
}

.flex3 {
	display: flex;
	justify-content: space-between;
}

.flex-items {
	text-align: center;
	color: green;
	font-size: 20px;
}

	.flex-items i {
		color: #009999;
	}

	.flex-items button {
		border: none;
		background: none;
		color: #009999;
	}

		.flex-items button:focus {
			outline: 0;
		}

.anno-profile {
	padding: 5px;
	height: 100%;
}

	.anno-profile img {
		position: absolute;
		border: 4px solid #fff;
	}

	.anno-profile .personName {
		width: 100%;
		color: #009999;
		text-align: center;
		font-weight: bold;
		font-size: 23px;
		margin-top: 10px;
		padding-left: 100px;
		padding-right: 10px;
	}

	.anno-profile .personSurname {
		padding-left: 100px;
		padding-right: 10px;
		text-align: center;
		font-size: 17px;
	}

	.anno-profile .personDate {
		color: #757575;
		font-size: 17px;
		text-align: center;
		padding-left: 100px;
		padding-right: 10px;
		padding-bottom: 10px;
	}

	.anno-profile .flexIcons {
		display: flex;
		justify-content: start;
		position: absolute;
		padding-left: 20px;
		bottom: 0;
		z-index: 2;
	}


.marriageSurname {
	font-weight: 400;
	font-size: 20px;
}

/*Zoom photo*/
.overlay {
	background-color: rgba(0, 0, 0, 0.8);
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	z-index: 999;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
}

.zoomedImg {
	max-width: 100vw;
	width: 100vw;
	max-height: 100vh;
	object-fit: contain;
}

#closeIcon {
	position: fixed;
	top: 0px;
	right: 10px;
	font-size: 40px;
	color: white;
	cursor: pointer;
	z-index: 99999;
	display: none;
}

#annoIcon {
	position: fixed;
	top: 50px;
	right: 10px;
	font-size: 38px;
	color: white;
	cursor: pointer;
	z-index: 99999;
	display: none;
}

.profile-card-image {
	position: relative;
	display: inline-block;
}

.profile-image {
	display: block;
}

.delete-icon {
	position: absolute;
	left: 80px;
	opacity: 0;
	background: transparent;
	border: none;
	font-size: 14px;
	cursor: pointer;
	color: #757575;
	transition: opacity 0.3s ease;
	outline: none;
}

	.delete-icon:hover {
		opacity: 1;
	}

@media (min-width: 768px) {
	html {
		font-size: 16px;
	}
}

@media (max-width: 450px) {
	.h-custom {
		height: 100%;
	}
}

@media (max-width: 768px) {
	.input-container-outside {
		flex-direction: column;
		align-items: flex-start;
		margin-top: -20px;
		padding-left: 5px;
	}

	.input-container {
		border: 1px solid #ccc;
		border-radius: 4px;
		padding: 4px 4px;
		cursor: pointer;
		width: 100%;
	}

		.input-container .label {
			font-size: 13px;
			letter-spacing: .4px;
			color: #595959;
			display: inline;
			position: relative;
			background-color: #fff;
			padding: 2px 4px;
			border: none;
			top: 0px;
			left: 15px;
		}

		.input-container input {
			text-align: right;
			font-size: 17px;
		}

	.swap-symbol {
		font-size: 14px;
		position: absolute;
		margin-left: -12px
	}

	.modal-dialog {
		max-width: 100%;
	}

	.profileIcon {
		margin-right: 15px;
	}


	.nav-tabs {
		display: flex;
		justify-content: center;
		align-items: center;
	}

		.nav-tabs .nav-item {
			margin-right: 0px;
			margin: 5px;
		}
}

@media screen and (max-width: 768px) {
	.tree-container {
		margin-top: 20px;
	}
}

.btn-outline-primary {
	color: #009999;
	border-color: #009999;
}

	.btn-outline-primary:hover {
		color: #fff;
		background-color: #009999;
		border-color: #009999;
	}

	.btn-check:focus + .btn-outline-primary, .btn-outline-primary:focus {
		box-shadow: 0 0 0 0.25rem #0cadad;
	}

	.btn-check:checked + .btn-outline-primary, .btn-check:active + .btn-outline-primary, .btn-outline-primary:active, .btn-outline-primary.active, .btn-outline-primary.dropdown-toggle.show {
		color: #fff;
		background-color: #009999;
		border-color: #009999;
	}

		.btn-check:checked + .btn-outline-primary:focus, .btn-check:active + .btn-outline-primary:focus, .btn-outline-primary:active:focus, .btn-outline-primary.active:focus, .btn-outline-primary.dropdown-toggle.show:focus {
			box-shadow: 0 0 0 0.25rem #0cadad;
		}

	.btn-outline-primary:disabled, .btn-outline-primary.disabled {
		color: #009999;
		background-color: transparent;
	}

.person-card {
	border-radius: 20px;
	transition: background-color 0.2s ease;
	background-color: #f8f9fa;
	text-align: center;
}

	.person-card:hover {
		background-color: #ffffff;
	}

.person-link {
	text-decoration: none;
	color: inherit;
}

.person-data {
	min-width: 200px;
}

.profile-image-large img {
	width: 125px;
	height: 125px;
	border-radius: 100%;
	object-fit: cover;
}

.profile-image-small img {
	width: 100px;
	height: 100px;
	border-radius: 100%;
	object-fit: cover;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
	outline: none;
}


.nav-tabs .nav-item .nav-link {
	background-color: #009999;
	color: white;
}

	.nav-tabs .nav-item .nav-link.active {
		background-color: white;
		color: #009999;
		font-weight: 600;
	}

.event-info {
	background-color: #f8f9fa;
	color: #757575;
	padding: 10px;
	border-radius: 5px;
	display: flex;
	align-items: center;
}

.event-type {
	text-align: left;
	padding-left: 10rem;
}

.event-date {
	text-align: left;
	padding-left: 5rem;
}

	.event-date span {
		font-size: 1.2em;
		font-weight: bold;
		color: #495057;
		font-style: normal;
	}

.event-place {
	text-align: left;
	padding-right: 4rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

	.event-place i {
		display: flex;
		align-items: center;
	}

	.event-place span {
		font-size: 1em;
		font-style: italic;
		color: #6c757d;
		display: inline-block;
		white-space: pre-line;
		max-width: 100%;
	}

.navbar-photo {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

	.navbar-photo a {
		display: flex;
		align-items: center;
		gap: 4px;
	}

.r6o-btn {
	background-color: #009999;
	border: 1px solid #009999;
}

	.r6o-btn:hover {
		background-color: #4e8f8f;
	}

	.r6o-btn.outline {
		background-color: #009999;
		border: 1px solid #009999;
		color: white;
	}

		.r6o-btn.outline:hover {
			background-color: #4e8f8f;
		}


/*	Lista osób wyszukiwarki */
.ui-state-active,
.ui-widget-content .ui-state-active,
.ui-widget-header .ui-state-active,
a.ui-button:active,
.ui-button:active,
.ui-button.ui-state-active:hover {
	background-color: #009999 !important;
	border: 1px solid #008080 !important;
}

@media (max-width: 768px) {
	.navbar-photo a span {
		display: none;
	}

	.navbar-photo {
		flex-direction: row;
	}

		.navbar-photo i {
			font-size: 1.5rem;
		}

	.event-type,
	.event-date,
	.event-place {
		text-align: center;
		padding: 0;
		margin: 5px 0;
	}

	.event-place {
		display: flex;
		align-items: center;
		justify-content: center;
		gap: 0.5rem;
		flex-wrap: wrap;
	}
}


.tooltip-inner {
	background-color: #009999 !important;
}