/* This is for IE position: fixed Bug */

html, body {
    height: 100%;
    overflow: auto;
}

body  {
	margin: 0;
	padding: 0;
    background-color: black;
    background-repeat: repeat-x;
    background-attachment: fixed;
}

body, td, div {
	font-size: 11.5px;
	font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif;
	color: #7F7F7F;
    line-height: 140%;
}

/* Das kennt der IE nicht und ignoriert es daher */

html > body > div#bottom {
    position: fixed;
    bottom: 0px;
    left: 0px;
    height: 35px;
    background-image: url( "bottom-black.png" );
    background-repeat: repeat-x;
    width: 100%;
    z-index: 2;
}

a {
	color: #2E89A2;
	text-decoration: none;
}

a:hover {
	color: #7FB8C8;
}

table {
	padding: 0;
	margin: 0;
	border: 0;
	border-collapse: collapse;
}

.small {
    font-size: 9px;
    color: #7F7F7F;
}

a img {
    border: 0;
}

table tr {
	padding: 0;
	margin: 0;
}

table tr td {
	padding: 0;
	margin: 0;
}

div#space {
    display: block;
    height: 60px;
}

div.space {
    display: block;
    height: 60px;
}

/*--------------------------------------------*/
/* Navigation-Links
/*--------------------------------------------*/

div#nav {
    display: block;
    position: absolute;
    top: 120px;
    left: 10px;
    width: 140px;
    background-color: #272727;
    margin: 0;
    padding: 0;
    border: 0;
    border-left: 1px solid #4D4D4D;
    border-top: 1px solid #4D4D4D;
}

div#nav a {
    text-decoration: none;
    color: #CCCCCC;
}

div#nav ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
}

div#nav ul li {
	display: block;
	border-bottom: 1px dotted #4D4D4D;
	margin: 0;
    padding: 0;
}

div#nav ul li:hover {
	background-color: #4D4D4D;
}

div#nav ul li.selected {
	background-color: #4D4D4D;
}

div#nav ul li a {
    display: block;
	border-bottom: none;
    width: 130px;
    padding: 6px;
}

div#nav p {
	border-bottom: 1px solid #4D4D4D;
	padding: 6px;
	margin: 0;
}

/*--------------------------------------------*/
/* imageOptions
/*--------------------------------------------*/

div#imageOptions {
    display: block;
    float: left;
    width: 150px;
    height: 320px;
    background-color: #272727;
    border-left: 1px solid #4D4D4D;
    border-top: 1px solid #4D4D4D;
}

div#imageOptions a {
    text-decoration: none;
    color: #CCCCCC;
}

div#imageOptions ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
}

div#imageOptions ul li {
    display: block;
    border-bottom: 1px dotted #4D4D4D;
    margin: 0;
    padding: 0;
}

div#imageOptions ul li:hover {
    background-color: #4D4D4D;
}

div#imageOptions ul li.selected {
    background-color: #4D4D4D;
}

div#imageOptions ul li a {
    display: block;
    border-bottom: none;
    width: 140px;
    padding: 6px;
}

div#imageOptions p {
    border-bottom: 1px solid #4D4D4D;
    padding: 6px;
    margin: 0;
}

/*--------------------------------------------*/
/* Top
/*--------------------------------------------*/

div#top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
	margin: 0;
    z-index: 2;
    background-image: url("top-background.gif");
    background-repeat: repeat-x;
}

div#top ul {
    display: block;
    float: left;
    padding: 0;
    margin: 0;
    margin-left: 250px;
}

div#top ul li {
    display: block;
    float: left;
    padding: 0;
    margin: 0;
}

div#top ul li a {
    display: block;
    padding-left: 20px;
    padding-top: 8px;
    padding-bottom: 10px;
    padding-right: 20px;
    font-size: 12px;
    color: #7A7A7A;
    font-family: Tahoma;
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 2px;
}

div#top ul li a:hover {
    color: #B0B0B0;
}

h1 {
	position: absolute;
	top: 40px;
	left: 170px;
	font-size: 24px;
	font-family: "Trebuchet MS", sans-serif;
	color: #999999;
}

h1 a {
	color: #999999;
}

div#headinfo {
    position: absolute;
	top: 95px;
	left: 170px;
    z-index: 1;
    width: 640px;
}

div#headinfo h3 {
    display: block;
    float: left;
}

div#MiniLightBoxContainer  {
    position: absolute;
	top: 120px;
	left: 840px;
    z-index: 1;
}

div#content  {
	position: absolute;
	top: 120px;
	left: 170px;
    width: 660px;
    z-index: 1;
}

td#categories {
	background-color: #141414;
	border-bottom: 1px solid #333333;
	border-left: 1px solid #333333;
}

td#image-info {
	background-color: #141414;
	border-bottom: 1px solid #333333;
	border-left: 1px solid #333333;
}

td#image-info p {

}

td#categories p {
	border-top: 1px solid #E5E5E5;
	padding: 10px;
	margin: 0;
}

table.image-line td {
	padding: 2px;
}

/*--------------------------------------------*/
/* Mini-LightBox
/*--------------------------------------------*/

table.lightbox {
	display: block;
    border: 1px solid #4d4d4d;
    background-color: #333333;
    color: #7C7C7C;
    width: 160px;
}

table.lightbox th {
	text-align: left;
    font-weight: normal;
    padding: 5px;
}

table.lightbox td {
    text-align: center;
    padding: 1px;
    padding-top: 2px;
    padding-bottom: 8px;
    padding-left: 2px;
    padding-right: 2px;
    width: 50px;
}

table.lightbox td img {
    border: 1px solid #B3B3B3;
}

table.lightbox td.footer {
    text-align: center;
    padding: 4px;
}

table.lightbox td.footer a {
    color: #55A6E3;
    text-decoration: none;
}

table.lightbox td.footer a:hover {
    color: #8EC7F3;
    text-decoration: none;
}

/*--------------------------------------------*/
/* GridView
/*--------------------------------------------*/

table.imagegrid {
    padding-top: 0px;
    padding-left: 0px;
    float: left;
}

table.imagegrid tr td {
    width: 160px;
    height: 140px;
    text-align: center;
    background-image: url("imgbg.jpg");
    background-repeat: repeat-x;
    background-position: 0 0;
    padding: 0;
}

table.imagegrid tr td.empty {

}

table.imagegrid tr td.current {
    background-image: url("current.gif");
    background-repeat: no-repeat;
    background-position: 50% 0;
    background-color: black;
    border-right: 1px solid #333333;
    border-left: 1px solid #333333;
}

table.imagegrid div.fileName {
    float: left;
    font-size: 9px;
    color: #5B5B5B;
}

table.imagegrid a.addToLightBox {
    float: left;
    font-size: 9px;
}

table.imagegrid a.removeFromLightBox {
    float: left;
    font-size: 9px;
    color: #aa6611;
}

table.imagegrid img {
    height: 80px;
    border: 1px solid #B3B3B3;
    margin-top: 10px;
    margin-bottom: 5px;
}

table.imagegrid tr td a {
    margin-left: 10px;
    margin-right: 10px;
}

table.imagegrid tr td div {
    margin-left: 10px;
    margin-right: 10px;
}

div.pager {
    float: left;
    display: block;
    width: 100%;
    margin-top: 20px;
    margin-bottom: 35px;
    text-align: center;
}

img.active {
	border: solid 1px white;
}

div#image-line {
    width: 100%;
    text-align: center;
    float: left;
    height: 20px;
    margin-bottom: 10px;
}

div#image-line span {
    display: inline-block;
    display: -moz-inline-box;
    margin-right: 4px;
    width: 8px;
    height: 8px;
    background-image: url( "dot.gif" );
    background-repeat: no-repeat;
}

div#image-line span.current {
    background-image: url( "dotfull.gif" );
}

div#image-line-panel {
    width: 800px;
    float: left;
}

div#content ul#imageCategories {
    list-style-type: none;
    display: inline;
    margin: 0px;
    padding: 0px;
}

div#content ul#imageCategories li {
    margin: 0px;
    padding: 0px;
    padding-right: 10px;
    display: inline;
}

div#gridoptions {
    display: block;
    float: right;
    font-size: 9px;
}

div#gridoptions a {
    border: 0;
}

div#gridoptions a:hover {
    border: 0;
}

br {
    clear: both;
}

div#imageDisplay {
    display: block;
    margin-right: 10px;
    margin-bottom: 10px;
    float: left;
}

div#imageDisplay img {
    border: 1px solid #B3B3B3;
}

h3 {
    padding-top: 0;
    margin-top: 0;
    font-weight: normal;
}

div#form {
    display: block;
    width: 100%;
}

a.grid44 {
    background-image: url( "4x4.gif" );
    background-repeat: no-repeat;
    padding-left: 20px;
    padding-bottom: 11px;
    margin-left: 10px;
}

a.grid48 {
    background-image: url( "4x8.gif" );
    background-repeat: no-repeat;
    padding-left: 20px;
    padding-bottom: 11px;
    margin-left: 10px;
}

a.grid412 {
    background-image: url( "4x12.gif" );
    background-repeat: no-repeat;
    padding-left: 19px;
    padding-bottom: 11px;
    margin-left: 10px;
}

a#nextPage {
    margin-left: 10px;
    display: block;
    width: 30px;
    height: 110px;
    float: left;
    background-image: url( "arrow-next.gif" );
    background-repeat: no-repeat;
    background-position: 0 20px;
}

a#nextPage.disabled {
    background-image: url( "arrow-next-disabled.gif" );
}

a#previousPage {
    margin-right: 10px;
    display: block;
    width: 30px;
    height: 110px;
    float: left;
    background-image: url( "arrow-previous.gif" );
    background-repeat: no-repeat;
    background-position: 0 20px;
}

a#previousPage.disabled {
    background-image: url( "arrow-previous-disabled.gif" );
}

/* -------------------------------------- */
/* Formular */
/* -------------------------------------- */

div#contactform {
    display: block;
    clear: both;
    width: 45em;
}

form.content {
    display: block;
}

label {
    display: block;
    width: 12em;
    float: left;
    text-align: right;
    margin-bottom: 1em;
    padding-top: 0.2em;
}

label.error {
    color: #FF4700;
}

label.checkbox {
    margin-left: 0.5em;
    margin-bottom: 1em;
    text-align: left;
    width: 25em;
}

input {
    margin-left: 1em;
    float: left;
    display: block;
    margin-bottom: 1em;
}

input.checkbox {
    margin-left: 13em;
    margin-bottom: 1em;
}

textarea {
    margin-left: 1em;
}

input.button {
    margin-left: 13em;
}