/*---------------------------------------- undo browser defaults */
ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,body,html,p,blockquote,fieldset,input { 
	margin: 0; 
	padding: 0; 
}
h1,h2,h3,h4,h5,h6,pre,code { 
	font-size: 1em; 
}
a img {
	border: none;
}
ul {
	list-style-type: none;
}

/*---------------------------------------- global styles */
body {
	background-color: #CDDCE4;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: .8em;
	color: #666666;
}
a:link {
	color: #6E9B32;
}
a:visited {
	color: #6E9B32;
}
a:hover {
	color: #6E9B32;
	font-weight: bold;
}
#wrapper {
	width: 690px;
	margin: 0 auto 20px auto;
	border: 20px solid #019ED5;
	border-bottom-width: 40px;
	padding: 20px;
	background-color: #FFFFFF;
}

/*---------------------------------------- main navigation panel */
#mainNav {
	float: left;
	width: 140px;
}
#mainNav #logo {
	margin-bottom: 30px;
}
#mainNav ul {
	list-style-type: none;
	border-bottom: 1px solid #88C8DD;
}
#mainNav ul li a {
	color: #019ED5;
	font-weight: bold;
	text-decoration: none;
	display: block;
	background-color: #E6F4F8;
	border: 1px solid #88C8DD;
	border-bottom: none;
	padding: 10px;
}
#mainNav ul li a:hover {
	color: #FFF;
	background-color: #019ED5;
}
* html #mainNav ul li a {                  /*make entire nav button clickable in IE*/
	height: 1px;             
}

/*---------------------------------------- highlight nav button for current page */
#home #homeLink,
#adopt #adoptLink,
#volunteering #volunteerLink,
#programs #programsLink,
#about #aboutLink,
#help #helpLink,
#contact #contactLink,
#donate #donateLink 
#hiring #hiringLink {
	color: #FFF;
	background-color: #019ED5;
}

/*---------------------------------------- content wrapper */
#contentWrapper {
	width: 525px;
	background-color: #FFF;
	border: 1px solid #019ED5;
	float: right;
	min-height: 500px;
}
* html #contentWrapper {                   /*fix min-height bug in IE*/
	height: 500px;
}
#home #contentWrapper {
	background-image: url(../images/column_bg.gif);
}

/*---------------------------------------- force wrappers to expand to contain floated divs */
br.clear {
	clear: both;
}

/*---------------------------------------- adoption center photo and description */
#adoptionCenterDescription {
	width: 245px;
	padding: 20px;
	float: left;
}
#adoptionCenterDescription img {
	margin-bottom: 10px;
}
#adoptionCenterDescription p {
	width: 245;
	line-height: 135%;
	margin-bottom: 5px;
}

/*---------------------------------------- homepage sidebar */
#sidebar {
	width: 200px;
	padding: 20px;
	float: right;
	color: #019ED5;
	font-weight: bold;
}
#sidebar h1 {
	background-color: #AEDB72;
	color: #FFF;
	font-size: 1.1em;
	font-weight: bold;
	padding: 10px 0px 10px 15px;
}
#adoptionCenter,
#seeCats,
#makeDonation
#newsletterSignup {
	margin-bottom: 15px;
}

/*---------------------------------------- adoption center hours and location */
#adoptionCenter {
	background: #FFF;
}
#adoptionCenter p {
	padding: 20px 0 20px 15px;
}

/*---------------------------------------- newsletter signup form */
#newsletterSignup {
	background: #AEDB72;
	color: #FFF;
}
#newsletterSignup form {
	padding-left: 15px;
	padding-bottom: 15px;
}

/*---------------------------------------- sidebar buttons */

/*note: buttons are formatted as list items as a workaround for IE ...
the :hover psuedo class cannot be applied to block level elements (like a div) in IE6,
so I used <li> in order to make the whole button clickable with a hover effect*/

#sidebar li.button a {
	color: #019ED5;
	line-height: 135%;
	font-weight: bold;
	text-decoration: none;
	display: block;
}
#sidebar li.button a:hover {
	border: 2px solid #AEDB72;
}
* html #sidebar li.button a {              /*make entire button clickable in IE*/
	height: 1px;             
}
#seeCats a {
	padding: 25px 0 20px 15px;
	background: #FFF url(../images/calico_headshot.jpg) bottom right no-repeat;
}
#makeDonation a {
	padding: 20px 0 35px 15px;
	background: #FFF url(../images/songa.jpg) bottom right no-repeat;
}

/*---------------------------------------- footer */
#footer {
	width: 730px;
	margin: -45px auto 0 auto;
	clear: both;
	color: #FFF;
	font-size: .9em;
}
#adminLogin {
	color: #FFF;
	text-align: right;
	margin-top: -1.2em;
}
#footer a:link,
#footer a:visited {
	color: #FFF;
}
#footer a:hover {
	font-weight: bold;
}

/*---------------------------------------- page title */
.pageTitle {
	background-color: #019ED5;
	padding: 10px 0 10px 20px;
	color: #FFF;
	font-size: 1.2em;
}

/*---------------------------------------- page navigation */
.pageNav {
	background-color: #9AD0E2;
	padding: 10px 0 10px 10px;
}
.pageNav li {
	display: inline;
	border-right: 1px solid #019ED5;
	padding: 0 10px 0 10px;
}
.pageNav li.last {
	border-right: none;
}
#contentWrapper .pageNav a:link,
#contentWrapper .pageNav a:visited {
	color: #FFF;
	font-weight: bold;
	text-decoration: none;
}
#contentWrapper .pageNav a:hover {
	color: #FFF;
	text-decoration: underline;
}
/*highlight link for current page */
#contentWrapper .pageNav a:link.current,
#contentWrapper .pageNav a:visited.current {
	color: #019ED5;
	font-weight: bold;
}


/*---------------------------------------- cat master list */
#adopt table {
	border: 1px solid #019ED5;
	margin: 0 0 20px 0;
	width: 480px;
	text-align: left;
}

/*---------------------------------------- cat master list */
#shareThis {
	text-align: right;
}

/*---------------------------------------- text pages */
.text {
	background-color: #FFF;
	padding: 20px;
}
.text h2 {
	color: #019ED5;
	font-size: 1.2em;
	font-weight: bold;
	margin-bottom: 5px;
	padding-bottom: 5px;
	border-bottom: 1px solid #019ED5;
	overflow: hidden;
}
.text h3 {
	color: #019ED5;
	font-weight: bold;
	margin-bottom: 10px;
}
.text p {
	margin-bottom: 20px;
}
.text ul li {
	margin-bottom: 10px;
}
/*style photos and captions on text pages*/
.text .photo {
	float: right;
	width: 200px;
	margin: 0 0 10px 15px;
	background-color: #88C8DD;
}
.text .photo p {	
	padding: 5px;
	background-color: #88C8DD;
	margin: 0;
}
/*add margin under cat photo on detail page*/
.text img.cat {
	margin-bottom: 20px;
}
.text h3.cat {
	margin-bottom: 0;
}
/*---------------------------------------- admin area */
#admin table {
	border-collapse: collapse;
	margin-bottom: 20px;
}
#admin table td {
	border: 1px solid #019ED5;
	padding: 5px;
}
#admin table th {
	background-color: #019ED5;
	color: #FFF;
	padding: 5px;
	border: 1px solid #019ED5;
}
/*eliminate borders around radio button tables*/
#admin table.radio td{                     
	border: none;
}
/*style links in admin area*/
#admin a:link {
	color: #019ED5;
}
#admin a:visited {
	color: #019ED5;
}
#admin a:hover {
	color: #AEDB72;
	font-weight: bold;
}

/*---------------------------------------- user forms */
#userForm label, label span {
	display: block;
	padding-bottom: .25em;
}
#userForm label {
	float: left;
	width: 100%;
}
#userForm label span {
	float: left;
	width: 30%;
	text-align: left;
	margin-right: 10px;
}
#userForm fieldset {
	padding: 20px;
	border: none;
	background-color: #E6F4F8;
}
#userForm fieldset input {
	float: left;
	width: 45%;
	border: 1px solid #CCCCCC;
}
#userForm fieldset input:hover {
	border: 1px solid #019ED5;
}
