/***** Body and main container *****/

body   { color: #c3b791; font: 76%/1.6em Verdana, Helvetica, Arial, sans-serif; background: #0b1518 url("(EmptyReference!)") repeat-y center top; margin: 0 auto; padding: 0 }

#wrap   { color: #fff7ce; background-color: #000; margin: 0 auto 0; padding: 0; width: 760px; height: 600px }

#header  { color: #fff7ce; background: #000 url("images/name_gif.gif") no-repeat 60px 10px; margin: 0 0 0; padding: 0; height: 140px }
#header_gallery { color: #fff7ce; background: #000 url("images/name_gif.gif") no-repeat 60px 10px; margin: 0; padding: 0; height: 85px }
#header_sky  { color: #505050; background: #ffffff url("images/cow_sky_logo8.jpg") no-repeat; margin: 0 0 0; padding: 0; height: 140px }

/***** Navbar *****/

div#navbar   { font-size: 0.9em; font-family: Verdana, Helvetica, Arial, sans-serif; font-weight: bold; background-color: #000; text-align: left; margin-left: 10px; padding: 8px 3px 3px; width: 700px }

#navbar ul li a:link, #navbar ul li a:visited  { color: #daba82; text-decoration: none; display: inline; margin-right: 0; padding: 3px 15px 3px 25px }

#navbar ul li a:hover, #navbar ul li a.current  { color: #4d92a6; text-decoration: none; border-bottom: 10px none #578ac3 }

#navbar ul li {
margin: 0px;
padding: 0px;
list-style-type: none;
display: inline;
}

#navbar ul {
margin: 0px;
padding: 0px;
}


/***** Left sidebar *****/

#avmenu {
clear; left;
float:left;
width:150px;
margin: 0px 0em 10px 0em;
padding:0;
}

#logos  { margin: 0 0 10px 0; padding: 0; width: 250px; float: right; clear: left }
#logos_leafworks { margin: 0 0 10px; padding: 0; width: 300px; height: 300px; float: right; clear: left }
#logos_gallery { margin: 0 0 10px; padding: 0; width: 190px; height: 300px; float: right; clear: left }
.news { color: #246; font-size: 1em; background-color: #fdff92; padding: 5px; width: 140px; border-color: #ff0;
border: #ff0 solid; }

.leftinfo    { font-size: 0.8em; font-family: Verdana, Helvetica, Arial, sans-serif; line-height: 1.6em; position: relative; left: 0; width: 160px }
.leftinfo_background { font-size: 0.8em; font-family: Verdana, Helvetica, Arial, sans-serif; line-height: 1.6em; position: relative; left: 0; width: 250px; height: 300px; overflow: auto }
.leftinfo_gallery  { font-size: 0.8em; font-family: Verdana, Helvetica, Arial, sans-serif; line-height: 1.6em; padding-top: 230px; position: relative; width: 120px }
.leftinfo_gallery_old { font-size: 0.8em; font-family: Verdana, Helvetica, Arial, sans-serif; line-height: 1.6em; position: absolute; top: 380px; left: 650px; width: 100px; float: right }
.leftentry { border-bottom: thin solid #aae6ff }
/***** Main content *****/

#content {
margin: 57px 10px 10px 260px;
padding:0;
line-height: 1.7em;
text-align: justify;
width: 450px; }

#content_index    { line-height: 2.2em; text-align: justify; margin: 0 10px 10px 30px; padding: 40px 0 0; width: 400px; height: 315px }

#content_home { line-height: 1.5em; text-align: center; margin: 10px 10px 10px 30px; padding: 0; width: 350px }

/***** Footer *****/

#footer   { color: #254753; font-size: 0.9em; background-color: #0d1a1e; text-align: center; margin-right: auto; margin-left: auto; padding: 8px 0; position: absolute; top: 570px; width: 760px; height: 20px; clear: both }
#footer_gallery { color: #152930; font-size: 0.9em; background-color: #020405; text-align: center; margin-right: auto; margin-left: auto; padding: 8px 0; position: absolute; top: 570px; width: 760px; height: 20px }
#footer p {
padding:0;
margin:0;
}

#footer a {
color:#808080;
background-color:inherit;
text-decoration:none;
}

#footer a:hover {
text-decoration:underline;
}

/***** Various tags *****/

a {
text-decoration:none;
color: #2c4764;
background-color:inherit;
}

a:hover {
text-decoration:underline;
color: #fe6c16;
background-color:inherit;
}

a img {
border:0;
}

p {
margin:0 0 16px 0;
}


/***** Various classes *****/

.left {
margin:10px 10px 5px 0;
float:left;
}

.right {
margin:10px 0 5px 10px;
float:right;
}

.textright {
text-align:right;
margin:-10px 0 4px 0;
}

.center {
text-align:center;
}

.small  { font-size: 0.9em; text-indent: 10px }

.large {
font-size:1.3em;
}

.bold {
font-weight:bold;
}

/***** Gallery *****/




/* gallery-specific styles */

/* gallery container */
.gallery  { background-color: #eee; text-align: center; padding: 0.5em; width: 180px; height: 400px; border: solid 1px #999 }

.gallery a {
	text-decoration: none;
}
.gallery a img {
	border-width: 1px;
	vertical-align: middle;
}

/* outer container for each image/caption pair */
.gallery p {
	display: inline;
}

/* For the <a> container, the best default display value is inline-table, but browser support isn't very good. Opera versions 6 and earlier totally mangle anything except display:table-cell, so that is set by default and the preferred display values are at the end of this stylesheet, within hacks that hide them from those Opera versions. No other browsers tested seemed to have any trouble with setting the different display values within a single rule. */

/* inner container for each image/caption pair */
.gallery a {
	display: table-cell;   /* default, for gecko & Opera6- */
	margin: .5em;
	padding: 5px;
	vertical-align: top;   /* aligns the img/caption container */
	width: 160px;            /* adjusts with text size */
	min-width: 110px;      /* not always honored, but that's OK */
	border: 1px solid #ccc;
}


/* image container, sets height so image can be vertically centered and the caption starts in the same vertical position regardless of image height, except WinIE does not apply line-height to images. oh well, most other browsers do... */
.gallery span {
	display: block;        /* fill container width, force a line break */
	height: 170px;         /* a bit larger than highest img */
	line-height: 170px;    /* same value as height */
	text-align: center;
/*	border: 1px dashed #f00; /* uncomment to show */
}

/* caption container, sets height (for 2 lines) so each outlined image/caption pair is the same height (except in WinIE) */
.gallery i {
	display: block;
	height: 2.5em;         /* makes each box a consistent height */
	padding: 5px 5px 0 5px;
	text-align: center;
	font-style: normal;
	line-height: 120%;     /* standard spacing */
/*	border: 1px dashed #00f; /* uncomment to show */
}

/* Owen hack, hides from WinIE, Opera versions 6- & some KHTML */
head:first-child+body .gallery a {
	display: table-cell;   /* gecko & Opera6- */
	display: inline-table; /* Safari & some other browsers */
	display: inline-block; /* WinIE & some other browsers */
}

/* star-html hack to show <a> rule(s) just to IE (Win and Mac) */
* html .gallery a {
	display: table-cell;   /* gecko & Opera6- */
	display: inline-table; /* Safari & some other browsers */
	display: inline-block; /* WinIE & some other browsers */
}
/* image is not clickable in WinIE with display:block :( \*/
* html .gallery span {
	display: inline;
}
* html .gallery a:hover i {
	cursor: hand; /* otherwise cursor doesn't change over block <i> */
} /* end WinIE hacks */

/* end hacks */
