html {
    overflow-y: scroll;
}
body {
    margin: 0 0 30px 0;
    background: #000;
    color: #ccc;
    line-height: 1.4;
}
body, td, input, button, select {
    font-family: arial, helvetica, sans-serif;
    font-size: 12px;
}
p {
    margin: 12px 0;
}
img {
    border: none;
    vertical-align: top;
}
a {
    color: #eee;
}
a:hover {
    background: #333;
}
a.nohover:hover {
    background: inherit;
}
table {
    border-collapse: collapse;
}
td {
    vertical-align: top;
}
h1, h2, h3 {
    color: #eee;
}
h1 {
    font-size: 24px;
    margin: 16px 0;
}
h2 {
    font-size: 18px;
    margin: 15px 0;
}
h3 {
    font-size: 14px;
    margin: 14px 0;
}

#headnavi {
    background: #811;
    border-bottom: solid 1px #e44;
    font-family: tahoma, arial, helvetica, sans-serif;
    font-size: 11px;
    line-height: 14px;
    text-align: center;
}
#headnavi a {
    color: #fff;
    text-decoration: none;
}
#headnavi a:hover {
    background: #fff;
    color: #811;
}

.maincontent {
    text-align: center;
}

.flashblock {
    width: 550px;
    margin: 80px auto 0 auto;
}

.opticsetselector {
    width: 550px;
    margin: 2px auto 0 auto;
    text-align: center;
}

.clear {
    clear: both;
}
.hidden {
    display: none;
}

#logo {
    width: 390px;
    margin: 20px auto 0 auto;
}
#logo div {
    float: left;
}
#logo .ltext,
#logo .rtext {
    width: 90px;
    color: #e22;
    font-size: 12px;
    font-weight: bold;
    margin-top: 78px;
}
#logo .ltext {
    text-align: right;
}
#logo .rtext {
}
#logo .img {
    margin: 0 30px;
    padding-bottom: 15px;
}

#shop-teaser {
    width: 600px;
    height: 250px;
    margin: 15px auto 30px auto;
}
#exhibition {
    width: 600px;
    height: 450px;
    margin: 20px auto;
}

.projectbox {
    clear: both;
    width: 613px;
    margin-top: 2px;
    margin-left: auto;
    margin-right: auto;
}
.projectimg {
    float: left;
}
.projectdesc {
    float: left;
    width: 330px;
    margin: 11px 0 0 2px;
    background: #1a1a1a url(../images/vdash-bg.gif) repeat-y;
}
.projecttitle {
    height: 16px;
    margin: 15px 0 0 3px;
    padding-right: 12px;
    background: url(../images/dotted-bg.gif);
    text-align: right;
    font-size: 14px;
    line-height: 14px;
    font-weight: bold;
    color: #999;
}
.projectthumbs {
    height: 68px;
    margin-left: 1px;
}
.projecttext {
    padding-right: 12px;
    text-align: right;
    font-size: 14px;
    line-height: 16px;
    color: #999;
}
.projectinfo {
    height: 16px;
    padding-right: 12px;
    margin-left: 3px;
    background: url(../images/dotted-bg.gif);
    text-align: right;
    font-size: 14px;
    line-height: 14px;
    color: #999;
}
.projectbottom {
    height: 15px;
    background: url(../images/hdash-bg.gif) repeat-x bottom left;
}
.projectright {
    float: left;
    width: 13px;
    height: 141px;
    margin-left: 2px;
    background: url(../images/right-end.gif) no-repeat 0px 11px;
}

/* shop */

#shop-content {
    width: 845px;
    margin: 0 auto;
}
#shop-logo {
    height: 19px;
    margin: 20px 0 30px 0;
    border: 1px solid #666;
    padding: 39px 0 0 0;
    text-align: right;
    background: url(../images/shop/shoptop1.jpg) no-repeat;
}
.products td {
    padding: 30px 0 0 15px;
}
.products tr.first td {
    padding-top: 0;
}
.products td.first {
    padding-left: 0;
}
.products td.image img {
    border: 1px solid #666;
}
.products td.text {
    width: 200px;
}
.products h2 {
    margin: 0 0 12px 0;
    font-size: 15px;
}

#shop-content .price {
    font-size: 24px;
    line-height: 28px;
    color: #eee;
}
#shop-content .zoom-image {
    border: 1px solid #666;
}

#shop-content form {
    display: inline;
}
#shop-content .button {
    line-height: 18px;
    border: 1px solid #666;
    padding: 0 10px;
    background: #000;
    color: #eee;
    cursor: pointer;
    text-decoration: none;
    overflow: visible;
}
#shop-content .button:hover {
    background: #333;
}
#shop-content #shop-logo .button {
    display: inline; /* IE double margin fix */
    float: right;
    margin-right: 8px;
    border-bottom-width: 0;
}

/* SLIMBOX */

#lbOverlay {
	position: absolute;
	z-index: 9999;
	left: 0;
	width: 100%;
	background-color: #333;
	cursor: pointer;
}

#lbCenter, #lbBottomContainer {
	position: absolute;
	z-index: 9999;
	left: 50%;
	overflow: hidden;
	background-color: #000;
}

.lbLoading {
	background: #000 url(../images/loading.gif) no-repeat center;
}

#lbImage {
	position: absolute;
	left: 0;
	top: 0;
	border: 10px solid #000;
	overflow: auto;
}

#lbScrolled {
	background-repeat: no-repeat;
}

#lbPrevLink, #lbNextLink {
	display: block;
	position: absolute;
	top: 10px;
	/*width: 50%;*/
	outline: none;
}

#lbPrevLink {
	left: 15px;
}

#lbPrevLink:hover {
	background: transparent url(../images/prevlabel.gif) no-repeat 0% 15%;
}

#lbNextLink {
	/*right: 0;*/
}

#lbNextLink:hover {
	background: transparent url(../images/nextlabel.gif) no-repeat 100% 15%;
}

#lbBottom {
	font-family: arial, helvetica, sans-serif;
	font-size: 12px;
	color: #666;
	text-align: left;
	border: 10px solid #000;
	border-top-style: none;
}

#lbCloseLink {
	display: block;
	float: right;
	width: 66px;
	height: 22px;
	background: transparent url(../images/closelabel.gif) no-repeat center;
	margin: 0;
}

#lbCaption, #lbNumber {
	margin-right: 71px;
}

#lbCaption {
	font-weight: bold;
	display: none;
}

/* hacks */

/* clearfix */

#logo:after,
.projectbox:after {
    content: ".";
    height: 0;
    display: block;
    visibility: hidden;
    overflow: hidden;
    clear: both;
}
