/** plugin: Futuristic Icons #1.0 code **/
.sidebar a[href*="characters"] i:before { content: "\f007"; }
.sidebar a[href*="locations"] i:before { content: "\"; font-family: RPGAwesome; font-weight: 400; }
.sidebar a[href*="races"] i:before { content: "\"; font-family: RPGAwesome; font-weight: 400; }
.sidebar a[href*="families"] i:before { content: "\E99E"; font-family: RPGAwesome; font-weight: 400; }
.sidebar a[href*="items"] i:before { content: "\"; font-family: RPGAwesome; font-weight: 400; }
.sidebar a[href*="notes"] i:before { content: "\f249"; font-family: FontAwesome; font-weight: 900; }
.sidebar a[href*="maps"] i:before { content: "\f279"; }
.sidebar a[href*="calendars"] i:before { content: "\f073"; }
.sidebar a[href*="events"] i:before { content: "\f073"; }
.sidebar a[href*="journals"] i:before { content: "\f15c"; font-family: FontAwesome; font-weight: 900; }
.sidebar a[href*="organisations"] i:before { content: "\f21b"; font-family: FontAwesome; font-weight: 400; }
.sidebar a[href*="quests"] i:before { content: "\f12a"; font-family: FontAwesome; font-weight: 900; }
.sidebar a[href*="tags"] i:before { content: "\f02c"; }
.sidebar a[href*="abilities"] i:before { content: "\"; font-family: RPGAwesome; font-weight: 400; }
.sidebar a[href*="timelines"] i:before { content: "\f017"; }

/** plugin: Winter Frost #1.0 code **/
/* WINTER FROST THEME */

/* box shadow tweaks */
.box, .tab-content, .timeline-item {box-shadow: 2px 2px 6px 1px rgba(0,0,0,.1);}
.navbar {box-shadow: 2px 2px 3px 1px rgba(0,0,0,.1);}
/* .nav-tabs>li {border: 1px solid #e8e8e8;} */

/* header menu background color */
 .skin-black .main-header .navbar, .skin-black .main-header .logo, .skin-black .main-header .navbar .sidebar-toggle:hover, .skin-black .main-header .navbar .nav .open>a, .skin-black .main-header .navbar .nav .open>a:focus, .skin-black .main-header .navbar .nav .open>a:hover, .skin-black .main-header .navbar .nav>.active>a, .skin-black .main-header .navbar .nav>li>a:active, .skin-black .main-header .navbar .nav>li>a:focus, .skin-black .main-header .navbar .nav>li>a:hover {background-color: #eff5fa;} 

/* breadcrumb and helper text color */
.help-block, .text-muted, body, .breadcrumb>li+li:before, .content-header>.breadcrumb>li>a {color: #444;}

/* sidebar background color */
.main-sidebar .sidebar, .skin-black .left-side, .skin-black .main-sidebar, .skin-black .wrapper {background-color: #2B313B;}

/* sidebar image gradient fade color match to background color */
section.sidebar-campaign {background: linear-gradient(180deg,rgba(51,51,51,0),#2B313B);}

/* sidebar link color */
.main-sidebar, .main-sidebar .sidebar li .sidebar-text, .main-sidebar .sidebar li a, .main-sidebar .sidebar .sidebar-icon-link {color: #f3f6f7;}

/* link color */
a {color: #457d9f;}
.campaign .content .more a {color: #72afd2;}
.campaign .content .more a:hover {color: #89c7eb;}
.skin-black .main-header .navbar .nav .open>a, .skin-black .main-header .navbar .nav .open>a:focus, .skin-black .main-header .navbar .nav .open>a:hover, .skin-black .main-header .navbar .nav>.active>a, .skin-black .main-header .navbar .nav>li>a:active, .skin-black .main-header .navbar .nav>li>a:focus, .skin-black .main-header .navbar .nav>li>a:hover, .skin-black .main-header .navbar .sidebar-toggle:hover {color: #42708a;}

/*tabs color */
.nav-tabs-custom>.nav-tabs>li>a:hover {color: #457d9f;}
.entity-form ul.nav li {background-color: #eff5fa;}

/* button color */
.btn-success {background-color: #457d9f; border-color: #42708a;}
.btn-success:visited, .btn-success:focus, .btn-success:hover, .btn-success:active, .btn-success.active, .btn-success:active, .open>.btn-success.dropdown-toggle {background-color: #3C8DBC; border-color: #5086a5;}
button#form-submit-main.btn.btn-success:hover {background-color: #3C8DBC; border-color: #5086a5;}

.btn-success.active.focus, .btn-success.active:focus, .btn-success.active:hover, .btn-success:active.focus, .btn-success:active:focus, .btn-success:active:hover, .open>.btn-success.dropdown-toggle.focus, .open>.btn-success.dropdown-toggle:focus, .open>.btn-success.dropdown-toggle:hover {background-color: #3C8DBC; border-color: #5086a5;}

/* parchment background */
.wrapper {
  background: url(https://cdn-ugc.kanka.io/entities/files/c41qqprVSLpXyoWmzGc1Gbo8NssgO3PN8en3RXPc.png);
  background-repeat: repeat;
  background-size: auto;
  background-attachment: fixed;
}

.content-wrapper, .main-footer {
background: none;
}

/** 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: Simple Lightbox #1 code **/
/* BEGIN Salvatos Simple Lightbox */
.lightbox {
	display: none;
	z-index: 999;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 1em;
	background: rgba(0, 0, 0, 0.8);
}

/* Unhide the lightbox when targeted */
.lightbox:target {
	display: flex;
	flex-wrap: wrap;
	flex-direction: column;
	justify-content: center;
	align-content: center;
}
/* Show caption based on 'title' attribute */
.lightbox::after {
	content: attr(title);
	margin-top: 10px;
	align-self: center;
	color: lightgrey;
	font-style: italic;
	font-size: 16px;
}

/* Full image sizing */
.lightbox img {
	max-width: 100%;
	max-height: 100%;
}

/* Change cursor icon on hover */
a[href^="#lightbox-"]:hover {
    opacity: 0.9;
    cursor: zoom-in;
}
a[id^="lightbox-"]:hover {
    cursor: zoom-out;
}
/* END Salvatos Simple Lightbox */

/** plugin: Bolder Headings! (Deprecated) #8 code **/
/* Upper Title */
.entity-grid>.entity-header.with-entity-banner .entity-header-sub, .entity-grid>.entity-header.with-entity-banner .entity-icons .skin-black .content-header {
color: black;
font-size: 1.5em;
}

/* Name */
.entity-grid>.entity-header.with-entity-banner .entity-header-sub, .entity-grid>.entity-header.with-entity-banner i.entity-icons,
.entity-header .entity-name-header .entity-name{
color: black;
font-weight: 700;
text-shadow:
-0.4px -0.4px 0 #FFFFFF,
0.4px -0.4px 0 #FFFFFF,
-0.4px 0.4px 0 #FFFFFF,
0.4px 0.4px 0 #FFFFFF;
}

.label-default {
  text-shadow: none;
}

/* Entity Title elements */
.entity-grid>.entity-header.with-entity-banner .entity-breadcrumb, .entity-grid>.entity-header.with-entity-banner .entity-breadcrumb a,
.entity-header.with-entity-banner .entity-header-sub, .entity-grid>.entity-header.with-entity-banner .entity-icons
{
color: black;
font-weight: 700;
text-shadow:
  -0.4px -0.4px 0 #FFFFFF,
  0.4px -0.4px 0 #FFFFFF,
  -0.4px 0.4px 0 #FFFFFF,
  0.4px 0.4px 0 #FFFFFF;
}

.entity-title,
.entity-header-line {
  color: black;
  font-size: 1.1em;
  font-weight: 700;
  text-shadow:
    -0.4px -0.4px 0 #FFFFFF,
    0.4px -0.4px 0 #FFFFFF,
    -0.4px 0.4px 0 #FFFFFF,
    0.4px 0.4px 0 #FFFFFF;
}

entity-name-icons entity-name-icons-2,
.entity-name-icons-2,
.entity-header-sub pull-left,
.entity-header-sub,
.entity-header-sub-element,
.entity-header-sub-element .name,
.entity-header-sub-element .text,
.entity-header-sub pull-left .name,
.entity-header-sub .name,
.entity-name-icons {
color: black;
font-weight: 700;
font-family: Cinzel;
font-variant: small-caps;
font-size: large;
text-shadow:
-0.4px -0.4px 0 #ffffff,
0.4px -0.4px 0 #ffffff,
-0.4px 0.4px 0 #ffffff,
0.4px 0.4px 0 #ffffff;
}

/* Remove text shadow from dropdown menu text*/
.dropdown-menu{
text-shadow:0 0 black;
}

/* Restore popover colour to standard text colour */
.popover{
color: rgb(204, 199, 187);
}


/* Breadcrumbs */
.content-header > .breadcrumb > li{
color: rgb(41, 40, 38);
}

.content-header > .breadcrumb > li > a{
color: rgb(112, 110, 95);
}
.entity-header .entity-breadcrumb li+li:before,
.entity-grid>.entity-header.with-entity-banner .entity-header-sub, .entity-grid>.entity-header.with-entity-banner i.entity-icons,
.entity-header.with-entity-header .entity-header-sub,
.entity-header.with-entity-header i.entity-icons,
.entity-header.with-entity-header .entity-header-sub a,
.entity-grid>.entity-header.with-entity-banner .entity-header-sub a,
.entity-header.with-entity-header .entity-header-sub{
color:black;
}

/** plugin: Horizontal Timelines #2.1 code **/
/* BEGIN Salvatos Horizontal Timeline */
/** plugin: Horizontal Timelines #1.0 **/
@media (min-width:768px) {
	/* Set vars */
	.kanka-tag-horizontaltimeline {
		--sht-spine-color: #4494c4;
		--sht-spine-width: 5px;
		--sht-gutter: transparent;
		--sht-slider: #4494c4;
		--sht-marker-bg: var(--timeline-element-border); /* replace default grey markers, e.g. var(--sht-gutter) */
		--sht-marker-color: inherit; /* replace default grey markers */
		--sht-min-width: 300px;
		--sht-ideal-width: 15vw;
		--sht-max-width: 600px;
		--sht-hide-description: block; /* none|block */
	}
	/* UL as grid, flipped for scrollbar at the top */
	.kanka-tag-horizontaltimeline ul.timeline {
		display: grid;
		grid-auto-flow: column;
		justify-content: start;
		transform: rotateX(180deg);
		overflow-x: auto;
		scrollbar-color: var(--sht-slider) var(--sht-gutter);
		padding-bottom: 15px;
		margin: 0;
	}
	.kanka-tag-horizontaltimeline ul.timeline::before {
		content: unset;
	}
	/* LI sizing and timeline spine, content reflipped for scrollbar hack */
	.kanka-tag-horizontaltimeline .timeline > li {
		transform: rotateX(180deg);
		width: clamp(var(--sht-min-width), var(--sht-ideal-width), var(--sht-max-width));
		margin-right: 0;
		margin-bottom: 0;
		border-top: var(--sht-spine-width) solid var(--sht-spine-color);
	}
	/* Branch from spine to event marker */
	.kanka-tag-horizontaltimeline .timeline > li::before {
		display: block;
		position: absolute;
		left: 50%; /* centered? */
		left: 18px;
		top: 0px;
		width: 3px;
		height: 20px;
		background: var(--sht-spine-color);
	}
	/* Element marker position and style */
	.kanka-tag-horizontaltimeline .timeline > li > :is(.fa, .fab, .far, .fas, .ra) {
		left: calc(50% - 13px); /* centered? */
		left: 5px;
		top: 15px;
		background-color: var(--sht-marker-bg);
		color: var(--sht-marker-color);
	}
	/* Date position and style */
	.kanka-tag-horizontaltimeline .timeline > li .box-title .text-muted {
		position: absolute;
		top: -30px;
		left: 40px;
	}
	/* Timeline element styling */
	.kanka-tag-horizontaltimeline .timeline > li > .timeline-item {
		margin-top: 50px;
		margin-left: 0px;
	}
	/* Hide description if desired */
	.kanka-tag-horizontaltimeline .box-body.collapse.in,
	.kanka-tag-horizontaltimeline .box-body.collapsing {
		display: var(--sht-hide-description);
	}
	/* Get rid of right sidebar */
	.kanka-tag-horizontaltimeline .entity-sidebar {
		display: none;
	}
	.kanka-tag-horizontaltimeline .entity-story-block {
		grid-column: 2/span 2;
	}
	/* Hide tooltips from header links as they don't play nice with the grid */
	.kanka-tag-horizontaltimeline .box-title .tooltip {
		display: none !important;
	}
  	/* Restrict dropdown to element’s width, because the transforms mess with the stacking context */
	.kanka-tag-horizontaltimeline .timeline-item .dropdown-menu {
		left: 0;
		right: unset;
		float: unset;
		max-width: 100%;
	}
	.kanka-tag-horizontaltimeline .timeline-item .dropdown-menu > li > a {
		white-space: normal;
	}
	/* Webkit scrollbar patch */
	.kanka-tag-horizontaltimeline ul.timeline::-webkit-scrollbar {
		background-color: var(--sht-gutter);
	}
	.kanka-tag-horizontaltimeline ul.timeline::-webkit-scrollbar-thumb {
		background-color: var(--sht-slider);
	}
}
/* END Salvatos Horizontal Timeline */

/** plugin: Figure Box and Floats #1.2 code **/
/*Adds functionality to Salvatos' userscript plugin*/
:root {
	--summernote-insert-figure-box: enabled;
}

/*Left float with margin*/
.l {
	float: left;
	margin-left: 0.5em;
	margin-right: 0.5em;
}
/* Right float with margin*/
.r {
	float: right;
	margin-left: 0.5em;
	margin-right: 0.5em;
}
/*Adds a clear class to avoid a tetris stack*/
.clear {
    clear:both;
}

/*Figure box. For an image with optional title or subtitle*/
div.figure {
	width: 25%;
	text-align: center;
	font-style: italic;
	font-size: smaller;
	text-indent: 0;
	border: thin silver solid;
	margin: 0.5em;
	margin-top: 0em;
	padding: 0.5em;
}
/*adding margin to the figure image to give space for the text*/

.figure img {
	margin-bottom: 0.5em;
}
div.figure::after {
    clear: both;

}

/** plugin: Hexagon Entities #2.0 code **/
:root {
  --hexagon-images-variant-one: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTgycHgiIGhlaWdodD0iMjAxcHgiIHZpZXdCb3g9IjAgMCAxODIgMjAxIiB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiPgogICAgPCEtLSBHZW5lcmF0b3I6IFNrZXRjaCA2MC4xICg4ODEzMykgLSBodHRwczovL3NrZXRjaC5jb20gLS0+CiAgICA8dGl0bGU+aGV4YWdvbjwvdGl0bGU+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxnIGlkPSJQYWdlLTEiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxwYXRoIGQ9Ik01NS43ODU3ODg5LDE5MS40MDAyMDkgQzQ2LjU5MDM4NjYsMTkxLjQwMDIwOSAzNS43MjMwOTMsMTg0LjcxMjY0NCAzMC43MDc0MTksMTc3LjE4OTEzMyBMLTUuMjM4MjQ0NTEsMTE1LjMyOTE1NCBDLTEwLjI1MzkxODUsMTA2Ljk2OTY5NyAtMTAuMjUzOTE4NSw5NC40MzA1MTIgLTUuMjM4MjQ0NTEsODYuMDcxMDU1NCBMMzAuNzA3NDE5L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variant-one);
}

td > .entity-image, .entity-tooltip-avatar .entity-image, .user-image {
  border-radius: 0;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-image: var(--hexagon-images-use);
  mask-image: var(--hexagon-images-use);
}

/** plugin: Basics - Display Fix #0.1 beta code **/
/***********************/
/* INTEGRATED PLUGINS */

/** Plugin: No Fluff by felixnightshade (https: //marketplace.kanka.io/profiles/17967) **/

/* Removes "Boosted" text and boosted rocket */
strong.text-maroon,  strong.text-maroon~p.help-block, strong.text-maroon~br {display: var(--boosted-text-nofluff, none);}
.fas.fa-rocket, .label.label-default.bg-maroon.pull-right {display: var(--boosted-rocket-nofluff, none);}

/**********************************/
/********** GLOBAL PAGES *********/
/********************************/

/* Alert Notifications */
.alert-success, .bg-green, .callout.callout-success, .label-success, .modal-success .modal-body {margin-top: 20px;}

/* WRAPS AND WEBSITE CONTENT */
section.content-header {padding: 0px;}
section.content {padding-top:0px;}
.content-header ol.breadcrumb {padding: 15px 25px 10px 25px;}
.content-header h1 {padding: 0 0 15px 15px;}
.campaign-header {margin-bottom: 15px;}

/* Content Wrapper Fix */
.content-wrapper {min-height: calc(100vh - 50px) !important;}
.btn-block+.btn-block {margin-top: 10px;}
.help-block {margin-top: 15px;margin-left: 2px;}
.box-footer .help-block {display: inline-block; margin-left: 15px;margin-top: 0;}
.form-group .help-block {margin-top: 5px;}

/* Adding the pointer cursor on the checkboxes */
input[type=checkbox]:hover {cursor: pointer;}

/*****************/
/* MAIN SIDEBAR */

/* Reduce the default campaign-name size */
section.sidebar-campaign .campaign-name {font-size:16px;}

/* Fixed the Custom Links tab in .active mode */
li.active.sidebar-quick-links {background: none!important; box-shadow: none!important;}
li.active.sidebar-quick-links > a {background: rgba(0,0,0,.24)!important; box-shadow: inset 1px 2px 6px rgb(0 0 0 / 16%)!important;}

/* Removal of last update date */
.campaign-updated {display: none;}

/**********/
/* FORMS */

.nav-tabs-custom>.tab-content {padding: 20px;}
.form-group .form-control {border-radius: 4px;padding: 6px 10px;}

.selection .select2-selection {height: 33px;padding: 6px 10px;margin-top: 0;}
.select2-container--default .select2-selection--single .select2-selection__rendered {padding: 0;line-height: 2.4;margin-top: -6px;}
.select2-container--default .select2-selection--single .select2-selection__rendered .select2-selection__placeholder {color: var(--input-text-color);}
.select2-container--default .select2-selection--single .select2-selection__arrow {height: 100%;right: 8px;top: 0;}

.form-group label {margin-left: 2px;}
.form-group label input[type="checkbox"] {position: relative;top: 2px;margin-right: 3px;}
#main-content>section.content>div>form>div.panel-body>div.required:nth-child(2), #main-content>section.content>div>form>div.panel-body>div:nth-child(2)>p.help-block {margin-bottom: 0;}
textarea#tooltip::placeholder, .form-group input::placeholder {opacity: 0.65;}
.form-group label input[name="is_dead"] {position: relative;top: 1px;margin-right: 5px;}
.form-group input.image[type="file"] {padding-left: 6px;}
.entity-modification-history div.help-block, #entity-attributes-all .entity-attributes .help-block {margin-top: 0;}
#form-organisations div:first-child {margin-bottom: 15px;}
.panel .panel-body, .panel-body .form-group:last-child, .tab-content div.tab-pane.active div:not(.form-group):last-child, .tab-content div.tab-pane.active div:last-child .help-block {margin-bottom: 0; padding-bottom: 0;}

/***************************************/
/* ARTICLES, ENTITY, BOXES AND TABLES */

/** Headers **/

.entity-header-image > div {border-radius: 5px!important;}
.entity-grid .entity-header {grid-template-columns: 225px auto;}
.entity-grid .entity-header .entity-banner {min-height: 245px;}
.entity-grid .entity-header .entity-header-image {padding: 20px 0 0 25px !important;}
.entity-grid .entity-header.with-entity-banner .entity-header-image {padding: 20px 0 25px 25px !important;}
.entity-grid .entity-header .entity-header-text {padding: 25px 25px 0 20px !important;}
.entity-grid .entity-header.with-entity-banner .entity-header-text {padding: 25px 25px 25px 20px !important;}

/** Content **/

/* Internal margin of article content increased */
.box-body {padding: 10px 20px;}
.box-gallery .box-body {padding: 10px}
.entity-notes .box-body {padding: 8px 20px;}
.entity-grid .entity-submenu {padding-left: 25px;}
.entity-grid .entity-sidebar {padding-right: 25px;}

/* Formatting bulleted/number lists */
.entity-note-body li, .entity-grid .entity-content > ul > li {margin-bottom:10px;}
.entity-note-body > ul > li > ul > li:nth-child(1) {margin-top: 8px;}

/* Adding a margin at the bottom of the campaign title */
#campaign-dashboard .campaign-head {margin-bottom: 12px;}

/*********************************************/

/* Fixed the display of labels corresponding to numbers */
.entity-submenu > .hidden-xs > .box-solid > div > ul > li > a > span:not(.bg-maroon) {padding: 0.5em 0.6em 0.3em;}
.hidden-xs.hidden-sm ul > li > a > span.bg-maroon {padding: .5em .6em .3em;}

/* Do not display the "Entry"title of the first entry */
.box-entity-entry .box-header.with-border[id=""], .box-entity-entry .box-header.with-border:not([id]) {display: none;}

.entity-story-block .box-entity-entry:first-child,.entity-main-block .box-entity-entry:first-child {margin: 0;}

/* When the Input entity has content, add a margin below 20px */
.box-entity-entry > .entity-content {margin-bottom: 20px; padding-top: 15px;}

/* New grid proportions */
.entity-grid {grid-template-columns: 250px minmax(auto,calc(100% - 300px)) 250px;}

/* Correction of margins due to character traits */
#character-appearance-body p:nth-child(1), #character-appearance-body p:nth-child(2) {margin-top: 8px;}

/* Checkbox formatting on tables */
.table-striped > thead > tr > th:nth-child(1), .table-striped > tbody > tr > td:nth-child(1) {text-align:center;}
.table-striped > thead > tr > th:nth-child(1) > input, .table-striped > tbody > tr > td:nth-child(1) > input {cursor:pointer; height: 15px; width: 15px;opacity: 0.75;}

/* Footer */
footer.main-footer {padding-bottom: 0px!important;}
footer .footer-links {background-color: #fff!important;}

/* New border-radius on entity image */
a.entity-image {border-radius:10%;}

/** Permissions Category **/
#crud_permissions .row {margin-right: 15px;margin-left: 15px;}
#crud_permissions .row:not(:last-child) {padding-bottom: 15px;}
#crud_permissions .row hr {display: block;height: 20px;margin: 0 -15px 5px -15px;}

/****************/
/* ADMIN PANEL */

.element-live-reorder .element:last-child {margin-bottom: 0;}
#datagrid-parent .table tr th:first-child,#datagrid-parent .table tr td:first-child {padding-left: 20px;}

/* Campaign Title adjustement */
section.sidebar-campaign .campaign-block {padding: 120px 24px 0;}

/**********/
/* BOXES */

.box-header .box-title i {margin-right: 5px;}
.box-header {padding: 14px 10px 10px 20px;}
.box,.box-body,.box.box-solid,.sidebar-section-box {border-radius: 5px;}
.box-entity-story-reorder .box-body,.box-entity-story-reorder .box-footer, .box-profile {padding: 20px;}
.box-footer {line-height: 0px;}
.box .box-header i.pull-right {margin-right: 10px;}
.box .box-header i.fa-filter {margin-right: 5px;}

/* Fixing Footer Box Buttons Display */
.datagrid-bulk-actions .btn-group, .datagrid-bulk-actions #datagrids-bulk-actions-delete {margin-right: 5px}

/***********/
/* TABLES */

.table {margin-bottom: 0;}

/*********/
/* BODY */

/* Calendars */

.calendar-toolbar .calendar-current .btn {margin-left: 25px;}
.month-alias {float: none;margin-bottom: 0;font-size: 2rem;}

/* Conversations */

.box-conversation .box-comments .box-comment {margin: 0 0 20px 0;padding: 10px;}
.box-conversation .box-comments .box-comment:first-child {margin-top: 10px;}
.box-conversation .box-comments strong.user {display: inline-block;margin-bottom: 5px;}
.box-conversation .box-comments .box-comment .comment-text {padding-left: 10px;border-left: 2px solid #afafb940;}
.box-conversation .box-footer {padding: 20px 0;}

/******************/
/* RIGHT SIDEBAR */

/* Only used for adding a default background */
:root { --sidebar-section-background: var(--box-background); --sidebar-section-padding: 10px 15px 0px 15px;}

/* Redefinition of the sidebar fonts */
.sidebar-section-box .sidebar-section-title {border-bottom: none;}
.sidebar-section-box {margin-bottom: 20px;}
.list-group .list-group-item strong:first-child {display: inline-block;width: 100%;margin-bottom: 3px;}
.list-group .list-group-item span {float: left !important;}
.sidebar-section-box .sidebar-elements .element .title {font-size: 14px;font-weight: bold;text-transform: none;}
.sidebar-elements .element div.title {margin-bottom: 3px;}
.sidebar-elements .element {margin-bottom: 5px !important;}

/* Adding a separator between the different elements */
.sidebar-elements .element:not(:last-child) {border-bottom: 1px solid;border-color: var(--list-group-item-border); padding-bottom: 10px;}

/**********************/
/* RESPONSIVE DESIGN */

@media (max-width: 767px) {
    .entity-grid .entity-header {
        grid-template-columns: 120px minmax(auto, calc(100% - 120px));
    }
    .entity-grid .entity-header .entity-header-text {
        padding: 20px 25px 0 20px !important;
        align-self: start;
    }
    .entity-grid .entity-header .entity-banner {
        min-height: 150px;
    }

    .entity-grid .entity-submenu {
        padding: 0 15px;
    }

    .entity-note-body ul {padding-left: 20px;}

    .help-block {
        float: none;
        margin-top: 15px!important;
        margin-left: 0!important;
    }
}

/*****************************

Author : MisterHims
Created for : Kanka v1.27.0
Plugin Version : 0.1 beta

CREDITS :
felixnightshade - No Fluff - https://github.com/Xbozon/rpg-styled-ui - For the plugin
Davsama - For the idea and more &lt;3

*****************************/

/** plugin: New Dashboard #1.0 code **/
:root {
    --sky-dashboard--height: 300px;
    --sky-dashboard--photo: calc(var(--sky-dashboard--height) * .45);
    --sky-dashboard--text: calc(var(--sky-dashboard--height) * .55);
}

.panel .panel-heading-entity {
    transition: background 3s ease;
}

.panel-body {
    padding: 10px;
    padding-bottom: 0px;
}
.panel .panel-heading-entity h3 {
    height: 100%;
}

.map-dashboard {
    min-height: calc(var(--sky-dashboard--height) + 31px);
}

.panel {
    min-height:  calc(var(--sky-dashboard--height) + 32px);
}

.panel-heading-entity {
    height: var(--sky-dashboard--photo);
}

.widget-preview div[data-toggle="preview"],
.panel .panel-body .preview {
	max-height: var(--sky-dashboard--text); 
}

.panel .panel-body .preview-switch {
    position: relative;
}

@media (max-width: 992px) {
    .panel .panel-heading-entity {
        width: 35%;
        max-width: 150px;
        float: left;
        height: calc(var(--sky-dashboard--height) * 0.65);
        margin-right: 16px;
    }

    .panel {
	    min-height:  calc(var(--sky-dashboard--height) * 0.45);
    }
    
    .map-dashboard {
	    min-height: calc(var(--sky-dashboard--height) * 0.65);
    }

    .panel .panel-heading-entity h3 {
	    word-wrap: break-word;
    }
}

@media (min-width: 1501px) {
    .panel .panel-heading-entity {
        width: 35%;
        max-width: 150px;
        float: left;
        height: calc(var(--sky-dashboard--height) * 0.65);
        margin-right: 16px;
    }

    .panel {
	    min-height:  calc(var(--sky-dashboard--height) * 0.65);
    }
    
    .map-dashboard {
	    min-height: calc(var(--sky-dashboard--height) * 0.65);
    }

    .panel .panel-heading-entity h3 {
	    word-wrap: break-word;
    }
}

/** plugin: Stone Buttons #1.1 code **/
:root {
    --btn-default-border: rgba(0,0,0,0.33);
    --btn-default-hover-border: rgba(0,0,0,0.5);
    --btn-default-hover-text: white;
    --btn-default-hover-background: unset;
}
.btn-default, .btn-primary, .btn-warning, .btn-danger, .btn-success {
    color: white;
    background-color: unset;
    text-shadow: -1px 1px rgb(0 0 0 / 100%), 1px -1px rgb(0 0 0 / 50%);
    box-shadow: inset 0 -2px 0 rgb(0 0 0 / 50%), inset 2px 0 0 rgb(0 0 0 / 50%), inset 0 2px 0 rgb(255 255 255 / 50%), 0 3px 3px rgb(0 0 0 / 30%), 0 0 5px 2px rgb(0 0 0 / 20%), inset -2px 0 0 rgb(255 255 255 / 50%)!important;
}
.btn-primary {
    border-color: rgba(54,127,169,0.5);
}
.btn-warning {
    border-color: rgba(224,142,11,0.5);
}
.btn:hover, .btn:active {
    text-shadow: 1px -1px rgb(0 0 0 / 100%), -1px 1px rgb(0 0 0 / 50%);
}
.btn-default:hover, .btn-primary:hover, .btn-warning:hover, .btn-danger:hover, .btn-success:hover {
    background-color: unset;
    box-shadow: inset 0 2px 0 rgb(0 0 0 / 50%), inset -2px 0 0 rgb(0 0 0 / 50%), inset 0 -2px 0 rgb(255 255 255 / 50%), 0 3px 3px rgb(0 0 0 / 30%), 0 0 5px 2px rgb(0 0 0 / 20%), inset 2px 0 0 rgb(255 255 255 / 50%)!important;
}
.btn-default:active, .btn-default.active, .btn-primary:active, .btn-primary.active, .btn-warning:active, .btn-warning.active, .btn-danger:active, .btn-sucess:active {
    background-color: unset;
    box-shadow: inset 0 2px 0 rgb(0 0 0 / 50%), inset -2px 0 0 rgb(0 0 0 / 50%), inset 0 -2px 0 rgb(255 255 255 / 50%), 0 3px 3px rgb(0 0 0 / 30%), 0 0 5px 2px rgb(0 0 0 / 20%), inset 2px 0 0 rgb(255 255 255 / 50%)!important;
}
.btn-primary, .btn-primary:hover, .btn-primary:active, .btn-primary.active {
    border-color: rgba(54,127,169,0.75);
}
.btn-warning, .btn-warning:hover, .btn-warning:active, .btn-warning.active {
    border-color: rgba(224,142,11,0.75);
}
.btn-danger, .btn-danger:hover, .btn-danger:active, .btn-danger.active {
    border-color: rgba(191,83,41,0.75);
}
.btn-default {
    background-image: url(https://raw.githubusercontent.com/scanime/kanka/main/css/buttons-stone/stone.jpg)!important;
}
.btn-primary {
    background-image: url(https://raw.githubusercontent.com/scanime/kanka/main/css/buttons-stone/stone-primary.jpg)!important;
}
.btn-warning {
    background-image: url(https://raw.githubusercontent.com/scanime/kanka/main/css/buttons-stone/stone-warning-2.jpg)!important;
}
.btn-danger {
    background-image: url(https://raw.githubusercontent.com/scanime/kanka/main/css/buttons-stone/stone-danger.jpg)!important;
}
.btn-success {
    background-image: url(https://raw.githubusercontent.com/scanime/kanka/main/css/buttons-stone/stone-success.jpg)!important;
}

/** plugin: Dark Footer #2.0 code **/
/*Footer*/
#footer img.logo-white
.logo-white{
display: initial !important;
}

.logo-blue{
display: none;
}

div.footer-links {
    background-color:rgba(45, 51, 53,0.8);
}

/** plugin: Comfy Sunday #1.0 code **/
:root {
  --content-wrapper-background: unset;
  --footer-background: unset;
  --footer-links-background: rgba(255, 255, 255, 0.4);
  
  --box-background: rgba(255, 255, 255, 0.72);
  --box-border: 0;
  --box-footer-background: none;
  --box-footer-border-top: none;
  --submenu-hover-background: none;
  
  --comfy-accent: 183 65% 45%;
  --comfy-primary: 183 65% 70%;
  --comfy-secondary: 228 88% 79%;
  --comfy-warning: 33 72% 75%;
  --comfy-danger: 5 93% 78%;
  --comfy-radius: 15px;
  --comfy-sidebar: 183 28% 93%;
  
  --link-text: hsl(var(--comfy-accent)/1);
  --link-hover: hsl(var(--comfy-accent)/0.8);
  --sidebar-background: rgba(255, 255, 255, 0.5);
  --sidebar-link: hsl(212 58% 24%/1);
  --header-text: var(--body-text);
  --body-text: #485A6F;
}

body, a, h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', 'Source Sans Pro', 'Helvetica Neue', Helvetia, Arial, sans-serif;
}
body {
  line-height: 1.5;
  letter-spacing: revert;
}

#app {
  background-image: url('https://cdn-ugc.kanka.io/entities/files/LNTE5se7qH3gpeezAFfgsoSyoZX6vfBH6USYCxao.jpg');
  background-attachment: fixed;
  background-position: 50% 50%;
  background-size: cover;
}

.btn {
  border: 0;
  border-radius: var(--comfy-radius);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.125rem;
}
.btn:hover, .btn:focus {
  border: 0;
}
.btn-primary, .alert-primary, .callout-primary, .alert-info, .callout.callout-info {
  background-color: hsl(var(--comfy-primary)/1) !important;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:active {
  background-color: hsl( var(--comfy-primary)/0.8);
}
.btn-success, .alert-success, .callout-success {
  background-color: hsl(var(--comfy-secondary)/1) !important;
}
.btn-success:hover, .btn-success:focus, .btn-success:active {
  background-color: hsl( var(--comfy-secondary)/0.8);
}
.btn-danger, .alert-danger, .callout-danger {
  background-color: hsl(var(--comfy-danger)/1) !important;
}
.btn-danger:hover, .btn-danger:focus, .btn-danger:active {
  background-color: hsl( var(--comfy-danger)/0.8);
}
.btn-warning, .alert-warning, .callout-warning {
  background-color: hsl(var(--comfy-warning)/1) !important;
}
.btn-warning:hover, .btn-warning:focus, .btn-warning:active {
  background-color: hsl( var(--comfy-warning)/0.8);
}
.callout, .alert {
  border: 0 !important;
}

.box, .panel {
  box-shadow: none;
  border-radius: var(--comfy-radius);
}


.sidebar-creator, .entity-creator a {
  background-color: hsl(var(--comfy-accent)/1);
}
.main-sidebar .sidebar-menu li a:hover { 
  background: hsl(var(--comfy-accent)/0.4);
}
.main-sidebar .sidebar-menu li.active > a, .main-sidebar .sidebar-menu li.active.sidebar-section {
  background-color: hsl(var(--comfy-accent)/0.6);
}
.main-sidebar {
  font-weight: 400;
}
.main-sidebar .sidebar-menu li a, .main-sidebar .sidebar-menu li span {
  text-transform: revert;
  letter-spacing: 0;
  font-size: 0.825rem;
  line-height: 1;
}
.main-sidebar .sidebar-menu li ul.sidebar-submenu li {
  margin: 2px;
}
section.sidebar-campaign {
  background: none;
}
.sidebar {
  padding-top: 1rem;
}


.box .box-footer, .box .panel-footer, .panel .box-footer, .panel .panel-footer, .timeline-item .box-footer, .timeline-item .panel-footer, .popover .box-footer, .popover .panel-footer {
  border-top: none;
}
.box .box-header.with-border {
  border-bottom: none;
}

.element-live-reorder .element {
 background-color: hsl(var(--comfy-warning)/1); 
}
.sidebar-section-box .sidebar-section-title {
  border-bottom: none;
}

/** plugin: Bolder Names! #2.0 code **/
.entity-grid>.entity-header.with-entity-banner .entity-name, 
.entity-header .entity-name-header .entity-name {
margin: 0;
font-size: 2.5em;
display: inline-block;
padding: 0px 0px 10px;
color: black;
font-weight: 700;
font-family: Caesar Dressing;
font-variant: small-caps;
text-shadow:
-0.60px -0.60px 0 #ffffff,
0.60px -0.60px 0 #ffffff,
-0.60px 0.60px 0 #ffffff,
0.60px 0.60px 0 #ffffff;
}

