@font-face {
	font-family: "WakuMaru";
	src: url(fonts/mini-wakuwaku-maru.otf);
}
html {
	overflow: hidden;
	height: 100%;
}

#overlayUI * {
	user-select: none !important;
}

*::-webkit-scrollbar-track {
	border-radius: 20px;
	background-color: #fff;
	padding-right: 5px;
}

*::-webkit-scrollbar {
	width: 18px;
	background-color: #fff;
}

*::-webkit-scrollbar-thumb {
	border-radius: 10px;
	background-color: #00bfff;
	border: 5px solid #fff;
	/*box-shadow: 0 0 0 2px inset red;*/
}


body {
	height: 100%;
	overflow: auto;
	overflow: hidden;
	/*background: #111 url("images/bg.png");*/
	background: #000;
	margin: 0;
	padding: 0;
	width: 100%;
	text-align: center;
	font-family: "WakuMaru";
}

*.inactive {
	display: none;
	pointer-events: none;
}

#ui {
	margin-top: 0px;
	text-align: left;
	margin-left: auto;
	margin-right: auto;
	//-webkit-transition: transform .7s cubic-bezier(0.3,  0.0, 0.4, 1.0); /* older webkit */
	//-webkit-transition: transform .7s cubic-bezier(0.3, -0.9, 0.4, 2.0);
	//   -moz-transition: transform .7s cubic-bezier(0.3, -0.9, 0.4, 2.0);
	//     -o-transition: transform .7s cubic-bezier(0.3, -0.9, 0.4, 2.0);
	//        transition: transform .7s cubic-bezier(0.3, -0.9, 0.4, 2.0); /* custom */
	/*transition-delay: .8s;*/
}

/*.transformLeft {
	transform-origin: 0% 50% !important;
	transition: none !important;
}*/

/*.transformTop {
	transform-origin: 50% 0% !important;
	transition: none !important;
}*/

/*#ui.fullWindow {
	position: fixed;
	top: calc(50%);
	left: calc(50%);
	margin-top: -360px;
	margin-left: -540px;
}
*/
.debugWatch .header {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 30px;
	background: rgba(255,255,255,.3);
	cursor: move;
	line-height: 30px;
	text-align: center;
	overflow: hidden;
}

.debugWatch .close {
	position: absolute;
	top: 0;
	right: 10px;
	line-height: 30px;
	cursor: pointer;
}

.debugWatch {
	font-family: "Inconsolata", "Lucida Console", monospace;
	color: #fff;
	position: absolute;
	background: rgba(0,0,0,.9);
	text-shadow: 0px 1px 3px #000;
	line-height: 20px;
	box-shadow: 0px 3px 10px rgba(0,0,0,.4);
	font-size: 16px;
	text-align: left;
	z-index: 10;
}

.debugWatch .clickToWatch {
	cursor: pointer;
	text-decoration: underline;
}

.debugWatch pre {
	margin: 30px 0 0 0;
	position: relative;
	display: block;
	height: 30px;
	width: 150px;
	font-family: inherit;
	font-size: inherit;
	overflow: auto;
	resize: both;
	padding: 10px;
}

#ui #debugContainer .chunkGraph,
#ui #debugContainer #framesGraph,
#ui #debugContainer #workerMessageGraph {
	position: relative;
	resize: both;
	display: block;
	border: 1px solid #fff;
	border-top: none;
	overflow: hidden;
	min-width: 140px;
	min-height: 140px;
}

#ui #debugContainer .chunkTimes .line,
#ui #debugContainer #frameTimes .line,
#ui #debugContainer #workerMessageSize .line {
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	right: 0;
	width: 90px;
	line-height: 14px;
	border: 1px solid #fff;
	border-top: none;
	border-left: none;
	pointer-events: none;
	background: rgba(0,0,0,.7);
}

/*#ui #debugContainer #chunkTimes .line0 {
	background: rgba(0,0,0,.7);
	bottom: 0;
	height: 100%;
}*/
lin3
#ui #debugContainer .chunkTimes .line:before,
#ui #debugContainer #frameTimes .line:before,
#ui #debugContainer #workerMessageSize .line:before {
	content: "";
	top: 0;
	left: 0;
	right: 0;
	height: 1px;
	width: 5000%;
	display: block;
	background: #fff;
	border-bottom: 1px solid #000;
}

#ui #debugContainer * .line0 {top: 0%!important;}
#ui #debugContainer * .line1 {top: 20%!important;}
#ui #debugContainer * .line2 {top: 40%!important;}
#ui #debugContainer * .line3 {top: 60%!important;}
#ui #debugContainer * .line4 {top: 80%!important;}
#ui #debugContainer * .line5 {top: 100%!important;}

#ui #debugContainer .bar {
	width: 4.8%;
	min-width: 1px;
	background: #fff;
	margin: 0;
	display: block;
	position: absolute;
	bottom: 0;
	pointer-events: none;
}

#ui #debugContainer #frameTimes .bar {
	width: 1.6%;
}

#ui #debugContainer #workerMessageSize .bar {
	width: 1.6%;
}

#ui #debugContainer .chunkTimes,
#ui #debugContainer #frameTimes,
#ui #debugContainer #workerMessageSize {
	min-width: 350px !important;
	min-height: 160px !important;
}

#ui #debugContainer #debug,
#ui #debugContainer .chunkTimes,
#ui #debugContainer #frameTimes,
#ui #debugContainer #workerMessageSize,
#ui .debugPanel,
#ui #fps {
	font-family: "Inconsolata", "Lucida Console", monospace;
	color: #fff;
	position: fixed;
	background: rgba(0,0,0,.8);
	text-shadow: 0px 1px 3px #000;
	line-height: 20px;
	min-width: 300px;
	min-height: 150px;
	box-shadow: 0px 3px 10px rgba(0,0,0,.4);
	font-size: 16px;
	z-index: 9;
}

#ui #debugContainer #polyDrawsGraph {
	min-height: 150px;
	resize: both;
	overflow: hidden;
}

#ui #debugContainer #polyDrawsGraph .graphArea {
	pointer-events: none;
	width: 50%;
	left: 0%;
	height: calc(100% - 63px);
	display: block;
	position: absolute;
}

#ui #debugContainer #polyDrawsGraph .graphArea:nth-of-type(2) {
	left: 50%;
}

#ui #debugContainer #polyDrawsGraph .area {
	background: orange;
	width: calc(100% - 5px);
	white-space:nowrap;
	box-shadow: inset 0 0 0 1px #000;
	overflow: hidden;
}

#ui #debugContainer #polyDrawsGraph .area.type_terrain_lod0  {background: #e4b68e}
#ui #debugContainer #polyDrawsGraph .area.type_terrain_lod1  {background: #dea36f}
#ui #debugContainer #polyDrawsGraph .area.type_terrain_lod2  {background: #b17c4f}
#ui #debugContainer #polyDrawsGraph .area.type_terrain_lod3  {background: #8e613a}
#ui #debugContainer #polyDrawsGraph .area.type_static_lod0   {background: #9bd948}
#ui #debugContainer #polyDrawsGraph .area.type_static_lod1   {background: #79bd1e}
#ui #debugContainer #polyDrawsGraph .area.type_static_lod2   {background: #5DA300}
#ui #debugContainer #polyDrawsGraph .area.type_grass         {background: #106B00}
#ui #debugContainer #polyDrawsGraph .area.type_water         {background: #1F8BFF}
#ui #debugContainer #polyDrawsGraph .area.type_clouds        {background: #CFE6FC}
#ui #debugContainer #polyDrawsGraph .area.type_other         {background: #AEA9AC}
#ui #debugContainer #polyDrawsGraph .area.type_structure     {background: #ff485f}

#ui #fps {
	min-height: 21px;
	min-width: 118px;
	position: absolute;
	left:0;
}

#ui #debug.true { /* debug paused */
	background: rgba(100,50,50,.98);
}

#ui #debugContainer .debugPanelLog {
	min-height: 0px !important;
}

#ui #debugContainer .debugPanelLog .log .timestamp {
	font-weight: bold;
	color: #999 !important;
	margin-left: -76px;
	width: 65px;
	display: inline-block;
	line-height: 30px;
	margin-bottom: -10px;
	margin-top: -10px;
	text-align: center;
	font-size: 11px;
}

#ui #debugContainer .debugPanelLog #warningsLogContainer {
	position: relative;
}

#ui #debugContainer .debugPanelLog #warningsLogContainer .log {
	color: #fa0;
}

#ui #debugContainer .debugPanelLog .container.inactive {
	display: block;
	height: 0 !important;
}

#ui #debugContainer .debugPanelLog .log {
	background: #000;
	padding: 10px 10px;
	padding-left: 82px;
	font-weight: bold;
	width: 100%;
	box-sizing: border-box;
	border-bottom: 1px solid rgba(255,255,255,.5);
}

#ui #debugContainer .debugPanelLog .container {
	height: 100px;
	overflow: scroll;
	resize: both;
	width: 350px;
}

#ui #debug #debugHeader,
#ui #debugContainer .debugHeader  {
	cursor: move;
	padding: 0;
	line-height: 40px;
	text-align: center;
	background: rgba(255,255,255,.1);
	user-select: none;
	-webkit-user-select: none;
	-moz-user-select: none;
}

#ui #debugContainer #infoLogHeader {
	background: rgba(50,155,255,1);
	/*color: #000; text-shadow: none;*/
}

#ui #debugContainer #warningsLogHeader {
	background: rgba(240,176,0,1);
	/*color: #000; text-shadow: none;*/
}

#ui #debugContainer #errorsLogHeader {
	background: rgba(255,0,0,1);
	/*color: #000; text-shadow: none;*/
}

#ui #debug #debugHeader h4,
#ui #debugContainer .debugHeader h4 {
	margin: 0;
	padding: 0;
}

#ui #debug #debugContentContainer {
	height: 450px;
	width: 360px;
	min-width: 285px;
	max-width: 700px;
	min-height: 50px;
	max-height: 700px;
	resize: both;
	overflow: auto;
	padding: 10px;
	/*margin: 10px;*/
}

#ui #debugContainer *::-webkit-scrollbar,
.debugWatch ::-webkit-scrollbar {
	-webkit-appearance: none;
	background: #000;
}

#ui #debugContainer *::-webkit-scrollbar:vertical,
.debugWatch ::-webkit-scrollbar:vertical {
	width: 10px;
}

#ui #debugContainer *::-webkit-scrollbar:horizontal,
.debugWatch ::-webkit-scrollbar:horizontal  {
	height: 10px;
}

#ui #debugContainer *::-webkit-scrollbar-thumb,
.debugWatch ::-webkit-scrollbar-thumb  {
	background-color: rgba(255, 255, 255, .75);
	border: 3px solid #000;
}

#ui #debugContainer *::-webkit-scrollbar-track,
.debugWatch ::-webkit-scrollbar-track  {
	background-color: #000;
}

#ui #debug #debugStaticContent {
	line-height: 30px;
}

#ui #debug input,
#ui .debugPanel input {
	max-width: 40px;
	padding: 0 5px;
	text-align: left;
	background: #444;
	color: #fff;
	font-family: inherit;
	font-size: inherit;
	margin-bottom: 4px;
	border: none;
	/*border-radius: 3px;*/
	outline: none;
	cursor: pointer;
	transition: background .065s ease;
}

#ui #debug button.disabled,
#ui .debugPanel button.disabled {
	opacity: .2;
	cursor: not-allowed;
}

#ui #debug button,
#ui .debugPanel button {
	background: #444;
	color: #fff;
	font-family: inherit;
	font-size: inherit;
	border: none;
	/*border-radius: 3px;*/
	outline: none;
	cursor: pointer;
	transition: background .065s ease;
	margin-bottom: 4px;
}

#ui #debug button:hover,
#ui .debugPanel button:hover {
	background: #555;
}

#ui #debug button:active,
#ui .debugPanel button:active {
	background: #777;
}

/*#ui #debug.dragging {
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
}*/

#ui #debug #debugPaused.true {
	width: 0;
	height: 0;
	border-top: 10px solid transparent;
	border-bottom: 10px solid transparent;
	border-left: 15px solid rgba(255,0,0,.8);
	border-right: 0px solid transparent;

}

#ui #debug #debugPaused {
	cursor: pointer;
	position: absolute;
	top: 10px;
	right: 10px;
	width: 7px;
	height: 20px;
	border-left: 6px solid rgba(255,255,255,.8);
	border-right: 6px solid rgba(255,255,255,.8);
}


#ui #debug hr:after {
	content: "//-------------------------------";
	color: #625F4B;
	text-shadow: none;
}

#ui #debug hr {
	border: none;
	height: 20px;
	margin: 0px 0;
}

#ui #debug #debugEvalCode,
#ui #debug #debugWatch {
	font-family: inherit;
	font-size: inherit;
	outline: none;
	border: none;
	color: #fff;
	padding: 10px;
	text-shadow: inherit;
	width: 100%;
	display: block;
	height: 90px;
	box-sizing: border-box;
	background: rgba(255,255,255,.1);
	resize: vertical;
	border-top: 5px solid rgba(255,255,255,.6);
}

#ui #debug #debugWatch {
	height: 50px;
}

#ui #debug .or, .or {color: #E2BD4F} /* orange */
#ui #debug .pu, .pu {color: #9DA1FA} /* purple */
#ui #debug .bl, .bl {color: #9DEFFA} /* blue */
#ui #debug .gr, .gr {color: #B9FF4F} /* green */
#ui #debug .pi, .pi {color: #FF4A80} /* pink */
.comment {color: #625F4B} /* grey */
.error {color: #FF0000} /* red */
.tab   {padding-left: 30px;}

#game {
	top: 0;
	height: 100%;
	position: absolute;
	z-index: -1;
	margin: 0 auto;
	background: #fff;
}

canvas { /*temp force*/
	image-rendering: optimizeSpeed;
	image-rendering: -moz-crisp-edges;
	image-rendering: -o-crisp-edges;
	image-rendering: -webkit-optimize-contrast;
	image-rendering: optimize-contrast;
	-ms-interpolation-mode: nearest-neighbor;
	image-rendering: pixelated;
}

#ui #overlayUI {
	transition: -webkit-filter 0.4s ease, -moz-filter 0.4s ease, filter 0.4s ease;
}

#ui.paused #overlayUI {
	/*-webkit-filter: blur(30px) brightness(1.0) saturate(200%);*/
	   /*-moz-filter: blur(10px) brightness(1.3);*/
			/*filter: blur(10px) brightness(1.3);*/
	transition: -webkit-filter 1.5s ease, -moz-filter 1.5s ease, filter 1.5s ease;
}


#ui.suspend canvas,
#ui.suspend #onscreenUI *,
#ui.paused canvas,
#ui.paused #onscreenUI * {
	-webkit-filter: blur(10px) brightness(1.3) saturate(120%);
}

#ui #onscreenUI {
	/*transition: -webkit-filter 1s ease, -moz-filter .5s ease, filter .5s ease;*/
}

#ui.suspend #onscreenUI {
	/*-webkit-filter: blur(30px) brightness(0.9) saturate(200%);*/
	   /*-moz-filter: blur(10px) brightness(0.9);*/
			/*filter: blur(10px) brightness(0.9);*/
}

#gameUI {
	margin: 0 auto;
	position: relative;
	width: 1280px;
	height: 720px;
	overflow: hidden;
}

/*#gameUI.left {
	transform-origin: 0% 50% !important;
}

#gameUI.center {
	transform-origin: 50% 0% !important;
}*/

#ui #pause.inactive {
	display: block;
	opacity: 0;
	transform: translate(0,-50%) scale(0.9);
}

#ui #pause {
	position: absolute;
	left: -100px;
	right: -100px;
	z-index: 1;
	background: rgba(255,255,255,.5);
	padding: 200px 0;
	top: 360px;
	transform: translate(0,-50%) scale(1.0);
	overflow: hidden;
	text-align: center;
	-webkit-transition: all .3s cubic-bezier(0.270, 0, 0.395, 1); /* older webkit */
	-webkit-transition: all .3s cubic-bezier(0.270, -0.545, 0.395, 1.615);
	-moz-transition: all .3s cubic-bezier(0.270, -0.545, 0.395, 1.615);
	-o-transition: all .3s cubic-bezier(0.270, -0.545, 0.395, 1.615);
	transition: all .3s cubic-bezier(0.270, -0.545, 0.395, 1.615); /* custom */
}

#ui #pause.transition li {
	transform: scale(.1);
	opacity: 0;
}

#ui #pause li:nth-child(1) {
	transition-delay: .05s;
}
#ui #pause li:nth-child(2) {
	transition-delay: .10s;
}
#ui #pause li:nth-child(3) {
	transition-delay: .15s;
}
#ui #pause li:nth-child(4) {
	transition-delay: .20s;
}
#ui #pause li:nth-child(5) {
	transition-delay: .25s;
}
#ui #pause li:nth-child(6) {
	transition-delay: .30s;
}

#ui #pause li {
	margin: auto;
	display: block;
	width: 300px;
	line-height: 50px;
	margin: 25px auto;
	font-size: 35px;
	color: #00bfff;
	text-align: center;
	position: relative;
	-webkit-user-select: none;
			user-select: none;
	-webkit-transition: opacity .3s ease, transform .3s cubic-bezier(0.3,  0.0, 0.4, 1.0); /* older webkit */
	-webkit-transition: opacity .3s ease, transform .3s cubic-bezier(0.3, -0.9, 0.4, 2.0);
	   -moz-transition: opacity .3s ease, transform .3s cubic-bezier(0.3, -0.9, 0.4, 2.0);
		 -o-transition: opacity .3s ease, transform .3s cubic-bezier(0.3, -0.9, 0.4, 2.0);
			transition: opacity .3s ease, transform .3s cubic-bezier(0.3, -0.9, 0.4, 2.0); /* custom */
	color: rgba(0,0,0,.6);
	text-shadow: 0 1px 0 rgba(255,255,255,.7);
		-webkit-text-stroke: 4px #fff;
	   -moz-text-stroke: 4px #fff;
			text-stroke: 4px #fff;
				color: #00bfff;

}

#ui #pause li:after {
	display: block;
	-webkit-text-stroke: 0px #000 !important;
	   -moz-text-stroke: 0px #000 !important;
			text-stroke: 0px #000 !important;
	text-shadow: none;
	margin-top: -50px;
}


#ui #pause li:hover {
	-webkit-text-stroke: 4px #fff;
	   -moz-text-stroke: 4px #fff;
			text-stroke: 4px #fff;
	font-size: 38px;
}

#ui #pause li.resume:after   {content: "Resume";}
#ui #pause li.settings:after {content: "Settings";}
#ui #pause li.controls:after {content: "Controls";}
#ui #pause li.credits:after  {content: "Credits";}
#ui #pause li.multiplayer:after  {content: "Multiplayer";}
#ui #pause li.exitToMenu:after  {content: "Exit To Menu";}

#ui #pause li:hover:after {
	display: block;
	-webkit-text-stroke: 0px #000 !important;
	   -moz-text-stroke: 0px #000 !important;
			text-stroke: 0px #000 !important;
	text-shadow: none;
	margin-top: -50px;
}

#ui #pause li:hover {
	cursor: pointer;
	color: #00bfff;
	/*font-size: 40px;*/
/* 	text-shadow: 0 3px 3px rgba(0,0,0,.4); */
}

#ui #pause li:active {
	font-size: 29px;
}

#ui #panel.inactive {
	display: block;
	opacity: 0;
	transform: scale(0.9);
}

#ui #panel,
#ui #editRoomInventory,
#ui #cookingPanel {
	overflow: visible;
	transform: scale(1.0);
	opacity: 1;
	z-index: 1;
	position: absolute;
	left: 190px;
	top: 90px;
	width: 900px;
	height: 550px;
	background: #fff;
	border-radius: 30px;
	-webkit-transition: all .3s cubic-bezier(0.3,  0.0, 0.4, 1.0); /* older webkit */
	-webkit-transition: all .3s cubic-bezier(0.3, -0.9, 0.4, 2.0);
	   -moz-transition: all .3s cubic-bezier(0.3, -0.9, 0.4, 2.0);
		 -o-transition: all .3s cubic-bezier(0.3, -0.9, 0.4, 2.0);
			transition: all .3s cubic-bezier(0.3, -0.9, 0.4, 2.0); /* custom */
}

#ui #innerPanel {
	background: #fff;
	z-index: 9;
	position: absolute;
	border-radius: 25px;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
}

#ui #editRoomInventory {
	left: 700px;
	width: 470px;
	overflow: hidden;
}

#ui #editRoomInventory .item:nth-child(7n + 5) {
	margin-left: 65px;
}

#ui #editRoomInventory .icon {
	background-image: url("images/ui.png");
	width: 117px;
	height: 117px;
	background-position: -721px -172px;
	position: absolute;
	top: calc(50% - 58px);
	left: calc(50% - 58px);
	display: block;
}

#ui #editRoomInventory #editRoomRemove {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background: #00bfff;
	opacity: .9;
	color: #fff;
	font-size: 18px;
	z-index: 9;
}

#ui #fieldGuide {
	overflow: auto;
}

#ui .fieldGuidePanel {
	z-index: 4;
	position: absolute;
	top: 30px;
	left: 30px;
	right: 30px;
	bottom: 30px;
	background: #fff;
}

#ui #fieldGuide h2,
#ui #achievements h2,
#ui #photos h2,
#ui #map h2 {
	color: #00bfff;
	text-align: center;
	font-size: 22px;
	line-height: 22px;
}

#ui #fieldGuide h2 span {
	font-size: 18px;
	line-height: 22px;
}

#ui #panel .tab:hover {
	cursor: pointer;
	transform: translate(0px,-5px) !important;
}

#ui #panel .tab {
	display: block;
	background: #6ce5ff;
	width: 110px;
	height: 70px;
	position: absolute;
	top: -50px;
	left: 30px;
	padding: 0;
	z-index: 0;
	border-top-right-radius: 80px 30px;
	border-top-left-radius: 80px 30px;
	-webkit-transition: transform .25s cubic-bezier(0.3,  0.0, 0.4, 1.0); /* older webkit */
	-webkit-transition: transform .25s cubic-bezier(0.3, -0.9, 0.4, 3.0);
	   -moz-transition: transform .25s cubic-bezier(0.3, -0.9, 0.4, 3.0);
		 -o-transition: transform .25s cubic-bezier(0.3, -0.9, 0.4, 3.0);
			transition: transform .25s cubic-bezier(0.3, -0.9, 0.4, 3.0); /* custom */
}

#ui #panel .tab.attire {
	background: #fad711;
	left: 145px;
}

#ui #panel .tab.achievements {
	background: #c158e2;
	left: 490px;
}

#ui #panel .tab.achievements .icon {
	background-position: -420px -580px;
}

#ui #panel .tab.photos {
	background: #ff3f3f;
	left: 605px;
}

#ui #panel .tab.photos .icon {
	background-position: -520px -580px;
}

#ui #panel .tab.attire .icon {
	background-position: -114px -580px;
}

#ui #panel .tab.map {
	background: #85db29;
	left: 375px;
}

#ui #panel .tab.map .icon {
	background-position: -314px -580px;
}

#ui #panel .tab.guide {
	background: #ff7e47;
	left: 260px;
}

#ui #panel .tab.guide .icon {
	background-position: -214px -580px;
}

#ui #panel .tab .icon {
	width: 60px;
	height: 60px;
	left: 25px;
	position: relative;
	background: url("images/ui.png");
	background-position: -13px -580px;
	opacity: .9;
}

#ui #inventory #inventoryItems,
#ui #editRoomInventory #editRoomInventoryItems,
#ui #fieldGuide .container,
#ui #achievements .container {
	position: absolute;
	top: 50px;
	bottom: 50px;
	left: 0;
	right: 0;
	overflow-y: auto;
	border-top: 3px #eee dashed;
	border-bottom: 3px #eee dashed;
}


#ui #inventory #inventorySearch,
#ui #editRoomInventory #inventorySearch,
#ui #editRoomInventoryHeader #inventorySearch {
	position: absolute;
	top: 10px;
	left: 340px;
	width: 200px;
	line-height: 30px;
	border-radius: 100px;
	padding: 0 10px;
	background: #fff;
	border: none;
	box-shadow: 0 0 0 2px rgba(0,0,0,.1);
	outline: none;
	font-size: 16px;
	font-family: inherit;
}

#ui #editRoomInventoryHeader #inventorySearch {
	left: auto;
	right: 20px;
}

#ui #inventory .close,
#ui #editRoomInventory .close,
#ui #sellPanel .close,
#ui #fieldGuide .close,
#ui .fieldGuidePanel .close,
#ui #panel .close,
#ui #cookingPanel .close,
#ui #photos .close,
#ui .photoPanel .close,
#ui #map .close {
	cursor: pointer;
	position: absolute;
	top: 15px;
	left: 15px;
	font-size: 26px;
	z-index: 10;
}

#ui #inventory .item,
#ui #editRoomInventory .item,
#ui #sellPanel .item,
#ui #fieldGuide .item,
#ui #discoveryPopup .icon,
#ui #cookingPanel .item,
#ui .completedRecipe .item {
	animation: itemPopIn .3s ease forwards;
	transform: scale(0);
	cursor: pointer;
	display: inline-block;
	height: 90px;
	width: 90px;
	margin: 10px;
	border-radius: 100%;
	/*temp below*/
	line-height: 90px;
	text-align: center;
	background: #eee;
	background-image: url("images/inventory.png");
	position: relative;
			user-select: none;
	-webkit-user-select: none;
	   -moz-user-select: none;
	   -webkit-transition: top .3s ease, left .3s ease;
	   -webkit-transition: top .3s ease, left .3s ease;
		  -moz-transition: top .3s ease, left .3s ease;
			-o-transition: top .3s ease, left .3s ease;
			   transition: top .3s ease, left .3s ease;
	-webkit-transition-timing-function: cubic-bezier(0.0, 0.0, 0.0, 1.0); /* older webkit */
	-webkit-transition-timing-function: cubic-bezier(0.0, 0.0, 0.0, 1.4);
	   -moz-transition-timing-function: cubic-bezier(0.0, 0.0, 0.0, 1.4);
		 -o-transition-timing-function: cubic-bezier(0.0, 0.0, 0.0, 1.4);
			transition-timing-function: cubic-bezier(0.0, 0.0, 0.0, 1.4); /* custom */
}

#ui .item.empty {
	background: #fff !important;
	border: 3px dashed #bbb;
	box-sizing: border-box;
	pointer-events: none;
}

#ui .item.noAnimation {
	transform: scale(1) !important;
	animation: none !important;
}

#ui #sellPanel .item {
	animation: none;
	transform: scale(1);
}

@keyframes itemPopIn {
	0%   {transform:scale(0.00);}
	70%  {transform:scale(1.05);}
	100% {transform:scale(1.00);}
}

#ui #inventory .item.force,
#ui #editRoomInventory .item.force {
	transition: none !important;
}

#ui #inventory .item:nth-child(15n - 6),
#ui #fieldGuide .container .item:nth-child(15n - 6) {
	margin-left: 65px;
}

@keyframes itemCurrent {
	0%   {transform:scale(1.00);}
	20%  {transform:scale(0.95);}
	70%  {transform:scale(1.02);}
	100% {transform:scale(1.00);}
}

#ui #inventory .item.current,
#ui #editRoomInventory .item.current {
	box-shadow: 0 0 0 2px #fff, 0 0 0 5px #00bfff;
}
#ui #inventory .item.play,
#ui #editRoomInventory .item.play {
	animation: itemCurrent .3s ease;
}

#ui #inventory .item.dragging.current,
#ui #editRoomInventory .item.dragging.current {
	box-shadow: 0 0 0 2px #fff, 0 0 0 5px #00bfff, 0 0 20px rgba(0,0,0,.4);
}

#ui #inventory .item.dragging,
#ui #editRoomInventory .item.dragging  {
	z-index: 99;
	box-shadow: 0 0 0 2px #fff, 0 0 20px rgba(0,0,0,.4);
	transition: none;
	animation: none;
	transform: scale(1);
}

#ui #inventory .item .count,
#ui #editRoomInventory .item .count,
#ui #sellPanel .item .count,
#ui #fieldGuide .item .check,
#ui #achievements .icon .check,
#ui .achievementPopup .check,
#ui #cookingPanel .item .count {
	background: #fff;
	text-align: center;
	line-height: 30px;
	color: #aaa;
	width: 30px;
	height: 30px;
	position: absolute;
	bottom: 0px;
	right: 0px;
	font-size: 12px;
	border-radius: 100%;
	pointer-events: none;
}

#ui #fieldGuide .item .check,
#ui #achievements .icon .check,
#ui .achievementPopup .check  {
	background-image: url("images/ui.png");
	background-position: -608px -311px;
	background-color: #81d14f;
	box-shadow: 0 0 0 2px #fff;
}

#ui #inventory .item .count.gear,
#ui #editRoomInventory .item .count.gear {
	background-image: url("images/ui.png");
	background-position: -608px -341px;
}

#ui #inventory .item.current .count.gear,
#ui #editRoomInventory .item.current .count.gear {
	background-position: -638px -341px !important;
}

#ui #inventory .item.current .count,
#ui #editRoomInventory .item.current .count {
	background-color: #00bfff;
	color: #fff;
}

header {
	text-align: center;
	color: #777;
	font-size: 26px;
	line-height: 70px;
}

header a {
	color: inherit;
	text-decoration: none;
}

header a:hover {
	color: #00bfff;
}

#inventoryHeader {
	height: 50px;
	background: #fff;
	border-radius: 30px;
	z-index: 9;
	position: relative;
}

#inventoryHeader:before,
#fieldGuide h2:before,
#map .header:before,
#achievements .header:before,
#photos .header:before {
	content: " ";
	background: #66e5ff;
	background-position: 0px -660px;
	position: absolute;
	height: 11px;
	width: 37px;
	left: 66px;
	top: -2px;
	margin-left: 1px;
	z-index: 0;
}

#inventoryHeader:after,
#fieldGuide h2:after,
#map .header:after,
#achievements .header:after,
#photos .header:after {
	content: " ";
	background: url("images/ui.png?new=4");
	background-size: 750px 750px;
	background-position: 0px -330px;
	position: absolute;
	top: 0;
	height: 11px;
	width: 39px;
	left: 66px;
	z-index: 2;
}

#fieldGuide h2:after, #fieldGuide h2:before {left: 295px}
#fieldGuide h2:before {background: #ff7e3e;}

#map .header:after, #map .header:before {left: 411px}
#map .header:before {background: #82dd00;}

#achievements .header:after, #achievements .header:before {left: 526px}
#achievements .header:before {background: #c252e5;}

#photos .header:after, #photos .header:before {left: 641px}
#photos .header:before {background: #ff3c36;}

#inventoryFooter {
	height: 50px;
	background: #fff;
	border-radius: 30px;
	z-index: 9;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
}

#inventoryHeader #filterPanel {
	position: absolute;
	top: 10px;
	left: 50px;
	width: 240px;
	height: 30px;
}

#inventoryHeader #filterPanel:hover .filter {
	opacity: 1;
	transition-delay: 0s;
}

#inventoryHeader #filterPanel .filter {
	display: inline-block;
	width: 30px;
	height: 28px;
	background-image: url("images/ui.png");
	opacity: 1;
	transition: opacity .5s ease;
	transition-delay: 2s;
	margin: 0 2px;
	cursor: pointer;
}

#inventoryHeader #filterPanel .filter.clothing         {background-position: -718px -370px;}
#inventoryHeader #filterPanel .filter.clothing.current {background-position: -718px -340px;}

#inventoryHeader #filterPanel .filter.plant         {background-position: -748px -370px;}
#inventoryHeader #filterPanel .filter.plant.current {background-position: -748px -340px;}

#inventoryHeader #filterPanel .filter.building         {background-position: -778px -370px;}
#inventoryHeader #filterPanel .filter.building.current {background-position: -778px -340px;}

#inventoryHeader #filterPanel .filter.furniture         {background-position: -808px -370px;}
#inventoryHeader #filterPanel .filter.furniture.current {background-position: -808px -340px;}

#inventoryHeader #filterPanel .filter.tool         {background-position: -838px -370px;}
#inventoryHeader #filterPanel .filter.tool.current {background-position: -838px -340px;}

#inventoryHeader #filterPanel .filter.animal         {background-position: -868px -370px;}
#inventoryHeader #filterPanel .filter.animal.current {background-position: -868px -340px;}


#inventoryHeader .filterIcon {
	display: inline-block;
	background-image: url("images/ui.png");
	background-position: -676px -342px;
	width: 30px;
	height: 28px;
	margin: 0 2px;
	cursor: pointer;
	pointer-events: none;
}

#playerLeaves {
	position: absolute;
	top: 10px;
	right: 20px;
}

.leaves:before {
	content: "";
	margin: 0 0 0 -20px;
	position: absolute;
	display: inline-block;
	width: 20px;
	height: 30px;
	background: url("images/ui.png");
	background-position: -32px -131px;
}
.leaves {
	color: #00bfff;
	margin: 0 0 0 20px;
	display: inline-block;
	line-height: 30px;
}

#ui #controller.inactive {
	display: block;
	transform: translate(0,160px);
	opacity: 0;
}

#ui #controller {
	transform: translate(0,0);
	z-index: 1;
	position: absolute;
	top: 10px;
	right: 10px;
	opacity: .5;
	-webkit-transition: opacity .5s ease, transform .5s cubic-bezier(0.3,  0.0, 0.4, 1.0); /* older webkit */
	-webkit-transition: opacity .5s ease, transform .5s cubic-bezier(0.3, -0.9, 0.4, 2.0);
	   -moz-transition: opacity .5s ease, transform .5s cubic-bezier(0.3, -0.9, 0.4, 2.0);
		 -o-transition: opacity .5s ease, transform .5s cubic-bezier(0.3, -0.9, 0.4, 2.0);
			transition: opacity .5s ease, transform .5s cubic-bezier(0.3, -0.9, 0.4, 2.0); /* custom */

}

#ui #controller .key.actionA {
	top: 0px;
}

#ui #controller .key.actionB {
	top: 23px;
}
#ui #controller .key.actionC {
	top: 46px;
}

#ui #controller .key {
	right: -30px;
	position: absolute;
	font-size: 22px;
	line-height: 20px;
	width: 600px;
	pointer-events: none;
}

#ui #controller .key .icon {
	display: inline-block;
	width: 20px;
	height: 20px;
	color: #aaa;
	font-size: 13px;
	background: #fff;
	border-radius: 3px;
	text-align: center;
	margin-left: 3px;
}

#ui #controller .key.actionA .icon:last-of-type:after {
	content: "";
	display: block;
	width: 20px;
	height: 30px;
	background: url("images/ui.png");
	background-position: -419px -364px;
	position: absolute;
	right: 23px;
	top: -1px;
	z-index: 9;
	transform: scale(.65); /*temp*/
}

#ui #controller .key.actionB .icon:last-of-type:after {
	content: "";
	display: block;
	width: 20px;
	height: 30px;
	background: url("images/ui.png");
	background-position: -439px -364px;
	position: absolute;
	right: 23px;
	top: -1px;
	z-index: 9;
	transform: scale(.65); /*temp*/
}

#ui #controller .key .label {
	text-align: right;
	width: 500px;
	display: inline-block;
	color: #fff;
	text-shadow: 0 0 3px rgba(0,0,0,0.6);
	font-size: 16px;
	right: -5px;
	position: relative;
}

#ui #equipIcon {
	cursor: pointer;
	position: absolute;
	right: 10px;
	bottom: 10px;
	width: 90px;
	height: 90px;
	background: #fff;
	z-index: 2;
	background-image: url("images/inventory.png");
	box-shadow: 0 0 0 3px #fff;
	border-radius: 100%;
}

#ui #tooltip {
	margin: 5px;
	background: #fff;
	border-radius: 10px;
	padding: 5px 10px;
	color: #333;
	font-size: 14px;
	box-shadow: 0 0 0 2px rgba(0,0,0,.1);
	z-index: 15;
	position: fixed;
	pointer-events: none;
}

#ui #tooltip .value {
	color: #5fae2b;
	margin-top: 3px;
	line-height: 16px;
	font-size: 14px;
}

#ui #tooltip .value:before {
	content: "";
	display: inline-block;
	width: 23px;
	height: 17px;
	background-image: url("images/ui.png");
	background-position: -610px -381px;
	margin-top: 2px;
}

#credits {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 1;
	padding: 0 50px;
	overflow: auto;
	background: rgba(255,255,255,.8);

}

#credits h2 {
	font-size: 30px;
}

#credits li {
	text-align: center;
	text-shadow: 0 3px 0 rgba(0,0,0,.1);
	list-style: none;
	line-height: 30px;
	font-size: 20px;
	display: inline-block;
	/*width: 125px;*/
	/*height: 125px;*/
	box-sizing: border-box;
	border-radius: 100%;
	background: #00bfff;
	color: #fff;
	margin: 10px;
	-webkit-transition: all 1s cubic-bezier(0.270, 0, 0.395, 1); /* older webkit */
	-webkit-transition: all 1s cubic-bezier(0.270, -0.545, 0.395, 1.615);
	   -moz-transition: all 1s cubic-bezier(0.270, -0.545, 0.395, 1.615);
		 -o-transition: all 1s cubic-bezier(0.270, -0.545, 0.395, 1.615);
			transition: all 1s cubic-bezier(0.270, -0.545, 0.395, 1.615); /* custom */

}

#credits li:hover {
	transform: rotateY(360deg);
}


#credits li:nth-child(11n - 4) {
	margin-left: 82.5px !important;
}

#settings,
#controlsPanel,
#multiplayer {
	position: absolute;
	top: 100px;
	bottom: 100px;
	left: 300px;
	right: 300px;
	background: #fff;
	z-index: 9;
	border-radius: 30px;
	box-shadow: 0 0 0 500px rgba(0,0,0,.3); /*temp lol*/
	-webkit-transition: opacity .5s ease, transform .5s cubic-bezier(0.3,  0.0, 0.4, 1.0); /* older webkit */
	-webkit-transition: opacity .5s ease, transform .5s cubic-bezier(0.3, -0.9, 0.4, 3.0);
	   -moz-transition: opacity .5s ease, transform .5s cubic-bezier(0.3, -0.9, 0.4, 3.0);
		 -o-transition: opacity .5s ease, transform .5s cubic-bezier(0.3, -0.9, 0.4, 3.0);
			transition: opacity .5s ease, transform .5s cubic-bezier(0.3, -0.9, 0.4, 3.0); /* custom */
}

#multiplayer {
	text-align: center;
	padding: 20px;
	top: 170px;
	bottom: 170px;
}

#multiplayer .close {
	position: absolute;
	top: 20px;
	left: 20px;
	font-size: 20px;
	cursor: pointer;
}

#multiplayer .id {
	color: #00bfff;
	font-size: 30px;
	line-height: 60px;
	user-select: auto !important;
}

#multiplayer .warning {
	color: #aaa;
}

#multiplayer input {
	background: #fff;
	box-shadow: 0 0 0 3px #aaa;
	border: none;
	font-family: inherit;
	font-size: 22px;
	border-radius: 20px;
	line-height: 30px;
	margin: 20px auto;
	padding: 0 10px;
	outline: none;
	display: block;
}

#settings h2,
#controlsPanel h2 {
	text-align: center;
	color: #00bfff;
	z-index:9998;
	position:relative;
}

#settings.inactive,
#controlsPanel.inactive {
	display: block;
	opacity: 0;
	transform: scale(.9);
}

#settings.active,
#controlsPanel.active {
	opacity: 1;
	transform: scale(1);
}

#settings {
	overflow: auto;
	left: 240px;
	right: 240px;
	top: 50px;
	bottom: 50px;
}
/*
.settings-wrapper {
	position:relative;
	overflow: auto;
	height: 100%;
	width: calc(100% - 24px);
}

.settings-wrapper::after {
	content:"";
	background: linear-gradient(to bottom, rgba(255,255,255,0) 0%,rgba(255,255,255,0.98) 98%,rgba(255,255,255,1) 100%); ;
	position:fixed;
	height:70px;
	width: 100%;
	bottom:-1;
	z-index:6000;
}

.settings-wrapper::before {
	content:"";
	background: linear-gradient(to top, rgba(255,255,255,0) 0%,rgba(255,255,255,0.98) 98%,rgba(255,255,255,1) 100%); ;
	position:fixed;
	height:70px;
	width: 100%;
	top:-1;
	z-index:6000;
}

.settings-wrapper::-webkit-scrollbar-track
{

	background-color: #eeeeee;
	border-radius:30px;
	z-index:9999;
}

.settings-wrapper::-webkit-scrollbar
{
	width: 10px;
	background-color: #F5F5F5;
	border-radius:30px;
	z-index:9999;
}

.settings-wrapper::-webkit-scrollbar-thumb
{
	background-color: #00bfff;
	background-image: -webkit-gradient(linear, 0 0, 0 100%,
					   color-stop(.5, rgba(255, 255, 255, .2)),
					   color-stop(.5, transparent), to(transparent));
					   border-radius:30px;
					   z-index:9999;
}
*/

#settings select {
	font-size: 20px;
	margin: 0 0 0 20px;
	outline: none;
}

#settings .setting {
	line-height: 50px;
	margin: 0 0 10px 0;
	font-size: 20px;
	color: #aaa;
}


#settings .setting.disabled .subSetting {
	opacity: .2;
	cursor: not-allowed;
	position: relative;
}

#settings .setting.disabled .subSetting * {
	pointer-events: none;
}

#settings .label {
	text-align: right;
	width: 250px;
	display: inline-block;
	color: #000;
}

#settings input[type=range] {
	-webkit-appearance: none;
	width: 255px;
	outline: none;
	margin: 0 0 0 25px;
}

#settings input[type=range]::-webkit-slider-runnable-track {
	width: 100%;
	height: 14px;
	cursor: pointer;
	background: #eee;
	border-radius: 8px;
	/*border: 0.2px solid #010101;*/
}

#settings input[type=range]::-webkit-slider-thumb {
	-webkit-appearance: none;
	outline: none;
	border: none;
	height: 30px;
	width: 30px;
	border-radius: 100%;
	background: #00bfff;
	cursor: pointer;
	margin-top: -8px;
	-webkit-transition: transform .15s cubic-bezier(0.3,  0.0, 0.4, 1.0); /* older webkit */
	-webkit-transition: transform .15s cubic-bezier(0.3, -0.9, 0.4, 4.0);
	   -moz-transition: transform .15s cubic-bezier(0.3, -0.9, 0.4, 4.0);
		 -o-transition: transform .15s cubic-bezier(0.3, -0.9, 0.4, 4.0);
			transition: transform .15s cubic-bezier(0.3, -0.9, 0.4, 4.0); /* custom */
}

#settings input[type=range]::-webkit-slider-thumb:hover,
#settings input[type=range]::-webkit-slider-thumb:active {
	transform: scale(1.2);
}

#settings input[type=button] {
	outline: none;
	background: #eee;
	color: #aaa;
	line-height: 25px;
	padding: 0 15px;
	border-radius: 10px;
	border: none;
	font-family: inherit;
	font-size: inherit;
	cursor: pointer;
	-webkit-transition: transform .2s cubic-bezier(0.3,  0.0, 0.4, 1.0); /* older webkit */
	-webkit-transition: transform .2s cubic-bezier(0.3, -0.9, 0.4, 3.0);
	   -moz-transition: transform .2s cubic-bezier(0.3, -0.9, 0.4, 3.0);
		 -o-transition: transform .2s cubic-bezier(0.3, -0.9, 0.4, 3.0);
			transition: transform .2s cubic-bezier(0.3, -0.9, 0.4, 3.0); /* custom */
}

#settings input[type=button]:hover {
	transform: scale(1.1);
}

#settings input[type=button].delete {
	margin-left: 160px;
}
#settings input[type=button].delete:hover {
	background: red;
	color: #fff;
	transform: scale(1.02);
}

#settings input[type=button].current {
	background: #00bfff;
	color: #fff;
}

#settings .checkbox {
	width: 30px;
	height: 30px;
	outline: none;
	border: none;
	background: #eee;
	vertical-align: middle;
	display: inline-block;
	padding: 0;
	margin: 0;
	margin-left: 20px;
	position: relative;
	z-index: 2;
	border-radius: 100%;
	box-shadow: inset 0 0 0 2px #aaa;
	-webkit-transition: transform .2s cubic-bezier(0.3,  0.0, 0.4, 1.0); /* older webkit */
	-webkit-transition: transform .2s cubic-bezier(0.3, -0.9, 0.4, 3.0);
	   -moz-transition: transform .2s cubic-bezier(0.3, -0.9, 0.4, 3.0);
		 -o-transition: transform .2s cubic-bezier(0.3, -0.9, 0.4, 3.0);
			transition: transform .2s cubic-bezier(0.3, -0.9, 0.4, 3.0); /* custom */
}

#settings .checkbox:hover {
	transform: scale(1.2);
}

#settings .checkbox.clicked {
	transform: scale(.9);
}

#settings .checkbox.checked {
	background: #00bfff;
	box-shadow: none;
}

#settings .checkbox.checked:before {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	background: #fff;
	width: 5px;
	height: 17.5px;
	border-radius: 5px;
	transform: translate(14.5px,7px) rotate(45deg);
}

#settings .checkbox.checked:after {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	background: #fff;
	width: 5px;
	height: 8.75px;
	border-radius: 5px;
	transform: translate(7px,13.25px) rotate(-45deg);
}

#settings .close,
#controlsPanel .close {
	position: fixed;
	top: 20px;
	left: 20px;
	font-size: 20px;
	cursor: pointer;
	z-index:9999;
}

#ui #dialogContainer {
	position: absolute;
	top: 350px;
	z-index: 9;
}

#ui #dialogContainer .message.inactive {
	top: 30px;
	display: block;
	opacity: 0;
}

@keyframes messageAnimation {
	0%   {transform: translate(0,0)}
	50%  {transform: translate(0,4px)}
	100% {transform: translate(0,0)}
}

#ui #dialogContainer .message {
	animation: messageAnimation 3s ease-in-out infinite;
	opacity: 1;
	position: absolute;
	background: #fff;
	border-radius: 30px;
	padding: 20px;
	font-size: 20px;
	width: 350px;
	top: 0px;
	left: 100px;
	box-shadow: 0 0 30px rgba(0,0,0,.25);
	-webkit-transition: opacity .3s ease, top .3s cubic-bezier(0.3,  0.0, 0.4, 1.0); /* older webkit */
	-webkit-transition: opacity .3s ease, top .3s cubic-bezier(0.3, -0.9, 0.4, 2.0);
	   -moz-transition: opacity .3s ease, top .3s cubic-bezier(0.3, -0.9, 0.4, 2.0);
		 -o-transition: opacity .3s ease, top .3s cubic-bezier(0.3, -0.9, 0.4, 2.0);
			transition: opacity .3s ease, top .3s cubic-bezier(0.3, -0.9, 0.4, 2.0); /* custom */
}

#ui #dialogContainer .message:before {
	content: "";
	display: block;
	position: absolute;
	width: 29px;
	height: 32px;
	background-image: url("images/ui.png");
	background-position: -3px -387px;
	left: -21px;
	top: 18px;
}

#ui #dialogContainer .reply {
	position: absolute;
	/*background: #fff;
	border-radius: 10px;
	padding: 20px;
	font-size: 20px;*/
	width: 350px;
	top: 0px;
	/*cursor: pointer;*/
	left: 600px;
}

#ui #dialogContainer .reply .option {
	padding: 10px;
	margin: 5px 0;
	background: #fff;
	border-radius: 30px;
	box-shadow: 0 0 30px rgba(0,0,0,.25);
	padding: 20px;
	font-size: 20px;
	cursor: pointer;
}

#ui #dialogContainer .reply .buyCount {
	font-family: inherit;
	font-size: inherit;
	width: 50px;
	background: #eee;
	padding-left: 5px;
	border-radius: 5px;
	border: none;
	color: #00bfff;
	outline: none;
}

#mainMenu {
	background: #fff;
	/*background: #885732;*/ /*autumn/halloween*/
	z-index: 3;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	text-align: center;
	transition: opacity 5s ease;
}

@keyframes scaleBG {
	0%   {transform: scale(1) rotate(3deg); }
	50%  {transform: scale(1) rotate(-3deg);}
	100% {transform: scale(1) rotate(3deg); }
}

@keyframes fadeIn {
	0%   {opacity: 0; }
	100% {opacity: 1; }
}

#mainMenu .bg {
	background: #fff url("images/menu.png");
	position: absolute;
	top: -200px;
	left: 0px;
	right: 0;
	bottom: -200px;
	z-index: 0;
	background-position: center center;
	animation: fadeIn 2s ease-in-out, scaleBG 10s ease-in-out infinite;
}

@keyframes wobbleLetters {
	0%   {transform-origin: 14% 27% ;transform: translate(0px ,0px) rotate(-2deg) ;}
	10%  {transform-origin: 39% 94% ;transform: translate(-3px ,4px ) rotate(-5deg) ;}
	20%  {transform-origin:  5% 44% ;transform: translate(2px ,-4px ) rotate(-6deg) ;}
	30%  {transform-origin: 42% 42% ;transform: translate(1px ,1px) rotate(8deg) ;}
	40%  {transform-origin: 32% 56% ;transform: translate(4px ,-10x ) rotate(7deg) ;}
	50%  {transform-origin: 62% 72% ;transform: translate(3px ,8px) rotate(-3deg) }
	60%  {transform-origin: 14% 40% ;transform: translate(-7px ,5x ) rotate(-5deg) ;}
	70%  {transform-origin: 51% 12% ;transform: translate(-2px ,2px ) rotate(5deg) ;}
	80%  {transform-origin: 29% 39% ;transform: translate(6px ,0px ) rotate(-5deg) ;}
	90%  {transform-origin: 95% 46% ;transform: translate(2px ,9px) rotate(6deg) ;}
	100% {transform-origin: 14% 27% ;transform: translate(0px ,0px) rotate(-2deg) ;}
}

#mainMenu h1 {
	animation: fadeIn 2s ease-in-out forwards, wobbleLetters 66.4s ease-in-out infinite;
	font-size: 180px;
	letter-spacing: -10px;
	display: inline-block;
	margin: 50px 0 0 0;
	font-weight: 100;
	color: #00bfff;
	opacity: 0;
}

body.phone #mainMenu h1 {
	top: 300px;
	position: relative;
}

#mainMenu h1:nth-of-type(1)  {animation-delay: 0.28s, -56.8s; }
#mainMenu h1:nth-of-type(2)  {animation-delay: 0.36s, -28.4s; }
#mainMenu h1:nth-of-type(3)  {animation-delay: 0.44s, -16.4s; }
#mainMenu h1:nth-of-type(4)  {animation-delay: 0.52s, -10.8s; }
#mainMenu h1:nth-of-type(5)  {animation-delay: 0.60s, -32s; }
#mainMenu h1:nth-of-type(6)  {animation-delay: 0.68s, -0s; }
#mainMenu h1:nth-of-type(7)  {animation-delay: 0.75s, -20.4s; }

#mainMenu li {
	font-size: 35px;
	color: #000;
	font-weight: 100;
	list-style: none;
	line-height: 50px;
	position: relative;
	cursor: pointer;
	width: 315px;
	margin: 0 auto;
	opacity: 0;
	z-index: 2;
	left: 0;
	animation: fadeIn 2s ease-in-out forwards, shakeMenu 3s ease-in-out infinite;
	-webkit-transition: font-size .2s cubic-bezier(0.3,  0.0, 0.4, 1.0); /* older webkit */
	-webkit-transition: font-size .2s cubic-bezier(0.3, -0.9, 0.4, 2.0);
	   -moz-transition: font-size .2s cubic-bezier(0.3, -0.9, 0.4, 2.0);
		 -o-transition: font-size .2s cubic-bezier(0.3, -0.9, 0.4, 2.0);
			transition: font-size .2s cubic-bezier(0.3, -0.9, 0.4, 2.0); /* custom */
}

body.phone #mainMenu li {
	top: 300px;
	position: relative;
}

body.phone #mainMenu #joinWorld,
body.phone #mainMenu #choosePlayer,
body.phone #mainMenu #createPlayer {
	top: 530px;
}

#mainMenu li span:first-of-type {
	position: relative;
	left: 0;
	right: 0;
	text-align: center;
	z-index: 1;
}

#mainMenu li span:last-of-type {
	position: absolute;
	-webkit-text-stroke: 10px #fff;
	left: 0;
	right: 0;
	text-align: center;
	z-index: 0;
}

@keyframes shakeMenu {
	0%   {transform: rotate(0deg)}
	40%   {transform: rotate(0deg)}
	45%   {transform: rotate(-1deg)}
	50%   {transform: rotate(+1deg)}
	55%   {transform: rotate(-1deg)}
	60%   {transform: rotate(+1deg)}
	65%   {transform: rotate(0deg)}
	100%   {transform: rotate(0deg)}
}

#mainMenu li:nth-of-type(1)  {animation-delay: 0.28s }
#mainMenu li:nth-of-type(2)  {animation-delay: 0.36s }
#mainMenu li:nth-of-type(3)  {animation-delay: 0.44s }
#mainMenu li:nth-of-type(4)  {animation-delay: 0.52s }
#mainMenu li:nth-of-type(5)  {animation-delay: 0.60s}
#mainMenu li:nth-of-type(6)  {animation-delay: 0.68s}

#mainMenu li:hover {
	cursor: pointer;
	font-size: 40px;
	color: #00bfff;
}

#mainMenu li a {
	color: inherit;
	text-decoration: inherit;
}

#mainMenu #joinWorld.inactive {
	display: block;
	opacity: 0;
}

#mainMenu #joinWorld,
#mainMenu #choosePlayer,
#mainMenu #createPlayer {
	position: absolute;
	top: 230px;
	left: calc(50% - 145px);
	width: 290px;
	height: 300px;
	background: #fff;
	z-index: 3;
	opacity: 0;
	transition: opacity .3s ease;
}

#mainMenu #joinWorld.inactive,
#mainMenu #choosePlayer.inactive,
#mainMenu #createPlayer.inactive {
	display: block;
}

#mainMenu #joinWorld.active,
#mainMenu #choosePlayer.active,
#mainMenu #createPlayer.active {
	opacity: 1;
}

#mainMenu #createPlayer {
	z-index: 3;
}

#mainMenu #joinWorld {
	z-index: 5;
}

#mainMenu #choosePlayer .option {
	cursor: pointer;
	margin: 10px 0;
	font-size: 24px;
	background: #eee;
	border-radius: 10px;
	line-height: 45px;
	color: #333;
}

#mainMenu #choosePlayer .option:hover {
	background: #00bfff;
	color: #fff;
}

#mainMenu #joinWorld input {
	background: #fff;
	box-shadow: 0 0 0 3px #aaa;
	border: none;
	font-family: inherit;
	font-size: 22px;
	border-radius: 20px;
	line-height: 30px;
	margin: 20px auto;
	padding: 0 10px;
	outline: none;
}

#mainMenu #joinWorld button {
	background: #00bfff;
	border: none;
	font-family: inherit;
	border-radius: 22px;
	line-height: 30px;
	font-size: 22px;
	padding: 0 10px;
	color: #fff;
	outline: none;
}

#mainMenu #joinWorld .back,
#mainMenu #choosePlayer .back,
#mainMenu #createPlayer .back {
	text-align: left;
	font-size: 20px;
	color: #aaa;
	line-height: 30px;
	font-weight: 900;
	cursor: pointer;
}

.about {
	color: #aaa;
}

#ui #currencyPopup.inactive {
	display: block;
	transform: translate(0px,-150px);
}

#ui #currencyPopup {
	background: #fff;
	position: absolute;
	top: -120px;
	right: 60px;
	width: 80px;
	height: 220px;
	border-bottom-left-radius: 20px;
	border-bottom-right-radius: 20px;
	z-index: 2;
	padding-top: 180px;
	box-sizing: border-box;
	font-size: 24px;
	text-align: center;
	color: #00bfff;
	transform: translate(0px,0px);
	-webkit-transition: transform .6s cubic-bezier(0.3,  0.0, 0.4, 1.0); /* older webkit */
	-webkit-transition: transform .6s cubic-bezier(0.3, -0.9, 0.4, 2.0);
	   -moz-transition: transform .6s cubic-bezier(0.3, -0.9, 0.4, 2.0);
		 -o-transition: transform .6s cubic-bezier(0.3, -0.9, 0.4, 2.0);
			transition: transform .6s cubic-bezier(0.3, -0.9, 0.4, 2.0); /* custom */

}

#ui #currencyPopup:after {
	content: "";
	display: block;
	background: url("images/ui.png");
	width: 60px;
	height: 43px;
	position: absolute;
	top: 128px;
	left: 10px;
	background-position: -513px -334px;
}

#ui #sellPanel {
	overflow: visible;
	transform: scale(1.0);
	opacity: 1;
	z-index: 4;
	position: absolute;
	left: 100px;
	top: 90px;
	right: 100px;
	bottom: 50px;
	background: #fff;
	border-radius: 30px;
	-webkit-transition: all .3s cubic-bezier(0.3,  0.0, 0.4, 1.0); /* older webkit */
	-webkit-transition: all .3s cubic-bezier(0.3, -0.9, 0.4, 2.0);
	   -moz-transition: all .3s cubic-bezier(0.3, -0.9, 0.4, 2.0);
		 -o-transition: all .3s cubic-bezier(0.3, -0.9, 0.4, 2.0);
			transition: all .3s cubic-bezier(0.3, -0.9, 0.4, 2.0); /* custom */
}

#sellPanelHeader {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 50px;
}

#ui #cookingPanel .header,
#ui #sellPanelHeader {
	border-bottom: 3px dashed #eee;
}

#ui #cookingPanel .footer,
#ui #sellPanelFooter {
	border-top: 3px dashed #eee;
}

#sellPanelHeader h3 {
	position: absolute;
	top: 0;
	left: 0;
	right: 50%;
	text-align: center;
	color: #00bfff;
}

#sellPanelHeader h3:last-of-type {
	right: 0;
	left: 50%;
}

#sellPanelAvailable {
	position: absolute;
	left: 0;
	right: 50%;
	top: 53px;
	bottom: 53px;
	overflow: auto;
}

#sellPanelCart {
	position: absolute;
	left: 50%;
	right: 0;
	top: 53px;
	bottom: 53px;
	overflow: auto;
}

#sellPanelFooter {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 40px;
	text-align: right;
	padding: 0 5px;
}

#sellPanelFooter .currency {
	position: absolute;
	bottom: 0;
	left: 0;
	color: #5fae2b;
	font-size: 20px;
	line-height: 40px;
	margin-left: 10px;
}

#sellPanelFooter .currency:before {
	content: "";
	display: inline-block;
	width: 35px;
	height: 26px;
	background-image: url("images/ui.png");
	background-position: -605px -405px;
	padding-right: 5px;
	position: relative;
	top: 6px;
}

#sellPanelFooter button {
	font-family: inherit;
	font-size: inherit;
	color: #fff;
	background: #00bfff;
	border-radius: 15px;
	cursor: pointer;
	line-height: 30px;
	margin: 5px;
	border: none;
	padding: 0 10px;
}


#pauseButton {
	z-index: 4;
	width: 40px;
	height: 40px;
	background: #fff;
	border-radius: 100%;
	position: absolute;
	top: 8px;
	right: 8px;
	opacity: .15;
	transition: opacity .3s ease;
	cursor: pointer;
}

#pauseButton:hover {
	opacity: 1;
}

#pauseButton:after {
	content: "";
	display: block;
	width: 22px;
	height: 22px;
	box-shadow: inset 8px 0 0 #000, inset -8px 0 0 #000;
	margin: 9px;
}

#ui #controlsPanel {
	left: 240px;
	right: 240px;
	top: 50px;
	bottom: 50px;
	overflow: auto;
}

#ui #controlsPanel .control {
	line-height: 50px;
	margin: 0 0 10px 0;
	font-size: 20px;
	color: #aaa;
}

#ui #controlsPanel .control:after {
	content: "";
	display: block;
	height: 3px;
	width: 325px;
	background: #eee;
	border-radius: 10px;
	left: 160px;
	margin-top: 3px;
	position: absolute;
}

#ui #controlsPanel .control .name {
	font-size: 20px;
	text-align: right;
	width: 150px;
	display: inline-block;
	color: #000;
}

#ui #controlsPanel li {
	font-size: 20px;
	min-width: 30px;
	line-height: 30px;
	text-align: center;
	display: inline-block;
	padding: 0 5px;
	border-radius: 5px;
	margin: 0 4px;
	background: #00bfff;
	box-sizing: border-box;
	color: #fff;
}

#ui #discoveryPopup.inactive {
	display: block;
	transform: translate(-50%,-200px);
	animation: none;
	max-width: 600px;
}

@keyframes discoveryPopup {
	0%   {transform:scale(0.00);}
	70%  {transform:scale(0.70);}
	100% {transform:scale(0.60);}
}

@keyframes discoveryPopupOut {
	0%   {transform:scale(0.60);}
	30%  {transform:scale(0.70);}
	100% {transform:scale(0.00);}
}

#ui #discoveryPopup {
	transform: scale(.63);
	animation: discoveryPopup .3s ease 0s forwards, discoveryPopupOut .3s ease 4.5s forwards;
	position: absolute;
	background: transparent;
	width: 0;
	transform-origin: 0% 50%;
	overflow: visible;
	height: auto;
	min-height: 100px;
	z-index: 2;
	text-align: left;
}

#ui .screenSpacePopup {
	position: absolute;
	top: 0;
	left: 0;
	width: 90px;
	height: 90px;
	margin-top: -45px;
	margin-left: -45px;
	background-color: #fff;
	display: block;
	transition: transform .2s cubic-bezier(.46,.11,.35,1.84);
	box-shadow: 0 0 0 3px #fff;
	border-radius: 100%;
	z-index: 1;
	background-image: url("images/inventory.png");
}

#ui #discoveryPopup .icon {
	cursor: default;
	position: absolute;
	height: 90px;
	width: 90px;
	margin: 0;
	left: -45px;
	top: 5px;
	box-shadow: 0 0 0 5px #fff;
}

@keyframes discoveryPopupText {
	0%   {transform: translate(-50%,0) scale(0.0)}
	70%  {transform: translate(-50%,0) scale(1.1)}
	100% {transform: translate(-50%,0) scale(1.0)}
}

@keyframes discoveryPopupTextOut {
	0%   {transform: translate(-50%,0) scale(1.0)}
	30%  {transform: translate(-50%,0) scale(1.1)}
	100% {transform: translate(-50%,0) scale(0.0)}
}

#ui #discoveryPopup .text {
	animation: discoveryPopupText 0.3s ease 1.0s forwards, discoveryPopupTextOut 0.3s ease 4.0s forwards;
	width: auto;
	background: #fff;
	border-radius: 90px;
	margin-top: 102px;
	padding: 5px 0;
	box-sizing: border-box;
	display: inline-block;
	transform: translate(-50%,0) scale(0);
}

#ui #discoveryPopup h3 {
	color: #00bfff;
	font-size: 20px;
	padding: 8px 15px;
	white-space: nowrap;
	margin: 0;
}

#ui #binocularsMask {
	position: absolute;
	z-index: 0;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	pointer-events: none;
	background: url("images/binocularsMask.png");
	background-size: 100% 100%;
}

#dialogContainer .dialogLeaves {
	color: #5fae2b;
}

#loader {
	background: #fff;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 99;
	display: block;
	pointer-events: none;
	opacity: 100%;
	transition: opacity .85s ease;
	text-align: center;
}

.letterWrap {
	position: absolute;
	left: 0px;
	right: 0px;
	top: 315px;
	bottom: 0
}

#loader.inactive {
	display: block;
	opacity: 0;
}

#loader #loadingBar,
#ui #transitionOverlay {
	position: absolute;
	z-index: 1;
	top: calc((720px / 2) - 800px );
	left: calc((1280px / 2) - 800px );
	display: block;
	width: 1600px;
	height: 1600px;
	border-radius: 100%;
	display: block;
	pointer-events: none;
}

body.phone {
	overflow: hidden !important;
	height: 100vh !important;
}

body.phone #ui #transitionOverlay,
body.phone #loader #loadingBar {
	top: calc((1280px / 2) - 800px );
	left: calc((720px / 2) - 800px );
}

#ui #loadText {
	position: absolute;
	z-index: 2;
	text-align: center;
	bottom: 0;
	left: 0;
	right: 0;
}

#ui #transitionOverlay {
	box-shadow: inset #01bfff 0px 0px 0px 60px;
	transition: box-shadow .66s ease;

}
#ui #transitionOverlay.active {
	box-shadow: inset #01bfff 0px 0px 0px 800px;
}

@keyframes bounce {
	0%   {transform: translate(0px,  0px);}
	50%   {transform: translate(0px,  0px);}
	70%  {transform: translate(0px, -10px);}
	90%  {transform: translate(0px, 5px);}
	100% {transform: translate(0px,  0px);}
}

#loader .letter {
	font-size: 90px;
	display: inline-block;
	color: #00bfff;
	margin-top: 0;
	animation: bounce 1.5s ease-out infinite forwards;
	z-index: 3;
	position: relative;
}

#loader .letter.border {
	-webkit-text-stroke: 8px #fff !important;
	text-stroke: 8px #fff !important;
	margin-top: 0;
	z-index: 2;
	/*color: red;*/
}

@keyframes leafFall {
	0%   {transform: translate(15px, -10px)  rotateZ(-140deg) translate(14px, -15px) ;}
	50%  {transform: translate(4px,  9px)  rotateZ(+123deg) translate(-3px,  3px) ;}
	100% {transform: translate(15px, -10px)  rotateZ(-140deg) translate(14px, -15px) ;}
}

#loader .leaf,
#mainMenu .leaf,
#pause .leaf {
	position: absolute;
	top: 0;
	display: block;
	width: 80px;
	height: 80px;
	animation: leafFall 4s ease infinite forwards;
	z-index: 0;
	background: url("images/ui.png");
}

@keyframes addInventory {
	0%   {transform:translate(0px,-90px) scale(0) rotate(90deg);opacity:0;}
	30%   {transform:translate(0px,-90px) scale(.6) rotate(-10deg);opacity:1;}
	40%   {transform:translate(0px,-90px) scale(.5) rotate(0deg);opacity:1;}
	75%   {transform:translate(0px,-90px) scale(.5) rotate(0deg);opacity:1;}
	100% {transform:translate(0px,0px) scale(.5) rotate(0deg);opacity:1;}
}

#ui #addInventory {
	background: #fff;
	background-image: url("images/inventory.png");
	box-shadow: 0 0 0 3px #fff;
	border-radius: 100%;
	display: block;
	width: 90px;
	height: 90px;
	animation: addInventory 2s ease;
}

#ui #addInventory.inactive {
	display: none;
	pointer-events: none;
}

#lowerWrapper {
}

.chatBubble {
	z-index: 100;
	position: absolute;
	background: red;
	width: 100px;
	height: 30px;
}

#ui #map .mapImage {
    width: 510px;
    height: 434px;
    /* background-size: 170%; */
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
    overflow: hidden;
    position: absolute;
    top: 58px;
    left: 5px;
    /* box-shadow: 0 0 0 1px #fff; */
    border: 4px dotted rgba(0,0,0,.25);
    box-sizing: border-box;
}

#ui #map .mapMarkerList {
    position: absolute;
    right: 0;
    left: 59%;
    top: 53px;
    bottom: 53px;
    list-style: none;
    padding: 10px 10px 0 0;
    margin: 0 10px 0 0;
    overflow: auto;
}

#ui #map .mapMarkerList input.editable {
	user-select: auto !important;
	pointer-events: auto !important;
}

#ui #map .mapMarkerList input.editable:focus::selection {
	background: #00bfff !important;
	color: #fff !important;
}

#ui #map .mapMarkerList input,
#ui #map .mapMarkerList .item {
	line-height: 25px;
	font-size: 20px;
	padding: 15px;
	color: #777;
	border: 3px solid #eee;
	margin: 0 0 10px 0;
    border-radius: 10px;
    user-select: none !important;
}

#ui #map .mapMarkerList input::selection {
	background: transparent !important;
}

#ui #map .mapMarkerList input {
    display: block;
    width: 100%;
    font-family: "WakuMaru";
    outline: none;
    border-style: dashed;
}

#ui #map .mapMarkerList .itemWrap {
	cursor: pointer;
	position: relative;
}

#ui #map .mapMarkerList .distance {
	position: absolute;
	right: 3px;
	top: 3px;
	bottom: 3px;
	width: auto;
	padding: 15px 10px;
	text-align: center;
	color: #888;
}

#ui #map .mapMarkerList .marked .distance {
	color: #fff;
}

#ui #map .mapMarkerList .distance span {
	font-size: 10px;
}

#ui #map .mapMarkerList .item {
	cursor: pointer;
	background: #fafafa;
	position: relative;
	pointer-events: none !important;
}

#ui #map .mapMarkerList .marked .item {
	border-color: #00bfff;
	background: #00bfff;
	color: #fff;
}

#ui #map .mapMarkerList .item.editable,
#ui #map .mapMarkerList .marked .item.editable {
	background: #fff;
	border-style: dashed;
}

#ui #map .mapMarkerList .marked .item.editable {
	color: #00bfff;
}

#ui #map .header {
	height: 50px;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	border-bottom: 3px dashed #eee;
}

#ui #map .footer {
	height: 50px;
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	border-top: 3px dashed #eee;
}

#ui #achievements {
	overflow: auto;
	height: 100%;
	box-sizing: border-box;
	margin: 0 15px 0 0;
}
#ui #achievements .container {
	padding: 0 5px 0 18px;
}
#ui #achievements .achievement {
	padding: 35px 0 35px 120px;
	box-sizing: border-box;
	border-bottom: 3px solid #eee;
	position: relative;
}

#ui #achievements .achievement .icon,
.achievementPopUp .icon {
	background-color: #aaa;
	background-image: url("images/inventory.png");
	width: 90px;
	height: 90px;
	position: absolute;
	top: 30px;
	left: 10px;
	border-radius: 100%;
}

#ui #achievements .achievement h3,
.achievementPopUp h3 {
	margin: 0 0 10px 0;
	color: #00bfff;
	font-size: 30px;
}

#ui #achievements .achievement .desc,
.achievementPopUp .desc {
	color: #444;
}

#ui #achievements .achievement .reward,
.achievementPopUp .reward {
	margin-top: 10px;
	color: #999;
}

#ui .achievementPopUp .icon {
	left: 20px;
	top: 20px;
}

#ui .achievementPopUp {
	position: absolute;
	top: 50px;
	left: 300px;
	right: 300px;
	background: #fff;
	border-radius: 30px;
	padding: 40px 30px 40px 130px;
	transform: translate(0px, 0px);
	transition: transform .3s ease;
}

#ui .achievementPopUp.inactive {
	display: block !important;
	transform: translate(0px, -300px);
}

#ui #cookingPanel {
	left: 190px;
	right: 190px;
	width: auto;
	top: 50px;
	bottom: 50px;
	position: absolute;
	height: calc(720px - 100px);
}

#ui #cookingPanel .header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 50px;
   }

#ui #cookingPanel .footer {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 50px;
}

#ui #cookingPanel .selected,
#ui #cookingPanel .available {
	left: 0;
	right: 0;
}

#ui #cookingPanel  h3 {
	padding: 0 15px;
	margin: 0;
	line-height: 50px;
	border-bottom: 3px dashed #eee;
	font-size: 24px;
	color: #00bfff;
	top: 50px;
	position: absolute;
	left: 0;
	right: 0;
	text-align: center;
}

#ui #cookingPanel h3:nth-of-type(2) {
	border-top: 3px dashed #eee;
	top: 220px;
}

#ui #cookingPanel .selected {
	position: absolute;
	top: 105px;
}

#ui #cookingPanel .available {
	position: absolute;
	top: 276px;
	bottom: 53px;
	overflow: scroll;
}

#ui #cookingPanel .cookButton {
	background: #00bfff;
	color: #fff;
	display: inline-block;
	padding: 0 80px;
	line-height: 54px;
	/* border-radius: 8px; */
	font-size: 32px;
	position: absolute;
	right: 0;
	top: -3px;
	border-radius: 0px;
	border-bottom-right-radius: 29px;
	/* border-top: 3px dashed red !important; */
}

#ui .completedRecipe {
	position: absolute;
	top: -20px;
	background: #fff;
	width: 300px;
	height: 170px;
	border-bottom-left-radius: 15px;
	border-bottom-right-radius: 15px;
	padding: 20px 0 0 0;
	box-sizing: border-box;
	left: 500px;
	right: 500px;
	height: 380px;
	box-shadow: 0 5px 0 rgba(0,0,0,.2);
}

#ui .completedRecipe .completeButton,
#ui .completedRecipe .dismissButton {
	width: 140px;
	border-radius: 11px;
	text-align: center;
	position: absolute;
	bottom: 5px;
	font-size: 20px;
	cursor: pointer;
}

#ui .completedRecipe .completeButton {
	background: #00bfff;
	color: #fff;
	right: 5px;
	line-height: 50px;
}

#ui .completedRecipe .dismissButton {
	background: #fff;
	color: #888;
	line-height: 44px;
	left: 5px;
	box-sizing: border-box;
	border: 3px dashed #aaa;
}


#ui #photos {
	position: absolute;
	bottom: 0;
	top: 0;
	left: 0;
	right: 0;
	padding: 50px 30px 0px 30px;
}

#ui #photos .header {
	border-bottom: 3px #eee dashed;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 50px;
}

#ui #photos .photoContainer {
	position: absolute;
	top: 53px;
	left: 0;
	bottom: 0;
	right: 0;
	padding: 0 30px;
	overflow: auto;
}

#ui #photos .photoContainer img {
	width: calc(33.3% - 30px);
	margin: 20px 0 0 20px;
	cursor: pointer;
	border-radius: 5px;
}


#ui .photoPanel {
	padding: 40px;
	top: 30px;
	bottom: 30px;
	left: 190px;
	right: 190px;
	z-index: 2;
	position: absolute;
	background: #fff;
	border-radius: 20px
}

#ui .photoPanel img {
	width: 100%;
	border-radius: 5px;
}

#ui .photoPanel .deleteButton,
#ui .photoPanel .downloadButton {
    padding: 0 30px;
    font-size: 20px;
    margin-top: 15px;
    line-height: 40px;
    display: inline-block;
    border-radius: 10px;
}

#ui .photoPanel .deleteButton {
    background: #f00;
    color: #fff;
    cursor: pointer;
}

#ui .photoPanel .downloadButton {
    color: #00bfff;
    text-decoration: none;
    float: right;
    box-shadow: inset 0 0 0 3px #00bfff;
}

#ui .photoPanel .photoUI {
	position: absolute;
	overflow: hidden;
	border-radius: 5px;
}

#ui .photoPanel .photoUI .circle {
	position: absolute;
	border-radius: 100%;
	transform: translate(-50%,-50%);
	opacity: 0;
	transition: opacity .2s ease;
	box-shadow: 0 0 0 3px #fff, 0 0 0 6px #00bfff, 0 0 0 9px #fff, 0 0 0 1000px rgba(255,255,255,.7);
}

#ui .photoPanel .photoUI .circle:hover {
	z-index: 2;
	opacity: 1;
}

#ui .options {
	animation: itemPopIn .3s ease forwards;
	position: absolute;
	background: #fff;
	min-width: 100px;
	min-height: 30px;
	border-radius: 10px;
	color: #333;
	box-shadow: 0 0 0 2px rgba(0,0,0,.1);
	z-index: 3;
}

#ui .options div {
	line-height: 30px;
	padding: 0 10px;
	border-bottom: 1.5px dashed #eee;
	border-top: 1.5px dashed #eee;
	cursor: pointer;
}

#ui .options div:hover {
	background: #00bfff;
	color: #fff;
	border-bottom: 1.5px solid #00bfff;
	border-top: 1.5px solid #00bfff;
}

#ui .options div:first-of-type {
	border-top: none;
	border-top-left-radius: 10px;
	border-top-right-radius: 10px;
}

#ui .options div:last-of-type {
	border-bottom: none;
	border-bottom-left-radius: 10px;
	border-bottom-right-radius: 10px;
}


#ui #createPlayer input {
	width: 100%;
	height: 30px;
	border-radius: 5px;
	border: 2px solid #eee;
	padding: 0 10px;
	font-family: "WakuMaru";
	font-size: 18px;
	margin-top: 10px;
}

#ui #createPlayer button {
	width: 100%;
	background: #00bfff;
	height: 30px;
	margin-top: 10px;
	border: none;
	border-radius: 5px;
	font-family: "WakuMaru";
	font-size: 18px;
	color: #fff;
}

#ui .SSUIButton {
	position: absolute;
	display: block;
	height: 30px;
	width: 30px;
	transform: translate(-50%, -50%);
	background: white;
	border-radius: 100%;
	box-shadow: 0 0 0 3px #fff, 0 3px 10px 3px rgba(0,0,0,.4);
}

#ui .SSUIButton {
	color: #fff;
	line-height: 30px;
	text-align: center;
	display: block;
	font-size: 20px;
}

#ui .SSUIButton.inactive {
	display: none;
}

#ui .SSUIButton.buttonA {
	background: blue;
}

#ui .SSUIButton.buttonB {
	background: red;
}

#ui .SSUIButton.buttonC {
	background: green;
}
