th{
	color:#CC0000;
}

button, a.btn{
	background:#CC0000;
	color:white;
}

.btn {
  border-radius:                    0px;
  -webkit-border-radius:            0px;
  -moz-border-radius:               0px;
}


#invoicepreviewcontainer{
	margin-bottom:20px;
}

div.invoicebreakborder, div.endinvoicebreakborder{
	page-break-after: always;
	border-bottom:solid black; 
	margin-top: 200px;
	margin-bottom: 50px;
	
}

td{
	font-size:14px;
}

#maininvoicetable td:not(.check){
	cursor:pointer;
}

.table-condensed>tbody>tr>td, .table-condensed>tbody>tr>th, .table-condensed>tfoot>tr>td, .table-condensed>tfoot>tr>th, .table-condensed>thead>tr>td, .table-condensed>thead>tr>th{
	padding:0 5px 0 5px;
}

table.printdetailtable th.item{
	width:50%;
}	
table.printdetailtable   th.date{
	width:25%;
	text-align:left;
}
table.printdetailtable   th.price{
	width:10%;      
	text-align:right;
}
table.printdetailtable   th.qty{
	width:5%;
}
table.printdetailtable   th.total{
	width:10%;                                                                 
	text-align:right;
}
table.printdetailtable   td.START_DATE{
	text-align:left;
}
table.printdetailtable   td.PRICE ,table.printdetailtable   td.EXTENSION{
	width:10%;
	text-align:right;
}
#maininvoicetable   td{
	
	borderx:solid black 2px;
}

.horsename {
    color: red;
}

h5.showname{
	margin-bottom:2px;
   }
   
#headercontainer{
   	margin-bottom:20px;   
   	margin-top:10px;   
   }
   
#invoiceprintclientdetails{
   	    	margin-bottom:20px;  
   }
   
table.printdetailtable {
	border:solid red 1px;
	margin-bottom:5px;
	
	

}
table.printdetailtable tr{
	padding-left:5px;
}


table.printdetailtable th{
	color:black;
	text-align:left;
	padding-bottom: 5px;
	background:pink;
	padding:3px;
	border-bottom: 1px solid #999;
	
}
                                
table.totalsfinaltable td{
	text-align:right;
	padding:0 0 0 10px! important;
	}

table.totalsfinaltable td{
	
}

button.loginbuttonj{
	background:#990033;
	border-color:#990033;
}

#notes{
	margin:5px 0;
	background:#990033;
}

#invoiceactiontab{ 
	margin:5px 0;
	borderx:solid;
}

#invoiceactiontab .btn-default{ 
	background:#CC0000;
	color:white;
}
#invoiceactiontab .glyphs span{
	font-size:15px;
}
#invoiceactiontab div.noglyphs {
	font-size:10px;
}


#simplefilter{
	margin-bottom:10px;
}
/*****************START PRINT CSS HERE**************/
#farmname, #invnum{
	font-size:16px;
	font-weight:bold;
}	


#farmaddresstable{
	width:100%;
}

#invoiceprintclientdetailsx{    /*dotted line under client info*/
	border-bottom:dotted;
	padding-bottom:10px;
}
/**********************enteritems************/
#enterchargeshorse, #enterchargesprod, #reviewtable{
	margin-top:1px;
	width:100%;
	table-layoutx:fixed;
	borderx:solid red;
	
}
#reviewtable{
	border:solid;
}

#reviewtable td{
	font-sizex:11px;
	
}

#enterchargesprod tr td input:not([type='checkbox']),#reviewtable tr td input:not([type='checkbox']){
	width:100%;
	border:none;
	borderx:solid blue;
	font-sizex:12px;
}
#enterchargesprod td {
max-height:20px;	
padding:0px;	
}
#enterchargesprod tr {
	
height:0px;	
}
#enterchargesprod tr td textarea ,#reviewtable tr td textarea{
	width:100%;
	background:#CC0000;
	color:white;
}

#enterchargeshorse td label {
	font-weight:normal;
}
#enterchargeshorse td {
	padding-top: 2px;
	padding-bottom: 2px;
}

#billshowinfo {
	margin:10px 0;
	background: #CC0000;
	borderx:solid;
	padding:5px;
	font-sizex:18px;
}
#billshowinfo label{
	color:white;
	padding-right:10px;
}

#filter{
	padding:5px;
	margin:5px;
}

div.ecnav{
	margin-bottom:10px;
	
}

div.ecnav button{
	background:#CC0000;
	borderx-color:red;
	color:white;
}



div.divx{
	displayx:none;
	color:red;
	cursor:pointer;
	
}

/**********************modifyitems************/

#listtable td.x{
	padding-right:5px;
}
  td.horsename{
	color:black;
}
.initialhide {
	display:none;
}

#modifycharges button{
	background:#CC0000;
	color:white;
}


 #edittable, #viewtable, #addtable {
 	 width:90%;
 	border: solid #CC0000 2px;
 }

 #edittable td, #viewtable td, #addtable td{
 	 
 	 border-top:none;
 	 
 }

#viewtable td:first-child ,#edittable td:first-child, #addtable td:first-child{
	text-align:right;
	width:25%;
	min-widthx:100px;
	white-spacex: nowrap;
}

/**********************setup********************/
#setup table, #setup table td ,#setup table tr{
	background:white;
}

#groupsbelong li{
	cursor:pointer;
}

/**********************worksheets********************/

table td input, table th input{
	width:95%;
}

#worksheetedit{
	width:100%;
	font-size:10px;
}


#ui-datepicker-div { font-size:11px; }

#worksheetactions a{
padding-right:10px;
}

#worksheetactions a{
	cursor:pointer;
}

/**********************worksheets layout********************/
#worksheetpreviewcontainer {
	background:white;
	position:   relative;
	height:auto;
	font-size:      12px;
	font-family:    Arial;
	border:none;
	padding-left:0;
	margin-bottom:0px;
 
}

#sample table{
	table-layout:fixed;
	width:100%;
	height:5in;
	border-spacing:0px 0px;

}
#sample table caption{
	text-align:left;
	color:black;
	font-size:16px;
	padding-bottom:10px;

}
#sample tbody{
	border:solid 1px;
}

#sample{
	position:relative;
}

#sample table.worksheet th{
	color:#CC0000;
	padding:0px;
	
	font-size:10px;
	font-weight:bold;
	vertical-align:bottom;
	position:relative;
	border:none;
	}
#sample table.worksheet th.top{
	white-space: nowrap;
	
	 transform: rotate(-45deg);
	-webkit-transform:rotate(-45deg);
	padding: 0 0 10px 10px;
	

}

#sample table.worksheet th.noangle{
		transform: rotate(0);
	-webkit-transform:rotate(0);
	backgroundx:white;
	padding:0;
	text-align:center !important;
}

#sample table.worksheet th.thirty{
		
	padding:0 0 6px 2px;
	text-align:center !important;
}

#sample table.worksheet th.price{
		transform: rotate(0);
	-webkit-transform:rotate(0);
	backgroundx:white;
	text-align:center !important;
}


#sample	tr:first-child td{
		border-top:solid   black;
		
	}
#sample	tr:last-child td{
		border-bottom:solid  2pt grey;
	}
#sample	tr td:first-child{
		border-left:solid  black ;
	}
#sample	tr td:last-child{
		border-right:solid  black ;
	}
	

#sample	td {
		border-left:solid  grey 1px;
		border-right:solid grey 1px;
		vertical-align:bottom;
		white-space: nowrap;
	}
#sample td.quantity, #sample td.quantity input {
	text-align:center;
	vertical-align:middle;
}	
#sample	tr.price th {
		border-left:solid  grey 1px;
		border-right:solid grey 1px;
		vertical-align:bottom;
		white-space: nowrap;
		border-top:solid  2pt grey;

	}
#sample	tr.price th:first-child{
		border-left:solid  black 2px;
	}
#sample	tr.price th:last-child{
		border-right:solid  black 2px;
	}
	
#sample	tr{
	line-height:1.0;
	border-right:solid  black 2px;
	}
	
	
#sample td.colname, #sample td.emptycol{
		padding-left:2px;
		padding-bottom:1px;
		padding-right:20px;
		font-size:10px;
		color:#CC0000;	
		font-weight:bold;

	}
	
#sample tr:nth-child(even) td{                                              
    background-color:lightgrey;
}	




#sample table th.corner{
	
	color:black;
	font-weightx:bold;
	font-size:12px;
	padding:0px;
	padding-bottom:1px;
	margin:0;
	text-align:left;
	borderx:solid;
		transform: rotate(0deg);
	-webkit-transform:rotate(0deg);

}
/**********************worksheets layout********************/
#template table td{
	border-top:none;
}

input[type="checkbox"]{
	padding-left:5px;
    padding-right:5px;
vertical-align:middle;

    border: double 2px ;

    white-space: nowrap;
    overflow:hidden;

    width:12px;
    height:12px;
}
/*********************invoice summary*****************/


		
		td.notvisible{
			width:10%;
			border-bottom:solid red
		}
		
		                                 
		#total {
			font-size:14px;
			float:right;
		}
		#summary td{
			font-size:14px;
			border-bottom:solid 1px;
		}
		
		#summary th{
			text-align:left
		}
		
		#summary{
			width:100%;
		}

/*********************PRINT CSS*****************/
 @media print {
 	 
 	 
 /*********************invoice prnt*****************/
	 
 	 
 	 #invoiceprintbody	 {
 	 	 width:8.5in;
 	 	 background:grey;
font-family: 'PT Sans', sans-serif;

borderx:blue;
	padding:0;	
	margin:0;
font-size:8px;
}


div.invoicepreviewcontainerpdf {
	position:   relative;
	min-height:8.5in;
	font-size:      10px;
    margin-left:0.25in;
     margin-right:0.25in;
	 padding-top:0.25in;
	 padding-left:0.25in;
	 page-break-after:always;
borderx:red;
}

#invoiceprintfarmaddress p{
	padding:2px;
	
}
div {paddingx:5px;margin-bottom:10px;}

tablex {paddingx:5px;margin-bottom:10px;margin-top:50px;}
div.invoiceprintcontent .showname{margin-bottomx:5px;}


div.invoicepreviewcontainerpdf table.printdetailtable {
		borderx:solid red 2pt;
		margin-top:5px;
		width:7in;
	
}
#totalsfinaltable{
	width:7in;
	border-spacing:0px 0px;
	height:1cm;
	border:blue;
	
	
}

#status{
	display:none;
}
#invoiceinfo{
	margin-top:0px;
}
#headercontainer{
	width:7in;
	
}
#invoiceprintfarmaddress {
	margin-top:0px;
}
#invoiceprintclientdetails{
	margin-top:40px;
		

}

#clientname{
	font-size:16px;
	
}
div.pagebreakdivborder{
	display:none;                                  
}

divx.pagediv+div.pagediv{
	page-break-before:always;
}



table.printdetailtable th.item {
	colorx:blue;
	width:50% !important;
	padding-bottom: 0;
	margin-bottom: 0;
}

 /*********************END invoice prnt*****************/
  /*********************worksheet print*****************/
  html, body {
        height: 99%;    
    }
  
  #sample div.pagediv{
		margin:0.5in;
		margin-top:1in;
		margin-bottom:0;
		page-break-after:always;
		display:block;
		padding-top:50px;
		font-family:Helvetica;
		
}
`


#sample table {
	height:5.5in;
	table-layout:fixed;
	

 }
 
 
 div.inputtable{
	
    width:200px;
    padding:0px;
    position:relative;
    overflow-y: scroll;
    	float:left;
    	margin-right:20px;
}
div.inputtable table {
	table-layout:fixed;
	width:200px;
	margin-bottom:0px;
	border:solid;
}

div.holdthisdiv{
	margin-bottom:20px;
}



div.inputtable table td:first-child{
	width:40px;
}

div.inputtable table td input{
	width:95%;
}
 }
/* from above */

