body {
	font: 14px Arial, Helvetica, sans-serif;
	margin: 0;
	font-family: Arial, Helvetica, sans-serif;
	overflow: hidden;
	background-color: #333;
	user-select: none;
}

@media print {
	body {
		background: white !important;
	}
	.sidebar {
		overflow-y: auto;
		width: 300px;
		height: auto!important;
	}
	a {
		color: black!important;
		text-decoration: none;
		cursor: pointer;
	}
	.influences ul .links {
		border: 0!important;
	
	}
	article.influences section {
		border:1px solid;
	}
	.influences ul li {
		margin:0!important;
	}
	.influences ul {
		padding-bottom:10px!important;
	}
}
#scrollAmount {
	display: none;
}
a {
	color: #00b7ff;
	cursor: pointer;
}

main {
	margin-top: 60px;
	max-width: 1400px;
	margin: 0 auto;
}
dialog#wikiDialog:modal {
	min-width: 80vw;
	text-align: right;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 10px;
}

iframe#wikiIframe {
	display: block;
	width: 100%;
	min-height: 550px;
}

nav {
	padding: 10px;
	background: #ffeeff;
	position: sticky;
	top: 0;
	margin-bottom: 1em;
}
nav ul {
	display: flex;
	align-items: center;
	justify-content: center;
	list-style: none;
	gap: 10px;
}

nav ul li a {
	padding: 5px;
	font-size: 1.5em;
	background-color: #ffeeff;
}

#changer ul {
	list-style: none;
	gap: 5px;
	display: flex;
	flex-direction: column;
}

#changer ul span {
	margin-right: 10px;
}

#changer {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin-bottom: 10px;
}

form {
	display: flex;
	align-items: flex-start;
	gap: 5px;
}

form > span {
	margin: 0 10px 10px 0;
}

form span:nth-of-type(1) a {
	min-width: 300px;
	max-width: 300px;
	display: inline-block;
}
ul form span a {
	min-width: 50px !important;
}

input[name="itemYear"] {
	width: 51px;
}

input[name="influencedBy"] {
	width: 75px;
}
.sidebar, .tooltip {
	position: absolute;
	background-color: cornsilk;
	border: 1px solid #333;
	border-radius: 3px;
	padding: 10px;
}

.sidebar {
	background-color: #222;
	overflow-y: auto;
	width: 300px;
	height: calc(100vh - 115px)
}

article.influences > p {
    background: white;
    border-radius: 3px;
    padding: 5px 10px;
}

article.influences > p a {
    color: black;
}


.influences ul {
    list-style: none;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

article.influences section {
    margin-top: 10px;
	background: rgb(219, 219, 219);
    border-radius: 3px;
    padding: 5px 10px;
}

.influences ul .links {
    padding: 5px;
    border-radius: 3px;
    border: 1px solid #666;
	background-color: white;

}

.influences ul li {
    margin-bottom: 10px;
}

nav label {
	margin-right: 10px;
}