body {
	/*margin:0; padding:0;*/
	font-family: arial;
	font-size: 10pt;
	background: #eeeeee;
	background: #d0d0d0;
    background: #fce8e8;
	/*background: #f1ebcb;*/ /* Bams */
	
}

table {
	margin: 20px 0 20px 0;
}

table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
}

th {
	text-align:left;
	padding: 3px;
	font-weight:normal;
}

td {
	background: #f6f6f6;
	padding: 3px;
}


.mainMenu {
	padding: 5px;
	margin:0;
	margin-bottom: 20px;
	background: #c0c0c0;
	
	background-image: url('../images/bg.jpg');
	background-repeat: no-repeat;
	background-position: 0 -500px; 

}


.menuBar {
	padding: 5px;
	background:rgba(0,0,0,0.2);
	color: #ffffff;
}

.menuBar p {
	margin: 0px;
	line-height: 30px;
}



.invoice {
	margin: auto;
}

.invoice p {
	margin: 5px;
}

.invoice table {
	width: 100%;
}

.invoice td {
	background: #ffffff;
	vertical-align: top;
}

.rightAlign {
	text-align: right;
}

.invoice .label {
	color: #808080;
}

.invoice .bigSpace {
	margin-top: 50px;
}

.invoice .leftCol {
	float:left;
	width:20%;
}

.invoice .middleCol {
	float:left;
	width:44%;
}

.invoice .rightCol {
	float:left;
	width:15%;
	text-align:right;
}


.invoice .detail {
	border:2px solid #c0c0c0;
	height: 500px;
}

.invoice .under {
	border-bottom:2px solid #c0c0c0;
}

.invoice .right {
	border-right:2px solid #c0c0c0;
}

.green, .green td {
	background: #c0ffc0;
}

.red, .red td {
	background: #ffc0c0;
}

.amber td {
	background: #ffd7a8;
}

.itemInput th input[readonly],  .itemInput th input[readonly="readonly"]  {
	background: #ffffff;
}

.totals td, .totals th {
	/*background: #808080;*/
	color: #ffffff;
	background: #606060;
}

.grandTotals td {
	color: #ffffff;
	background: rgba(90, 18, 16, 0.8);
}


}

.newTotals th {
	color: #ffffff;
	background: #5a1210;
}

.bf td, .bv th {
	background: #d0d0d0;
}


.itemInput input {
	width:500px;
}

.itemInput input[readonly], .itemInput input[readonly="readonly"] {
	background: #f6f6f6;
	border: none;
	font-family: arial;
	font-size: 14px;
	font-size: 10pt;
	padding:0;
}



.lighter td {
	background: #ffffff;
}

.help {
	color: #ff4040;
	margin: 0;
}

body, td, input {
	/*color: #670303;*/
}

a {
	/*color: #b80f07;*/
}

button, select, input[type="button"], input[type="submit"] {
	font-family: arial;
	font-size: 12px;
	padding: 5px;
	cursor: pointer;
}



#logoff {
	padding: 10px;
	position: fixed;
    top: 0;
    right: 0;
}

.adminLogin {
	margin: auto;
	/*width: 500px;*/
	text-align: center;
	margin-top:20px;
	/*background:rgba(0,0,0,0.3);*/
	padding: 50px;
	border-radius: 10px;
}

.adminLogin form div {
	margin: 15px;
}

.adminLogin img {
	width:187px;
	margin:30px;
}

.filtersLeft {
	border: 1px solid #b0b0b0;
	padding: 10px;
	width: 400px;
	display:inline;
	background: #d0d0d0;
    background: #fce8e8;
	line-height:40px
}

.filtersRight {
	border: 1px solid #b0b0b0;
	padding: 10px;
	margin-left: 10px;
	display:inline;
	background: #d0d0d0;
    background: #fce8e8;
	/*line-height:40px*/
}

.login {
    min-height: 100vh;
	background: /* top, transparent red */ 
    linear-gradient(
      rgba(0, 0, 0, 0.1), 
      rgba(0, 0, 0, 0.1)
    ),
    /* bottom, image */ url('../images/bg.jpg');
    background-size: cover;
	background-repeat: no-repeat;
}


.subMenu {
	
	margin:0;
	margin-top: -20px;
	background: #a0a0a0;
	padding: 10px;
}

.reports table {
	margin-top:15px;
}

.selectedButton {
	background: #b60900;
	border: none;
	color: #ffffff;
}

.selectedMenu {
	background: rgba(90,18,16,0.8);
	background: #ff0000;
}

.spacer {
	clear:both;
	margin-bottom: 5px;
}

#breadcrumb {
	margin-top:2px;
}

#breadcrumb a {
	color: #ffffff;
}

.printHeading {
	display:none;
}

.spacerRow td {
	background: #d0d0d0;
}

.errorMessage p {
	color: #ff0000;
	font-weight: bold;
}

#prerequisites {
	margin-top: 20px;
	margin-bottom: 20px;
}

#prerequisites iframe {
	width: 100%;
	height: 400px;
}



@media only screen and (max-width: 800px) {
	
	/* Force table to not be like tables anymore */
	#no-more-tables table, 
	#no-more-tables thead, 
	#no-more-tables tbody, 
	#no-more-tables th, 
	#no-more-tables td, 
	#no-more-tables tr { 
		display: block; 
	}
 
	/* Hide table headers (but not display: none;, for accessibility) */
	#no-more-tables thead tr { 
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
 
	#no-more-tables tr { border: 1px solid #ccc; }
 
	#no-more-tables td { 
		/* Behave  like a "row" */
		border: none;
		border-bottom: 1px solid #eee; 
		position: relative;
		padding-left: 50%; 
		white-space: normal;
		text-align:left;
	}
 
	#no-more-tables td:before { 
		/* Now like a table header */
		position: absolute;
		/* Top/left values mimic padding */
		top: 6px;
		left: 6px;
		width: 45%; 
		/*padding-right: 10px; 
		white-space: nowrap;
		text-align:left;
		font-weight: bold;*/
	
	}
 
	/*
	Label the data
	*/
	#no-more-tables td:before { content: attr(data-label); }
}


.select2-container--default .select2-selection--single {
    border: 1px solid #000;
    border-radius:0;
}

input[type=text], input[type=password], input[type=number]  {
	height: 22px;
}

input[type=date], input[type=time]  {
	height: 24px;
}




