html {
	width: 100%;
	height: 100%;
	background-color: #004bbb;
	background-image: url(resources/buddies_xmas.jpg);
	background-repeat: repeat-x;
}

body {
	margin: 0px;
	padding: 0px;
	width: 100%;
	height: 100%;
	text-align: center;
	font-size: 16px;
	*font-size: 100%;
}

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

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

#wrap {
	margin: auto;
	width: 980px;
	height: 640px;
}
#wrap-card {
	margin: auto;
	width: 721px;
	padding-top: 10px;
}

#card-from {
	font-family: "KomikaDisplayRegular";
	font-size: 1.75em;
	color: #0C203F;
	text-shadow: 1px 1px 1px rgba(255, 255, 255, .5);
	text-align: right;
	/*background-color: rgba(255, 255, 255, .5);*/
	background-image: url(resources/white50.png);
	
	width: 711px;
	padding: 10px;
}
#card-info {
	width: 731px;
	padding-top: 10px;
	padding-bottom: 10px;
	text-align: center;
	text-decoration: none;
}
#card-info a {
	text-decoration: none;
	color: #C4DDED;
}
#make-your-own {
	display: inline-block;
	width: 730px;
	height: 32px;
	background-image: url(resources/make-your-own.png);
	background-repeat: no-repeat;
}
#make-your-own:hover, #make-your-own:active {
	background-image: url(resources/make-your-own-over.png);
}

#footer {
	margin: auto;
	padding-top: 10px;
	width: 960px;
}

#left-stuff {
	float: left;
	width: 731px;
	overflow:hidden;
}

#designer {
	width: 960px;
	height: 640px;
}

#card {
	position: relative;
	overflow:hidden;
	width: 711px;
	height: 502px;
	border: 10px #fff solid;
}

#card-back {
	position: absolute;
	background-color: #ccc;
	top: 0;
	left: 0;
	width: 711px;
	height: 502px;
	z-index: 1;
}

#card-items {
	position: absolute;
	top: 0;
	left: 0;
	width: 711px;
	height: 502px;
	z-index: 2;
}

#card-message {
	position: absolute;
	top: 10px;
	left: 10px;
	padding: 10px;
	width: 669px;
	border: 1px Transparent solid;
	z-index: 3;
	
    font-family:"ChunkFiveRegular";
    font-size:2.25em;
    color:#57ccfc;
    text-shadow: 3px 3px 3px #0e3a4c;
}

#card-message.no-value {
    color:rgba(87,204,252, .5);
    text-shadow: none;
}

#card-message input {
	border: none;
	text-align: center;
    font-family:"ChunkFiveRegular";
    font-size:1em;
    color:#000;
}

#card-logo {
	display: block;
	position: absolute;
	bottom: 0;
	left: 0;
	width: 185px;
	height: 43px;
	z-index: 4;
	background-image: url(resources/aglogo.png);
	background-repeat: no-repeat;
}
#card-logo:hover, #card-logo:active {
	background-image: url(resources/aglogo-over.png);
}

#background-items {
	padding-top: 9px;
	padding-bottom: 9px;
	width: 731px;
	height: 100px;
	text-align: center;
}

#background-items img {
	border: 3px Transparent solid;
}

#background-items img.selected {
	border: 3px #fff solid;
}

#items {
	margin-left: 731px;
	padding-left: 6px;
	width: 222px;
	height: 640px;
	text-align: center;
}

#tools {
	display: inline-block;
	background-image: url(resources/white50.png);
	padding: 8px 0px 4px 0px;
	margin-top: 4px;
	width: 134px;
	height: 86px;
	vertical-align: top;
	font-family: Verdana,Trebuchet,Arial,Helvetica;
	font-size: .65em;
}

#btn-send-card {
	display: inline-block;
	width: 129px;
	height: 53px;
	text-decoration: none;
	margin-bottom: 8px;
	background-image: url(resources/sendBTN.png);
	background-repeat: no-repeat;
	sendBTN.png
}

#btn-send-card:hover, #btn-send-card:active {
	background-image: url(resources/sendBTN-over.png);
}

#tools iframe {
	margin-left: 8px;
}

.ui-draggable-dragging {
	z-index:9999;
}

#email-form {
	padding: 20px;
	width: 500px;
	text-align: left;
	font-family: "ChunkFiveRegular";
	color: #666;
	font-size: 1.25em;
}

#email-form .rtl {
	text-align: right;
}

#email-form input[type='text'], #email-form input[type='email'] {
	padding: 5px;
	width: 490px;
	font-size: 1em;
	border: 1px #999 solid;
}
#email-form textarea {
	padding: 5px;
	width: 490px;
	font-size: 1em;
	border: 1px #999 solid;
}
#email-form input.bad, #email-form textarea.bad {
	background-color: #fee;
}

#email-form input[type='submit'], #email-form input[type='button'] {
	font-family: "ChunkFiveRegular";
	font-size: 1.25em;
}

#send-error-msg {
	font-family: Verdana,Trebuchet,Arial,Helvetica;
	font-size: .75em;
	color: #900;
}

@media screen and (min-device-width: 769px) {
	html {
		background: url(resources/buddies_xmas.png) no-repeat center center fixed;
		-webkit-background-size: cover;
		-moz-background-size: cover;
		-o-background-size: cover;
		background-size: cover;
	}
	
	body {
		background-image: url(resources/stars.png);
		background-repeat: repeat;
		background-position: center center;
	}
	#wrap {
		padding-top: 10px;
	}

	#designer {
		background-color: rgba(255, 255, 255, .25);
		padding: 10px;
	}

	#wrap #card-message:hover {
		background-color: rgba(255, 255, 255, .25);
		border: 1px rgba(200, 255, 255, .5) dashed;
	}
}

@media only screen and (device-width: 768px) {
  /* For general iPad layouts */
	html {
	}
	
	body {
	}
}


