/* LIGHT BLUE #7DA7D9 */
/* MED BLUE #0072BC */
/* DARK BLUE #004A80 */

body {
	background-image: url('img/body-bg.gif');
	background-position: top;
	margin: 0px;
}

body, div, p, span, table, tr, th, td {
	font-family: Verdana, Arial, sans-serif;
	font-size: 12px;
	color: #ffffff;
}


input, select { 
	vertical-align : middle;
}

th { background-color: #004A80; color: white; font-weight: bold; }
th a, th a:link, th a:visited { color: white; text-decoration: underline; }
th a:active, th a:hover { color: #0072BC; text-decoration: none; }

td { background-color: #0072BC; color: black; font-weight: normal; }
td a, td a:link, td a:visited { color: black; text-decoration: underline; }
td a:active, td a:hover { color: #004A80; text-decoration: none; }

div { margin: 0px; padding: 0px; }

ul {
	padding-left:0px;
	margin-left:0px;
}
ul li {
	margin-bottom:8px;
}

div.clear {
	clear: both;
}

div.thebody {
	background-image: url('img/body-bg-top.gif');
	background-repeat: repeat-x;
	background-position: top;
	min-height: 900px;
}

.error {
	font-size: 95%;
	font-style: italic;
	color: red;
}

/*input, input.file {
	background-image   :url('/img/inputback.jpg');
	border             : 1px solid #666;
}*/

.hidden {
	display:none;
}

.visible {
	display:inline;
}

.smallcaps {
	font-variant: small-caps;
}

#button, #buttonc, #buttonr, .button, .buttonc, .buttonr {
  font-family       : Verdana, Arial, sans-serif;
  font-size         : 12px;
  border            : 1px solid #AABBBF;
  background-color  : #FFFFFF;
  color             : #404F59;
  background-image  : url(/img/but.gif);
  padding           : 2px 2px 2px 2px;	
}

#buttonc, .buttonc {
	display: block;
	margin:0 auto;
}

#buttonr, .buttonr {
	display: block;
	margin:0 0 0 auto;
}


#container {
	width: 722px;
	margin: 0 auto 0 auto;
}

#topSpace {
	height: 35px;
}

#mastHead {
	width: 722px;
	height: 96px;

	background-image: url('img/header.jpg');
	background-repeat: no-repeat;
}

	#mastHeadForm {
		float:right;
		text-align:right;
		padding:14px 14px 0px 0px;
		font-size:11px;
	}

	#mastHeadForm input {
		font-size:11px;
	}

	.clarity {	
		clear:both;
	}

#navBar {
	width: 722px;
	height: 23px;

	background-image: url('img/nav-bar.jpg');
	background-repeat: no-repeat;

	color: white;
}

ul#navMenu {
	font-size:0.8em;
	list-style-image:none;
	list-style-position:outside;
	list-style-type:none;
	margin:0px 0px 0px 9px;
	padding:0pt;
}

ul#navMenu li {
	background-image:none;
	display:block;
	float:left;
	font-size:11px;
	text-transform: lowercase;
	line-height:21px;
	margin:0px;
	padding-left:21px;
	padding-right:13px;
	text-align:center;
	white-space:nowrap;
	width:auto !important;
}

ul#navMenu li a {
	color:white;
	display:block;
	text-decoration: none;
	width:100%;
}
ul#navMenu li a:hover {
	text-decoration: underline;
}

ul#navMenu li a:visited {
	text-decoration: none;
}

#bannerPhoto {
	width: 722px;
	height: 121px;

	background-image: url('img/banner.jpg');
	background-repeat: no-repeat;
}

#main {
	width: 722px;
	background-image: url('img/main-bg.jpg');
	background-repeat: repeat-y;
}

#content {
	width: 722px;
	background-image: url('img/content-bg.jpg');
	background-repeat: no-repeat;
	background-position: bottom;
	padding-bottom:20px;
	min-height: 500px;
	display: table-cell;
	height: 100%;
}


#contentPadd {
	padding: 12px 20px 25px 20px;
}

.white td { background-color: white; }
.grey td { background-color: #7DA7D9; }


/*********************************
 * Main Content Panels
 *********************************/
#panelLeft {
	float:left;
	padding:3px;
	width:460px;
	background-color: white;
	min-height:470px;
}

#leftHeader {
	background-image:url('img/left_header2.gif');
	background-repeat:no-repeat;
	background-position:top center;
	height:22px;
	padding: 2px 10px 2px 10px;
	font-family:Tahoma;
	font-weight:bold;
	font-size:14px;
	color:#ffffff;
}
#leftContent {
	padding:3px;
	font-family:Tahoma;
	font-size:12px;
	color: black;
}

#panelRight {
	float:right;
	padding:3px;
	width:200px;
	background-color: white;
	min-height: 470px;
}
#rightHeader {
	background-image:url('img/right_header2.gif');
	background-repeat:no-repeat;
	background-position:top center;
	height:22px;
	padding: 2px 10px 2px 10px;
	font-family:Tahoma;
	font-weight:bold;
	font-size:14px;
	color:#ffffff;
}
#rightContent, #rightContent p{
	padding:8px;
	font-family:Tahoma;
	font-size:12px;
	color: black;
}
#rightContent #topic {
	font-weight: bold;
	font-style: oblique;
	font-size: 16px;
	color: #808080;
	padding-top:10px;
	padding-bottom:5px;
}
#rightContent ul {
	padding-left:30px;
}
#rightContent ul>li {
	padding-bottom:5px;
}
#rightContent p {
	padding-top:0px;
	padding-left:15px;
}


#panelFull {
	padding:3px;
	width:670px;
	background-color: white;
	min-height:550px;
}

#fullHeader {
	background-image:url('img/left_header5.gif');
	background-repeat:no-repeat;
	background-position:top center;
	height:22px;
	padding: 2px 10px 2px 10px;
	font-family:Tahoma;
	font-weight:bold;
	font-size:14px;
	color:#ffffff;
}
#fullContent p {
	padding-top:0px;
	padding-left:15px;
}


/*********************************
 * Dashboard Panels
 *********************************/
#dashSpacer {
	float:left;
	width:10px;
	margin-bottom:10px;
	height:10px;
}
#dashSingle {
	float:left;
	padding:3px;
	width:157px;
	background-color: white;
	height:170px;
	margin-top:4px;
	margin-bottom:7px;
}
#dashDouble {
	float:left;
	padding:3px;
	width:330px;
	background-color: white;
	height:170px;
	margin-top:4px;
	margin-bottom:7px;
}
#dashHeader {
	background-image:url('img/left_header2.gif');
	background-repeat:no-repeat;
	background-position:top center;
	height:22px;
	padding: 2px 10px 2px 10px;
	font-family:Tahoma;
	font-weight:bold;
	font-size:14px;
	color:#ffffff;
}
#dashContent {
	padding:8px;
	font-family:Tahoma;
	font-size:12px;
	color: black;
}

/*********************************
 * Dialog
 *********************************/

#dialog650 {
	float:left;
	padding:3px;
	width:650px;
	background-color: white;	
	height:100%;
	font-weight: normal;
}

#dialog300 {
	float:left;
	padding:0px;
	margin:0px;
	width:300px;
	background-color: white;	
	height:100%;
	font-weight: normal;
}

#dialogHeader {
	background-image:url('img/left_header4.gif');
	background-repeat:no-repeat;
	background-position:top center;
	height:22px;
	padding: 2px 10px 2px 10px;
	font-family:Tahoma;
	font-weight:bold;
	font-size:14px;
	color: white;
}
#dialogContent {
	padding:8px;
	font-family:Tahoma;
	font-size:12px;
	color: black;
}

/*********************************
 * Generic Form Look and Feel
 *********************************/
form.generic fieldset {
	padding: 0 1em 0 1em;
	border:1px solid green;
}
form.generic legend {
	padding: 0.2em 0.5em;
	border:1px solid green;
	color:green;
	font-size:90%;
	text-align:right;
}
form.generic fieldset>label {
	float:left;
	width:30%;
	margin-right:0.5em;
	padding-top:0.2em;
	text-align:right;
	font-weight:bold;
}

form.generic fieldset>input, form.generic fieldset>select {
	margin-bottom:15px;
}


/*********************************
 * Upload New Price Sheet
 * Line Item Matching Form
 *********************************/
#prodheading {
	font-size:20px;
	font-weight:bold;
	font-variant: small-caps;
	text-align:center;
	color:red;
	padding-top:20px;
	padding-bottom:10px;
}

form.newPriceSheet {
	width:80%;
	margin: 0 auto 0 auto;
}
form.newPriceSheet fieldset {
	padding: 0 1em 0 1em;
	border:1px solid green;
}
form.newPriceSheet legend {
	padding: 0.2em 0.5em;
	border:1px solid black;
	color:green;
	font-size:90%;
	text-align:right;
}
form.newPriceSheet fieldset>label {
	float:left;
	width:40%;
	margin-right:0.5em;
	padding-top:0.2em;
	text-align:right;
	font-weight:normal;
}

form.newPriceSheet fieldset>input, form.newPriceSheet fieldset>select {
	margin-bottom:15px;
}

form.newPriceSheet fieldset>input {
	width:200px;	
}

form.newPriceSheet fieldset>select {
	width:205px;
}

table#association {
	width: 95%;
	margin: 0 auto 0 auto;
	font-weight: normal;
	border: 1px solid #640000;
	border-spacing: 3px;
}

table#association select, table#association input {
	font-size:90%;
}

table#association input {
	text-align: center;
}
	
table#association th {
	background-color:#640000;	
	color:white;
	font-weight: normal;
	font-size:90%;
	text-align:center;
}

table#association td {
	background-color:white;
	text-align:center;
	font-size:95%;
}

table#association td>img {
	padding-top:8px;
	padding-bottom:8px;
	width:  20px;
	height: 20px;
	cursor: pointer;
}

table#association div#inv_unit, table#association div#sale_unit {
	color: black;
	font-size:95%;
	display: inline;
}

table#association td#inventory {
	text-align:right;
	padding-right:5px;
}




/*********************************
 * Inventory Homepage
 *********************************/
table#inventory {
	width: 95%;
	margin: 0 auto 0 auto;
	font-weight: normal;

	border-width: 1px; 
	border-spacing:0px;
 	border-style: solid none none solid; 
	border-color: #640000;
	border-spacing: 0px;
}

table#inventory select, table#inventory input {
	font-size:90%;
}

table#inventory input {
	text-align: center;
}
	
table#inventory th {
	background-color:#640000;	
	color:white;
	font-weight: normal;
	font-size:90%;
	text-align:center;
	height:30px;
}

table#inventory td {
	background-color:white;
	text-align:center;
	font-size:95%;
	border-width: 1px; 
	border-spacing:0px;
 	border-style: none solid solid none; 
	border-color: #640000;
	height:30px;
}

table#inventory td>img {
	padding-top:8px;
	padding-bottom:8px;
	width:  20px;
	height: 20px;
	cursor: pointer;
}

table#inventory div#inv_unit, table#inventory div#sale_unit {
	color: black;
	font-size:95%;
	display: inline;
}

table#inventory td#category_name, table#inventory td#item_name {
	text-align:left;
	padding-left:10px;
}

table#inventory a {
	color:red;
	text-decoration:none;
}



/*********************************
 * Menu Item Homepage
 *********************************/
table#menuitem {
	width: 95%;
	margin: 0 auto 0 auto;
	font-weight: normal;

	border-width: 1px; 
	border-spacing:0px;
 	border-style: solid none none solid; 
	border-color: #640000;
	border-spacing: 0px;
}

table#menuitem select, table#menuitem input {
	font-size:90%;
}

table#menuitem input {
	text-align: center;
}
	
table#menuitem th {
	background-color:#640000;	
	color:white;
	font-weight: normal;
	font-size:90%;
	text-align:center;
	height:30px;
}

table#menuitem td {
	background-color:white;
	text-align:center;
	font-size:95%;
	border-width: 1px; 
	border-spacing:0px;
 	border-style: none solid solid none; 
	border-color: #640000;
	height:30px;
}

table#menuitem td>img {
	padding-top:8px;
	padding-bottom:8px;
	width:  20px;
	height: 20px;
	cursor: pointer;
}

table#menuitem div#inv_unit, table#menuitem div#sale_unit {
	color: black;
	font-size:95%;
	display: inline;
}

table#menuitem td#category_name {
	text-align:left;
	padding-left:10px;
}

table#menuitem a {
	color:red;
	text-decoration:none;
}


/*********************************
 * Line Item Homepage
 *********************************/
table#lineitem {
	width: 95%;
	margin: 0 auto 0 auto;
	font-weight: normal;

	border-width: 1px; 
	border-spacing:0px;
 	border-style: solid none none solid; 
	border-color: #640000;
	border-spacing: 0px;
}

table#lineitem select, table#lineitem input {
	font-size:90%;
}

table#lineitem input {
	text-align: center;
}
	
table#lineitem th {
	background-color:#640000;	
	color:white;
	font-weight: normal;
	font-size:90%;
	text-align:center;
	height:30px;
}

table#lineitem td {
	background-color:white;
	text-align:center;
	font-size:95%;
	border-width: 1px; 
	border-spacing:0px;
 	border-style: none solid solid none; 
	border-color: #640000;
	height:30px;
}

table#lineitem td>img {
	padding-top:8px;
	padding-bottom:8px;
	width:  20px;
	height: 20px;
	cursor: pointer;
}

table#lineitem div {
	color: black;
	font-size:95%;
	display: inline;
}

table#lineitem td#category_name {
	text-align:left;
	padding-left:10px;
}

table#lineitem a {
	color:red;
	text-decoration:none;
}

div#paginationHead, div#paginationFoot {
	text-align:center;
	color:black;
}
div#paginationHead a, div#paginationFoot a {
	text-decoration: none;
}

.hardbreak
{
    white-space: pre-wrap; /* css-3 */
    white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
    white-space: -pre-wrap; /* Opera 4-6 */
    white-space: -o-pre-wrap; /* Opera 7 */
    word-wrap: break-word; /* Internet Explorer 5.5+ */
}