/** plugin: Calligraphic Headings V2 #1.0 fonts **/
@import url('https://fonts.googleapis.com/css2?family=Eagle+Lake&display=swap');

/** plugin: Calligraphic Headings V2 #1.0 code **/
.entity-actions h1 {
margin: 0;
padding: 1px 0px 4px 4px;
font-size: 1.8em;
letter-spacing: 0.40px;
display: inline-block;
text-align: center;
font-weight: 400;
font-family: 'Eagle Lake', cursive, 'Palatino Linotype', fantasy, 'Book Antiqua', Palatino, serif; }


h1, h2, h3, h4, h1 a, h2 a, h3 a, h4 a, #campaign-dashboard body a, #campaign-dashboard a { font-family: 'Eagle Lake'; }

/** plugin: Calendar: Inverted Full Moon Icons #2 code **/
/* new moon hollow */
.kanka-entity-calendar .calendar .moon.fa-solid.fa-circle::before { font-weight: 400; }
/* full moon filled */
.kanka-entity-calendar .calendar .moon.far.fa-circle::before { font-weight: 900; }

/** plugin: Desaturate dead characters #1.1 code **/
:root {
 --dead-grey-value: 1;
}

.character-dead .entity-image {
 filter: grayscale(var(--dead-grey-value));
}

.panel-heading-entity:has(.ra-skull) {
    filter: grayscale(var(--dead-grey-value));
}

[data-defunct="true"] .avatar , [data-dead="true"] .avatar  {
  filter: grayscale(var(--dead-grey-value)); 
}

[data-dead="true"] .avatar::after {
content: "💀";
    pointer-events: none;
    width: 24px;
    position: absolute;
    right: .375rem;
    top: .375rem;
}

.entity-header:has(.entity-char-dead) img {
    filter: grayscale(var(--dead-grey-value));
}

.character-dead img {
	filter: grayscale(var(--dead-grey-value));
}

/** plugin: Rainbow Sidebar #1.1 code **/
:root {
  --ctp-rosewater: #F4DBD6;
  --ctp-flamingo: #F0C6C6;
  --ctp-pink: #F5BDE6;
  --ctp-mauve: #C6A0F0;
  --ctp-red: #ED8796;
  --ctp-maroon: #EE99A0;
  --ctp-peach: #F5A97F;
  --ctp-yellow: #EED49F;
  --ctp-green: #A6DA95;
  --ctp-teal: #8BD5CA;
  --ctp-sky: #91D7E3;
  --ctp-sapphire: #7DC4E4;
  --ctp-blue: #8AADF4;
  --ctp-lavender: #B7BDF8;
}
.sidebar-menu li:nth-child(11n+1) { --sidebar-text: var(--ctp-red); }
.sidebar-menu li:nth-child(11n+2) { --sidebar-text: var(--ctp-maroon); }
.sidebar-menu li:nth-child(11n+3) { --sidebar-text: var(--ctp-peach); }
.sidebar-menu li:nth-child(11n+4) { --sidebar-text: var(--ctp-yellow); }
.sidebar-menu li:nth-child(11n+5) { --sidebar-text: var(--ctp-green); }
.sidebar-menu li:nth-child(11n+6) { --sidebar-text: var(--ctp-teal); }
.sidebar-menu li:nth-child(11n+7) { --sidebar-text: var(--ctp-sky); }
.sidebar-menu li:nth-child(11n+8) { --sidebar-text: var(--ctp-sapphire); }
.sidebar-menu li:nth-child(11n+9) { --sidebar-text: var(--ctp-blue); }
.sidebar-menu li:nth-child(11n+10) { --sidebar-text: var(--ctp-lavender); }
.sidebar-menu li:nth-child(11n+11) { --sidebar-text: var(--ctp-mauve); }

.main-sidebar .sidebar-menu li.sidebar-quick-links > a,
.main-sidebar .sidebar-menu li.section-campaigns > a,
.main-sidebar .sidebar-menu li.section-campaign > a,
.main-sidebar .sidebar-menu li.section-other > a,
.main-sidebar .sidebar-menu li.section-other > span {
  --tw-text-opacity: 1;
  color: var(--sidebar-text, hsl(var(--sic)/var(--tw-text-opacity))) !important;
}

/** plugin: Mention Type Indicators #2.0 code **/
/* BEGIN Mention Type Indicators by Salvatos */
.entity-mention::after {
	font-size: var(--mention-icon-size, 12px);
}
.entity-mention[data-entity-type="character"]::after {
	content: " \f007";
	font-family: "Font Awesome 6 Pro";
	font-weight: 900;
}
.entity-mention[data-entity-type="location"]::after {
	content: " \EAD2";
	font-family: RPGAwesome;
	font-weight: 400;
}
.entity-mention[data-entity-type="map"]::after {
	content: " \f279";
	font-family: "Font Awesome 6 Pro";
	font-weight: 900;
}
.entity-mention[data-entity-type="race"]::after {
	content: " \EAEB";
	font-family: RPGAwesome;
	font-weight: 400;
}
.entity-mention[data-entity-type="organisation"]::after {
	content: " \EA03";
	font-family: RPGAwesome;
	font-weight: 400;
}
.entity-mention[data-entity-type="family"]::after {
	content: " \E99E";
	font-family: RPGAwesome;
	font-weight: 400;
}
.entity-mention[data-entity-type="calendar"]::after {
	content: " \f073";
	font-family: "Font Awesome 6 Pro";
	font-weight: 900;
}
.entity-mention[data-entity-type="timeline"]::after {
	content: " \f252";
	font-family: "Font Awesome 6 Pro";
	font-weight: 900;
}
.entity-mention[data-entity-type="race"]::after {
	content: " \EAEB";
	font-family: RPGAwesome;
	font-weight: 400;
}
.entity-mention[data-entity-type="creature"]::after {
	content: " ";
	font-family: "RPGAwesome";
	font-weight: 400;
}
.entity-mention[data-entity-type="quest"]::after {
	content: " \EAE9";
	font-family: RPGAwesome;
	font-weight: 400;
}
.entity-mention[data-entity-type="journal"]::after {
	content: " \EA75";
	font-family: RPGAwesome;
	font-weight: 400;
}
.entity-mention[data-entity-type="item"]::after {
	content: " \E9DF";
	font-family: RPGAwesome;
	font-weight: 400;
}
.entity-mention[data-entity-type="event"]::after {
	content: " \f0e7";
	font-family: "Font Awesome 6 Pro";
	font-weight: 900;
}
.entity-mention[data-entity-type="ability"]::after {
	content: " \E9C2";
	font-family: RPGAwesome;
	font-weight: 400;
}
.entity-mention[data-entity-type="note"]::after {
	content: " \f518";
	font-family: "Font Awesome 6 Pro";
	font-weight: 900;
}
.entity-mention[data-entity-type="tag"]::after {
	content: " \f02c";
	font-family: "Font Awesome 6 Pro";
	font-weight: 900;
}
/* END Mention Type Indicators by Salvatos */

