html,
body {
    height: 100%;
}

body {
    background: #fff;
    margin: 0;
    padding: 0;
    font: 13px/17px "Helvetica Neue", helvetica, arial,sans-serif;
	font-weight: 300;
    color: #000;
}

/*******************************************
Login Form
*******************************************/
#login_form {
    margin: 40px auto 0;
    width: 280px;
    padding: 10px;
}
#login_form div.controls {
    text-align: right;
}

#login_status,
#login_form .login_status {
    color: #00aeef;
    margin-right: 10px;
    line-height: 36px;
}
#login_form .instructions {
	color: #00aeef;
	font-style: italic;
	line-height: 20px;
}
#login_form input {
    width: 268px;
}

#login_form .forgot_password {
	color: #00aeef;
}

input[type=email],
input[type=password] {
    padding: 5px 5px;
    line-height: 18px;
	font-size: 13px;
    border: 1px solid #d3d3d3;
    border-radius: 3px;
    color: #58595b;
    -webkit-appearance: none;
	height: 30px;
	
}
button {
    border: none;
    background: #000;
    border-radius: 3px;
    color: #fff;
    padding: 10px 9px 9px 9px;
    vertical-align: top;
    text-transform: capitalize;
}

button.active,
button:active {
    background: #099;
}
/*******************************************
Busy overlay
*******************************************/
#busyoverlay {
	position: absolute;
	top: 0;
	left: 0;
	height:100%;
	width:100%;
	background:#000;
	color: #fff;
	opacity: 0.8;
	z-index: 999;
	display: none;
}

#busyoverlay ul {
	margin: 0 auto;
	margin-top: 100px;
	width: 400px;
}

#busyoverlay li {
	font-size: 16pt;
	height: 40px;
}

/*******************************************
Splash overlay
*******************************************/
#splashoverlay {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index: 999;
	display: none;
}

#splashoverlay_image {
	width: 100%;
	height: 300px;
	margin: 40px 0 0 0px;
	background-position: 50% 100%;
	background-repeat: no-repeat no-repeat;
}

/* navigation controller  */
.navigation_bar {
	color: #FFF;
	padding: 0px 10px;
	position: relative;
}

.navigation_bar .back {	
	position: absolute;
	left: 10px;
	top: 0px;
	
}
.navigation_bar #nav-bar-edit {	
	position: absolute;
	right: 10px;
	top: 0px;
}

.navigation_bar .navigation-title {
	text-align: center;
	padding: 5px 0;
	font-weight: normal;
	position: absolute;
	left: 100px;
	top: 0;
	right: 100px;
}
.navigation_view {
	position: relative;
	width: 100%;
	overflow-y: scroll;
	-webkit-overflow-scrolling: touch;
}
#navigation_view_content {
	position: relative;
	width: 100%;
	overflow-y: scroll;
	/*-webkit-overflow-scrolling: touch;*/
	-webkit-transition:all 0.5s ease-in-out;
	-moz-transition:all 0.5s ease-in-out;
	-o-transition:all 0.5s ease-in-out;
	-ms-transition:all 0.5s ease-in-out;	
	transition:all 0.5s ease-in-out;
}

.navigation-title h1 {
	line-height: 1em;
	font-weight: 100;
}
.form_field label {
	font-size: 13px;
}
.edit .form_field label {
	font-size: 16px;
	padding-top: 12px;
}

.zTableViewRow {
	border-bottom: 1px solid #aaa;
	height: 60px;
	padding: 20px 10px 15px 40px;
}
.zTableViewRow:last-child {
	border-bottom: 1px solid #aaa;
}
.zTableViewRow:even {

}
.zTableViewRow:nth-child(odd), #template_chooser div.zTableViewRow:nth-child(odd) {
	background-color: #EEE;
}

#documents_table_view  .zTableViewRow {
	padding: 25px 19px 5px 19px;
	
}

#template_chooser label { 
	font-size: 2em;
	line-height: 2em;
	font-weight: 300;
}

#documents_table_view .zTableViewRow.editing {
    -webkit-animation-duration: 1s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: ease-in-out;
    -webkit-animation-direction: alternate;
    -webkit-animation-name: wobble-left;
    -webkit-transition: -webkit-tranform 1s ease;
}

@-webkit-keyframes wobble-left{
    
    0% {
        -webkit-transform: rotate(-0.6deg);
}

100%{
    -webkit-transform: rotate(0.6deg);
}
}

@-webkit-keyframes wobble-right{
    0% {
        -webkit-transform: rotate(0.6deg);
}

100%{
    -webkit-transform:  rotate(-0.6deg);
}
}
?

/*******************************************
Document SplitView
*******************************************/

.form-section.readonly  {
	margin: 0;
	border: none;
	border-bottom: 1px solid #CCC;
}
.form-section.readonly.selected {
	background-image: -webkit-linear-gradient(top, #32B4FF, #32B4FF);
}
.form-section.readonly label {
	padding: 13px 10px 14px;
	font-size: 16px;
	color: #000;
	display: block;
	font-weight: bold;
}
.form-section.readonly.selected label {
	color: #FFF;
	text-shadow: 0px -1px 1px #000;
}
.formPanelWrapper {
	margin: 20px;
    border: 1px solid #CCC;
    border-radius: 10px;
    padding:  0;
    background: -webkit-gradient(linear, left top, 0 1, from(#e4e4e4), to(#e4e4e4));
    box-shadow: 0px 1px 0px rgba(255, 255, 255, 0.75);
}

.formPanelWrapper .form_field {
	clear: left;
	padding: 0 10px;
	height: 45px;
	border-bottom: 1px solid #CCC;
}
.formPanelWrapper .form_field:last-child {
	border-bottom: none;
}
.formPanelWrapper .form_field.select {
	background-image: url(../img/chevron.png);
	background-position-x: 97%;
	background-position-y: center;
	background-repeat: no-repeat;
}
.formPanelWrapper .form_field label {
	width: 25%;
	margin-right: 5%;
	text-align: right;
	float: left;
	color: #000;
	font-weight: bold;
	font-size: 14px;
	line-height: 14px;
	padding: 15px 0;
}
.formPanelWrapper .form_field  input[type=text],
.formPanelWrapper .form_field  input[type=password],
.formPanelWrapper .form_field  input[type=phone],
.formPanelWrapper .form_field  input[type=email],
.formPanelWrapper .form_field  input[type=date],
.formPanelWrapper .form_field  input[type=number] {
    padding: 0;
    line-height: 14px;
	font-size: 14px;
    border: none;
    color: #000;
    -webkit-appearance: none;
	height: 45px;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
	width: 70%
}


/*******************************************
Formtab Styles
*******************************************/
body .ztableview.cork {
	background-color: #EFEFEF;
	position: absolute;
	top: 0;
	bottom: 0;
}
@media screen and (-webkit-min-device-pixel-ratio: 2) {
	body .ztableview.cork {
		background-color: #EFEFEF;
	}
}
.ztableview.cork .ztableviewcontent {
	margin: 0;
	background: none;
	border: none;
	box-shadow: none;
	height: 800px;
	overflow: hidden;
}
.landscape .ztableview.cork .ztableviewcontent {
	height: 550px;
}
@-webkit-keyframes hover {
	0%   { -webkit-transform:rotate(0deg);}
	20% { -webkit-transform:rotate(0.2deg);}
	90% { -webkit-transform:rotate(-2.0deg);}
	100% { -webkit-transform:rotate(-1.4deg);}
}

@-webkit-keyframes wiggle {
	0%   { -webkit-transform:rotate(0.8deg);}
	20% { -webkit-transform:rotate(-0.8deg);}
	40% { -webkit-transform:rotate(0.8deg);}
	60% { -webkit-transform:rotate(-0.8deg);}
	80% { -webkit-transform:rotate(0.8deg);}
	100% { -webkit-transform:rotate(0deg);}
}

.cork .zView.document-icon.ztableviewcell {
	width: 150px;
	clear: none;
	float: left;
	margin: 20px;
	height: 210px;
	/*background: -webkit-linear-gradient(top, #ffffff, #eaeaea);*/
	background-color: #FFF !important;
    box-shadow: 0 0 16px rgba(0,0,0,0.3);
	border: none;
	position: relative;
	-webkit-transform: translateZ(0);
	-webkit-transition: all .5s ease-in-out;
}
.landscape .cork .zView.document-icon.ztableviewcell {
	width: 210px;
	height: 150px;
	/*background: -webkit-linear-gradient(top, #ffffff, #eaeaea);*/
}
.cork .zView.document-icon.ztableviewcell:first-child, .cork .zView.document-icon.ztableviewcell:last-child {
	border-radius: 0;
	cursor: pointer;
}
.cork.empty .ztableviewcontent {
	height: 100%;
	background: url(../img/no-forms-no-arrow.png) center 50px no-repeat;
}
.cork .ztableviewcontent .ztableviewcell.pressed {
	-webkit-transform:rotate(-0.8deg);
	-webkit-animation: hover 0.3s linear 1;
	background: #FFF !important;
	-webkit-transform-origin:50% 20%;
}

.cork .zView.document-icon.ztableviewcell.editing {
    -webkit-animation-duration: 1s;
    -webkit-animation-iteration-count: infinite;
    -webkit-animation-timing-function: ease-in-out;
    -webkit-animation-direction: alternate;
    -webkit-animation-name: wobble-left;
    -webkit-transition: -webkit-tranform 1s ease;
	-webkit-transform-origin:50% 20%;
}

@-webkit-keyframes wobble-left{
    
    0% {
        -webkit-transform: rotate(-0.6deg);
}

100%{
    -webkit-transform: rotate(0.6deg);
}
}

@-webkit-keyframes wobble-right{
    0% {
        -webkit-transform: rotate(0.6deg);
}

100%{
    -webkit-transform:  rotate(-0.6deg);
}
}

.cork .zView.document-icon.ztableviewcell.editing.selected {
	/*box-shadow: 0px 0px 30px rgba(234,23,23,1);*/
	outline: 3px solid #38B8FF;
	outline-offset: -3px;
} 

.cork .ztableviewcontent .ztableviewcellcontent {
	padding: 0;
}
.drawing-pin {
	width: 36px;
	/*background: url(../img/pin.png);*/
	height: 49px;
	position: absolute;
	left: 60px;
	top: -17px;
}
.landscape .drawing-pin {
	left: 90px;
}
.logo-tl {
	width: 30px;
	height: 30px;
	background-repeat: no-repeat no-repeat;
	position: absolute;
	left: 10px;
	top: 10px;
	opacity: .6;
}
.logo-tr {
	width: 30px;
	height: 30px;
	background-repeat: no-repeat no-repeat;
	position: absolute;
	right: 10px;
	top: 10px;
	opacity: .6;
}
.cork .zView.document-icon.ztableviewcell h2 {
	text-align: left;
	color: #333;
	padding: 0 10px;
	position: absolute;
	top: 50px;
	line-height: 120%;
	font-size: 14px;
	height: 60px;
	overflow: hidden;
	margin: 0;
	left: 0;
	right: 0;
}
.landscape .cork .zView.document-icon.ztableviewcell h2 {
	height: 40px;
}
.cork .zView.document-icon.ztableviewcell h3 {
	text-align: left;
	color: #999;
	padding: 0 10px;
	position: absolute;
	top: 120px;
	line-height: 120%;
	margin: 0;
	left: 0;
	right: 0;
	overflow: hidden;
}
.landscape .cork .zView.document-icon.ztableviewcell h3 {
	top: 85px;
}
.cork .zView.document-icon.ztableviewcell .date {
	position: absolute;
	bottom: 10px;
	left: 10px;
	color: #999;
	font-size: 11px;
}
.cork .zView.document-icon.ztableviewcell .container {
	width: 44px;
	height: 45px;
	background: url(../img/container.png) center no-repeat;
	position: absolute;
	top: 142px;
	right: 96px;
}
.cork .zView.document-icon.ztableviewcell .incomplete {
	width: 44px;
	height: 45px;
	background: url(../img/incomplete.png) center no-repeat;
	position: absolute;
	top: 140px;
	right: 10px;
}
.cork .zView.document-icon.ztableviewcell .completed {
	width: 44px;
	height: 45px;
	position: absolute;
	top: 140px;
	right: 10px;
}
.landscape .cork .zView.document-icon.ztableviewcell .container {
	right: 25px;
	top: 102px;
}
.landscape .cork .zView.document-icon.ztableviewcell .incomplete {
	top: 100px;
}
.ztableview.cork .ztableviewcontent .page {
	width: 768px;
	float: left;
}

/* FormViewController table - Form Sections  */
.ztableview.formsections {
	background-image: -webkit-linear-gradient(top, rgb(255, 255, 255), rgb(255, 255, 255)); height: 100% !important;
}
.ztableview.formsections .ztableviewcontent {
	background: transparent;
}
.ztableview.formsections .ztableviewcontent .ztableviewcell.selected {
	background: -webkit-linear-gradient(top, #666666, #666666);
}
.ztableview.formsections .selected .ztableviewcellcontent label {
	color: #FFF;
}
.ztableviewcell.required.incomplete  .ztableviewcellcontent{
    background-image: url(../img/warningg.png);
    background-position-x: 95%;
    background-position-y: center;
    background-repeat: no-repeat;
}
.ztableviewcell.selected.required.incomplete  .ztableviewcellcontent,
.ztableviewcell.pressed.required.incomplete  .ztableviewcellcontent {
    background-image: url(../img/warningw.png);
}
.ztableviewcell.dirty  .ztableviewcellcontent {
    background-image: url(../img/dotsg.png);
    background-position-x: 95%;
    background-position-y: center;
    background-repeat: no-repeat;
	background-image: none;
}
.ztableviewcell.selected.dirty  .ztableviewcellcontent,
.ztableviewcell.pressed.dirty  .ztableviewcellcontent {
    background-image: url(../img/dotsg.png);
	background-image: none;
}
.ztableviewcell.complete  .ztableviewcellcontent {
    background-image: url(../img/26-checkmarkg.png);
    background-position-x: 95%;
    background-position-y: center;
    background-repeat: no-repeat;
	background-image: none;
}
.ztableviewcell.selected.complete  .ztableviewcellcontent,
.ztableviewcell.pressed.complete  .ztableviewcellcontent {
    background-image: url(../img/26-checkmarkw.png);
	background-image: none;
}
.ztableviewcell.incomplete.required-complete  .ztableviewcellcontent{
    background-image: url(../img/dotsg.png);
    background-position-x: 95%;
    background-position-y: center;
    background-repeat: no-repeat;
	background-image: none;
}
.ztableviewcell.selected.incomplete.required-complete  .ztableviewcellcontent,
.ztableviewcell.pressed.incomplete.required-complete  .ztableviewcellcontent {
    background-image: url(../img/dotsg.png);
	background-image: none;
}

/*
Scroller
*/
#scroller {
	position:absolute; z-index:1;
/*	-webkit-touch-callout:none;*/
	-webkit-tap-highlight-color:rgba(0,0,0,0);
	width:100%;
	padding:0;
}

#scroller ul {
	list-style:none;
	padding:0;
	margin:0;
	width:100%;
	text-align:left;
}

#scroller li {
	padding:0 10px;
	height:100px;
	line-height:40px;
	border-bottom:1px solid #ccc;
	border-top:1px solid #fff;
	background-color:#fafafa;
	font-size:14px;
}