@charset "UTF-8";
/* CSS Document */

* {
    -webkit-touch-callout: none; /* prevent callout to copy image, etc when tap to hold */
    -webkit-text-size-adjust: none; /* prevent webkit from resizing text to fit */
    -webkit-user-select: text; /* prevent copy paste, to allow, change 'none' to 'text' */
} 
* {
	margin:0;
	padding:0;
}
html {
	width:100%;
	height:100%;
}
body {
	width:100%;
	height:100%;
	font-family:Tahoma, Geneva, sans-serif;
	color:#333;
	font-size:14px;
}
form {
	width:100%;
	height:100%;
}
.page-header {
	width:100%;
	height:66px;
	background:url(../images/header-background-logo.jpg);
}
.page-header-internal {
    width:100%;
    height:51px;
    background:url(../images/header-background.jpg);
    position:fixed;
	z-index:300;
    top:0;
}
.page-header-internal h1 {
    font-size:18px;
    border:1px solid #999;
    padding:13px 0 0;
    margin:0;
    float:left;
    width:70%;
    text-align:center;
}
.page-header-internal .title {
    width:192px;
    height:51px;
    line-height:51px;
    background:url(../images/header-background-title.jpg);
    float:left;
    padding:0 15px;
    font-size:14px;
}
h1 {
	font-size:26px;
	font-weight:normal;
	font-family:"Lato";
	color:#274968;
	border-bottom:1px dotted #ccc;
	width:100%;
	padding:25px 0 5px 0;
	margin-bottom:16px;
}
h1.no-border {
    border:none;
    padding:25px 0 0 10px;
    width:auto;
}
h1.internal {
    border-bottom:1px solid #eee;
    padding:15px 0 15px 10px;
    margin:0;
    width:auto;
}
h1.no-border {
	border:none;
}
h2 {
    font-weight:bold;
    font-size:12px;
    background:#f3faff;
    color:#666;
    padding:15px 0 15px 10px;
    margin:0;
}

/*====================================================
					BUTTONS
====================================================*/

/* .back-button {
	height:27px;
	background:url(../images/button-background.jpg);
	display:block;
	width:110px;
	border-radius:5px;
	color:#446;
	line-height:26px;
	text-align:center;
	cursor:pointer;
	margin-top:14px;
	text-decoration:none;
}*/
.header-button {
    display:block;
    height:46px;
    width:40px;
    text-indent:-5000px;
    cursor:pointer;
}
.button-add-new {
    background:url(../images/button-add-new.png);
    margin:2px 2px 0 0;
    float:right;
}
.button-search {
    background:url(../images/button-search.png);
    margin:10px 10px 10px 138px;
    float:left;
}
.button-back {
    background:url(../images/button-back.png);
    margin:2px 1px 0 2px;
    float:left;
}
.ipad-button-save {
    background:url(../images/button-save.png);
    margin:2px 2px 0 0;
    float:right;
	border:none;
}
.button-options {
    background:url(../images/button-options.png);
    margin:2px 1px 0 2px;
    float:left;
}
.button-side-menu {
    background:url(../images/button-side-menu.png);
    margin:2px 1px 0 2px;
    float:left;
}
.button-trash {
    background:url(../images/button-trash.png);
    margin:2px 2px 0 0;
    float:right;
}
.button-account {
    background:url(../images/button-account.png);
    margin:2px 2px 0 0;
    float:right;
}
.button-refresh {
    background:url(../images/button-refresh.png);
    margin:2px 1px 0 2px;
    float:left;
}

/*====================================================
                    SEARCH FIELD
====================================================*/

#search-wrapper {
    height:31px;
    width:100%;
    text-align:center;
    padding:5px 0;
    background:#263E5A;
}
#search-wrapper input {
    width:278px;
    height:31px;
    padding:0 10px 0 25px;
    background:url(../images/input-search-mobile.jpg) top left no-repeat #fff;
    border:none;
    font-size:12px;
    float:left;
    margin:0 0 10px 3px;
    color:#ccc;
	border-radius:5px;
	border-right:none;
}
#search-wrapper input:focus {
    color:#666;
    background:url(../images/input-search-mobile.jpg) 0 -30px no-repeat #fff;
}
#search-wrapper a {
	display:block;
    height:30px;
	width:26px;
	text-indent:-5000px;
	position:absolute;
	margin:0 0 0 288px;
	background:none;
}
/*====================================================
					FORM FIELDS
====================================================*/

label {
	display:block;
	font-size:13px;
	padding-bottom:3px;
	color:#666;
}
input[type="text"],
input[type="password"],
input[type="email"],
input[type="number"],
input {
	width:94%;
	padding:6px 2%;
	border:1px solid #ccc;
	border-radius:5px;
	color:#666;
	margin-bottom:10px;
	font-family:Tahoma, Geneva, sans-serif;
	font-size:13px;
}
input.error {
	border:1px solid #900;
}
.selectbox {
	height:24px;
	line-height:24px;
	background:url(../images/background-select.jpg)right center no-repeat;
	width:220px;
	padding:0 10px;
	font-size:12px;
	border:1px solid #ddd;
	border-radius:5px;
	margin:0 0 10px 0;
	display:block;color:#666;
}
.options {
	position:absolute;
	left:-5000px;
}

#sw_fields a {
	margin:0 0 20px 8px;
}
#sw_fields label {
	margin:12px 0 4px 8px;
}
#sw_fields input[type="text"],
#sw_fields input[type="password"],
#sw_fields input[type="email"],
#sw_fields input[type="number"],
#sw_fields input {
	margin-left:8px;
	width:65%;
	padding:6px 2%;
	border:1px solid #ccc;
	border-radius:5px;
	color:#666;
	margin-bottom:10px;
	font-family:Tahoma, Geneva, sans-serif;
	font-size:13px;
}
.selectbox {
	height:24px;
	line-height:24px;
	background:url(../images/background-select.jpg)right center no-repeat;
	width:220px;
	padding:0 10px;
	font-size:12px;
	border:1px solid #ddd;
	border-radius:5px;
	margin:0 0 10px 0;
	display:block;color:#666;
}
.option {
	position:absolute;
	z-index:-5;
	margin-top:-32px;
}
#iphone #EditItem .info-tab .checkbox-true,
#iphone #EditItem .info-tab .checkbox-false
{
    width:127px;
    height:26px;
    display:block;
    background:url(../images/checkbox-background.png);
	margin-left:8px;
	margin-bottom:20px;
}
#iphone #EditItem .info-tab .checkbox-false 
{
    background-position:bottom;
}
.checkbox-single .check-box 
{
    display:none;
}

/*====================================================
					WORK DEFINITIONS
====================================================*/

#iphone .work-defs {
    position:absolute;
    margin:45px 0 0 51px;
    background:#fff;
    width:197px;
    border:1px solid #ccc;
    border-radius:4px;
    padding:10px;
    z-index:10;
	display:none;
}
#iphone .work-defs ul {
    margin:0;
    padding:0;
    list-style:none;
}
#iphone .work-defs ul li + li {
    margin-top:7px;
    padding-top:7px;
    border-top:1px solid #f3f3f3;
}
#iphone .work-defs a {
    text-decoration:none;
    color:#44759b;
	display:block;
}
.closer {
    width:100%;
    height:100%;
    position:fixed;
    z-index:5;
    display:none;
}

/*====================================================
					LOGIN PAGE
====================================================*/

.sign-in-wrapper {
	width:80%;
	padding:0 10%;
}
.sign-in {
	width:100%;
	height:40px;
	background:url(../images/submit-button.jpg);
	display:block;
	border-radius:5px;
	color:#fff;
	line-height:40px;
	text-align:center;
	cursor:pointer;
	margin-top:14px;
    border:none;
	font-size:14px;
	text-decoration:none;
	padding:0;
}
p + p .sign-in {
	background:url(../images/submit-button-gray.jpg);
	color:#444;
}
.forgot-password {
	color:#666;
	float:right;
	margin:20px 1px 15px 0;
	font-size:12px;
	text-decoration:none;
}
.version {
	position:absolute;
	bottom:15px;
	font-size:12px;
	color:#666;
}
.login-loading {
	height:55%;
	text-align:center;
}
.login-loading p {
	margin:0 0 8px -5px;
}
#login-error {
    clear:both;
    padding:5px 8px;
    border-radius:10px;
    background:#ffd0d0;
    border:1px solid #cd9698;
    margin-top:15px;
    display:none;
}

/*====================================================
					FOOTER
====================================================*/

.footer {
    display:none;
    height:44px;
    background:url(../images/background-footer.jpg);
    width:inherit;
    position:fixed;
    z-index:100;
    bottom:0;
}
.footer ul li {
    float:left;
    list-style:none;
    background:url(../images/background-footer.jpg) no-repeat right -88px;
    height:44px;
}

.footer ul li + li + li + li + li {
	background-position:left -88px;
}
.footer ul li.active {
    background:url(../images/background-footer.jpg) no-repeat right -132px;
}

.footer ul li + li + li + li + li.active {
    background:url(../images/background-footer.jpg) no-repeat right -132px;
}
.footer a {
    width:64px;
    color:#fff;
    display:block;
    height:44px;
    text-indent:-5000px;
	background:center no-repeat;
}
.footer .button-camera {
    background-image:url(../images/button-footer-camera.png);
}
.footer .button-files {
    background-image:url(../images/button-footer-files.png);
}
.footer .button-history {
    background-image:url(../images/button-footer-history.png);
}
.footer .button-status {
    background-image:url(../images/button-footer-status.png);
}
.footer .button-info {
    background-image:url(../images/button-footer-info.png);
}
.footer .button-settings {
    background-image:url(../images/button-footer-settings.png);
}
.footer .button-refresh {
    background-image:url(../images/button-footer-refresh.png);
}

/*====================================================
					MODAL
====================================================*/


#modal {
	background:url(../images/background-modal.png);
	height:100%;
	position:absolute;
	top:0;
	color:#fff;
	display:none;
    width:100%;
    padding:0;
}
#modal h1 {
    color:#4185C2;
    margin-bottom:25px;
}
.loading {
	background:url(../images/loading.gif) no-repeat center #fff;
	height:500px;
	width:100%;
	display:none;
	position:fixed;
	top:0;
}

/*====================================================
					FOOTER TABS
====================================================*/

.camera-tab,
.files-tab,
.history-tab,
.history-edit-tab,
.status-tab,
.account-tab,
.info-tab {
	display:none;
	width:100%;
	min-height:400px;
	padding:10px 0 44px;
	background:#333;
}
.info-tab {
	padding:51px 0 44px;
}
.info-tab {
	display:block;
	background:#fff;
}
.camera-tab div,
.files-tab div,
.history-tab div,
.account-tab div {
    position:absolute;
    z-index:15;
    width:100%;
    height:100%;
	overflow:auto;
    -webkit-overflow-scrolling: touch;
}
#historyList li
{
    width:90%;
    background-color:#fcfcfc;
    line-height:22px;
    list-style:none;
    padding:12px 0;
    z-index:15;
    margin:10px 0 10px 5%;
    border:1px solid #666;
}
.history-tab input {
	display:none;
}
.files-tab div
{
	text-align:center;
}
.camera-tab div + div,
.files-tab div + div,
.history-tab div + div,
.status-tab div + div,
.account-tab div + div {
    position:fixed;
    background:#000;
    opacity:.85;
    height:100%;
    width:100%;
    z-index:10;
    top:0;
    padding:0;
}
.files-tab div,
.history-tab ul {
    position:absolute;
    z-index:15;
    padding-bottom:44px;
    width:100%;
	text-align:center
}
.files-tab img
{
    width:96%;
    margin:0;
    border:1px solid #666;
}
.status-tab div,
.history-edit-tab ul
{
    width:90%;
}
.status-tab ul,
.history-edit-tab ul {
	background:#fff;
	padding:10px 0;
	width:260px;
	margin:15px auto;
	border-radius:10px;
	min-height:200px;
}
.history-edit-tab .close-icon {
	display:block;
	height:32px;
	width:32px;
	background:url(../images/close-icon.png);
	position:absolute;
	margin-left:238px;
	margin-top:-18px;
	z-index:9999;
}
.media-tab a,
.camera-tab a {
	display:block;
	height:46px;
	line-height:46px;
	margin:20% auto 10px;
}
.camera-tab a + a {
	margin:10px auto;
}
.button-photo-camera {
	background:url(../images/button-photo-camera.png);
	width:224px;
	padding-left:37px;
}
.button-photo-library {
	background:url(../images/button-photo-library.png);
	width:224px;
	padding-left:37px;
}
.button-photo-cancel {
	background:url(../images/button-photo-cancel.png);
	width:151px;
	padding-left:110px;
	color:#fff;
}

/*====================================================
					WORK LISTINGS
====================================================*/

#companyList li,
#workList li,
.workList li
{
    width:100%;
    background:url(../images/background-list-arrow.png) no-repeat center right;
    line-height:22px;
    list-style:none;
    border-bottom:1px solid #eee;
    border-top:1px solid #eee;
    padding:0;
}
#companyList li:active,
#workList li:active,
.workList li:active
{
    background-color:#fcfcfc;
}
#workList li + li,
.workList li + li,
#fieldList li + li,
.status-tab li + li
{
    border-top:none;
}
.workList span,
#historyList span {
    color:#8aafc6;
}
#fieldList li,
.status-tab li,
.history-edit-tab li {
    height:auto;
    width:300px;
    padding:0 10px 6px;
    background:none;
    list-style:none;
    border-bottom:1px solid #eee;
    border-top:1px solid #eee;
    
}
.status-tab li,
.history-edit-tab li {
	width:240px;
	border-top:none;
}
#fieldList li label,
.status-tab li label,
.history-edit-tab li label {
    line-height:13px;
    padding:14px 0 8px 3px;
    font-weight:bold;
}
#fieldList li p,
.status-tab li p,
.history-edit-tab li p {
    padding:3px 6px;
    background:#fff;
    border:1px solid #ddd;
    border-radius:4px;
    line-height:20px;
    color:#666;
}
#companyList li a,
#workList li a,
#queueList li a,
#workList li label,
#historyList a {
    display:block;
    padding:12px 0 12px 10px;
    text-decoration:none;
    color:#666;
    cursor:pointer;
}
#historyList li {
	border-radius:10px;
}
span.assigned {
	display:inline-block;
	height:13px;
	width:14px;
	background:url(../images/icon-star.png);
	margin-right:6px;
}
#fieldList input,
.status-tab input,
.history-edit-tab input {
    padding:3px 6px;
    background:#fff;
    border:1px solid #ddd;
    border-radius:4px;
    line-height:20px;
    margin-bottom:8px;
    color:#666;
    width:70%;
}
#sw_fields .button-pin {
    display:block;
    float:right;
    text-indent:-5000px;
    width:28px;
    height:28px;
    background:url(../images/pin.png);
    margin:0 8px;
}
#sw_fields .button-map {
    display:block;
    float:right;
    text-indent:-5000px;
    width:28px;
    height:28px;
    background:url(../images/map.png);
	margin:0;
}
.save-button {
	width:120px;
	height:41px;
	background:url(../images/submit-button.jpg);
	display:block;
	border-radius:5px;
    border:none;
	color:#fff;
	line-height:41px;
	text-align:center;
	cursor:pointer;
	margin:10px 0 10px 9px;
	padding:0;
}

/*====================================================
					FILES LISTINGS
====================================================*/

#fileList a {
	display:block;
	width:240px;
	height:30px;
	padding:10px 12px 10px 60px;
	border-radius:8px;
	margin:0 auto 15px;
	background-color:#fff;
	text-align:left;
	line-height:29px;
}

#fileList .file-pdf {
	background:url(../images/files-icon-pdf.jpg) no-repeat 2px center #fff;
}

#fileList .file-excel {
	background:url(../images/files-icon-excel.jpg) no-repeat 2px center #fff;
}

#fileList .file-word {
	background:url(../images/files-icon-word.jpg) no-repeat 2px center #fff;
}

#fileList .file-image {
	background:url(../images/files-icon-image.jpg) no-repeat 5px center #fff;
}

#fileList .file-video {
	background:url(../images/files-icon-video.jpg) no-repeat 2px center #fff;
}

/*====================================================
					SUCCESS MESSAGE
====================================================*/

.success {
	display:none;
	width:100%;
	height:100%;
	position:fixed;
	top:0;
	z-index:500;
	text-align:center;
}
.success img {
	position:fixed;
	z-index:700;
	top:100px;
	left:40px;
}
.success div {
	background:#000;
	opacity:.9;
	height:100%;
	width:100%;
	position:fixed;
	z-index:600;
}

/*====================================================
					GOOGLE MAP
====================================================*/

.map-wrapper {
    height:100%;
    width:100%;
    position:fixed;
    top:0;
    display:none;
	z-index:999;
}
.close-map {
    height:44px;
    width:100%;
    background:url(../images/background-footer-left.jpg);
	position:fixed;
	z-index:400;
	top:0;
}
.close-map a {
    color:#fff;
    float:right;background:url(../images/button-close.png) no-repeat center right;
    padding-right:46px;
    display:block;
    height:44px;
    line-height:44px;
}
#map_canvas {
    width:100%;
    height: 100%;
}

/*====================================================
					ACCOUNT INFO
====================================================*/

#accountInfo {
    background-color:#fff;
    height:100%;
    width:100%;
    position:fixed;
    top:0;
    display:none;
    z-index:400;
}

/*====================================================
					VALIDATION
====================================================*/

#editForm label.error {
	margin-left: 10px;
	width: auto;
	display: inline;
    color: red;
}