.content-wrapper {
	padding-top: 0px!important;
}
.main-sidebar, .main-sidebar::before {
	transition: margin-left .3s ease-in-out,width .3s ease-in-out;
	margin-left: -250px;
	width: auto;
}
@media (min-width: 768px) {
	body:not(.sidebar-mini-md) .content-wrapper, body:not(.sidebar-mini-md) .main-footer, body:not(.sidebar-mini-md) .main-header {
		margin-left: 0px;
	}
	.main-sidebar, .main-sidebar::before {
		width: 0px;
		margin-left: 0px;
	}
}
.row {
	justify-content: center;
	grid-gap: 1em 0;
	width: 100%;
}
.card *, .content * {
	color: #4a311d;
}
a:link, a:visited {
	color: #e7d5c6;
}
a:hover, a:focus, a:active {
	color: #ffffff;
}
.updatenotice2 {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	margin: 0;
	text-align: center;
	background: #bd997a;
	padding: 1.25em 3em;
	word-break: break-word;
	box-shadow: 0 2px 0px 0px #ebbc95, 0 3px 1px 0px #5a3d22, 0 6px 6px -3px #6e5642, inset 0px 3px 5px -3px #523d2a;
	max-height: 75px;
	overflow: auto;
	z-index: 5000;
}
.banner {
	min-height: 250px;
	width: 100%;
	margin: 0 auto;
	position: relative;
	background-image: url('/images/villagemarket/village_market_banner.png');
	background-repeat: no-repeat;
	background-size: 1000px;
	background-position: left;
	box-shadow: inset -15px 0 20px 0px #937358, inset -30px 0 30px 0px #937358;
	display: grid;
	align-content: stretch;
	justify-content: end;
	align-items: center;
	justify-items: center;
	padding: 1em 2.5em;
}
.main-title {
	font-family: 'OdinsonBold';
	font-size: 3em;
	text-shadow: 1px 1px 0px #7f583c, -1px -1px 0px #573a22, 2px 2px 0px #a37956, -2px -2px 0px #5d3b20, 0px 0px 5px #573f2a, 0px 0px 5px #573f2a, 0px 0px 8px #e1ac7c, 0px 0px 10px #573f2a;
	color: #d9a67e;
	padding: 5px 10px;
	text-align: center;
}
.custom-card {
	background: #a07d5f;
	box-shadow: inset 0px 0px 2em 10px #937358, inset 0px 0px 3em 10px #937358, inset 0px 0px 3em 15px #937358;
	padding: 0.5em 1em;
}
.custom-card2 {
	background: #a07d5f;
	box-shadow: inset 0px 0px 2em 10px #937358, inset 0px 0px 3em 10px #937358, inset 0px 0px 3em 15px #937358;
	padding: 0.5em 1em;
}
.itemholder {
	background: #bb906c;
	border-radius: 0.75em;
	border-color: #8b674a54;
	border-width: 1px;
	border-style: solid;
	box-shadow: 0px 0px 5px 1px #533c29;
	padding: 0.5em 0.75em;
	height: 100%;
}
.soldout {
	background: #bb8a6c;
}
.itemheader {
	text-align: center;
	font-size: 17px;
	text-shadow: 0px 0px 3px #e5af82, 0px 0px 3px #e5af82;
	font-weight: 700;
	color: #4b301a;
	border-bottom: 1px solid #a97b57;
	box-shadow: 0px 10px 6px -9px #b17e57, 0px 10px 6px -9px #b17e57;
	padding-bottom: 5px;
}
.itemimage {
	width: 100%;
	display: block;
	margin: 0.25em auto;
	max-width: 120px;
}
.marketbutton {
	cursor: pointer;
	display: block;
	text-align: left;
	background: linear-gradient(135deg, #e5b083, #ad754d);
	border-color: #ffcfa685;
	border-width: 2px;
	border-style: outset;
	border-radius: 0.5em;
	box-shadow: -1px -1px 0px 0px #b07b50, -1px -1px 0px 1px #e7ba96, 0px 0px 0px 1px #8f6745, 1px 1px 0px 0px #673c18, 2px 2px 1px 0px #c59871, 1px 1px 4px 1px #673c18;
	padding: 0.5em 1em;
	margin: 1.25em 0.5em;
	font-family: 'Cinzel Decorative';
	font-weight: bold;
}
.marketbutton:hover {
	background: linear-gradient(270deg, #e5b083, #ad754d);
	box-shadow: -1px -1px 0px 0px #b07b50, -1px -1px 0px 1px #e7ba96, 0px 0px 0px 1px #8f6745, 1px 1px 0px 0px #673c18, 2px 2px 1px 0px #c59871, 1px 1px 4px 1px #673c18;
}
.marketbutton:active, .marketbutton.activetab {
	background: linear-gradient(0deg, #c5946a, #8b5f41);
	box-shadow: 1px 1px 1px #f1bd93, 1px 1px 3px #402d1c, inset 2px 2px 6px #633d1f;
	border-style: inset;
}
.marketbutton.disabledbtn {
	background: linear-gradient(135deg, #d3af91, #957055)!important;
	pointer-events: none;
}
.buttonicon {
	width: 30px;
	margin: -4px 5px -5px 0px;
	filter: drop-shadow(0px 0px 0px #f1a771) drop-shadow(0px 0px 2px #e7b897);
	vertical-align: middle;
}
.load-btn {
	display: inline-block;
	padding: 3px 10px;
	margin: 5px 10px;
	color: #2f1d0e;
	outline: none!important;
	border-radius: 10px;
	background: linear-gradient(180deg, #e3ae81, #af774f);
	border: 1px solid #9d7551;
	box-shadow: 0px 0px 0px 1px #e7ba96, 0px 0px 5px 1px #533820;
}
.load-btn:hover {
	background: linear-gradient(0deg, #e3ae81, #af774f);
}
.load-btn:active {
	background: linear-gradient(0deg, #c5946a, #8b5f41);
	box-shadow: 0px 0px 0px 1px #e7ba96, 0px 0px 5px 1px #533820, inset 1px 1px 3px #593a21;
}
.purchase-btn {
	display: block;
	border-radius: 10px;
	outline: none!important;
	background: linear-gradient(180deg, #e3ae81, #af774f);
	border: 1px solid #9d7551;
	box-shadow: 1px 1px 3px #402d1c, -1px -1px 1px #edc19e, inset 1px 1px 3px #efb88c;
	margin: 8px auto 3px;
}
.purchase-btn:hover {
	background: linear-gradient(0deg, #e3ae81, #af774f);
	box-shadow: 1px 1px 3px #402d1c, -1px -1px 1px #edc19e, inset 1px 1px 3px #efb88c;
}
.purchase-btn:active {
	background: linear-gradient(0deg, #c5946a, #8b5f41);
	box-shadow: 1px 1px 1px #edc19e, 1px 1px 3px #402d1c, -1px -1px 1px #ddb391, inset 1px 1px 3px #593a21;
}
.purchase-btn > a:link, .purchase-btn > a:visited {
	color: #4a311d;
}
.tinyholder {
	text-align: center;
	font-size: 15px;
	background: #cba07b;
	border: 1px solid #ad7f5c;
	border-radius: 1em/2em;
	letter-spacing: 0.5px;
	padding: 2px 5px;
	margin: 5px 5px;
}
.tinyholder2 {
	text-align: center;
	font-size: 14px;
	text-shadow: 0px 0px 3px #ebbf97, 0px 0px 3px #ebbf97, 0px 0px 4px #b98158, 0px 0px 4px #b98158, 0px 0px 6px #b98158, 0px 0px 6px #b98158;
	font-weight: bold;
}
.currencyholder {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-content: center;
	justify-content: center;
	align-items: center;
}
.currencyholder2 {
	display: none;
}
img.curricon {
	margin: 1px 2px 0 0;
	vertical-align: text-top;
}
.currencybox {
	padding: 2px 6px;
	background: #b78963;
	margin: 5px 3px;
	text-align: center;
	min-width: 80px;
	border-radius: 10px;
	border-style: solid;
	border-width: 1px;
	border-color: #976843;
	box-shadow: inset 0px 0px 5px 0px #ab7548, 0px 0px 0px 1px #d5a67f, 0px 0px 3px #392413;
	font-weight: bold;
	font-size: 14px;
}
input[type=checkbox] {
	vertical-align: middle;
	margin: -3px 2px 0;
}
input[type=search] {
	width: auto;
}
input.tinyinput, input[type=number] {
	max-width: 50px!important;
	padding:1px 3px;
	outline: none!important;
	background: #ffe7d3;
	border: 1px solid #ad7f5c;
	-moz-appearance: textfield;
}
input.tinyinput:active, .tinyinput:focus {
	background: #ffffff;
}
input[type=number]::-webkit-outer-spin-button, input[type=number]::-webkit-inner-spin-button {
	-webkit-appearance: none;
}
input.defaultinput {
	max-width: 250px!important;
	padding:3px 6px;
	outline: none!important;
	background: #ffe7d3;
	border: 1px solid #ad7f5c;
	border-radius: 10px;
	box-shadow: 0px 0px 3px #533820;
}
input.defaultinput:active, input.defaultinput:focus {
	background: #ffffff;
}
input.datalistcustom {
	border: none;
	max-width: 250px;
	width: 100%;
	position: relative;
	padding: 1em 1em 0 0;
	display: inline-block;
	padding-block-start: 0;
	padding-inline-start: 0;
	padding-inline-end: 0;
	padding-block-end: 0;
}
datalist.datas {
	display: none;
	position: absolute;
	border-top: none;
	font-family: sans-serif;
	padding: 0px;
	max-height: 150px;
	width: inherit;
	right: 1em;
	left: 0;
	overflow-y: auto;
	z-index: 3;
}
.searchbox {
	padding: 0.5em 0.25em;
	text-align: right;
	width: 100%;
}
.mini-title {
	color: #2f1d0e;
	font-size: 18px;
	font-weight: bold;
	text-shadow: 0px 0px 3px #e3b590, 
	0px 0px 3px #e3b590, 
	0px 0px 5px #937358, 
	0px 0px 5px #937358, 
	0px 0px 8px #937358, 
	0px 0px 8px #937358, 
	0px 0px 12px #937358, 
	0px 0px 12px #937358, 
	0px 0px 12px #937358, 
	0px 0px 12px #937358, 
	0px 0px 12px #937358, 
	0px 0px 12px #937358;
}
.maindesc {
	text-align: center;
	font-size: 17px;
	padding: 0.5em 0.8em 1em;
}
h4.desctitle {
	font-size: 1.75em;
	text-align: center;
	padding: 1em 0.35em 0.25em;
	font-style: italic;
	color: #d9b494;
	font-family: 'BreatheFire';
	letter-spacing: 1px;
	text-shadow: 1px 1px 3px #53361f, 1px 1px 3px #53361f;
}
.maindesc > .quot, h4.desctitle > .quot {
	font-size: 30px;
	font-style: italic;
	display: inline-block;
	margin: -2px 3px;
	text-shadow: none;
}
.maindesc > .quot:last-child {
	margin: -13px 3px 0px;
	vertical-align: sub;
}
.focusdesc {
	display: none;
	padding: 0 0.5em;
	text-align: center;
	font-size: 15px;
	font-style: italic;
}
.pagination {
	margin: 0 auto;
	padding: 2em 2em;
	flex-wrap: wrap;
	flex-direction: row;
	justify-content: center;
}
.page-link.itemtabs {
	cursor: pointer;
	color: #4a311d;
	background: #cba07b;
	border: 1px solid #895f40;
	box-shadow: none!important;
}
.page-link.itemtabs:hover {
	background: #dfb591;
}
.page-link.itemtabs.current {
	background: #f1caa9;
	pointer-events: none;
}
li.disabled {
	pointer-events: none;
}
li.disabled > .page-link.itemtabs {
	background: #b7a08c;
}
[data-tab-content] {
	display: none;
	width: 100%;
}
[data-tab-content].activecont {
	display: block;
	animation: fadeIn ease 1.5s;
}
h5.typetitle {
	font-weight: bold;
	padding: 0.5em 2em 0.2em;
	font-size: 1.4em;
	text-shadow: 0px 0px 3px #e5af82, 0px 0px 3px #e5af82;
}
#shoptabholder {
	position:sticky;
	top:2em;
	z-index:2;
}
.riddle-maingaugediv {
	position: relative;
	width: 100%;
	margin: 1em auto 0.5em;
}
/*.riddle-gaugeholder {
	display: inline-block;
	position: relative;
	margin: 0.5em auto 1em;
	width: 100%;
	overflow: hidden;
	background: #80654d;
	border-radius: 2em;
	border: 1px solid #daa67c;
	box-shadow: 1px 1px 0px 0px #533115, 0px 0px 4px 1px #4a311d, inset 0px 0px 1em 2px #433122;
}*/
.riddle-gaugeholder2 {
	display: inline-block;
	position: relative;
	margin: 0.5em auto 1em;
	width: 100%;
	overflow: hidden;
	border-radius: 2em;
	border: 1px solid #daa67c;
	background: #575734;
	box-shadow: inset 0 0 0 1px #875d3c, inset 3px 3px 6px 0px #c1b871, inset -2px -2px 5px 0px #324312, 0px 0px 4px 1px #4a311d;
}
.riddle-gaugeleft {
	z-index: 2;
	position: absolute;
	left: 1em;
    top: -1em;
    font-weight: bold;
    font-size: 14px;
    text-shadow: 0px 0px 3px #fbc394;
}
.riddle-gaugeright {
	z-index: 2;
	position: absolute;
	right: 1em;
    top: -1em;
    font-weight: bold;
    font-size: 14px;
    text-shadow: 0px 0px 3px #fbc394;
}
/*.riddle-gaugecontainer {
	height: 25px;
    background: #c89a72;
    border-radius: 2em;
    box-shadow: inset 0 0 0 1px #875d3c, 2px 0 3px 0px #453020, inset 3px 3px 6px 0px #ffcba4, inset -2px -2px 5px 0px #7b5639;
    margin: 0 0;
    width: 0%;
}*/
.riddle-gaugecontainer2 {
	height: 25px;
	background: #c89a72;
	border-radius: 2em 0 0 2em;
	box-shadow: inset 0 0 0 1px #875d3c, inset 3px 3px 6px 0px #ffcba4, inset 0px -2px 5px 0px #7b5639;
	margin: 0 0;
}
@media (max-width: 767px) {
	#shoptabholder {
		position: fixed;
		bottom: 0.5em;
		top: auto;
		right: 0;
		z-index: 2;
		width: auto;
		padding: 0.3em 0.5em;
		display: inline-block;
		background: transparent;
		box-shadow: none;
	}
	.marketbutton {
		margin: 10px 0;
		width: 40px;
		height: 40px;
		overflow: hidden;
		color: transparent;
		padding: 0.35em 0.35em;
	}
	.marketbutton > .buttonicon {
		width: 25px;
	}
	.currencyholder {
		display: none;
	}
	.currencyholder2 {
		display: flex;
		flex-direction: row;
		flex-wrap: wrap;
		align-content: center;
		justify-content: center;
		align-items: center;
	}
}



/* TOOLTIPS STYLE BELOW */
.tooltipmark {
	background: #4a311d;
	border-radius: 52px;
	padding-left: 4px;
	padding-right: 4px;
	font-size: 10px;
	color: #dfcbba;
	font-weight: bold;
	margin-left: -1px;
	position: relative;
}
.tooltipmark:hover {
	box-shadow: 0px 0px 3px 1px #d7c3b3;
	cursor: pointer;
}
.tooltiptext {
	text-align: center;
	visibility: hidden;
	opacity: 0;
	position: absolute;
	width: 200px;
	background: #4a311d;
	color: #dfcbba;
	padding: 5px;
	border-radius: 10px;
	border: 1px solid #c9a587;
	transition: 0.2s ease-in;
	-webkit-transition: .2s ease-in;
	z-index: 1000;
	white-space: normal;
	font-size: 12px;
	text-shadow: none;
}
.tooltiptext > b, .tooltiptext > u, .tooltiptext > i {
	color: #dfcbba;
}
.tooltiptext > a, .tooltiptext > a:focus, .tooltiptext > a:active, .tooltiptext > a:visited {
	color: #c99b74;
}
.tooltiptext > a:hover {
	color: #ffffff;
}
.topleft, .topright, .top {
	bottom: 0;
	margin: -1em auto 2em auto;
}
.botleft, .botright, .bot {
	top: 0;
	margin: 2em auto -1em auto;
}
.topleft {
	right: -300%;
}
.topright {
	left: -300%;
}
.top {
	left: -500px;
	right: -500px;
}
.botleft {
	right: -300%;
}
.botright {
	left: -300%;
}
.bot {
	left: -500px;
	right: -500px;
}
.tooltiptext::after {
	content: "";
	position: absolute;
	border-width: 6px;
	border-style: solid;
}
.topleft::after, .topright::after, .top::after {
	border-color: #4a311d transparent transparent transparent;
}
.botleft::after, .botright::after, .bot::after {
	border-color: transparent transparent #4a311d transparent;
}
.topleft::after {
	bottom: -12px;
	right: 37px;
}
.topright::after {
	bottom: -12px;
	left: 37px;
}
.top::after {
	bottom: -12px;
	left: 50%;
	margin-left: -6px;
}
.botleft::after {
	top: -12px;
	right: 37px;
}
.botright::after {
	top: -12px;
	left: 37px;
}
.bot::after {
	top: -12px;
	left: 50%;
	margin-left: -6px;
}
.tooltipmark:hover > .tooltiptext, .tooltipbox:hover > .tooltiptext {
	visibility: visible;
	cursor: pointer;
	opacity: 1;
}
/* SAME AS TOOLTIPMARK BUT MEANT FOR OTHER ELEMENTS THAN QUESTIONMARK TOOLTIP */
.tooltipbox {
	position: relative;
	width: 100%;
}
.tooltipbox > .tooltiptext {
	max-width: 200px;
}
.tooltipbox > .topleft {
	bottom: 6px;
	left: -50px;
	right: auto;
}
.tooltipbox > .topright {
	bottom: 6px;
	right: -50px;
	left: auto;
}
.tooltipbox > .top {
	bottom: 6px;
	left: -500px;
	right: -500px;
}
.tooltipbox > .botleft {
	top: 6px;
	left: -50px;
	right: auto;
}
.tooltipbox > .botright {
	top: 6px;
	right: -50px;
	left: auto;
}
.tooltipbox > .bot {
	top: 6px;
	left: -500px;
	right: -500px;
}
.tooltipbox > .topleft::after {
	right: 15%;
	margin-left: -50%;
}
.tooltipbox > .topright::after {
	left: 15%;
	margin-right: -50%;
}
.tooltipbox > .botleft::after {
	right: 15%;
	margin-left: -50%;
}
.tooltipbox > .botright::after {
	left: 15%;
	margin-right: -50%;
}
.tooltipbox:hover {
	cursor: pointer;
}