@import url('https://fonts.googleapis.com/css?family=IBM+Plex+Sans');

:root {
	--bs-body-font-family: Arial, sans-serif;
	--bs-body-bg: #fdfdfd;
	--bs-body-bg-rgb: 253, 253, 253;
	--bs-primary: #6a8e59;
	--bs-primary-rgb: 106, 142, 89;
	--bs-success: #7eb564;
	--bs-success-rgb: 126, 181, 100;
	--bs-link-color: #6a8e59;
	--bs-link-color-rgb: 106, 142, 89;
	--bs-link-hover-color: #577b45;
	--bs-link-hover-color-rgb: 87, 123, 69;
}

.bg-outer {
	background: #f9f9f9 url('/images/primary/hastings_pier.jpg') center / cover no-repeat;
}

a:hover,
a:focus {
	text-decoration: none;
}

.free-search-submit {
	--bs-btn-color: #303030;
	--bs-btn-bg: #ddd;
	--bs-btn-border-color: #ddd;
	--bs-btn-hover-color: #303030;
	--bs-btn-hover-bg: #b5bde0;
	--bs-btn-hover-border-color: #b5bde0;
}

.main-link-list {
	--bs-border-color: #fff;
	transition: border-color 0.1s;
}

.main-link-list:hover {
	--bs-border-color: #aaa;
}

.sub-link-list {
	--bs-border-color: #fff;
	transition: border-color 0.1s;
}

.sub-link-list:hover {
	--bs-border-color: #505050;
}

.input-tree-shape {
	width: 565px;
	height: 200px;
}

.family-search input {
	width: auto;
}

.input-tree-shape #indi_fn {
	position: relative;
	top: 102px;
	left: -45px;
	width: 300px;
}

.input-tree-shape #dad_fn {
	position: relative;
	top: 6px;
	left: 272px;
	width: 320px;
}

.input-tree-shape #mum_fn {
	position: relative;
	top: 93px;
	left: 272px;
	width: 320px;
}

.ver-line-tree {
	position: relative;
	top: -27px;
	left: 460px;
	width: 2px;
	height: 83px;
	background-color: #202020;
}

.hor-line-tree {
	position: relative;
	top: -69px;
	left: 254px;
	width: 207px;
	height: 2px;
	background-color: #202020;
}

.tree-submit {
	--bs-btn-color: #303030;
	--bs-btn-bg: #ddd;
	--bs-btn-border-color: #ddd;
	--bs-btn-hover-color: #303030;
	--bs-btn-hover-bg: #aebc72;
	--bs-btn-hover-border-color: #aebc72;
	min-width: 100px;
	max-width: 300px;
}

.text-btn-song {
	--bs-btn-font-size: 1.1rem;
	--bs-btn-color: #337abe;
	--bs-btn-hover-color: #3e93e4;
	--bs-btn-active-color: #337abe;
	--bs-btn-border-color: transparent;
	--bs-btn-hover-border-color: transparent;
	--bs-btn-active-border-color: transparent;
}

@media (max-width: 767px) {

	.family-search .input-tree-shape #indi_fn,
	.family-search .input-tree-shape #mum_fn,
	.family-search .input-tree-shape #dad_fn {
		position: static;
		width: auto;
	}

	.family-search input {
		width: 75%;
		min-width: 100px;
		max-width: 450px;
	}

	.input-tree-shape div {
		width: 75%;
		min-width: 100px;
	}

	form .input-tree-shape {
		width: auto;
		height: auto;
		margin-right: 0 !important;
		margin-left: 0 !important;
	}

	.family-search label {
		width: 62px;
	}
}



:root {
	--site-nav-background: var(--bs-success);
	--site-nav-hover-background: var(--bs-primary);
}

h1,
h2,
h3,
h4,
h5,
h6,
.site-title {
	font-family: 'IBM Plex Sans', Arial, sans-serif;
}

#site-navbar .nav-item {
	height: 50px;
	border-bottom: 3px solid var(--site-nav-background);
}

#site-navbar .nav-link:hover,
#site-navbar .nav-link:focus {
	background-color: var(--site-nav-hover-background) !important;
}

@media (max-width: 767.98px) {
	#site-navbar {
		position: relative;
	}

	#site-navbar .navbar-collapse {
		position: absolute;
		top: 100%;
		left: 0;
	}

	#site-navbar .navbar-nav {
		border-bottom: 2px solid var(--site-nav-hover-background);
	}

	#site-navbar .nav-item {
		height: 40px;
		border: 0;
	}

	#site-navbar .navbar-collapse.collapsing {
		border-bottom: 2px solid var(--site-nav-hover-background);
	}
}

@media (max-width: 450px) {
	.site-title {
		font-size: .8em;
		margin-left: 10px;
	}
}
