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

body {
margin:0 auto;
padding:0;
font: 76%/1.6em Verdana, Helvetica, Arial, sans-serif;
background: #ffffff url(images/bg.gif) repeat-y top center;
color:#3a3a3a;
}

#wrap {
background-color: #ffffff;
color: #224466;
margin:0 auto;
padding:1px 5px;
width:760px;
}

#header {
color:#505050;
background: #ffffff url(images/cow4small.gif) no-repeat 60px 10px;
height:140px;
margin:0 0 0px 0;
padding:0;
}

#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: #ffffff; text-align: center; padding: 3px; width: 450px; border-top: thin dotted #cccccc; border-bottom: thin dotted #cccccc }

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

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

#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 {
clear: left;
float:left;
width:150px;
margin: 0px 0px 10px 0em;
padding:0;
 }

#logos_gallery {
clear: left;
float:left;
width:150px;
margin: 15px 0px 10px 0em;
padding:0;
 }
.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; position: relative; left: 40px; width: 160px }
.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 {
margin: 0px 10px 10px 260px;
padding:0;
line-height: 1.7em;
text-align: justify;
width: 450px; }

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

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

#footer {
clear:both;
margin:0 auto;
padding:8px 0;
border-top:2px solid #dadada;
width:760px;
text-align:center;
color:#808080;
background-color: #ffffff;
font-size:0.9em;
}

#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.8em;
}

.large {
font-size:1.3em;
}

.bold {
font-weight:bold;
}

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




/* gallery-specific styles */

/* gallery container */
.gallery {
	text-align: center;    /* centers inline paragraphs */
	
	background-color: #eee;
	border: 1px solid #999;
	padding: .5em;
width: 450px; }

.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 */
