html, body {
	height: 100%;
}
* {
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}
body {
	background-color: #ffffff;
	color: #000000;
	font-family: "Helvetica Neue", Arial, sans-serif;
	font-size: 100%;
	margin: 0;
	padding: 0;
	line-height: 1.5;
}
.header {
	width: 100%;
	overflow: hidden;
	padding: 25px 0;
	background-color: #ffffff;
	border-bottom: 5px solid #e26e3a;
}
.header h1 {
	background-image: url(logo.png);
	background-repeat: no-repeat;
	background-size: 358px 61px;
	
	direction: ltr;
	font-size: 1.5em;
	font-weight: 500;
	line-height: 61px;
	margin: 0 auto;
	width: 90%;
	max-width: 540px;
	text-align: left;
	text-indent: -999em;
}
/* In smaller screen widths use smaller logo */
@media (max-width: 400px) {
	.header h1 {
		background-size: 280px 52px;
		line-height: 52px;
	}
}
.footer {
	background-color: #e26e3a;
}
.footer div {
	margin: 0 auto;
	padding: 1.5em 0;
	width: 90%;
	max-width: 540px;
	font-size: 0.875em;
	color: #ffffff
}
.footer a {
	color: #ffffff
}
h3 {
	font-size: 1.125em;
	margin: 0 0 1em 0;
}
h3.short {
	margin: 0 0 0.75em 0;
}
h4 {
	font-size: 1em;
	margin: 0 0 1em 0;
}
.progress-bar {
	background-color: whiteSmoke;
	border-radius: 3px;
	box-shadow: 0 2px 3px rgba(0,0,0,.5) inset;
	width: 100%; height:0.25em;
}
.progress-bar span {
	background-color: #e2510d;
	border-radius: 3px;
	height:0.25em;
	display: block;
	text-indent: -9999px;
}
a {
	color: #e2510d;
	font-weight: 700;
}
.form-container {
	margin: 0 auto;
	padding-top: 1.5em;
	width: 90%;
	max-width: 540px;
}
.full-width {
	width: 100%;
}

.ui-text {
	border: 1px solid #e2510d;
	border-radius: 3px;
	font-family: "Helvetica Neue", Arial, sans-serif;
	font-size: 1em;
	line-height: 1.5em;
	padding: 0.25em;
	width: 100%;
	
	box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.2);
	-moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.2);
	-webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(255, 255, 255, 0.2);
	
	background-clip: padding-box;
	-webkit-background-clip: padding-box;
	-moz-background-clip: padding; 
}
.ui-field-group {
	font-size: 0.875em;
	margin: 0 0 1.5em 0;
}
.ui-field-row {
	padding: 0.5em 0;
}
.ui-field-row input {
	margin: 0 1em 0 0;
	position: relative;
	top: -1px;
}
.ui-button-submit {
	display: inline-block !important;
	text-align: center;
	text-transform: uppercase;
	padding: 13px 35px 13px 35px;
	border-radius: 4px;
	margin: 10px;
	border: none;
	font-weight: 400;
	vertical-align: middle;
	cursor: pointer;
	background-image: none;
	white-space: nowrap;
	font-size: 14px;
	line-height: 1.42857143;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	transition: all 0.3s ease-in-out;
	background: #e26e3a !important;
	color: #fff !important;
}
.ui-button-submit:hover {
	background: #e2510d !important;
}
.ui-file-label {
	border-radius: 3px;
	color:#2b2b2b;
	padding: 0.5em 0.5em 0.66em 0.5em;
}
.ui-text-error {
	color: #ea0034;
}
ul.ui-list-links {
	border: 1px solid #d6d6d6;
	border-radius: 8px;
	background-color: #eee;
	margin: 0;
	padding: 0;
}
ul.ui-list-links li {
	border-top: 1px solid #d6d6d6;
	list-style: none;
}
ul.ui-list-links li:first-child {
	border-top: none;
}
ul.ui-list-links li a {
	color: royalblue;
	text-decoration: none;
	display: block;
	padding: 9px 15px;
}
ul.ui-list-links li a:hover
{
	color: midnightblue;
}

/*
 * Quote styles start
 */

.quote-container
{
	max-width: 540px;
	margin: 20px auto;
	padding: 20px 10px 0px 10px;
	border-radius: 10px;
	box-shadow: 0 1px 6px 0 rgba(0,0,0,.05);
	border: 1px solid #e8e9ed;
	clear: both;
}

.quote-container input, .quote-container select
{
	padding: 5px;
	font-size: 125%;
	border: 1px solid #aa0635;
	border-radius: 0px;
	line-height: 32px;
	height: 44px; /* for old IE */
}

.description-container
{
	display: table;
	width: 100%;
}

#description-input input
{
	display: table-cell;
	width: 100%;
}

.nextButton
{
	width: 44px;
	background-color: #aa0635;
	background-image: url('/static/style/evidence/caret-right-white-64.png');
	background-repeat: no-repeat;
	background-size: 32px 32px;
	background-position: center;
	display: inline-block;
	line-height: 44px;
	border: none;
	text-align: center;
	border-radius: 3px;
	color: #ffffff;
	cursor: pointer;
}

#description-input .nextButton
{
	display: table-cell;
	border-top-left-radius: 0px;
	border-bottom-left-radius: 0px;
}

ul
{
	padding: 0;
	margin-block-start: 1em;
	margin-block-end: 1em;
	margin-inline-start: 0px;
	margin-inline-end: 0px;
	padding-inline-start: 40px;
}

li
{
}

#suggestions li
{
	border-bottom: 1px solid #888;
}

#itemsHolder li
{
	margin-bottom: 10px;
	border-radius: 5px;
}

#itemsHolder li h3
{
	display: inline-block;
	margin: 0;
	line-height: 36px;
	width: 75%;
}

.panel
{
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	min-height: 100%;
	background-color: #ffffff;
	z-index: 100;
}

.floatButton
{
	float: right;
}

.closeButton .ui-button-submit
{
	background-image: url('/static/style/evidence/x-white-48.png');
	background-repeat: no-repeat;
	background-size: 24px 24px;
	background-position: center;
	cursor: pointer;
}

.remove-item-button
{
	background-image: url('/static/style/evidence/x-white-48.png');
	background-repeat: no-repeat;
	background-size: 24px 24px;
	background-position: center;
	width: 36px;
	height: 36px;
	float: right;
	background-color: #aa0635;
	background-position: center;
	border-radius: 3px;
	cursor: pointer;
}

fieldset
{
	border: 0;
	margin: 0;
	padding: 0;
}

.label-container
{
	display: inline-block;
}

.input-container
{
	clear: both;
	display: table;
	padding-top: 10px;
	width: 100%;
}

.input-container input
{
	width: 100%;
	display: table-cell;
	min-width: 80px;
}

.form-column
{
	display: table;
	width: 50%;
	padding: 0;
	float: left;
}

.quote-form-field .errorMessage
{
	display: none;
	border: 1px solid #ccc;
	-moz-border-radius: 3px;
	border-radius: 3px;
	background-color: #fee;
	padding: 0.5em;
	margin: 0.4em 0;
	position: relative;
}

.ui-text-error>.errorMessage
{
	display: inline-block;
}

.float-container 
{
	clear: both;
	overflow: auto;
}

.input-attach-left
{
	display: table-cell;
	background-color: #eee;
	text-align: center;
	border-radius: 4px 0 0 4px;
	border-left: 1px solid #888;
	border-top: 1px solid #888;
	border-bottom: 1px solid #888;
	border-right: 0;
	margin: 0;
	padding: 0 5px;
	min-width: 20px;
}

.input-attach-right
{
	display: table-cell;
	background-color: #eee;
	text-align: center;
	border-radius: 0 4px 4px 0;
	border-right: 1px solid #888;
	border-top: 1px solid #888;
	border-bottom: 1px solid #888;
	border-left: 0;
	margin: 0;
	padding: 0 10px;
	min-width: 20px;
}

.pad-right
{
	padding-right: 10px;
}

.selected-item
{
	background-color: #ccc;
}

.item-details
{
	display: table;
	width: 100%;
	margin-top: 20px;
}

.item-detail-row
{
	display: table-row;
}

.item-detail-row span
{
	display: table-cell;
	padding: 5px;
	border-bottom: 1px solid #ccc;
}

.item-detail-label
{
	width: 20%;
	min-width: 5em;
	font-weight: bold;
}

.item-detail-value
{
	width: 30%;
}

@media screen and (max-width: 390px) 
{
	.form-column 
	{
		width: 100%;
		margin-bottom: 10px;
	}
	
	.form-column.pad-right
	{
		padding: 0;
	}
	
	.input-attach-right
	{
		min-width: 72px;
	}
	
	.item-detail-row span
	{
		display: inline-block;
		border-bottom: 0;
	}
	
	.item-detail-label
	{
		width: 40%;
		min-width: 6em;
	}
	
	.item-detail-value
	{
		width: 60%;
	}
}

/*
 * Quote styles end
 */

.ui-select {
	font-size: inherit;
	font-family: inherit;
}

.sectioned-list .section-start
{
	border-top: 1px solid lightgray;
	padding-top: 15px;
	padding-bottom: 5px;
	margin-top: 10px;
}

.sectioned-list .section-start.no-title
{
	padding-top: 5px;
}

.sectioned-list .selectable
{
	padding: 5px 0 5px 25px;
}

.sectioned-list .selection-note
{
	display: inline-block;
	margin-left: 5px;
	font-style: italic;
	color: #666;
	font-size: 0.85em;
}

