.dollhouse {
	height: 180px;
	width: 180px;
	margin: auto;
	margin-top: 1em;
	margin-bottom: 1em;
	border: 3px double #004455;
	z-index: 0;
	border-radius: 12px;
	transform-origin: left center;

	position:relative;
}

.dollhouse i {
	margin: 2px;
	text-align: left;
	position: absolute;
	bottom: -1px;
	left: -1px;
	border-radius: 6px;

	font-size: smaller;
	color: #fffb;
    text-shadow: -1px -1px 0 #225a,
	    		  1px -1px 0 #225a,
	    		 -1px  1px 0 #225a,
	    		  1px  1px 0 #225a;
}

.dollhouse a:link {color: #fffb; font-weight: bold}
.dollhouse a:hover {color: #fffb; font-weight: bolder}
.dollhouse a:visited {color: #bbfb; font-weight: bold}
.dollhouse a:active {color: #fffb; font-weight: bolder}


.element_layer {
	position: absolute; /*removing this solves the dh-over-elements problem but unstacks them u_u; */
	z-index: -1;
	background-size: 100%;
/*	image-rendering: pixelated;

/*    image-rendering: optimizeSpeed;             /* Legal fallback */
/*    image-rendering: -moz-crisp-edges;          /* Firefox        */
/*    image-rendering: -o-crisp-edges;            /* Opera          */
/*    image-rendering: -webkit-optimize-contrast; /* Safari         */
/*    image-rendering: optimize-contrast;         /* CSS3 Proposed  */
/*    image-rendering: crisp-edges;               /* CSS4 Proposed  */
/*    image-rendering: pixelated;                 /* CSS4 Proposed  */
/*    -ms-interpolation-mode: nearest-neighbor;   /* IE8+           */
}

.pixelate {
	image-rendering: pixelated;
    image-rendering: optimizeSpeed;             /* Legal fallback */
    image-rendering: -moz-crisp-edges;          /* Firefox        */
    image-rendering: -o-crisp-edges;            /* Opera          */
    image-rendering: -webkit-optimize-contrast; /* Safari         */
    image-rendering: optimize-contrast;         /* CSS3 Proposed  */
    image-rendering: crisp-edges;               /* CSS4 Proposed  */
    image-rendering: pixelated;                 /* CSS4 Proposed  */
    -ms-interpolation-mode: nearest-neighbor;   /* IE8+           */


}

.noclick {
    pointer-events: none;
}

.itemoption {
	font-weight: 1;
}

html, body {
	background-color: #bbb;
	height: 100%;
	margin: 0px;
}

*{margin:0;padding:0} /* I am not sure what this does..? */
img{
	border:1px
}

i {
	border: 1px dashed #666;
	font-weight: bold;
	padding: 2px;
}

#click_to_reset {
	color: #11e;
	cursor: pointer;
}

.fbox {
	display: flex;
	flex-direction: column;
	height: 100%;
	flex-basis: all;
}

.fbox .row {
}

.fbox .row.fixed {
	flex: 0 0 auto;
}

.fbox .row.flexdiv {
	flex: 1 1 auto;
	min-height: 32px;
}

#tabsbin{
	padding-bottom: 4px;
}

#tabsbin li{
	background-color: #dddd;
	padding: 4px;
	border-radius: 8px;
	border: 3px solid #000;	
}

#tabsbin a{
	text-decoration: none;
	margin:0px;
}


#partsbin{
	white-space: normal; /*set to normal to stack vertically or to nowrap to scroll on x*/
	overflow-y: auto;
	flex-grow: 1;

	border-radius: 12px 12px 0 0;
	border-top: 3px double #888;
	padding: 16px 0px 0px 0px;
}

#partsbin img{
	margin: 3px 4px 3px 0;
	border: 1px solid #fff0;
}

#partsbin img:hover {
	border: 1px solid #fff;
}

#wearing{
	white-space: nowrap; /*set to normal to stack vertically or to nowrap to scroll on x*/
	max-height: 120px;
	min-height: 24px;
	overflow-y: auto;

	background-color: #d8d8d8;
	border-radius: 0 0 12px 12px;
	margin: 0 0 6px 0;
}

#wearing img{
	max-height: 50px;
	min-height: 50px;
	max-width: 120px;
	margin: 2px;

	border: 1px dashed #fff0;
}

#wearing img:hover{
	border: 1px dashed #fff;
}

#BLANK{
	visibility: hidden;
	cursor: default;
}

ul {
	list-style:none; 
	padding:4px;
	margin: 1px;
}

.vstack{
	overflow-y: auto;
	white-space: nowrap;
	height: 90%;
	display: inline-block;
	vertical-align: middle;
}

.vstack img{
	display: block;
	margin: 3px auto;
	clear: right;
}

.vwrap span{
	cursor: default;
}

.vwrap {
	overflow-y: auto;
	white-space: nowrap;
	height: 90%;
	display: inline-block;
	vertical-align: middle;
}

.vwrap img{
	max-height: 16px;
	max-width: 16px;
	margin: 3px;
	display: block;
}

.wrap {
	width: 100%;
	overflow: auto;
	padding-bottom: 4px;
	padding-top: 4px;
	white-space: nowrap;
}
.wrap li {
	margin: 0 6px;
	display: inline;
	font-weight: normal;
	font-size: 1.25em;
	font-family: 'arial';
}

.wrap img {
	padding: 12px;
	background-color: #fff5;
	border-radius: 8px;
	vertical-align: middle;
	cursor: pointer;
}

.wrap li{
	cursor: default;
}

#sign{
	width: 150px;
	height: auto;
	opacity: .5;
}

#backdrop{
	width: inherit;
	height: inherit;
	z-index: -999999;
	border-radius: 10px;
}