/* Main styles */
body {
	padding: 0;
	font: 0.9em verdana, calibri, Helvetica, Sans-Serif;
	color: #333;
	text-align: center;
	background: #f0f0f0;
	min-width: -moz-max-content;
	min-width: -webkit-max-content;
	min-width: fit-content;
	max-width: 788px;
	margin: auto;
}


a {
	color: #006ec7;
	text-decoration: none;
}


h2 {
	font-weight: bold;
	font-size: 20px;
	text-transform:uppercase;
	text-align: center;
	padding: 0;
	margin: 0;
	color: #444;
}


legend {
	text-align: center;
	text-transform:uppercase;
	color: #777;
	padding: 5px 10px;
	font-size: 16px;
}

fieldset {
	border: none;
	border-top: 3px solid #006ec7;
	padding: 0;
}

.error{
	color:red;
}

.green{
	color:green;
}

#login_cont {
	width: 100%;
	background: #f0f0f0;
	margin-top: -46px;
	margin-bottom: -46px;
}

#login {
	width: 321px;
	margin: 0 auto;
}

#login input[type="text"], #login input[type="password"] {
	padding: 10px;
	width: 300px;
	border: 1px solid #bbb;
	margin: 10px 0;
	font-size: 17px;
}

#login input[type="submit"] {
	background: #006dc7;
	width: 321px;
	text-align: center;
	padding: 10px 0;
	color: #fff;
	text-transform: uppercase;
	border: none;
	font-weight: bold;
	font-size: 17px;
	margin: 5px 0;
}


#logo {
	width: 100%;
	border-bottom: 2px solid #fff;
	padding: 15px 0;
}


.top_nav_button {
	margin: 0 auto;
	background: #006dc7;
	text-align: center;
	padding: 5px 0;
	color: #fff;
	text-transform: uppercase;
	font-weight: bold;
	width: 50%;
}

.top_nav_button a {
	color: #fff;
	text-decoration: none;
}


#wrapper_cont {
	width: 100%;
	background: #fff;
	border-top: 1px solid #dfdfdf;
	border-bottom: 1px solid #dfdfdf;
}

#wrapper {
	text-align: left;
	width: 768px;
	margin: 0 auto;
	padding: 45px 10px;
}

#wide-wrapper {
	text-align: left;
	width: 1200px;
	margin: 0 auto;
	padding: 45px 10px;
}

#login_wrapper {
	padding: 45px 0;

}


/* Submit buttons */
.button {
	border: none;
	background: #006ec7;
	padding: 10px 25px;
	color: #fff;
	font-size: 17px;
	-webkit-appearance: none;
}

.building-dashboard .button {
	font-size: 14px;
	cursor: pointer;
}

.button_small {
	border: none;
	background: #aaa;
	padding: 10px 25px;
	color: #fff;
	font-size: 16px;
	width: 100%;
	-webkit-appearance: none;
	text-transform: uppercase;
}

/*Landing Page*/

#landing_cont {
	width: 100%;
	margin-top: -1px;
	margin-bottom: -1px;
}

#landing {
	width: 321px;
	margin: 0 auto;
}

#technician_login_cont, #admin_login_cont, #building_login_cont {
	text-align: center;
	font-size: 20px;
	text-transform:uppercase;
}

#technician_login_button, #admin_login_button, #building_login_button, #login_button{
	background: #006dc7;
	width: 321px;
	text-align: center;
	padding: 10px 0;
	color: #fff;
	text-transform: uppercase;
	border: none;
	font-weight: bold;
	font-size: 17px;
	margin: 5px 0;
	-webkit-appearance: none;
}

/* Create Job Report Button */
#create_job_report {
	text-align: center;
	font-size: 20px;
	text-transform:uppercase;
}

#create_job_report .icon {
	margin-bottom: -6px;
	margin-right: 10px;
}




/* Create Job Report Form */

#job_report_information{
	font-size: 17px;
}

#job_report_equipment_information{
}

#job_report_parts_information{
}

#job_report_form_container .job_report_table input[type="text"], #job_report_form_container .job_report_table textarea {
	margin: -15px 0 5px 0;
}

#job_report_form_container .job_report_table input[type="text"] {
	height: 170%;
}

#job_report_form_container input[type="text"], #job_report_form_container textarea {
	padding: 8px 13px;
	border: none;
	background: #e3e3e3;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	font-size: 17px;
}

#job_report_form_container .date_time_wrapper {
	visibility: collapse;
	white-space: nowrap;
}

#job_report_form_container select {
	padding: 8px 3px;
	border: none;
	background: #e3e3e3;
	font-size: 17px;
}

#job_report_form table {
	border-collapse: collapse;
}

#job_report_information table th, #job_report_information table td {
	font-weight: normal;
	border-bottom: 1px solid #ccc;
}

#job_report_information table td {
	font-weight: normal;
	border-bottom: 1px solid #ccc;
	padding: 20px 7px 20px 25px;
}

#job_report_information table th {
	text-align: right;
	font-weight: bold;
	text-transform: uppercase;
	padding: 20px 7px;
}

#job_report_information textarea#QuotedLabour {
	resize: none;
	height: 3.25rem;
}

#job_report_information table tr.section,
#affectedEquipmentModal table tr.section{
	display: flex;
	flex-direction: column;
}

#job_report_information table tr.section th {
	text-align: left;
	border: none;
	padding: 40px 10px 10px 10px;
}

#job_report_information table tr.section td {
	padding: 10px 10px 50px 10px;
}

#job_report_information .job-description .container {
	max-width: unset;
}

#job_report_form_container .job_report_table textarea {
	height: 10rem;
}

#job_report_information .MsoNormalTable {
	width: auto !important;
}

#job_report_form_container .other_parts_used {
	margin-top: 1rem;
}

@media (max-width: 820px) {
	#controls.job-report {
		flex-direction: column;
	}

	#controls.job-report .top_nav_button{
		margin: 5px;
		width: 100%;
	}

	#job_report_information table tr.section {
		display: flex;
		flex-direction: column;
	}

	#job_report_information table tr.section td,
	.MsoNormal span {
		font-size: 1.7rem !important;
	}

	#job_report_information .MsoNormalTable {
		display: block;
		width: 761px !important;
		max-width: fit-content !important;
		margin: 0;
		overflow-x: auto;
		white-space: pre-wrap;
	}

	#job_report_equipment_information .expList,
	#job_report_form_container select,
	#job_report_form_container input[type="text"],
	#job_report_form_container textarea,
	#job_report_form_container .button_small,
	#job_report_form_container input[type="button"],
	#job_report_form_container label,
	#job_report_form_container th,
	#job_report_equipment_information #listContainer {
		font-size: 1.7rem;
	}

	#job_report_form_container textarea {
		height: 12rem;
	}


	#job_report_form_container .other_parts_used {
		margin-top: 1rem;
	}

	input[type=checkbox] {
		/* Double-sized Checkboxes */
		-ms-transform: scale(1.75); /* IE */
		-moz-transform: scale(1.75); /* FF */
		-webkit-transform: scale(1.75); /* Safari and Chrome */
		-o-transform: scale(1.75); /* Opera */
		transform: scale(1.75);
	}
}

#job_report_information table td.complete .option {
	display: inline;
}

#job_report_information input[type="text"], #job_report_information textarea, #job_report_parts_information .other_parts_used textarea {
	width: 100%;
}

@media (max-width: 808px) {
	#job_report_information .section.mobile-height textarea {
		height: 300px;
	}
}

#job_report_information .section.hours  input[type="number"]{
	background: #e3e3e3;
	height: 3.25rem;
	border: none;
	padding: 0 15px;
	font-size: 17px;
}

#job_report_information .section.hours  td {
	padding: 0 10px 30px 10px;
}


#job_report_parts_information input[type="text"], #job_report_parts_information textarea,  #job_report_parts_information select {
	width: 100%;
}

#job_report_parts_information td {
	padding: 10px 7px;
	border-bottom: 1px solid #ccc;
}

#job_report_parts_information td.type, #job_report_parts_information td.part{
	width:275px;
}

#job_report_parts_information td.quantity{
	width:100px;
}

#job_report_parts_information td.delete{
	width:50px;
}

#job_report_parts_information input[type="text"]{
	width:90%;
}

#job_report_parts_information img, #job_report_parts_information td.delete{
	vertical-align: top;
}

#job_report_parts_information td.delete img{
	margin-top: 20px;
}

#job_report_parts_information .other_parts_used textarea {
	height: 100px;
}

#additional_worker_form td, #job_report_parts_information td{
	vertical-align: top;
}

#StartDateTimeHour, #StartDateTimeMinute, #EndDateTimeHour, #EndDateTimeMinute {
	visibility: visible !important;
	position: relative;
	left: -200px;
}


/*Expandable list styles */
#listContainer{
	margin-top:15px;
}

.expList ul, li {
	list-style: none;
	margin:0;
	padding:0;
	cursor: pointer;
}

.expList p {
	margin:0;
	display:block;
}

.expList p:hover {
	background-color:#121212;
}

.expList li {
	line-height:140%;
	text-indent:0px;
	background-position: 1px 8px;
	padding-left: 20px;
	background-repeat: no-repeat;
}

/* Collapsed state for list element */
.expList .collapsed {
	background-image: url(/common/images/icons/24x24/up.png);
}

/* Expanded state for list element
/* NOTE: This class must be located UNDER the collapsed one */
.expList .expanded {
	background-image: url(/common/images/icons/24x24/down.png);
}



/* data view table */
.data_view {
	width: 100%;
}

.data_view th {
	background: #e5e5e5;
	padding: 10px 3px;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}

.data_view td {
	padding: 10px 3px;
	border-top: 2px solid #fff;
	border-bottom: 2px solid #fff;
}

.data_view tr.odd {
	background: #f3f3f3;
}

.data_view tr.even {
	background: #f7f7f7;
}

.data_view tr:hover {
	background: #f0f0f0;
}

/*Autocomplete*/

div.autocomplete {
	position:absolute;
	width:275px;
	background-color:white;
	border:1px solid #888;
	margin:0;
	padding:0;
}

div.autocomplete ul {
	list-style-type:none;
	margin:0;
	padding:0;
}

div.autocomplete ul li.selected { background-color: #ffb;}

div.autocomplete ul li {
	list-style-type:none;
	display:block;
	margin:0;
	padding:3px;
	cursor:pointer;
}

/* technician photo upload */

.photoBox
{
	margin:20px auto;
	padding-bottom:20px;
	border-bottom:1px solid #ddd;
}
.photoBox a
{
	background: none;
	color:#000;
	vertical-align: middle;
	font-size:14px;
	float:right;
	margin-top:-10px;

}
.photoBox img
{
	vertical-align: middle;
}

.avoid-clicks {
	pointer-events: none;
}

#template.file-row {
	background-color: white;
	padding: 5px;
	display: table;
	width: 100%;
}

#template.file-row:nth-child(even) {
	background-color: #eee;
}

#template.file-row div {
	padding: 0 2px;
	width: 20%;
	max-width: 175px;
	display: table-cell;
	vertical-align: middle;
	text-align: right;
}

#template.file-row div:first-child {
	width: 60%;
	text-align: left;
}

#template.file-row div p {
	padding: 0;
	margin: 0;
}

.cancel button:hover, .cancel button i:hover, .cancel button span:hover {
	cursor: pointer;
}

/* this was affecting cancel buttons */
.dropzone.dz-started .dz-message {
	display: none;
	z-index: -1;
}

p.dropzone-error {
	color: red;
}

.cancel-upload-button {
	color: #fff;
	background-color: #f0ad4e;
	border-color: #eea236;
	display: inline-block;
	padding: 6px 12px;
	margin-bottom: 0px;
	font-weight: 400;
	border: 1px solid transparent;
}

#hidden_iframe{
	display: none;
	width:100%;
	border:none;
}

#submission-info {
	color:#008000;
}

#photo_insert_location {
	display:none;
	text-align:center
}

/* building details pages */

.dash-left {

	display: block;
	float: left;

}

.dash-right {
	display: block;

	float: right;
}

.building-dashboard {
	margin-bottom: 50px;
}

#equipment_details, #equipment_image_listing {
	flex-grow: 1;
}

#equipment_image_listing h4 {
	margin-top: 0;
}

.dash_block {
	clear: both;
}

#modal-wrapper {
	display: none;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	position: fixed;
	background: rgba(0, 0, 0, 0.6);
}


/* Affected Equipment Modal */
#affectedEquipmentModal {
	display: none;
	position: fixed;
	top: 50%;
	left: 50%;
	width: 40rem;
	height: 40rem;
	padding: 2rem;
	background: white;
	transform: translate(-50%, -50%);
	z-index:10;
	overflow-y: scroll;
}

#affectedEquipmentModal .modal-title {
	font-weight: bold;
	font-size: 18px;
}

#affectedEquipmentError {
	color: red;
	display: none;
}

#affectedEquipmentModal fieldset {
	max-height: 65%;
	overflow-y: scroll;
	margin-bottom: 1rem;
}

#affectedEquipmentModal #expList {
	padding: 0;
}

#affectedEquipmentModal .listing-controls,
#affectedEquipmentModal .controls {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	border-top: 3px solid #006ec7;
	padding-top: 1.25rem;

}

#affectedEquipmentModal .controls {
	margin-top: 3rem;
}

#affectedEquipmentModal .secondary-btn {
	background: #a3a7ab;
}

#affectedEquipmentModal table {
	margin-top: 2rem;
}

#affectedEquipmentModal textarea {
	width: 100%;
	min-height: 10rem;
}