#wrapper {
	
	margin: 20px auto 0;
	width: 940px;
}



#logo {
	width: 230px;
	padding-left: 10px;
	height: 90px;
	float: left;
	margin-top: -10px;
	padding-bottom: 10px;
}

/* width needs to be the same as #sidebar and height as #menu1 and #menu2*/

#menu1, #menu2 {
	width: 150px;
	height: 90px;
	float: left;
	font: 15px/30px "Courier New", Courier, mono;
	text-transform: capitalize;
}
/* height needs to be the same as #logo and #menu2*/


#space {

	width: 400px;
	height: 90px;
	font-size: 10px;
	float: left
}

/* height needs to be the same as #logo and #menu1 and #menu2

width of #logo and #menu1 and #menu1 and #space should = width of #wrapper = 900px
*/

#sidebar {
	
	width: 230px;
	padding-left: 10px;
	height: 550px;
	font-size: 10px;
	float: left;
	color: #ccc;
}

/* width needs to be the same as #logo */

#sidebarinfo {
	width: 205px;
	height: 520px;
	border-top: 1px solid #ccc;
	padding-top: 10px;
	overflow: auto;
	color: #7c7c7c;
	font: 11px "Courier New", Courier, mono;
	margin-top: 20px;
}

/* contains the text in the sidebar - edit font size etc here*/


#main {
	
	width: 700px;
	height: 550px;
	font-size: 10px;
	float: left;
	border-top: 1px solid #fff;
}

/* contains the whole section of the image gallery including #thumbbar, #hoverbar and the main image */



#hoverbar{
	width: 700px;
	height: 12px;
	font-size: 10px;
	float: left;
	background-color: #f7f9f6;
	
	
}

/* the bar which you hover over to activate the drop down thumnail menu */


#thumbbar{
	
	width: 700px;
	height: 120px;
	font-size: 10px;
	float: left;
	position: relative;
	z-index: 3;
	background-color: white ;
}

/* the thumnail bar which appears on hover */

span.thumb{
	width: 50px;
	height: 50px;
	background-color: white;
	float: left;
	margin: 5px;
}
/* sets size and spacing of thumnails */

#gallery{
	
	width: 670px;
	height: 420px;
	font-size: 10px;
	float: left;
	margin-top: -100px;
}

/* the main area containing the image */

#image {
	background-color: #fff;
	width: 650px;
	height: 450px;
	margin-left: 5px;
	overflow: hidden;
}

#mainImage {
	max-height:450px;
	max-width: 650px
	
	
}

/* sets main image size */


#last, #next {
	float: left;
	width: 30px;
	height: 30px;
	opacity: 0.7;
}
#last {
	margin-top: 280px;
}	


#commentbar{
	
	width: 700px;
	height: 50px;
	float: left;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	margin-top: 20px;
}

/* caption bar at the bottom */


