/**
 * Campaign Styles for campaign #52637
 */

/** Style Campaign style#198 */
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Mate+SC&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Eagle+Lake&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&display=smewap');
@import url('https://fonts.googleapis.com/css2?family=Splash&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Licorice&display=swap');

:root { --main-navbar-hover-background: #c7ccdf; --sidebar-background: #051723; --label-default-hover-background: #eee; }

/* Campaign name & update */
#app > aside { background-image: url(http://vfstudios.org/sw/what-lies-beneath-280x210-no-text.jpg)!important; }
section.sidebar-campaign .campaign-block .campaign-head .campaign-name { font-size: 0;margin: 0; }
section.sidebar-campaign .campaign-block:before {
    background-size: contain;
    background-image: url(https://raw.githubusercontent.com/scanime/kanka/main/css/wlb/what-lies-beneath-title-only.png);
    background-repeat: no-repeat;
    content: ' ';
    width:90%;
    height: 105px;
    display: block;
    top: 20px;
    left:10px;
    position: absolute;
}
section.sidebar-campaign .campaign-block .campaign-head .campaign-updated {
    margin-right: -0.5em;
    text-align: right;  
}
aside.main-sidebar:has( ~ .content-wrapper#campaign-dashboard) section.sidebar-campaign .campaign-block:before { content: ''; display: none; }
.main-sidebar .sidebar-menu li.active>a, .main-sidebar .sidebar-menu li.active.sidebar-section, .main-sidebar .sidebar-menu li a:hover {
   background: rgba(255,255,255,0.1);
}

/* Move entity header images and keep background cover */
.entity-grid>.entity-header.with-entity-banner { height: 290px; width:100%; background-repeat: no-repeat; background-size: cover;}
.ads-space ~ .entity-grid>.entity-header.with-entity-banner { margin-top: 0px!important; }

/* Fix multiple scrollbars? */
div#app { overflow: hidden; }

/* Make entity images bigger */
.entity-grid .entity-header .entity-header-image { flex-basis: 250px; }
@media (max-width: 767px) {
  .entity-grid .entity-header .entity-header-image { flex-basis: auto; }
  body:not(.kanka-entity-family):not(.kanka-entity-organisation) .entity-grid .entity-header .entity-header-image > a.cover-background > img { box-shadow: 0 0 5px black; border-radius: 5%; border: 1px solid #A28A39; }
  .entity-grid .entity-header .entity-header-text > .header-buttons { flex-wrap: nowrap; }
}

.entity-name-header { background-color: rgba( 255, 255, 255, 0% )!important; }
.entity-name-icons {text-shadow: rgb(0 0 0 / 50%) 0 1px 4px;}
.entity-tags a {text-shadow: none!important;}
div.with-entity-banner ol.entity-breadcrumb > li > a { color: white!important  ; }

/* Pagination */
nav > ul.pagination > li > span { font-size: 120%; font-family: 'Cinzel', serif; }

/* Background paper */
.content-wrapper { background-position: right top; }

/* Stroking header text */
.entity-grid>.entity-header.with-entity-banner .entity-name-header > h1.entity-name, .entity-grid>.entity-header.with-entity-banner .entity-icons { text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000!important; }
.entity-grid>.entity-header.with-entity-banner .entity-breadcrumb > li > a { text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000!important; }
.entity-grid>.entity-header.with-entity-banner .entity-name-header .entity-name-icons { text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000!important; }
.entity-grid>.entity-header.with-entity-banner .entity-header-text .entity-header-sub { text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000!important; }
.entity-grid>.entity-header.with-entity-banner .entity-header-text .entity-header-sub a.name { text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000!important; }
.entity-grid>.entity-header.with-entity-banner .entity-header .entity-breadcrumb li+li:before { text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000!important; }

/* Inline images in table beside text */
td.pic-on-left { padding: 5px; vertical-align: top!important; width:67%; }

/* Profile wider column */
.entity-grid { grid-template-columns: 200px minmax(auto,calc(100% - 500px)) 300px }
@media (max-width: 1196px)
{ .entity-grid { grid-template-columns: 200px minmax(auto,calc(100% - 400px)) 200px; } }

/* URL */
a:not(h1,h2,h3,h4) { font-size: 120%; font-family: 'Cinzel', serif; font-variant: small-caps; font-weight: 500; }
.main-sidebar .sidebar li a { font-family: Roboto,Source Sans Pro,Helvetica Neue,Helvetica,Arial,sans-serif; font-weight: normal; }

/* Journal indentation */
table#journals > tbody > tr[data-type="session"] > td:has( > a.name ) {padding-left: 20px; display: flex;flex-direction: row;align-items: flex-start;flex-wrap: nowrap;}
table#journals > tbody > tr[data-type="session"] >td:has( > a.name ):before {font-family: "Font Awesome 6 Pro";content: "\e3d6";padding-right: 0.5em;display: inline-block;color: var(--link-text);font-weight: 600;padding-top: 0.25em; font-size: 120%; }
table#journals > tbody > tr[data-type="session"] > td > a.name {  display: inline-block; }
/* li.subsection.section-journals { display: none; } */

/* Hide base abilities */
li.subsection.section-abilities { display: none; }

/* Inverted moon icons */
.kanka-entity-calendar .calendar .moon.fa-solid.fa-circle::before { font-weight: 400; } /* new moon hollow */
.kanka-entity-calendar .calendar .moon.far.fa-circle::before { font-weight: 900; } /* full moon filled */
.kanka-entity-calendar .calendar .moon.fa-solid.fa-circle-half-stroke.fa-flip-horizontal { transform: unset; } /* last quarter on the left */
.kanka-entity-calendar .calendar .moon.fa-solid.fa-circle-half-stroke { transform: scaleX(-1); } /* first quarter on the right */

/* Default header font */
div.content > div.title > h1 > a { font-family: 'Cinzel Decorative', cursive; }
div.campaign-name { font-family: 'Cinzel Decorative', cursive; }
#app > div > section.content > div.entity-actions > div > h1 {  font-family: 'Cinzel Decorative', cursive; font-size:30px; padding: 0; font-color: black; }
h1, h2, h3, h4, h4.marker-header > a, h3.panel-title > a { font-family: 'Cinzel Decorative', cursive; }
.entity-header .bottom .texts h1, .entity-header .bottom .texts h3 { text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, -1px 1px 0 #000, 1px -1px #000; }

/* Base colors */
.nav-tabs-custom, .nav-tabs-custom>.tab-content .box, .panel, .box-body, .nav-tabs-custom>.tab-content { background-color: #eee; }
.nav-tabs-custom>.nav-tabs { background-color: #ddd; }
.nav-tabs-custom>.nav-tabs>li.active:hover>a, .nav-tabs-custom>.nav-tabs>li.active>a { background-color: #eee; }
.content-wrapper { background-color: #9195A7; }
body { color: #3f4548; }
.list-group-item { background-color: #eee; border: 1px solid #3f4548; }
.nav>li>a:active, .nav>li>a:focus, .nav>li>a:hover { background: rgba(255,255,255,0.5); }
/**
.pinned-entity.preview { background-image: linear-gradient(transparent, rgb(238, 238, 238)); }
.panel .panel-body .preview:before { background: linear-gradient(transparent,#eee); background-image: linear-gradient(transparent, rgb(238, 238, 238)); }
**/

.panel-heading-entity { height: 300px; }
.panel .panel-heading-entity h3 { transition: background-color 1s; }
.panel .panel-heading-entity h3 {background-color: rgba(0,0,0,0); }
.panel .panel-heading-entity h3 {background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4), rgba(0,0,0,0));/* font-size: 150%; */}
.panel .panel-heading-entity h3:hover { background-color: rgba( 0,0,0,0.2);}
div.panel-heading.panel-heading-entity > h3 > a { font-size: 150%; }

/* Slightly taller header */
.entity-header.with-entity-header { height: 360px; }
.entity-header .bottom .texts h1 { padding-left: 15px; }


/* Breadcrumb */
.breadcrumb > li { display: inline-block; font-size: 120%; font-family: 'Cinzel Decorative'; font-variant: small-caps; font-weight: 500; }
.breadcrumb > li a { font-size: 100%; }

/* sidebar */
.skin-black .left-side, .skin-black .main-sidebar, .skin-black .wrapper { background-color: #051723; }
section.sidebar-campaign { background: linear-gradient(180deg,rgba(51,51,51,0),#051723); }
.main-sidebar .sidebar { background-color: #051723; }
.list-group-unbordered .list-group-item:first-child { border: unset; }

.sidebar-section-box .sidebar-elements .element { margin: unset; padding-top: 10px; }

/* Tenets */
.pinned-attribute[data-attribute="Tenets"] { }
.pinned-attribute[data-attribute="Tenets"] > p br { content: "A" !important; display: block !important; margin: .5em !important; border-bottom: 1px dashed rgba(0,0,0,0.5); }

/* Break in h3 */
h3.break { border-top: ridge 2px rgba(0,0,0,0.5); padding-top: 1em; }

/* Extra spacing on ol/ul */
p.next-list-spacing + ul li, p.next-list-spacing + ol li { padding-bottom: 0.5em; }

/* Mentions */
.note-editing-area .attribute, .note-editing-area .mention { background-color: #9195A7; color: #eee!important; }

/* Entry image */
.float-right { float: right; }
img.race { box-shadow: 0px 10px 5px -5px rgb(0 0 0 / 51%); border:5px double #A28A39; margin: 10px; max-width:50%; }
.align-top { vertical-align: top!important; }

/* Fix drop down highlighting */
ul.dropdown-menu.dropdown-menu-right > li > a:hover { text-shadow: none!important; }

/* Family crests have no border radius */
table#families tr[data-type*="noble"] > td:nth-of-type(2) > a.entity-image {border-radius: 0%;}

/* Fix for nested folder */
.table-nested tr:not([data-children="0"]) td:nth-child(1):after { font-family: 'Font Awesome 5 Free'; }

/* Hide images in calendar */
table.calendar div.label.calendar-event-block a.entity-image { display: none; }

/* Handwriting for notes */
p.handwritten { font-family: "Licorice"; font-size: 200%; line-height: 1.1em; }

/* Oversized images breaking boxes */
.box-body.entity-content { display: flow-root; }

/* Tag entity, move children to just below entry */
body.kanka-entity-tag .entity-story-block { display: grid; }
body.kanka-entity-tag .entity-story-block #tag-children { grid-row-start: 2; }

/* Adjust entity grids after longer text plugin */
.entities-grid div.entity > a.block.truncate.text-center { padding-bottom: 0.5rem; }
.entities-grid div.entity:not(.entity-stack) { padding-bottom: unset; }
.entities-grid .entity:not(.entity-stack) .truncate.h-12 { padding-bottom: 1rem; }
.entities-grid a.entity:not(.entity-stack):first-of-type { padding-bottom: 0; } /* For parent back */
.entities-grid a.entity:not(.entity-stack):first-of-type { background: var(--bg-parchment); box-shadow: 0 0 5px black; }
.entities-grid .entity:not(.entity-stack):first-of-type > .bg-box { 
    background: var(--half-fade); 
    text-overflow: unset;
    white-space: unset;
    height: auto;
    padding: 1rem 0.5rem;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: var(--entity-grid-max-lines, 4);
    overflow: hidden;  
}
.entities-grid a.entity:not(.entity-stack):first-of-type:hover { box-shadow: 2px 2px 7px black; }

/* Make filter warning more visible */
#main-content > section.content > div.mb-3.flex.flex-stretch.gap-2.items-center > form.datagrid-search + .text-muted { color: black; }

/* Font change for tooltips */
.tippy-content a.entity-name { font-family: 'Cinzel Decorative', cursive }

/* Org backgrounds */
body.kanka-organisations .entity[data-entity-type="organisation"] { background-image: url(https://kanka-user-assets.s3.eu-central-1.amazonaws.com/campaigns/52637/108e5d1c-cfaf-4d87-8a0e-ff98bf4ac870.jpg); background-size: 100% 100%; background-repeat: no-repeat; }
body.kanka-organisations .entity[data-entity-type="organisation"] > a.block.text-center { background-image: url(https://d3a4xjr8r2ldhu.cloudfront.net/campaigns/52637/bcd4e24f-a65a-4433-9233-5aa26fd44094.jpg); }

/* Make Summernote taller by default (without preventing a resize) */ /* Thanks Salvatos! */
.note-editable[style="height: 300px;"] {
    height: calc(75vh - 200px) !important;
}

/* Savage Worlds Basic Combat Status */
.combat-status-flex { display: grid; row-gap: 1rem; align-items: stretch; justify-content: start; grid-template-columns: 1fr 4fr; }
.combat-status-flex-desc { border-bottom: 1px solid #9195A7; }
.combat-status-flex-desc > strong { font-size: 115%; }
.combat-status-flex-icon { padding: 1rem; padding-top: 0; border-bottom: 1px solid #9195A7; }
.combat-status-flex-icon:nth-last-of-type(2), .combat-status-flex-desc:last-of-type { border-bottom: none; }
@media (max-width: 767px) {
    .combat-status-flex { grid-template-columns: 1fr 3fr; }
    .combat-status-flex-icon { padding: 0.25rem; padding-top: 0; }
}
/** Style Art Credits (new)#1261 */
article.art-credit-post > div.bg-box {background-image: var(--entity-header-image-url, var(--entity-image-url))!important;background-size: 200%;background-position: center;transition: 1s;width:100%;}
article.art-credit-post > div.bg-box > div.entity-content {background-color: rgba(255,255,255,0.45);transition: 1s;padding-top: 0em;padding-bottom: 0em;}
article.art-credit-post > div.bg-box:hover { background-size: 100%; }
article.art-credit-post > div.bg-box > div.entity-content:hover { background-color: rgba(255,255,255,0.65); }
article.art-credit-post > div.bg-box > div.entity-content > div.flex.p-4 { padding-top: 0; padding-bottom: 0; text-align: center; gap: 0; }
article.art-credit-post {justify-content: center;flex-flow: row-reverse nowrap;}
article.art-credit-post > .post-header > .element-toggle { display: none; }
article.art-credit-post > .post-header > div > span[id^='visibility-icon'] { display: none; }
article.art-credit-post .entity-note-body > p { margin-top: 0.75rem; }

/* old stuff below */
.art-credit-post :is(.box-header h3, .box-header .box-tools > i, .post-details, .post-footer-element) { display: none; }
.art-credit-post .box-header { padding: 0; }
.art-credit-post > div.box div.entity-note-body { text-align: center; }
.art-credit-post > div.box div.entity-note-body p { margin: 0; }
.art-credit-post > div.box {background-image: var(--entity-header-image-url, var(--entity-image-url));background-size: 200%;background-position: center; transition: 1s;}
.art-credit-post > div.box > div.box-body { background-color: rgba(255,255,255,0.45); transition: 1s; padding-top: 1.5em; padding-bottom: 1.5em; }
.art-credit-post > div.box:hover { background-size: 100%; }
.art-credit-post > div.box > div.box-body:hover { background-color: rgba(255,255,255,0.65); }
.art-credit-post .box-header .box-tools { position: absolute; top: 3px;	right: 0; }
.art-credit-post .box-header .box-tools > a { vertical-align: unset; padding: 8px 3px 0 0; }
.art-credit-post .entity-mention.mention-field-entry { display: none; }

body.kanka-entity-1379274 section.content > div.entity-grid > div.entity-story-block > div.entity-notes > div:last-of-type > div.box div.box-header { display: none; }
body.kanka-entity-1379274 section.content > div.entity-grid > div.entity-story-block > div.entity-notes > div:last-of-type > div.box div.entity-note-details { margin-bottom: 0; }
body.kanka-entity-1379274 section.content > div.entity-grid > div.entity-story-block > div.entity-notes > div:last-of-type > div.box div.entity-note-body { text-align: center; }
body.kanka-entity-1379274 section.content > div.entity-grid > div.entity-story-block > div.entity-notes > div:last-of-type > div.box div.entity-note-body p { margin: 0; }
body.kanka-entity-1379274 section.content > div.entity-grid > div.entity-story-block > div.entity-notes > div:last-of-type > div.box div.entity-note-footer { display: none; }
body.kanka-entity-1379274 section.content > div.entity-grid > div.entity-story-block > div.entity-notes > div:last-of-type > div.box {background-image: var(--entity-header-image-url, var(--entity-image-url));background-size: 200%;background-position: center; transition: 1s;}
body.kanka-entity-1379274 section.content > div.entity-grid > div.entity-story-block > div.entity-notes > div:last-of-type > div.box > div.box-body { background-color: rgba(255,255,255,0.45); transition: 1s; }
body.kanka-entity-1379274 section.content > div.entity-grid > div.entity-story-block > div.entity-notes > div:last-of-type > div.box:hover { background-size: 100%; }
body.kanka-entity-1379274 section.content > div.entity-grid > div.entity-story-block > div.entity-notes > div:last-of-type > div.box > div.box-body:hover { background-color: rgba(255,255,255,0.65); }
/** Style Specialized Icons#309 */
/* City Notes */
table#notes td > a.entity-image[title="Citizenship"], table#notes td > a.entity-image[title="Crime & Law"], 
table#notes td > a.entity-image[title="Getting Around the City"], table#notes td > a.entity-image[title="Sentran Neighborhoods"] { background-image: url('https://vfstudios.org/sw/city-icon.png')!important; }
table#notes td > a.entity-image[title="Religion"] { background-image:url('https://images.kanka.io/user/kc2l0xVfuwHdZxieNfyXhQ5k-eA=/40x40/src/organisations%2FD7hE0Yu0MuTLW5ewhFSN1lC0yW0XYoKe1yLoMTr2.png')!important; }

/* Character Creation */
table#notes > tbody > tr[data-type="game-mechanics"] > td a.entity-image, table#notes td > a.entity-image[title="Languages"] { background-image: url(https://www.vfstudios.org/sw/savage-dice.png)!important; }

/* Abilities */
table#abilities > tbody > tr[data-type="hindrance"] > td a.entity-image { background-image:url('https://kanka-user-assets.s3.eu-central-1.amazonaws.com/campaigns/52637/6e21c311-e738-4979-84de-0fe9d350e448.jpg')!important; }
table#abilities > tbody > tr[data-type="power"] > td a.entity-image { background-image:url('https://kanka-user-assets.s3.eu-central-1.amazonaws.com/campaigns/52637/4cac3c83-6921-47e7-af8d-e54f6bab8f43.jpg')!important; }
table#abilities > tbody > tr[data-type="edge"] > td a.entity-image { background-image:url('https://kanka-user-assets.s3.eu-central-1.amazonaws.com/campaigns/52637/3692b89d-cd99-4a47-86e8-197da0af1a17.jpg')!important; }

/* Medical */
table#notes > tbody > tr[data-type="medicinedrug"] > td a.entity-image { background-image: url(https://www.vfstudios.org/sw/icon-potion.png)!important; }

/* Locations */
table#locations > tbody > tr[data-type="realm"] > td a.entity-image { background-image: url(https://vfstudios.org/sw/realm.jpg)!important; }
table#locations > tbody > tr[data-type="region"] > td a.entity-image { background-image: url(https://kanka-user-assets.s3.eu-central-1.amazonaws.com/campaigns/52637/d3440fd6-ab0d-49f9-9020-ef8bd8083ed3.jpg)!important; }
table#locations > tbody > tr[data-type="body-of-water"] > td a.entity-image { background-image: url(https://kanka-user-assets.s3.eu-central-1.amazonaws.com/campaigns/52637/97f3409b-7774-428a-b6ad-19ff897d7396.png)!important; }
table#locations > tbody > tr[data-type*="city"] > td a.entity-image { background-image: url(https://vfstudios.org/sw/city-icon.png)!important; }
table#locations > tbody > tr[data-type*="town"] > td a.entity-image { background-image: url(https://vfstudios.org/sw/city-icon.png)!important; }
table#locations td > a.entity-image[title*=" District"] { background-image: url('https://vfstudios.org/sw/cities_c8.png')!important; background-size: unset; }
table#locations > tbody > tr[data-type="ward"] > td a.entity-image { background-image: url('https://vfstudios.org/sw/cities_c5.png')!important; background-size: unset; }
table#locations > tbody > tr[data-type="neighborhood"] > td a.entity-image { background-image: url('https://vfstudios.org/sw/cities_c3.png')!important; background-size: unset; }
table#locations > tbody > tr[data-type="place-of-interest"] > td a.entity-image { background-image: url(https://vfstudios.org/sw/place-interest.jpg)!important; }
a.entity-image[href="https://kanka.io/en-US/campaign/52637/locations/331638"] { background-image: url(https://www.vfstudios.org/sw/sentran-banner-icon.png)!important; }
table#section-children td > a.entity-image[title="Spirit World"] { background-image: url('https://images.kanka.io/user/WgoFJ-oE9pnk1yWeNVl9T5tzeR4=/src/campaign%2F52637%2FSSxdBGgPBmy4MKoNwF65WGrmXjY8U96tMA027BdB.jpg')!important; }

/* Races */
table#races td > a.entity-image[title="Automaton"] { background-image: url('https://kanka-user-assets.s3.eu-central-1.amazonaws.com/campaigns/52637/396bd873-7ed5-497e-a982-e376fd7a33a5.jpg')!important; }
table#races td > a.entity-image[title="Caithan"] { background-image: url('https://vfstudios.org/sw/head-caithan.jpg')!important; }
table#races td > a.entity-image[title="Dwarf"] { background-image: url('https://vfstudios.org/sw/head-dwarf.jpg')!important; }
table#races td > a.entity-image[title="Elf"] { background-image: url('https://vfstudios.org/sw/head-elf.jpg')!important; }
table#races td > a.entity-image[title="Half-Elf"] { background-image: url('https://vfstudios.org/sw/head-half-elf.jpg')!important; }
table#races td > a.entity-image[title="Gnome"] { background-image: url('https://kanka-user-assets.s3.eu-central-1.amazonaws.com/campaigns/52637/575444e2-a56b-4644-91a5-b8c84fd11d14.jpg')!important; }
table#races td > a.entity-image[title="Grippli"] { background-image: url('https://kanka-user-assets.s3.eu-central-1.amazonaws.com/campaigns/52637/aaafc808-2dff-40fa-bb3b-7fede679c7b1.jpg')!important; }
table#races td > a.entity-image[title="Human"] { background-image: url('https://vfstudios.org/sw/head-human.jpg')!important; }
table#races td > a.entity-image[title="Nezumi"] { background-image: url('https://vfstudios.org/sw/head-nezumi.jpg')!important; }
table#races td > a.entity-image[title="Orc"] { background-image: url('https://vfstudios.org/sw/head-orc.jpg')!important; }
table#races td > a.entity-image[title="Troglodyte"] { background-image: url('https://kanka-user-assets.s3.eu-central-1.amazonaws.com/campaigns/52637/c7c60989-e662-4856-8622-ce46f73b5aa6.jpg')!important; }
table#races td > a.entity-image[title="Vorkur"] { background-image: url('https://vfstudios.org/sw/head-vorkur.jpg')!important; }

/* Other map icons */
table#locations td > a.entity-image[title="Spirit World"] { background-image: url('https://images.kanka.io/user/WgoFJ-oE9pnk1yWeNVl9T5tzeR4=/src/campaign%2F52637%2FSSxdBGgPBmy4MKoNwF65WGrmXjY8U96tMA027BdB.jpg')!important; }

/* Map markers */
.marker-92288 .marker-pin::after { background-image: url(https://kanka-user-assets.s3.eu-central-1.amazonaws.com/campaigns/52637/9f9225e9-364c-4b7b-b2ad-f11865c9893e.png)!important; background-size: 75%; } /* Cute As A Button */
.marker-100783 .marker-pin::after { background-image: url(https://kanka-user-assets.s3.eu-central-1.amazonaws.com/campaigns/52637/0a002256-ad60-4efd-b139-c324caab0c1a.png)!important; background-size: 75%; } /* Temple of Folly */

/* Journals */
table#journals > tbody > tr > td > a.entity-image { text-shadow: 1px -1px 1px black, -1px 1px 1px black, 1px 1px 1px black, -1px -1px 1px black; }

table#journals > tbody > tr[data-entity-id="1832092"] > td > a.entity-image, table#journals > tbody > tr[data-entity-id="1763964"] > td > a.entity-image, table#journals > tbody > tr[data-entity-id="1832086"] > td > a.entity-image, table#journals > tbody > tr[data-entity-id="1966624"] > td > a.entity-image, table#journals > tbody > tr[data-entity-id="2129239"] > td > a.entity-image, 
table#journals > tbody > tr[data-entity-id="2149892"] > td > a.entity-image, table#journals > tbody > tr[data-entity-id="2210729"] > td > a.entity-image, table#journals > tbody > tr[data-entity-id="2221606"] > td > a.entity-image, table#journals > tbody > tr[data-entity-id="2266589"] > td > a.entity-image
{ background-image: url('https://github.com/scanime/kanka/blob/main/css/wlb/journal-chapter%201.png?raw=true')!important; }

table#journals > tbody > tr[data-entity-id="2259206"] > td > a.entity-image, table#journals > tbody > tr[data-entity-id="2646591"] > td > a.entity-image, table#journals > tbody > tr[data-entity-id="2721028"] > td > a.entity-image, table#journals > tbody > tr[data-entity-id="2789296"] > td > a.entity-image, table#journals > tbody > tr[data-entity-id="2928864"] > td > a.entity-image, 
table#journals > tbody > tr[data-entity-id="3082783"] > td > a.entity-image, table#journals > tbody > tr[data-entity-id="3163244"] > td > a.entity-image, table#journals > tbody > tr[data-entity-id="3263364"] > td > a.entity-image, table#journals > tbody > tr[data-entity-id="3317769"] > td > a.entity-image, table#journals > tbody > tr[data-entity-id="3384247"] > td > a.entity-image, 
table#journals > tbody > tr[data-entity-id="3475620"] > td > a.entity-image, table#journals > tbody > tr[data-entity-id="3697658"] > td > a.entity-image, table#journals > tbody > tr[data-entity-id="3704786"] > td > a.entity-image, table#journals > tbody > tr[data-entity-id="3818307"] > td > a.entity-image, table#journals > tbody > tr[data-entity-id="3935629"] > td > a.entity-image, table#journals > tbody > tr[data-entity-id="4041323"] > td > a.entity-image, table#journals > tbody > tr[data-entity-id="4144524"] > td > a.entity-image, table#journals > tbody > tr[data-entity-id="4364414"] > td > a.entity-image, table#journals > tbody > tr[data-entity-id="4485252"] > td > a.entity-image, table#journals > tbody > tr[data-entity-id="4549745"] > td > a.entity-image, table#journals > tbody > tr[data-entity-id="4646071"] > td > a.entity-image
{ background-image: url('https://github.com/scanime/kanka/blob/main/css/wlb/journal-chapter%202c.png?raw=true')!important; }

table#journals > tbody > tr > td > a.entity-image::after { color: #fff; display:block; text-align: center; height: 100%; line-height: 40px; vertical-align: middle; }
table#journals > tbody > tr[data-entity-id="1763964"] > td > a.entity-image::after { content: '1'; }
table#journals > tbody > tr[data-entity-id="1832086"] > td > a.entity-image::after { content: '2'; }
table#journals > tbody > tr[data-entity-id="1966624"] > td > a.entity-image::after { content: '3'; }
table#journals > tbody > tr[data-entity-id="2129239"] > td > a.entity-image::after { content: '4'; }
table#journals > tbody > tr[data-entity-id="2149892"] > td > a.entity-image::after { content: '5'; }
table#journals > tbody > tr[data-entity-id="2210729"] > td > a.entity-image::after { content: '6'; }
table#journals > tbody > tr[data-entity-id="2221606"] > td > a.entity-image::after { content: '7'; }
table#journals > tbody > tr[data-entity-id="2646591"] > td > a.entity-image::after { content: '7½'; }
table#journals > tbody > tr[data-entity-id="2721028"] > td > a.entity-image::after { content: '8'; }
table#journals > tbody > tr[data-entity-id="2789296"] > td > a.entity-image::after { content: '9'; }
table#journals > tbody > tr[data-entity-id="2928864"] > td > a.entity-image::after { content: '10'; }
table#journals > tbody > tr[data-entity-id="3082783"] > td > a.entity-image::after { content: '11'; }
table#journals > tbody > tr[data-entity-id="3163244"] > td > a.entity-image::after { content: '12'; }
table#journals > tbody > tr[data-entity-id="3263364"] > td > a.entity-image::after { content: '13';  }
table#journals > tbody > tr[data-entity-id="3317769"] > td > a.entity-image::after { content: '14';}
table#journals > tbody > tr[data-entity-id="3384247"] > td > a.entity-image::after { content: '15'; }
table#journals > tbody > tr[data-entity-id="3475620"] > td > a.entity-image::after { content: '16'; }
table#journals > tbody > tr[data-entity-id="3697658"] > td > a.entity-image::after { content: '17'; }
table#journals > tbody > tr[data-entity-id="3704786"] > td > a.entity-image::after { content: '18'; }
table#journals > tbody > tr[data-entity-id="3818307"] > td > a.entity-image::after { content: '19'; }
table#journals > tbody > tr[data-entity-id="3935629"] > td > a.entity-image::after { content: '20'; }
table#journals > tbody > tr[data-entity-id="4041323"] > td > a.entity-image::after { content: '21'; }
table#journals > tbody > tr[data-entity-id="4144524"] > td > a.entity-image::after { content: '22'; }
table#journals > tbody > tr[data-entity-id="4364414"] > td > a.entity-image::after { content: '23'; }
table#journals > tbody > tr[data-entity-id="4485252"] > td > a.entity-image::after { content: '24'; }
table#journals > tbody > tr[data-entity-id="4549745"] > td > a.entity-image::after { content: '25'; }
table#journals > tbody > tr[data-entity-id="4646071"] > td > a.entity-image::after { content: '26'; }
/** Style Custom Tables#310 */
/* fancy tables */
table.race-quote { box-shadow: 0px 10px 5px -5px rgb(0 0 0 / 51%); background-image: url(https://www.vfstudios.org/sw/white-marble.jpg);border:5px double #A28A39; width: 85%; margin-left: 7.5%; }
table.race-quote > tbody > tr >td { padding: 15px!important; border: 0px; background-color:rgba(229,234,255,60% ); }
table.race-quote > tbody > tr:last-child > td { text-align:right;padding:0 15px 15px 0; }
table.power-list th:first-child + th { text-align: center; }
table.power-list th:first-child + th + th { text-align: center; }
table.power-list th:first-child + th + th + th{ text-align: center; }
table.power-list td { vertical-align: top!important; }
table.power-list td:first-child + td { text-align: center; }
table.power-list td:first-child + td + td { text-align: center; }
table.power-list td:first-child + td + td + td { text-align: center; }
table.dice-list tr th:first-child { text-align:center; }
table.dice-list tr td:first-child {padding-left: 20px!important;padding-right: 20px!important;text-align: center;}
table#char-creation td { vertical-align:top!important; }
table#char-creation > tbody > tr > td:nth-child(2) { font-size:120%; padding: 2px 15px; }
table.map-list > tbody > tr:nth-child(1) > td:nth-child(2) { vertical-align: text-top!important; width: 10%; }
table.map-list > tbody > tr:nth-child(1) > td:nth-child(1) { font-family: monospace; }
table.namelist th, table.namelist td { text-align:center; }
table.namelist tr:first-child { font-size: 120%; border-bottom: 2px solid black; }
table.namelist td { width: 16.67%; border: 1px solid rgba(0,0,0,0.25)!important; }
table.namelist > tbody > tr > td:not([colspan]):hover { background-color: rgba(255,255,255,0.5); font-weight: 800; }
table.vignette { font-family: 'Mate SC', serif; background-image: url(https://www.vfstudios.org/sw/white-marble.jpg); font-size:110%; font-weight:400; box-shadow: 0px 10px 5px -5px rgb(0 0 0 / 51%); margin-bottom:3em; border:5px double #A28A39; width: 85%; margin-left: 7.5%; }
table.vignette td { padding:10px!important; background-color:rgba(229,234,255,60% );  }
table.table-music td:first-child a.play { border: 0px;border-radius: 10%;padding: 7px;width: 75%;color:white!important; }
table.table-music td:first-child { text-align: center; max-width: 3em; }
table.table-music td:first-child + td { font-weight: 800; }
table.table-music td:first-child + td + td {}
table.table-music td:first-child + td +td + td { text-align: center; max-width: 3em; }

table.combat-status > tbody > tr > td > img { width: 80px; height: 80px; }
table.combat-status > tbody > tr > td:first-child {width: 100px;}
table.combat-status > tbody > tr > td { vertical-align:top!important; }
table.combat-status > tbody > tr > td { border: none; border-bottom: 1px solid #9195A7; }
table.combat-status { border: none; }

table.edge-list th:first-child + th { text-align: center; }
table.edge-list th:first-child + th + th { width: 67%; }
table.edge-list td { vertical-align: top!important; }
table.edge-list td:first-child + td { text-align: center; }
table.edge-list th:first-child + td + td { width: 67%; }
table.edge-list tr.under-prereq > td:first-child:before { content: "↳ "; }
table.edge-list tr.under-prereq > td:first-child { padding-left: 20px; text-indent: -10px; }
/** Style Profile Sidebars (Right)#382 */
.sidebar-section-box {
    box-shadow: 0 0 10px #000;
    background-image: url(https://www.vfstudios.org/sw/paper59d5.jpg);
}

.sidebar-section-box .sidebar-section-title, .sidebar-section-box .sidebar-elements {
    background-color: rgba(255,255,255,0.5);
}

.sidebar-section-box .sidebar-section-title {
    padding: 5px;
    font-family: 'Cinzel';
    font-variant-caps: small-caps;
    font-weight: bold;    
}    
    
.sidebar-section-box .sidebar-elements {
    margin: 0;
    padding: 0 5px;
}
/** Style Map Stuff#517 */
/** Sentra City **/
/* #map11203 svg > g > path.leaflet-interactive { opacity: 0; } */
#map11203 .leaflet-tooltip { background-color: unset; border: 0; color: #5D200A; box-shadow: none; font-family: 'Cinzel Decorative', cursive; font-size: 125%; text-shadow: -1px -1px 0 #d9c198, 1px -1px 0 #d9c198, -1px 1px 0 #d9c198, 1px 1px 0 #d9c198, 0 0 10px #d9c198, 0 0 15px #d9c198; }
#map11203 .marker-popup-content { display: none; }
#map11203 div.marker-popup-entry > p > a { font-size: 100%; font-family: 'Cinzel Decorative', cursive; }
#map11203 div.marker-popup-entry > p > a::after { content:" >>" }

/** World Map **/
#map9548 div.marker-popup-entry > p > a { font-size: 100%; font-family: 'Cinzel Decorative', cursive; }
#map9548 path.leaflet-interactive:not([stroke='#0000ff']) {fill-opacity: 0;}
#map9548 path.leaflet-interactive:not([stroke='#0000ff']):hover { fill: #ffffaa; fill-opacity: 0.5; filter: blur(20px); }
#map9548 path.leaflet-interactive[stroke='#0000ff']:hover { fill: #0000ff; fill-opacity: 0.35; }

/* Thanks to Dschäykib for help! */
#map9548 .leaflet-marker-icon { margin-left: 0px !important; margin-top: 0px !important; width: 0px !important; height: 0px !important; }
#map9548 .marker-pin { 
    border-radius: 0;
    transform: none;
    background-image: url(https://github.com/scanime/kanka/blob/main/css/hexagon.png?raw=true);
    background-size: contain;
    background-color: unset!important;
    opacity: 50%;  
    box-shadow: none;
}

/* Custom map pins in icons */
/** Style Sidebar sorting#543 */
/*
.sidebar-menu > li.sidebar-quick-links > ul.sidebar-submenu > li.sidebar-quick-link-9 { 
    position: absolute;
    margin-top: 2.25em;
    z-index: 10000;
    width: 256px;
}
    
.sidebar-menu > li.section-campaigns > ul.sidebar-submenu { margin-top: 2em; }
*/
/* .sidebar-menu > li.section-campaign { display: none; } */
.sidebar-menu ul.sidebar-submenu > li.subsection.section-calendars { display: none; }
.sidebar-menu ul.sidebar-submenu > li.subsection.section-timelines { display: none; }
/** Style Contest Entry#544 */
/** Apocalypse **/
.kanka-entity-2573884 .box-entity-entry > .box-header > h3.box-title { font-size: 0; }
.kanka-entity-2573884 .box-entity-entry > .box-header > h3.box-title::after { font-size: 18px; content: "Introduction"; }

table.endnotes > tbody > tr > td:first-child { padding-right: 10px; vertical-align: top!important; }

img.event-smear { width: 300px; height: 170px; position: absolute;  margin-top: -75px; }
span.event-smear-container { display: inline-block; height: 1em; width: 300px; }

/** Disease **/
.kanka-entity-2816191 .box-entity-entry > .box-header > h3.box-title { font-size: 0; }
.kanka-entity-2816191 .box-entity-entry > .box-header > h3.box-title::after { font-size: 18px; content: "Introduction"; }
#entity-note-body-160961 > div.entity-note-body > p { padding-left: 2em; text-indent: -2em; }
#entity-note-body-160961 > div.entity-note-body > p:before { font-weight: 600; font-family: "Cinzel"; }
#entity-note-body-160961 > div.entity-note-body > p:nth-child(odd):before { content: "Tahir: "; }
#entity-note-body-160961 > div.entity-note-body > p:nth-child(even):before { content: "Vemitus: "; }

/** Ragor's journal **/
body.kanka-entity-3272611 div.entity-note-body { font-family: 'Splash', cursive; font-size: 140%; line-height: 1.5em; }

/** Heist **/
.kanka-entity-3375894 .box-entity-entry > .box-header > h3.box-title { font-size: 0; }
.kanka-entity-3375894 .box-entity-entry > .box-header > h3.box-title::after { font-size: 18px; content: "The Setup"; }
/** Style Repositioned entity banners#601 */
.kanka-entity-1386275 .entity-header.with-entity-banner { background-position: bottom!important; } /* The Hub */
.kanka-entity-1427318 .entity-header.with-entity-banner { background-position: bottom!important; } /* The Hub (ward) */
.kanka-entity-1470551 .entity-header.with-entity-banner { background-position: top!important; } /* Graywall */
.kanka-entity-1383239 .entity-header.with-entity-banner { background-position: bottom!important; } /* Imperial Docks */
.kanka-entity-1441207 .entity-header.with-entity-banner { background-position: top!important; } /* Everbright */
.kanka-entity-1427316 .entity-header.with-entity-banner { background-position: bottom!important; } /* Darin's Folly */
.kanka-entity-2495949 .entity-header.with-entity-banner { background-position: bottom!important; } /* Bluereed */
.kanka-entity-1385539 .entity-header.with-entity-banner { background-position: 50% 100%!important ; } /* Warrens */
.kanka-entity-2389520 .entity-header.with-entity-banner { background-position: bottom!important; } /* Battle of Viterbo */
.kanka-entity-2750726 .entity-header.with-entity-banner { background-position: top!important; } /* Chase rules */
.kanka-entity-3163244 .entity-header.with-entity-banner { background-position: top!important; } /* Session 12 journal rules */
.kanka-entity-3384247 .entity-header.with-entity-banner { background-position-y: 11%!important; } /* Session 15 journal */
body.kanka-entity-1471671 .entity-header.with-entity-banner { background-position-y: 100%!important; } /* Dweamor Street */
body.kanka-entity-4364414 .entity-header.with-entity-banner { background-position: 50% 0%!important; } /* Session 23 */
body.kanka-entity-4485252 .entity-header.with-entity-banner { background-position: right!important; } /* Session 24 */
body.kanka-entity-4646071 .entity-header.with-entity-banner { background-position: 50% 0%!important; } /* Session 26 */
body.kanka-entity-4996485 .entity-header.with-entity-banner { background-position: 50% 5%!important; } /* Session 28 */
body.kanka-entity-5082539 .entity-header.with-entity-banner { background-position: 100% 0%!important; } /* Session 29 */
body.kanka-entity-5407854 .entity-header.with-entity-banner { background-position: 90% 0%!important; } /* Session 32 */
body.kanka-entity-5702207 .entity-header.with-entity-banner { background-position: 90% 0%!important; } /* Session 34 */
body.kanka-entity-5821580 .entity-header.with-entity-banner { background-position: 90% 0%!important; } /* Session 35 */
 
body.kanka-entity-1966624 .entity-header { background-position: bottom; }
body.kanka-entity-1452551 .entity-header { background-position-y: 17%; }
body.kanka-entity-2129239 .entity-header { background-position-y: 85%; }
body.kanka-entity-2225936 .entity-header { background-position-y: 75%; }

/* Hide images because he want them on the dashboard but not the entry */
.entity-header.with-entity-banner > .entity-header-image { display: none; }
div.entity-header.with-entity-banner > .entity-header.with-entity-banner + .entity-header-image { display: none; } /* for mobile screens */
/** Style Dashboard#611 */
/* Image for header */
#campaign-dashboard > .campaign-header.campaign-imaged-header { background-position: 75% 0%; }
#campaign-dashboard > div > div.campaign-header-content > div > div.campaign-head a.campaign-title { font-size:0px!important; }
#campaign-dashboard > div > div.campaign-header-content { padding:0; }
#campaign-dashboard > div > div.campaign-header-content > div.campaign-content { margin-bottom: -50px; }
#campaign-dashboard > div > div.campaign-header-content::after { background-size: contain; background-image: url("http://vfstudios.org/sw/what-lies-beneath-title-only.png"); background-repeat: no-repeat; width:75vw; height: 20vw; margin-top:auto; margin-bottom:auto; display:inline-block; content: ""; max-width: 850px; max-height: 250px; }


@media (max-width: 1196px)
{
    #campaign-dashboard > div > div.campaign-header-content::after { width: 100%; margin-top: auto;margin-bottom: auto;}
    #campaign-dashboard > div > div.campaign-header-content { }
}
@media (max-width: 787px)
{
#campaign-dashboard > div > div.campaign-header-content::after { width: 90%; margin-top: auto; margin-bottom: auto }
#campaign-dashboard > div > div.campaign-header-content { padding: 0; }
#widget-col-189708 { grid-column: span 12 / span 12!important; grid-column-start: 1; } /* City Life note */
  body:not(.sidebar-collapse) #campaign-dashboard .widget.widget-header { width: 100vw!important; }
}

/* Hide default campaign desc  */
#campaign-dashboard > div > div.campaign-header-content > div > div.preview { font-size: 0px; }
.campaign-header.campaign-imaged-header .campaign-header-content { background-color: rgba(0,0,0,0); backdrop-filter: none; }

/* Imperial family bg change */
.widget-preview.imperial-family > div.panel-heading.panel-heading-entity { background-image: url(https://kanka-user-assets.s3.eu-central-1.amazonaws.com/characters/n5a6KRtdYKdGf1GWQN2LD31MDnvoctkEO3HX3vTa.jpg)!important; background-position-y: 50%; }

/* City life tidbit & Welcome for dashboard */
#campaign-dashboard .dashboard-widgets .widget:is(#widget-col-121226, #widget-col-189708) .widget-header { display: none; }
#campaign-dashboard .dashboard-widgets .widget:is(#widget-col-121226, #widget-col-189708) .entity-content { text-align: center; padding: 1rem; }
#campaign-dashboard .dashboard-widgets .widget#widget-col-121226 .entity-content { text-align: left; }
#campaign-dashboard .dashboard-widgets .widget#widget-col-189708 { grid-column: span 8 / span 8; grid-column-start: 3; }

/* Dashboard headers/section break */
#campaign-dashboard .widget.widget-header {position: relative;text-align: center;margin-left: 50%;transform: translateX(-50%);display: inline-block;margin-bottom: 45px;margin-top: 25px;min-height: 70px;background-image: url(https://www.vfstudios.org/sw/blue-marble.jpg);}
#campaign-dashboard .widget .widget-header-text {font-size:24pt;font-family: 'Cinzel Decorative', cursive;color:white;}
body.sidebar-collapse #campaign-dashboard .widget.widget-header { width: calc( 100vw ); }
body:not(.sidebar-collapse) #campaign-dashboard .widget.widget-header { width: calc( 100vw - 254px ); }

/* widget entity names */
.widget:is(.widget-preview, .widget-random) .widget-header > a:not(.widget-image) { background-image: url(https://www.vfstudios.org/sw/blue-marble.jpg); color: white; padding: 1rem; box-shadow: 0 2px 5px #000; background-position: center; }
.widget:is(.widget-preview, .widget-random):nth-of-type(3n+0) .widget-header > a:not(.widget-image) { background-position: left; }
.widget:is(.widget-preview, .widget-random):nth-of-type(3n-1) .widget-header > a:not(.widget-image) { background-position: right; }

/* Random entities & first/story row have matching heights */
.widget.widget-random { align-self: stretch; display: grid; align-items: stretch; }
.widget.widget-random > .bg-box > .widget-body { display: flex; flex-direction: column; flex-wrap: wrap; justify-content: space-between; height: 100%; }
.widget.widget-random > .bg-box { display: flex; flex-direction: column; align-items: stretch; justify-content: space-between; }

/* Hide images on some previews */
.widget .preview img.hide-preview { display: none; }

/* Same size party widgets */
body.dashboard-187 div.dashboard-widgets div.panel.panel-default.widget-preview > div.panel-body { min-height: 220px; }
body.dashboard-187 div.dashboard-widgets div.panel.panel-default.widget-preview > div.panel-body:last-child { min-height: 250px; }

/* Handle using tables to size images. Hide the image, and fix the word break */
.widget > .panel.widget-preview .entity-content table > tbody > tr > td.table-cell-image {display: none;}
.widget > .panel.widget-preview .entity-content table { word-break: unset; }

/* Marble backgroud for transparent images */
div.widget:is(.widget-preview, .widget-random) > .bg-box > .widget-header { background-image: url(https://d3a4xjr8r2ldhu.cloudfront.net/campaigns/52637/108e5d1c-cfaf-4d87-8a0e-ff98bf4ac870.jpg); background-size: 100% 100%; background-repeat: no-repeat; }

/* Add header for member list */
.widget-advanced-members:before { content: "Known Members"; display: block; font-family: 'Cinzel Decorative'; font-size: 100%; text-align: center; }

/* Journal list */
.journal-list-widget > h4.text-lg { box-shadow: 0 2px 5px #000; margin-bottom: 0; display: flex; flex-direction: column-reverse; font-variant: small-caps; font-weight: 600; background-image: url(https://www.vfstudios.org/sw/blue-marble.jpg); color: white; padding: 1rem; }
.journal-list-widget > h4 > span.grow { margin-top: 1rem; }
.journal-list-widget > h4 > span.grow > a { color: white; font-size: 20px; }
.journal-list-widget > h4.text-lg > span.flex-none { /* box-shadow: inset 0 2px 5px #000; */ display: block;height:120px;margin-left: -1rem;margin-bottom: -1rem;margin-right: -1rem;margin-top:-1rem;width: calc(100% + 2rem);background-image: url(https://th.kanka.io/nmRiu3MSlYE1W_FcDc2bsRQgVzg=/1200x400/smart/src/campaigns/52637/9e448d35-b1b6-47bb-8198-eed7a456ca75.jpg);background-size:cover;background-position: top center; aspect-ratio: 3 / 1; }
.journal-list-widget > .widget-recent-list { padding-top: 0.75rem; }
.journal-list-widget > .widget-recent-list > .flex .blame { display: none; }
.journal-list-widget > .widget-recent-list div.break-all { word-break: unset; }
.journal-list-widget a.entity-picture:has( + div > a[data-id="5434754"] ), .journal-list-widget a.entity-picture:has( + div > a[data-id="5379142"] ) { background-image: url('https://th.kanka.io/RDVYV1pHOlP73kvIwUl8zHyi1LY=/40x40/smart/src/characters/Ktl2zHGEEzRaLJ41zfT5OODw341xKnFwfjLo7DYA.png')!important; }
.journal-list-widget > .widget-recent-list .flex.items-center { align-items: flex-start; }
.journal-list-widget > .widget-recent-list div.blame { display: none; }
@media (max-width: 787px)
{
  .journal-list-widget > h4.text-lg > span.flex-none { height: auto; }
}

/* Story Row */
.widget.widget-preview:has( > .story-row ) { align-self: stretch; }
.widget-preview.story-row { height: 100%; display: flex; flex-direction: column; }
.widget-preview.story-row > .widget-body { display: flex; flex-direction: column; justify-content: space-between; height: 100%; }
.widget-preview.story-row > .widget-body > .overflow-hidden.max-h-52 { max-height: 20rem; }

/* Party Dashboard */
.bg-box.widget-preview:is(.entity-2718398,.entity-1646598) > .widget-header > a.text-xl > span:after { content: "(former member)"; font-size: 75%; }

/* Places in the City */
.city-places > h4.text-lg { box-shadow: 0 2px 5px #000; margin-bottom: 0; display: flex; flex-direction: column-reverse; font-variant: small-caps; font-weight: 600; background-image: url(https://www.vfstudios.org/sw/blue-marble.jpg); color: white; padding: 1rem; }
.city-places > h4 > span.grow { margin-top: 1rem; }
.city-places > h4 > span.grow > a { color: white; font-size: 20px; }
.city-places > h4.text-lg > span.flex-none { isplay: block;height:220px;margin-left: -1rem;margin-bottom: -1rem;margin-right: -1rem;margin-top:-1rem;width: calc(100% + 2rem);background-image: url(https://d3a4xjr8r2ldhu.cloudfront.net/campaigns/52637/c8844bbf-b73e-4a34-b71f-f83069230252.jpg);background-size:cover;background-position: top center; aspect-ratio: 3 / 1; }
.city-places > .widget-recent-list { padding-top: 0.75rem; }
.city-places > .widget-recent-list > .flex .blame { display: none; }
.city-places > .widget-recent-list div.break-all { word-break: unset; }
.city-places > .widget-recent-list div.blame { display: none; }
.city-places > .widget-recent-list > div > div > div {flex-flow: row wrap;}
.city-places > .widget-recent-list > div > div > div > div { width: calc(33% - .5rem); }
.city-places > .widget-recent-list > div > div > div > div:has( > a.cursor-pointer ) { width: 100%; } /* load more */

@media (max-width: 787px)
{
  .city-places > .widget-recent-list > div > div > div > div { width: 100%; }
}
/** Style a hover test#633 */
.content-wrapper a:not(.btn):not(.sidebar-toggle):not(.dropdown-toggle):not(.mention):hover {
    color: white;
    text-shadow: 1px -1px 1px var(--link-text), -1px 1px 1px var(--link-text), 1px 1px 1px var(--link-text), -1px -1px 1px var(--link-text); 
}
ul.nav > li > a:hover { text-shadow: inherit!important; color: black!important; }
div.panel-heading.panel-heading-entity > h3.panel-title > a:hover {text-shadow: 0 0 3px #fff, 0 0 5px #fff!important;}
/** Style Hiding top entries#636 */
/* For Savage Worlds Basics */
body.kanka-entity-1444790.kanka-entity-note .box-entity-entry { display: none!important; }
/** Style Char Sheet &amp; Map Link#651 */
div.pinned-attribute[data-attribute="↓"] > p, div.pinned-attribute[data-attribute="↦"] > p {border-color: rgba(54,127,169,0.75);justify-self: center;padding: 8px;display: inline-block;box-shadow: 0 3px 3px rgb(0 0 0 / 30%), 0 0 5px 2px rgb(0 0 0 / 20%), -2px -2px 10px rgb(0 0 0 / 50%) inset, 2px 2px 10px rgb(255 255 255 / 75%) inset!important;background-image: url(https://raw.githubusercontent.com/scanime/kanka/main/css/buttons-marble/marble-primary.jpg);color: white;border-radius: 3px;text-align:center;}

.kanka-entity-character div.pinned-attribute[data-attribute="↓"] > p > a.entity-mention:before { content: "\f3c5  "; font-weight: 800;font-family: "Font Awesome 6 Pro"; text-shadow: -1px 1px rgb(0 0 0), 1px -1px rgb(0 0 0 / 50%); }
.kanka-entity-character div.pinned-attribute[data-attribute="↦"] > p > a.entity-mention:before { content: "\f4ff  "; font-weight: 800;font-family: "Font Awesome 6 Pro"; text-shadow: -1px 1px rgb(0 0 0), 1px -1px rgb(0 0 0 / 50%); }
.kanka-entity-location div.pinned-attribute[data-attribute="↦"] > p > a.entity-mention:before { content: "\f19c  "; font-weight: 800;font-family: "Font Awesome 6 Pro"; text-shadow: -1px 1px rgb(0 0 0), 1px -1px rgb(0 0 0 / 50%); }
.kanka-entity-location div.pinned-attribute[data-attribute="↦"] + div.pinned-attribute[data-attribute="↦"] > p > a.entity-mention:before { content: "\f279  "; font-weight: 800;font-family: "Font Awesome 6 Pro"; text-shadow: -1px 1px rgb(0 0 0), 1px -1px rgb(0 0 0 / 50%); } /* Building map */

div.pinned-attribute[data-attribute="↓"] > p > a, div.pinned-attribute[data-attribute="↦"] > p > a {color:white;text-shadow: -1px 1px rgb(0 0 0), 1px -1px rgb(0 0 0 / 50%)!important;}
div.pinned-attribute[data-attribute="↓"] > p > a:hover, div.pinned-attribute[data-attribute="↦"] > p > a:hover { text-shadow: none; }
div.pinned-attribute[data-attribute="↓"] > p:hover, div.pinned-attribute[data-attribute="↦"] > p:hover { border-color: #133d55; background-color: unset; box-shadow: 2px 2px 10px rgb(0 0 0 / 50%) inset, -2px -2px 10px rgb(255 255 255 / 75%) inset!important; text-shadow: 1px -1px rgb(0 0 0), -1px 1px rgb(0 0 0 / 50%); }
div.pinned-attribute[data-attribute="↓"], div.pinned-attribute[data-attribute="↦"] {display: grid;grid-template-columns: 3fr;grid-template-rows: 1fr 0;}
div.pinned-attribute[data-attribute="↓"] > strong, div.pinned-attribute[data-attribute="↦"] > strong {justify-self: end;align-self: center;display: none;}
/** Style Timelines#654 */
.timeline>li>i:is(.ra,.fa,.fab,.far,.fas,.fa-solid,.fa-brands,.fa-thin,.fa-duotone) { left: 13px; clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%); width: 2.5rem; height: 2.5rem; top: -3px; }
.timeline>li:before { margin-bottom: calc( -30px - 1em ); }
.timeline>li>.timeline-item { margin-top: -3em;  margin-bottom: 3em; margin-left: 4rem; }
ul.timeline > li:before, ul.timeline > li > i { border-radius: 3px!important; filter: drop-shadow(2px 1px 2px rgba(0,0,0,0.5))
drop-shadow(-2px -1px 2px rgba(0,0,0,0.5)) }
.timeline>li:last-of-type { margin-bottom: 1em; }
ul.timeline > li > i.bg-aqua.fa-book-open { background-color: #68a8d0!important; }
ul.timeline > li > i { display: inline-block; position: relative; padding:8px; }
ul.timeline>li:before { margin-bottom: 0; }
ul.timeline > li:before, ul.timeline > li > i:before { display: block; text-align: center; }
.timeline>li>i:is(.ra,.fab,.far,.fas,.fa-solid,.fa-brands,.fa-thin,.fa-duotone) { line-height: unset; }

/**** Session Events *****/
body.kanka-entity-6048756 .timeline-era-head > h3 > span.text-xs { display: none; }
body.kanka-entity-6048756 .timeline-item-head > h3 > i.fa-solid:nth-of-type( 1 ) {order: -1;}
body.kanka-entity-6048756 .timeline-item-head > h3 > i.fa-solid:nth-of-type( 2 ) {order: -1;}
body.kanka-entity-6048756 .timeline-item-head > h3 > span.text-neutral-content {order: -1;color: var(--header-text, hsl(var(--bc)/var(--tw-text-opacity)));}
body.kanka-entity-6048756 .timeline-item-head > h3 > span.text-neutral-content:after { content: " \f105"; font-family: "Font Awesome 6 Pro"; }
/** Style Image bordering#713 */
body:not(.kanka-entity-organisation):not(.kanka-type-deity):not(.kanka-entity-family) div.entity-header .entity-image + div > picture > img { box-shadow: 0 0 5px black; border-radius: 5%; border: 5px double #A28A39; }
body:not(.kanka-entity-organisation):not(.kanka-type-deity):not(.kanka-entity-family) div.entity-header a.entity-image { box-shadow: 0 0 5px black; border-radius: 5%; border: 5px double #A28A39; }
body:not(.kanka-entity-organisation):not(.kanka-type-deity):not(.kanka-entity-family) div.entity-header a.entity-image.visible-xs + div > picture > img { box-shadow: 0 0 5px black; border-radius: 5%; border: 2px solid #A28A39; }
body:not(.kanka-entity-organisation):not(.kanka-type-deity):not(.kanka-entity-family) div.entity-header > .entity-header-image picture > img { box-shadow: 0 0 5px black; border-radius: 5%; border: 5px double #A28A39; }
/** Style Tags#307 */
#datagrid-parent > table td > div > a.badge.bg-maroon[data-title="Stores"] { font-size: 0; }
#datagrid-parent > table td > div > a.badge.bg-maroon[data-title="Stores"]:before { font-weight: 900; font-size: 14px; font-family: "Font Awesome 6 Pro"; content: "\f54f"; }
body.kanka-entity-location .entity-tags a[data-tag-slug="stores"] span.badge.bg-maroon:before { font-weight: 900; font-size: 14px; font-family: "Font Awesome 6 Pro"; content: "\f54f"; margin-right: 0.5rem; }

#datagrid-parent > table td > div > a.badge.bg-maroon[data-title="Entertainment"] { font-size: 0; }
#datagrid-parent > table td > div > a.badge.bg-maroon[data-title="Entertainment"]:before { font-weight: 900; font-size: 14px; font-family: "Font Awesome 6 Pro"; content: "\f630"; }
body.kanka-entity-location .entity-tags a[data-tag-slug="entertainment"] span.badge.bg-maroon:before { font-weight: 900; font-size: 14px; font-family: "Font Awesome 6 Pro"; content: "\f630"; margin-right: 0.5rem; }

#datagrid-parent > table td > div > a.badge.bg-maroon[data-title="Government Building"] { font-size: 0; }
#datagrid-parent > table td > div > a.badge.bg-maroon[data-title="Government Building"]:before { font-weight: 900; font-size: 14px; font-family: "Font Awesome 6 Pro"; content: "\f19c"; }
body.kanka-entity-location .entity-tags a[data-tag-slug="governmentbuilding"] span.badge.bg-maroon:before { font-weight: 900; font-size: 14px; font-family: "Font Awesome 6 Pro"; content: "\f19c"; margin-right: 0.5rem; }

#datagrid-parent > table td > div > a.badge.bg-maroon[data-title="Temples"] { font-size: 0; }
#datagrid-parent > table td > div > a.badge.bg-maroon[data-title="Temples"]:before { font-weight: 900; font-size: 14px; font-family: "Font Awesome 6 Pro"; content: "\f67f"; }
body.kanka-entity-location .entity-tags a[data-tag-slug="temples"] span.badge.bg-maroon:before { font-weight: 900; font-size: 14px; font-family: "Font Awesome 6 Pro"; content: "\f67f"; margin-right: 0.5rem; }


#datagrid-parent > table td > div > a.badge.bg-maroon[data-title="Restaurants/Taverns"] { font-size: 0; }
#datagrid-parent > table td > div > a.badge.bg-maroon[data-title="Restaurants/Taverns"]:before { font-weight: 900; font-size: 14px; font-family: "Font Awesome 6 Pro"; content: "\f2e6"; }
body.kanka-entity-location .entity-tags a[data-tag-slug="restaurantstaverns"] span.badge.bg-maroon:before { font-weight: 900; font-size: 14px; font-family: "Font Awesome 6 Pro"; content: "\f2e6"; margin-right: 0.5rem; }


#datagrid-parent > table td > div > a.badge.bg-maroon[data-title="Academic Building"] { font-size: 0; }
#datagrid-parent > table td > div > a.badge.bg-maroon[data-title="Academic Building"]:before { font-weight: 900; font-size: 14px; font-family: "Font Awesome 6 Pro"; content: "\f19d"; }
body.kanka-entity-location .entity-tags a[data-tag-slug="academicbuilding"] span.badge.bg-maroon:before { font-weight: 900; font-size: 14px; font-family: "Font Awesome 6 Pro"; content: "\f19d"; margin-right: 0.5rem; }

#datagrid-parent > table td > div > a.badge.bg-maroon[data-title="Industry"] { font-size: 0; }
#datagrid-parent > table td > div > a.badge.bg-maroon[data-title="Industry"]:before { font-weight: 900; font-size: 14px; font-family: "Font Awesome 6 Pro"; content: "\f275"; }
body.kanka-entity-location .entity-tags a[data-tag-slug="industry"] span.badge.bg-maroon:before { font-weight: 900; font-size: 14px; font-family: "Font Awesome 6 Pro"; content: "\f275"; margin-right: 0.5rem; }
/** Style Abilities#1949 */
body.kanka-entity-ability:is(.kanka-type-hindrance, .kanka-type-edge, .kanka-type-power) .entity-story-block .box.box-entity-entry > .box-header > h3.box-title { font-size: 0; }
body.kanka-entity-ability:is(.kanka-type-hindrance, .kanka-type-edge, .kanka-type-power) .entity-story-block .box.box-entity-entry > .box-header > h3.box-title:after { font-size: 18px; content: "Summary"; }

body.kanka-entity-ability .entity-attributes { display: none; }
div.power-blurb .post-footer { display: none; }
div.power-blurb .entity-note-details { margin-bottom: 0; }
div.power-blurb .entity-content { padding-bottom: 0; padding-top: 0; }
/*
.power-attr { border: 1px solid rgba(0,0,0,0.33); box-shadow: 0 0 5px #000; gap: 0; }
body:not(.is-admin) .power-attr > .items-center { display: none; }
.power-attr > .box-entity-attributes {margin-bottom: 0;background-color: rgba(255,255,255,0.5);padding-bottom: 0;}
.power-attr .shadow-sm { box-shadow: unset; --tw-shadow: unset; --tw-shadow-colored: unset; }
.power-attr .box-entity-attributes > .rounded.mb-5 { margin-bottom: 0; }
.power-attr .box-entity-attributes > .p-4 { padding-right: 0.25rem; padding-left: 0.25rem; }
*/
.post-block.power-attr > div.items-center {padding: 1rem;background: var(--bg-gradient);padding-bottom: 0;}
.power-attr { border: 1px solid rgba(0,0,0,0.33); box-shadow: 0 0 5px #000; gap: 0; width: 80%; margin-left: 10%; margin-right: 10%;}
body:not(.is-admin) .power-attr > .items-center { display: none; }
.power-attr > .box-entity-attributes {margin-bottom: 0;background-color: rgba(255,255,255,0.5);padding-bottom: 0;}
.power-attr > .box-entity-attributes .rounded.flex { background-color: transparent; width: 80%; margin-left: 10%; margin-right: 10%; }
.power-attr > .box-entity-attributes .rounded.flex > .cursor-pointer.flex { display: none; }
.power-attr > .box-entity-attributes .rounded.flex > .section-attributes > .flex > .attribute-icon { display: none; }
.power-attr > .box-entity-attributes .rounded.flex > .section-attributes > .flex.odd\:bg-base-200:nth-child(odd) { background-color: transparent; }
.power-attr > .box-entity-attributes .rounded.flex > .section-attributes > .flex > .attribute-icon + .flex { flex-direction: row; column-gap: 1rem; padding: 0; }
.power-attr > .box-entity-attributes .rounded.flex > .section-attributes > .flex > .attribute-icon + .flex + div:has( > a[title="Edit"] ) { padding: 0; }

body.kanka-entity-ability:is(.kanka-type-hindrance, .kanka-type-edge, .kanka-type-power) article.box-entity-entry:before {
 display: block;
 content: 'Summary';
 font-size: 1.5rem;
 font-family: 'Cinzel Decorative', cursive;
 font-weight: 400;
 color: black; 
 position:relative;
 background:var(--bg-gradient);
 padding:1rem;
 padding-bottom:0;
}

body.kanka-entity-ability:is(.kanka-type-hindrance, .kanka-type-edge, .kanka-type-power) dl.dl-horizontal { display: grid; grid-template-columns: 1fr 3fr; column-gap: 1rem; row-gap: 0.25rem; }
body.kanka-entity-ability:is(.kanka-type-hindrance, .kanka-type-edge, .kanka-type-power) dl.dl-horizontal dt { font-weight: 800; justify-self: end; }
body.kanka-entity-ability:is(.kanka-type-hindrance, .kanka-type-edge, .kanka-type-power) dl.dl-horizontal dd {justify-self: start;text-align: left;margin-left: 0;}

body { --bookmark-hide: 2.25rem; --bookmark-show: 0; --bookmark-label: ''; }
head:has( > link[href$="type=Hindrance"] ) + body { --bookmark-label: 'Hindrances'; --bookmark-show: 2.25rem; --bookmark-hide: 0; }
head:has( > link[href$="type=Edge"] ) + body { --bookmark-label: 'Edges'; --bookmark-show: 2.25rem; --bookmark-hide: 0; }
head:has( > link[href$="type=Power"] ) + body { --bookmark-label: 'Arcane Powers'; --bookmark-show: 2.25rem; --bookmark-hide: 0; }

body.kanka-abilities #main-content > section.content h1.category-title { font-size: var(--bookmark-hide ); }
body.kanka-abilities #main-content > section.content h1.category-title:after { display: inline; font-size: var(--bookmark-show ); content: var(--bookmark-label); }
