@font-face {
    font-family: 'wendyregular';
    src: url('font/wendy-webfont.eot');
    src: url('font/wendy-webfont.eot?#iefix') format('embedded-opentype'),
         url('font/wendy-webfont.woff') format('woff'),
         url('font/wendy-webfont.ttf') format('truetype'),
         url('font/wendy-webfont.svg#wendyregular') format('svg');
    font-weight: normal;
    font-style: normal;

}
body {
	font-family: 'wendyregular', arial;
	line-height: 22px;
	font-size: 18px;
	text-shadow: 0px 1px 0px rgba(255,255,255,0.3);
	background: #DDD;
}
h1, h2, h3, h4, h5 {
	font-weight: normal;
	text-shadow: 0px 1px 0px rgba(255,255,255,0.3);
}
canvas {
	background: url('../img/shop.jpg') no-repeat;
}
.hidden {
	display: none;
}
.container {
	position: relative;
	width: 900px;
	margin: 40px auto;
	overflow: hidden;
}
.overlay {
	width: 900px;
	height: 600px;
	position: absolute;
	/*display: none;*/
	z-index: 9000;
	background: rgba(0,0,0,0.8);
}
.clock {
	position: absolute;
	right: 10px;
	top: 10px;
	width: 30px;
	background: #333;
	color: #FFF;
	background: url('../img/ui/grey-noise.png') repeat;
	border-radius: 10px;
	border: 2px dashed #fff;
	box-shadow: 0 0 0 4px #3d3d3d, 1px 1px 2px 4px rgba(10, 10, 0, 0.5);
	padding: 6px 10px;
	text-shadow: -2px -2px 0px rgba(0,0,0,0.2);
}
.help {
	width: 900px;
	padding: 20px;
	display: none;
	background: rgba(0,0,0,0.8);
	color: #FFF;
	text-shadow: -2px -2px 0px rgba(0,0,0,0.2);
	position: absolute;
	top:0;
	z-index: 9900;
}
.help h3,
.help p {
	margin: 0;
	padding: 0;
	text-shadow: -2px -2px 0px rgba(0,0,0,0.2);
}
.dialog {
	background: url('../img/ui/texture.png') repeat;
	padding: 30px;
	width: 400px;
	border-radius: 30px;
	border: 2px dashed #fff;
	box-shadow: 0 0 0 4px #f34379, 1px 1px 2px 4px rgba(10, 10, 0, 0.5);
	position: absolute;
	top: 20px;
	left: 50%;
	margin-left: -230px;
	display: none;
	z-index: 901;
}
.button {
	margin: 20px 10px 0 0;
	border: 1px solid #0a3c59;
	background: #3e779d;
	background: -webkit-gradient(linear, left top, left bottom, from(#65a9d7), to(#3e779d));
	background: -webkit-linear-gradient(top, #65a9d7, #3e779d);
	background: -moz-linear-gradient(top, #65a9d7, #3e779d);
	background: -ms-linear-gradient(top, #65a9d7, #3e779d);
	background: -o-linear-gradient(top, #65a9d7, #3e779d);
	background-image: -ms-linear-gradient(top, #65a9d7 0%, #3e779d 100%);
	padding: 10.5px 21px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
	-webkit-box-shadow: rgba(255,255,255,0.4) 0 1px 0, inset rgba(255,255,255,0.4) 0 1px 0;
	-moz-box-shadow: rgba(255,255,255,0.4) 0 1px 0, inset rgba(255,255,255,0.4) 0 1px 0;
	box-shadow: rgba(255,255,255,0.4) 0 1px 0, inset rgba(255,255,255,0.4) 0 1px 0;
	text-shadow: #7ea4bd 0 1px 0;
	color: #06426c;
	font-size: 20px;
	font-family: 'wendyregular', arial;
	text-decoration: none;
	vertical-align: middle;
}
.button:hover {
	border: 1px solid #0a3c59;
	text-shadow: #1e4158 0 1px 0;
	background: #3e779d;
	background: -webkit-gradient(linear, left top, left bottom, from(#65a9d7), to(#3e779d));
	background: -webkit-linear-gradient(top, #65a9d7, #3e779d);
	background: -moz-linear-gradient(top, #65a9d7, #3e779d);
	background: -ms-linear-gradient(top, #65a9d7, #3e779d);
	background: -o-linear-gradient(top, #65a9d7, #3e779d);
	background-image: -ms-linear-gradient(top, #65a9d7 0%, #3e779d 100%);
	color: #fff;
}
.button:active {
	text-shadow: #1e4158 0 1px 0;
	border: 1px solid #0a3c59;
	background: #65a9d7;
	background: -webkit-gradient(linear, left top, left bottom, from(#3e779d), to(#3e779d));
	background: -webkit-linear-gradient(top, #3e779d, #65a9d7);
	background: -moz-linear-gradient(top, #3e779d, #65a9d7);
	background: -ms-linear-gradient(top, #3e779d, #65a9d7);
	background: -o-linear-gradient(top, #3e779d, #65a9d7);
	background-image: -ms-linear-gradient(top, #3e779d 0%, #65a9d7 100%);
	color: #fff;
}
.menu {
	position: absolute;
	left: 10px;
	bottom: 16px;
	background: url('../img/ui/grey-noise.png') repeat;
	width: 300px;
	border-radius: 10px;
	border: 2px dashed #fff;
	box-shadow: 0 0 0 4px #3d3d3d, 1px 1px 2px 4px rgba(10, 10, 0, 0.5);
	padding: 10px;
	color: #FFF;
	text-shadow: -2px -2px 0px rgba(0,0,0,0.2);
}
.menu > div {
	overflow: hidden;
}
.menu div div {float: left;}
.menu div .label {float: left; margin-left: 20px;}
.menu div.first {font-size: 22px; margin-bottom: 10px; margin-left: 2px;}
.menu div.first .label {margin-left: 5px;}
.meter { 
	height: 10px;  /* Can be anything */
	width: 200px;
	position: relative;
	background: #555;
	-moz-border-radius: 25px;
	-webkit-border-radius: 25px;
	border-radius: 25px;
	padding: 6px;
	-webkit-box-shadow: inset 0 -1px 1px rgba(255,255,255,0.3);
	-moz-box-shadow   : inset 0 -1px 1px rgba(255,255,255,0.3);
	box-shadow        : inset 0 -1px 1px rgba(255,255,255,0.3);
}
.meter > span {
	width: 0;
	display: block;
	height: 100%;
	   -webkit-border-top-right-radius: 8px;
	-webkit-border-bottom-right-radius: 8px;
	       -moz-border-radius-topright: 8px;
	    -moz-border-radius-bottomright: 8px;
	           border-top-right-radius: 8px;
	        border-bottom-right-radius: 8px;
	    -webkit-border-top-left-radius: 20px;
	 -webkit-border-bottom-left-radius: 20px;
	        -moz-border-radius-topleft: 20px;
	     -moz-border-radius-bottomleft: 20px;
	            border-top-left-radius: 20px;
	         border-bottom-left-radius: 20px;
	background: #ff7abe; /* Old browsers */
	background: -moz-linear-gradient(top,  #ff7abe 0%, #ed3694 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ff7abe), color-stop(100%,#ed3694)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #ff7abe 0%,#ed3694 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #ff7abe 0%,#ed3694 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #ff7abe 0%,#ed3694 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #ff7abe 0%,#ed3694 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ff7abe', endColorstr='#ed3694',GradientType=0 ); /* IE6-9 */
	-webkit-box-shadow: 
	  inset 0 2px 9px  rgba(255,255,255,0.3),
	  inset 0 -2px 6px rgba(0,0,0,0.4);
	-moz-box-shadow: 
	  inset 0 2px 9px  rgba(255,255,255,0.3),
	  inset 0 -2px 6px rgba(0,0,0,0.4);
	position: relative;
	overflow: hidden;
	-webkit-transition: width 1s ease-in-out;
    -moz-transition: width 1s ease-in-out;
    -o-transition: width 1s ease-in-out;
    transition: width 1s ease-in-out;
}
.timeline {
	position: absolute;
	top: 10px;
	left: 10px;
}
.shop {
	position: absolute;
	bottom: 6px;
	right: 20px;
	width: 200px;
}
.shop > a,
.inventory > a {
	display: block;
}
.shop ul, 
.inventory ul {
	padding: 0 12px 20px;
	margin: 0;
	list-style: none;
}
.shop ul li,
.inventory ul li {
	margin: 0;
	padding: 0;
}
.shop ul li {
	padding: 0 0 4px 0;
}
.shop .title,
.inventory .title {
	width: 80px;
	display: inline-block;
}
.shop .title {
	width: 42px;
}
.shop .price,
.shop input,
.shop a {
	display: inline-block;
	margin-top: 4px;
}
.shop .price {
	width: 22px;
}
.shop .qty,
.inventory .qty {
	text-align: right;
	width: 15px;
	display: inline-block;
}
.shop a,
.inventory a {
	text-decoration: none;
	color: #000;
}
.inventory .qty {
	width: 35px;
}
.shop input {
	width: 14px;
	padding: 2px;
	margin: 0 4px;
}
.inventory {
	position: absolute;
	bottom: 6px;
	right: 175px;
}


.ribbon {
	width: 180px;
	min-height: 50px;
	height: auto;
	overflow: hidden;
}
.ribbon .hook {
	color: #000;
	padding: 10px 0;
	text-align: center;
	display: block;
	text-decoration: none;
}

.ribbon .container {
	position: relative;
	width: 140px;
	min-height: 75px;
	overflow: hidden;
	margin: 0 auto;
}

.ribbon .base {
	min-height: 50px;
	width: 140px;
	margin-top: 31px;
	background: #f14c7e; /* Old browsers */
	background: -moz-linear-gradient(top,  #f14c7e 0%, #e54072 100%); /* FF3.6+ */
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f14c7e), color-stop(100%,#e54072)); /* Chrome,Safari4+ */
	background: -webkit-linear-gradient(top,  #f14c7e 0%,#e54072 100%); /* Chrome10+,Safari5.1+ */
	background: -o-linear-gradient(top,  #f14c7e 0%,#e54072 100%); /* Opera 11.10+ */
	background: -ms-linear-gradient(top,  #f14c7e 0%,#e54072 100%); /* IE10+ */
	background: linear-gradient(to bottom,  #f14c7e 0%,#e54072 100%); /* W3C */
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f14c7e', endColorstr='#e54072',GradientType=0 ); /* IE6-9 */
	position: relative;
	z-index: 2;
}

.ribbon .base:before {
	content: '';
	position: absolute;
	top: 0;
	width: 125px;
	left: 6px;
	height: 225px;
	border-left: 1px dashed #E21672;
	border-right: 1px dashed #E21672;
}

.ribbon .base:before {
	content: '';
	position: absolute;
	top: 0;
	width: 125px;
	left: 7px;
	height: 225px;
	border-left: 1px dashed #E21672;
	border-right: 1px dashed #E21672;
}
.ribbon .base div {
	position: relative;
	z-index: 999;
}
.ribbon .left_corner {
	width: 100px;
	height: 100px;
	background: #f14c7e;
	position: absolute;
	top: 5px;
	left: -50px;
	z-index: 1;
	-webkit-transform: rotate(25deg);
	-moz-transform: rotate(25deg);
	-ms-transform: rotate(25deg);
	-o-transform: rotate(25deg);
	transform: rotate(25deg);
}

.ribbon .right_corner {
	width: 100px;
	height: 100px;
	background: #f14c7e;
	position: absolute;
	top: 5px;
	right: -50px;
	z-index: 1;
	-webkit-transform: rotate(-25deg);
	-moz-transform: rotate(-25deg);
	-ms-transform: rotate(-25deg);
	-o-transform: rotate(-25deg);
	transform: rotate(-25deg);
}
.coffee {
	position: absolute;
	top: 250px;
	right: 260px;
}
.cups {
	position: absolute;
	z-index: 1;
	top: 70px;
	right: 300px;
}
.cups ul {
	margin-top: 0;
}
.cups ul li {
	display: block;
	width: 30px;
	height: 18px;
	background: url('../img/ui/coffee.png') no-repeat;
}
.coffee a {
	height: 141px;
	width: 141px;
	text-indent: -9999px;
	display: block;
}
.coffee a:hover {
	background: url('../img/ui/click-hover.png') no-repeat;
}
.clients {
	width: 160px;
	position: absolute;
	left: -160px;
	top: 225px;
	height: 310px;
}
.kev {
	width: 160px;
	position: absolute;
	right: 25px;
	top: 225px;
	height: 310px;
	background: url('../img/clients/kev.png') no-repeat;
}
.clients.reverse{
    -moz-transform: scaleX(-1);
    -o-transform: scaleX(-1);
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
    filter: FlipH;
    -ms-filter: "FlipH";
}
.instructions div {
	display: none;
	z-index: 9999;
}
.instructions div h4 {
	margin: 0;
	font-size: 26px;
}
.instructions div a {
	margin-top: 0;
	display: inline-block;
}
.start {
	display: none;
}