/* General Style Info */

html {
	width: 100%;
	height: 100%;
}

body {
	font-family: sans-serif;
	background: #fff;
	color: black;
	font-size: 11px;
	margin: 1em;
}

a {
	color: #000;
	text-decoration: none;
}
a img {
	border:none;
}

h1, h2, h3, h4 {
	font-weight: bold;
	margin: 0;
}
h1 {
	font-size: 150%;
	margin: 0.1em 0;
}
h2 {
	font-size: 130%;
	margin: 0.3em 0;
	padding-top: 0.8em;
}
h3 {
	font-size: 115%;
	padding-top: 1.5em;
}
h4 {
	padding-top: 0.5em;
}
ul {
	margin: 0;
    padding: 0 0 0 12px;
}
li {
	margin: 0;
}
p {
	margin-bottom: 0.6em;
}


/* Layout */

#container {
	text-align: left;
	margin: 0;
	padding: 0;
}

#header,
#header-menu,
.cake-sql-log {
    display: none;
}


/* Misc */

span.disabled,
tr.disabled td {
	color: #888;
}

.right {
	text-align: right;
}

.nobr {
	white-space: nowrap;
}


/* Take stock form - printable */

.take-stock input {
    display: none;
}

.take-stock tfoot {
    display: none;
}

.parts-filter {
    display: none;
}


/* Generate stock report - printable */

#StockReportGenerateForm tfoot .buttons {
    display: none;
}

#StockReportGenerateForm input {
    border: none;
    background: #fff;
    text-align: inherit;
    font: inherit;
    padding: 0;
    margin: 0;
}



/* Tables */

table {
	border: 1px solid black;
	margin-bottom: 1em;
	border-collapse: collapse;
	border-spacing: 0 0;
}

td, th {
	padding: 4px;
	vertical-align: middle;
	border: 1px solid black;
	background-color: #fff;
	color: black;
	text-align: left;
}

table.plain {
	border: none;
	margin: 0;
	padding: 0;
}
td.plain, table.plain td {
	border: none;
	margin: 0;
	padding: 0;
	vertical-align: middle;
}

th {
    font-weight: bold;
}

caption {
	border: none;
	vertical-align: top;
	padding: 2px 0;
	background: none;
    text-align: left;
    font-weight: bold;
}


div.commands {
    display: none;
}




/* ************ */
/* repairs/view */

body.controller-repairs.action-view {
	display: table;
	font-family: sans-serif;
	background: #fff;
	color: black;
	font-size: 10pt;
	margin: auto;
	text-align: center;
	width: 100%;
	height: 5.25in;
	margin-top: 5.25in;
}
body.controller-repairs.action-view #header, body.controller-repairs.action-view #header-menu, body.controller-repairs.action-view .cake-sql-log{
	display: none;
}
body.controller-repairs.action-view > div#container {
	display: table-cell;
	vertical-align: middle;
	text-align: left;
	margin: 0;
	padding: 0;
}
body.controller-repairs.action-view > div#container a {
	color: #000;
	text-decoration: none;
}
body.controller-repairs.action-view > div#container a img, body.controller-repairs.action-view > div#container td a + img {
	display: none;
	border: none;
}
body.controller-repairs.action-view > div#container h1, body.controller-repairs.action-view > div#container h2, body.controller-repairs.action-view > div#container h3, body.controller-repairs.action-view > div#container h4 {
	font-weight: bold;
	margin: 0;
}
body.controller-repairs.action-view > div#container h1 {
	font-size: 150%;
	margin: 0.1em 0;
}
body.controller-repairs.action-view > div#container h2 {
	font-size: 130%;
	margin: 0.3em 0;
	padding-top: 0.8em;
}
body.controller-repairs.action-view > div#container h3 {
	font-size: 115%;
	padding-top: 1.5em;
}
body.controller-repairs.action-view > div#container h4 {
	padding-top: 0.5em;
}
body.controller-repairs.action-view > div#container ul {
	margin: 0;
	padding: 0 0 0 12px;
}
body.controller-repairs.action-view > div#container li {
	margin: 0;
}
body.controller-repairs.action-view > div#container p {
	margin-bottom: 0.6em;
}


/* Misc */
body.controller-repairs.action-view > div#container span.disabled, body.controller-repairs.action-view > div#container tr.disabled td {
	color: #888;
}
body.controller-repairs.action-view > div#container .right {
	text-align: right;
}
body.controller-repairs.action-view > div#container .nobr {
	white-space: nowrap;
}

/* Tables */
body.controller-repairs.action-view > div#container div.commands + table {
	display: table;
	border: 2px solid #716A5B;
	margin: auto;
	border-collapse: collapse;
	border-spacing: 0 0;
	padding: 0;
	background-color: #716A5B;
	width: 8.0in;
	max-height: 5.25in;
}
body.controller-repairs.action-view > div#container table {
	display: none;
}
body.controller-repairs.action-view td {
	padding: 4px;
	vertical-align: top;
	border: none;
	background-color: white;
	color: black;
}
body.controller-repairs.action-view table.border > tr > td {
	padding: 4px;
	vertical-align: top;
	border: 1px solid #bbb;
}
body.controller-repairs.action-view th {
	border-bottom: 1px solid #716A5B;
	border-top: 1px solid #716A5B;
	border-left: 1px solid #716A5B;
	border-right: 1px solid #716A5B;
	vertical-align: top;
	padding: 2px 4px;
	background-color: #B6AEA1;
	text-align: left;
	width: 1px;
	white-space: nowrap;
}
body.controller-repairs.action-view td + th + td {
	width: 25%;
	white-space: nowrap;
}
body.controller-repairs.action-view table.plain {
	border: none;
	margin: 0;
	padding: 0;
	background: transparent none;
}
body.controller-repairs.action-view td.plain, body.controller-repairs.action-view table.plain td {
	border: none;
	margin: 0;
	padding: 0;
	vertical-align: middle;
}
body.controller-repairs.action-view th a {
	color: black;
}
body.controller-repairs.action-view th a:hover {
	color: black;
}
body.controller-repairs.action-view > div#container div.commands + table tr:nth-child(10) td > div.comments {
	min-height: 10pt;
	-ms-overflow-x: auto;
	overflow-x: auto;
	border: 1px solid #666;
}

body.controller-repairs.action-view > div#container div.commands + table tr:nth-child(11) td > div.comments {
	min-height: 48pt;
	height: 100%;
	-ms-overflow-x: auto;
	overflow-x: auto;
	border: 1px solid #666;
}

body.controller-repairs.action-view td > span.tag {
	background-color: rgb(182, 174, 161);
	padding: 2px 3px;
	margin: 2px;
	white-space: nowrap;
	display: block;
	float: left;
}
body.controller-repairs.action-view img.priority-icon {
	display: none;
}
body.controller-repairs.action-view > div#container div.commands + table tr:nth-child(1) th:nth-child(1) {
	border-right: 1px none #B6AEA1;
}
body.controller-repairs.action-view > div#container div.commands + table tr:nth-child(1) th:nth-child(2) {
	border-left: 1px none #B6AEA1;
	font-size: 0px;
}
body.controller-repairs.action-view > div#container div.commands + table tr:nth-child(1) th:nth-child(2)::before {
	content: "Status:  T | X | D | A | C | P ";
	font-size: 10pt;
}
body.controller-repairs.action-view > div#container div.commands + table tr:nth-child(5), body.controller-repairs tr:nth-child(6), body.controller-repairs tr:nth-child(7)  {
	display: none;
}
body.controller-repairs.action-view > div#container div.commands + table tr:nth-child(9) {
}
body.controller-repairs.action-view > div#container div.commands + table tr:nth-child(10) th {
	font-size: 0px;
}
body.controller-repairs.action-view > div#container div.commands + table tr:nth-child(10) th::before {
	content: "Error Report:";
	font-size: 11px;
}
body.controller-repairs.action-view > div#container div.commands + table tr:nth-child(11){
	font-size: 0px;
}
body.controller-repairs.action-view > div#container div.commands + table tr:nth-child(11) th {
	font-size: 0px;
}
body.controller-repairs.action-view > div#container div.commands + table tr:nth-child(11) th::before {
	content: "Repair Notes:";
	font-size: 11px;
}
body.controller-repairs.action-view > div#container th.sub {
	background-color: white;
}
body.controller-repairs.action-view > div#container tr.altrow td {
	background: #eee;
}

body.controller-repairs.action-view > div#container tr.sub-th th {
	font-weight: normal;
	background: #f8f8f8;
}
body.controller-repairs.action-view > div#container .vertically-centered td {
	vertical-align: middle;
}
body.controller-repairs.action-view > div#container table.sep-rows td {
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
}
body.controller-repairs.action-view > div#container table.sep-cols td {
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;
}
body.controller-repairs.action-view > div#container table.sep-cols th {
	border-left: 1px solid #716A5B;
	border-right: 1px solid #716A5B;
}
body.controller-repairs.action-view > div#container table td.left-border {
	border-left: 1px solid #716A5B;
}
body.controller-repairs.action-view > div#container table.borders td {
	border: 1px solid #ccc;
}
body.controller-repairs.action-view > div#container caption {
	border: none;
	vertical-align: top;
	padding: 2px 0;
	background: none;
	text-align: left;
	font-weight: bold;
}
body.controller-repairs.action-view > div#container div.commands, div.message, div.warning-box {
	display: none;
}
