:root{
	--background-color: #0b0b0d;
	--font-color: #ddd;
	--world-map: url('../images/Homebrew Map 9.jpg') no-repeat center center;
	--border-color: #ddd;
	--link-color: #88bcd6;
	--npc-name:  #D35050;
	--magic-item: #1877EC;
	--spell: #896CE0;
}
body{
	background: var(--background-color);
	color: var(--font-color);
	font-family: Roboto,Helvetica,sans-serif;
}
::-webkit-scrollbar {
		width: 3px;
        height: 3px;
	}

::-webkit-scrollbar-track,
.sidebar-menu .sidebar-scroll-menu::-webkit-scrollbar-track {
	background: transparent !important;
}
::-webkit-scrollbar-thumb,
.sidebar-menu .sidebar-scroll-menu::-webkit-scrollbar-thumb{
	background-color: var(--link-color);
	border-radius: 6px;
	border: none;
}
::-webkit-scrollbar-corner,
.sidebar-menu .sidebar-scroll-menu::-webkit-scrollbar-corner { 
    background: transparent;
}
.main-content{
	width: calc(100% - 350px);
    float: right;
    margin: 0px 0px;
    font-size: 16px;
}
a{
	text-decoration: none;
	color: var(--link-color);
	font-style: italic;
	font-weight: bold;
}
.magic-item{
	color: var(--magic-item);
}
.spell{
	color: var(--spell);
}
.side-menu {
    width: 300px;
    float: left;
    position: fixed;
    top: 20px;
    left: 35px;
    overflow-y: scroll;
    border: 1px solid var(--border-color);
    bottom: 24px;
}

.side-menu:after {
    content: '';
    position: fixed;
    bottom: 25px;
    height: 25px;
    width: 300px;
    z-index: 2000;
    background: linear-gradient(to top, var(--background-color) 20%, transparent);
}

.side-menu:before {
    content: '';
    position: fixed;
	top: 21px;
    height: 25px;
    width: 300px;
    z-index: 2000;
    background: linear-gradient(to bottom, var(--background-color) 20%, transparent);
}
.side-menu a{
	color: var(--link-color);
	font-style: unset;
} 
.side-menu .subsection-link a{
	font-size: 14px;
	font-weight: normal;
	line-height: 16.2px;
}

#editorjs{
	width: 100%;
	float: right;
	height: 1000px;
	border: 3px solid #ddd;
}
.side-menu ul{
	list-style-type: none;
	padding: 5px 0px 5px 20px;
}
.side-menu .world-menu-link ul{
	list-style-type: '-  ';
}
.side-menu .world-menu-link li::marker{
	color: var(--link-color);
}
.side-menu>ul{
	padding: 0px 0px 0px 0px;
}
.side-menu .world-menu-link{
	margin: 15px 0px 0px 10px;
	border-bottom: 1px solid #3333;
}
.side-menu .world-menu-link>a{
	font-weight: 700;
	font-size: 15px;
}
.world-map{
	width: fit-content;
    height: fit-content;
    border: 4px ridge #f4f4f4;
    margin: auto;
    position: relative;
}
div.pin {
    position: absolute;
    z-index: 100;
    height: 30px;
    width: 19px;
    background-size: cover;
    transform: translateY(-50%);
}
div.pin:hover{
	z-index: 101;
}
#CordeliaBoat.pin {
    height: 15%;
    width: 15%;
}
#feyportal.pin{
	height: 60%;
    width: 60%;
}
#IcewindDale .pin{
	height: 7%;
    width: 5%;
    filter: drop-shadow(0px 0px 1px #0Ffd) drop-shadow(2px 2px 1px #36fd) ;
}
.pinHoverBox{
	opacity: 0;
	position: absolute;
	width: fit-content;
	height: fit-content;
	min-width: 30vW;
	pointer-events: none;
	transition: opacity 250ms linear 250ms;	
    border: 3px ridge var(--border-color);
    box-shadow: -3px 3px 3px 0px #000;
}

.pinHoverBoxBackground{
	opacity: 0.8;
	background: var(--background-color);
	width: 100%;
	height: 100%;
	position: absolute;
	z-index: -1;
}
.pin:hover .pinHoverBox{
	opacity: 1;
}
.pin p{
	padding: 0px 20px;
	margin: 0 0 15px;
	line-height: 30px;
	font-size: 14px;
	color: var(--font-color);
	pointer-events: none;
	font-weight: normal;
	font-style: normal;
}
.worldDiv{
	padding: 5px;
}
.worldDiv>a{
	max-width: 90%;
    display: block;
    margin: auto;
}
.world-map img{
	max-width: 100%;
	max-height: 100%;
}
.title{
	font-size: 30px;
	margin: 10px 10px 0px 10px;
}

.title:after{
	content: '';
    width: 100%;
    margin: 5px auto 20px;
    height: 1px;
    background-color: var(--link-color);
    display: block;
}
.subsection .title{
	border-color: #ddd3;
}
#side-menu-list .preview{
 	width: 40px;
    height: 30px;
    top: -6px;
    background: var(--background-url) no-repeat center center;
    background-size: contain;
    float: right;
    position: relative;
}
.subsection{
	margin: 10px auto;
}
.npc-name{
	color: var(--npc-name);
}
.subsection .title{
	font-size: 20px;
}
.subsection blockquote p{
	padding: 0px 20px;
	margin: 0 0 15px;
	line-height: 30px;
}
.subsection blockquote p:first-child{
	margin: 15px 0px;
}
.subsection blockquote blockquote{
	margin: 15px 20px 15px;
}
.newNotes{
	display: none;
}
.text-wrap-image-left{
	float: left;
}
.subsection blockquote{
	overflow: auto;
	backdrop-filter: brightness(0.8);
	border: 1px solid var(--border-color);
	box-shadow: 2px 2px 4px 0px #000;
	border-radius: 5px;
	margin: auto;
}
.hamburger-side-menu{
	display: none;
}
.world-map img.max-image-quote-block,
.max-image-quote-block{
	max-width: 200px;
	max-height: 200px;
}
.hamburger-side-menu path{
	fill: var(--font-color);
}
.table-compendium td{
	border: 1px solid var(--border-color);
	padding: 10px;
	border-radius: 5px;

}
.table-compendium{
	margin: 10px;
	border-spacing: 5px;	
}
.table-compendium tr{
	background: var(--background-color);
	border-radius: 5px;
}
.table-compendium tr:nth-child(odd) td{
	backdrop-filter: brightness(0.8);  	
}
.table-compendium tr:nth-child(even) td{
	backdrop-filter: brightness(1.1);  
}
.table-compendium tr.completed{
	background: #0a01;  
}
@media(max-width: 1024px){
	.hamburger-side-menu{
		display: block;
		position: fixed;
		right: 20px;
		width: 30px;
		height: 29px;
		transition: right linear 250ms;
		background: #000d;
		border-radius: 5px;
		border: 1px solid var(--border-color);
		box-shadow: 1px 1px 3px -1px #000, inset 1px 1px 4px -1px #fff;
	}
	.hamburger-side-menu svg{
		transform: scale(0.6);
	    top: -9px;
	    left: -9px;
	    position: absolute;
	    pointer-events: none;
	}
	.hamburger-side-menu.menu-open{
		display: none;
	}
	.hamburger-side-menu{
		z-index: 100;
		cursor:pointer;
	}
	.hamburger-side-menu ~ .side-menu{
		right: -350px;
		transition: right linear 250ms;
	}
	.hamburger-side-menu.menu-open ~ .side-menu{
		right: 0px;
	}
	.main-content{
		width: 100%;
		margin: auto;

	}
	.side-menu{
		background:  var(--background-color);
		z-index: 100;
		left: unset;
		top: 0px;
		bottom: 0px;
	    border-bottom: none;
	    border-top: none;
	    box-shadow: -1px 0px 4px 2px #000;
	}
	.hamurger-side-menu-cover{
		display: none;
		background: #0006;
		width: 100vW;
		height: 100vH;
		z-index: 95;
	}

	.hamburger-side-menu.menu-open ~ .hamurger-side-menu-cover{
		display: block;
		position: fixed;
		top: 0;
		left: 0; 
	}
	.side-menu:after {
	    bottom: 0px;
	}

	.side-menu:before {
		top: 0px;                  
	}
}