html, body {
	margin: 0;
	height: 100%;
	background-color: #e8eaed;
	color: #e8eaed;
}

body {
	background: linear-gradient(#dedede 0%, #e8eaed 100%);
}

.canvas-element {
	position: absolute;
	/* width and height are dynamically calculated */
}

.nav-bar {
	width: 100%;
	height: 8em;
	position: relative;
	color: black;
}

.nav-bar-text-wrapper {
	font-weight: bold;
	padding: 1em;
	font-size: xx-large;
}

.nav-bar-logo {
	width: 1.5em;
	height: 1.5em;
	margin-right: 1em;
}

.nav-bar-deep {
	font-family: 'Libre Franklin', sans-serif;
}

.nav-bar-cite {
	font-style: italic;
}

.nav-button-wrapper {
	float: right;
	margin-right: 2em;
}

.button-donate {
	border-radius: 5px;
	background-color: #1a73e8;
	color: white;
	padding: 0.5em 1em;
	font-size: large;
	cursor: pointer;
}

.vote-button {
	border-radius: 5px;
	background-color: #1a73e8;
	color: white;
	padding: 0.5em 1em;
	font-size: large;
	cursor: pointer;
}

.link-button {
	border-radius: 5px;
	background-color: #1a73e8;
	color: white;
	padding: 0.5em 1em;
	font-size: large;
	cursor: pointer;
}

.content {
	width: 100%;
	margin: auto;
	border-radius: 18em;
}

.generated-claim-box {
	width: 100%;
	justify-content: center;
}

.generated-claim-circle {
	width: 24em;
	height: 24em;
	margin: 1em auto 2em auto;
	position: relative;
	border-radius: 15em;
	padding: 1.5em;
	border-color: #7b7b7b;
	border-style: solid;
	border-width: 2px;
}

.generated-claim {
	height: 100%;
	background-color: #ab4d20;
	color: white;
	border-radius: 15em;
	padding-top: 2.5em;
	width: 100%;
}

.claim-content {
	width: 100%;
	height: 100%;
	padding: 0 3em;
}

.generated-cite-box {
	/* width is dynamically calculated */
	justify-content: center;
	display: inherit;
	margin: 5em 1em;
	height: fit-content;
}

.generated-cite {
	background-color: #151515;
	width: 25em;
	margin: 4em 0;
	border-radius: 2.5em;
}

.section-title {
	width: 100%;
	text-align: center;
	font-size: large;
	font-family: 'Merriweather', serif;
	padding-bottom: 0.4em;
}

.section-content {
	overflow: hidden;
	text-overflow: ellipsis;
	display: block;
}

.section-content.title {
	width: 100%;
	text-align: left;
	font-size: x-large;
	font-family: 'Merriweather', serif;
	padding-bottom: 0.4em;
}

.section-content.score {
	font-size: 17px;
	text-align: center;
	margin: calc(-1em - 3px) 0 0 calc(1em + 3px);
	width: 2.2em;
	height: 2.2em;
	padding-top: 0.3em;
	border-radius: 2em;
	border-color: #7b7b7b;
	border-width: 2px;
	border-style: solid;
}

/* do not display score for original claim */
.section-content.score.hide {
	display: none;
}

.section-content.source.claim {
	height: calc(100% - 7.5em);
}

.section-content.source {
	font-family: 'Libre Franklin', sans-serif;
	height: calc(100% - 1.5em - 1.5em);
	overflow-y: scroll;
}

.section-content.link {
	white-space: nowrap;
	color: #5ec9f6;
}

.tree-container {
	width: 100%;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

.section-content.vote-wrapper {
	width: 100%;
	display: flex;
	overflow: visible;
	position: relative;
    top: .5em;
}

.vote-button {
	cursor: pointer;
	text-align: center;
	width: auto;
	height: 2em;
	padding: 0.3em 0.3em;
	position: relative;
	left: calc(-.8em);
	top: -.3em;
}

.vote-button.btn-disabled {
    pointer-events: none;
}

.vote-button-image {
	width: 1.5em;
	height: 1.5em;
}

.link-button {
	cursor: pointer;
	text-align: center;
	width: 2.5em;
	height: 1.5em;
	padding: 0.3em 0;
	position: relative;
	margin-left: auto;
	transform: scale(-1, 1);
	right: calc(-1em - 3px);
}

.link-button-image {
	width: 1.5em;
	height: 1.5em;
}

.cite-content {
	width: 23em;
	height: 18em;
	border-color: #7b7b7b;
	margin: auto;
	border-style: solid;
	border-width: 2px;
	border-radius: 10px;
}

.top-left-box {
	width: 2.5em;
	height: 2.5em;
	position: relative;
	z-index: 1;
	margin-left: auto;
}

.cite-middle-box {
	height: calc(100% - 2.5em);
	width: calc(100% - 2.5em);
	margin-top: 2px;
	margin-left: 1.25em;
	position: relative;
}

.cite-middle-box-content {
	width: 100%;
	height: 100%;
	padding: 0.8em;
	color: white;
	background-color: #09586b;
}
