:root {
--font-headings: "Old Fenris";
--font-base: Roboto, sans-serif;
--global--font-primary: var(--font-headings, Georgia, "Times New Roman", Times, serif);
--global--font-secondary: var(--font-base, "Open Sans", Helvetica, Arial, sans-serif);
--global--color-primary: #f0deb4;
--global--font-base: Roboto, "Open Sans", Helvetica, Arial, sans-serif
	--global--color-secondary: #fff;
	--global--color-primary-darker: #ebd8ab;
	--global--color-primary-darkest: #A99A7A;
	--global--color-background: #280201;
	--global--color-pd-nav: var(--global--color-primary);
	--global--color-pd-text: var(--global--color-secondary);
	--global--color-pd-footer: var(--global--color-primary);
	--global--color-pd-h: var(--global--color-primary);
--footer-color-text: var(--global--color-primary);
	--footer-color-link: var(--global--color-primary); 
--heading--font-size-h1: 2rem;
--heading--font-size-h2: 1.8rem;
--heading--font-size-h3: 1.6rem;
--heading--font-size-h4: 1.6rem;
}
@font-face {
font-family: "Old Fenris";
  src: url("https://planetdiablo.eu/d2dbneu/layout/fonts/oldfenris-regular-webfont.eot");
  src: url("https://planetdiablo.eu/d2dbneu/layout/fonts/oldfenris-regular-webfont.eot?#iefix") format("embedded-opentype"),
  url("https://planetdiablo.eu/d2dbneu/layout/fonts/oldfenris-regular-webfont.woff2") format("woff2"),
  url("https://planetdiablo.eu/d2dbneu/layout/fonts/oldfenris-regular-webfont.woff") format("woff"),
  url("https://planetdiablo.eu/d2dbneu/layout/fonts/oldfenris-regular-webfont.ttf") format("truetype"),
  url("https://planetdiablo.eu/d2dbneu/layout/fonts/oldfenris-regular-webfont.svg") format("svg");
  font-display: swap;
}

/* Roboto-Thin */
@font-face {
    font-family: Roboto;
    font-style: thin;
    font-weight: 100;
    src: url('https://planetdiablo.eu/d2dbneu/layout/fonts/Roboto-Thin.woff2') format('woff2'),  
         url('https://planetdiablo.eu/d2dbneu/layout/fonts/Roboto-Thin.woff') format('woff'), 
		url('https://planetdiablo.eu/d2dbneu/layout/fonts/Roboto-Thin.ttf')  format('truetype'); 
    font-display: swap;
}
/* Roboto-ThinItalic */
@font-face {
    font-family: Roboto;
    font-style: thin;
    font-weight: 100;
    src: url('https://planetdiablo.eu/d2dbneu/layout/fonts/Roboto-ThinItalic.woff2') format('woff2'),  
         url('https://planetdiablo.eu/d2dbneu/layout/fonts/Roboto-ThinItalic.woff') format('woff'), 
		url('https://planetdiablo.eu/d2dbneu/layout/fonts/Roboto-ThinItalic.ttf')  format('truetype'); 
    font-display: swap;
}

/* Roboto-Light */
@font-face {
    font-family: Roboto;
    font-style: light;
    font-weight: 300;
    src: url('https://planetdiablo.eu/d2dbneu/layout/fonts/Roboto-Light.woff2') format('woff2'), 
         url('https://planetdiablo.eu/d2dbneu/layout/fonts/Roboto-Light.woff') format('woff'), 
		url('https://planetdiablo.eu/d2dbneu/layout/fonts/Roboto-Light.ttf')  format('truetype'); 
    font-display: swap;
}
/* Roboto-LightItalic */
@font-face {
    font-family: Roboto;
    font-style: italic;
    font-weight: 300;
    src: url('https://planetdiablo.eu/d2dbneu/layout/fonts/Roboto-LightItalic.woff2') format('woff2'), 
         url('https://planetdiablo.eu/d2dbneu/layout/fonts/Roboto-LightItalic.woff') format('woff'), 
		url('https://planetdiablo.eu/d2dbneu/layout/fonts/Roboto-LightItalic.ttf')  format('truetype'); 
    font-display: swap;
}

/* Roboto-Regular */
@font-face {
    font-family: Roboto;
    font-style: normal;
    font-weight: 400;
    src: url('https://planetdiablo.eu/d2dbneu/layout/fonts/Roboto-Regular.woff2') format('woff2'), 
         url('https://planetdiablo.eu/d2dbneu/layout/fonts/Roboto-Regular.woff') format('woff'),  
		url('https://planetdiablo.eu/d2dbneu/layout/fonts/Roboto-Regular.ttf')  format('truetype'); 
    font-display: swap;
}
/* Roboto-Italic */
@font-face {
    font-family: Roboto;
    font-style: italic;
    font-weight: 400;
    src: url('https://planetdiablo.eu/d2dbneu/layout/fonts/Roboto-Italic.woff2') format('woff2'), 
         url('https://planetdiablo.eu/d2dbneu/layout/fonts/Roboto-Italic.woff') format('woff'),  
		url('https://planetdiablo.eu/d2dbneu/layout/fonts/Roboto-Italic.ttf')  format('truetype'); 
    font-display: swap;
}
/* Roboto-Medium */
@font-face {
    font-family: Roboto;
    font-style: medium;
    font-weight: 500;
    src: url('https://planetdiablo.eu/d2dbneu/layout/fonts/Roboto-Medium.woff2') format('woff2'), 
         url('https://planetdiablo.eu/d2dbneu/layout/fonts/Roboto-Medium.woff') format('woff'), 
		url('https://planetdiablo.eu/d2dbneu/layout/fonts/Roboto-Medium.ttf')  format('truetype'); 
    font-display: swap;
}
/* Roboto-MediumItalic */
@font-face {
    font-family: Roboto;
    font-style: italic;
    font-weight: 500;
    src: url('https://planetdiablo.eu/d2dbneu/layout/fonts/Roboto-MediumItalic.woff2') format('woff2'), 
         url('https://planetdiablo.eu/d2dbneu/layout/fonts/Roboto-MediumItalic.woff') format('woff'), 
		url('https://planetdiablo.eu/d2dbneu/layout/fonts/Roboto-MediumItalic.ttf')  format('truetype'); 
    font-display: swap;
}
/* Roboto-Bold */
@font-face {
    font-family: Roboto;
    font-style: bold;
    font-weight: 700;
    src: url('https://planetdiablo.eu/d2dbneu/layout/fonts/Roboto-Bold.woff2') format('woff2'), 
         url('https://planetdiablo.eu/d2dbneu/layout/fonts/Roboto-Bold.woff') format('woff'), 
		url('https://planetdiablo.eu/d2dbneu/layout/fonts/Roboto-Bold.ttf')  format('truetype'); 
    font-display: swap;
}
/* Roboto-BoldItalic */
@font-face {
    font-family: Roboto;
    font-style: italic;
    font-weight: 700;
    src: url('https://planetdiablo.eu/d2dbneu/layout/fonts/Roboto-BoldItalic.woff2') format('woff2'), 
         url('https://planetdiablo.eu/d2dbneu/layout/fonts/Roboto-BoldItalic.woff') format('woff'), 
		url('https://planetdiablo.eu/d2dbneu/layout/fonts/Roboto-BoldItalic.ttf')  format('truetype'); 
    font-display: swap;
}
/* Roboto-Black */
@font-face {
    font-family: Roboto;
    font-style: black;
    font-weight: 900;
    src: url('https://planetdiablo.eu/d2dbneu/layout/fonts/Roboto-Black.woff2') format('woff2'), 
         url('https://planetdiablo.eu/d2dbneu/layout/fonts/Roboto-Black.woff') format('woff'), 
		url('https://planetdiablo.eu/d2dbneu/layout/fonts/Roboto-Black.ttf')  format('truetype'); 
    font-display: swap;
}
/* Roboto-BlackItalic */
@font-face {
    font-family: Roboto;
    font-style: italic;
    font-weight: 900;
    src: url('https://planetdiablo.eu/d2dbneu/layout/fonts/Roboto-BlackItalic.woff2') format('woff2'), 
         url('https://planetdiablo.eu/d2dbneu/layout/fonts/Roboto-BlackItalic.woff') format('woff'), 
		url('https://planetdiablo.eu/d2dbneu/layout/fonts/Roboto-BlackItalic.ttf')  format('truetype'); 
    font-display: swap;
}
/* Nobile-Regular */
@font-face {
    font-family: Nobile;
    font-style: normal;
    font-weight: 400;
    src: url('https://planetdiablo.eu/d2dbneu/layout/fonts/Nobile-Regular.woff2') format('woff2'), 
         url('https://planetdiablo.eu/d2dbneu/layout/fonts/Nobile-Regular.woff') format('woff'),  
		url('https://planetdiablo.eu/d2dbneu/layout/fonts/Nobile-Regular.ttf')  format('truetype'); 
    font-display: swap;
}
/* Nobile-Italic */
@font-face {
    font-family: Nobile;
    font-style: italic;
    font-weight: 400;
    src: url('https://planetdiablo.eu/d2dbneu/layout/fonts/Nobile-Italic.woff2') format('woff2'), 
         url('https://planetdiablo.eu/d2dbneu/layout/fonts/Nobile-Italic.woff') format('woff'),  
		url('https://planetdiablo.eu/d2dbneu/layout/fonts/Nobile-Italic.ttf')  format('truetype'); 
    font-display: swap;
}
/* Nobile-Medium */
@font-face {
    font-family: Nobile;
    font-style: medium;
    font-weight: 500;
    src: url('https://planetdiablo.eu/d2dbneu/layout/fonts/Nobile-Medium.woff2') format('woff2'), 
         url('https://planetdiablo.eu/d2dbneu/layout/fonts/Nobile-Medium.woff') format('woff'), 
		url('https://planetdiablo.eu/d2dbneu/layout/fonts/Nobile-Medium.ttf')  format('truetype'); 
    font-display: swap;
}
/* Nobile-MediumItalic */
@font-face {
    font-family: Nobile;
    font-style: italic;
    font-weight: 500;
    src: url('https://planetdiablo.eu/d2dbneu/layout/fonts/Nobile-MediumItalic.woff2') format('woff2'), 
         url('https://planetdiablo.eu/d2dbneu/layout/fonts/Nobile-MediumItalic.woff') format('woff'), 
		url('https://planetdiablo.eu/d2dbneu/layout/fonts/Nobile-MediumItalic.ttf')  format('truetype'); 
    font-display: swap;
}
/* Nobile-Bold */
@font-face {
    font-family: Nobile;
    font-style: bold;
    font-weight: 700;
    src: url('https://planetdiablo.eu/d2dbneu/layout/fonts/Nobile-Bold.woff2') format('woff2'), 
         url('https://planetdiablo.eu/d2dbneu/layout/fonts/Nobile-Bold.woff') format('woff'), 
		url('https://planetdiablo.eu/d2dbneu/layout/fonts/Nobile-Bold.ttf')  format('truetype'); 
    font-display: swap;
}
/* Nobile-BoldItalic */
@font-face {
    font-family: Nobile;
    font-style: italic;
    font-weight: 700;
    src: url('https://planetdiablo.eu/d2dbneu/layout/fonts/Nobile-BoldItalic.woff2') format('woff2'), 
         url('https://planetdiablo.eu/d2dbneu/layout/fonts/Nobile-BoldItalic.woff') format('woff'), 
		url('https://planetdiablo.eu/d2dbneu/layout/fonts/Nobile-BoldItalic.ttf')  format('truetype'); 
    font-display: swap;
}
.site .button, button, input[type="submit"], input[type="reset"], .wp-block-search .wp-block-search__button, .wp-block-button .wp-block-button__link, .wp-block-file a.wp-block-file__button {
line-height: 0.8em;
}
input[type="text"], input[type="email"], input[type="url"], input[type="password"], input[type="search"], input[type="number"], input[type="tel"], input[type="date"], input[type="month"], input[type="week"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="color"], .site textarea {
padding: 6px;
}
select {
padding: 6px 30px 6px 6px;
}

body {
background-image: url(https://planetdiablo.eu/de/wp-content/uploads/2021/04/metal-bgsmaller-darker.jpg);
background-repeat: repeat;
}
body.blog #content #main.site-main:first-child, body.blog #content #main.site-main:first-child, body.page-template-default #content #main.site-main:first-child, body.single #content #main.site-main:first-child {
	margin-top: 160px;
} 
a, p, block, blockquote, q, quote, input {
font-family: var(--font-base);
font-weight: 400;	
	margin-top: 1rem;
	margin-bottom: 1rem;
}

.site-main h1, .site-main h1 a, .site-main h2,.site-main h2 a, .site-main h3,.site-main h3 a, .site-main h4,.site-main h4 a, .site-main h5,.site-main h5 a, .site-main h6, .site-main h6 a{
font-family: var(--font-headings);
font-weight: 400;
color: var(--global--color-primary);
}
.site-main h1, .site-main h2, .site-main h3, .site-main h4, .site-main h5, .site-main h6 {
margin-top: 2rem;
margin-bottom: 1rem;	
}

#content.site-content {
border-color: var(--global--color-background);
border-style: solid;
border-image-source: url("https://planetdiablo.eu/wp-content/uploads/2021/04/site-content-background.png");
border-image-slice: 30;
border-image-repeat: repeat;
border-image-width: 12px 0;
border-image-outset: 0;
box-shadow: 0 -5px 25px 0 rgba(204,26,26,0.2);
background: url("https://planetdiablo.eu/wp-content/uploads/2021/04/wallpaper-d3-raven-bg2.jpg") top left / 100% no-repeat #1c0201;
}
.site-content .site-main article {
			color: var(--global--color-secondary);
		}
.widget-area {
	margin-top: calc(0.666 * var(--global--spacing-vertical))}

blockquote::before, .wp-block-pullquote::before {
	content: "";
}
blockquote p{
font-weight: 400;
font-size: inherit;	
margin-left: 1.5rem;
}
blockquote  {
display: inline-box;
font-weight: 400;
font-size: inherit;
border-top: 8px solid #741613;
border-bottom: 1px solid #741613;
background-color: #540603;
margin-left: 1.5em;
margin-right: 1em;
}
blockquote cite, .wp-block-pullquote cite {
color: grey;
padding-top: 20px;
font-size: var(--pullquote--font-size);
font-weight: 500;
}
.wp-block-pullquote {
	padding: 2em;
	border: 0;
	font-weight: 500;
font-size: var(--pullquote--font-size);
}

nav.pagination {
	border-top: 0;
}
.blog .site-main article, .page-template-default .site-main article, .single .site-main article {
background-image: url(https://planetdiablo.eu/wp-content/uploads/2021/04/pergament2.jpg);
background-position: center top ;
background-repeat: repeat-y;
margin-bottom: 0;
margin-top: 0;
padding-bottom: 0;
position: relative;
}

.site-main article figure.post-thumbnail {
max-width: 45em;
}
.site-main article figure.post-thumbnail img:hover {
border: 1px solid #660000;
box-shadow: 0 0 30px rgba(200, 0, 0, 0.4);	
}
.page-template-default .site-main .attachment-post-thumbnail:first-of-type {
border: 4px solid #52161b;
border-style: groove;
}

.blog .site-main article:first-of-type .entry-header, .page-template-default .site-main article .entry-header.alignwide, .page-template-default .site-main article .entry-header {
position: relative;
}
.blog .site-main article:nth-of-type(1) .entry-header:before  {
content: '';
    position: absolute;
    top: -22px;
    left: 50%;
    width: 45em;
    height: 104px;
    background-image: url("https://planetdiablo.eu/wp-content/uploads/2021/05/skulltop4.png");
    background-repeat: no-repeat;
    transform: translate(-50%, -50%);
}
.blog .site-main article:nth-of-type(1) .entry-header h2.entry-title, .single-post .site-main article .entry-header h2.entry-title, .singular .site-main article .entry-header h1 {
padding-top: 40px;
}
.page-template-default .site-main article:nth-of-type(1) .entry-header:before, .single-post .site-main article:nth-of-type(1) .entry-header:before  {
content: '';
    position: absolute;
    top: -3px;
    left: 49%;
    width: 656px;
    height: 38px;
	background-image: url("https://planetdiablo.eu/wp-content/uploads/2021/05/top-border7.png");
background-repeat: no-repeat;
transform: translate(-50%, -50%);
}

.blog .site-main article .entry-footer {
padding-bottom: calc(2 * var(--global--spacing-vertical))
}
.page-template-default article .entry-header {
border-bottom:none;
padding-top: calc(2 * var(--global--spacing-vertical));
}
.singular .entry-header {
	margin-bottom: 10px;
}
.site-main article .entry-content p {
margin-top: calc(0.333 * var(--global--spacing-vertical));
}

.data-menu li a, article .entry-header .entry-title a {
	text-decoration: none;
}
.site-main header.entry-header.alignwide {
max-width: min(calc(100vw - 8 * var(--global--spacing-horizontal)), 45em;);
margin-left: auto;
margin-right: auto;	
}
.site-main article .entry-content h {
margin-top: calc(1.6 * (var(--global--spacing-vertical)));
}
.site-main article .entry-content p {
margin-top: calc(0.666 * var(--global--spacing-vertical));
}
.site-main article .entry-content a, .site-main a.blue {
color: #ADD8E6;
text-decoration: none;
}
.site-main article .entry-content a:visited, .site-main a.blue:visited {
color: #a9a9a9;
}
.site-main article .entry-content a:hover, .site-main a.blue:hover {
text-decoration: underline;
}

.single .site-main article .entry-footer, .site-main article .entry-footer {
border-width: 0;
background: url("https://planetdiablo.eu/wp-content/uploads/2021/04/trenner_1.png") 50% 0% no-repeat; 
}
.site-main article h.entry-title {
	margin-top: 10px;
}
.blog .site-main article .entry-footer {
border-width: 0;
	background: url("https://planetdiablo.eu/wp-content/uploads/2021/04/trenner_1.png") 50% 100% no-repeat; }


.site-main article .entry-footer.default-max-width {
border-top-color: #a9a9a9;

}

.site-main article .entry-footer, .site-main article .entry-footer a {
	color: #a9a9a9;
	text-decoration:none;
}

.site-footer > .site-info {
	border-top: 0;
}
.site-main .entry-content article table, .site-main .entry-content th, .site-main .entry-content td {
  border: 1px solid #510920;
}
.site-main  article .entry-content details {
	display:flex;
}
.site-main  article .entry-content details summary {
margin-top: 30px;	
display:inline-block;
align-self: flex-end;
}
div.nav-links {
opacity: 0.7;
}
div.nav-links:hover, div.nav-links:active, div.nav-links:focus {
	opacity: 1;
}
div.nav-links p.post-title {
	font-size: 1.3rem;
}
button.sub-menu-toggle {
	position: relative;
}
button.sub-menu-toggle span {
color: #280201;
}
button.sub-menu-toggle:focus span {
color: #480201;	
}
.primary-navigation>div>.menu-wrapper>li>.sub-menu:before,.primary-navigation>div>.menu-wrapper>li>.sub-menu:after{
	content:"";display:block;position:absolute;width:0;top:-10px;left:var(--global--spacing-horizontal);border-style:solid;border-color:#333 , transparent; border-width:0 7px 10px 7px;
 }
.primary-navigation>div>.menu-wrapper>li>.sub-menu li, .primary-navigation>div>.menu-wrapper>li>.sub-menu li a {
	background: transparent;
}

.primary-navigation>div>.menu-wrapper>li>.sub-menu  {
border: 2px solid #400;
border-style: groove;
background-image: url("https://planetdiablo.eu/wp-content/uploads/2021/04/metal-bgsmaller-darker.jpg");
background-repeat: repeat;
}
.primary-navigation ul {
background-color: inherit;
padding: 0;}

td, th {
border-color: #fff;
}
div.runetext {
	font-size: 80%;
}
/* (A) ACCORDION WRAPPER */
.awrap {
  padding: 0;
  margin: 0;
  list-style: none;
}

/* (B) HEADER TABS */
/* (B1) TAB ITSELF */
.ahead {
  position: relative;
  cursor: pointer;
  padding: 10px;
  background: #45070E;
  color: var(--global--color-primary);
  border-bottom: 2px solid #111;
  max-width: 30%;
  border-top: 2px solid #45070e;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  }

/* (B2) RIGHT ARROW */
.ahead:after {
  position: absolute;
  content: "\25b6";
  right: 10px;
  transition: transform 0.2s;
}

/* (C) CONTENT TABS */
/* (C1) TAB ITSELF - CLOSED BY DEFAULT */
.abody {
  overflow: hidden;
  transition: all 0.2s ease-out;
  max-height: 0;
  height: auto;
  color: var(--global--color-primary);
}

/* (C2) OPEN TAB - DOWN ARROW */
.ahead.open:after { transform: rotate(90deg); }

/* (C3) OPEN TAB - SHOW CONTENT */
.ahead.open + .abody {
  max-height: 800px;
  padding: 10px;
  max-width: auto;
}
table.runes, table.runesearch {
display:flex;
font-size: 90%;
border: none;
border-width: 0;
}

table.runes * {
border: none;
border-width: 0;
}
table.runes tr.headr, table.runesearch tr.headr, table.flexunique tr.headr {
background-color: #5f0000;
}
table.runes table td {
border: 1px solid #fff;	
text-align: center;
background: transparent;
}
table.runes table td.headr {
background-color: #7f0000;
}
table.runes td.rwbottom {
background-color: #333;
text-align: left;
}
td.runeindex span {
padding-left: 2em;	
}
td.runeindex span.uber{
padding-left: 0;
font-weight: 700;
color: #a00;
padding-left: 0;	
}
	
td.runeindex input, td.runecatcher input{
padding: var(--form--spacing-unit) calc(3 * var(--form--spacing-unit)) var(--form--spacing-unit) var(--form--spacing-unit);}
td.runeindex form select, td.runecatcher form select {
line-height: calc( 0.7 * var(--global--line-height-body));}

table.craftbox {
	display: flex;
	font-size: 90%;
	max-width: 35em;
	margin: 0.3em 0 0.3em 0;
}
table.craftbox tr.header {
background-color: #7f0000;
}
.craftbox.deadly tr:last-of-type {background-color: #628257;}
.craftbox.deadly span {display:block;}

article.datatable td:nth-of-type(3){
color: #bbb;}
article.datatable td:nth-of-type(4) {
color: var(--global--color-primary);}

article.datatable table ul {
margin-left: 0;
padding-left: 10px;
}
article.datatable table li {
line-height: 2.3rem;
font-size: 1em;
list-style: none;
margin-left: 0;
}
article.datatable table li::before
 {
	 padding-right: 5px;
	content: "\27A4";
}
article.datatable table.twocols td{
width: 50%;	
}
form.multiple table tr{
display: flex;
max-width: 45em;
}
form.multiple table td {
display: flex-item;
width: 50%;
}
form.multiple
table td {
vertical-align: top;
}
td>h4 {
margin-top: 1em;
padding-bottom: 2em;
}

form#drop table tr.header {
background-color:#45070E;
}
form#drop table tr.one {
background-color:#2E2927;	
}
form#drop table tr.two {
background-color:#151515;
}

form.multiple label {
display: block;
}
form.multiple label input[type=Radio]{
vertical-align: middle;
}
details {
display: inline-block;
margin: 0 auto;
color: #FFAE19;
cursor: pointer;
}
details table {
color: var(--global--color-secondary);
}

#content.site-content {
border-image-width: 1px;
	}		
.site-main header.entry-header.alignwide {
max-width: min(calc(100vw - 8 * var(--global--spacing-horizontal)), );
margin-left: auto;
margin-right: auto;	
		}
.primary-menu-list > li {
font-family: "Old Fenris" Georgia, "Times New Roman", Times, serif;	
}
.primary-navigation .primary-menu-container > ul > li a::before {
content: "\2742";
color: #c21807;
padding-right: 0.5em;
}

.primary-navigation .primary-menu-container > ul > li.no-child a::before {
content: "";
padding-right: 1.3em;
}
.primary-navigation .primary-menu-container > ul > li > ul a::before {
content: "\2742";
color: #ff2400;
padding-right: 0.5em;
}
.primary-navigation .primary-menu-container > ul > li > ul a::before:hover,  .primary-navigation .primary-menu-container > ul > li > ul a::before:hover, .primary-navigation .primary-menu-container > ul > li > ul a::before:active,  .primary-navigation .primary-menu-container > ul > li > ul a::before:active{
content: "\2742";
color: #280201;
padding-right: 0.5em;
}

.primary-navigation .primary-menu-container > ul > li > ul li.no-child a::before {
content: "";
padding-right: 1.3em;
}		
		
.primary-navigation ul li {
position:relative;
}
.primary-navigation .primary-menu-container > ul > li.menu-item > ul, .primary-navigation .primary-menu-container > ul > li.menu-item > ul.sub-menu ul
		{
position:absolute;
margin-left: 5000px;
}

.primary-navigation .primary-menu-container > ul > li.menu-item:focus-within ul, .primary-navigation .primary-menu-container > ul > li.menu-item ul li:focus-within ul {
position:static;
margin-left: 0;
background-color: #550201;
}

.site-content .site-main	article	.singular .entry-header {
			border-bottom: 0;
		}		
.site-main article .overflowtable .wp-block-table.is-style-stripes table tr td:nth-of-type(3),	.site-main article .overflowtable .wp-block-table.is-style-stripes table tr th:nth-of-type(3)   {
			display:none;
			width:0;
        height:0;
        opacity:0;
        visibility: collapse;   
		}
		.site-main .entry-content article .overflowtable .wp-block-table table tr th:nth-of-type(3), .site-main .entry-content article .overflowtable .wp-block-table table tr td:nth-of-type(3){
		display:none;
			width:0;
        height:0;
        opacity:0;
        visibility: collapse;  		
		}
	
/* Styles fuer database zusaetzlich */
body, main, article {margin: auto;} 
.main article table {
border-width: 0;
border-color:var(--global--color-background);
}
.databody .page {
	margin: 20px 0;
}
div#wrapper-db {
display:block;
min-height: 10px;
margin: auto;
overflow: visible;
max-width: 75em;
}
img.logo { 
 display: block; 
 margin: 0px auto; 
 width: 400px; 
}
.site-main .baseitem {color: #fdfdfd;}
.site-main .magicitem {color: #4850B8;}
.site-main .rareitem { color: #FFFF00;}
.site-main .crafteditem {color: #FF8000;}
.site-main .setitem {color: #00C400;}
.site-main .setbox .d2green {color: #0cad0c;}
.site-main .setbox .d2blue {color: #f9d399;}
.site-main .uniqueitem, .site-main span.d2gold {color: #908858;}
.site-main .redalert {color: #FF0000;}
.site-main .greyback {background-color: #333;}
.site-main .bordered {
	border: 1px solid #756C55;
	padding: 0.5em;
	background-color: #290602;
}
.site.main .margint3em {margin-top:3em;}
.site-main .bordered span {
display: block;}

.site-main .tamer {
max-width: 55em;
margin: auto;
}
p.floatleft, span.floatleft, div.floatleft, img.floatleft {
float: left;
}
article.datatable td:nth-of-type(3){
color: #bbb;}
article.datatable td:nth-of-type(4) {
color: var(--global--color-primary);}

form.multiple table tr{
display: flex;
max-width: 45em;

}
form.multiple table td {
display: flex-item;
width: 50%;
}

td>h4 {
margin-top: 1em;
padding-bottom: 2em;
}

.databody .entry-header h1 span {
font-size: 1.3rem;	
}
.databody  main {
margin: auto;
display: border-box;
}
.databody h1.welcome {
	display: inline-block;
}
.databody #skilllist table, .databody #skilllist td {
vertical-align: middle; }

.databody #skilllist select {
background-color: #45070E;
color: #CBC1AB;
}
.databody #skilllist select {
appearance: listbox;
min-width: 3rem;
color: var(--global--color-primary); 
}
.databody #skilllist h4 {
padding-top: 1.6rem;
}
.databody #skilllist textarea {
background-color: #45070E;
color: #CBC1AB;
}
.databody div.thanks {
margin-top: 0;
}
.databody div.thanks span {
padding-right: 0.5rem;
}
.databody div.thanks p span::after {
content: ",";
}
.databody div.thanks p span:last-of-type::after {
content: "";
}
form label {
display: block;
}
input[type=Radio]{
vertical-align: middle; 
padding: 0.15em; }

div#sk_points {
	padding-top: 30px;	
}
#skilllist{
background: linear-gradient(0deg, rgba(42,1,1,1) 0%, rgba(19,5,1,1) 50%, rgba(42,1,1,1) 100%);
padding-bottom: 2em;
max-width: 100vw;
}
.databody #skilllist table
{
	max-width: 100vw;
}
.databody #skilllist table, .databody #skilllist table tbody, .databody #skilllist table td, .databody #skilllist table tr {
border-collapse: collapse;
border-width: 0;
border: none;
}
.databody .site-main span.skillsheader, .databody .site-main  span.skillsheader+p  {
display: block;
text-align: center;
margin-top: 2em;
margin-bottom: auto;
}

.databody .site-main span.skillsheader+p {
	margin-bottom: 1.5em;
}

.databody span.sk_chosen, .databody span.sk_normal {
	padding: 0.33em;
	}
.databody span.sk_chosen {
	font-size: 1.4rem;
	text-shadow: 2px 2px 10px #F7C23D;
	display: inline-block;
	box-shadow: 3px 3px 50px 3px grey;
	
}
.databody form#skilllist {
	border-top: 2px solid #700;
	padding-top: 0;
	margin-top: 0;
	margin-bottom: 10px;
	padding-bottom: 10px;
}
.databody .site-main ul {
list-style-type: none;
}
/* Menu für Planetdiablo Database D2R */

nav#pdmenu {
display:flex;
justify-content: center;
align-items: center;
height: 3em;
background: none;
background-color: #111;
width: auto;
height: auto;
 }
 
#pdmenu ul {
width: auto;	
height: auto;
background-color: transparent;
background-image: none;
background-color: #111;
}

#pdmenu label.hamburg {
background:  #290602 url(https://planetdiablo.eu/de/wp-content/uploads/2021/07/planetdiablo-database-logo.png) no-repeat 50% 50%;
color: #433;
width: 100%;
}
#pdmenu .main-menu {
  display: none;
}
#pdmenu .main-menu img{
padding-left: 0.5em;
}	

#tm:checked + .main-menu {
  display: block;
}

#pdmenu input[type="checkbox"], #pdmenu ul span.drop-icon {
  display: none;
}

#pdmenu li, 
#toggle-menu, 
#pdmenu .sub-menu {
  border-style: solid;
  border-color: rgba(0, 0, 0, .05);
  }

#pdmenu li, 
#toggle-menu {
  border-width: 0 0 1px;
}

#pdmenu .sub-menu {
  border-width: 1px 1px 0;
  margin: 0 1em;
}

#pdmenu .sub-menu li:last-child {
  border-width: 0;
}

#pdmenu li, 
#toggle-menu, 
#pdmenu a  {
  position: relative;
  display: block;
  color: white;
  text-shadow: 1px 1px 0 rgba(0, 0, 0, .125);
  line-height: 1.2em;
  margin-top: 0.1em;
  margin-bottom: 0.1em;
}
#pdmenu li a, #pdmenu input {
margin: 0;	
}
#pdmenu .sub-menu li a {
text-align: left;	  
  }


#toggle-menu, 
#pdmenu a {
  padding: 0.5em 1em;
  text-decoration: none;
}
#pdmenu .main-menu > li > a
{border-bottom: 1px solid #666; 
height: 2.5em;
}
#pdmenu li a:first-letter {
font-size: 1.3rem;
color: #9c0000;
}
#pdmenu .sub-menu li a:first-letter {
font-size: 1.3rem;
color: #e42a2a;
}
#pdmenu .main-menu > li > a {
font-family: Roboto;
  font-weight: 700;
  font-style: normal;
  color: #a9a7a6;	
  padding: 1em;
 background-color: transparent;
}
#pdmenu .main-menu > li > a:hover, #pdmenu .main-menu > li > a:focus { 
color: white;
}
#pdmenu .main-menu > li > a:hover:first-letter, #pdmenu .main-menu > li > a:focus:first-letter { 
color: red;
}
nav#pdmenu .sub-menu li a {
font-family: Roboto;
  font-weight: 700;
  font-style: normal;	
color: #c2c0c0;	
margin: 0;
}

nav#pdmenu .sub-menu li a:hover, nav#pdmenu .sub-menu li a:focus {
box-shadow: inset  0 -4px 0 0 rgba(255, 0, 0, 0.7);
color: white;	
background-image: none;
background-color: transparent;
}
nav#pdmenu .sub-menu li a:hover:first-letter, nav#pdmenu .sub-menu li a:focus:first-letter {
color: red;	
}
#pdmenu .sub-menu a.legacy {
background-color: rgba(255,0,0,0.3);
}  
#pdmenu .sub-menu {
	 display: none;
}
#pdmenu li.dp{
background-image: url(https://planetdiablo.eu/d2dbneu/layout/schraubenschl3-.webp);	
background-position: 95% 10%;
background-repeat: no-repeat;
}
#pdmenu .sub-menu a.legacy {
background-color: rgba(170,0,0,0.3);
} 

#pdmenu input[type="checkbox"]:checked + .sub-menu {
  display: block;
}
#toggle-menu .drop-icon, 
#pdmenu li label.drop-icon {
  position: absolute;
  right: 0;
  top: 0;
}
#pdmenu ul.sub-menu li label.drop-icon {
right: 0em;	
}

#pdmenu label.drop-icon, #toggle-menu span.drop-icon {
  padding: 0.15em 0.75em 0.15em 0.75em;
  font-size: 2em;
  text-align: center;
  background-image: linear-gradient(rgba(240, 0, 0,0.5) 60%, rgba(70, 0, 0, 0.7) 99%);
  text-shadow: 0 0 0 transparent;
  color: rgba(255, 0, 0, 1);
  border: 2px solid rgba(110, 0, 0, .9);
  margin-top: 0.1em;
}
#toggle-menu span.drop-icon.hamburg2 {
  font-weight: 700;
  color: var(--global--color-primary);
  padding-bottom: 0.25em;
  padding-top: 0.25em;
  background-image: none;
  border: 0;
     }
.cf:before,
.cf:after {
    content: " "; 
    display: table; 
}

.cf:after {
    clear: both;
}

#wrapper-db form table th {
	background-color: #5e0101;
}
form[name="items_skills"] table, form[name="allg"] table, form[name="nec_merc"] table, form[name="skills_mon"] table, form[name="results"] table {
	float:left;
	margin-bottom: 0.5em;
}
form[name="items_skills"]::after, form[name="allg"]::after, form[name="nec_merc"]::after, form[name="skills_mon"]::after, form[name="results"]::after {
	content: "";
	clear: left;
	display:table;
}

form[name="items_skills"] table, form[name="allg"] table, form[name="nec_merc"] table, form[name="skills_mon"] table, form[name="results"] table, form[name="item_skills"] table td, form[name="allg"] table td, form[name="nec_merc"] table td, form[name="skills_mon"] table td, form[name="results"] table td {
	width: auto;
	font-size: 1rem;
	padding: 2px;
}
form[name="item_skills"] input, form[name="allg"] input, form[name="nec_merc"] input,  form[name="skills_mon"] input, form[name="results"] input  {
	padding: 2px;
	margin: 0 2px;
}
form[name="item_skills"],  form[name="allg"], form[name="nec_merc"], form[name="skills_mon"] , form[name="results"] {
margin: 1em;
}
 
.site-main .centered, .centered {
text-align: center;
}
.site-main h2.centered span {
	font-weight: bold;
}
.site-main .toppings h1 {
	margin-top: 0.7em;
	margin-bottom: 0.7em;
	text-shadow: 5px 5px 10px black;
}
.toppings+p {
	margin: 0.3em;
}
.databody footer {
	border: 12px solid;
	min-height: 5em;
	width: 100%;
	background: url(https://planetdiablo.eu/de/wp-content/uploads/2021/07/planetdiablo-database-logo.png) 10px 10px no-repeat, url(https://planetdiablo.eu/d2dbneu/layout/pdmenu_bg2.webp) top left repeat;
	background-color: #2a0101;
	border-image-source: url(https://planetdiablo.eu/d2dbneu/layout/site-content-background.png);
	border-image-slice: 30;
	border-image-width: 12px 0 0 0;
	border-image-repeat: repeat;
	text-align: center;
	color: #A99A7A;
}
.databody .flexcenter  {
display: flex;
flex-wrap:wrap;
justify-content: center;
width: 100%;
}
footer ul.flexcenter li, footer ul.flexcenter li a, footer div, footer p {
font-family: Roboto;
font-weight: 700;	
color: #a9a7a6;
font-size: 0.9rem;
font-style:bold;
}	
.databody footer ul {
		padding-top: 3em;
}
.databody footer a {
color: var(--global--color-primary-darkest);
text-decoration: none;
	}
.databody footer a:hover, .databody footer a:focus {
text-decoration: underline;
color: var(--global--color-primary);
}	
	
.databody ul.flexcenter li, .databody ol.flexcenter li {
	display: inline-block;
	margin: 0 1em;
}
.databody ol.flexcenter {
	margin: 0.5em;
}

/* ItemDB Styles */
.auswahl {
display: flex;
flex-wrap : wrap;
justify-content: center;
gap: 12px;
}
.itembox {
text-align: center;
min-width: 330px;
max-width: 30em;
min-height: 20em;
max-height: 500px;
}
.databody .leftalign {
	display: block;
	text-align: left;
	margin-top: 3em;
	width: 350px;
}

.itembox.fork {
background-color: #332504;
min-width: 250px; 
max-width: 25em;
min-height: 15em;
max-height: 300px;
padding-top: 3em;
font-weight: bold;
font-size: 1.3em;}

.itembox.unique {
background:
	 radial-gradient(
      circle at top left,
      rgba(121,90,2, 0.5), 
      transparent 200px
    ),
    radial-gradient(
      circle at top right,
      rgba(228, 187, 58, 0.5), 
      transparent 300px
    ),
    radial-gradient(
      at bottom left,
      rgba(228, 185, 58, 0.5), 
      transparent 300px
    ),
    radial-gradient(
      at bottom right,
      rgba(228, 184, 58, 0.5), 
      transparent 300px
    ),
	url("https://planetdiablo.eu/d2dbneu/itemdb/webp/hintergrund_unique_search_75tr.webp") no-repeat right bottom ;
	}
.itembox.unique.horad {
background: #332504 url("https://planetdiablo.eu/d2dbneu/itemdb/webp/horadric_cube_bg.webp") no-repeat center;	
}
.itembox.sets {
background:
	 radial-gradient(
      circle at top left,
      rgba(41, 164, 7, 0.5), 
      transparent 200px
    ),
    radial-gradient(
      circle at top right,
      rgba(41, 164, 7, 0.5), 
      transparent 300px
    ),
    radial-gradient(
      at bottom left,
     rgba(41, 164, 7, 0.5), 
      transparent 300px
    ),
    radial-gradient(
      at bottom right,
     rgba(41, 164, 7, 0.5), 
      transparent 300px
    ),
	url("https://planetdiablo.eu/d2dbneu/itemdb/webp/hintergrund_set_search_75tr.webp") bottom right no-repeat;
	}
.itembox.baseitems, .itembox.runeindex {
background:
	 radial-gradient(
      circle at top left,
      rgba(167, 167, 167, 0.5), 
      transparent 200px
    ),
    radial-gradient(
      circle at top right,
     rgba(167, 167, 167, 0.5), 
      transparent 300px
    ),
    radial-gradient(
      at bottom left,
   rgba(167, 167, 167, 0.5), 
      transparent 300px
    ),
    radial-gradient(
      at bottom right,
    rgba(167, 167, 167, 0.5), 
      transparent 300px
    ),
	url("https://planetdiablo.eu/d2dbneu/itemdb/webp/hintergrund_base_items_75tr.webp") bottom right no-repeat;
	}	
.itembox.affixe {
background:
	 radial-gradient(
      circle at top left,
      rgba(216, 208, 45, 0.5), 
      transparent 200px
    ),
    radial-gradient(
      circle at top right,
     rgba(40, 47, 190, 0.5),
      transparent 300px
    ),
    radial-gradient(
      at bottom left,
    rgba(32, 40, 192, 0.5),
      transparent 300px
    ),
    radial-gradient(
      at bottom right,
    rgba(196, 90, 10, 0.5),
      transparent 300px
    ),
	url("https://planetdiablo.eu/d2dbneu/itemdb/webp/hintergrund_affixe1_75tr.webp") bottom right no-repeat;
	}	
.itembox.gemsrunes, .itembox.gemindex {
background:
	 radial-gradient(
      circle at top left,
      rgba(206, 198, 25, 0.5), 
      transparent 200px
    ),
    radial-gradient(
      circle at top right,
      rgba(126, 17, 11, 0.5), 
      transparent 300px
    ),
    radial-gradient(
      at bottom left,
    rgba(32, 34, 182, 0.5),
      transparent 300px
    ),
    radial-gradient(
      at bottom right,
    rgba(2, 206, 211, 0.5),
      transparent 300px
    ),
	url("https://planetdiablo.eu/d2dbneu/itemdb/webp/hintergrund_gems_runen_75tr.webp") bottom right no-repeat;
	}	

	.itembox.drinkex {
background:
	 radial-gradient(
      circle at top left,
      rgba(11, 123, 166, 0.5), 
      transparent 200px
    ),
    radial-gradient(
      circle at top right,
      rgba(11, 123, 166, 0.5), 
      transparent 300px
    ),
    radial-gradient(
      at bottom left,
       rgba(11, 123, 166, 0.5),
      transparent 300px
    ),
    radial-gradient(
      at bottom right,
       rgba(11, 123, 166, 0.5), 
      transparent 300px
    ),
	url("https://planetdiablo.eu/d2dbneu/itemdb/webp/hintergrund_drinkex_75tr.webp") bottom right no-repeat;
	}	
.itembox.craft {
background:
	radial-gradient(	
      at bottom left,
    rgba(32, 40, 192, 0.5),
      transparent 300px
    ),	
	radial-gradient(
      circle at top left,
      rgba(216, 208, 45, 0.5), 
      transparent 200px
    ),
    radial-gradient(
      circle at top right,
     rgba(40, 47, 190, 0.5),
      transparent 300px
    ),
       radial-gradient(
      at bottom right,
    rgba(196, 90, 10, 0.5),
      transparent 300px
    ),
	url("https://planetdiablo.eu/d2dbneu/itemdb/webp/hintergrund_affixe1_75tr.webp") bottom right no-repeat;
	}	
	
.itembox h3 {
font-size: 1.6rem;
}	
.itembox h4, .itembox p, .itembox span {
display: inline-block;
background: rgba(0,0,0,0.3);
margin-top: 0;
padding-top: 0.3em;
margin-bottom: 0;
}
.itembox span {
width: 100%;
}
.itembox h4 a {
text-decoration: 1px dotted;
color: white; 
}
.itembox input {
display:inline-block;
margin-top: 0.5em;
padding: 0.5em;
}

.listitembox
 {
display:flex;
flex-wrap: wrap;
gap: 0.4em;
width: auto;
min-width: 25rem;
height:auto;
border: 2px solid #3d3d3d;
background-color: #200100;
padding: 0.5em;
font-size: 80%;
}
.auswahl.pot, .hora .auswahl {
justify-content: left;
}
.auswahl.pot .listitembox {
max-width: 37rem;	
}

.auswahl.pot .listitembox div:nth-of-type(1){
flex: 2.5 1 0;
}
.auswahl.pot .listitembox div:nth-of-type(2){
flex: 7.5 1 0;
}
.auswahl.pot .listitembox span {
	display:block;
	}
.auswahl.pot .listitembox span:nth-of-type(1) {
	font-weight: 700;
	}
.auswahl.pot .listitembox p span:nth-of-type(1) {
	font-weight: 500;
	}	
	
.auswahl.pot .listitembox span span{
	display:inline;
	font-weight: 700;
	}

div.itembox.runebox {
	max-width: 50rem;
	min-width: 45rem;
}	
.runebox div:nth-of-type(1) 
{flex: 1 1 0;
text-align: center;
line-height: 1em;
margin-bottom: 0.5em;
}
.runebox div:nth-of-type(2)
{flex: 1 1 0;
border-left: 1px solid #900;
border-right: 1px solid #900;
text-align: center;}
.runebox div:nth-of-type(3)
{flex: 2 1 0;
border-right: 1px solid #900;
text-align: center;}
.runebox div:nth-of-type(4) 
{flex: 4 1 0;}
.runebox div:nth-of-type(5)
{
border-top: 1px solid #900;	
flex-basis: 100%; 
margin-bottom: 0;
}

.runebox p:nth-of-type(1) {
	font-weight: 700;
}
.runebox div:nth-of-type(3) p+p, .runebox div:nth-of-type(3) p+p+p {
margin-top: 0;}
.runebox div:nth-of-type(3) p+p+p {
margin-top: -1.3em;}
.runebox div:nth-of-type(5) p {
font-weight: 700;
color: var(--global--color-primary-darker);
margin-bottom: 0;
padding-bottom: 0;
line-height: 1em;
margin-top: 1em;
}
.runebox div:nth-of-type(4) span {
	display: block;
}
.runebox div:nth-of-type(5) span {
font-weight: 500;
}

.listitembox img {
width: 98px;
height: 98px;
margin: 0.5em;
}
div.listitembox.gembox {
display:flex;
min-height: 340px;
min-width: 35em;	
}
div.listitembox.runebox img, div.listitembox.gembox img  {
width: 50px;
height: 50px;	
margin: 0.5em;
}
div.listitembox.gembox div:nth-of-type(1){
flex: 2 1 0; 
}
div.listitembox.gembox div:nth-of-type(2){
flex: 8 1 0; 
}

div.gembox span {
display: block;
}
div.gembox span:first-of-type {
font-weight: 700;
}
div.runebox {
	height:auto;
	min-height: 330px;
	margin-bottom: 1em;
}
.runebox a {
	text-decoration: none;
	color: #B5C2DB;
}
.runebox a:hover, .runebox a:focus {
	text-decoration: none;
	color: #f44336;
}
div.listitembox.runebox:nth-of-type(3) img {
margin: 0;
}
div.listitembox.horabox3, div.listitembox.horabox2  {
	min-width: 35em;
	min-height: 350px;
}
div.listitembox.horabox2 div:nth-of-type(1)  {
flex: 7 1 0; 
border-right: 1px solid #900;
}
div.listitembox.horabox2 div:nth-of-type(2)  {
flex: 3 1 0; 
background-color: #430302;
}
div.listitembox.horabox2 div:nth-of-type(3)  {
flex-basis: 100%; 
border-top: 1px solid #900;
}
div.listitembox.horabox3 div:nth-of-type(1)  {
flex: 4 1 0;
border-right: 1px solid #900 }
div.listitembox.horabox3 div:nth-of-type(2)  {
flex: 2 1 0;
background-color: #430302;
border-right: 1px solid #900 }
div.listitembox.horabox3 div:nth-of-type(3)  {
flex: 4 1 0; 
}	

div.listitembox.horabox2 img, div.listitembox.horabox3 img {
	width:auto;
	height: auto;
	margin: 0;
	padding-left: 0.3em;
	display: inline;
}
div.listitembox.horabox2 div span:nth-of-type(1), div.listitembox.horabox3 div span:nth-of-type(1) {
	display:block;
	font-weight: 700;
	padding-bottom: 1em;
}
div.listitembox.horabox3 div:nth-of-type(2) span {
text-align: center;
}
div.listitembox.horabox2 div span:nth-of-type(2), div.listitembox.horabox3 div span:nth-of-type(2) {
display:block;	
}
div.listitembox.horabox2 div:nth-of-type(1) span:nth-of-type(1), div.listitembox.horabox2 div:nth-of-type(1) span:nth-of-type(2), div.listitembox.horabox3 div:nth-of-type(1) span:nth-of-type(1), div.listitembox.horabox3 div:nth-of-type(1) span:nth-of-type(2) {
padding-bottom: 1em;
border-bottom: 1px solid #900;
background-color: #2d0201;
margin-bottom: 1em;
}
div.listitembox.horabox2 div:nth-of-type(1) span:nth-of-type(1),div.listitembox.horabox3 div:nth-of-type(1) span:nth-of-type(1) {
	border: none;
	margin-bottom: 0;
}
div.listitembox.horabox2 div:nth-of-type(3) span {
font-size: 80%;
font-weight: normal;
color: var(--global--color-primary-darker); }

div.listitembox.horabox2 div:nth-of-type(2) img {
	display: block;
	padding-top: 2em;
}
.site-main div.hora a[id] {
position: relative;
top: -4em;
}
.site-main div.hora a, .site-main div.hora li a {
text-decoration: none;
color: #B5C2DB;
}
.site-main div.hora a:hover, .site-main div.hora a:focus {
text-decoration: none;
color: #f44336;
}
.databody .site-main div.hora h3 {
margin-top: 3em;	
margin-bottom: 1em;
}
div.listitembox.runebox{
	width: 37.75em;
	min-height: 24em;
}
div.listitembox {
width: 26em;
min-height: 12em;
}
table.setbox, table.settopbox { border: 0;
box-shadow: rgba(55,165,7, 0.45) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.5) 0px 18px 36px -18px inset;
background: url(baseitems_bg.webp) repeat;
}
table.settopbox tr, table.setbox tr {
display:flex;
width: 100%;
}
table.settopbox td:nth-child(1), table.setbox td:nth-child(1) {
width: 30%;
min-width:auto;
flex-direction: row nowrap;
padding: 1em;
background-color: black;
}

table.settopbox td:nth-child(2), table.setbox td:nth-child(2) {
width: 70%;
min-width:auto;
padding: 1em;
}
table.setbox td, table.settopbox td {
padding: 1em;
border: 1px solid #908858;
}

table.settopbox thead, table.setbox thead{
margin-bottom: 1em;
background-color: #024702;
height: auto;	
}
table.settopbox thead tr td:nth-child(1), table.setbox thead tr td:nth-child(1) {
background-color: #024702;
border-right: 0;
}
table.settopbox thead tr td:nth-child(2), table.setbox thead tr td:nth-child(2) {
border-left: 0;
}

table.settopbox h4, table.setbox h4 {margin: 0; padding: 0 1em 0 1em; text-align: left; }
table.settopbox tbody tr:nth-child(1) td { display: none;}
table.setbox img {padding-top: 3em;}

ul.toplist {
	display: grid;
	justify-content: left;
	flex-wrap: wrap;
	grid-template-columns: repeat(3, 20vw);
}
div.affixtable {
	display: grid;
	grid-template-areas: "charms  jewelry"
                         "armor   weapons";
       grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	   gap: 0.5em;
	   max-width: calc(100vw - 1em);
	   text-align: left;
	   
}
.site-main div.affixtable h4 {
	margin-top: 0;
	margin-bottom: 2em;
	width: 100%;
	height: 3rem;
	border-bottom: 1px solid #522;
}
div.affixtable div {	
min-height: 5em;
border: 1px solid var(--global--color-primary-darker);
padding: 1em;
background: var(--global--color-background) url("webp/background_schmuck.webp") no-repeat 90% 5% ;	
}
div.affixtable div:nth-of-type(2) {background-image: url("webp/background_charms.webp");}
div.affixtable div:nth-of-type(3) {background-image: url("webp/background_ruestung.webp");}
div.affixtable div:nth-of-type(4) {background-image: url("webp/bolts.webp");}


div.affixtable span.affbutton {
	display: inline-block;
	padding: 0.5em;
	padding-top: 0.25em;
	min-width: 12em;
		}

span.affbutton > input[type="radio"] {
margin-left: 5px;
}		
span.affbutton label {
vertical-align: baseline;
}
div.affixtable div:nth-of-type(1) span.affbutton, div.affixtable div:nth-of-type(2) span.affbutton
{
min-width:8em;
}
div.affixc {
	margin-top: 1em;
	padding: 1em;
}
div.affixc span {
padding: 0.3em;
margin-right: 0.3em;
margin-top:0.3em;	
}
div.affixc:first-child {
	margin-left: -1em;
	}
ul#aff {
	display:table;
}
.site-main .affmenu {
display:inline-block;
padding:0.5em;
margin: 0.3em;
}	
.site-main .affmenu a {
text-decoration: none;
color: #B5C2DB;
font-weight: bold;
}
.site-main .affmenu a:hover, site-main.affmenu a:hover  {
color: #f44336;
}

div.flexfolge, div.affcraft, div.affrare, div.affmagic {
display: flex;
min-height: 5em; 
text-align: left;
justify-content: left;
flex-direction: column;
}
div.flexfolge div {
flex-basis: fit-content;
 min-width: 200px; 
} 
div.flexfolge div:nth-of-type(1) { order: 1;}
div.flexfolge div:nth-of-type(2) { order: 3;}
div.flexfolge div:nth-of-type(3) {
order: 6;
position:relative;
z-index:2;
box-shadow: 0px -4em #722;
}
div.flexfolge div:nth-of-type(4) { order: 2;}
div.flexfolge div:nth-of-type(5) { order: 4;
margin-bottom: 2em; margin-top: 2em;}
div.flexfolge div:nth-of-type(6) {
order: 5;
position:relative;
z-index:3;
}

div.flexfolge div:nth-of-type(3) {
	height: 2em;
	padding-bottom: 0;
	max-width: 53.1em;
	}
.site-main div.flexfolge div:nth-of-type(5) p {
	margin-bottom: 0.3em;
	margin-top: 0.3em;
	line-height: 1em;
}
div.flexfolge div:nth-of-type(6) {
	padding-bottom: 0.3em;
	padding-top: 0.5em;
	max-width: 53.1em;
	}

div.affcraft div:nth-of-type(2), div.affrare div:nth-of-type(2), div.affmagic div:nth-of-type(2) {
margin-bottom: 2em;
}
div.affcraft div:nth-of-type(3), div.affrare div:nth-of-type(3), div.affmagic div:nth-of-type(3) {
margin-bottom: 2em;
}
div.affcraft div:nth-of-type(3) span, div.affrare div:nth-of-type(3) span, div.affmagic div:nth-of-type(3) span { 
display:block;	
}
div.affmagic div:nth-of-type(6) {
margin-bottom: 2em;}
div.affmagic div:nth-of-type(6) {
margin-bottom: 2em;}
div.affmagic div:nth-of-type(6) span {display:block; }
div.affmagic div:nth-of-type(2) {order: 7;}

table.flextable {display:flex;}

table.flextable td {
	padding: 0.25em;
	border-color: #756C55;
	text-align: center;
}
table.flextable tr {
background-color: #422;
}
table.flextable tr.one {
background-color: #383434;
}
table.flextable tr.two {
background-color: transparent;
}
table.flextable tr.header {
box-shadow: 0px -4em #722;	
}
table.flextable tr td:nth-child(2) {
}
table.flexunique {
width: auto;
display: flex;
justify-content: center;
}
table.flexunique td {
border-color: #908858;	
}

.site-main table tr td col.c02, .site-main table.flextable tr td col.c03, .site-main table.flextable tr td col.c04 {
visibility:collapse;	
}
div.setin, div.baseitems, div.uniqueitems {
display: flex;
flex-wrap: wrap;
border: 0;
justify-content: center;
}
div.setin {
flex-flow: row-reverse wrap;
 }
div.setin div {
flex: 1 1 20em;
padding: 1em;
margin: 0.5em 1em;
border: 3px groove #474;
background: url(baseitems_bg.webp) repeat;
box-shadow: rgba(55,165,7, 0.45) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.5) 0px 18px 36px -18px inset;
}
div.setin div h4{margin: 0 1rem; padding: 1em;}
div.setin span {
display:block;
padding: 1em;
margin: 0 1em;
}

.setin .setitem a {
color: #00C400;
text-decoration: none;
}
.setin .setitem a:hover {
text-decoration: dotted underline #47f547 1px; 
color: #47f547;
}
div.baseitems div, div.uniqueitems div {
flex: 1 1 auto;
padding: 1em;	
margin: 0.5em;
background: 
url(baseitems_bg.webp) repeat-y;
border: 3px groove #777;
max-width: 12em;
box-shadow: rgba(128,128,128, 0.25) 0px 30px 60px -12px inset,
 rgba(0, 0, 0, 0.5) 0px 18px 36px -18px inset;
}
div.uniqueitems div, table.flexunique .uniglow {
box-shadow: rgba(229,193,0, 0.25) 0px 30px 60px -12px inset, rgba(0, 0, 0, 0.5) 0px 18px 36px -18px inset;
}
div.baseitems h4, div.uniqueitems h4 {
font-size: 1.1em;	
color: #ddd;
margin: 0 0 1.5em 0;
text-shadow: 2px 2px 8px #aaa;
}
div.uniqueitems h4 {
color: #908858;	
text-shadow: 2px 2px 8px #473C00;
}
div.uniqueitems div:nth-child(1) h4 {
margin-top: 2em;
margin-bottom: 0em;	
}

div.baseitems span, div.uniqueitems span {
display: block;
margin-bottom: 0;
padding: 0;	
}
div.uniqueitems div:nth-child(1) h4:first-of-type {
margin-bottom: 0em;	
margin-top: 0;
}

div.baseitems a, div.uniqueitems a {
text-decoration: none;
}

div.baseitems a:hover, div.uniqueitems a:hover {
text-decoration: underline var(--global--color-primary) 1px;	
}
table.basedisplay {margin-top:0.5em}
.site-main table.basedisplay h4 {
margin: 1em 0 0 0;
padding-left: 0.8em;
color: #eee;
}
table.basedisplay h4+p::first-line {
line-height: 6em;
}
table.basedisplay p {
margin-top:-4.8em;
padding-left: 1em;
}


div.quality {
padding: 0 1em;	
margin-bottom: 0.5em;
background-color: #333;
}
div.quality a {
display: inline-block;
padding: 0 1em;
}
div.quality span {
display: inline-block;	
background-color: transparent;
padding: 0 0.5em;
}
div.quality span.curr {
font-weight: 700;
background-color: #722;
}
.site-main div.quality span:focus, .site-main div.quality a:focus {
	background: #ccc;
	display: border-box;
	color #722;
}

.site-main td.tooltip a {position: relative; display:inline-block;}
.site-main td.tooltip a span {
position: absolute;
z-index: 5;
opacity: 0;
top: -2.5em;
left: -5em;
border: 1px solid grey;
background-color: #f00;
color: #fff;	
}

.site-main td.tooltip a:hover span, .site-main td.tooltip a:focus span {
opacity: 1;
width: 15em; 
}

@media screen and (min-width: 1024px) {

#toggle-menu, #pdmenu, 
   #pdmenu .main-menu {
    display: block;
	height: 2.25em;
  }

  #toggle-menu, 
  #pdmenu label.drop-icon {
    display: none;
  }

  #pdmenu ul span.drop-icon {
    display: inline-block;
  }

  #pdmenu li {
    float: left;
    border-width: 0 1px 0 0;
  }
  #pdmenu ul.sub-menu li {
    float: none;
	border-width: 0 0 1px;
	margin-left: -2.5em;
	  }

  #pdmenu .sub-menu {
    margin: 0;
    position: absolute;
    top: 100%;
    left: 0;
    width: 13em;
    z-index: 3000;
  }

#pdmenu  ul.submenu {
 border-width: 1px;
 border-style: solid;
 border-image: linear-gradient(45deg, #cc0000 25%, #7f0000 45%);
 }

  #pdmenu .sub-menu, 
  #pdmenu input[type="checkbox"]:checked + .sub-menu {
    display: none;
  }

   #pdmenu .sub-menu .sub-menu {
    top: 0;
    left: 100%;
  }

 #pdmenu .sub-menu .drop-icon {
    position: absolute;
    top: -0.5em;
    right: 0;
    padding: 1em;
  }

  #pdmenu li:hover > input[type="checkbox"] + .sub-menu {
    display: block;
  }
  #pdmenu a:hover, #pdmenu  a:focus {
background-color: rgba(128,0,0, 0.5);	  
color: #fff;
  }
   
 #skilllist table td{
	border: none;
	vertical-align: middle;	
	border-collapse: collapse;
	padding: calc(0.25 * var(--global--spacing-unit));
	}
#skilllist table td a{
text-decoration: none;
font-weight: 600;
font-size: 1.3rem;
}
#skilllist select, #skilllist input {
	padding: 2px;
	line-height: 1.8rem;
	border-style: groove;
	border: 2px solid #999;
	
}
#skilllist table tr {
height: 1.6rem;
}
#skilllist input {
background-color: #fff;
color: 	#45070E;	
}
#skilllist h4, #skill h1 {
padding-top: 1.6em;	
}
#skilllist h1 {
margin-top: 2rem;
}

#skilllist h1:Last-of-type  {
padding-bottom: 1rem;
margin-bottom: 1rem;
}
#skilllist h1:First-of-type, #skilllist h4  {
margin-bottom: 1rem;
}
table.skillpoints tr td:nth-child(1) {width: 10%;}
table.skillpoints tr td:nth-child(2) {width: 50%;}
table.skillpoints tr td:nth-child(3) {width: 12.5%;}
table.skillpoints tr td:nth-child(4) {width: 12.5%;}
table.skillpoints tr td:nth-child(5) {width: 15%;}

article {
max-width: min(calc(100vw - 8 * var(--global--spacing-horizontal)), 740px);
text-align: left;
}
div#wrapper-db {
width: calc(100vw - 1em);
}
.databody #skilllist table {width: 100%;}
div.flexfolge div:nth-of-type(6), div.flexfolge div:nth-of-type(3)  {
background-color: transparent;
box-shadow:none; 
}
}
@media screen and (min-width: 1600px) {
div#wrapper-db {
width: calc(100vw - 10em);
}
}

@media screen and (max-width: 800px) {
	
.databody .auswahl  {
flex-direction: column;
}
.auswahl.pot, .hora .auswahl {
justify-content: center;
}
table.flextable {padding: 0; font-size: 80%;}

div.affixtable {
	grid-template-columns: repeat(auto-fit, minmax(185px, 1fr));
	gap: 0.3em;
	padding: 0.3em;
}
div.affixtable div {
	position: relative;
}
div.affixtable span.affbutton {
	min-width: 50%;
	margin-right: 1em;
	display: block;
	}
div.affixtable div:nth-of-type(1) span.affbutton, div.affixtable div:nth-of-type(2) span.affbutton
{
min-width:auto;
}
table.settopbox td:nth-child(1), table.setbox td:nth-child(1) {
padding-left: 0;
}
div.sk_points span {
	display: block;
	margin: 0.5em 0;
}
}
@media screen and (max-width: 1023px) {

.entry-content, .databody article {
margin: auto;
max-width: calc(100vw - 1em);
}
nav#pdmenu {
display: block;
width: 100%;
margin: 0;
text-align: left;
	}
#pdmenu label.hamburg {
background-color: #111;
color: #111;
border-bottom: 3px solid #666;	
}
.databody #skilllist table
{
	width: 100%;
}
form[name="items_skills"] table, form[name="allg"] table, form[name="nec_merc"] table, form[name="skills_mon"] table, form[name="results"] table {
	display:block;
}
	
article.datatable table {
margin: auto;
}	
div#wrapper-db, div.listitembox.runebox, table.craftbox {
width: calc(100vw - 1em);
}


ul.toplist {
	grid-template-columns: repeat(2, 30vw);
}
.pot div.listitembox, div.listitembox.runebox, div.listitembox.gembox, div.listitembox.horabox2, div.listitembox.horabox3, div.itembox, table.craftbox {
width: auto;
min-width: auto;
min-height:auto;
height:auto;
text-align: center;
}

.databody .leftalign {text-align: center;}

.ahead {max-width: 50%;}

div.flexfolge div:nth-of-type(6), div.flexfolge div:nth-of-type(3)  {
background-color: #722; 
}
}

@media screen and (max-width: 1281px) {
div#wrapper-db {
text-align:center;
width: calc(100vw - 2em);
}
} 




	
