.material-icons.md-18 { font-size: 18px; }
.material-icons.md-24 { font-size: 24px; }
.material-icons.md-36 { font-size: 36px; }
.material-icons.md-48 { font-size: 48px; }

.text-light {
	color:				#969696;
	font-weight:		500;
}

.modal {
	display:			none;
	
	z-index:			2;
	bottom:				0;
	left:				0;
	position:			fixed;
	width:				100%;
	height:				100%;
	background-color:	#f3f3f3;
}

.modal-scroll-container {
	z-index:			2;
	width:				100%;
	height:				100%;
	
	overflow-y:			scroll;
	/* Add inertial scrolling on iOS */
	-webkit-overflow-scrolling: touch;
}

.modal-panel-container {
	width:				100%;
}

.section-panel {
	max-width:			540px;
	height:				100%;
	margin:				0 auto;
	left:				0;
	padding-top:		86px;
	padding-bottom:		8px;
}

.modal-panel-hidden {
	display: none;
}

#damage-selection-list {
	padding-bottom:		70px;
}

#add-item-button {
	width:				100%;
	height:				130px;
	background-color:	#f3f3f3;
	color:				#AAAAAA;
	border:				1px dashed #979797;
	border-radius:		5px;
}

.add-icon-container {
	position:			relative;
	margin:				0 auto;
	color:				rgba(151, 151, 151, 0.1);
	display:			block;
  	top:				50%;
  	-webkit-transform:	translateY(-50%);
  	transform:			translateY(-50%);
  	text-align:			center;
}

.add-icon-container .material-icons {
	font-size:			3em;
	background-color:	rgba(151, 151, 151, 0.3);
	border-radius:		50px;
	color:				#f3f3f3;
	margin:				18px;
}

.add-icon-text {
	color:				#979797;
}

.add-icon-text {
	margin:				0 auto;
	display:			block;
}

.navbar-container,
.navbar-bottom-container {
	z-index:			10;
	position:			absolute;
	left:				0;
	width:				100%;
	height:				70px;
	background-color:	white;
 }

.navbar-container {
	top:				0;
	left:				0;
	box-shadow:			0px 2px 7px #AAAAAA;
	border-radius:		0 0 2px 2px;
	line-height: 		70px;
}

.navbar-bottom-container {
	display:			none;
	position:			fixed;
	width:				100%;
	z-index:			10;
	bottom:				0;
	border-radius:		2px 2px 0 0;
	box-shadow:			0px -2px 7px #AAAAAA;
	padding:			15px 5% 15px 5%;
}

.navbar,
.navbar-bottom {
    background:			transparent;
 	border:				none !important;
	max-width:			540px;
	text-align: 		center;
	margin:				0 auto;
	height:				100%;
}

.section-item,
#damage-selection-panel-thumbnail {
	box-shadow:			0px 1px 3px #AAAAAA;
}

.navbar-back {
	background:			transparent;
	border:				none !important;
	width:				15%;
	float:				left;
	height:				100%;
	font-size:			1.5em;
	outline:			none;
	line-height:		inherit;
	padding: 			0;
	cursor:				back;
}

.navbar-back :focus {
	outline:			0;
}

.navbar-title {
	margin-left:		15%;
	margin-right:		15%;
	margin-top:			0;
}

.section-list {
	padding-left:		5%;
	padding-right:		5%;
}

.section-item {
	margin-top:			2px;
	margin-bottom:		16px;
	background-color:	white;
	border:				1px solid #EEEEEE;
	border-radius:		5px;
	overflow:			hidden;
	cursor:				pointer;
}

.section-title {
	text-align:			center;
	padding:			10px;
	margin:				0;
	border-top:			1px solid #EEEEEE;
}

.section-image {
	width:				100%;
	border-radius:		5px;
}

.damage-list-item {
	cursor:				auto;
}

.damage-list-item-hidden {
	transform:			scaleY(0);
	-webkit-transition:	transform 200ms ease-in-out;
	-moz-transition:	transform 200ms ease-in-out;
	-o-transition:		transform 200ms ease-in-out;
	transition:			transform 200ms ease-in-out;
}

.damage-list-item-header,
.damage-list-item-body-container {
	padding:			0.5em;
}

.damage-list-item-header {
	border-bottom:		1px solid #EEEEEE;
}

.damage-list-item-thumbnail {
	min-width:			80px;
	height:				80px;
	border:				1px solid #e6e6e6;
	border-radius:		5px;
	float:				left;
	
}
			
.damage-list-item-body {
	margin-left:		86px;
}

.damage-list-item-description-container
{
	position:			relative;
	height:				60px;
	min-height:			60px;
	overflow:			hidden;
}

.damage-list-item-description {
	height:				100%;
	width:				100%;
}

.damage-list-item-description-overflow-hint {
	display:			none;
	height:				16px;
	width:				100%;
	position:			absolute;
	bottom:				0;

	background: -moz-linear-gradient(	0deg,	rgba(255,255,255,1) 0%,	rgba(255,255,255,0) 100%);
	background: -webkit-linear-gradient(0deg,	rgba(255,255,255,1) 0%,	rgba(255,255,255,0) 100%);
	background: linear-gradient(		0deg,	rgba(255,255,255,1) 0%,	rgba(255,255,255,0) 100%);
	filter:		progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff",endColorstr="#ffffff",GradientType=1);
}

.damage-list-item-actions {
	height:				16px;
	margin-right:		4px;
	margin-top:			4px;
}

.damage-list-item-actions a {
	text-decoration: inherit;
}

.damage-list-item-actions a:hover {
	text-decoration:	underline;
}

.damage-list-item-more {
	display:			none;
	float:				left;
}

.damage-list-item-remove {
	float:				right;
	color:				#d9534f;
}

.damage-list-item-remove i {
	width:				100%;
	height:				100%;
	line-height:		24px;
	margin-left:		3px;
	font-size:			18px;
	color:				#979797;
}

.delete-icon {
	color:				#333;
	position:			relative;
	font-size:			0.875em;
} 

.damage-list-item-position {
	width:				50%;
	display:			inline-block;
}
.damage-list-item-severity {
	width:				50%;
	text-align:			right;
	display:			inline-block;
}
.damage-list-item-panel {
	display:			inline-block;
}

.damage-list-item-header .damage-indicator {
	margin-top:			2px;
}

#damage-selection-panel-thumbnail-container {
	position:			relative;
	width:				100px;
	height:				100px;
	border:				1px solid #e6e6e6;
	border-radius:		5px;
	margin:				0 auto;
	padding:			0;
	overflow:			hidden;
}

.damage-selection-panel-thumbnail {
	position:			absolute;
	top:				0;
	left:				0;
	width:				100%;
	height:				100%;
	-webkit-transition:	opacity 200ms ease-in;
	-moz-transition:	opacity 200ms ease-in;
	-o-transition:		opacity 200ms ease-in;
	opacity:			1;
}

.thumbnail-hidden {
	opacity:			0;
}

#damage-selection-panel-label {
	text-align: 		center;
	padding:			15px;
}

.damage-selection-item {
	padding:			15px;
}

.damage-selection-item {
	transition:			background 200ms ease-in-out;
	-webkit-transition:	background 200ms ease-in-out;
	-moz-transition:	background 200ms ease-in-out;
	-o-transition:		background 200ms ease-in-out;
}

.damage-selection-item:hover {
	background-color:	#eaeaea;
}

.damage-selection-item-header	{
	width:				100%;
	margin-bottom:		30px;
	height:				30px;
	line-height:		30px;
}

.damage-selection-item-header .damage-indicator {
	margin-top:			7px;
}

.damage-selection-item-content {
	clear:				both;
	width:				100%;
}

.damage-selection-title {
	font-weight:		bold;
}

.damage-indicator {
	float:				right;
	height:				14px;
	line-height:		14px;
}

.damage-indicator i {
	display:			inline-block;
	font-size:			18px;
}

.damage-indicator-light {
	color:				#FFDE00;
}

.damage-indicator-medium {
	color:				#FFA612;
}

.damage-indicator-heavy {
	color:				#FF7200;
}

.damage-indicator-severe {
	color:				#DD2130;
}

#damage-selection-add-button {
	display:			block;
	width:				100%;
}

.damage-selection-radio {
	display:			block;
	position:			relative;
	float:				left;
}

.damage-selection-radio input[type=radio] {
	position:			absolute;
	visibility:			hidden;
}

.check,
input[type=radio]:checked ~ .check {
	border:				3px solid #3498DB;
}

.damage-selection-item.selected .check:before,
.damage-selection-item.selected .check::before {
	background:			#3498DB;
}

.check {
	display:			block;
	border-radius:		50px;
	height:				30px;
	width:				30px;
	float:				left;
	z-index:			1;
	transition:			border 200ms ease-in-out;
	-webkit-transition:	border 200ms ease-in-out;
	-moz-transition:	border 200ms ease-in-out;
	-o-transition:		border 200ms ease-in-out;
	margin-right:		15px;
}

.damage-selection-radio .check:before,
.damage-selection-radio .check::before {
	display:			block;
	position:			absolute;
	content:			'';
	border-radius:		50px;
	height:				16px;
	width:				16px;
	top:				7px;
	left:				7px;
	margin:				auto;
	transition:			background 200ms ease-in-out;
	-webkit-transition:	background 200ms ease-in-out;
	-moz-transition:	background 200ms ease-in-out;
	-o-transition:		background 200ms ease-in-out;
}

.logout-button
{
	float: right;
}
a.logout-button:hover {
	text-decoration: inherit;
	color: inherit;
}
/*
 * Styles for Location/Contact Step and Autoserve addresses/contacts (FormGroupList tags)
 */

.address-display, .contact-display
{
	margin-left:	40px;
	margin-top:		10px;
	color:			#666;
}

/* MOBILE */
@media (max-width: 500px) {
	.address-display .ui-field-row > label {
		display: inline-block;
	}
}

.address-no-indent, .contact-no-indent
{
	margin-left:	0;
}

.ui-search {
	border: 1px solid #1b1b1b;
	border-radius: 3px;
	font-family: "Helvetica Neue", Arial, sans-serif;
	font-size: 0.9em;
	line-height: 1.5em;
	padding: 0.25em;
	margin-bottom: 5px;
}

.ui-button-map {
	font-family: "Helvetica Neue", Arial, sans-serif;
	font-size: 0.9em;
	line-height: 1.5em;
	padding: 0.25em;
	margin-bottom: 5px;
}

.ui-button-submit {
	-webkit-appearance: none;
}

.clearfix:after {
	content: " ";
	visibility: hidden;
	display: block;
	height: 0;
	clear: both;
}

.radio-label
{
	vertical-align: middle;
}

.busy-map-display
{
	position:absolute;
	width:100%; 
	height:100%;
	opacity: 0.5;
	background-color: darkgrey;
	display: none;
}

.full-screen-container
{
	width:100%;
	height:100%;
	padding-top:10px;
}

/*
 * End of Location Step styles
 */

/*
 * Company Lookup Step styles
 */

.company-registration-number
{
	width: 30%;
	min-width: 100px;
	max-width: 200px;
	float: left;
	margin: 0 10px 10px 0;
}

.company-registration-number .ui-text
{
	height: 30px; /* same height with company-search-button .ui-button-submit */
}

.company-search-button .ui-button-submit
{
	height: 30px; /* same height with .company-registration-number .ui-text */
}

.company-details-list
{
	border: 1px solid #d6d6d6;
	background-color: #eee;
	border-radius: 8px;
	margin: 0;
	padding: 0;
	overflow: hidden;
}

.company-details-item
{
	border-top: 1px solid #d6d6d6;
	padding: 10px;
}

.company-details-item:first-child {
	border-top: none;
}

.company-details-item-key
{
	font-weight: bold;
}

/*
 * End of Company Lookup Step styles
 */

/*
 * Images in page content.
 */
img.content-image {
	display:			block;
	width:				90%;
	max-width:			600px;
	margin:				16px auto;
}

.contact-filter-container {
	margin-bottom: 1em;
}

.contact-filter-container label {
	display: block;
	margin-bottom: 0.25em;
}

.contact-filter-container input {
	vertical-align: middle;
	top: 0px;
}

#contacts-filter {
	top: 0;
}

.contact-display option {
	padding: 0.3em;
}

.adjust-for-scrollbar {
	margin-right: calc(-1 * (100vw - 100%));
	overflow-x: hidden;
}

/* Styling for currency step */
.ui-field-group .currency-value {
	display: inline-block;
	width: 35%;
	box-sizing:border-box; -moz-box-sizing:border-box; -webkit-box-sizing:border-box;
}

.ui-field-group .currency-type {
	display: inline-block;
	width: 30%;
	margin-top: 5px;
	height: 30px;
	line-height: 30px;
	box-sizing:border-box; -moz-box-sizing:border-box; -webkit-box-sizing:border-box;
	vertical-align: baseline;
}

/* Currency step on small screen */
@media screen and (max-width: 430px)
{
	.ui-field-group .currency-value {
		width: 60%;
	}
	
	.ui-field-group .currency-type {
		width: 38%;
	}
}

/* Styling for select inputs. */
.ui-field-group .ui-select {
	min-height: 30px;
}

/* Wrap very long unbroken prev responses */
.previous-response
{
	overflow-wrap: break-word;
}

/*
 * Search step
 */

.search-container input
{
	padding: 5px;
	font-size: 125%;
	-moz-border-radius: 0px;
	border-radius: 0px;
	line-height: 32px;
	height: 44px; /* for old IE */
}

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

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

#search-button
{
	width: 44px;
	background-image: url('/static/style/evidence/search-icon-white-64.png');
	background-repeat: no-repeat;
	background-size: 32px 32px;
	background-position: center;
	line-height: 44px;
	border: none;
	text-align: center;
	border-radius: 3px;
	color: #ffffff;
	cursor: pointer;
	display: table-cell;
	border-top-left-radius: 0px;
	border-bottom-left-radius: 0px;
}

.search-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;
}

.result-field
{
	display: table-row;
}

.result-field span
{
	display: table-cell;
	padding: 5px 0;
}

.result-label
{
	padding-right: 5px ! important;
}

ul#results-container
{
	border: 1px solid #ccc;
	padding: 5px 5px;
	margin: 15px 0px;

	display: none;
}

.spinner
{
	width: 30px;
	height: 30px;
}

#item-placeholder, #result-placeholder, #no-unselected-results-placeholder
{
	list-style-type: none;
	margin: 10px;
}

#items-container, #item-container
{
	border: 1px solid #ccc;
	padding: 5px 5px;
	margin: 15px 0px;
}

li.search-result, li.item
{
	list-style-type: none;
	padding: 15px;
	border-bottom: 1px solid grey;
}

li.search-result:last-child, li.item:last-child
{
	border-bottom: none;
}

.right-hand-button
{
	display: inline-block;
	float: right;
	cursor: pointer;
}

/*
 * End of search step
 */

/*
 * Choice step
 */
.choice-form-field
{
	font-size: 1.2em;
}

.choice-form-field select
{
	height: 1.4em;
	font-size: 0.9em;
	margin-bottom: 15px;
}
/*
 * End of choice step
 */

/*
 * Form List step
 */
.form-record-group
{
	background-color: #eeeeee;
	padding: 10px;
	margin-bottom: 10px;
	border: 1px black solid;
	position: relative;
}

.form-container .form-add-button
{
	display: inline-block;
	float: right;
	cursor: pointer;
	margin-top: 5px;
	margin-left: 11px;
	margin-right: 11px;
}

.form-container .form-remove-button
{
	display: inline-block;
	position: absolute;
	right: 11px;
	bottom: 15px;
	margin-top: 10px;
	margin-bottom: 0px;
}

.form-container .form-button-spacer
{
	display: inline-block;

}

/* Disabled Text Input and Select controls - primarily of importance in Form Steps with seeded data */
.ui-text:disabled, .ui-select:disabled {
	background-color: #dddddd;
	border-radius: 3px;
	border: 1px solid #1b1b1b;
	color: black;
	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);
	opacity: 1;
}

/*
 * End of Form List step
 */

/* Make placeholder text lighter to make it clear it's not typed-in */
::-webkit-input-placeholder {	/* WebKit, Blink, Edge */
	color: #b8b8b8;
}
:-moz-placeholder {				/* Mozilla Firefox 4 to 18 */
	color: #b8b8b8;
	opacity: 1;
}
::-moz-placeholder {			/* Mozilla Firefox 19+ */
	color: #b8b8b8;
	opacity: 1;
}
:-ms-input-placeholder {		/* Internet Explorer 10-11 */
	color: #b8b8b8;
}
::-ms-input-placeholder {		/* Microsoft Edge */
	color: #b8b8b8;
}
::placeholder {					/* Everything else */
	color: #b8b8b8;
}


/*
 * Hub base styles
 */

.header.hub-header .logo-container,
.footer-container.hub-footer
{
	max-width: 1000px;
}

button.link-style
{
	-webkit-appearance: none;
	text-align: left;
	display: inline;
	border: none;
	background: none;
	cursor: pointer;
	padding: 0;
}

.form-container form#hubForm
{
	max-width: 1000px;
	padding: 15px 15px 0 15px;
}

.details-section .details-field
{
	margin-bottom: 10px;
}

.card
{
	position: relative;
	margin-bottom: 16px;
	background-color: #fff;
	padding: 0 16px;
	overflow: hidden;
}

.card.details-section h3
{
	font-size: 140%;
	text-align: center;
}

.expandable-section .section-header
{
	display: block;
	width: 100%;
	text-align: left;
	margin-top: 16px;
	border: none;
	padding: 0 8px;
	background-color: #F6F6F6;
}

.expandable-section .section-header h4
{
	display: inline-block;
	float: left;
	width: calc(100% - 30px)
}

.expandable-section .expand-icon {
	position: relative;
	transform: rotate(0);
	width: 24px;
	height: 24px;
	float: right;
	margin: 8px 0;
}

.expand-icon::before,.expand-icon::after {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background-color: #222;
	width: 18px;
	height: 4px;
	content: '';
}

.expand-icon::after {
	transform: rotate(90deg) translate(-50%, -50%);
	transform-origin: top left;
}

.expandable-section-open .expand-icon {
	transform: rotate(135deg);
}

.expand-icon,.expandable-section-open .expand-icon {
	transition: transform 380ms;
}

.expandable-section-content
{
	padding: 8px;
	display: none;
}

.expandable-section-open .expandable-section-content
{
	display: block;
}

.action-links li
{
	margin-bottom: 12px;
}

ul.addressList
{
	list-style: none;
	margin-left: 0;
	padding-left: 0;
}
.no-bullets li {
	list-style-type: none;
}
.datepicker-container 
{
	color: black;
}
/* hint dialog */
.hint-button
{
	display: inline;
	position: relative;
}
.material-icons.hint-icon
{
	font-size: 14px;
	height: 14px;
	width: 14px;
	color: #222;
	margin-left: 3px;
}
.hint-icon:hover
{
	cursor: pointer;
}
#hint-popup
{
	position: absolute;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	display: none;
	z-index: 2;
	top: -9px;
}
#hint-popup.popup-right
{
	left: 15px;
}
#hint-popup.popup-left
{
	right: 12px;
}
#hint-popup .hint-popup-box
{
	padding: 8px 20px 8px 10px;
	border: 1px solid #222;
	border-radius: 3px;
	background: #eee;
	margin: 0 8px;
	line-height: 13px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: absolute;
}
#hint-popup.popup-left .hint-popup-box
{
	width: calc(100% - 16px);
}
#hint-popup.popup-right .hint-popup-box::before
{
	content: '';
	position: absolute;
	left: 0px;
	top: 15px;
	width: 0;
	height: 0;
	border: 8px solid transparent;
	border-right-color: #222;
	border-left: 0;
	margin-top: -8px;
	margin-left: -8px;
}
#hint-popup.popup-left .hint-popup-box::after
{
	content: '';
	position: absolute;
	right: 0;
	top: 15px;
	width: 0;
	height: 0;
	border: 8px solid transparent;
	border-left-color: #222;
	border-right: 0;
	margin-top: -8px;
	margin-right: -8px;
}
#hint-popup .hint-popup-message
{
	display: inline-flex;
	color: #222;
	opacity: 1;
	margin: 0;
	vertical-align: middle;
	font-size: 13px;
}
#hint-popup .close-popup-button
{
	position: absolute;
	top: 3px;
	right: 1px;
	border: none;
	padding: 0;
	background: transparent;
}
#hint-popup .close-popup-button:hover
{
	cursor: pointer;
}

/*
 * Allows status information to be added to the page so that assistive technology
 * can see it without it showing visually.
 */
.visually-hidden {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	margin: 0;
	white-space: nowrap;
	width: 1px;
}

#evidence-camera-label {
	margin: 0 5px;
	padding: 7px;
}
#evidence-camera-label svg {
	display: inline;
	height: 20px;
	vertical-align: bottom;
}