html, body {
   margin: 0;
   padding: 0;
}

body {
  font-family: Arial, Helvetica, Verdana, Sans-serif;
  font-size: 14px;
  color: #666666;
  background: #ffffff;
}

.hidden {
    display: none;
}

#main-nav {    
    background-color:#E3E3E3;
		height: 30px;		
}

#main-nav ul  {
	list-style-type:none;
	margin:0;
	padding:0;
	overflow:hidden;	
}

#main-nav li {
	margin-top: 3px;
	float: left;	
}

#main-nav a:link, a:visited {
	color:red;	
	display:block;
	width:120px;
	font-weight:bold;	
	/*background-color:blue; */
	text-align:center;
	padding:4px;
	text-decoration:none;
	text-transform:uppercase;
}

#main-nav a:hover, a:active {
	color:#FFFAFA;
	background-color:#7A991A;	
}

#content-menu {
    float: left;
    width: 280px;
    background: #33CCFF;
	padding: 5px;		
		
}

#content-menu h1 {
	font-size: 14px;
	color:#FFFFFF;	
} 

#content-menu li {
	margin-top: 5px;
	margin-left: 5px;
}


#content-menu a:link,a:visited {
	padding:4px;
	margin-top: 10px;
	height: 30px;
}	

#panel {
  float: left;  
	background-color: #F6F4F0;
	border: 1px solid #d4d4d4;
	border-radius: 2px;  
	padding: 2px;			
	margin: 5px;	
}

#loginpanel {
	background-color: #F6F4F0;
	border: 1px solid #d4d4d4;
	border-radius: 2px;
	margin-top: 100px;
	margin-bottom: 123px;
	padding: 5px;
	width: 320px;
	height: 170px; 
	text-align: center;
	margin-left: auto;		/* за да се центрира */
    margin-right: auto;  	/* за да се центрира */
}

#content {
  margin-left: 10px;
	margin-top:  10px;		
  background: white;
}

#content a:link,a:visited {
	color: blue;	
	text-decoration: underline;
}

// клас за дясно подравняване на числа - не става
input.number { 
	text-align:right; 
}

.ItemName {
	color: black;
	background-color: white;
	border:0;
}

.EndQ {
	color: black;
	background-color: white;
	border:0;
}

.ResultQ {
	color: black;
	background-color: white;
	border:0;
}

table.zebra
{
	border: none;
	border-spacing: 1px;
  border-collapse:collapse;
}

table.zebra td
{
	border: 1px solid #C0C0C0;
	padding: 2px;		
	/* display: block; */
}

table.zebra tr:nth-of-type(odd) {
  background-color:#C7C7C7;		/* #f9f9f9 */
}


table#noborder 
{
	border: none;
}

table#noborder td
{
	border: none;
}



#clear {
	display: block;
	clear: both;
}

#footer {
    clear: both;
    background: orange;
    height: 22px;
}

table.sample {
	border-width: 1px;
	border-spacing: 0px;
	border-style: outset;
	border-color: gray;
	border-collapse: collapse;
	border-radius: 25px;
	background-color: white;
}

table.sample th {
	border-width: 1px;
	padding: 1px;
	border-style: inset;
	border-color: gray;
	background-color: white;
	-moz-border-radius: ;
}

table.sample td {
	border-width: 1px;
	padding: 3px;
	border-style: inset;
	border-color: gray;
	background-color: white;
	-moz-border-radius: ;
}

#invoice_form label    {	
	display:block;
}

#invoice_form input,select    
{
	display:block;	
	height: 25px;
	width: 99%;	
	margin: 0 0 5px 0;
	padding:1px;
	border: 1px solid #999;
	-webkit-box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
	-moz-box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
	box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
}
#invoice_form select    
{		
	height: 28px;
}	

#invoice_form    {

	background: -webkit-gradient(linear, bottom, left 175px, from(#FFFFFF), to(#F0F0F0 ));    /* from(#CCCCCC), to(#EEEEEE) */
	background: -moz-linear-gradient(bottom, #FFFFFF, #F0F0F0, 175px);
	position:relative;
	width:800px;
	/* height:auto; */
	overflow: hidden;   /* за да се ресайзва на височина, ако всички вътрешни div's са float*/
 	font-family: Tahoma, Geneva, sans-serif;
	font-size: 14px;
	font-style: italic;
	line-height: 24px;
	font-weight: bold;
	color: #09C;
	text-decoration: none;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	padding:10px;
	margin:10px; 
	border: 1px solid #999;
	border: inset 1px solid #333;
	-webkit-box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
	-moz-box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
	box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.3);
}

#invoice_form input.btn   {
width:100px;
display:inline;
margin:10px 20px 20px 0px;
background:#09C;
color:#fff;
font-family: Tahoma, Geneva, sans-serif;
height:30px;
-webkit-border-radius: 5px;
-moz-border-radius: 5px;
border-radius: 5px;
border: 1px solid #999;
}

#invoice_form input.btn:hover {
	background:#fff;
	color:#09C;
}

#one_row input {
	display:inline;
	float:left;
	width: 50px;
	height: 20px;	
}
#one_row select {
	display:inline;
	float:left;
	width: auto;
	height: 25px;
}
#one_row label {
	display:inline;
	float:left;
}