html, body {
	margin: 0;
	padding: 0;
}

.ui-corner-top {
	-webkit-border-top-left-radius: 0.6em;
	border-top-left-radius: 0.6em;
	-webkit-border-top-right-radius: 0.6em;
	border-top-right-radius: .6em;
}

.ui-corner-bottom {
	-webkit-border-bottom-left-radius: 0.6em;
	border-bottom-left-radius: 0.6em;
	-webkit-border-bottom-right-radius: 0.6em;
	border-bottom-right-radius: 0.6em;
}

.ui-icon {
	font-size: 0.9em;
}

li.date-divider {
	padding-left: 0;
}

div.pop-up {
	text-align: center
}

div.pop-up img {
	width: 100%;
}

.nbis-search {
	margin: 0px auto;
}

ol.install-instructions {
	padding-left: 20px;
	color:#5489b9;
}

ol.install-instructions li {
	border-bottom: 1px solid #999999;
	padding: 10px 0;
}

ol.install-instructions li p {
	color:#333333;
}

ol.install-instructions li ul.install-details {
	padding-left: 1em;
}

ol.install-instructions li ul.install-details li {
	border-width: 0;
}

ol.install-instructions li p.low-light {
	color:#888888;
}

img.wo-photo-preview {
	display: none;
	width: 100%;
}

.wo-preview-photos {
	margin: 0;
	padding: 0;
}

.wo-create-photos {
	margin: 0 -1em;
	text-align: center;
}

.wo-create-photos > div {
	height: 10.25em;
	line-height: 10.25em;
	text-align: center;
}

#wo-add-photo {
	overflow: hidden;
	display: inline-block;
	width: 80%;
	font-size: 2.5em;
	margin: 0;
	vertical-align: middle;
}

.wo-map {
	position: relative;
	min-height: 250px;
	max-width: 550px;
	max-height: 550px;
	border: 1px solid #cccccc;
	background-color:#fefefe;
	margin: auto;
}

.wo-map .ui-loader {
	position: absolute;
}

.wo-map img {
	display: none;
	width: 100%;
}

.wo-location {
	text-align: center;
}

.wo-location .ui-btn {
	margin-top: 0.5em;
	margin-bottom: 0.5em;
}

.wo-location .ui-grid-a {
	overflow: visible;
	height: 2.5em;
}

.wo-location .ui-grid-a .ui-block-a {
	width: 48%;
	margin-right: 1%;
}

#wo-citizen-subform {
	display: none;
	margin: 0.5em -15px 0 0.5em;
	border: 1px solid #aaaaaa;
	border-right-width: 0;
	padding: 0.5em 15px 1em 1em;
	background-color: #e0e0e0;
}

#wo-citizen-subform .citizen-state {
	margin-right: 0.5em;
	border-bottom-width: 0;
}

.ui-grid-a .ui-field-contain.state {
	margin-right: 0.5em;
	border-bottom-width: 0;
}

.ui-grid-a .ui-field-contain.zip {
	border-bottom-width: 0;
}

.ui-grid-a .ui-field-contain.length-unit-id {
	margin-left: 0.5em;
	border-bottom-width: 0;
}

.ui-grid-a .ui-field-contain.work-length {
	border-bottom-width: 0;
}

#wo-citizen-subform .ui-field-contain {
	border-bottom-width: 0;
}

@media (max-width: 28em) {
	#wo-citizen-subform .ui-field-contain {
		padding: 0.5em 0;
	}
}

.new-workorder {
	float: left;
}

.new-workorder,
.ui-table-columntoggle-btn[href="#workorders-popup"] {
	margin: 0.5em 0.3em;
}

#activity-panel .ui-listview {
	margin-bottom: 1em;
}

#activity-panel .ui-listview li:not(:first-child) > .ui-btn-inner {
	padding-left: 40px;
}

#activity-panel .ui-listview li:not(:first-child) > .ui-btn-inner .ui-icon {
	right: auto;
	left: 10px;
}

#activity-panel .ui-listview li:not(:first-child) > .ui-btn-inner .ui-btn-text a {
	padding-right: 15px;
}

.workorder-summary {
	margin-top:-15px;
}

.workorder-summary .ui-table {
	margin-bottom: 10px;
}

.workorder-summary .ui-collapsible-content {
	padding: 0;
}

.workorder-summary td {
	background-color:#f0f0f0;
}

.workorder-summary .ui-table-reflow td .ui-table-cell-label {
	background:#ffffff;
}

.multi-line-cell {
	overflow: hidden;
}

.multi-line-cell .ui-table-cell-label {
	float: left;
}

.multi-line-cell .ui-table-cell-content {
	float: left;
	max-width: 60%;
}

.table-stroke.ui-table-reflow > tbody > tr > td:first-child {
	border-top: 1px solid #e6e6e6;
}

@media all and (max-width: 40em) {
	.workorder-summary .ui-block-a,
	.workorder-summary .ui-block-b {
		width: 100%;
		float: none;
	}
}

.workorder-details .activity .ui-listview ul {
	list-style-type: disc;
	font-size: 0.75em;
	color: #555;
}

.workorder-details .map-wrap {
	margin: -10px -15px;
	text-align: center;
}

.workorder-details .map-wrap img {
	width: 100%;
	max-width: 650px;
}

.workorder-details .map-wrap .ui-loader {
	display: block;
	position: absolute;
	margin: -22px -22px;
}

.workorder-details .map-section .ui-collapsible-content {
	position: relative;
	min-height: 400px;
}

.workorder-details-map .ui-content {
	padding: 0;
}

.ui-listview.details-links {
	margin-top: 0;
}

.no-map {
	margin: 1em;
	text-align: center;
	color: #3373a5;
}

#update-work textarea[name="note"],
#edit-work textarea[name="editReason"],
#edit-work textarea[name="comments"],
#create-work textarea[name="comments"] {
	min-height: 6em;
}

.workorder-details .ui-listview > li p {
	white-space: normal;
	margin-top: 0;
}

.ui-icon-radio-off {
	background-color: transparent !important;
}

.activity-photos-grid {
	margin: 0 -0.3em;
}

.activity-photos-grid a {
	display: block;
	padding: 0.3em;
}

.activity-photos-grid img {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 100%;
	vertical-align: middle;
	position: relative;
}

@media all and (max-width: 35em) {
	.activity-photos-grid .ui-block-a,
	.activity-photos-grid .ui-block-b,
	.activity-photos-grid .ui-block-c,
	.activity-photos-grid .ui-block-d {
		width: 50%;
	}

	.activity-photos-grid .ui-block-a,
	.activity-photos-grid .ui-block-c {
		clear: left;
	}
}

@media all and (max-width: 35em) {
	.wo-create-photos .ui-block-a,
	.wo-create-photos .ui-block-b,
	.wo-create-photos .ui-block-c,
	.wo-create-photos .ui-block-d {
		width: 50%;
	}

	.wo-create-photos .ui-block-a,
	.wo-create-photos .ui-block-c {
		clear: left;
	}
}

.wo-create-photos img {
	width: auto;
	height: auto;
	max-width: 90%;
	max-height: 90%;
	vertical-align: middle;
	position: relative;
}

.ui-bar.no-inset {
	margin-bottom: 0;
	border-left-width: 0;
	border-top-width: 0;
	border-right-width: 0;
}

.form-section-divider {
	color: #3373a5;
	margin: 0.3em 0;
	border-bottom: 1px solid #3373a5;
	padding-bottom: 0.3em;
}

.form-section {
	margin-bottom: 2em;
}

@media (min-width: 28em) {
	.ui-grid-a .ui-field-contain {
		border-bottom-width: 1px;
		padding: 0;
		margin: 0;
	}

	.ui-grid-a .ui-field-contain label.ui-select,
	.ui-grid-a .ui-field-contain label.ui-input-text {
		display: block;
		margin: 0 0 0.3em 0;
		width: auto;
	}

	.ui-grid-a .ui-field-contain .ui-select,
	.ui-grid-a .ui-field-contain .ui-input-text {
		display: block;
		margin: 0;
		width: 100%;
	}
}

textarea.ui-input-text {
	height: 75px;
}

.ui-btn.ui-icon-loading {
	background-image: none;
}

.ui-icon-loading:after {
	background: url("jquery.mobile-1.4.5/images/ajax-loader.gif");
	background-size: contain;
}

.file-uploader-input {
	position: absolute;
	right: 0px;
	bottom: 0px;
	font-family: Arial;
	font-size: 120px;
	margin: 0px;
	padding: 0px;
	opacity: 0;
	cursor: inherit;
}

.ui-footer .ui-btn-left,
.ui-footer .ui-btn-right {
	position: absolute;
	margin: 0;
	top: auto;
	bottom: 0.4em;
}

.ui-footer .ui-btn-left {
	left: 0.4em;
}

.ui-footer .ui-btn-right {
	right: 0.4em;
}

.person-header {
	background-color: #fceda7;
}

.person-header .ui-btn {
	border-top: none !important;
}

.person-header .ui-btn img {
	max-height: 6em !important;
}

.event-item a {
	padding-left: 3em !important;
}

.event-item .date-number {
	display: block;
	background-color: #fadf61;
	position: absolute;
	top: 0;
	left: 0;
	padding: 0.7em;
	width: 1.1em;
	text-align: center;
	color: #333 !important;
}

.event-details .important {
	color: #ff8c00;
}

.sub-header {
	margin: -1em -1em 1em -1em;
	text-align: center;
	border: none;
}

.fed-id-search .ui-input-search {
	display: inline-block;
	width: 55%;
	vertical-align: middle;
}

.bridge-footer {
	border-width: 0;
	border-top: 1px solid #555;
}

.bridge-header {
	padding: 0.65em 0.25em 0.65em 1em;
	font-weight: normal;
}

.bridge-map .ui-header h3 {
	margin: 0 2.5em 0 1em !important;
	font-weight: normal;
}

.bridge-map .ui-content {
	padding: 0;
}

.bridge-map .ui-content img {
	vertical-align: middle;
}

.county-contact-list small {
	font-size: 0.75em;
	opacity: 0.6;
	margin-left: 0.5em;
}

.ui-dialog.contact-photo .ui-content {
	padding: 0;
}

.ui-page .ui-input-text {
	background-color: #fff;
}

.switch-county .ui-header h3 {
	margin: 0 2.5em 0 1em !important;
}

.tpms-label {
	font-weight: normal;
}

.tpms-project .ui-header .ui-title {
	margin: 0 1em 0 2.5em;
}

.tpms-footer a:not(.ui-btn-active) .ui-icon {
	background-image: none;
}

.tpms-project .summary {
	padding: 1em;
	margin: -1em -1em 1em -1em;
}

.tpms-project .schedule li {
	padding-left: 2.3em;
}

.tpms-project .schedule .ui-li-divider,
.tpms-project .schedule .letting {
	padding-left: 1em;
}

.tpms-project .schedule .letting .ui-li-aside {
	margin: 0;
	font-weight: bold;
	top: 0.8em;
	right: 1.2em;
}

.tpms-project .schedule .ui-li-aside {
	margin: 0.9em 0;
	right: 1em;
}

.tpms-project .schedule .ui-btn-icon-notext {
	position: absolute;
	top: 0.9em;
	left: 0.4em;
}

.tpms-project .schedule .ui-btn-icon-notext::after {
	background-position: center center;
	background-repeat: no-repeat;
	-webkit-border-radius: 1em;
	border-radius: 1em;
}

.tpms-project .bubble.warning {
	background-color: darkorange;
	color: white;
}

.tpms-project .bubble {
	display: inline-block;
	min-width: 1em;
	padding: 0.2em 0.4em;
	font-size: smaller;
	line-height: 1;
	text-align: center;
	white-space: nowrap;
	vertical-align: text-bottom;
	border-radius: 0.3em;
}

.tpms-project .schedule-item-type {
	color: #999;
	font-style: italic;
}

li.project.behind-schedule a,
li.project.behind-schedule a:hover {
	color: darkorange !important;
}

.tpms-project ul.schedule li.item span.ui-icon-alert::after {
	background-color: darkorange;
}

.tpms-project ul.schedule li.item span.ui-icon-check::after {
	background-color: rgba(0, 130, 0, 0.7);
}

#workorders .ui-btn-active {
	background-color: #1489e6;
	border-color: #226aa5;
	color: #fff;
}

#workorders td,
#workorders th {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

#workorders tr {
	border-left-width: 0;
	border-right-width: 0;
}

#workorders td {
	padding: 0;
}

#workorders a {
	color: inherit;
	text-decoration: none;
	font-weight: normal;
	display: block;
	padding: 0.4em 0.5em;
	height: 1.5em;
}

#workorders .ui-btn-icon-notext {
	position: relative;
	top: 0.3em;
	display: inline-block;
}

#workorders .arrow-icon {
	width: 18px;
}

@media screen and (min-width: 30em) {
	#workorders th.ui-table-priority-1,
	#workorders td.ui-table-priority-1 {
		display: table-cell;
	}
}

@media screen and (min-width: 42em) {
	#workorders th.ui-table-priority-2,
	#workorders td.ui-table-priority-2 {
		display: table-cell;
	}
}

@media screen and (min-width: 55em) {
	#workorders th.ui-table-priority-3,
	#workorders td.ui-table-priority-3 {
		display: table-cell;
	}
}

@media screen and (min-width: 60em) {
	#workorders th.ui-table-priority-4,
	#workorders td.ui-table-priority-4 {
		display: table-cell;
	}
}

@media screen and (min-width: 70em) {
	#workorders th.ui-table-priority-5,
	#workorders td.ui-table-priority-5 {
		display: table-cell;
	}
}

@media screen and (min-width: 80em) {
	#workorders th.ui-table-priority-6,
	#workorders td.ui-table-priority-6 {
		display: table-cell;
	}
}

.no-inset {
	margin: -1em;
}

.activity-links :not(:first-child) a {
	padding-right: 1em;
	padding-left: 2.5em;
}

.activity-links :not(:first-child) a:after {
	right: auto;
	left: 0.5625em;
}

.ui-popup .ui-grid-a,
.ui-dialog-contain .ui-grid-a,
.ui-footer.ui-grid-a {
	text-align: center;
}

.ui-popup .ui-grid-a .ui-btn,
.ui-dialog-contain .ui-grid-a .ui-btn,
.ui-footer.ui-grid-a .ui-btn {
	display: inline-block;
	width: 85%;
	box-sizing: border-box;
}

.workorder-details .ui-li-aside {
	right: 1em;
}

#location-fields .ui-checkbox label {
	font-weight: normal;
}

#gps-panel {
	width: 300px;
}

#gps-panel .ui-loader {
	position: static;
	display: block;
	margin: 0;
	width: auto;
	text-align: center;
}

#gps-panel .ui-icon-loading {
	display: none;
}

#gps-panel .ui-grid-a .gps-stop {
	display: none;
}

#gps-panel.gps-locating .gps-stop {
	display: block;
}

#gps-panel.gps-locating .gps-locate {
	display: none;
}

#gps-panel.gps-locating .ui-icon-loading {
	display: block;
}

#gps-panel .ui-loader h2,
#gps-panel .ui-loader h3 {
	margin: 0;
}

#gps-panel .gps-retry {
	display: none;
}

.headlines h3 small {
	color: #777;
	font-size: 0.8em;
	font-weight: normal;
}

.headlines h3.blue {
	color: #189ad1;
}

.headlines h3.green {
	color: #57ad35;
}

.headlines h3.in-memoriam {
	background-color: #222;
	color: white;
	margin: 0.7em 0;
	padding: 0.3em;
}

form#login {
	max-width: 30em;
	margin: auto;
}

form#login .show-characters label {
	display: inline-block;
}

body.authorizing .ui-content {
	visibility: hidden;
}