/* Common */
	body
	{
		font-family: '04b03';
		margin: 0;
		padding: 0;
		color: black;
		overflow: hidden;
	}
	
	a
	{
		cursor: pointer;
	}
	
	.hide { display: none; }
	
	.sprite
	{
		display: block;
		background-repeat: no-repeat;
		position: absolute;
		border: 0;
		background-color: transparent;
	}
	
	.sprite.tile
	{
		width: 100%;
		background-repeat: repeat-x;
	}
	
/* Background stuff */
	div#sky
	{
		-ms-filter: "progid:DXImageTransform.Microsoft.gradient(GradientType=0, startColorstr=#a3cbff, endColorstr=#9ae1ec)";
		background-image: -moz-linear-gradient(#a3cbff,#9ae1ec);
		background-image: -o-linear-gradient(#a3cbff,#9ae1ec);
		background-image: -ms-linear-gradient(#a3cbff,#9ae1ec);
		background-image: -webkit-linear-gradient(#a3cbff,#9ae1ec);
		background-image: linear-gradient(#a3cbff,#9ae1ec);
		position: absolute;
		top: 0px;
		bottom: 0px;
		left: 0px;
		right: 0px;
	}
	
	div#grass
	{
	  background-image: url(../images/grass.png);
	  height: 24px;
	  bottom: 0;
	}
	
	div#bushes
	{
	  background-image: url(../images/bushes.png);
	  height: 100px;
	  bottom: 0;
	}
	
	div#smallbush
	{
	  background-image: url(../images/smallbush.png);
	  width: 120px;
	  height: 52px;
	  bottom: 12px;
	}     
	
	div#clouds
	{
	  background-image:url(../images/clouds.png);
	  top : 80px;
	  z-index: 1;
	  height:120px;
	  bottom: 4px;
	}
	
	a#planetButton
	{
		width: 384px;
		z-index: 2;
		height:384px;
		left: -90px;
		top: -90px;         
	}
	
	div#planetSprite
	{
		background-image: url(../images/planet.png);
		background-position: 0px 0px;
		width: 384px;
		z-index: 0;
		height:384px;
		left: -90px;
		top: -90px;         
	}
	
	
/* Front view */
	#penguin
	{
	  background-image:url(../images/penguin1.gif);
	  width: 532px;
	  height:60px;
	  z-index: 4;
	  bottom: 8px;
	  left: -200px;
	}     
	
	
	#mailboxButton
	{
	  background-image: url(../images/mailbox.png);
	  background-position: 0px 0px;
	  width: 68px;
	  z-index: 3;
	  height: 88px;
	  bottom: 12px;
	  right: 542px;
	}
	
	#mailboxButton:hover
	{
	  background-position: 0px -88px;
	}
	
	#mailboxButton.open
	{
	  background-position: 0px -88px !important;
	}
	
	#doorButton
	{
	  background-image: url(../images/door.png);
	  background-position: 0px 0px;
	  width: 68px;
	  z-index: 3;
	  height:124px;
	  bottom: 12px;
	  right: 243px;         
	}
	
	#chestButton
	{
	  background-image: url(../images/chest.png);
	  background-position: 0px 0px;
	  width: 64px;
	  z-index: 3;
	  height: 52px;
	  bottom: 12px;
	  right: 100px;         
	}
	
	#chestButton:hover
	{
	  background-position: 0px -52px;
	}
	
	#house
	{
	  background-image:url(../images/house.png);
	  width: 448px;
	  z-index: 2;
	  height:312px;
	  bottom: 12px;
	  right: 100px;
	}
	
/* Postcard */
	#postcardPre
	{
		width: 0px;
		z-index: 5;
		height: 0px;
		bottom: 70px;
		right: 592px;         
	}
	
	#postcardPost
	{
		width: 716px;
		height: 392px;
		z-index: 5;
	}
	
	#postcardStamp
	{
		z-index: 9;
	}
	
	#postcardThrobber, #postcardEnvelope
	{
		z-index: 8;
	}
	
	#postcardGlass
	{
		z-index: 7;
		background-color: black;
		opacity: 0;
	}
	
	#postcardEnvelope
	{
		opacity: 0;
	}
	
	#postcardError
	{
		color: white;
		background-color: black;
		border-radius: 10px;
		opacity: 1;
		
		z-index: 10;
	}
	
	#postcardError *
	{
		margin-left: 50px;
		margin-top: 5px;
		margin-right: 50px;
		margin-bottom: 0px;
	}
	
	#postcardError .errorHeader1
	{
		font-size: 40px;
		margin-top: 40px;
		line-height: 30px;
	}
	
	#postcardError .errorHeader2
	{	
		font-size: 22px;
		margin-top: 0px;
	}
	
	#postcardError .errorBody
	{
		margin-top: 50px;
	}
	
	#postcardError .errorButtons
	{
		position: absolute;
		bottom: 40px
	}
	
	#postcardError .button
	{
		border: 4px solid #fff;
		padding: 2px 4px;
		margin: 2px;
		background-color: #060;
		background-color: rgb(0,120,0);
		color: white;
	}
	
	#postcardError .button:hover
	{
		border-color: yellow;
	}
	
	#postcard
	{
		background-image:url(../images/postcard.png);
		width: 716px;
		height: 392px;
		opacity: 0;
		z-index: 6;
	}
	
	#postcard input, #postcard textarea, #postcard #sendButton, #postcard #cancelButton
	{
		position: absolute;
		background-color: transparent;
		font-size: 24px;
		font-family: '04b03';
	}
	
	#postcard input { border: 0; }
	
	#postcard #subject
	{
		top: 53px;
		left: 140px;
		width: 296px;
	}
	
	#postcard #email
	{
		bottom: 20px;
		left: 160px;
		width: 275px;
	}
	
	#postcard textarea
	{
		border: 4px solid #fcc;
		top: 100px;
		left: 40px;
		height: 210px;
		width: 388px;
	}
	
	#postcard #sendButton
	{
		position: absolute;
		border: 4px solid #fcc;
		padding: 0px 2px;
		background-color: #060;
		background-color: rgba(0,100,0,0.5);
		color: black;
		right: 30px;
		bottom: 30px;
	}
	
	#postcard #cancelButton
	{
		position: absolute;
		border: 4px solid #fcc;
		padding: 0px 2px;
		background-color: #060;
		background-color: rgba(0,100,0,0.5);
		color: black;
		right: 110px;
		bottom: 30px;
	}
	
	#postcard .alert
	{
		outline: 2px solid red;
	}
	
	#postcard #postcardValidationError
	{
		position: absolute;
		right: 20px;
		bottom: 20px;
		height: 50px;
		width: 200px;
		opacity: 0;
		text-align: center;
		font-size: 17px;
		z-index: 15;
	}
	
/* Cabin interior */
	div#cabinInteriorGlass
	{
		background-color: black;
		position: absolute;
		top: 0px;
		bottom: 0px;
		right: 0px;
		left: 0px;
		z-index: 9;
		opacity: 0.8;
	}
	
	div#cabinInteriorPanda
	{
		width: 136px;
		height: 120px;
		z-index: 10;
	}
	
	div#cabinInteriorSprite
	{
		width: 1020px;
		height: 620px;
		background-image: url(../images/cabin/interiorbg2.png);
		z-index: 11;
	}
	
	div#cabinInteriorSky
	{
		width: 1020px;
		height: 620px;
		background-image: url(../images/cabin/housesky.png);
		z-index: 9;
		opacity: .8;
	}
	
	div#cabinInteriorFire
	{
		width: 104px;
		height: 48px;
		background-image: url(../images/cabin/fire2.gif);
		z-index: 12;
	}
	
	div#cabinInteriorFlicker1
	{
		width: 900px;
		height: 620px;
		background-image: url(../images/cabin/light1.png);
		z-index: 13;
	}
	
	div#cabinInteriorFlicker2
	{
		width: 900px;
		height: 620px;
		background-image: url(../images/cabin/light2.png);
		z-index: 13;
	}
	
	div#cabinInteriorDoorSprite, a#cabinInteriorDoorButton
	{
		width: 68px;
		height: 124px;
	}
	
	div#cabinInteriorDoorSprite
	{
		background-image: url(../images/cabin/door.png);
		z-index: 12;
	}
	
	a#cabinInteriorDoorButton
	{
		z-index: 15;
		cursor: pointer;
	}
	
	div#cabinInteriorPortraitBox
	{
		width: 296px;
		height: 152px;
		z-index: 14;
	}
	
	div#cabinInteriorPortraitBox a.portrait
	{
		width: 56px;
		height: 64px;
		background-position: 0px -64px;
		z-index: 13;
	}
	
	a#cabinInteriorPagePrev, a#cabinInteriorPageNext
	{
		width: 36px;
		height: 32px;
		z-index: 15;
		cursor: pointer;
	}
	
	a#cabinInteriorPageNext
	{
		background-position: -36px 0px;
	}
	
	/* Text box */
		div#cabinInteriorTextBox
		{
			width: 600px;
			height: 261px;
			top: 50px;
			z-index: 15;
			color: white;
			text-align: justify;
		}
		
		div#cabinInteriorTextBackground
		{
			width: 100%;
			height: 100%;
			position: absolute;
			background-color: black;
			border: 2px solid white;
			opacity: .7;
		}
		
		div#cabinInteriorTextFish
		{
			width: 100%;
			height: 100%;
			position: absolute;
			background-image: url(../images/fish.png);
			background-repeat: no-repeat;
			background-position: center center;
			opacity: .2;
		}
		
		div#cabinInteriorTextSprite
		{
			width: 120px;
			height: 152px;
			left: 15px;
			top: 10px;
			position: absolute;
			background-position: bottom left;
			background-repeat: no-repeat;
			/*background-image: url(../images/cabin/full/0.png);*/
		}
		
		div#cabinInteriorTextHeading
		{
			position: absolute;
			left: 100px;
			top: 10px;
			bottom: 10px;
			right: 10px;
			font-size: 25px;
			overflow: hidden;
		}
		
		div#cabinInteriorTextBody
		{
			position: absolute;
			left: 100px;
			top: 35px;
			bottom: 10px;
			right: 5px;
			padding-right: 5px;
			color: white;
			text-align: justify;
			font-size: 17px;
			overflow: auto;
		}
		
		div#cabinInteriorTextOpen
		{
			position: absolute;
			left: 10px;
			top: 35px;
			bottom: 10px;
			right: 5px;
			padding-right: 5px;
			color: white;
			text-align: justify;
			font-size: 17px;
			overflow: auto;
		}
		
		@-webkit-keyframes wiggle {
		from {-webkit-transform: rotateZ(2deg);}
		50% {-webkit-transform: rotateZ(-2deg);}
		to {-webkit-transform: rotateZ(2deg);}
		}
		
		.wigglybuttons {
			position: absolute;
			z-index: 3;
			height: 90px;
			width: 525px;
			left: 20%;
			top: 70%;
		}
			
		.blogbutton {	
			background-image: url(../images/blog_wiggle.png);
			background-position: 0px 0px;
			position: relative;
			float: right;
			height: 79px;
			width: 156px;
			-webkit-animation-name: wiggle;
			-webkit-animation-duration: .4s;
			-webkit-animation-iteration-count: infinite;
			-webkit-animation-timing-function: ease;
		}
		
		.aboutbutton {	
			background-image: url(../images/about_wiggle.png);
			background-position: no-repeat;
			position: relative;
			float: left;
			height: 79px;
			width: 156px;
			-webkit-animation-name: wiggle;
			-webkit-animation-duration: .4s;
			-webkit-animation-iteration-count: infinite;
			-webkit-animation-timing-function: ease;
			
		}
		
		.blogbutton:hover {
		-webkit-animation: none;
		}
		
		.aboutbutton:hover {
		-webkit-animation: none;
		}

		