/**
 * Campaign Styles for campaign #42150
 */

/** Theme builder #3257 */
@layer theme {
:root {
  --s: 276 100% 43%;
  --sf: 276 100% 23%;
  --sc: 0 0% 100%;
}
}
/** Style Campaign style#3228 */
/* Main sidebar tweaks */
.section-time, .section-game, .section-other, .section-history, .section-settings, .section-notes, .campaign-updated {
  	display: none;
}

.campaign-name {
  	padding-top: 35px;
}

.sidebar li span {
  	font-size: 11.5px;
}

.is-admin .section-other, .is-admin .section-history, .is-admin .section-settings, .is-admin .section-notes {
  	display: block;
}

.px-10 {
  padding-left:2.5rem;padding-right:2.5rem
}

/* Stubs */
:root{
    --stub-text: "This article is a stub. Feel free to help out by adding things to it!";
}

.kanka-tag-stub .entity-main-block:before {
    text-align: center;
    font-style: oblique;
    display: inline-block;
    background: hsl(var(--b1)/1);
    padding: 2ch;
    border: 1px solid lightgrey;
    border-left: 5px solid orange;
    border-radius: 3px;
    box-shadow: 0 1px 1px rgba(0,0,0,.1);
    width: 100%;
    content: var(--stub-text);
}

/* Entity box backgrounds */
.sidebar-section-box {
    --sidebar-section-background: hsl(var(--b1)/1);
    --sidebar-section-padding: 10px;
    border-radius: .25rem;
    box-shadow: 0 1px 1px rgba(0,0,0,.1);
}

/* Post headings */
.post-header {
    background-color: var(--box-background, hsl(var(--b1)/1));
    border-radius: .25rem;
    padding: .2rem .5rem;
}

.post-title {
	margin: 0;
}

.entity-grid .entity-main-block {
	padding: 0 10px 10px 10px;
	box-shadow: #111 -3px 3px 3px;
	border-radius: 5px;
}

/* Entity block margins */
.entity-story-block .box-entity-entry:first-child,
.entity-main-block .box-entity-entry:first-child {
    margin-bottom: 10px;
}

.entity-content {
    margin-bottom: -10px;
}

/* Entity note footers goodbye */
.entity-note-footer {
  	display: none;
}

/* Fixed table layout */
table, th {
  	table-layout: fixed;
  	/*text-align: center;*/
}

/* Custom pinned portrait width */
.pinned-attribute[data-attribute^="pinned portrait"] {
  	margin: 0 auto;
  	display: none;
}

/* Compact Inventory */
/* Unset fixed height */
.box-entity-inventory .h-60 {
	height: auto;
}
/* Change to display: grid */
.box-entity-inventory [data-position] div[data-toggle="dialog"] {
	display: grid;
	grid-template-columns: 5rem auto;
	grid-template-areas: "topleft topright"
						 "bottomleft bottomright";
	/* Make direct descendants participate in parent grid */
	> div:not(.cover-background) { /* Except custom images which have no children */
		display: contents;
	}
	/* Place and style each piece of info */
	.item-amount {
		grid-area: topleft;
		&::first-letter {
			color: transparent; /* Remove the odd "+" */
		}
		&::after {
			content: "x"
		}
	}
	.text-lg {
		grid-area: topright;
	}
	div.rounded-full {
		grid-area: bottomleft;
      	height: 4rem;
		width: 4rem;
		margin: 0 auto;
		i { /* Center Font Awesome icons */
			margin: inherit;
		}
	}
	.text-xs {
		grid-area: bottomright;
	}
}
