/** plugin: Scrollable Main Sidebar #1.10.1 code **/
/* BEGIN Scrollable Main Sidebar */
.main-sidebar {
  --sidebar-scrollbar-track-color: auto;
  --sidebar-scrollbar-slider-color: auto;
  --sidebar-scrollbar-width: thin;
}
@media (min-width:768px) {
	.main-sidebar {
		position: fixed;
      	margin-top: 3rem;
	}
	.main-sidebar .sidebar-menu {
		margin-bottom: 0;
	}
	/* Main site sidebar */
	body:not(#map-body) .main-sidebar .sidebar {
		height: calc(100vh - 160px - 6rem) !important;
		overflow-y: scroll;
		scrollbar-width: var(--sidebar-scrollbar-width);
		scrollbar-color: var(--sidebar-scrollbar-slider-color) var(--sidebar-scrollbar-track-color);
		margin-bottom: 0;
		padding: 0;
	}

	/* Webkit patch */
	body:not(#map-body) .main-sidebar .sidebar::-webkit-scrollbar {
		background-color: var(--sidebar-scrollbar-track-color);
	}
	body:not(#map-body) .main-sidebar .sidebar::-webkit-scrollbar-thumb {
		background-color: var(--sidebar-scrollbar-slider-color);
	}
}
/* END Scrollable Main Sidebar */

/** 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;
}

/** plugin: Elegant Music Embeds #1.0 code **/
/*Music  Embeds */
.panel-body iframe {
    width: 100%;
    height: 85px;
}

.box-body iframe {
    width: 100%;
    height: 85px;
}

/** plugin: Mention Type Indicators #1.5 code **/
.entity-mention::after {
	font-size: var(--mention-icon-size, 12px);
}
.entity-mention[href*="/characters/"]::after {
	content: " \f007";
	font-family: "Font Awesome 5 Pro";
	font-weight: 900;
}
.entity-mention[href*="/locations/"]::after {
	content: " \EAD2";
	font-family: RPGAwesome;
	font-weight: 400;
}
.entity-mention[href*="/maps/"]::after {
	content: " \f279";
	font-family: "Font Awesome 5 Pro";
	font-weight: 900;
}
.entity-mention[href*="/races/"]::after {
	content: " \EAEB";
	font-family: RPGAwesome;
	font-weight: 400;
}
.entity-mention[href*="/organisations/"]::after {
	content: " \EA03";
	font-family: RPGAwesome;
	font-weight: 400;
}
.entity-mention[href*="/families/"]::after {
	content: " \E99E";
	font-family: RPGAwesome;
	font-weight: 400;
}
.entity-mention[href*="/calendars/"]::after {
	content: " \f073";
	font-family: "Font Awesome 5 Pro";
	font-weight: 900;
}
.entity-mention[href*="/timelines/"]::after {
	content: " \f252";
	font-family: "Font Awesome 5 Pro";
	font-weight: 900;
}
.entity-mention[href*="/races/"]::after {
	content: " \EAEB";
	font-family: RPGAwesome;
	font-weight: 400;
}
.entity-mention[href*="/creatures/"]::after {
	content: " ";
	font-family: "RPGAwesome";
	font-weight: 400;
}
.entity-mention[href*="/quests/"]::after {
	content: " \EAE9";
	font-family: RPGAwesome;
	font-weight: 400;
}
.entity-mention[href*="/journals/"]::after {
	content: " \EA75";
	font-family: RPGAwesome;
	font-weight: 400;
}
.entity-mention[href*="/items/"]::after {
	content: " \E9DF";
	font-family: RPGAwesome;
	font-weight: 400;
}
.entity-mention[href*="/events/"]::after {
	content: " \f0e7";
	font-family: "Font Awesome 5 Pro";
	font-weight: 900;
}
.entity-mention[href*="/abilities/"]::after {
	content: " \E9C2";
	font-family: RPGAwesome;
	font-weight: 400;
}
.entity-mention[href*="/notes/"]::after {
	content: " \f518";
	font-family: "Font Awesome 5 Pro";
	font-weight: 900;
}
.entity-mention[href*="/tags/"]::after {
	content: " \f02c";
	font-family: "Font Awesome 5 Pro";
	font-weight: 900;
}

/** plugin: Hexagon Entities #2.0 code **/
:root {
  --hexagon-images-variant-one: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMTgycHgiIGhlaWdodD0iMj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SwxNjcuMTg5MTMzIEwzLjc2MTc1NTQ5LDEwNS4zMjkxNTQgQy0xLjI1MzkxODUsOTYuOTY5Njk3IC0xLjI1MzkxODUsODQuNDMwNTEyIDMuNzYxNzU1NDksNzYuMDcxMDU1NCBMMzkuNzA3NDE5LDE0LjIxMTA3NjMgQzQ0LjcyMzA5Myw1Ljg1MTYxOTY0IDU1LjU5MDM4NjYsMCA2NC43ODU3ODg5LDAgTDEzNS44NDExNywwIEMxNDUuMDM2NTczLDAgMTU1LjkwMzg2Niw2LjY4NzU2NTMxIDE2MC45MTk1NCwxNC4yMTEwNzYzIEwxOTYuODY1MjA0LDc2LjA3MTA1NTQgQzIwMS4wNDQ5MzIsODQuNDMwNTEyIDIwMS4wNDQ5MzIsOTYuOTY5Njk3IDE5Ni44NjUyMDQsMTA1LjMyOTE1NCBMMTYwLjkxOTU0LDE2Ny4xODkxMzMgQzE1Ni43Mzk4MTIsMTc1LjU0ODU4OSAxNDUuMDM2NTczLDE4MS40MDAyMDkgMTM1Ljg0MTE3LDE4MS40MDAyMDkgTDY0Ljc4NTc4ODksMTgxLjQwMDIwOSBaIiBpZD0iaGV4YWdvbi0yIiBmaWxsPSIjMDAwMDAwIiBmaWxsLXJ1bGU9Im5vbnplcm8iPjwvcGF0aD4KICAgIDwvZz4KPC9zdmc+);
  --hexagon-images-use: var(--hexagon-images-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.2 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 {
    /* old /* height: 33px */
    min-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: 25px !important;
    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;
}

/* 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;
    }
    .nav-tabs-custom .form-group {
            margin-bottom: 10px;
    }    
}

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

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

/** plugin: Background Image #1.1 code **/
:root {
--background-image: url(https://cdn-ugc.kanka.io/notes/8ly9AmgnOqMJecSFiLzSMMkItIdyK9TEKVO2WXbt.jpeg);
}

/* background image */
.wrapper {
  background: var(--background-image) !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
  background-position: right bottom !important;
  -webkit-background-size: cover !important;
  -moz-background-size: cover !important;
  -o-background-size: cover !important;
  background-size: cover !important;
}
.content-wrapper, .main-footer { background: none; }

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

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

/** plugin: Dead Characters #1.1 code **/
.character-dead {
   --background-image: url('https://kanka-mp-assets.s3.amazonaws.com/prod/plugins/227/images/EpXD4a4A1TZMzSxENyFFKQZQsmsGM4lOz0YXBZAt.jpg');
}

.character-dead #app {
   background-attachment: fixed;
   background-size: cover;
  background-repeat: no-repeat;
  background-position: right bottom;
}

/** plugin: Add Folder Icon to List Entities With Children in Nested View #1.2.1 code **/
.table-nested tr[data-children]:not([data-children="0"]) td:nth-child(1):after {
    content: "\f07c";
    font-family: 'Font Awesome 6 Pro';
    font-size: 1.2rem;
    padding-left: 13px;
    margin-right: -40px;
}

/** plugin: Round Entity Images #1.0 code **/
.entity-header .entity-image {

    border-radius: 100% !important;

}

/** plugin: Entry Box Backgrounds #1.0 code **/
.sidebar-section-box {
	--sidebar-section-background: var(--box-background);
	--sidebar-section-padding: 10px;
	border-radius: 3px;
	box-shadow: 0 1px 1px rgba(0,0,0,.1);
}

/** plugin: Bolder Headings! (Deprecated) #10.0 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,
.text-sm,
.entity-privacy-icon,
.btn-group, .btn-group-vertical {
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,
.entity-header .entity-breadcrumb li a{
color:black;
}

/** 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: Remove Image Shadow #1.0 code **/
.entity-header .bottom .entity-avatar img {
  box-shadow: none;
}

/** plugin: Dark Footer #3.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);     
    padding-bottom: 30px;
    padding-top: 40px; ;
	box-shadow: rgba(7, 7, 6, 0.05) 0px 1px 1px;
}

/** plugin: Waldue&#039;s Font Overhaul #1.2 code **/
/*This is a simple overhaul to the general fonts used for the headers*/
/*as well as the general text and the campaign name in the sidebar.*/

@import url('https://fonts.googleapis.com/css2?family=Hind+Guntur&display=swap');
@import url('https://fonts.googleapis.com/css2?family=IM+Fell+Great+Primer+SC&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative&display=swap');

/*if this does not work*/
/*import the fonts manually and put them on top of your CSS*/

/* Entity-Name with shadow */
.entity-name {
    display: inline-block;
    font-size: 36px;    
    color: #fff !important;
    text-shadow: 4px 4px 3px black !important;
}
/*end section*/

/*Font-size Entities */
.box-body {
    padding: 10px;
    font-size: 16px;
}
/*end section*/

/*Entity-Icon*/
.entity-header .entity-name-header i.entity-icons {
    margin-left: 10px;
    font-size: 18px;
    cursor: pointer;
    color: #fff;
}
/*end section*/

/*Entity-Icon below*/
.entity-header .entity-header-col .entity-header-sub {
    padding-top: 12px;
    color: #fff;
}
/*end section*/

/*ENTITY PAGE NAMES*/
.entity-actions h1 {
margin: 0;
padding: 1px 0px 4px 4px;
font-size: 28px;
letter-spacing: 0.40px;
display: inline-block;
text-align: center;
font-weight: 400;
font-family: 'Cinzel Decorative', cursive, 'Palatino Linotype', fantasy, 'Book Antiqua', Palatino, serif; }
/*END SECTION*/

/*THE FONT EVERYWHERE ELSE*/
body {
letter-spacing: .5px;
font-size: 16px;
font-family: 'Hind Guntur';
line-height: 1.45; }

body a, a, h4, h5, h6 { font-family: 'Hind Guntur'; }
/*END SECTION*/

/*new Sidebar Tweak mostly because I am just wildly trying out stuff*/
.main-sidebar .sidebar li .fa, .main-sidebar .sidebar li .fa-brands, .main-sidebar .sidebar li .fa-duotone, .main-sidebar .sidebar li .fa-light, .main-sidebar .sidebar li .fa-regular, .main-sidebar .sidebar li .fa-solid, .main-sidebar .sidebar li .fa-thin, .main-sidebar .sidebar li .fab, .main-sidebar .sidebar li .far, .main-sidebar .sidebar li .fas, .main-sidebar .sidebar li .ra {
  font-size: 16px;
  vertical-align: baseline;
}

.main-sidebar .sidebar-menu li a, .main-sidebar .sidebar-menu li span {
  font-size: 14px;
}

/*End of section*/

/*HEADERS IN ENTITY ARTICLES*/
h1, h2, h3, h4, h1 a, h2 a, h3 a, h4 a, #campaign-dashboard body a, #campaign-dashboard a { font-family: 'Cinzel Decorative'; }
/*END SECTION*/

/*Small dashboard widget fix*/

#campaign-dashboard .panel-body a, #campaign-dashboard .more a { 
font-family: 'Hind Guntur'; 
}
/*end section*/

/*SIDEBAR CAMPAIGN NAME */
section.sidebar-campaign .campaign-block .campaign-head .campaign-name {
font-family: 'IM Fell Great Primer SC';
font-size: 20px;
font-weight: inherit;
margin-bottom: 4px;
line-height: normal;
max-height: 35px; }
/*END SECTION*/

/** plugin: Subtler Color for Entity Mentions and Links #1.0 code **/
.entity-content a{
	color: #96afc6;
}

.entity-content a:hover{
	color: #A2D3FF;
}

/** 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;
    }
}

