* {
	margin:0;
	padding:0;
}

html { height: 100%; }

/* General Style Info */
body {
	background: #fff;
	color: #000;
	/*font: 200 14px/17px -apple-system, 'Helvetica Neue',Helvetica,Arial,sans-serif;*/
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Helvetica Neue", sans-serif;
	font-size: 15px;
	line-height: 17px;
	font-weight: 300;
	margin: 0;
	padding: 0 0 55px;
	min-width: 800px;
}
a {
	color: #444;
	text-decoration: underline;
	font-weight: 400;
}
a:hover {
	color: #444;
	text-decoration:none;
}
a img {
	border:none;
}
h1, h2, h3, h4 {
	font-weight: normal;
}
h1 {
	background:#fff;
	color: #003d4c;
	font-size: 100%;
	margin: 0.1em 0;
}
h2 {
	background:#fff;
	color: #000;
	text-transform: uppercase;
	font-weight: 900;
	font-size: 20px;
	margin: 1em 0;
}
h3 {
	color: #999;
	font-size: 17px;
	margin: 1.5em 0;
}
h4 {
	color: #999;
	font-weight: normal;
	padding-top: 0.5em;
}
ul, li {
	margin: 0 12px;
}

/* Layout */
#container {
	text-align: left;
	padding-top: 5.5em;
}

#content {
	background: #fff;
	clear: both;
	color: #333;
	padding: 0;
	overflow: auto;
}
#footer {
	clear: both;
	padding: 6px 10px;
	text-align: right;
}


/* new html5 */

header {
	-webkit-box-shadow: 0px 0px 3px rgba(0,0,0,.2);
	position: fixed;
	width: 100%;
	height: 4em;
	padding: .4em 0;
	z-index: 100;
	background: white url(/img/aad.svg) no-repeat 19px 8px;
	background-size: 120px;
}
header nav {
	white-space: nowrap;
}
header form {
	position: absolute;
	top: 1.75em;
	right: 10px;
}
header nav ul {
	list-style: none;
	margin: 0;
}
header nav li {
	display: inline-block;
	margin: 0;
}
header nav li a {
	text-decoration: none;
	display: inline-block;
	padding: 20px 20px 10px 15px;
	font-weight: 300;
	color: #222;
}
header nav li.home a {
	padding-left: 170px;
}
/*header nav li.home a:hover {
	background: #fff url(/img/new-logo-40.png) no-repeat 6px -97px;
}*/

/* Tables */
table {
	background: #fff;
	clear: both;
	color: #000;
	margin: 0;
	width: 100%;
	border-bottom: 1px solid #eee;
	table-layout: fixed;
}
td { white-space: nowrap; text-overflow: ellipsis; overflow: hidden; }
th {
	text-align: left;
	text-transform: uppercase;
	line-height: 24px;
	font-size: .8em;
	color: #666;
	font-weight: normal;
}

th.ids, td.ids {
	padding-right: 1em;
	width: 6.5em;
	text-align: right;
}
th.actions, td.actions {
	width: 7em;
}
th.created { width: 7em; }
th.state { width: 14em; }
th.client { width: 20%;  }
td.client {  }

th a {
	display: block;
	padding: 0 .5rem;
	text-decoration: none;
}
th.ids a { padding: 0; }

td a { text-decoration-style: dotted; }

table tr td {
	padding: .5em;
	text-align: left;
	vertical-align: middle;
	background: -webkit-gradient(linear, left top, left bottom, from(#fff), to(#f9f9f9), color-stop(0.7, #fcfcfc) );
	border-bottom: 1px solid #fff;
	border-top: 1px solid #eee;
}
table tr:hover td { background: #fff; border-bottom: 1px solid #f9f9f9; }


td select.state {
	-webkit-appearance: none;
	border: 0;
	background: transparent;
	font: 300 14px/17px -apple-system, 'Helvetica Neue',Helvetica,Arial,sans-serif;
	outline: none;
	cursor: pointer;
}

.indicator { 
	display: inline-block; 
	padding: .5em;
	margin: 0 .4em 0 0;
	border-radius: 100%;
	border: 2px solid #Fa0; 
	background: #FF645E;
	text-decoration: none; font-size: .8em; line-height: 0;
	vertical-align: -2px;
	}

.state-6 .indicator { /* no charge */
	border: 2px solid #FCFF5C; 
	background: #FFF200;
}
.state-5 .indicator { /* billed */
	border: 2px solid #A3DF43; 
	background: #68BA00;
}
.state-8 .indicator { /* pending */
	border: 2px solid #70CAFF; 
	background: #0AF;
}
.state-7 .indicator { /* cancelled */
	border: 2px solid #ccc; 
	background: #999;
}
.state-9 .indicator { /* to bill */
	border: 2px solid #82CDCC; 
	background: #4ABBB9;
}
td i { margin-left: -32px; font-size: .9em; }





td.actions {
	text-align: left;
	white-space: nowrap;
}
td.actions a {
	margin: 0;
	font-size: 22px; line-height: 1;
	text-transform: uppercase;
	text-decoration: none;
	background: #fff;
	border-radius: 10px;
	padding: 2px 7px;
	color: #666;
}
td.actions a:hover {
	background: #000;
}

td.actions a[data-icon] {
	display: inline-block;
	background: transparent;
	width: 21px;
	overflow: hidden;
	padding: 0;
	margin: 0 4px -1px;
	line-height: 21px;
	-webkit-font-smoothing: antialiased;
}
td.actions a[data-icon]:hover {
	color: #000;
}
/*
[data-icon]:before {
	text-transform: lowercase;
	font-family: 'Pictos Custom';
	font-size: 24px;
	position: relative;
	bottom: -4px;
	content: attr(data-icon);
	margin-right: 5px;
}*/

/* Paging */
div.paging {
	text-align: center;
	color: #444;
	margin: 0;
	position: fixed;
	bottom: 0; left: 0; right: 0;
	width: 100%;
	background: #fff;
	padding: 10px 0 0px;
	-webkit-box-shadow: 0px 0px 3px rgba(0,0,0,.2);
}
div.paging a { text-decoration: none; }
div.paging div.disabled {
	color: #ddd;
	display: inline;
}
div.paging span {
	display: inline-block; 
	background: #fff; margin: 2px;
	line-height: 20px; width: 2em;
	border: 1px solid #eee;
	color: #444;
	margin: 0 -1px;
}
div.paging span:first-of-type{
	border-radius: 5px 0px 0px 5px;
}
div.paging span:last-of-type{
	border-radius: 0px 5px 5px 0px;
}
div.paging span.current, div.paging span:hover {
	color: #fff; font-weight: bold;
	background: #444;
	box-shadow: none;
	border: 1px solid #444;
}
div.paging span a {
	text-decoration: none;
	display: block;
	color: #444;
}
div.paging span a:hover {
	color: #fff;
}

div.paging-stats {
	display: block;
	font-size: 11px;
	padding: 3px 0;
}

div.paging div.prev, div.paging div.next { display: inline-block; }




/* Scaffold View */
dl {
	line-height: 2em;
	margin: 0em 0em 3em 2%;
	width: 60%;
}
dl.altrow {
	background: #f4f4f4;
}
dt {
	font-weight: bold;
	padding-left: 4px;
	vertical-align: top;
}
dd {
	margin-left: 10em;
	margin-top: -2em;
	vertical-align: top;
}

/* Forms */
form {
	clear: both;
	margin-right: 20px;
	padding: 0;
	width: 80%;
	margin-left: 2%;
}
fieldset {
	border: 1px solid #ccc;
	margin-top: 30px;
	padding: 16px 20px;
}
fieldset legend {
	background:#fff;
	color: #e32;
	font-size: 160%;
	font-weight: bold;
}
fieldset fieldset {
	margin-top: 0px;
	margin-bottom: 20px;
	padding: 16px 10px;
}
fieldset fieldset legend {
	font-size: 120%;
	font-weight: normal;
}
fieldset fieldset div {
	clear: left;
	margin: 0 20px;
}
form div {
	clear: both;
	margin-bottom: 1em;
	padding: .5em;
	vertical-align: text-top;
}
form div.input {
	color: #444;
}
form div.required {
	color: #333;
	font-weight: bold;
}
form div.submit {
	border: 0;
	clear: both;
	margin-top: 10px;
	margin-left: 140px;
}
label {
	display: block;
	font-size: 110%;
	padding-right: 20px;
}
input, textarea {
	clear: both;
	font-size: 28px;
	font-family: -apple-system, 'Helvetica Neue',Helvetica,Arial,sans-serif;
	padding: 2px;
	width: 100%;
}
select {
	clear: both;
	font-size: 16px;
	font-family: -apple-system, 'Helvetica Neue',Helvetica,Arial,sans-serif;
	background: #f4f4f4;
	vertical-align: text-bottom;
}
select[multiple=multiple] {
	width: 100%;
}
option {
	font-size: 120%;
	padding: 0 3px;
}
input[type=checkbox] {
	clear: left;
	float: left;
	margin: 0px 6px 7px 2px;
	width: auto;
}
input[type=radio] {
	float:left;
	width:auto;
	margin: 0 3px 7px 0;
}
div.radio label {
	margin: 0 0 6px 20px;
}
input[type=submit] {
	display: inline;
	font-size: 110%;
	padding: 2px 5px;
	width: auto;
	vertical-align: bottom;
}

/* Notices and Errors */
div.message {
	clear: both;
	color: #FF6C5D;
	font-weight: bold;
	margin: 1em 0;
	position: absolute;
	right: 250px; top: 10px;
	z-index: 100;
}
div.error-message {
	clear: both;
	color: #900;
	font-weight: bold;
}
p.error {
	background-color: #e32;
	color: #fff;
	font-family: Courier, monospace;
	font-size: 120%;
	line-height: 140%;
	padding: 0.8em;
	margin: 1em 0;
}
p.error em {
	color: #000;
	font-weight: normal;
	line-height: 140%;
}
.notice {
	background: #ffcc00;
	color: #000;
	display: block;
	font-family: Courier, monospace;
	font-size: 120%;
	line-height: 140%;
	padding: 0.8em;
	margin: 1em 0;
}
.success {
	background: green;
	color: #fff;
}

/*  Actions  */
div.actions ul {
	margin: 0px 0;
	padding: 0;
}
div.actions li {
	display: inline;
	list-style-type: none;
	line-height: 2em;
	margin: 0 2em 0 0;
	white-space: nowrap;
}
div.actions ul li a {
	background:#fff;
	color: #003d4c;
	text-decoration: none;
}
div.actions ul li a:hover {
	color: #333;
	text-decoration: underline;
}

/* Related */
div.related {
	clear: both;
	display: block;
}



#JobSearchForm { width: 200px; float: right; }
#JobSearchForm .input { margin: 0; padding: 0; width: 200px; float: left; }
#JobSearchForm .input input { font-size: 16px; border: 0; border-bottom: 1px inset; opacity: 0.6; padding: 3px; }
#JobSearchForm .input input:focus, #JobSearchForm .input input:hover { opacity: 1; outline: none; }
#JobSearchForm .input input::-webkit-search-decoration { width: 25px; }
#JobSearchForm .submit { margin: 0 0 0 10px; padding-top: .3em; float: left; clear: none; }
#JobSearchForm .input input::placeholder { color: #666; }

#JobEditForm { min-height: 600px; }
	
.button:hover { text-decoration: none; background: #f47c20;
	background: -webkit-gradient(linear, left top, left bottom, from(#f88e11), to(#f06015));
	background: -moz-linear-gradient(top,  #f88e11,  #f06015);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#f88e11', endColorstr='#f06015');
}
.button:active { position: relative; top: 1px; color: #fcd3a5;
	background: -webkit-gradient(linear, left top, left bottom, from(#f47a20), to(#faa51a));
	background: -moz-linear-gradient(top,  #f47a20,  #faa51a);
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#f47a20', endColorstr='#faa51a');
}



form .chosen-container, form .chosen-container div { margin: 0; padding: 0; font-size: 16px; }

.chosen-container-single .chosen-single {
    height: 35px;
    border-radius: 3px;
    background-color: #fff;
    background: #eee;
    line-height: 29px;
}
.chosen-container-single .chosen-single.chosen-default {
	color: #666;
}
.chosen-container .chosen-drop {
    background: #eee;
    font-size: 15px;
}
.chosen-container-active.chosen-with-drop .chosen-single {
    background-image: none;
}
.chosen-container-single .chosen-single div b { 
	background-position: 0px 5px;
}
.chosen-container-active.chosen-with-drop .chosen-single div b {
	background-position: -18px 5px;
}
.chosen-container .chosen-results li.highlighted {
    background-color: #666;
    background-image: none;
    color: #fff;
}
