html, body { height:100%; min-height: 750px; }

body {
	background: #8c8c8c;
	color: #000;
	font-family: helvetica, lucidia, arial, sans-serif;
	margin: 0;
    max-width: 976px;
    min-height: 750px;
}

body.flowers { background: url(images/backgrounds/flowers.jpg) fixed no-repeat #fff; }
body.hostile { background: url(images/backgrounds/hostile.jpg) fixed no-repeat #fff; }
body.ironing { background: url(images/backgrounds/ironing.jpg) fixed no-repeat #fff; }
body.vacuum { background: url(images/backgrounds/vacuum.jpg) fixed no-repeat #fff; }
body.wardrobe { background: url(images/backgrounds/wardrobe.jpg) fixed no-repeat #fff; }
body.watches { background: url(images/backgrounds/watches.jpg) fixed no-repeat #fff; }
body.ontology { background: url(images/backgrounds/ontology.jpg) fixed no-repeat #fff; }
body.robots { background: url(images/backgrounds/robots.jpg) fixed no-repeat #fff; }
body.stumbling { background: url(images/backgrounds/stumbling.jpg) fixed no-repeat #fff; }

img { border: 0; }

/*
 * Layout the page
 */

div.wrapper { position: relative; top: 78px; width: 800px; height: 750px; margin: 0 auto; }

/* +181 */
.logo { position: absolute; left: 0px; top: 0px; }
div.navigation { position: absolute; left: 182px; top: 162px; }
h1.title { display: block; position: absolute; left: 392px; top: 153px;	}
div.tabs { position: absolute; left: 62px; top: 192px; }
div.main { position: absolute; left: 181px; top: 191px; }
div.images { position: absolute; left: 182px; top: 511px; }
div.info { position: absolute; left: 0px; top: 692px; }

.logo img { display: block; }

/*
 * Title image
 */

h1.title  { margin: 0; font-weight: 900; color: #fff; }

/*
 * Navigation drop down
 */

div.navigation { width: 207px; height: 24px; }
div.navigation .nav1 { position: relative; overflow: hidden; width: 176px; height: 23px; padding: 1px 15px 0 15px; }
* html div.navigation .nav1 { width: 206px; height: 24px; w\idth: 176px; he\ight: 23x; }
div.navigation .nav1 span { position: absolute; display: block; left: 0px; top: 0px;
	width: 206px; height: 24px;
	background: url(images/navigation.png) 0 0 no-repeat; }
div.navigation:hover .nav1 span, div.navigation.hover .nav1 span {
	background: url(images/navigation.png) -210px 0 no-repeat; }

div.navigation .popup {
	display: block; margin: 0; padding: 0;
	top: 24px; width: 206px;
	position: absolute;
	left: -9999px;
	overflow: hidden;

}

div.navigation:hover .popup, div.navigation.hover .popup {
	left: auto;
}

div.navigation ul {
	display: block; margin: 0; padding: 0; list-style: none;
	background: #9C9D9C url(images/navigation.png) -630px 0 repeat-y;
	color: #fff;
	padding-top: 3px;
}
* html div.navigation ul { zoom: 1; }

div.navigation ul li a { display: block; text-decoration: none; background: #9C9D9C; color: #000; text-align: center; padding: 3px; margin: 0 2px; }
div.navigation ul li a:hover { color: #fff; }
div.navigation .bottom { display: block; padding: 13px 0 0 0; background: url(images/navigation.png) -420px 100% no-repeat; }

/* Main text box */

div.main { width: 610px; height: 266px; padding: 1px 8px 8px 1px; background: url(images/main.png); color: #fff; }
div.main div.main-1 { margin-top: 20px; margin-left: 20px; width: 570px; height: 226px; overflow: auto; }

div.main { font-size: 0.8em; line-height: 1.2em; }
div.main h1, div.main h2, div.main h3 { font-size: 2em; line-height: 1em; font-weight: bold; margin: 0; color: #000; }
div.main p { margin: 0 0 1.2em 0; }
div.main a { color: #ddd; }
div.main .contact-info { font-size: 2em; line-height: 1em; margin: 0 0 0.6em 0; }

/* Scrolling thumbnails */

img.leftright { position: absolute;	left: 750px; top: 490px; }

div.images {
    width: 610px; /* 2px too much? */
    background-color: #fff;
    margin-left: 1px;

    border-radius: 20px/16px;
    box-shadow: 4px 4px 5px rgba(0,0,0,0.8);

    zoom: 1;
}

div.images div.images-4 {
	position: relative;
	margin: 10px;
	overflow: auto;
	white-space:nowrap;
	width: 588px;
	height: 150px; /* A bit of extra height for the scroll bar */
}

body.javascript div.images div.images-4 {
	height: 130px;
}

#frontscroll-contents {
	position: absolute;
	left: -95px;
	background: #fff;
}

body.javascript div.images div.images-4 {
	overflow: hidden;
}

div.images div.imagecount {
	height: 130px;
}

div.images .image {
	position: absolute;
	display: block;
	width: 189px;
	height: 130px;
	top: 0px;
}

div.images div.imagecount-1 { position: absolute; left: 200px; width: 189px; }
div.images div.imagecount-2 { position: absolute; left: 100px; width: 388px; }
div.images div.imagecount-3 { width: 587px; }
div.images div.imagecount-4 { width: 786px; }
div.images div.imagecount-5 { width: 985px; }
div.images div.imagecount-6 { width: 1184px; }
div.images div.imagecount-7 { width: 1383px; }
div.images div.imagecount-8 { width: 1582px; }
div.images div.imagecount-9 { width: 1781px; }
div.images div.imagecount-10 { width: 1980px; }
div.images div.imagecount-11 { width: 2179px; }
div.images div.imagecount-12 { width: 2378px; }
div.images div.imagecount-13 { width: 2577px; }
div.images div.imagecount-14 { width: 2776px; }
div.images div.imagecount-15 { width: 2975px; }
div.images div.imagecount-16 { width: 3174px; }
div.images div.imagecount-17 { width: 3373px; }
div.images div.imagecount-18 { width: 3572px; }
div.images div.imagecount-19 { width: 3771px; }
div.images div.imagecount-20 { width: 3970px; }

div.images .image-01 { left: 0px; }
div.images .image-02 { left: 199px; }
div.images .image-03 { left: 398px; }
div.images .image-04 { left: 597px; }
div.images .image-05 { left: 796px; }
div.images .image-06 { left: 995px; }
div.images .image-07 { left: 1194px; }
div.images .image-08 { left: 1393px; }
div.images .image-09 { left: 1592px; }
div.images .image-10 { left: 1791px; }
div.images .image-11 { left: 1990px; }
div.images .image-12 { left: 2189px; }
div.images .image-13 { left: 2388px; }
div.images .image-14 { left: 2587px; }
div.images .image-15 { left: 2786px; }
div.images .image-16 { left: 2985px; }
div.images .image-17 { left: 3184px; }
div.images .image-18 { left: 3383px; }
div.images .image-19 { left: 3582px; }
div.images .image-20 { left: 3781px; }

/*
 * Tabs
 */

div.tabs ul { list-style: none; margin: 0; padding: 0; }
div.tabs ul li { width: 110px; height: 110px; margin-bottom: 10px; }
div.tabs ul li a {
	display: block; width: 100px; height: 110px; border: 0 solid #000; border-width: 0 10px 0 0;
	text-decoration: none; color: #fff;
}
div.tabs ul li a:active { outline: none; }
/*
div.tabs ul li.tab1 a { border-color: #CD2733; }
div.tabs ul li.tab2 a { border-color: #9460A6; }
div.tabs ul li.tab3 a { border-color: #3F9A35; }
div.tabs ul li.tab4 a { border-color: #1E9C9C; }
*/
div.tabs ul li.tab1 a { border-color: #9460A6; }
div.tabs ul li.tab2 a { border-color: #1E9C9C; }

div.tabs ul li a span {
	visibility: hidden; display: block;
	width: 85px; height: 90px;
	background: #9c9d9c;
	border: solid #555555;
	border-width: 5px 0 5px 5px;
	-moz-border-radius-bottomleft: 10px;
	-moz-border-radius-topleft: 10px;
	-webkit-border-bottom-left-radius: 10px;
	-webkit-border-top-left-radius: 10px;
	padding: 5px; text-align: right;
	overflow: hidden;
}

div.tabs ul li a:hover span, div.tabs ul li a:focus span { visibility: visible; outline: none; }

/*
 * Info popups
 */

div.info { width: 140px; height: 60px; }
div.info .popup-info { display: block; }
div.info .popup-info .img { display: block; width: 31px; text-align: center; float: left; clear: left; }
div.info .popup-info .img img { margin: 0 auto 5px; }
div.info .popup-info .popup { visibility: hidden; display: block; float: left; margin-left: 5px; }
div.info .popup-info:hover .popup, div.info .popup-info.hover .popup { visibility: visible; }
div.info img { display: block }

/*
 * Popup imagelist window
 */

body.imagelist { text-align: center; background: #ffffff; }
body.imagelist .wrap { width: 640px; margin: 0 auto; }
body.imagelist .wrap p.nav {
	margin: 0 5px; height: 30px; line-height: 30px;
	text-align: left; overflow: hidden; }
body.imagelist img { display: block; margin: 0 auto; }
body.imagelist .left { color: #8fc755; text-decoration: none; }
body.imagelist .right { color: #1a1818; text-decoration: none; }

/*
 * Scroll button
 */

.leftright {
	position: absolute;
	left: 756px; top: 483px;
	width: 20px; height: 19px;
}

.leftright .left-on {
	position: absolute;
	left: 0px; top: 0px;
	width: 10px; height: 19px;
	background: url(images/left-right.png) no-repeat 0 0;
}

.leftright .left-off {
	position: absolute;
	left: 0px; top: 0px;
	width: 10px; height: 19px;
	background: url(images/left-right.png) no-repeat -20px 0;
}

.leftright .right-on {
	position: absolute;
	left: 10px; top: 0px;
	width: 10px; height: 19px;
	background: url(images/left-right.png) no-repeat -10px 0;
}

.leftright .right-off {
	position: absolute;
	left: 10px; top: 0px;
	width: 10px; height: 19px;
	background: url(images/left-right.png) no-repeat -30px 0;
}
