/* ********************************************************************************************** GLOBAL */
body {
	border:0;
	margin:0;
	padding:0;
	width:1029px;
	background: white url(/images/background.png) repeat-y;
	font-family: Georgia, Arial, Helvetica, sans-serif;
	}

#shell {	/* universal content wrapper */
	margin: 0 auto;
	width: 975px;
	padding: 0;
	}

.wall {	/* all-purpose float barrier */
	clear: both;
	height: 1px;
	}

img {	/* because Firefox is annoying */
	border-style: none;
	}

/* ------------------------------------------------------------------- Buttons, Lists and Inputs */
input, .gradient {
	border-bottom:2px solid gray;
	border-left:1px solid #b0b0b0;
	border-top:1px solid #b0b0b0;
	border-right:2px solid gray;
	vertical-align: middle;
	font-family: Georgia, Arial, Helvetica, sans-serif;
	}
	
	input .large {
		padding: 12px 0 12px 10px;
		}

.gradient {
	background: url(/images/header2-background.png) repeat-x;
	color: white;
	padding: 10px;
	font-weight: bold;
	font-size: 1em;
	margin: 1px;
	}

	.gradient:hover {
			background: url(/images/header3-background.png) repeat-x;
			}

	.gradient:active{
			background-image: none;
			background-color: white;
			color: red;
			border-bottom:1px solid #b0b0b0;
			border-left:2px solid gray;
			border-top:2px solid gray;
			border-right:1px solid #b0b0b0;
			}

ul.paws {	/* PetsMD logos as bullets for lists */
	list-style-image: url("images/bulletpaw.png");
	}
			
/* ********************************************************************************************** HEADER */

#top {	/* block containing entire header */
	text-align: center;
	}

#topad {		/* advertisement in header */
	margin: 10px auto;
	}
	
/* ------------------------------------------------------------------- Top Navigation Bar */
#topnav {
	background: url(/images/navigation-background.png) repeat-x;
	color: black;
	width: 100%;
	padding: 10px 0;
	font-size: .8em;
	height: 40px;
	}

	#topnav ul {
		padding: 0;
		margin: 0;
	}

	#topnav ul li {
		display: inline;
		padding: 0 1em .2em 1em;
		height: 1.2em;
		float: left;
		border-right: 1px solid black;
		font-weight: bold;
	}

	#topnav ul li a {
		color: black;
		text-decoration: none;
		font-weight: bold;
		}
	
	#topnav ul li a:hover { color: #989898; }

	#topnav ul.login { float: right; }
	
	#topnav ul li.last { border: none; }

/* ----------------------------------------------------------------- Logo + Search area */
#banner {
	display: block;
	height: 100px;
	width: 100%;
	margin-bottom: 1px;
	}
	
	#logo {
		margin: -10 0 20px 35px;
		float: left;
		width: 325px;
		padding-left: 5px;
		}
	
	#search_wrap {
		background: url(/images/gray-background.png) repeat-x;
		float: right;
		padding: 20px;
		margin: 0 15px;
		}
		
/* --------------------------------------------------------- Page Title (non-index pages) */

.title {	
	font-size: .8em;
	font-weight: bold;
	height: 70px;
	background: url(/images/header2-background.png) repeat-x;
	color: white;
	margin: 0;
	}
	
	.title h1 {
		position: relative;
		top: -7px;
		background: url(/images/header-icon-vet.png) no-repeat !important;
		height: 70px;
		text-indent: 83px;
		line-height: 2.5em;
		}
	/* h1 = page titles on red banners at top of page.  Use h2 for top-level header in page body. */

/* ******************************************************************************************* PAGE BODY */

.page {
	position: relative;
	top: 0;
	margin: 0 auto 4em auto;
	}
	
	.page form {
		position: relative;
		}
	
	.page form input  {
		position: absolute;
		left: 200px;
		}
	.page form select {
		position: absolute;
		left: 200px;
		}

	.page form p {
		margin-left: 0;
		width: 180px;
		text-align: right;
		font-size: .8em;
		}
		
		.page form p.formspacer {
			line-height: 3em;
			}
	
/* ------------------------------------------------------------------------------ Full Text Page */
/* $page_type = "fulltext"; one column, text, list or simple form, eg 'about.php', 'link-to.php' */

	.page.fulltext {
		width: 90%;
		}
		
		.page.fulltext h3 {
			margin-left: 1em;
			}
		
		.page.fulltext p {
			margin-left: 2em;
			}
			
		.page.fulltext ul {
			margin-left: 3em;
			line-height: 1.4em;
			}
		


/* ---------------------------------------------------------------------------------------------- Demi Text Page */
/* $page_type = "demi_text"; two columns with text on left, modules/ads/links on right, eg '404.php', 'News.php' */

	.page.demi_text p, .page.demi_text h3 {
		margin-left: 1em;
		}
	
	.page.demi_text ul {
		margin-left: 2em;
		}

		.demi_left {
			width: 70%;
			float: left;
			padding: 0 2em 0 1em;
			}
			
		.demi_right {
			width: 25%;
			float: left;
			}

/* ------------------------------------------------------------------------------ Function Page */
/* $page_type = "function"; blank page for custom formatting of unique pages, eg 'FAV-SignUp.php',
	'findavet.php'.  This section holds the custom format sets for each Function page. */

/* -------------------------------------------------------------------------- Card Search Page */
/*	$page_type = "card_search"; page with red a-to-z search window at left and links to right, eg
	'Dogs.php', 'Cat-Health.php' */
	
/* ---------------------------------------------------------------------- Menu Page */
/* $page_type = "menu"; three-column image menu, eg 'presspage.php', 'partners.php' */

div.table-row{
	margin-left: auto; margin-right: auto;
	padding: 0;
	text-align: center;
	width: 90%;
	}

#leftcolumn{
	float: left;
	width: 30%;
	}
	
#rightcolumn{
	float: right;
	width: 30%;
	}

#centercolumn{
	float: left;
	margin-left: 35px;
	width: 30%;
	}

.table-pic{
	vertical-align: bottom;
	height: 100px;
	margin-bottom: 5px;
	}

.table-text {
	vertical-align: top;
	height: 100px;
	margin-bottom: 20px;
	}
	
/* --------------------------------------------------------------------- Index Page */
/* $page_type = "index"; exclusive to index.php */

	.page.index #column_one {
		float: left;
		width: 25%;
		padding: 0 7px;
		}
	
	.page.index #column_two {
		float: left;
		width: 40%;
		margin: 0 auto;
		padding: 0 3px;
		}
	
	.page.index #column_three {
		float: right;
		width: 25%;
		padding: 0 7px;
		}
	
	.sidemodule {
		margin: 0;
		padding: 0;
		font-size: 1em;
		color: #686868;
		}
	
		.sidemodule p {
			margin: 0;
			padding: 0;
			}
	
		.sidemodule ul {
			margin: 0 0 .3em 1.5em;
			padding: 0;
			}
			
			.sidemodule ul a, .sidemodule ul a:visited {
				text-decoration: none;
				color: #686868
				}
				
				.sidemodule ul a:hover {
					text-decoration: underline;
					color: #b0b0b0;
					}
	
		.sidemodule h1 {
			font-size: 1em;
			font-weight: bold;
			height: 70px;
			background: repeat-x;
			color: white;
			margin: 0;
			line-height: 3em;
			text-indent: 70px;
			}
		
			.sidemodule.conditions h1 {
				background-image: url(/images/header2-background.png);
				}
		
			.sidemodule.shop h1 {
				background-image: url(/images/header2-background-blue.png);
				}
	
		.sidemodule h2 {
			font-size: .8em;
			color: #085d9c;
			font-weight: bold;
			margin: 0;
			padding: 0;
			}

	.page.index #partners {
		width: 100%;
		margin: 0;
		padding: 30px 0 20px 0;
		text-align: center;
		border-top: 1px solid lightgray;
		}

	.page.index #partners img {
		margin: 0 30px 0 0;
		vertical-align: middle;
		}
	
	.page.index #partners a{
		text-decoration: none;
		}
		
		.page.index #partners a:hover{
			text-decoration: underline;
			}
			
/* ********************************************************************************************* MODULES */

.prefoot {
	position: relative;
	top: 0;
	margin: 0 auto 4em auto;
	}

	.tri_one {
		width: 30%;
		float: left;
		margin: 1em;
		padding: 0 1em;
		}
	
	.tri_two {
		width: 30%;
		float: left;
		}
	
	.tri_three {
		width: 30%;
		float: right;
		}


/* ********************************************************************************************** FOOTER */

#foot {
	background: url(/images/footer-background.png) repeat-x;
	background-color: black;
	position: relative;
	width: 100%;
	margin: 0 auto;
	padding: 0;
	color: white;
	font-size: .7em;
	}

.footcolumn {
	margin: 13px 30px 13px 13px;
	float: left;
	width: 200px;
	}
	
	.footcolumn ul {
		margin:0;
		padding: 0;
		list-style-type: none;
		}
	
	.footcolumn ul li {
		margin: 0 0 .75em 0;
		}
		
	.footcolumn a{
		color: white;
		text-decoration: none;
		}
		
	.footcolumn a:hover {
		text-decoration: underline;
		}
		
#foot_disclaimer {
	margin: auto;
	width: 90%;
	text-align: center;
	}
	
#foot #admin_edit {
	text-align: right;
	padding: .5em 2em 1em 0;
	}