/** plugin: Quick Link Icons #1.5 code **/
.subsection a[href*="/characters"] i:before { content: "\f007"; }
.subsection a[href*="/locations"] i:before { content: "\EAD2"; font-family: RPGAwesome; font-weight: 400; }
.subsection a[href*="/races"] i:before { content: "\EAEB"; font-family: RPGAwesome; font-weight: 400; }
.subsection a[href*="/families"] i:before { content: "\E99E"; font-family: RPGAwesome; font-weight: 400; }
.subsection a[href*="/items"] i:before { content: "\E9DF"; font-family: RPGAwesome; font-weight: 400; }
.subsection a[href*="/notes"] i:before { content: "\f518"; }
.subsection a[href*="/maps"] i:before { content: "\f279"; }
.subsection a[href*="/calendars"] i:before { content: "\f073"; }
.subsection a[href*="/events"] i:before { content: "\f0e7"; }
.subsection a[href*="/journals"] i:before { content: "\EA8F"; font-family: RPGAwesome; font-weight: 400; }
.subsection a[href*="/organisations"] i:before { content: "\EA03"; font-family: RPGAwesome; font-weight: 400; }
.subsection a[href*="/quests"] i:before { content: "\EAE9"; font-family: RPGAwesome; font-weight: 400; }
.subsection a[href*="/tags"] i:before { content: "\f02c"; }
.subsection a[href*="/abilities"] i:before { content: "\E9C2"; font-family: RPGAwesome; font-weight: 400; }
.subsection a[href*="/timelines"] i:before { content: "\f252"; }
.subsection a[href*="?dashboard="] i:before { content: "\f009"; }

/** plugin: Dashboard Banners #1.1 code **/
/* dashboard */
.widget-map .panel-body { height: 350px; }
.panel-heading-entity .panel-title { line-height: 0.1; }
.panel-heading-entity { height: 175px; }
#campaign-dashboard .campaign { display: none; }
#campaign-dashboard .campaign + .row:before { content: "World Map"; }
#campaign-dashboard .campaign + .row:after { content: "Characters"; }
#campaign-dashboard .campaign + .row:after, #campaign-dashboard .campaign + .row:before {
    font-size: xx-large;
    position: relative;
    text-align: center;
    margin-left: 50%;
    transform: translateX(-50%);
    display: inline-block;
    margin-bottom: 20px;
    width: 95%;
    padding-top: 10px;
    padding-bottom: 10px;
    background-image: linear-gradient(to right, rgba(0,0,0,0), rgb(30, 30, 30), rgba(0,0,0,0));
}

.panel-title .ra,
.panel-title .fa,
.panel-title .fab,
.panel-title .fad,
.panel-title .fal,
.panel-title .far,
.panel-title .fas {
    line-height: 0.1;
}

/** plugin: Vertical Timelines #1.2 code **/
/* BEGIN Salvatos Vertical Timeline */
@media (min-width:768px) {
	/* Set vars */
	.timeline {
		--svtlinecolor: white;
		--svtbgc: grey;
		--svtcollapse: block;
		--svtcollapsehint: none;
		--svtmarkerheight: calc(50% - 15px);
	}
	/* Hide unnecessary elements */
	.timeline-footer,
	.timeline > li::after,
	.timeline > li::before {
		display: none;
	}
	.timeline-body {
		display: var(--svtcollapse);
	}
	/* Display descriptions on hover if collapsed */
	.timeline-item:hover .timeline-body {
		display: block;
	}
	/* Add hint text to expand description */
	.timeline-item:not(:hover):after {
		display: var(--svtcollapsehint);
		content: "Hover for details...";
		width: 100%;
		text-align: center;
		font-style: italic;
	}
	html[lang="fr"] .timeline-item:not(:hover):after {
		content: "Survoler pour afficher les détails...";
	}
	/* Set line color */
	.timeline::before {
		left: calc(50% - 3px);
		width: 6px;
		background-color: var(--svtlinecolor);
	}
	/* Position events */
	.timeline > li {
		left: 44%;
		margin: 0 0 15px 0;
		width: 50%;
	}
	.timeline > li:nth-child(2n+1) {
		left: 0;
		padding-right: 25px;
	}
	.timeline > li:nth-child(2n) {
		left: 50%;
		padding-left: 25px;
	}
	/* Position markers */
	.timeline > li > .ra,
	.timeline > li > .fa,
	.timeline > li > .fas {
		position: absolute;
		top: var(--svtmarkerheight);
		background-color: var(--svtbgc);
		color: white;
	}
	.timeline > li:nth-child(2n) > .ra,
	.timeline > li:nth-child(2n) > .fa,
	.timeline > li:nth-child(2n) > .fas {
		left: calc(0% - 15px);
	}
	.timeline > li:nth-child(2n+1) > .ra,
	.timeline > li:nth-child(2n+1) > .fa,
	.timeline > li:nth-child(2n+1) > .fas {
		left: calc(100% - 15px);
	}
	/* Reshape event blocks */
	.timeline > li > .timeline-item {
		margin: 0;
	}
	/* Set date markers */
	.bg-aqua + .timeline-item > .timeline-header > .text-muted {--svtbgc:#00c0ef;}
	.bg-black + .timeline-item > .timeline-header > .text-muted {--svtbgc:#111;}
	.bg-brown + .timeline-item > .timeline-header > .text-muted {--svtbgc: #a35831;}
	.bg-green + .timeline-item > .timeline-header > .text-muted {--svtbgc:#00a65a;}
	.bg-gray + .timeline-item > .timeline-header > .text-muted {--svtbgc:#d2d6de;}
	.bg-light-blue + .timeline-item > .timeline-header > .text-muted {--svtbgc:#3c8dbc;}
	.bg-maroon + .timeline-item > .timeline-header > .text-muted {--svtbgc:#d81b60;}
	.bg-navy + .timeline-item > .timeline-header > .text-muted {--svtbgc:#001f3f;}
	.bg-orange + .timeline-item > .timeline-header > .text-muted {--svtbgc:#ff851b;}
	.bg-pink + .timeline-item > .timeline-header > .text-muted {--svtbgc:#ebbde9;}
	.bg-purple + .timeline-item > .timeline-header > .text-muted {--svtbgc:#605ca8;}
	.bg-red + .timeline-item > .timeline-header > .text-muted {--svtbgc:#dd4b39;}
	.bg-teal + .timeline-item > .timeline-header > .text-muted {--svtbgc:#39cccc;}
	.bg-yellow + .timeline-item > .timeline-header > .text-muted {--svtbgc:#f39c12;}
	.timeline > li .text-muted {
		position: absolute;
		top: var(--svtmarkerheight);
		width: max-content;
		padding: 5px 8px;
		border: 1px solid var(--svtbgc);
		border-radius: 3px;
		box-shadow: 0 1px 1px rgba(0,0,0,.1);
		background-color: var(--svtbgc);
		color: white;
	}
	.timeline > li:nth-child(2n) .text-muted {
		right: calc(100% + 70px);
	}
	.timeline > li:nth-child(2n+1) .text-muted {
		left: calc(100% + 70px);
	}
	/* Fancy arrowheads */
	.timeline > li:nth-child(2n) .text-muted:after,
	.timeline > li:nth-child(2n+1) .text-muted:before {
		content: "";
		display: var(--svtarrow);
		position: absolute;
		top: -1px;
	}
	.timeline > li:nth-child(2n) .text-muted:after {
		right: -24px;
		border-top: 15px solid transparent;
		border-bottom: 15px solid transparent;
		border-right: none;
		border-left: 25px solid var(--svtbgc);
		border-radius: 50%;
	}
	.timeline > li:nth-child(2n+1) .text-muted:before {
		left: -24px;
		border-top: 15px solid transparent;
		border-bottom: 15px solid transparent;
		border-left: none;
		border-right: 25px solid var(--svtbgc);
		border-radius: 50%;
	}
}
/* END Salvatos Vertical Timeline */

