:root {
	--header-height: 60px;
	--menu-height-desk: 50px;
  --menu-height-mob: 15px;
  --footer-height: 36px;
	--border-width: 15px;
	--min-width-desk: 800px;
	--min-width-mob: 320px;
  --item-link-width: 250px;
}
html, body {
	height: 100vh;
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	margin: 0;
	padding: 0;
	width: 100%;
/*	max-width: var(--page-max-width); */
	height: 100%;
	font-family: Arial, sans-serif;
	font-size: 14px;
	font-weight: normal;
	box-sizing: border-box;
@media screen and (max-width: 768px) {
		min-width: 360px;	/* ??? need to descope fixed  screen? */
		max-width: 100%;
	}
@media screen and not (max-width: 768px) {
		min-width: 768px;
		max-width: 1940px;
	}
}

*, *:before, *:after {
	box-sizing: border-box;
}

div.jb-header-o {
	position: fixed;
	top: 0;
	left: 0;
	bottom: var(--header-height);
	height: var(--header-height);
	width: 100%;	
	display: table;
	background-color: white;
}
div.jb-header-i {
	display: table-cell;
	vertical-align: middle;
	width: 100%;
}

div.jb-menu-desk-o {
	position: fixed;
	top: var(--header-height);
	left: 0px;
	@media screen and (max-width: 768px) {
		bottom: calc(var(--header-height) + var(--menu-height-mob));
		height: var(--menu-height-mob);
	}
	@media screen and not (max-width: 768px) {
		bottom: calc(var(--header-height) + var(--menu-height-desk));
		height: var(--menu-height-desk);
		padding: 0 0 0 0;
	}
	width: 100%;
	margin: 0 auto;
	font-weight: bold;
	font-size: 18px;
	color: #DDD3A1;
	background-color: #000000;
	border-bottom: var(--border-width) solid #DDD3A1;
	display: block;
	box-sizing: border-box;
}

div.jb-menu-desk-i {
	@media screen and (max-width: 768px) {
		display: none;
	}
	@media screen and not (max-width: 768px) {
		display: grid;
		grid-column-gap: 2px;
		grid-template-rows: 1fr;
		grid-auto-flow: column;
		grid-auto-columns: 1fr;
	}
	height: 100%;
	width: 90%;
	margin: auto;
	@media screen and (max-width: 768px) {
		display: none;
	}
}

div.jb-content-o {  
	position:absolute;
	@media screen and (max-width: 768px) {
		top: calc(var(--header-height) + var(--menu-height-mob));
		bottom: calc(100vh - var(--header-height) - var(--menu-height-mob) - var(--footer-height) );
		height: calc(100vh - var(--header-height) - var(--menu-height-mob) - var(--footer-height) );
	}
	@media screen and not (max-width: 768px) {
		top: calc(var(--header-height) + var(--menu-height-desk));
		bottom: calc(100vh - var(--header-height) - var(--menu-height-desk) - var(--footer-height));
		height: calc(100vh - var(--header-height) - var(--menu-height-desk) - var(--footer-height));
		/* min-width: 1280px; */
		min-width: var(min-width-desk);
	}
	left: 0px;
	width: 100%;
	background-image: url(images/jb-bg-lq.jpeg);
	background-color: black;
	background-size: 100%;
	background-repeat: repeat-y;
	border-left: var(--border-width) solid #DDD3A1;
	border-right: var(--border-width) solid #DDD3A1;
	display: table;
	z-index: 0;
  padding-bottom:30px;
}

div.nobg {
	background-image: none;
}

div.goldbg {
	background-color: #DDD3A1;
}

div.jb-content-i {
	display: table-cell;
	height: 100%;
	@media screen and (max-width: 768px) {
	}
	@media screen and not (max-width: 768px) {
	}
	vertical-align: middle;
	overflow-y: scroll;
	z-index: 0;
}

div.align-top {
	vertical-align: top;
}

div.footer-o {
	position: fixed;
	display: table;
	top: calc(100vh - var(--footer-height));
	left: 0px;
	bottom: 100vh;
	height: var(--footer-height);
	width: 100%;
	background-color: white;
	border-top: var(--border-width) solid #DDD3A1;
	z-index: 1;
}

div.footer-i {
	display: table-cell;
	width: 300px;
	font-weight: bold;
	text-align: center;
	z-index: 1;
}

/* ----------------------------- Header related ---------------------- */

table.top-page { table-layout: auto; width: 100%; border-collapse: collapse; padding-left:0px; }
table.top-page td {padding: 0px; vertical-align: middle;}
@media screen and (max-width: 768px) {
	table.top-page td:nth-of-type(1) {width:60%; vertical-align:middle;}
	table.top-page td:nth-of-type(2) {width:0vw; vertical-align:middle;}
	table.top-page td:nth-of-type(3) {width:40%; text-align:right; padding-right: 5px;}
	/* table.top-page td {border: 1px solid black;} */
}
@media screen and not (max-width: 768px) {
	table.top-page td:nth-of-type(1) {width: 45%; vertical-align:middle;}
	table.top-page td:nth-of-type(3) {text-align:right; padding-right: 10px;}
	/* table.top-page td {border: 1px solid black;} */
}

img.jb-bust-logo {
	max-width: 340px;
}

table.login {
	table-layout: fixed; 
	width: 435px; 
	border-collapse: collapse;
	padding-left: 0px;
	margin: 0;
	@media screen and (max-width: 768px) {
		display: none;
	}
	@media screen and not (max-width: 768px) {
		display: inline-table; 
	}
}
table.login tr:nth-of-type(1) { text-align: right; } 
table.login tr:nth-of-type(2) { } 
table.login tr:nth-of-type(3) {height:2px;}
table.login tr:nth-of-type(4) { } 

img.jb-menu {
	display: block;
	height: 20px;
	width: auto;
}

/* mobile menu */
div.jb-menu-mob {
	@media screen and (max-width: 768px) {
		display: block;
		text-align: right;
		position: relative;
	}
	@media screen and not (max-width: 768px) {
		display: none;
	}
}
.jb-menu-mob-content {
	display: none;
	position: absolute;
	right: 0px;
	top: var(--header-height);
	background-color: #000000;
	color: #DDD3A1;
	border: 3px solid #DDD3A1;
	border-collapse: collapse;
	width: 50%;
	font-size: 18px;
	z-index: 999;
}
.jb-menu-mob-show {
	 display: block;
}

div.jb-menu-mob-item {
	padding: 1vw;
	font-weight: bold;
	text-align: left;
	border: 3px solid black;
	border-collapse: collapse;
}
a.jb-menu-mob-item {
	text-decoration: none;
	color: #DDD3A1;
}
div.jb-menu-mob-item:hover {
	border: 3px solid #DDD3A1;
	}

div.jb-menu-mob-item-selected {
	color: #888888;
	}



/* ------------------------ tools ---------------------- */
.block-mob {
	@media screen and (max-width: 768px) {
		display: block;
	}
	@media screen and not (max-width: 768px) {
		display: none;
	}
}
.block-desk {
	@media screen and (max-width: 768px) {
		display: none;
	}
	@media screen and not (max-width: 768px) {
		display: block;
	}
}

div.jb-mob {
	@media screen and not (max-width: 768px) {
		display: none;
		}
	}
div.jb-desk {
	@media screen and (max-width: 768px) {
		display: none;
		}
	}

img {
	width: 100%;
	height:auto;
}

a.nodecoration:link, a.nodecoration:visited, a.nodecoration:hover {
	text-decoration: none;
	color: #DDD3A1;
}


/* ----------------------------------- desktop menu content --------------------------- */

div.jb-menu-gr1 {
	grid-row: 1;
	width: min(200px,100%);
	height: 100%;
	border: 2px solid #000000;
	margin: 0 auto;
	padding: 0;
	text-align: center;
}
div.jb-menu-gr1:hover {
	border-color: #DDD3A1;
}

div.jb-menu-selected {
	background-color: #DDD3A1;
	border-color: #000000;
	color: #000000;
}
div.jb-menu-selected:hover {
	border-color: #000000;
}

/* -------------------------------------------- main content ------------------------ */


div.jb-content-splash {  /* formerly jb-body-content */
	background: rgba(64,64,64,0.8);
	@media screen and (max-width: 768px) {
		width: 100%;
		min-width: var(min-width-mob);
		border-top: var(--border-width) solid #DDD3A1;
		border-bottom: var(--border-width) solid #DDD3A1;
		border-collapse: collapse;
	}
	@media screen and not (max-width: 768px) {
		width: 60%;
		min-width: var(min-width-desk);
		border: var(--border-width) solid #DDD3A1;
		border-collapse: collapse;
	}
	margin: 0 auto;
}

div.jb-content-account {	/* copied from jb-body-content-account */
	display: grid;
	background-color: white;
	/* background: rgba(256,256,256,0.9); */
	@media screen and (max-width: 768px) {
		width: 100%;
		min-width: var(--min-width-mob);
		border-top: var(--border-width) solid #DDD3A1;
		border-bottom: var(--border-width) solid #DDD3A1;
		border-collapse: collapse;
		grid-template-columns: 4fr 1fr 0fr;
	}
	@media screen and not (max-width: 768px) {
		width: 66%;
		min-width: 800px;
		margin: 0 auto;
		grid-template-columns: 200px 7.5fr 9fr;
		border: var(--border-width) solid #DDD3A1;
		border-collapse: collapse;
	}
}


div.jb-content-inv {
 	width: 100%;
	margin: 0 auto;
	padding: 1vw;
	display: grid;
	@media screen and (max-width: 428px) {
		grid-template-columns: 1fr;
		grid-row-gap: 2vw;
	} 
	@media screen and (min-width: 429px) and (max-width: 768px) {
		grid-template-columns: 1fr 1fr;
		grid-column-gap: 2vw;
		grid-row-gap: 2vw;
	} 
	@media screen and (min-width: 769px) and (max-width: 1000px) {
		grid-template-columns: 1fr 1fr 1fr;
		grid-column-gap: 13px;
		grid-row-gap: 13px;
	}
	@media screen and (min-width:1001px) and (max-width: 1500px) {
		grid-template-columns: 1fr 1fr 1fr 1fr;
		grid-column-gap: 13px;
		grid-row-gap: 13px;
	}
	@media screen and (min-width:1501px) {
		grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
		grid-column-gap: 13px;
		grid-row-gap: 13px;
	}
	border: 0;
}

div.inventory-blk {
/*	display: grid;
	grid-template-columns: 100%; */
	font-family: Georgia, serif;
	font-size: 16px;
	font-weight: 600;
	text-align: center;
	color: #DDD3A1;
	background-color: #000000;
/*	@media screen and (max-width: 768px) {
		padding-bottom: 1vw;
	}
	@media screen and not (max-width: 768px) {
		padding-bottom: 10px;
	}  */
}

img.inventory-blk {
	width: 100%;
}

div.jb-account-f1 {	/* desk button, mob field value */
	text-align: left; 
	font-weight: normal;
	font-family: Trebuchet MS, sans-serif;
	padding-left: 16px;
	grid-column: 1;
	@media screen and (max-width: 768px) {
		font-size: 18px;
	}
	@media screen and not (max-width: 768px) {
		font-size: 18px;
	}
}

div.jb-account-f1-header { /* mob field value */
		padding-left: 8px;
		font-family: Arial, sans-serif;
		font-weight: bold;
	}

div.jb-account-f2 {	/* desk field name */
	padding-right: 10px;
	font-size: 16px;
	font-weight: bold;
	grid-column: 2;
	@media screen and (max-width: 768px) {
		text-align: left;
		}
	@media screen and not (max-width: 768px) {
		text-align: right;
		}
	}
div.jb-account-f2-row {
	}

div.jb-account-f3 {	/* desk field value */
	text-align: left;
	font-weight: bold;
	grid-column: 2;
	padding-left: 3px;
	padding-right: 8px;
	color: #857410;
	font-size: 16px;
	grid-column: 3;
	} 
div.jb-account-grid-v-spacer {
		height: 10px;
		grid-column: 1 / 4;
	}
div.jb-height-s {
		height: 1px;
	}

div.jb-account-grid-row {
	text-align: left;
	padding-left: 8px;
	padding-right: 16px;
	font-weight: bold;
  font-size: 16px;
	grid-column: 1 / 4;
	}

div.jb-account-state {
	width: 100%;
	display: grid;
	grid-template-columns: 1fr 1fr;
	grid-column-gap: 10px;
	}

div.jb-account-warn {
	font-size: 16px;
	color: red;
	@media screen and (max-width: 768px) {
		text-align: left;
		grid-column: 1 / 4;
		}
	@media screen and not (max-width: 768px) {
		text-align: right;
		grid-column: 2;
		}
	}
div.jb-account-warn-items {
	font-size: 16px;
	text-align: left;
	padding-left: 8px;
	color: red;
	@media screen and (max-width: 768px) {
		grid-column: 1 / 4;
		}
	@media screen and not (max-width: 768px) {
		grid-column: 3;
		}
	}

div.jb-content-stdform {
	display: grid;
	background-color: white;
	@media screen and (max-width: 768px) {
		width: 100%;
		min-width: var(--min-width-mob);
		border-top: var(--border-width) solid #DDD3A1;
		border-bottom: var(--border-width) solid #DDD3A1;
		border-collapse: collapse;
		grid-template-columns: 1fr 0fr;
		}
	@media screen and not (max-width: 768px) {
		width: 66%;
		min-width: 768px;
		margin: 0 auto;
		grid-template-columns: 5fr 9fr;
		border: var(--border-width) solid #DDD3A1;
		border-collapse: collapse;
	}
}

div.jb-stdform-f1 {
	grid-column: 1;
	font-weight: bold;
	font-size: 15px;
	font-family: Trebuchet MS, sans-serif;
	@media screen and (max-width: 768px) {
		text-align: left;
		padding-left: 3px;
	}
	@media screen and not (max-width: 768px) {
		text-align: right;
		padding-right: 3px;
	}
}

div.jb-stdform-f2 {	/* desk field name, mob button */
	text-align: left;
	padding-left: 3px;
	padding-right: 8px;
	font-size: 16px;
	@media screen and (max-width: 768px) {
		padding-left: 3px;
		grid-column: 1;
	}
	@media screen and not (max-width: 768px) {
		padding-right: 20px;
		grid-column: 2;
	}
} 

div.jb-stdform-grid-row {
		grid-column: 1 / 3;
}

div.jb-stdform-grid-v-spacer {
		height: 10px;
		grid-column: 1 / 3;
	}
div.jb-height-s {
		height: 1px;
	}

div.jb-stdform-header {
  font-family: Georgia, serif;
	font-weight: bold;
	font-size: 24px;
	text-align: center;
}

div.jb-stdform-warn {
	font-size: 16px;
	color: red;
	@media screen and (max-width: 768px) {
		text-align: left;
		grid-column: 1 / 3;
		}
	@media screen and not (max-width: 768px) {
		text-align: right;
		grid-column: 1;
		}
	}
div.jb-stdform-warn-items {
	font-size: 16px;
	text-align: left;
	padding-left: 8px;
	color: red;
	@media screen and (max-width: 768px) {
		grid-column: 1 / 3;
		}
	@media screen and not (max-width: 768px) {
		grid-column: 2;
		}
	}


table.welcome { 
	table-layout: fixed; 
	width: 100%; 
	border: 0;
	font-family: Georgia, serif;
	font-weight: bold; 
	color: white; 
	margin:0 auto; 
}
table.welcome td {
	padding-top: 15px;
	text-align: center;
	font-size: 1em;
	border: 0px solid red;
	}

table.account-ep {
	width: 100%;
	margin: 0 auto;
/*	background: #F2E8CE; */
}

tr.spacer {
	height: 1em;
}

table.account-ep td {padding-top: 0;}
table.account-ep td:nth-of-type(1) {text-align: left; font-size: 0.9em; padding-left: 2vw; width: 20%;}
table.account-ep td:nth-of-type(2) {text-align: right; padding-right: 10px; width: 40%; font-weight: 600;}
table.account-ep td:nth-of-type(3) {text-align: left; padding-left: 3px; width: 40%; } 


/* input text */
.it {
	color: #000000;
	background: #DDD3A1;
}

.it-login {
	@media screen and (max-width: 768px) {
		font-size: 20px;
		width: 90%;
		}
	@media screen and not (max-width: 768px) {
		font-size: 15px;
		width: 161px;
		}
}


/* messages */
.msg {
	font-family: Arial, sans-serif;
}

.msg-login {
	font-weight: bold;
	color: black;
}

.msg-login-warn {
	font-weight: bold;
	font-size: 14px;
	color: red;
}

div.msg-welcome {
	font-family: Arial, sans-serif;
	font-weight: bold;
	font-size: 16px;
	color: #BBA442;
}




/*
input[type=text].login, input[type=password].login {
	color: #000000;
	background: #DDD3A1;
  width: 40%;
}
*/


form.nobreak {
	display:inline;
	margin:0;
	padding:0;
}


table.footer {
	height: 100%;
	margin: 0 auto;
	table-layout: fixed;
	padding-left:0px;
	font-family: Arial;
	font-weight: bold;
	font-size: 1vw;
	text-align: center;
	z-index: 1;
}

div.register-p { 
	width: 100%; 
	background-image: url(images/jb-bg-lq.jpeg);
	background-size: 100% auto;
	aspect-ratio:2.5/1; 
	background-size: cover;
}

table.register-p {
	width: 60%;
	margin: 0 auto;
	table-layout: fixed;
	font-family: Arial;
	font-size: 0.8em;
	font-weight: bold;
	text-align: center;
	/* background: #F2E8CE; */
	background: #FFFFFF;
	color: #000000;
	border: 15px solid #DDD3A1;
	border-collapse: collapse;
}
/* table.register-p td { border: 1px solid black; } */
table.register-p td:nth-of-type(1) { text-align:right; padding-right:4px; width: 45%;}
table.register-p td:nth-of-type(2) { text-align:left; padding-left:4px; width: 45%;}
table.register-p td:nth-of-type(3) { text-align:left; padding-left:4px; width: 10%; font-size:0.70em}
table.register-p tr:nth-of-type(1) { 
		font-size: 3em;
		font-family: Georgia, serif;
		font-weight: bold; 
}
table.register-p tr:nth-of-type(2) { 
	text-align: left;
	padding-left: 20%;
	padding-right: 20%;
	padding-bottom: 30px;
}
input[type=text].stdform,input[type=password].stdform {
	color: #000000;
	background: #F2E8CE;
	width: 100%;
	margin: 0 auto;
	@media screen and (max-width: 768px) {
		font-weight: bold;
		font-size: 20px;
		}
	@media screen and not (max-width: 768px) {
		font-size: 18px;
		}
}
input[type=text].stdform::placeholder {
	color: #AAAAAA;
	font-weight: normal;
}
input[type=password].stdform::placeholder {
	color: #AAAAAA;
	font-weight: normal;
}


div.inventory-middle {
	width: 100%;
	height: 80vh;
	min-width: 360px;
	background-size: 100% auto;
	background-repeat: repeat-y;
	overflow-x: auto;
}

div.inventory-price {
	/* color: #2E8BC0; */
	color: #00FFFF;
	padding-top: 7px;
}

/* div.item-body-g {
	width: 96%;
	min-width: 360px;
	padding-left: 3px;
	padding-top: 3px;
	display: grid;
	grid-template-columns:  80px 600fr 600fr;
	grid-row-gap: 3px;
	grid-column-gap: 3px;
	border-collapse: collapse;
} */

div.jb-content-item-o {
	position: relative;
	background-color: black;
	z-index: 2;
	width: fit-content;
	margin: 0 auto;
}

div.jb-content-item {
	width: 100%;
	max-width: 1550px;
	height: 100%;
	margin: 0 auto;
	display: grid;
	@media screen and not (max-width: 1280px) {
		grid-template-columns:  80px 500px 100fr;
	}
	@media screen and (max-width: 1280px) {
		grid-template-columns:  80px 500px 100fr;
	}
	@media screen and (max-width: 1000px) {
		grid-template-columns: 80px 300px 100fr;
	}
	@media screen and (max-width: 900px) {
		grid-template-columns: 80px 200px 100fr;
	}
	grid-row-gap: 0px;
	grid-column-gap: 0px;
	border: 0;
}

div.item-left-col {
	padding: 0px;
	margin: 0 auto;
	grid-column: 1;
}

div.item-left-item {
	background-color: black;
	border-left: 1px solid #DDD3A1;
	border-right: 1px solid #DDD3A1;
	border-bottom: 1px solid #DDD3A1;
	padding: 2px;
}
img.item-simg {
	display: block;
	box-sizing: border-box;
	height: auto;
	background: black;
/*	border: 3px solid black; */
}

div.item-middle-col  {
	padding: 0px;
	margin: 0 auto;
	grid-column: 2;
}

img.item-bimg {
	display: block;
	box-sizing: border-box;
	width: 100%;
	height: auto;
	background: black;
	padding: 2px;
}

.gallery img { 
	width: 100%;
	height: 100%;
	object-fit: cover;
	align-content: center;
	object-position: center;
}

div.item-arrow {
	padding-top: 5px;
	display: grid;
	grid-template-columns: 5fr 2fr 5fr;
	width: 100%;
	background-color: black;
	border: 5px solid black;
}
div.item-arrow-prev {
	grid-column: 1;
	margin-right: 5px;
	display: table;
}
div.item-inv-back {
	grid-column: 2;
	padding: 0;
	display: table;
	margin: 0 auto;
}
div.item-inv-arrow-align {
	display: table-cell;
	text-align: center;
	vertical-align: middle;
	font-size: 16px;
}
div.item-arrow-next {
	grid-column: 3;
	margin-left: 5px;
	display: table;
}
img.item-arrow-prev {
	max-width: 200px;
	padding: 0;
	height: auto;
}
img.item-arrow-next {
	max-width: 200px;
	padding: 0;
	height: auto;
}

/* Add background to right */
div.item-right-col {
	width: 100%;
	/* padding: 0 7px 0 7px; */
	/* margin-left: 0; */
	margin: 0 auto;
	grid-column: 3;
	font-family: Arial;
	font-weight: 500;
	font-size: 14px;
}

div.item-right-col-top {
	width: 100%;
	display: grid;
	grid-template-columns: 140fr 60fr 5fr;
}

div.item-subject-link {
	padding-top: 0px;
	text-align: center;
	font-size: 14px;
	width: var(--item-link-width);
	margin: 0px auto;
}

div.item-subject-link-cart {
	margin-top: 5px;
	font-size: 20px;
	width: calc(var(--item-link-width) * 1.4);
}

.jbb-item-link {
	width: 100%;
}


div.item-subject {
	padding-top: 0px;
	text-align: center;
}

div.item-subject-datetype {
	width: 100%;
	text-align: center;
	font-family: Georgia, serif;
	font-size: 22px;
	font-weight: bold;
	border-collapse: collapse;
	line-height: 1.2;	/* in case word wrap */
}

div.item-subject-varieties {
	width: 100%;
	padding-top: 0px;
	text-align: center;
	font-size: 18px;
	font-weight: 550;
	border-collapse: collapse;
}

div.item-subject-rarity-o {
	margin: 0 auto;
	width: fit-content;
	padding-bottom: 0px;
}

div.item-subject-rarity-ig {
	padding-top: 4px;
	text-align: center;
	font-size: 17px;
	display: grid;
	grid-template-columns: 100fr 30fr;
	grid-row-gap: 0px;
	grid-column-gap: 5px;
	line-height: 1.2;
}
div.item-subject-rarity-1 {
	grid-column: 1;
	text-align: right;
	font-weight: normal;
}
div.item-subject-rarity-2 {
	grid-column: 2;
	text-align: left;
	font-weight: bold;
}
div.item-subject-rarity-3 {
	grid-column: 3;
	text-align: left;
	font-weight: normal;
}

div.item-subject-grade {
/*	padding-top: 7px; */
	text-align: center;
	border-collapse: collapse;
	font-size: 18px;
	font-weight: 550;
	color: #0000CD;
	line-height: 1;
}

div.item-subject-price {
	padding-top: 0px;
	text-align: center;
	font-size: 22px;
	font-weight: bold;
	color: #0000CD;
}
div.item-price-note {
	width:fit-content;
	text-align: left;
	font-size: 12px;
	font-weight: 525;
	margin: 0px auto;
}


div.item-description {
	width: 95%;
	margin: 0 auto;
	margin-top: 5px;
	padding: 6px;
	text-align: left;
	border: 3px solid black;
	background: white;
	font-size: 14px;
	border-radius: 6px;
	box-sizing: border-box;
}

div.item-button-spacer {
	min-height: 13vh;
}

div.invmgmt-b {
 	width: 100%;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 10fr 6fr;
}

div.invmgmt-b-topleft {
 	width: 100%;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 10fr 6fr;
	justify-items: start; 
}

div.invmgmt-b-btmleft {
 	width: 100%;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}
.div.invmgmt-b-btmleft>*:nth-child(1) {
  justify-content: right;
}
.div.invmgmt-b-btmleft>*:nth-child(2) {
  justify-content: left;
}
.div.invmgmt-b-btmleft>*:nth-child(3) {
  justify-content: right;
}
.div.invmgmt-b-btmleft>*:nth-child(4) {
  justify-content: left;
}

div.invmgmt-b-right {
 	width: 100%;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 2fr 1fr 2fr 1fr;
}


.tooltip-right:before {
	content: attr(data-text);
	position: absolute;
	left: 38px;
	transform:translateY(-6px);
	margin-left:0px;
	font-size: 0.9em;
	font-weight: bold;
	padding:10px;
	border-radius:10px;
	background:#000000;
	color: #DDD3A1;
	text-align: left;
	display: none;
	white-space:pre-line;
	border: 2px solid #DDD3A1;
}

.tooltip-right:hover:before, .tooltip-right:focus-within:before {
	display:block;
}

.tooltip-right:after {
	content: "";
	position: absolute;
	left: 18px;
	margin-left:0px;
	top: 50%;
	transform:translateY(-8px);
	border:10px;
	border-style: solid;
	border-color: transparent black transparent transparent;
	display: none
}


.tooltip-right:hover:before, .tooltip-right:hover:after, .tooltip-right:focus-within:before, .tooltip-right:focus-within:after {
	display:block;
}

.tooltip-top:before {
	content: attr(data-text);
	position: absolute;
	bottom: 10px;
	left: 40px;
	transform:translateY(-20px);
	margin-left:0px;
	font-size: 0.9em;
	font-weight: bold;
	padding:10px;
	border-radius:10px;
	background:#000000;
	color: #DDD3A1;
	text-align: left;
	display: none;
	white-space:pre-line;
	border: 2px solid #DDD3A1;
}

.tooltip-top:hover:before, .tooltip-top:focus-within:before {
	display:block;
}

.tooltip-top:after {
	content: "";
	position: absolute;
	left: 60px;
	margin-left:0px;
	top: 50%;
	transform:translateY(-20px);
	border:10px;
	border-style: solid;
	border-color: black transparent transparent transparent;
	display: none
}

.tooltip-top:hover:before, .tooltip-top:hover:after, .tooltip-top:focus-within:before, .tooltip-top:focus-within:after {
	display:block;
}

#fullpage {
	display: none;
	position: absolute;
	z-index: 200;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100vh;
	background-size: contain;
	background-repeat: no-repeat no-repeat;
	background-position: center center;
	background-color: black;
/*	background-image: url(images/jb-bg-lq.jpeg); */
}

.jbb {
	color: #DDD3A1;
  background: #000000;
	padding: 1px 12px 1px 12px;
	cursor: pointer;
	display: inline-block;
	font-family: Georgia, serif;
	font-weight: bold;
	text-align: center;
	border-radius: 6px;
	border: 2px solid #DDD3A1;
}

.jbb-sq {
	border-radius: 0px;
}
.jbb-disabled {
  background: #FFFFFF;
  cursor: none;
}
.jbb:link, .jbb:visited {
	text-decoration: none;
	color: #DDD3A1;
	background: #000000;
}

.jbb:hover {
	color: #BBB290;
  background: #FFFFFF;
}

.jbb-cart {
	color: black;
  background: #87CEFA; /*	#0000CD; */
	padding: 1px 12px 1px 12px;
	cursor: pointer;
	display: inline-block;
	font-family: Georgia, serif;
	font-weight: bold;
	text-align: center;
	border-radius: 9px;
	border: 2px solid black;
}

.jbb-cart-disabled {
  background: #FFFFFF;
  cursor: none;
}

.jbb-cart:link, .jbb-cart:visited {
	text-decoration: none;
	color: black;
  background: #87CEFA; /*	#0000CD; */
}

.jbb-cart:hover {
	color: #BBB290;
  background: #FFFFFF;
}


.jbb-login {
	font-size: 12px;
	border-radius: 6px;
}

.jbb-rlogin {
	font-size: 12px;
	border-radius: 4px;
	padding-left: 9px;
	padding-right: 9px;
}

.jbb-welcome {
	font-size: 2em;
	}

.jbb-account {
	@media screen and (max-width: 768px) {
		font-size: 16px;
		}
	@media screen and not (max-width: 768px) {
		font-size: 14px;
		}
	border-radius: 6px;
	}

.jbb-state {
	font-size: 16px;
	border-radius: 6px;
	padding: 1px;
	height: 30px;
	}



/*
input[type=submit].button {
  border: 2px solid #DDD3A1;
  color: #DDD3A1;
  background: #000000;
  padding: 0 12px 0 12px;
  border-radius: 6vw;
  cursor: pointer;
  display: inline-block;
  font-family: Georgia, serif;
  font-weight: bold;
  font-size: 1vw;
}

.button-account-links {
  height: 1.8em;
  width: 100%;
  appearance: none;
  background-color: #000000;
  border: 2px solid #DDD3A1;
  border-radius: 10px;
  box-sizing: border-box;
  color: #DDD3A1;
  cursor: pointer;
  display: inline-block;
  font-family: Georgia, serif;
  font-weight: bold;
  font-size: 12px;
  line-height: normal;
  margin: 0;
  outline: none;
  padding: 0px 0px;
  text-align: center;
  transition: all 300ms cubic-bezier(.23, 1, 0.32, 1);
  user-select: none;
  touch-action: manipulation;
  will-change: transform;
  -webkit-user-select: none;
}

.button-account-links:disabled {
  pointer-events: none;
}

.button-account-links:hover {
  color: #000000;
  border: 2px solid #DDD3A1;
  background-color: #FFFFFF;
  /* box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px; */
  /* transform: translateY(2px); */
}
*/

a.item-inv-back-button {
	-webkit-appearance: button;
	-moz-appearance: button;
	appearance: button;
	background-color: #000000;
  border: 2px solid #DDD3A1;
  color: #DDD3A1;
  height: 1.8em;
  max-width: 100%;
  box-sizing: border-box;
  cursor: pointer;
  display: table-cell;
  text-align: center;
	margin: 0 auto;
	padding-top: 6%;
  font-family: Georgia, serif;
  font-weight: bold;
  font-size: max(0.8vw,8px);
  line-height: normal;
  outline: none;
  transition: all 300ms cubic-bezier(.23, 1, 0.32, 1);
  user-select: none;
  touch-action: manipulation;
  will-change: transform;
  -webkit-user-select: none;
}	

a.item-inv-back-button:link, a.item-inv-back-button:visited, a.item-inv-back-button:hover {
	background-color: #000000;
	text-decoration: none;
	color: #DDD3A1;
}
a.item-inv-back-button:hover {
	background-color: #FFFFFF;
	text-decoration: none;
	color: #DDD3A1;
}

/*
input[type=submit].button:hover {
	color: #BBB290;
    background: #FFFFFF;
}

input[type=submit].disabled-button {
  border: 2px solid #DDD3A1;
  color: #DDD3A1;
  background: #FFFFFF;
  padding: 1px 12px;
  border-radius: 20px;
  cursor: pointer;
  display: inline-block;
  font-family: Georgia, serif;
  font-weight: bold;
  font-size: 12px;
}

input[type=submit].llogin {
  border: 1px solid #000000;
  color: #DDD3A1;
  background: #000000;
  padding: 1px 10px;
  border-radius: 15px;
  cursor: pointer;
  display: inline-block;
  font-family: Georgia, serif;
  font-weight: bold;
  font-size: 11px;
}
input[type=submit].llogin:hover {
	color: #BBB290;
	background: #FFFFFF;
}
*/

/* CSS */
/*
.button-enter {
  appearance: none;
  background-color: #000000;
  border: 2px solid #DDD3A1;
  border-radius: 10px;
  box-sizing: border-box;
  color: #DDD3A1;
  cursor: pointer;
  display: inline-block;
  font-family: Georgia, serif;
  font-weight: bold;
  font-size: min(1.5vw,30px);
  line-height: normal;
  margin: 0;
  width: 30%;
  /* height: min(2vw,30px) */
  /* min-height: 10px; */
  /* min-width: 0; */
	/*
  outline: none;
  padding: 0px 0px;
  text-align: center;
  transition: all 300ms cubic-bezier(.23, 1, 0.32, 1);
  user-select: none;
  touch-action: manipulation;
  will-change: transform;
  -webkit-user-select: none;
}

.button-enter:disabled {
  pointer-events: none;
}

.button-enter:hover {
  color: #DDD3A1;
  border: 2px solid #DDD3A1;
  background-color: #FFFFFF;
  /* box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px; */
  /* transform: translateY(2px); */
	/*
}
*/

a.button-item-links {
  height: 2.3em;
  width: 70%;
  appearance: none;
  background-color: #000000;
  border: 2px solid #DDD3A1;
  border-radius: 15px;
  box-sizing: border-box;
  color: #DDD3A1;
  cursor: pointer;
  display: inline-block;
  font-family: Georgia, serif;
  font-weight: bold;
  font-size: max(1.0vw,10px);
  line-height: normal;
  margin: 0;
  outline: none;
  padding: 0.5em 0 0 0;
  text-align: center;
  transition: all 300ms cubic-bezier(.23, 1, 0.32, 1);
  user-select: none;
  touch-action: manipulation;
  will-change: transform;
  -webkit-user-select: none;
}

a.button-item-links:link, a.button-item-links:visited {
	background-color: #000000;
	text-decoration: none;
	color: #DDD3A1;
}
a.button-item-links:hover {
  background-color: #FFFFFF;
	text-decoration: none;
  color: #DDD3A1;
  /* box-shadow: rgba(0, 0, 0, 0.25) 0 8px 15px; */
  /* transform: translateY(2px); */
}

a.button-item-links:disabled {
  pointer-events: none;
}

a.button-item-links-disabled {
  height: 2.3em;
  width: 70%;
  appearance: none;
  background-color: #DDD3A1;
  border: 2px solid #000000;
  border-radius: 15px;
  box-sizing: border-box;
  color: #000000;
  cursor: pointer;
  display: inline-block;
  font-family: Georgia, serif;
  font-weight: bold;
  font-size: max(1.0vw,10px);
  line-height: normal;
  margin: 0;
  outline: none;
  padding: 0px 0px;
  text-align: center;
  transition: all 300ms cubic-bezier(.23, 1, 0.32, 1);
  user-select: none;
  touch-action: manipulation;
  will-change: transform;
  -webkit-user-select: none;
}

.button-inv-back {
  height: 2.6em;
  max-width: 100%;
  appearance: none;
  background-color: #000000;
  border: 2px solid #DDD3A1;
  border-radius: 10px;
  box-sizing: border-box;
  color: #DDD3A1;
  cursor: pointer;
  display: inline-block;
  font-family: Georgia, serif;
  font-weight: bold;
  font-size: max(0.8vw,8px);
  line-height: normal;
  margin: 0;
  outline: none;
  padding: 0px 0px 0px 0px;
  text-align: center;
  transition: all 300ms cubic-bezier(.23, 1, 0.32, 1);
  user-select: none;
  margin: 0 auto;
  touch-action: manipulation;
  will-change: transform;
  -webkit-user-select: none;
}

div.jb-modal {
  position: fixed; /* Stay in place */
	top: 0;
  left: 0;
  z-index: 999; /* Sit on top */
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
  display: none; /* Hidden by default */
}

/* Modal Content */
div.jb-modal-content {
  background-color: #FFFFFF;
	margin: auto;
  padding: 15px;
	@media screen and (max-width: 768px) {
  	margin-top: 30%;
  	width: 100%;
	}
	@media screen and not (max-width: 768px) {
  	margin-top: 20%;
  	width: 40%;
	}
  border: 15px solid #DDD3A1;
}

div.jb-modal-title {
	font-size: 18px;
	font-weight: bold;
	width: 100%;
	padding-bottom: 10px;
}

div.jb-modal-warn {
	font-size: 15px;
	font-weight: normal;
	width: 100%;
	color: #CF2306;
	padding-bottom: 10px;
}

div.jb-modal-msg {
	font-size: 15px;
	font-weight: bold;
	width: 100%;
	padding-bottom: 10px;
}







div.jb-msgModal {
	display: none;
  position: fixed;
	z-index: 1000;
	left: 0;
	top: 0;
  margin: 0 auto;
	margin-top: 20px;
	overflow: auto;
	@media screen and (max-width: 768px) {
  	width: 70%;
		font-size: 20px;
	}
	@media screen and not (max-width: 768px) {
  	width: 300px;
		font-size: 20px;
	}
  padding: 20px;
  background-color: #000000;					/* backup */
  background-color: rbga(0,0,0,0.4);	/* black with opacity */
  border: 10px solid #DDD3A1;
  transition: all 5s ease-in-out;
}

div.jb-msgModal-header {
	font-weight: bold;
	font-size: 24px;
}
div.jb-msgModal-content {
	text-align: center;
	margin: 0 auto;
}

div.jb-modal-popup a.close {
  position: absolute;
  top: 20px;
  right: 30px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}
div.jb-modal-popup a.close:hover {
  color: #DDD3A1;
}

div.jb-modal-popup-header {
	font-weight: bold;
	font-size: 20px;
}
div.jb-modal-popup-content {
	font-weight: normal;
	font-size: 16px;
}

@media screen and (max-width: 700px){
  .box{
    width: 70%;
  }
  .popup{
    width: 70%;
  }
}


div.mymodal-content {
	background: #FFFFFF;
	border: 14px solid #DDD3A1;
	font-weight: bold;
	font-size: 1em;
	margin-top: 30%;
}

