@charset "UTF-8";
/* CSS Document */

body {
	margin: 0;
	padding: 0;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	font-size: 100%;
	line-height: 1.4;
	color: #000;
	background-color: #09F;
}

/* Element/tag selectors */
ul, ol, dl { /* Due to variations between browsers, it's best practices to zero padding and margin on lists. Specify the amounts here, or on the list items. Remember that what is done here will cascade to the .nav list unless I write a more specific selector. */
	padding: 0;
	margin: 0;
}
h1, h2, p {
	margin-top: 0;	 /* removing the top margin gets around an issue where margins can escape from their containing block. The remaining bottom margin will hold it away from any elements that follow. */
	padding-right: 15px;
	padding-left: 15px; /* adding the padding to the sides of the elements within the blocks, instead of the block elements themselves, gets rid of any box model math. A nested block with side padding can also be used as an alternate method. */
}
a { /* used to set the font for links */
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: .9em;
}

a img { /* this selector removes the default blue border displayed in some browsers around an image when it is surrounded by a link */
	border: none;
}
/* Styling must remain in this order - including the group of selectors that create the hover effect. */
a:link {
	color: #00F;
	text-decoration: none; 
}
a:visited {
	color: #006;
	text-decoration: none;
}
a:hover, a:active, a:focus { /* this group of selectors will give a keyboard navigator the same hover experience as the person using a mouse. */
	text-decoration: none;
}
/* This fixed width container surrounds all other blocks */
.container {
	width: 960px;
	background: #FFF;
	margin: 0 auto; /* the auto value on the sides, coupled with the width, centers the layout */
}

/* The header is not given a width. It will extend the full width of the layout. */
header {
	padding-top: 1ex;
	margin-bottom: 1ex;
	font-style:italic;
	text-align: center;
	border-bottom-width: medium;
	border-bottom-style: ridge;
	border-bottom-color: #000;
}

/* Used to toggle visiblity of the thumbnails and the enlarged image. */
#thumbNails {
	visibility: visible;
}
#thumbNails img {
	padding: 7px;
	cursor: crosshair;
}
#mainImg { /* used to hide and unhide the main image. */
	position: relative;
	left: 1px;
	top: -400px;
	cursor: crosshair;
	visibility: hidden;
}
/* These are the columns for the layout. 
1) Padding is only placed on the top and/or bottom of the block elements. The elements within these blocks have padding on their sides. This saves you from any "box model math".

2) No margin has been given to the columns since they are all floated.
*/
.sidebar1 {
	float: left;
	width: 160px;
	padding-top: 5px;
}
.content {
	padding: 5px;
	width: 600px;
	float: left;
	border-right-width: medium;
	border-left-width: medium;
	border-right-style: solid;
	border-left-style: solid;
	border-right-color: #000;
	border-left-color: #000;
}
aside {
	float: left;
	width: 160px;
	padding: 5px;
}

/* ~~ This grouped selector gives the lists in the .content area space ~~ */
.content ul, .content ol {
	padding: 0 15px 15px 40px; /* this padding mirrors the right padding in the headings and paragraph rule above. Padding was placed on the bottom for space between other elements on the lists and on the left to create the indention. These may be adjusted as you wish. */
}

/* ~~ The navigation list styles (can be removed if you choose to use a premade flyout menu like Spry) ~~ */
nav ul {
	list-style: none; /* this removes the list marker */
	margin-bottom: 15px; /* this creates the space between the navigation on the content below */
}

nav ul a, nav ul a:visited { /* grouping these selectors makes sure that your links retain their button look even after being visited */
	padding: 5px 5px 5px 15px;
	display: block; /* this gives the link block properties causing it to fill the whole LI containing it. This causes the entire area to react to a mouse click. */
	width: 140px;  /*this width makes the entire button clickable for IE6. Calculate the proper width by subtracting the padding on this link from the width of your sidebar container. */
	text-decoration: none;
	background-color: #FFF;
}
nav ul a:hover, nav ul a:active, nav ul a:focus { /* this changes the background and text color for both mouse and keyboard navigators */
	background: #00F;
	color: #FFF;
}

/* ~~ The footer ~~ */
footer {
	padding: 10px 0;
	position: relative;/* this gives IE6 hasLayout to properly clear */
	clear: both; /* this clear property forces the .container to understand where the columns end and contain them */
	background-color: #CCC;
	text-align:center;
}

/*HTML 5 support - Sets new HTML 5 tags to display:block so browsers know how to render the tags properly. */
header, section, footer, aside, nav, article, figure {
	display: block;
}
