input[type=text], input[type=currency], input[type=number], input[type=password], input[type=file], select, textarea {
	outline: 0;
	border: #aaa solid 1px;
	margin: 0;
	padding: 0;
  font-family:"Lucida Grande", Calibri, Arial, sans-serif;
}

.ie7 input[type=password] {
  font-family: sans-serif;
}

input[type=button] {
  font-size:.8em;
  outline: 0;
  font: Verdana, Tahoma, sans-serif;
  -moz-box-shadow: .1em .1em 0.1em #aaa;
  -webkit-box-shadow: .1em .1em 0.1em #aaa;
  box-shadow: .1em .1em 0.1em #aaa;
  border-radius:0.25em;
  background-color:#fff;
  border:#bbb solid .0625em;
  text-shadow: 1px 1px 0 #FFFFFF;
}

input[type=button]:hover {
  -moz-box-shadow: 0 0 0.05em #aaa;
  -webkit-box-shadow: 0 0 0.05em #aaa;
  box-shadow: 0 0 0.05em #aaa;
  background-color:#ffe;
  border:#bbb solid 1px;
}

form ul {
	list-style-type:none;
	margin:0;
	padding:0;
	line-height:3em;
}

form.shortlist ul {
  line-height: 1em;
}

form ul li {
	float:left;
	font-size:.9em;
}

form ul li:first-child {
	padding:0em;
	width:27%;
	text-align:right;
	margin:.2em;
	color:#565656;
	font-weight:bold;
}

form ul li:last-child {
	width:67%;
	text-align:left;
	margin:.2em;
	padding:0em;
}

form ul li:last-child div {
	padding:1px;
	margin:0;
	font-size.75em;
	line-height:.75em;
}

form ul li div {
	margin:0;
	padding:0;
	text-align:left;
	vertical-align:middle;
}

form ul li div img {
	vertical-align:middle;
}

form ul li img {
	vertical-align:middle;
}

form ul li textarea {
	resize: none;
	font-size:1.25em;
	border:.1em solid #b4b4b4;
  overflow: auto;
}

form ul li input {

	border:0;
	font-size:1.25em;
	border-bottom:.1em solid #b4b4b4;
	margin-right:17px;
	/*border-bottom:.1em solid rgba(155,155,155,.5);*/
}

form div.action {
	text-align:right;
	margin-top:1em;
	border:0;
	line-height:2em;
}

form div.action span {
	font-size:.65em;
color:red;
	line-height:2em;
}

form p {
	font-size:1.5em;
	font-weight:bold;
}

form .button {
	margin:auto;
	line-height:25px;
	display:block;
	color:rgba(26,130,247,.75);
	font-size:1em;
}

form .button:hover {
	color:rgba(26,130,247,1);
	text-shadow:0px 1px 3px rgba(26,130,247,1);
	text-decoration:none;
}

form .checkbox-n {
	border:0
	margin:0;
}

div.grid ul li input.disabled {
	background:none;
	border:0px solid none;
    cursor: pointer;
}

#summary {
    border: 1px solid black;
    text-align: right;
    font-weight: bold;
}

div.grid ul.editable li input {
	font-size:.85em;
	border:1px solid #d1d1d1;
	padding:2px;
    text-align: right;
}

div.grid ul.editable li input.readonly:not(.disabled) {
    background-color: #99bd4b;
    border: thin solid gray;
}

div.grid ul.editable li.right input {
	text-align:right;
}

#expense-meta-container {
    -webkit-border-radius: 8px 8px 0 0;
    -moz-border-radius: 8px 8px 0 0;
    border-radius: 8px 8px 0 0;
    border: 1px solid black;
}

#unsubmittedTotal {
	color:#CC0000;
}

#submittedTotal {
	color:#CC8800;
}

#approvedTotal {
	color:#009900;
}

.ie7 #expense-meta-container {
    min-height: 100px;
}

#expense-meta-container div {
    background-color: #115886;
    color: white;
    font-weight: bold;
    border-bottom: 1px solid black;
    line-height: 2em;
    -webkit-border-radius: 8px 8px 0 0;
    -moz-border-radius: 8px 8px 0 0;
    border-radius: 8px 8px 0 0;
    float: left;
    width: 100%;
    position: relative;
}

#report-number {
    margin-left: 2%;
}

#auto-save, #report-status {
    float: right;
    margin-right: 2%;
}

.ie7 #auto-save, .ie7 #report-status {
    position: absolute;
    right: 0;
    top: 0;
}

#expense-meta-container ul {
    line-height: 1em;
}

#expense-meta-container ul li:first-child {
    width: 14%;
}

#expense-meta-container ul li:last-child:not(.wrap) {
    width: auto;
}

span.CreateNew {
    margin-left: 45px;
    font-size: .7em;
    vertical-align: top;
    cursor: pointer;
}

#add-attachment, #add-expense {
    margin-left: 45px;
    font-size: .7em;
    vertical-align: top;
    cursor: pointer;
}

#newMileage {
  width: 30%;
}

.dialog form input.error, form ul li input.error, div.grid ul.editable li input.error {
background: #f85032;
/*background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2Y4NTAzMiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjUwJSIgc3RvcC1jb2xvcj0iI2YxNmY1YyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjUxJSIgc3RvcC1jb2xvcj0iI2Y2MjkwYyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjcxJSIgc3RvcC1jb2xvcj0iI2YwMmYxNyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNlNzM4MjciIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);*/
background: -moz-linear-gradient(top,  #f85032 0%, #f16f5c 50%, #f6290c 51%, #f02f17 71%, #e73827 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#f85032), color-stop(50%,#f16f5c), color-stop(51%,#f6290c), color-stop(71%,#f02f17), color-stop(100%,#e73827));
background: -webkit-linear-gradient(top,  #f85032 0%,#f16f5c 50%,#f6290c 51%,#f02f17 71%,#e73827 100%);
background: -o-linear-gradient(top,  #f85032 0%,#f16f5c 50%,#f6290c 51%,#f02f17 71%,#e73827 100%);
background: -ms-linear-gradient(top,  #f85032 0%,#f16f5c 50%,#f6290c 51%,#f02f17 71%,#e73827 100%);
background: linear-gradient(to bottom,  #f85032 0%,#f16f5c 50%,#f6290c 51%,#f02f17 71%,#e73827 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f85032', endColorstr='#e73827',GradientType=0 );

color:white;
}

.dialog form input.warning, form ul li input.warning, div.grid ul.editable li input.warning {
background: #fceabb;
/*background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZjZWFiYiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjUwJSIgc3RvcC1jb2xvcj0iI2ZjY2Q0ZCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjUxJSIgc3RvcC1jb2xvcj0iI2Y4YjUwMCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmYmRmOTMiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);*/
background: -moz-linear-gradient(top,  #fceabb 0%, #fccd4d 50%, #f8b500 51%, #fbdf93 100%);
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#fceabb), color-stop(50%,#fccd4d), color-stop(51%,#f8b500), color-stop(100%,#fbdf93));
background: -webkit-linear-gradient(top,  #fceabb 0%,#fccd4d 50%,#f8b500 51%,#fbdf93 100%);
background: -o-linear-gradient(top,  #fceabb 0%,#fccd4d 50%,#f8b500 51%,#fbdf93 100%);
background: -ms-linear-gradient(top,  #fceabb 0%,#fccd4d 50%,#f8b500 51%,#fbdf93 100%);
background: linear-gradient(to bottom,  #fceabb 0%,#fccd4d 50%,#f8b500 51%,#fbdf93 100%);
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fceabb', endColorstr='#fbdf93',GradientType=0 );
}

.dialog form ul {
    line-height: 1.5em;
    clear: both;
}

.dialog form ul li {
	font-family:"Lucida Grande", Calibri, Arial, sans-serif;
	color:#343434;
  float: left;
}

.dialog form div ul li:first-child {
    width: 29%;
}

.dialog form ul.comment-container li:first-child {
    width: 14%;
}

.dialog form div ul li:last-child {
    text-align: left;
}

.dialog .money {
    text-align: right;
}

.dialog input.readonly {
    color: green;
    font-weight: bold;
}

.dialog form ul li .comment {
  width: 478px;
}

.dialog form ul li .m-comment {
  width: 512px;
}

.dialog form ul li .attendees {
  width: 179px;
}

.ie7 .dialog li {
  font-size: .7em;
}

.ie7 table td {
  font-size: .7em;
}

.dialog .tip-advice {
  display: none;
  font-style: italic;
  font-weight: bold;
  text-align: center;
}

.dialog .mealAmount-advice {
    display: none;
    font-style: italic;
    font-weight: bold;
    text-align: center;
}

.dialog .bookingDate-advice {
    display: none;
    font-style: italic;
    text-align: center;
}

.ieRedraw {
    line-height: 1.6em;
}

#view-dialog form ul li:first-child {
    width: auto;
}

#view-dialog form ul li:last-child {
    width: auto;
}

#meals-container {
    border-top: thin solid gray;
    margin-top: 5px;
    padding-top: 5px;
    clear: both;
}

#mileRequest-dialog ul {
    list-style-type: none;
    text-align: left;
}

form div.grid ul.error li {
	background-color:#ff3232;
	color:white;
}

form div.grid ul.error li.other {
	background-color:#ff3737;
}


input.required {
	background: url(../images/field-required.png) no-repeat right;
    padding-right: 0px;
}

div.grid ul li img.field-status {
    width: 16px;
    height: 16px;
    cursor: default;
}

.ie7 #report-summary { width: 95%; }

img[class^=field-] {
    cursor: default;
}

/* approve.html tweaks */
.light li {
  background-color: #f6f6f6;
}

form div.grid ul .commentLabel {
  color: #343434;
}

img.rejectOption.selected {
  background-color: red;
}

img.acceptOption.selected {
  background-color: green;
}

td.left {
  text-align: left;
}

div.section-title {
  margin-top: 40px;
}

div.section-title span {
  font-size: .7em;
}

#DetailList {
  margin-top: 10px;
}

div.action {
  float: right;
  margin-top: 20px;
}