/* CSS Document */

/*common style*/
body {
	background-color: #333333;
	-webkit-text-size-adjust: none;
}
a:link {
	color: #CCCCCC;
	text-decoration: none;
}
a:visited {
	text-decoration: none;
	color: #CCCCCC;
}
a:hover {
	text-decoration: none;
	color: #CCCCCC;
}
a:active {
	text-decoration: none;
	color: #CCCCCC;
	-webkit-tap-highlight-color:rgba(200,0,0,0.4);
}
#top_bar {
	position: absolute;	width: 320px; left: 0px; height: 45px;	top: 0px; z-index: 0;
	background-image:-webkit-gradient(linear, right bottom, right top, color-stop(0, #444), color-stop(0.53, #000));
	text-align:center; color:rgba(255, 255, 220, 0.9); font-family:"Arial Rounded MT Bold"; font-size: 22px; line-height: 45px;
	padding-top: 1px;
}
#top_bar_glossy {
	position: absolute;	width: 320px; left: 0px; height: 22px;	top: 0px; z-index: 1;
	background-color:rgba(255, 255, 255, 0.2);
}
#link_home {
	position:absolute; top:9px; left:10px; width:34px; height:25px; cursor:pointer;
	background-repeat:no-repeat; background-image:url(../img/home.png);
}
#link_email {
	position:absolute; top:11px; right:10px; width:25px; height:25px; cursor:pointer;
	background-repeat:no-repeat; background-image:url(../img/twitter.png);
	font-size:20px; line-height:25px;
}

#footage {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 13px;
	color: #FFFFFF;
	position: absolute;
	width: 320px;
	text-align: center;
	z-index: 2;
	height: 16px;
	margin-top: 5px;
	left: 0px;
	top: 345px;
}
#ads1 {
	position:absolute;
	top:366px;
	height:50px;
	left:0px;
	width:320px;
	line-height:20px;
	text-align:center;
	background-color:#333;

}
#ads2 {
	position:absolute;
	top:366px;
	height:50px;
	left:0px;
	width:320px;
	line-height:20px;
	text-align:center;
	background-color:#333;

}

/*style for this app*/
#appMain {
	height: 305px; width: 320px; position: absolute; left: 0px;	top: 46px;
	font-family: Arial, Helvetica, sans-serif; font-size: 18px;
	color: #FFFFFF;
	overflow: hidden;
}
#appMain #page1 {
	left:0px;
}
#appMain #page2 {
	left:320px;
}
#appMain #page3 {
	left:640px;
}
#appMain #page4 {
	left:-320px;
}




#appMain #page1 #bgd {
	position: absolute;	width:280px; left:20px; height:270px; top:20px; z-index:-1;
	color:#fff; 
	-webkit-border-radius: 8px;
	-webkit-box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.8);
	background-image:-webkit-gradient(linear, right bottom, right top, color-stop(0, #fff), color-stop(0.53, #ccc));
}
#appMain #page1 #btn-type {
	position: absolute;	width:220px; left:50px; height:40px; top:40px; z-index:0;
	color:#fff; 
	font-size:20px; line-height:40px; text-align:center; font-weight: bold;
	-webkit-border-radius: 8px;
	-webkit-box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.8);
	background-image:-webkit-gradient(linear, right bottom, right top, color-stop(0, #3c0), color-stop(0.53, #060));
}
#appMain #page1 #btn-type-glossy {
	position: absolute;	width:220px; left:50px; height:20px; top:40px; z-index:0;
	background-color:rgba(255, 255, 255, 0.2); 
	-webkit-border-top-left-radius: 8px;
	-webkit-border-top-right-radius: 8px;
}
#appMain #page1 #btn-write {
	position: absolute;	width:220px; left:50px; height:40px; top:160px; z-index:0;
	color:#fff; 
	font-size:20px; line-height:40px; text-align:center; font-weight: bold;
	-webkit-border-radius: 8px;
	-webkit-box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.8);
	background-image:-webkit-gradient(linear, right bottom, right top, color-stop(0, #f93), color-stop(0.53, #f30));	
}
#appMain #page1 #btn-write-glossy {
	position: absolute;	width:220px; left:50px; height:20px; top:160px; z-index:0;
	background-color:rgba(255, 255, 255, 0.3); 
	-webkit-border-top-left-radius: 8px;
	-webkit-border-top-right-radius: 8px;
}
#appMain #page1 #tip-type {
	position: absolute;	width:220px; left:50px; top:90px; z-index:0;
	font-family:Arial, Helvetica, sans-serif; font-size:15px;
	color:#060;
}

#appMain #page1 #tip-write {
	position: absolute;	width:220px; left:50px; top:210px; z-index:0;
	font-family:Arial, Helvetica, sans-serif; font-size:15px;
	color:#F60;
}

#appMain #page1 #app-info {
	position: absolute;	width:260px; left:30px; top:265px; z-index:0;
	font-family:Arial, Helvetica, sans-serif; font-size:13px;
	color:#36F; cursor:pointer; text-align:center;
}





#appMain #page2 #space {
	position:absolute;
	top:80px;
	width:320px;
	height:2px;
	border-top: 1px solid #666;
}
#appMain #page2 #color-set {
	position:absolute;
	width:320px;
	height:220px;
	left:0px;
	top:90px;
	-webkit-transition: left 500ms;
	-webkit-user-select: none;
}
#appMain #page2 #color-set #colorarray {
	position:absolute;
	width:280px;
	height:166px;
	left:20px;
	top:45px;
	background-color:#FFFFFF;
	-webkit-box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.8);
	-webkit-border-radius: 6px;
}
#appMain #page2 #color-set #color {
	position:absolute; width:15px; height:15px; top:1px; left:165px;
	border:2px #ededed solid;
}
#appMain #page2 #color-set #colorarray div{
	position: absolute;	width: 15px; height: 13px;
}








#appMain #page2 #font-set {
	position:absolute;
	width:320px;
	height:220px;
	left:320px;
	top:90px;
	-webkit-transition: left 500ms;
}
#appMain #page2 #font-set #fontarray {
	position:absolute;
	width:280px;
	height:180px;
	left:20px;
	top:27px;
	background-color:#FFFFFF;
	-webkit-box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.8);
	-webkit-border-radius: 6px;
}

#appMain #btn-back {
	position: absolute;	width:70px; right:6px; height:25px; top:5px; z-index:0;
	color:#fff; 
	font-size:16px; line-height:25px; text-align:center; font-weight: bold;
	-webkit-border-radius: 8px;
	-webkit-box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.8);
	background-image:-webkit-gradient(linear, right bottom, right top, color-stop(0, #6cf), color-stop(0.53, #06f));	
}
#appMain #btn-back-glossy {
	position: absolute;	width:70px; right:6px; height:12px; top:5px; z-index:0;
	background-color:rgba(255, 255, 255, 0.2); 
	-webkit-border-top-left-radius: 8px;
	-webkit-border-top-right-radius: 8px;
}




#appMain #page3 #finaldisplay {
	position:absolute;
	width:280px;
	height:250px;
	left:20px;
	top:40px;
	background-color:#FFFFFF;
	overflow:hidden;
	-webkit-box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.8);
	-webkit-border-radius: 6px;
}
#appMain #page3 #finaldisplay #signature {
	position:absolute;
	width:280px;
	height:90px;
	left:0px;
	top:0px;
	overflow:hidden;
}
#appMain #page3 #finaldisplay #loadinfo {
	position:absolute;
	width:280px;
	height:90px;
	line-height:90px;
	font-size:16px;
	font-family:"Arial Rounded MT Bold";
	left:0px;
	top:0px;
	overflow:hidden;
	color:#399;
	z-index:2;
	text-align:center;
}
#tip {
	position:absolute;
	width:258px;
	height:80px;
	left:1px;
	top:90px;
	overflow:hidden;
	background-color:#CCFFCC;
	color:#666666;
	font-size: 13px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	padding:10px;
}




#appMain #page4 #tool-bar {
	position: absolute;	width:300px; left:10px; height:40px; top:40px; 
	-webkit-border-radius: 8px;
	-webkit-box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.8);
	background-image:-webkit-gradient(linear, right bottom, right top, color-stop(0, #fff), color-stop(0.53, #ccc));
}
#appMain #page4 #tool-bar .color-sq {
	position:absolute; width:15px; top:5px; height:30px;
	-webkit-border-radius: 5px;
}
#appMain #page4 #tool-bar .color-active {
	-webkit-box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.8);
}
#appMain #page4 #write-pad {
	position: absolute;	width:300px; left:10px; height:140px; top:110px; 
	-webkit-border-radius: 8px;
	-webkit-box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.8);
	background-image:-webkit-gradient(linear, right bottom, right top, color-stop(0, #fff), color-stop(0.53, #ccc));
	-webkit-user-select: none;
}
#appMain #page4 #btn-save {
	position: absolute;	width:100px; left:20px; height:30px; top:260px; z-index:0;
	font-size:16px; line-height:30px; text-align:center; font-weight: bold;
	-webkit-border-radius: 8px;
	-webkit-box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.8);
	background-image:-webkit-gradient(linear, right bottom, right top, color-stop(0, #369), color-stop(0.53, #036));
}
#appMain #page4 #btn-save-glossy {
	position: absolute;	width:100px; left:20px; height:15px; top:260px; z-index:0;
	background-color:rgba(255, 255, 255, 0.2); 
	-webkit-border-top-left-radius: 8px;
	-webkit-border-top-right-radius: 8px;
}
#appMain #page4 #btn-clear {
	position: absolute;	width:100px; right:20px; height:30px; top:260px; z-index:0;
	font-size:16px; line-height:30px; text-align:center; font-weight: bold;
	-webkit-border-radius: 8px;
	-webkit-box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.8);
	background-image:-webkit-gradient(linear, right bottom, right top, color-stop(0, #c00), color-stop(0.53, #600));
}
#appMain #page4 #btn-clear-glossy {
	position: absolute;	width:100px; right:20px; height:15px; top:260px; z-index:0;
	background-color:rgba(255, 255, 255, 0.2); 
	-webkit-border-top-left-radius: 8px;
	-webkit-border-top-right-radius: 8px;
}
#appMain #page4 #howto-use {
	position: absolute;	width:280px; right:20px; height:30px; top:210px; z-index:2;
	font-size:14px; text-align:center; 
	color:#333;
}




/* classes */
.page {
	position:absolute;
	width:320px;
	height:355px;
	top:0px;
	
	-webkit-transition: left 500ms;
}
.title {
	position:absolute;
	font-family:"Arial Rounded MT Bold";
	font-size:18px;
	width:280px;
	left:20px;
}
.inputbox {
	width:260px; 
	position:absolute; 
	left:20px; 
	top:40px; 
	height:20px;
	font-size:16px;
	font-family:"Trebuchet MS";
}
.colorbox {
	height:24px;
	margin-top:10px;
	cursor:pointer;
	-webkit-border-radius: 5px;
}
.color-shining {
	height:12px;
	margin-top:22px;
	cursor:pointer;
	-webkit-border-radius: 5px;
	background-color:#FFF;
	opacity: .2;
}
.colorcolumn {
	position:absolute;
	width:35px;
	height:160px;
	z-index: 1;
}
.colorcolumn-shining {
	position:absolute;
	width:33px;
	height:160px;
	z-index: 2;
	margin-top: -11px;
}
.fontbox {
	height:35px;
	margin-top:20px;
	cursor:pointer;
	-webkit-border-radius: 5px;
	background-repeat:no-repeat;
}
.signature {
	position:absolute;
	top:5px;
	left:10px;
}
.button {
	position:absolute;
	width:100px;
	height:30px;
	top:205px;
	line-height:30px;
	text-align:center;
	font-family:"Arial Rounded MT Bold";
	font-size:14px;
	color:#FFFFFF;
	-webkit-border-radius: 4px;
	-webkit-box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.8);
	z-index:0;
	cursor:pointer;
}
.buttonlight {
	position:absolute;
	width:98px;
	height:15px;
	top:206px;
	background-color:#FFFFFF;
	opacity:.30; 
	-webkit-border-top-left-radius: 4px;
	-webkit-border-top-right-radius: 4px;
	z-index:1;
	cursor:pointer;
}
