		html, body
		{
			font-family:Arial, Helvetica, sans-serif;
			background-color:#EBEBEB;
			height:100%;
			position:relative;
			padding:0;
			margin:0;
		}

		.sliderHolder
		{
			display:block;
			margin-bottom:15px;
		}
		
		.slider
		{
			border-radius:7px;
			-moz-border-radius:7px;
			-webkit-border-radius:7px;
			background-color:rgba(0, 0, 0, 0.5);
			width:200px;
			height:60px;
			padding:0 10px;
			font-family:Arial, Helvetica, sans-serif;
		}
		@media only screen and (max-height: 400px)
		{
			.slider
			{
				left:-75px;
			}
		}
		.slider b
		{
			text-align:center;

			display:block;
			color:#FFFFFF;
			font-size:15px;
			line-height:30px;
			height:30px;
		}
		
		.slider span
		{
			display:block;
			border-top:1px solid #8a8a8a;
			height:10px;
			background-color:#d0d0d0;
			margin-top:5px;
			position:relative;
		}
		.slider span i
		{
			background-color:#6BCDE1;
			border-radius:10px;
			-moz-border-radius:10px;
			-webkit-border-radius:10px;
			position:absolute;
			width:20px;
			height:20px;
			top:15px;
			left:15px;
			cursor:pointer;
		}
		.slider span u
		{
			background-color:rgba(255, 255, 255, 0.1);
			border-radius:25px;
			-moz-border-radius:25px;
			-webkit-border-radius:25px;
			position:absolute;
			width:50px;
			height:50px;
			top:-20px;
			left:30px;
		}
		
		.selected
		{
			/*border:2px dashed #00FFFF;*/
		}
		.border
		{
			display:none;
		}
		.selected .border
		{
			width:100%;
			height:100%;
			border:3px dashed #3BC4E3;
			position:absolute;
			top:-3px;
			left:-3px;
			display:block;
		}
		
		.canvasImageButton
		{
			background-color:rgba(0, 255, 255, 0.0);
			width:100%;
			height:100%;
			top:0;
			left:0;
			position:absolute;
			display:block;
		}
		.scaleControl,
		.rotateControl,
		.flipControl,
		.eraseControl
		{
			position:absolute;
		}
		.eraseControl b
		{
			background-size: 30px 30px;
			background-image:url(../images/eraseButton.png);
			background-position:center center;
			background-repeat:no-repeat;
			background-color:rgba(0, 0, 0, 0.1);
			border-radius:25px;
			-moz-border-radius:25px;
			-webkit-border-radius:25px;
			width:50px;
			height:50px;
			position:absolute;
			top:-25px;
			right:-25px;
			z-index:10;
			cursor:pointer;
		}
		.scaleControl b
		{
			background-size: 30px 30px;
			background-image:url(../images/scaleButton.png);
			background-position:center center;
			background-repeat:no-repeat;
			background-color:rgba(0, 0, 0, 0.1);
			border-radius:25px;
			-moz-border-radius:25px;
			-webkit-border-radius:25px;
			width:50px;
			height:50px;
			position:absolute;
			bottom:-25px;
			right:-25px;
			z-index:10;
			cursor:pointer;
		}
		.rotateControl b
		{
			background-size: 30px 30px;
			background-image:url(../images/rotateButton.png);
			background-position:center center;
			background-repeat:no-repeat;
			background-color:rgba(0, 0, 0, 0.1);
			border-radius:25px;
			-moz-border-radius:25px;
			-webkit-border-radius:25px;
			width:50px;
			height:50px;
			position:absolute;
			top:-25px;
			left:-25px;
			z-index:10;
			cursor:pointer;
		}
		.flipControl b
		{
			background-size: 30px 30px;
			background-image:url(../images/flipButton.png);
			background-position:center center;
			background-repeat:no-repeat;
			background-color:rgba(0, 0, 0, 0.1);
			border-radius:25px;
			-moz-border-radius:25px;
			-webkit-border-radius:25px;
			width:50px;
			height:50px;
			position:absolute;
			bottom:-25px;
			left:-25px;
			z-index:10;
			cursor:pointer;
		}
		
		#saveBtn
		{
			line-height:20px;
			width:70px;
			height:20px;
			text-align:center;
			text-decoration:none;
			background-color:#2F4B74;
			border:1px solid #2F4B74;
			font-size:12px;
			font-weight:bold;
			color:#FFFFFF;
			position:fixed;
			top:10px;
			right:10px;
			z-index:200;
			background: -moz-linear-gradient(top, #5994C8 0%, #335498 100%); /* FF3.6+ */
			background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#5994C8), color-stop(100%,#335498)); /* Chrome,Safari4+ */
			background: -webkit-linear-gradient(top, #5994C8 0%,#335498 100%); /* Chrome10+,Safari5.1+ */
			background: -o-linear-gradient(top, #5994C8 0%,#335498 100%); /* Opera11.10+ */
			background: -ms-linear-gradient(top, #5994C8 0%,#335498 100%); /* IE10+ */
			filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5994C8', endColorstr='#335498',GradientType=0 ); /* IE6-9 */
			background: linear-gradient(top, #5994C8 0%,#335498 100%);
			border-radius:3px;
			-moz-border-radius:3px;
			-webkit-border-radius:3px;
		}
		#saveBtn:hover
		{
			background: -moz-linear-gradient(top, #335498 0%, #5994C8 100%); /* FF3.6+ */
			background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#335498), color-stop(100%,#5994C8)); /* Chrome,Safari4+ */
			background: -webkit-linear-gradient(top, #335498 0%,#5994C8 100%); /* Chrome10+,Safari5.1+ */
			background: -o-linear-gradient(top, #335498 0%,#5994C8 100%); /* Opera11.10+ */
			background: -ms-linear-gradient(top, #335498 0%,#5994C8 100%); /* IE10+ */
			filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#335498', endColorstr='#5994C8',GradientType=0 ); /* IE6-9 */
			background: linear-gradient(top, #335498 0%,#5994C8 100%);
		}
		
		#canvas
		{
			border:1px solid #999999;
			background-color:#FFFFFF;
			overflow:hidden;
			position:relative;
		}
		#video
		{
			border:1px solid #999999;
			background-color:#000;
			overflow:hidden;
			position:absolute;
			z-index:11;
		}
		
		.controls
		{
			position:relative;
		}
		.controls b
		{
			font-size:14px;
			font-weight:bold;
			display:block;
			text-align:center;
			padding-bottom:5px;
		}
		
		.saveButton
		{
			background-color:#7F673E;
			font-size:22px;
			color:#FFFFFF;
			height:71px;
			line-height:71px;
			padding:0 30px;
			border-radius: 7px;
			display:inline-block;
			text-decoration:none;
		}
		
		ul.tools
		{
			position:absolute;
			bottom:0;
			background-color:#333333;
			height:60px;
			left:0;
			width:100%;
			padding:0px 0;
			margin:0;
			white-space:normal;
			display:block;
			z-index:100;
			border-top: 1px solid #ffffff;
			font-family: 'Lucida Grande',verdana;
		}

		#saveButton {background-color: #55A4FF}
		
		ul.tools li
		{
			padding:0;
			margin:0;
		}
		
		ul.tools li
		{
			width:20%;
			height:60px;
			display:inline-block;
			font-size:10px;
			color:#f5f5f5;
			top:0;
		}
		
		ul.tools li a
		{
			display:block;
			padding:8px 0px;
			text-decoration:none;
			border-left:1px solid #ffffff;
			height:55px;
		}
		
		ul.tools li a b
		{
			
			display:block;
			line-height:26px;
			height:45px;
			text-align:center;
			color:#FFFFFF;
			font-size:13px;
			text-decoration:none;
			padding-top:25px;
			font-weight:normal;
		}
		
		ul.tools li:first-child a b,
		ul.tools li a.upload b
		{
			border-left:0;
		}
		.rotation b
		{
			background-image:url(../images/icon-rotation.png);
			background-position:center -9px;
			background-repeat:no-repeat;
		}
		.zoom b
		{
			background-image:url(../images/icon-scale.png);
			background-position:center -2px;
			background-repeat:no-repeat;
		}
		.brightness b
		{
			background-image:url(../images/v2/icon_brightness.png);
			background-position:center -5px;
			background-repeat:no-repeat;
		}
		@media only screen and (max-width: 339px)
		{
			.brightness b
			{
				font-size:11px !important;
			}
		}
		.contrast b
		{
			background-image:url(../images/v2/icon_effects6.png);
			background-position:center -4px;
			background-repeat:no-repeat;
		}
		
		.save b
		{
			background-image:url(../images/v2/icon_save.png);
			background-position:center -5px;
			background-repeat:no-repeat;
		}
		
		.upload b
		{
			background-image:url(../images/v2/icon_upload.png);
			background-position:center -6px;
			background-repeat:no-repeat;

		}

		.usePicture b
		{
			background-image:url(../images/v2/icon_use.png);
			background-position:center -6px;
			background-repeat:no-repeat;
		}		

		.retakePicture b
		{
			background-image:url(../images/v2/icon_retake.png);
			background-position:center -6px;
			background-repeat:no-repeat;
		}

		.takePicture b
		{
			background-image:url(../images/v2/icon_upload2.png);
			background-position:center -6px;
			background-repeat:no-repeat;
		}

		.stamp b i
		{
			background-image:url(../images/v2/icon_sticker3.png);
			background-position:center -4px;
			background-repeat:no-repeat;
		}
		
		.stamp b
		{
			position:relative;
		}
		.stamp b > u
		{
			position:absolute;
			top:50%;
			left:50%;
			display:block;
			text-decoration:none;	
		}
		.stamp b > u > u
		{
			position:absolute;
			width:50px;
			height:50px;
			top:-30px;
			left:-25px;
			border:2px solid rgba(255, 255, 255, 0.5);
			border-radius:10px;
			text-decoration:none;
		}
		
		ul.tools li a.stamp b
		{
			padding-top:0;
		}
		ul.tools li a.stamp b i
		{
			font-style:normal;
			padding-top:25px;
			display:block;
		}
		
		@media only screen and (max-height: 400px)
		{
			ul.tools li a.stamp b
			{
				border-left:0;
				padding-top:0px;
			}
			ul.tools li a.stamp b i
			{
				border-left:0;
				padding-top:30px;
			}
			.stamp b i
			{
				background-position:center 0px;
				background-repeat:no-repeat;
			}
		}
		
		@media only screen and (max-height: 250px)
		{
			ul.tools li a.stamp b
			{
				padding-top:0px;
			}
			ul.tools li a.stamp b i
			{
				padding-top:29px;
			}
		}
		
		#layoutHolder
		{
			padding-left:0;
		}
		
		
		@media only screen and (max-height: 400px)
		{
			#layoutHolder
			{
				padding-left:70px;
			}
			
			ul.tools
			{
				top:0;
				width:70px;
				height:100%;
				left:0;
				padding:0;
			}
			
			ul.tools li
			{
				width:auto;
				display:block;
				padding:0;
				height:55px;
				border-top:1px solid #777777;
				padding-top:0px;
			}
			
			ul.tools li a
			{
				padding:0;
			}
			

			
			ul.tools li a b
			{
				border-left:0;
				padding-top:30px;
			}
			ul.tools li:first-child
			{
				border-top:0;
				
			}
			.rotation b
			{
				background-position:center -5px;
				background-repeat:no-repeat;
			}
			.brightness b
			{
				background-position:center 0px;
				background-repeat:no-repeat;
			}
			.contrast b
			{
				background-position:center 0px;
				background-repeat:no-repeat;
			}
			.save b
			{
				background-position:center 0px;
				background-repeat:no-repeat;
			}
			.upload b
			{
				background-position:center 0px;
				background-repeat:no-repeat;
			}
			.stamp b
			{
				background-position:center 0px;
				background-repeat:no-repeat;
			}
			.takePicture b, .retakePicture b, .usePicture b
			{
				background-position:center 0px;
				background-repeat:no-repeat;
			}
		}
		
		@media only screen and (max-height: 250px)
		{
			ul.tools li a b
			{
				padding-top:29px;
			}
			ul.tools li
			{
				height:49px;
			}
		}
		
		#usePictureButton,
		#retakePictureButton,
		#takePictureButton
		{
			width:30%;
		}
		@media only screen and (max-height: 400px)
		{
			#usePictureButton,
			#retakePictureButton,
			#takePictureButton
			{
				width:auto;
			}
		}
		
		.optionsMenu
		{
			width:150px;
			position:absolute;
			z-index:10000;
			border-radius:10px;
			border:5px solid rgba(0, 0, 0, 0.5);
		}
		
		
		.optionsMenu ul
		{
			display:block;
			border-radius:5px;
			line-height:40px;
			margin:0;
			padding:5px;
			list-style:none;
			background-color:#ffffff;
		}
		.optionsMenu ul:before
		{
			display:block;
			content:"";
			position:absolute;
			border-bottom:0;
			border-top:19px solid rgba(0, 0, 0, 0.5);
			border-left:23px solid transparent;
			border-right:23px solid transparent;
			left:12px;
			bottom:-19px;
		}
		.optionsMenu ul:after
		{
			display:block;
			content:"";
			position:absolute;
			border-bottom:0;
			border-top:12px solid #fff;
			border-left:15px solid transparent;
			border-right:15px solid transparent;
			left:20px;
			bottom:-12px;
		}
		#effectsMenu ul:before,
		#brightMenu ul:before
		{
			left:48px;
		}
		#effectsMenu ul:after,
		#brightMenu ul:after
		{
			left:56px;
		}
		@media only screen and (max-height: 400px)
		{
			.optionsMenu ul:before
			{
				border-left:0;
				border-right:19px solid rgba(0, 0, 0, 0.5);
				border-top:23px solid transparent;
				border-bottom:23px solid transparent;
				left:-19px;
				top:7px;
				bottom:auto;
			}
			.optionsMenu ul:after
			{
				border-left:0;
				border-right:12px solid #fff;
				border-top:15px solid transparent;
				border-bottom:15px solid transparent;
				left:-12px;
				top:15px;
				bottom:auto;
			}
			#effectsMenu ul:before
			{
				left:-19px;
				top:87px;
			}
			#effectsMenu ul:after
			{
				left:-12px;
				top:95px;
			}
			#brightMenu ul:before
			{
				left:-19px;
				top:22px;
			}
			#brightMenu ul:after
			{
				left:-12px;
				top:30px;
			}
			
		}
		#effectsMenu
		{
			width:180px;
		}
		#effectsMenu li
		{
			text-align:left;
			padding-left:5px;
		}
		.optionsMenu li
		{
			list-style:none;
			margin:0;
			padding:0;
			line-height:40px;
			border-bottom:1px solid #d8d8d8;
			text-align:center;
			font-size:20px;
			cursor:pointer;
		}
		.optionsMenu li.selected
		{
			background-image:url(../images/check.png);
			background-repeat:no-repeat;
			background-position:right 10px;
		}
		@media only screen and (max-height: 400px)
		{
			#effectsMenu li
			{
				line-height:35px;
			}
		}
		.optionsMenu li:last-child
		{
			border-bottom:0;
		}
		.optionsMenu li:hover
		{
			background-color:#1778D8;
			color:#ffffff;
		}
		
		
		
		
		
		
		
		
		
		.closeButton
		{
			position:absolute;
			top:0;
			right:0;
		}
		.closeButton b
		{
			background-size: 30px 30px;
			background-image:url(../images/eraseButton.png);
			background-position:center center;
			background-repeat:no-repeat;
			background-color:rgba(0, 0, 0, 0.1);
			border-radius:25px;
			-moz-border-radius:25px;
			-webkit-border-radius:25px;
			width:50px;
			height:50px;
			position:absolute;
			top:-25px;
			right:-25px;
			z-index:10;
			cursor:pointer;
		}
		
		.window
		{
			position:fixed; top:0; left:0; width:100%; height:100%;
			background-color:rgba(0, 0, 0, 0.5);
			z-index:2000;
		}
		.window > div
		{
			position:absolute;
			border-radius:10px;
			top:20px;
			left:20px;
			padding:15px;
			background-color:#FFFFFF;
			border-radius:10px;
		}
		.window > div > div
		{
			width:300px;
			height:300px;
			
			top:20px;
			left:20px;
			padding:20px;
			overflow-y:scroll;
		}
		.window > div > div:after
		{
			content:"";
			display:block;
			clear:both;
		}
		.window > div > div > div
		{
			width:25%;
			height:100px;
			position:relative;
			float:left;
			margin-bottom:20px;
		}
		.window > div > div > div img
		{
			display: block;
			margin: 0 auto;
			max-width: 100%;
			max-height: 100%;
			position: relative;
			top: 50%;
			-webkit-transform: translateY(-50%);
			-ms-transform: translateY(-50%);
			transform: translateY(-50%);
			z-index: 1;
			cursor:pointer;
		}
		
		@media only screen and (max-width: 640px)
		{
			.window > div > div > div
			{
				width:33%;
			}
		}
		@media only screen and (max-width: 420px)
		{
			.window > div > div > div
			{
				width:50%;
			}
		}
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		
		.uploadPopup
		{
			border-radius:12px;
			display:block;
			width:260px;
			height:160px;
			position:absolute;
			top:-111px;
			left:-136px;
			border:7px solid rgba(0, 0, 0, 0.4);
		}
		@media only screen and (max-height: 400px)
		{
			.uploadPopup
			{
				top:-87px;
				left:-100px;
			}
		}
		
		.uploadPopup > div
		{
			width:260px;
			height:160px;
			border-radius:5px;
			background-color:#FFFFFF;
		}
		.uploadPopup h2
		{
			font-size:18px;
			text-align:center;
			font-weight:bold;
			color:#222222;
			display:block;
			line-height:22px;
			margin:0;
			padding:15px 0 0 0;
		}
		.uploadPopup b.upload,
		.uploadPopup b.webcam
		{
			display:block;
			background-repeat:no-repeat;
			padding-top:60px;
			text-align:center;
			color:#666;
			font-size:12px;
			width:72px;
			position:absolute;
			cursor:pointer;
		}
		.uploadPopup b.upload
		{
			background-image:url(../images/v2/upload.png);
			width:82px;
			background-position:10px 0;
			top:60px;
			left:30px;
		}
		.uploadPopup b.webcam
		{
			background-image:url(../images/v2/webcam.png);
			background-position:center 0;
			top:60px;
			left:140px;
		}


		html, body
	{
		min-width:100%;
		min-height:100%;
		overflow:hidden;
		width:100%;
		height:100%;
	}
	.saveButton
	{
		background-color:#7F673E;
		font-size:22px;
		color:#FFFFFF;
		width:180px;
		height:51px;
		line-height:51px;
		padding:0 0px;
		border-radius:7px;
		display:block;
		text-align:center;
		text-decoration:none;
	}
	.slider
	{
		position:absolute;
		top:-30px;
		left:-110px;
	}
	.sliderHolder, .center
	{
		position:absolute;
		top:50%;
		left:50%;
		z-index:200;
	}
	.slider span i
	{
		background-color:#6BCDE1;
		border-radius:10px;
		-moz-border-radius:10px;
		-webkit-border-radius:10px;
		position:absolute;
		width:20px;
		height:20px;
		top:35px;
		left:35px;
		cursor:pointer;
	}
	.slider span u
	{
		background-color:rgba(255, 255, 255, 0.1);
		border-radius:25px;
		-moz-border-radius:25px;
		-webkit-border-radius:25px;
		position:absolute;
		width:90px;
		height:90px;
		top:-40px;
		left:50px;
	}
	#saveMessage b
	{
		background-color:rgba(0, 0, 0, 0.5);
		width:200px;
		height:40px;
		line-height:40px;
		color:#FFFFFF;
		font-size:20px;
		text-align:center;
		position:absolute;
		top: -20px;
		left: -100px;
		display:block;
		border-radius: 5px;
	}
	.tooltip
	{
		position:absolute;
		font-size:14px;
		font-weight:bold;
		color:#000000;
		line-height:14px;
		z-index:210;
		border:5px solid rgba(0, 0, 0, 0.5);
	}
	.tooltip span
	{
		display:block;
		background-color:#FFFFFF;
		padding:15px;
	}
	.tooltip b
	{
		position:absolute;
		display:block;
		width:0px;
		height:0px;
		top:44px;
		border-top:19px solid rgba(0, 0, 0, 0.5);
		border-left:23px solid transparent;
		border-right:23px solid transparent;
		border-bottom:0;
		left:62px;
		bottom:-19px;
	}
	.tooltip b:after
	{
		position:absolute;
		width:0;
		height:0;
		content:"";
		top:-19px;
		left:-15px;

		border-top:12px solid #FFF;
		border-left:15px solid transparent;
		border-right:15px solid transparent;
		border-bottom:0;
	}
	@media only screen and (max-height: 400px)
	{
		.tooltip
		{
			border-left:0;
		}
		.tooltip b
		{
			border-left:0;
			border-right:17px solid rgba(0, 0, 0, 0.5);
			border-top:27px solid transparent;
			border-bottom:27px solid transparent;
			left:-17px;
			top:-5px;
		}
		.tooltip b:after
		{
			border-left:0;
			border-right:12px solid #FFFFFF;
			border-top:22px solid transparent;
			border-bottom:22px solid transparent;
			top:-22px;
			left:5px;
		}
	}
	
	.focusBg
	{
		background-color:#EF153D;
	}

	.textBox {
		width:100%; height:30px; position:fixed; bottom:60px; text-align:center; line-height:20px;font-size:11px;color:#666666;
	}

	.textBox a {color:#666666;}