/**
 * All of the CSS for your public-facing functionality should be
 * included in this file.
 */

 /* standard & title modes */
 .tltpy_mode_standard.tooltipy-kw,
 .tltpy_mode_title.tooltipy-kw
 {
	font-weight: 500;
	border-bottom: currentcolor 1px dashed;
 }

 /* icon mode */
.tltpy_mode_icon.tooltipy-kw{
	display: inline-block;
	position: relative;
	top: 8px;
}

.tltpy_mode_icon .dashicons{
	width: 1em;
    height: 1em;
    position: relative;
}

/* Tooltipy popup template */
.tooltipy-pop {
	text-align: left;
}
.tooltipy-pop .tooltipy-synonyms h2{
	font-size: 1rem;
}
.tooltipy-synonyms ul {
	list-style: none;
	margin: 0;
}
.tooltipy-synonyms li {
	display: inline-block;
}
.tooltipy-synonyms li:not(:last-child):after {
	content: ",";
}
/* footnote mode */
.tltpy-footnote{
	padding: 2px 10px;
}
.tltpy-footnote:target {
	background: #e5f7ff;
	color: black;
	outline: none;
}

/* Glossary page */
.tltpy-glossary-header-list li {
	display: inline-block;
}

.tltpy-glossary-header-letter{
	margin: auto 2px;
	padding: 10px;
	background-color: #eee;
}

.tltpy-glossary-header-letter--active,
.tltpy-glossary-header-letter--active:hover{
	background-color: black;
    color: white;
    font-weight: bold;
}

.tippy-tooltip a{
	color: #b9b8ff;
}
.tippy-tooltip a:hover{
	color: white;
}

.tooltipy-pop__thumbnail{
	text-align: center;
}

.tooltipy-loading{
	position: absolute;
    top: 89px;
    left: 50%;
    width: 200px;
    text-align: center;
    background: #eeeeee7a;
    padding: 2rem;
}

/* if mobile view needs to be considered
[data-tippy-root] {
    position: fixed !important;
    inset: auto !important;
    bottom: 55px !important;
    width: 95vw;
    max-height: 44vh !important;
    transform: none !important;
}

.tooltipy-pop{
    width: 100%;
    max-width: 100% !important;
    max-height: 100%;
    overflow-y: auto;
}
*/