/* All */
@media all {

* {
	margin: 0;
	padding: 0;
}

html {
	width: 100%;
}

body {
	width: 100%;
	min-width: 1280px;
	background: #2d2d2d;
	color: #000;
	font: 15px 'Droid Sans', sans-serif;
	text-align: center;
}

a {
	color: #9b1818;
}

a:hover {
	background: #9b1818;
	color: #fff;
	text-decoration: none;
}

dl {
	text-align: left;
}

dd {
	margin: 8px 0;
}

dt {
	font-weight: bold;
}

h1, h2, h3, h4, h5 {
	text-align: left;
}

h1 {
	font-size: 32px;
	margin: 15px 0;
}

h2 {
	font-size: 24px;
}

h3 {
	font-size: 19px;
	margin: 10px 0;
}

h4 {
	font-size: 16px;
	margin: 8px 0;
}

h5 {
	font-size: 13px;
}

img {
	border: none;
}

input:not([type=file]) {
	font-family: 'Droid Sans', sans-serif;
	padding: 2px;
}

li {
	margin: 8px 0;
}

ol, ul {
	text-align: left;
}

p {
	margin: 8px 0;
	text-align: left;
}

select, option {
	font-family: 'Droid Sans', sans-serif;
	padding: 2px;
}

table {
	border-collapse: collapse;
}

th, td {
	text-align: left;
}

#header {
	width: 100%;
	background: #e5e5e5;
}

#header #logo {
	float: left;
	margin: .5% 1%;
}

#header .logout {
	float: right;
	margin: .5% 1%;
	text-align: right;
}

#nav {
	width: 98%;
	padding: .5% 1%;
}

#nav ul {
	list-style: none;
}

#nav ul li {
	display: inline;
	list-style: none;
}

#nav ul li a {
	background: #4d4d4d;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-topright: 5px;
	color: #e5e5e5;
	display: block;
	float: left;
	font-weight: bold;
	margin-right: 1px;
	padding: 6px 12px;
	text-align: center;
	text-decoration: none;
}

#nav ul li a:hover {
	background: #9b1818;
	color: #fff;
}

#nav ul li a.active,
#nav ul li a.active:hover {
	color: #9b1818;
	background: #fff;
	font-weight: bold;
}

#title {
	width: 98%;
	background: #2d2d2d;
	border-top: 4px solid #fff;
	border-bottom: 2px solid #0d0d0d;
	color: #fff;
	clear: both;
	font-family: 'Lobster', cursive;
	padding: .25% 1%;
}

#subheader {
	width: 100%;
	height: 30px;
	background: #0d0d0d;
}

#subnav {
	width: 98%;
	padding: 0 1%;
}

#subnav ul {
	list-style: none;
}

#subnav ul li {
	display: inline;
	list-style: none;
}

#subnav ul li a {
	background: #4d4d4d;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-topright: 5px;
	color: #0d0d0d;
	display: block;
	float: left;
	font-weight: bold;
	margin-right: 1px;
	padding: 6px 12px;
	text-align: center;
	text-decoration: none;
}

#subnav ul li a:hover {
	background: #b49c60;
	color: #fff;
}

#subnav ul li a.active,
#subnav ul li a.active:hover {
	color: #b49c60;
	background: #fff;
	font-weight: bold;
}

#content {
	width: 98%;
	min-height: 320px;
	background: #fff;
	clear: both;
	padding: 1%;
	overflow: hidden;
}

.content_left,
.content_right {
	width: 49.5%;
	float: left;
	position: relative;
	overflow: hidden;
}

.content_divider {
	width: 1%;
	float: left;
	position: relative;
	overflow: hidden;
}

#footer {
	width: 98%;
	background: #2d2d2d;
	border-top: 1px solid #000;
	color: #fff;
	clear: both;
	padding: .5% 1%;
}

#footer a {
	color: #b49c60;
}

#footer a:hover {
	background: #b49c60;
	color: #fff;
	text-decoration: none;
}

#footer p {
	text-align: right;
}

/* Login */

form#frmLogin {
	text-align: center;
}

table#tblLogin {
	border-collapse: collapse;
	color: #000;
	margin: 0 auto;
	text-align: left;
}

#tblLogin td, #tblLogin th {
	border: 2px solid #fff;
	padding: 2px;
}

/* Home */

#contentleft {
	width: 28%;
	float: left;
}

form#frmTicketWindow {
	text-align: center;
}

table#tblTicketLatest {
	border-collapse: collapse;
	color: #000;
	text-align: left;
}

#tblTicketLatest td, #tblTicketLatest th {
	border: 2px solid #fff;
	padding: 2px;
}

table#tblTicketWindow {
	width: 100%;
	border-collapse: collapse;
	color: #000;
	margin: 0 auto;
	text-align: left;
}

#tblTicketWindow td, #tblTicketWindow th {
	border: 2px solid #fff;
	padding: 2px;
}

#contentright {
	width: 70%;
	float: right;
}

.entry {
	border-bottom: 1px solid #000;
	margin-bottom: 10px;
	padding-bottom: 10px;
}

.bottom {
	border-bottom: 1px solid #fff;
}

/* Customers */

form#frmCustomer {
	text-align: center;
}

table#tblCustomer {
	width: 100%;
	border-collapse: collapse;
	color: #000;
	margin: 0 auto;
	text-align: left;
}

#tblCustomer td, #tblCustomer th {
	border: 2px solid #fff;
	padding: 2px;
}

#tblProjects, #tblSubProjects {
	width: 100%;
}

/* Tickets */

form#frmTicket {
	text-align: center;
}

table#tblTicket {
	width: 100%;
	border-collapse: collapse;
	color: #000;
	margin: 0 auto;
	text-align: left;
}

#tblTicket td, #tblTicket th {
	border: 2px solid #fff;
	padding: 2px;
}

#tblPersonnel, #tblEquipments, #tblEquipmentsMisc, #tblMaterials {
	width: 100%;
}

/* Internal Tickets */

form#frmInternalTicket {
	text-align: center;
}

table#tblInternalTicket {
	width: 100%;
	border-collapse: collapse;
	color: #000;
	margin: 0 auto;
	text-align: left;
}

#tblInternalTicket td, #tblInternalTicket th {
	border: 2px solid #fff;
	padding: 2px;
}

#tblOperators {
	width: 100%;
}

/* Budgets */

form#frmBudgets {
	text-align: center;
}

table#tblBudgets {
	width: 100%;
	border-collapse: collapse;
	color: #000;
	margin: 0 auto;
	text-align: left;
}

#tblBudgets td, #tblBudgets th {
	border: 2px solid #fff;
	padding: 2px;
}

#tblBudgetsTickets, #tblBudgetsCosts, #tblBudgetsItems, #tblBudgetsCompare {
	width: 100%;
}

/* Employees */

form#frmEmployees {
	text-align: center;
}

table#tblEmployees {
	border-collapse: collapse;
	color: #000;
	margin: 0 auto;
	text-align: left;
}

#tblEmployees td, #tblEmployees th {
	border: 2px solid #fff;
	padding: 2px;
}

#tblEmpWage, #tblEmpOccupations {
	width: 100%;
}

/* Occupations */

form#frmOccupations {
	text-align: center;
}

table#tblOccupations {
	border-collapse: collapse;
	color: #000;
	margin: 0 auto;
	text-align: left;
}

#tblOccupations td, #tblOccupations th {
	border: 2px solid #fff;
	padding: 2px;
}

/* Equipment */

form#frmEquipment {
	text-align: center;
}

table#tblEquipment {
	border-collapse: collapse;
	color: #000;
	margin: 0 auto;
	text-align: left;
}

#tblEquipment td, #tblEquipment th {
	border: 2px solid #fff;
	padding: 2px;
}

#tblEquipmentMaintenance, #tblEquipmentRepair {
	width: 100%;
}

form#frmEquipmentMechanic {
	text-align: center;
}

table#tblEquipmentMechanic {
	border-collapse: collapse;
	color: #000;
	margin: 0 auto;
	text-align: left;
}

#tblEquipmentMechanic td, #tblEquipmentMechanic th {
	border: 2px solid #fff;
	padding: 2px;
}

form#frmEquipmentServices {
	text-align: center;
}

table#tblEquipmentServices {
	border-collapse: collapse;
	color: #000;
	margin: 0 auto;
	text-align: left;
}

#tblEquipmentServices td, #tblEquipmentServices th {
	border: 2px solid #fff;
	padding: 2px;
}

#tblEquipmentHours, #tblEquipmentServicesReset {
	width: 100%;
}

/* Repairs */

form#frmInvoice {
	text-align: center;
}

table#tblInvoice {
	width: 100%;
	border-collapse: collapse;
	color: #000;
	margin: 0 auto;
	text-align: left;
	table-layout: fixed;
}

#tblInvoice td, #tblInvoice th {
	border: 2px solid #fff;
	padding: 2px;
}

#tblInvoiceTechnicians, #tblInvoiceParts {
	width: 100%;
}

/* Inventory */

form#frmInventory {
	text-align: center;
}

table#tblInventory {
	width: 100%;
	border-collapse: collapse;
	color: #000;
	margin: 0 auto;
	text-align: left;
	table-layout: fixed;
}

#tblInventory td, #tblInventory th {
	border: 2px solid #fff;
	padding: 2px;
}

#tblInventoryPurchases {
	width: 100%;
}

/* Fuel */

form#frmFuel {
	text-align: center;
}

table#tblFuel {
	border-collapse: collapse;
	color: #000;
	margin: 0 auto;
	text-align: left;
}

#tblFuel td, #tblFuel th {
	border: 2px solid #fff;
	padding: 2px;
}

#tblFuelPurchases {
	width: 100%;
}

/* Formulas */

form#frmFormulas {
	text-align: center;
}

table#tblFormulas {
	border-collapse: collapse;
	color: #000;
	margin: 0 auto;
	text-align: left;
}

#tblFormulas td, #tblFormulas th {
	border: 2px solid #fff;
	padding: 2px;
}

/* Users */

form#frmUsers {
	text-align: center;
}

table#tblUsers {
	border-collapse: collapse;
	color: #000;
	margin: 0 auto;
	text-align: left;
}

#tblUsers td, #tblUsers th {
	border: 2px solid #fff;
	padding: 2px;
}

/* Reports */

form#frmReports {
	text-align: center;
}

table#tblReports {
	border-collapse: collapse;
	color: #000;
	margin: 0 auto;
	text-align: left;
}

#tblReports td, #tblReports th {
	border: 2px solid #fff;
	padding: 2px;
}

table#tblTicketReport {
	width: 100%;
	border-collapse: collapse;
	color: #000;
	margin: 0 auto;
	text-align: left;
}

#tblTicketReport td, #tblTicketReport th {
	border: 2px solid #fff;
	padding: 2px;
}

table#tblEmployeeHours {
	width: 100%;
	border-collapse: collapse;
	color: #000;
	margin: 0 auto;
	text-align: left;
}

#tblEmployeeHours td, #tblEmployeeHours th {
	border: 2px solid #fff;
	padding: 2px;
}

table#tblEquipmentHours {
	width: 100%;
	border-collapse: collapse;
	color: #000;
	margin: 0 auto;
	text-align: left;
}

#tblEquipmentHours td, #tblEquipmentHours th {
	border: 2px solid #fff;
	padding: 2px;
}

table#tblDailyHours {
	width: 100%;
	border-collapse: collapse;
	color: #000;
	margin: 0 auto;
	text-align: left;
}

#tblDailyHours td, #tblDailyHours th {
	border: 2px solid #fff;
	padding: 2px;
}

table#tblMaterialSearch {
	width: 100%;
	border-collapse: collapse;
	color: #000;
	margin: 0 auto;
	text-align: left;
}

#tblMaterialSearch td, #tblMaterialSearch th {
	border: 2px solid #fff;
	padding: 2px;
}

/* Global Classes */

.clear {
	clear: both;
}

.align-right {
	text-align: right;
}

.align-left {
	text-align: left;
}

.button {
	padding-top: 2px;
}

.buttons {
	padding-top: 10px;
}

.checkbox {
	width: 15px;
}

.float-right {
	float: right;
}

.float-left {
	float: left;
}

.full {
	width: 100%;
}

.td-small {
	width: 80px;
}

.td-medium {
	width: 140px;
}

.td-large {
	width: 160px;
}

.th-small {
	width: 80px;
}

.th-medium {
	width: 140px;
}

.th-large {
	width: 160px;
}

.valign-top {
	padding-top: 6px !important;
	vertical-align: top;
}

tr.thead {
	background: #fff;
}

.thead td {
	border: 2px solid #fff !important;
}

tr.subtotal {
	background: #f2f2f2;
}

.subtotal td {
	border: 2px solid #f2f2f2 !important;
}

tr.total {
	background: #fff2d0;
}

.total td {
	border: 2px solid #fff2d0 !important;
}

tr.positive {
	background: #e0ffe0;
}

.positive td {
	border: 2px solid #e0ffe0 !important;
}

tr.negative {
	background: #ffeded;
}

.negative td {
	border: 2px solid #ffeded !important;
}

tr.neutral {
	background: #fff;
}

.neutral td {
	border: 2px solid #fff !important;
}

}

/* Print */
@media print {

#header #logo, #header div.logout, #header.clear, #footer, #nav, input[type="button"], input[type="submit"] {
	display: none;
}

input, select {
	border: 0px;
}

textarea {
	border: 1px solid #000000;
	min-height: 30px;
}

}