﻿/* Stylesheet for the Avem Portal */

html {
    height: 100%;
}

body {
	background-color: #f2f2f2;
	line-height: 1.6em;
	font-size: 62.5%;
	font-family: Arial, Trebuchet MS,  Helvetica, Arial, sans-serif;
	margin: 0px;
	padding: 0px;
	color: #323232;
	height: 100%;
}

body.login-page {
    overflow-y: hidden;
}
	
a {
	color: #c41230;
	text-decoration: none;	
}

a:hover {
	text-decoration: underline;
}

a img {
    border: none;
}

p {
	margin-bottom: 3px;	
}

.left {
	float: left;
}

.right {
	float: right;
}

input {
	width: 140px;
	font-size: 11px;
}

input[type=checkbox] {
    width: auto;
    margin-left: 0;
}

.short-inputs input { width: 100px; }

input.button {
	width: 100px;
}

.buttonContainer {
	text-align: right;
}

#login .buttonContainer 
{
    text-align: inherit;
}

#login .buttonContainer input[type="checkbox"]
{
    width: inherit;
    margin: 3px 0;
}

#login .buttonContainer input 
{
    width: 100px;
    margin: 0;
}

#login .buttonContainer label
{
    margin: 2px 10px 0 0;
    float: left;
    display: block;
}

label {
	padding: 0px 10px 0px 20px;
}

#login label 
{
    padding: 0;
}

h1 {
	width: 1000px;
	margin: 0 auto;
	line-height: 1.0em;
	font-weight: bold;
	color: #c41230;
	font-size: 24px;
	margin-top: 0px;
}

h2 {
	clear: both;
	color: #c41230;
	font-size: 20px;	
	padding: 30px 0 0 0;
	line-height: 1.2em;
	margin-bottom: 0px;
}

h3 {
	clear: both;
	color: #323232;
	font-size: 13px;	
	margin-top: 20px;
	margin-bottom: 5px;
}

h4 {
	color: #c41230;
	font-size: 15px;	
	margin-bottom: 10px;
}

p#error {
	color: #f00;	
}

div#wrapper {
	background: #fff url(../images/content-background.gif) repeat-x 0px 35px;
	font-size: 11px;
	line-height: 1.5em;
}

.login-page div#wrapper {
    background-color: #fff;
    background-image: url("../images/login-splash.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

table {
	border-collapse: collapse;
}

th {
	text-align: left;
	border: 1px solid black;
}

#customerFinancials_processing {
	display: none;
}

#opMenu img { padding-top: 3px; } /* account for differences in picture cropping */
.mainMenu ul { margin-bottom: 0; padding-left: 15px; font-size: 20px; }
.mainMenu li {
	line-height: 25px;
	list-style-type: none;
}

/* Header */
div.header {
    background: white;
	position: relative;
}   
 
div.header .header-centering {
	display: block;
	width: 1000px;
	margin: 0 auto;
}

div.header img.logo {
    margin-top: 25px;
    max-width: 245px;
}


.login-page div.header img.logo {
    margin-bottom: 35px;
}

/* Navigation */
div.navigation {
	height: 35px;
	width: 1000px;
	margin: 0 auto;
	line-height: 35px;
}

/* Content */

p.exportButton
{
    margin-bottom: 30px;
}

div.content {
	width: 1000px;
	margin: 0 auto;
	padding: 40px 10px;
	min-height: 450px;
}

table#login {
	border: 2px solid #c41230;
	padding: 20px 30px;
	margin: 0 auto;
	border-collapse:separate;
    background-color: white;
}

table#login h1 {
    width: initial;
    margin-top: 5px;
    margin-bottom: 5px;
}

table#login tr:not(:first-child) td {
    padding-top: 10px;
}

/*table#login input {
    width: 100%;
}*/

table#login input.button {
	margin-top: 15px;
}

td.currency {
	text-align: right;
}

table#attachments {
    border-top: 1px solid black;
    margin-bottom: 20px;
}

table#movementOrderHeader,
table#serviceOrderHeader {
	margin-bottom: 20px;
}

table#serviceOrderLines td, 
table#serviceOrderLines th,
table#movementOrderLines td, 
table#movementOrderLines th
{
	padding: 3px 10px 3px inherit;
	border: none;
}

table#equipmentHistory td,
table#serviceOrderHeader td,
table#movementOrderHeader td {
	vertical-align: top;
}

table#equipmentHistory td.label,
table#serviceOrderHeader td.label,
table#movementOrderHeader td.label {
	font-weight: bold;
}

table#movementOrderLines,
table#serviceOrderLines {
	border-top: 1px solid black;
	padding: 3px inherit; 
}

table#equipmentHistory td,
table#serviceOrderHeader td {
	width: 150px;
	padding: 4px inherit;
}

table#equipmentHistory th,
table#serviceOrderHeader th 
{
    margin-top: 5px;
    padding: 3px;  
}

table.comments td {
    vertical-align: top;	
}

td.toggleCommentsCell {
	vertical-align: top;	
}

table#orderSearch,
table#registerSearch,
table#customerFinancialsSearch,
form#filters table {
	margin-bottom: 30px;
}

.nowrap td, .nowrap th { white-space: nowrap; }

table.datatable a {
	display: block;
	width: 100%;
	padding-left: 10px;	
}

table.datatable td.link {
	padding: 0px;
}

table.datatable tbody tr:hover {
	background-color: #FFFF81;
}

/* DataTables section */

.dataTables_wrapper {
	margin-top: -24px;	
}

.dataTables_length {
	float: right;
	padding-bottom: 5px;
	padding-left: 20px;
}

.dataTables_totalValue 
{
	float: left;
		font-weight: bold;
	font-size: larger;
	padding-bottom: 5px;
	padding-left: 20px;
}

.dataTables_filter {
	width: 50%;
	float: right;
	text-align: right;
	padding-bottom: 5px;
}

.dataTables_info {
	width: 60%;
	float: left;
	margin-bottom: 20px;
}

.dataTables_paginate {
	float: right;
	text-align: right;
	padding-top: 3px;
}

.paginate_disabled_previous, .paginate_enabled_previous, .paginate_disabled_next, .paginate_enabled_next {
	height: 19px;
	width: 19px;
	margin-left: 3px;
	float: left;
}

.paging_full_numbers .paginate_button , .paging_full_numbers .paginate_active {
    padding-left: 3px;
    padding-right: 3px;
    text-decoration: underline;
    cursor: pointer;
}

.paging_full_numbers .paginate_active {
  border: 1px solid black;
  text-decoration: none;
  cursor: default;
}

.dataTables_scroll {
	clear: both;
}

.dataTables_scrollBody {
	*margin-top: -1px;
}

.sorting_asc {
	background: url('../images/sort_asc.png') no-repeat center right;
}

.sorting_desc {
	background: url('../images/sort_desc.png') no-repeat center right;
}

.sorting {
	background: url('../images/sort_both.png') no-repeat center right;
}

.sorting_asc_disabled {
	background: url('../images/sort_asc_disabled.png') no-repeat center right;
}

.sorting_desc_disabled {
	background: url('../images/sort_desc_disabled.png') no-repeat center right;
}

.paginate_disabled_previous {
	background-image: url('../images/back_disabled.jpg');
}

.paginate_enabled_previous {
	background-image: url('../images/back_enabled.jpg');
	cursor: pointer;
}

.paginate_disabled_next {
	background-image: url('../images/forward_disabled.jpg');
}

.paginate_enabled_next {
	background-image: url('../images/forward_enabled.jpg');
	cursor: pointer;
}

table.datatable {
	margin: 0 auto;
	clear: both;
	width: 100%;
}

table.datatable thead th {
	padding: 5px 18px 5px 10px;
	font-weight: bold;
	cursor: pointer;
	* cursor: hand;
}

table.datatable thead th.parentHeader {
	text-align: left;
	cursor: default;
}

table.datatable td {
	padding: 5px 10px;
}

table.datatable td.center {
	text-align: center;
}

table.datatable tr.odd {
	background-color: #DFA7A6;
}

table.datatable tr.even {
	background-color: #F8EDED;
}

.dashboard {
    margin-left: 20px;
    margin-right: 20px;
    background-color: white;
}

.dashboard #body {
	line-height: 1.6em;
	font-size: 62.5%;
	font-family: Arial, Trebuchet MS,  Helvetica, Arial, sans-serif;
	margin: 0px;
	padding: 0px;
	color: #323232;
	height: 100%;
}   

.dashboard #header
{
	position: relative;
	white-space: nowrap;
	width: 100%;
}

.dashboard .two-rows-high { height: 82px; }
.dashboard .one-row-high { height: 58px; }

.dashboard #header img
{
    margin-top: 15px;
    max-width: 122.5px;
	position: absolute;
	right: 0;
	float: right;
}

.dashboard #header h1
{
	margin: 2px 6px;
	line-height: 1.0em;
	font-size: 28px;
	font-family: Calibri;
	font-weight: bold;
    float: left;
}

.dashboard #header .controls
{
    clear: left;
    float: left;
    margin-bottom: 5px;
}

.dashboard label
{
	font-size: 15px;
	padding: 0; 
	margin: 2px 4px 0 6px; 
	font-size: 9pt; 
}

.dashboard .custom-date-controls input  
{
	width: 70px; 
}
.dashboard .custom-date-controls label  
{
	margin: 5px;
}

.dashboard .logo
{
    margin-right: 10px;
}

/* Logout for default */

.logout
{
	font-size: medium;
	float: right;
}

/*Chart Table*/
.charttable h2 
{
	margin: 0;
	padding: 8px 0 0 0;
	color: black;
	font-size: 18px;
}

.charttable h3 
{
	margin: 0;
	padding: 4px 0 12px 0;
	font-size: 12px;
}

.charttable {
    margin: auto;
    width: 100%;
}

.charttable table 
{
	width: auto;
	text-align: center;
}

.charttable label
{
	margin-top: 2px;
	color: black;
	font-size: 8pt;
}

.charttable input[type="checkbox"] 
{
	width: 20px; 
	margin: 3px 0;
}


.charttable select
{
	margin-top: 2px;
	color: black;
	background-color: #f2f2f2;
	font-size: 8pt;
}


.charttable td
{
	margin: 0;
	padding: 0 0 4px 0;
	text-align: center;
	vertical-align: top;
	min-width: 33%;
	width: 33%;
	max-width: 33%;
	min-height: 50%;
	height: 45%;
	max-height: 45%;
	border-width: 2px;
	border-style: solid;
	border-color: #c41230;
}

/* Footer */
div#footer {   
  clear: both; 
  width: 1000px;
  margin: 0px auto;
  font-size: 10px;
  color: #fff;
}

div#footer .footer-spacer {
	margin: 0 4px 0 4px;
}

div#footer .footer-top {
	background-color: rgb(60, 60, 60);
	height: 40px;
	padding: 0 20px 0 20px ;
}     
  
div#footer .footer-top a {
	color: #fff;
	font-size: 10px;
	line-height: 45px;
	text-decoration: none;
}

div#footer .footer-top a:hover {
	color: #707070;
}

div#footer .footer-bottom {
	background: #323232;
	padding: 20px 20px 0 20px;
	color: #707070;
	height: 50px;
}

div#footer .footer-bottom span.right {
	margin: 10px 0 0 0;
	float: right;	
}

div#footer .footer-bottom a {
	color: #707070;
	text-decoration: none;
}

div#footer .footer-bottom a:hover {
	color: #fff;
}
