#shopFrame {
	position: relative;
	width: 100%;
	margin: 0 auto;
	min-height: 500px;
}

#bodyJewel {
	pointer-events: none;
}

#shopMenuFrame {
	position: relative;
}

#shopMenu {
	position: relative;
	left: 0;
	z-index: 10;
}

#shopListBox.menuIn {
	left: -5px;
	visibility: visible;
	opacity: 1;
}
#shopListBox.menuOut {
	left: -100%;
	visibility: hidden;
	opacity: 0;
}

#shopHeader {
	position: relative;
	height: 100px;
	border-radius: 10px;
}

#menuExtender {
	position: absolute;
	top: -22px;
	left: 0;
	width: 100px;
	height: 20px;
	background: green;
	z-index: 1;
	text-align: center;
	cursor: pointer;
	border-radius: 10px 10px 0 0;
	border: 1px solid black;
	border-bottom: 0;
	background: #e8b2b2;
	background-image: linear-gradient(to top, #cee7f0, #5ea18e);
	color: white;
	text-shadow:
		-1px -1px 0 #000,  
		1px -1px 0 #000,
		-1px 1px 0 #000,
		1px 1px 0 #000;
	font-weight: 600;
	transform: rotate(90deg);
	transform-origin: left bottom 0;
}

#shopHeader.menuIn {
	left: 100%;
	width: 20px;
	background: transparent;
	background-image: none;
}
#shopHeader.menuOut {
	right: 0;
}


.menuOut #menuExtender {
	margin-left: -5px;
}
.menuIn #menuExtender {
	margin-left: -5px;
}

#shopTitle {
	font-size: 4em;
	text-align: center;
	position: absolute;
	width: 100%;
	z-index: 0;
	pointer-events: none;
	color: #03604a;
	font-weight: 700;
	font-variant: small-caps;
}

#shopTitle span {
	position: relative;
}

#shopTitle span::before,
#shopTitle span::after {
	content: "";
	position: absolute;
	z-index: -1;
	width: 141px;
	height: 75px;
	bottom: -30px;
}

#shopTitle span::before {
	background: url(/site-assets/shops/jewel-l.png);
	left: -50px;
}

#shopTitle span::after {
	background: url(/site-assets/shops/jewel-r.png);
	right: -50px;
}



.menuIn #shopTitle {
	display: none;
	width: 0;
}

.menuIn,.menuOut,.ng-hide,.ng-show {
	transition: all 0.2s ease;
}

.shopListCategory {
	text-align: center;
}

.shopListCategory:last-child {
	border-radius: 0 0 10px 10px;
}

.shopListSelection {
	display: inline-block;
	text-decoration: none;
	vertical-align: top;
	cursor: pointer;
	margin: 8px 4px;
	width: 290px;
	height: 60px;
	background: white;
	background-image: linear-gradient(to bottom, #fafcfc, #cee7f0);
	border-radius: 16px;
	text-align: center;
	border: 1px solid black;
	overflow: visible;
	position: relative;
}

.shopListSelection:hover {
	background-image: linear-gradient(to bottom, #fff, #fafcfc);
}

.shopListSelection img {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	pointer-events: none;
}

.clearBoth {
	clear: both;
}

#shopContent {
	padding: 3px;
}

.shopLoadIndicator {
	width: 200px;
	height: 200px;
	border-radius: 50%;
	background-color:#cee7f0;
	position: absolute;
	left: 50%;
	transform: translate(-100px, 0);
	text-align: center;
	z-index: 50;
	border: 5px solid black;
}

.shopLoadIndicator span {
	position: absolute;
	width: 100%;
	text-align: center;
	left: 0;
	top: 45px;
}

.shopLoadIndicator img {
	width: 64px;
	height: 64px;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-32px, -32px);
}

.shopItemBox:hover {
	border-right: 1px solid white;
	border-radius: 5px 0 0 5px;
	z-index: 10;
}

.normalShop .shopItemBox:nth-child(11n):hover, .normalShop .shopItemBox:nth-child(11n-1):hover,
.setShop .shopItemBox:nth-child(5n):hover, .setShop .shopItemBox:nth-child(5n+1):hover {
	border: 1px solid black;
	border-left: 1px solid white;
	border-radius: 0 5px 5px 0;
}

#shopName {
	text-align: center;
}

#paginator span {
	cursor: pointer;
}

#shopFilter {
	position: relative;
	padding: 5px;
	width: 100%;
}

#shopSort {
	position: absolute;
	right: 15px;
	top: 5px;
}

.shopItemBox {
	width: 75px;
	height: 75px;
	background-image: linear-gradient(to bottom, #fafcfc, #cee7f0);
}

.price {
	position: absolute;
	bottom: 2px;
}

.normalShop .shopItemBox:nth-child(11n) .itemInfo, .normalShop .shopItemBox:nth-child(11n-1) .itemInfo,
.setShop .shopItemBox:nth-child(5n) .itemInfo, .setShop .shopItemBox:nth-child(5n+1) .itemInfo {
	left: inherit;
	right: 100%;
	box-shadow: -2px 1px 2px #666666;
	border-radius: 5px 0 0 5px;
	border: 1px solid black;
	border-right: none;
}

.itemInfo.shown {
	visibility: visible;
	opacity: 1;
}

#buyAll {
	position: relative;
	padding: 36px;
	text-align: center;
}

.buyQuantityBox {
	width: 25px;
}

.shopDialog {
	border: 1px solid black;
	background-color: #fff;
	border-radius: 10px;
	background-image: linear-gradient(to bottom, #fafcfc, #e4f1f5);
	box-shadow: -3px 2px 7px #444444;
}

#clickAbsorber {
	background: black;
	opacity: 0.3;
	width: 100vw;
	height: 100vh;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 19;
}

#shopPopoverSizer {
	position: absolute;
	top: 0;
	z-index: 20;
	width: 100%;
	transition:all linear 0.5s;
}

#shopPopoverSizer.ng-hide {
	opacity:0;
 }

#shopPopover {
	padding: 20px 30px;
}

.choosePrompt {
	padding: 1em;
}

#itemChildren {
	clear: left;
}

.firstShade {
	width: 595px;
	margin-right: -34px;
}

#purchaseResult {
	position: fixed;
	top: 50%;
	left: 50%;
	height: 220px;
	width: 270px;
	transform: translate(-150px, -125px);
	z-index: 50;
	text-align: center;
	padding: 15px;
}

.button {
	background-image: linear-gradient(to bottom, #fafcfc, #5ea18e);
	border-radius: 30px;
	color: black;
	font-size: 15px;
	border: 2px solid black;
	padding: 10px 20px;
	text-decoration: none;
}


#purchaseResult .buttonRow {
	position: relative;
	text-align: center;
	width: 100%;
}

.buttonRow .button {
	display: inline-block;
	margin: 20px;
}

.dialogItem {
	position: relative;
	padding-top: 10px;
	width: 100%;
}

.dialogItem .price {
	position: relative;
}

.buyBox {
	position: relative;
	display: inline-block;
	padding: 8px;
	vertical-align: top;
}

.buyPrice {
	position: relative;
	vertical-align: top;
	margin-bottom: 15px;
}

.buyPrice .price {
	position: relative;
}

.price img {
	display: inline;
	vertical-align: top;
}

#menuHint {
	position: absolute;
	width: 200px;
	height: 50px;
	left: 30px;
	top: 5px;
	text-shadow: black 0px 1px 2px;
	color: white;
	text-align: center;
	vertical-align: center;
	font-weight: bold;
	padding-top: 10px;
	background: #5ea18e;
	border: 2px solid black;
	border-radius: 5px;
}

.menuIn #menuHint {
	display: none;
	width: 0;
}

.arrowBox:after, .arrowBox:before {
	right: 100%;
	top: 50%;
	border: solid transparent;
	content: " ";
	height: 0;
	width: 0;
	position: absolute;
	pointer-events: none;
}

.arrowBox:after {
	border-color: rgba(94, 161, 142, 0);
	border-right-color: #5ea18e;
	border-width: 10px;
	margin-top: -10px;
}
.arrowBox:before {
	border-color: rgba(0, 0, 0, 0);
	border-right-color: #000000;
	border-width: 13px;
	margin-top: -13px;
}

.setShop {
	display: flex;
	flex-wrap: wrap;
}

.shopSetGroup {
	box-sizing: border-box;
	display: block;
	width: calc(50% - 1em);
	padding-bottom: 1em;
	margin: 0 0.5em 1em 0.5em;
	padding-left: 1em;
	position: relative;
	border: 1px solid rgb(3, 96, 74);
	border-radius: 8px 0 0 0;
	vertical-align: top;
}

.shopSetHeading {
	text-align: center;
	text-align-last: center;
	padding: 1ex;
	margin-bottom: 1em;
	margin-left: -1em;
	position: relative;
	background: rgb(91, 159, 140);
	border-radius: 6px 0 0 0;
	border-bottom: none;
	color: white;
}

.shopSetTitle {
	position: relative;
	font-size: 150%;
	font-weight: bold;
}

.shopSetTitle span {
	position: relative;
}
