#ipad {
	overflow: hidden;
	position: absolute;
	left: 30%;
	top: 20%;
	width: 200px;
	height: 300px;
	border-radius: 3px;
	background-color: rgb(244, 244, 244); 
	background: -webkit-linear-gradient(top, rgb(244, 244, 244) 0%, rgb(244, 244, 244) 100%);
	background: -moz-linear-gradient(top, rgb(244, 244, 244) 0%, rgb(244, 244, 244) 100%);
	background: -o-linear-gradient(top, rgb(244, 244, 244) 0%, rgb(244, 244, 244) 100%);
	background: -ms-linear-gradient(top, rgb(244, 244, 244) 0%, rgb(244, 244, 244) 100%);
	background: linear-gradient(top, rgb(244, 244, 244) 0%, rgb(244, 244, 244) 100%);
	border-width: 0px;
	border: 1px solid rgb(115, 146, 231);
}

.ipad-title {
	position: relative;
	z-index: 2;
	height: 40px;
	line-height: 40px;
	margin: 5px 5px 0 5px;
	cursor: move;
	text-align: center;
	background-color: #d4e6f9;
	color: black;
}

.ipad-title h1 {
	font-size: 18px;
	font-weight: normal;
}

.ipad-control {
	position: absolute;
	z-index: 1;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
}

.ipad-control span {
	position: absolute;
}

.ipad-control span.T {
	top: 0;
	width: 100%;
	height: 5px;
	cursor: n-resize;
}

.ipad-control span.R {
	right: 0;
	width: 5px;
	height: 100%;
	cursor: e-resize;
}

.ipad-control span.B {
	bottom: 0;
	width: 100%;
	height: 5px;
	cursor: s-resize;
}

.ipad-control span.L {
	left: 0;
	width: 5px;
	height: 100%;
	cursor: w-resize;
}

.ipad-control span.TR {
	top: 0;
	right: 0;
	width: 8px;
	height: 8px;
	cursor: ne-resize;
}

.ipad-control span.BR {
	bottom: 0;
	right: 0;
	width: 8px;
	height: 8px;
	cursor: se-resize;
}

.ipad-control span.BL {
	bottom: 0;
	left: 0;
	width: 8px;
	height: 8px;
	cursor: sw-resize;
}

.ipad-control span.LT {
	top: 0;
	left: 0;
	width: 8px;
	height: 8px;
	cursor: nw-resize;
}

.ipad-cont {
	overflow: hidden;
	position: relative;
	z-index: 2;
	margin: 6px;
}

.ipad-cont .textArea {
	line-height: 30px;
	padding-right: 12px;
	font-size: 14px;
	word-break: break-all;
}

.ipad-cont .textArea p { /*margin-bottom: 10px;*/
	
}
/* scrollBar */
.ipad-bar {
	position: absolute;
	z-index: 999;
	right: 4px;
	top: 56px;
	width: 5px;
	height: 240px;
	background-color: #e2e2e2;
	border-radius: 10px;
}

.ipad-bar .bar {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 0;
	background-color: #737373;
}