html, body {
    margin: 0;
    padding: 0;
}

body {
    background: url('../images/bg.jpg') repeat;
}

a {
    color: white;
    text-decoration: none;
}

.underlineLink:hover {
    text-decoration: underline;
}

.blackbgLink:hover {
    background-color: #333;
}

#all {
    position: absolute;
    width: 740px;
    margin-left: -370px;
	margin-bottom: 24px;
	top: 0;
	bottom: 24px;
    left: 50%;
    font-family: "franklin gothic book", century gothic, avante garde, verdana, tahoma, arial;
    color: white;
    font-size: 1em;
}

#header {
    position: absolute;
    height: 125px;
    width: 740px;
}

#logoImg {
    position: relative;
    top: 10px;
}

#headerContact {
    position: absolute;
    right: 0;
    bottom: 0;
    text-align: right;
}

#main {
    position: absolute;
    height: 500px;
    width: 740px;
    top: 125px;
    border: solid black 2px;
    background: url('../images/mainBg.jpg');
    z-index: 0;
}

.adImg {
    display: none;
}

#mainSlideshowHover {
    position: absolute;
    top: 260px;
    z-index: 9;
    height: 80px;
	width: 60px;
    left: 612px;
}

#content {
    position: absolute;
    width: 600px;
    height: 300px;
    border: solid black 1px;
    top: 56px;
    left: 70px;
    z-index: 10;
    text-align: center;
}

#contactContent {
	position: absolute;
	width: 600px;
	height: 316px;
	background-color: black;
	left: 70px;
	top: 26px;
	font-size: 90%;
	line-height: 140%;
	padding: 14px;
}

#contactText {
	width: 290px;
	float: left;
}

#contactText h3 {
	margin-top: 0;
	font-family: georgia, "times new roman", times, serif;
}

#thankYouContent {
	position: absolute;
	width: 600px;
	height: 286px;
	background: #000;
	left: 70px;
	top: 56px;
	font-size: 110%;
	text-align:center;
	line-height: 160%;
	padding: 14px;
}

#thankYouContent p {
	margin: 40px;
	font-family: tahoma, verdana, arial, sans-serif;
	font-size: 300%;
	font-style: italic;
	font-weight: bold;
}

#thankyouImg {
	float: left;
	margin-right: 20px;
}

#aboutContent {
	position: absolute;
	width: 600px;
	height: 286px;
	background-color: black;
	left: 70px;
	top: 56px;
	font-size: 90%;
	padding: 14px;
}

#aboutContent p {
	margin-top: 0;
	line-height: 140%;
}

#aboutImg {
	float: left;
	border: solid white 1px;
	margin-right: 10px;
}

#greenContent {
	position: absolute;
	width: 600px;
	height: 286px;
	background: url('../images/greenBg.jpg');
	left: 70px;
	top: 56px;
	font-size: 100%;
	padding: 14px;
}

#greenContent p {
	margin-top: 0px;
	line-height: 140%;
}

#greenImg {
	float: left;
	margin-right: 10px;
	border: solid white 1px;
}

#galleryBg {
    position: absolute;
    width: 700px;
    height: 332px;
    left: 20px;
    top: 20px;
    background: url('../images/galleryBg.jpg');
	z-index: 5;
}

#gallery {
    position: absolute;
    width: 500px;
    height: 300px;
    left: 40px;
    top: 36px;
    z-index: 10;
	overflow:hidden;
	border: solid black 1px;
}

#left {
	position: absolute;
	left: 20px;
	top: 40px;
	z-index: 10;
	border: none;
}

a img {
	border: none;
}

#slideshowControls {
	position: absolute;
	width: 75px;
	height: 173px;
	top: 36px;
	left: 542px;
	z-index: 10;
}

#prev,
#prev span {
	display: block;
	width: 75px;
	height: 43px;
	position: relative;
	overflow: hidden;
}

#prev span {
	width: 150px;
	background: url('../images/controlsPrev.png') 0 0 no-repeat;
	text-indent: -9000px;
}

#pause,
#pause span {
	display: block;
	width: 75px;
	height: 40px;
	position: relative;
	overflow: hidden;
}

#pause span {
	width: 150px;
	background: url('../images/controlsPause.png') top left no-repeat;
	text-indent: -9000px;
}

#play,
#play span {
	display: block;
	width: 75px;
	height: 41px;
	position: relative;
	overflow: hidden;
}

#play span {
	width: 150px;
	background: url('../images/controlsPlay.png') top left no-repeat;
	text-indent: -9000px;
}

#next,
#next span {
	display: block;
	width: 75px;
	height: 49px;
	position: relative;
	overflow: hidden;
}

#next span {
	width: 150px;
	background: url('../images/controlsNext.png') top left no-repeat;
	text-indent: -9000px;
}

#menu {
    position: absolute;
    left: 70px;
    top: 380px;
    width: 256px;
    height: 114px;
    background: url('../images/menuBg-repeat-x.png') 0 0 repeat-x;
}

#galleryMenu {
    position: absolute;
    left: 20px;
    top: 360px;
    width: 256px;
    height: 114px;
    background: url('../images/menuBg-repeat-x.png') 0 0 repeat-x;
}

#mainMenu {
	z-index: 5;
    position: absolute;
    top: 0;
    left: 0;
    width: 120px;
    height: 114px;
}

.mainMenuItem {
	height: 18px;
    width: 110px;
	float: left;
	margin: 4px auto auto 6px;
	overflow: hidden;
}

.mainMenuItemImg:hover {
	margin-left: -118px;
}

#gallerySelection {
	z-index: 5;
    position: absolute;
    left: 120px;
    top: 0;
    width: 136px;
    height: 114px;
}

#gallerySelectionHeader {
    font-size: 108%;
    border-bottom: solid black 2px;
	margin-bottom: 4px;
}

.gallerySelectionItem {
	float: left;
    width: 118px;
	height: 18px;
	margin-left: 6px;
	overflow: hidden;
	padding: 0;
}

.galleryMenuItemImg:hover {
	margin-left: -116px;
}

#galleryThumbnailsBg {
	position: absolute;
	left: 286px;
	top: 360px;
	margin: 0;
	padding: 0;
	z-index: 6;
	height: 126px;
	width: 430px;
	overflow: hidden;
	background: url('../images/thumbsBg.png') 0 0 repeat-x;
}

#galleryThumbnails {
	position: absolute;
	top: 0;
}

/* div > a > img */

#galleryThumbnails div {
	float: left;
	width: 63px;
	height: 38px;
	margin: 2px 3px 2px 3px;
	display: inline;
	border: 0;
}

#galleryThumbnails a {
	float: left;
	width: 71px;
	height: 42px;
	background-color: black;
	display: inline;
	border: 0;
}

#galleryThumbnails a img {
	border: 0;
	padding: 0;
	margin: 2px 4px 2px 4px;
}

#galleryThumbnails a:focus {
	outline: none;
}

#galleryThumbnails a.activeSlide {
	background-color: white;
}

#galleryThumbnails img {
	border: none;
	display: block;
}

#galleryThumbnailsScrollbar {
	position: absolute;
	display: none;
	left: 716px;
	top: 360px;
	height: 126px;
	width: 24px;
	background-color: black;
}

#galleryThumbnailsScrollbarUp {
	position: absolute;
	height: 30px;
	width: 30px;
	top: 0;
	left: 0;
	display: block;
	overflow: hidden;
	background: url('../images/up.jpg') top left no-repeat;
}

#galleryThumbnailsScrollbarUp:hover {
	background: url('../images/up.jpg') bottom left no-repeat;
}

#galleryThumbnailsScrollbarDown {
	position: absolute;
	height: 30px;
	width: 30px;
	top: 96px;
	left: 0;
	display: block;
	overflow: hidden;
	background: url('../images/down.jpg') top left no-repeat;
}

#galleryThumbnailsScrollbarDown:hover {
	background: url('../images/down.jpg') bottom left no-repeat;
}

#upImg {
	position: absolute;
	width: 20px;
	height: 60px;
	display: block;
}

#downImg {
	position:  absolute;
	width: 20px;
	height: 60px;
	display: block;
}

#materialsGallery {
	position: absolute;
	height: 280px;
	width: 380px;
	top: 40px;
	left: 320px;
	background-color: #ccc;
	z-index: 5;
	color: black;
}

.materialsSlide {
	position: absolute;
	width: 380px;
	height: 280px;
	display: none;
}

.materialsImage {
	position: absolute;
	border: solid black 1px;
	margin: 14px 4px 14px 4px;
}

.materialsDescription {
	width: 100px;
	position: absolute;
	left: 260px;
	margin: 14px 4px 14px 4px;
}

#materialsThumbnails {
	position: absolute;
	left: 30px;
	top: 40px;
	height: 280px;
	width: 280px;
	z-index: 5;
}

#materialsThumbnails div {
	float: left;
	width: 50px;
	height: 50px;
	margin: 2px;
}

#materialsThumbnails a {
	width: 50px;
	height: 50px;
	padding: 1px;
	display: block;
}

#materialsThumbnails a:focus {
	outline: none;
}

#materialsThumbnails a.activeSlide {
	background-color: white;
}

#materialsThumbnails img {
	border: none;
	display: block;
}

#tcdPlug {
    width: 11px;
    height: 235px;
    position: absolute;
    left: -11px;
    top: 390px;
    border: none;
}

#footer {
	height: 20px;
	width: 740px;
	position: absolute;
	top: 630px;
}

#debug {
	position: absolute;
	top: 700px;
	background-color: white;
}

