*{
margin:0;
padding:0;
}

body{
	font-family:"frutiger linotype","lucida grande",helvetica,arial,sans-serif;
	text-align:center;
	color: rgb(80,80,80);
	font-size: 76%;
	background-image: url('/files/inventoriana-gradient.jpg');
	background-repeat: repeat-x;
	background-position: top right;
}

/* General Style Info */
a{
    color: rgb(130,130,130);
    text-decoration: none;
}
a:hover{
    color: rgb(134,78,4);
    text-decoration:none;
}

a img{
    border:none;
}

h1, h2, h3, h4{
font-weight:normal;
color: rgb(50,50,50);
}

h1{
margin:0.3em 0;
font-size: 180%;
}

h2{
padding-top: 1em;
margin:0.3em 0;
font-size: 180%;
}

h3{
padding-top:2em;
font-size: 140%;
}

h4{
padding-top:0.5em;
font-weight:normal;
}

em {
font-size: 12px;
}

ul, li {
margin: 0 12px;
}

/* Layout */

#container{
	text-align:left;
	width: 900px;
	height: 100%;
}

#header{
background-color: white;
background-image: url('/files/Inventoriana-Header.jpg');
background-position:top center;
background-repeat: no-repeat;

}

#content{
clear:both;
padding: 0px 40px 10px 40px;
background-image: url('/files/content-background.jpg');
background-repeat: repeat-y;
background-positon:top;
}
#footer{
clear:both;
padding-top: 5px;
padding-right: 40px;
padding-left: 50px;
height: 200px;
text-align: right;
font-size: x-small;
background-image: url('/files/footer-background.jpg');
background-repeat: no-repeat;
background-positon:top;
}

/* tables */

table {
width: 100%;
border-top: 1px solid #ccc;
border-left: 1px solid #ccc;
border-bottom: 1px solid #ccc;
clear:both;
padding: 0;
margin: 0 0 2em 0;
white-space: normal;
}
th {
background-color: #e2e2e2;
border-top: 1px solid #fff;
border-left: 1px solid #fff;
border-right: 1px solid #003d4c;
border-bottom: 1px solid #003d4c;
text-align: center;
padding:1px 4px;
}
table tr td {
border-right: 1px solid #ddd;
padding:4px 4px;
vertical-align:top;
/* text-align: center; */
text-align: left; /* Changed per Hamburger's request 12-31-07 dmm */
}
table tr.altRow td {
background: #f4f4f4;
}
table td.actions {
	white-space: nowrap;
}
#cakeSqlLog td {
text-align: left;
padding: 4px 8px;
background: #fff;
border-bottom: 2px solid #ccc;
}

/* scaffold show */

div.related {
clear:both;
display:block;
}
dl {
line-height:2em;
margin:0em 1em;
/*float:left; */
width: 400px;
}
dt {
font-weight: bold;
vertical-align:top;
}
dd {
margin-left:10em;
margin-top:-2em;
vertical-align:top;
}

/* notices and errors */

#flashMessage, .error, .error_message {
color:#900;
font-size: 16px;
background-color: #fff;
margin: 8px 0px;
font-weight: bold;
}
.error_message {
clear: both;
}
.error em {
font-size: 18px;
color: #003d4c;
}
.notice {
color: #656565;
font-size: 14px;
background-color: #f4f4f4;
padding: 0.5em;
margin: 1em 0;
display:block;
}
.tip {
color: #656565;
background-color: #ddd;
}

/* forms */

form {
// margin-top: 2em;
}
form div{
vertical-align: text-top;
margin-left: 1em;
margin-bottom:2em;
}
form div.date{
margin-left: 0em;
}
label {
display: block;
width: 300px;
font-size: 14px;
padding-right: 20px;
}
input[type=checkbox] {
/*float: left;*/
clear: left;
margin: 2px 6px 7px 2px;
}
input, textarea {
clear: both;
display:block;
font-size: 14px;
font-family: inherit;
}
select {
// clear: both;
vertical-align: text-bottom;
font-size: 14px;
font-family: inherit;
}
option {
font-size: 14px;
font-family: inherit;
// padding: 0 0.3em;
}
input[type=submit] {
display: inline;
vertical-align: bottom;
}
div.required {
clear: both;
color:#222;
font-weight:bold;
}
div.optional {
clear: both;
color:#555;
}
div.submit {
clear: both;
margin-top: 40px;
margin-left: 140px;
}
/* action links */
ul.actions {
/*float: left;*/
margin-left:20px;
width: 600px;
}
ul.actions li {
margin-top: 4px;
}
pre {
padding: 1em;
}
div.auto_complete {
    position         :absolute;
    width            :250px;
    background-color: rgb(240,255,240);
    border           :1px solid black;
    margin           :0px;
    padding          :0px;
	z-index: 1000;
}
li.auto_complete { list-style-type: none; } 
li.selected { background-color: #ffb; }
a.auto_complete { text-decoration: none; }
a.auto_complete:hover {background-color: #ffb; text-decoration:none; }
