
/* Copyright 2017-2021 Sean Williams
    This file is part of Modern Footnotes.

    This program is free software; you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation; either version 2 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 General Public License along
    with this program; if not, write to the Free Software Foundation, Inc.,
    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
.modern-footnotes-footnote {
	padding-left: 2px;
	padding-right: 2px;
	line-height: initial;
}

.modern-footnotes-footnote--selected {
	background: #eee;
	border-radius: 2px;
}

.modern-footnotes-footnote__connector {
	background: #000;
	position: absolute;
	width: .9px;
}

.modern-footnotes-footnote a {
	text-decoration: none;
}

.modern-footnotes-footnote__note {
	display: none;
	font-size: 80%;
	color: #777;
}

.modern-footnotes-footnote__note a {
	display: inline-block;
	max-width: 100%;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	vertical-align: bottom;
}

.modern-footnotes-footnote__note--tooltip {
	position: absolute;
	left: 0;
	border: 1px solid #666;
	background: #fff;
	padding: .7em 1em;
	border-radius: 3px;
	max-width: 300px;
	box-shadow: 1px 1px 1px #eee;
	box-sizing: border-box;
	z-index: 1;
}

.modern-footnotes-footnote__note--tooltip:focus {
	outline: 0;
}

.modern-footnotes-footnote__note--expandable {
	display: block;
	margin-top: 1em;
	margin-bottom: 1em;
}

.modern-footnotes-list {
	list-style-type: none;
	font-size: .8em;
	margin: 1em 0;
	padding-left: 0;
}

.modern-footnotes-list li {
	display: flex;
	margin-bottom: .3em;
}

.modern-footnotes-list li>span {
	margin-right: 1.5em;
	color: #777;
	word-wrap: normal;
	word-break: normal;
}

.modern-footnotes-list--show-only-for-print, .modern-footnotes-list-heading--show-only-for-print {
	display: none;
}

@media print {
	.modern-footnotes-list--show-only-for-print, .modern-footnotes-list-heading--show-only-for-print {
		display: block;
	}
	
	.modern-footnotes-list--hide-for-print, .modern-footnotes-list-heading--hide-for-print {
		display: none;
	}
}
