/* @override 
	http://swisstextiles.hoch3.netzwirt.ch/themes/tvs/css/main.css
	http://swisscotton.hoch3.netzwirt.ch/themes/tvs/css/main.css
	http://www.swisscotton.ch/themes/tvs/css/main.css
*/

/* @import url(bx-additions.css); */

/*body element, you can overwrite that with a custom stylesheet for example in mozilla*/

#ng_bitflux_org, body {
	background-color: #fff;
	font-size: 12px;
	font-family: Arial, Verdana, sans-serif;
	color: #000;
	padding: 0px;
	margin: 0px;
}

html {
	height: 100%;
}

/* for iePC */

td {
	
}

h1 {
	font-size: 18px;
	font-weight: normal;
	margin: 0;
	line-height: 25px;
}

h2 {
	font-size: 14px;
}

h3 {
	font-size: 12px;
}

h4 {
	font-size: 12px;
}

h5 {
	font-size: 10px;
}

p {
	
}

div.post_content p img
{
	position: relative;
	margin-right: -160px;
	float: left;
	right: 200px;
	top: -47px;
}

img {
	border-style: none;
}

a:hover {
	color: #bf1616;
}

a:visited {
	color: #bf1616;
}

a:active {
	color: #bf1616;
}

form {
	padding: 0;
	margin: 0;
}

.form {
	padding: 0px;
	margin: 5px 25px 15px 25px;
}

.formgenerell input, input.formgenerell {
	width: 300px;
	border: 1px solid #aaaaaa;
	padding: 2px;
	background-color: #eee;
	margin-top: 0;
	margin-bottom: 9px;
}

textarea {
	width: 300px;
	border: 1px solid #aaaaaa;
	margin-top: 0;
	padding: 2px;
	background-color: #d6edff
	height: 60px;
	margin-bottom: 9px;
	font-size: 12px;
	font-family: Arial, Verdana, sans-serif;
}

input {
	margin-bottom: 6px;
	font-size: 12px;
	font-family: Arial, Verdana, sans-serif;
}

select {
	margin-top: 5px;
}

.formgenerell select {
	padding: 2px;
	margin-top: 0;
	margin-bottom: 9px;
}

/* 
input {
	border: 1px solid #aaaaaa;
	margin-top: 5px;
	padding: 2px;
	background-color: #f3f4f4;
}

select {
	border: 1px solid #aaaaaa;
	margin-top: 5px;
	padding: 2px;
	background-color: #f3f4f4;
}
*/

.formswitch {
	width: 156px;
	margin-top: 0;
	padding: 2px;
	border-style: none;
	margin-bottom: 9px;
}

.formbutton {
	width: 100px;
}

.textarea {
	height: 80px;
}

.captcha {
	width: 100px;
	border: 1px solid #aaaaaa;
	margin-top: 5px;
	padding: 2px;
}

/* patforms filter */

.formErrors {
	margin: 5px 25px 25px 25px;
	padding: 5px 5px 5px 5px;
	border: 1px solid;
	background-color: #FFBBBB;
}

.formlabelerror {
	color: #bf1616;
	font-weight: bold;
}

/* container to center the layout
-------------------------------------- */

#container {
	width: 930px;
	margin: 5px auto 20px auto;
	background: #fff url(/themes/tvs/images/container_bg_w.gif) repeat-y;

}


/* head container for logo and metanavi
-------------------------------------- */

#banner {
	width: 930px;
	height: 112px;
	background: #fff url(/themes/tvs/images/banner_image_94.jpg) no-repeat 624px 3px;
	padding-top: 3px;
	margin-top: 0;
	margin-left: auto;
	margin-right: auto;
}

#banner a:link {
	text-decoration: none;
}

#metanavi {
	margin: 0;
	height: 20px;
	padding: 0 10px;
	background-color: #999999;
	z-index: 1;
	border-bottom: 2px solid white;
	text-decoration: none;
	font-family: Verdana, Arial, sans-serif;
}

#langnavi {
	width: 306px;
	float: left;
	overflow: hidden;
	padding: 3px 0 0;
}

#servicenavi {
	width: 296px;
	float: right;
	overflow: hidden;
	padding: 3px 0 0;
	height: 18px;
	border-left: 2px solid white;
}

#metanavi a:link {
	color: #fff;
	text-decoration: none;
}

#metanavi a:visited {
	color: #fff;
	text-decoration: none;
}

#metanavi a:hover {
	color: #bf1616;
}

#metanavi a:active {
	color: #bf1616;
}

#servicenavi a {
	margin: 0 0 0 9px;
}

#banner a:link {
	color: #3d6392;
	text-decoration: none;
}

#banner a:hover {
	color: #bf1616;
}

#banner a:active {
	color: #bf1616;
}

#banner a:visited {
	color: #305b7e;
}

#banner a.selected {
	color: #333;
	text-decoration: none;
}

#banner h1 {
	float: left;
	margin: 0 0 0 0px; /* 10px */
	padding-top: 20px;
}

#banner h1.padtop {
	padding-left: 10px;
	padding-top: 38px;
}

#banner h2 {
	margin: 23px 0 18px 10px;
}

/*main-navi
-------------------------------------- */

#topnavi {
	margin: 0;
	padding-left: 10px;
	background-color: #666666;
	border-bottom: 2px solid white;
	font-family: Verdana, Arial, sans-serif;
}

#topnavi ul {
	margin: 0;
	padding: 5px 0;
	list-style-type: none;
}

#topnavi li {
	display: inline;
	padding-right: 20px;
	color: #e5e5e5;
}

#topnavi li a:link, #topnavi li a:visited {
	color: #c8c8c8;    /*-- #e6e6e6 --*/
	text-decoration: none;
	font-weight: bold;
}
/*
#topnavi li a:visited {
	color: #e6e6e6;
	text-decoration: none;
	font-weight: bold;
}
*/
#topnavi li a:active {
	color: #fff;
}

#topnavi li a:hover {
	color: #fff;
}

#topnavi li a.selected {
	color: #fff;
}

#topnavi li a.selected:hover {
	color: #fff;
}

/* elements for left and right navigation
-------------------------------------- */

#left {
	width: 160px;
	margin: 0;
	font-size: 12px;
	font-weight: bold;
	float: left;
	padding-top: 22px;
	padding-bottom: 22px;
	padding-left: 10px;
}

#left ul {
	margin: 0;
	padding: 0;
}

/* Subnavi Level 01
-------------------------------------- */

#subnavi ul, li {
	font-family: Verdana, Arial, sans-serif;
}

#subnav ul {
	margin: 0;
	padding-left: 10px;
}

#subnav li {
	list-style-type: none;
	margin-top: 10px;
}

#subnav li a {
	color: black;
}

#subnav li a:link {
	color: black;
	text-decoration: none;
}

#subnav li a:visited {
	color: black;
	text-decoration: none;
}

#subnav ul li a:active {
	color: black;
}

#subnav li a:hover, #subnav li a.selected:hover {
	color: #fff;
}

#subnav li a.selected {
	color: white;
	text-decoration: none;
}

#subnav li a.selected:hover {
	color: #fff;
}

/* Subnavi Level 02
-------------------------------------- */

/* Subnavi Level 03
-------------------------------------- */

#subnav ul ul li {
	margin-top: 5px;
}

#subnav ul ul li a {
	list-style-image: url(/themes/tvs/images/bullet_element.gif);
	margin-left: 0px;
}

#subnav ul ul li a:link {
	color: white;
	text-decoration: none;
	font-weight: normal;
}

#subnav ul ul li a:visited {
	color: white;
	text-decoration: none;
	font-weight: normal;
}

#subnav ul ul li a:active {
	color: white;
}

#subnav ul ul li a:hover, #subnav ul ul li a.selected:hover {
	color: #fff;
}

#subnav ul ul li a.selected {
	color: white;
	text-decoration: none;
	font-weight: normal;
}

/* content elements
-------------------------------------- */

#content {
		font-family: Arial, Verdana, sans-serif;
	padding: 29px 0 50px 30px;
	margin-left: 177px; 
	
	list-style-type: square;
	font-size: 12px;
	line-height: 16px;
	font-family: Arial, Verdana, sans-serif;
	min-height:450px;
	/* IE 6/7 height */
	height:auto !important;
	height:450px;
/*	padding-right: 188px; */
/*	background: url(/themes/tvs/images/grau_bg.gif) no-repeat right top; */
	background-color: white;
	
}

#content.grau {
	padding-right: 188px;
	background: url(/themes/tvs/images/grau_bg.gif) no-repeat right top;
	background-color: white;
}

#content h1 {
	font-weight: bold;
	padding-bottom: 30px;
	color: black;
}

#content h2 {
	font-size: 14px;
	margin: 20px 0px 0px;
	color: black;
	padding: 0;
}

#content h3 {
	
}

#content h4 {
	
}

#content h5 {
	margin: 7px 0;
}

#content p {
	margin: 10px 0 15px;
}

#content ul {
	list-style-type: square;
	margin-top: 10px;
	margin-bottom: 15px;
	font-family: Arial, Verdana, sans-serif;
}

#content li {
	font-family: Arial, Verdana, sans-serif;
}

#content p.center {
	text-align: center;
}

#content a:link, a:visited {
	color: #bf1616;
	text-decoration: none;
}

#blue {
	float: right;
	width: 140px;
	margin-left: 30px;
	background-color: #d6edff;
}

#blue .first {
	height: 150px;
	background-color: #d6edff;
}

#blue .second {
	height: 150px;
	background-color: #9ebcd2;
}

#blue .third {
	height: 150px;
	background-color: #f2f9ff;
}

/* table formating
-------------------------------------- */

#content table.samplenews td {
	border-top: 1px solid #7f7f7f;
	vertical-align: top;
	padding: 10px 0 0 0;
	margin: 0;
}

#content table.samplenews h2 a:link {
	color: #3d6392;
}

#content table.samplenews h2 a:hover {
	color: #bf1616;
}

/* HOME table formating
-------------------------------------- */

#content table.home {
	border-top: 2px solid #fff;
	font-family: Verdana, Arial, sans-serif;
}

#content table.home h1 {
	font-size: 11px;
	color: #3f3f3f;
	margin: 7px 6px 0 10px;
	padding: 0;
	line-height: normal;
}

#content table.home h2 {
	font-size: 11px;
	font-weight: normal;
	color: #000;
	padding: 0;
	line-height: normal;
	margin: 0 6px 0 10px;
}

#content table.home h2 a:link, h2 a:visited {
	color: #3f3f3f;
	text-decoration: none;
}

#content table.home h2 a:hover {
	color: #fff;
}

#content table.home h3 {
	color: #3f3f3f;
	margin: 0 0 0 10px;
	padding: 0;
	font-size: 11px;
}

#content table.home h3 a:link, h3 a:visited {
	color: #bf1616;
	font-weight: normal;
	margin: 0 0 0 0px;
	padding: 0;
}

#content table.home h4 {
	color: #fff;
	font-weight: bold;
	text-transform: uppercase;
	margin: 10px 6px 10px 10px;
	padding: 0;
	font-size: 11px;
	font-family: Verdana, Arial;
}

#content.blue {
	padding-right: 188px;
	background: url(/themes/tvs/images/grau_bg.gif) no-repeat right top;
	background-color: white;
}




#content.grau h1 {
	font-weight: bold;
	padding-bottom: 10px;
	color: black;
}



#content.slide {
	padding-right: 188px;
	background: url(/themes/tvs/images/grau_bg.gif) no-repeat right top;
	background-color: white;
}


#content.slide h1 {
	font-weight: bold;
	padding-bottom: 10px;
	color: black;
}

.grau {
	background: url(/themes/tvs/images/grau_bg.gif) no-repeat right top;
	padding-right: 188px;
	background-color: white;
	height: 100%;
}

.slide {
visibility: hidden;
	padding-right: 188px;
	background: url(/themes/tvs/images/grau_bg.gif) no-repeat right top;
	background-color: white;
}

/* News formating
-------------------------------------- */

#newscontent {
	width: 650px;
}

#newscontent .newsteaserbild {
	float: left;
	width: 100px;
	padding-top: 5px;
}

#newscontent .newstext {
	float: right;
	width: 460px;
	margin-bottom: 14px;
}

#newscontent .newsentry {
	border-top: 1px solid black;
	padding-top: 10px;
}

#newscontent .newsentry h2 {
	margin: 10px 0;
}

#newscontent .newsentry h2 a {
	color: #2a5170;
}

#newscontent h2 {
	font-weight: bold;
	margin-bottom: 30px;
	color: black;
	margin-top: 0;
}

#newscontent .newsdetail h2 {
	margin: 10px 0px 0px;
}

#newscontent .newsdetail h1 {
	margin: 10px 0px 0px;
	padding-bottom: 0;
}

#newscontent .newsdetailteaser {
	margin: 10px 0px 15px;
	font-weight: bold;
}

div.newsdate {
	font-size: 11px;
}

#newsbild {
	margin: 0 0 10px 20px;
}

img.randlinks {
	margin: 0 0 10px 20px;
}

img.randrechts {
	margin: 0 20px 10px 0;
}

div.clear {
	clear: right;
}

/* Links formating
-------------------------------------- */

#linkcontent {
	width: 650px;
}

#linkcontent .linkteaserbild {
	
}

#linkcontent .linktext {
	margin-bottom: 14px;
}

#linkcontent table {
	border-top: 1px solid black;
}

#linkcontent td {
	padding: 15px 0 20px;
	margin: 0;
}

#linkcontent h2 {
	color: #2a5170;
	margin: 30px 0 10px;
}

#linkcontent h3 {
	color: #2a5170;
	margin: 0 0 10px;
}

#linkcontent img {
	margin: 0;
}

#linkcontent h3 a {
	color: #bf1616;
}

/* Job formating
-------------------------------------- */

#jobcontent {
	width: 530px;
}

#jobcontent .jobtext {
	width: 530px;
	margin-bottom: 29px;
}

#jobcontent .jobentry {
	border-top: 1px solid black;
	padding-top: 10px;
}

#jobcontent .jobentry h2 {
	margin: 10px 0;
}

#jobs h2 {
	margin: 0 0 20px;
}

#jobcontent .jobentry h2 a {
	color: #2a5170;
}

#newscontent .jobdetail h2 {
	margin: 10px 0px 0px;
}

#jobcontent .jobdetailteaser {
	margin: 10px 0px 15px;
	font-style: italic;
}

div.jobdate {
	font-size: 11px;
}

div#jobs td {
	vertical-align: top;
	padding-bottom: 10px;
	padding-right: 5px;
}

div#jobs td.label {
	font-weight: bold;
}

div#jobs h2 {
	margin: 0;
}

div#jobs h3 {
	font-weight: bold;
	margin: 0;
	padding-bottom: 6px;
}

form#contact td {
	vertical-align: top;
}

/* Event formating
-------------------------------------- */

#eventcontent {
	width: 650px;
}

#eventcontent .newsteaserbild {
	
}

#eventcontent .newstext {
	margin-bottom: 14px;
}

#eventcontent table {
	border-top: 1px solid black;
	padding-top: 10px;
	margin-bottom: 20px;
}

#eventcontent td {
	margin: 0;
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 0;
}

#eventcontent h2 {
	color: #2a5170;
	margin: 0;
}

#eventcontent img {
	margin-top: 5px;
}

#eventcontent h2 a {
	color: #2a5170;
}

#eventcontent .newsdetail h2 {
	margin: 10px 0px 0px;
}

/* elements for the gallery
-------------------------------------- */

#content #gallerie {
	float: left;
	padding: 0px 0px 10px 25px;
	margin: 0px 0px 20px 0px;
}

#content .thumbnail {
	float: left;
	width: 100px;
	margin: 15px 15px 0px 0px;
	padding: 0px;
}

#content .thumbnail img {
	border: 1px solid #778899;
	padding: 1px;
}

#content  br.antileft {
	clear: left;
}

.antifloat {
	clear: both;
	visibility: hidden;
}

/* elements for the gallery_preview-plugin
--------------------------------------------*/

#gallerie_preview {
	padding: 0px 10px 10px 25px;
	margin: 0px 20px 20px 20px;
	border: 1px solid #778899;
}

#gallerie_preview .thumbnail {
	float: left;
	width: 100px;
	margin: 10px 10px 0px 0px;
	padding: 0px;
}

#gallerie_preview .thumbnail img {
	border: 1px solid #778899;
	padding: 1px;
}

#gallerie_preview_navi {
	margin-top: 10px;
}

#gallerie_preview_info {
	margin-top: 10px;
	visibility: visible;
}

/*footer
-------------------------------------- */

#footer {
	clear: both;
	color: #fff;
	padding: 3px 10px;
	background-color: #999999;
	margin-bottom: 0;
	font-size: 11px;
	border-top: 2px solid white;
}

#footer a {
	color: #fff;
	text-decoration: none;
}

#impressum {
	float: right;
}

/* just used vor the blog
-------------------------------------- */

#content .post_title {
	border-bottom: 1px solid #343434;
	margin: 0 25px 3px 25px;
	padding: 0 0 5px;
}

#content .post_title a {
	text-decoration: none;
	color: #343434;
}

.post_meta_data {
	font-size: 11px;
	padding-top: 0px;
	margin: 5px 25px 15px 25px;
}

.right {
	float: right;
}

.post_content {
	line-height: 19px;
	padding-top: 0;
	margin: 5px 25px 15px;
}

#content .post_content p {
	padding: 0 0 10px 200px;
	margin: 0;
}

.post_content_extended {
	line-height: 18px;
	padding-top: 0;
	margin: 5px 25px 15px;
	padding-left: 200px;
}

#content .post_content_extended p {
	padding: 0 0 15px;
	margin: 0;
}

h3.blog, #right  h3.blog {
	margin-bottom: 5px;
}

.post_tags, .post_related_entries {
	text-align: right;
	font-family: Verdana, Geneva, Arial, Helvetica, SunSans-Regular, sans-serif;
	font-size: 10px;
	padding: 0px 25px 20px 25px;
	margin: 0px;
}

.post_links {
	text-align: right;
	font-family: Verdana, Geneva, Arial, Helvetica, SunSans-Regular, sans-serif;
	font-size: 10px;
	margin: 0px;
	padding: 0px 25px 40px;
}

.post_more {
	float: left;
}

.post_tags, .post_related_entries {
	padding-bottom: 10px;
}

.blog_pager {
	padding-top: 0px;
	margin: 5px 25px 15px
}

#right .blog li {
	line-height: 15px;
	padding: 0px 15px 3px 15px;
	margin: 0px;
	text-indent: -1em;
}

#livesearch {
	margin: 0px 15px 15px 15px;
	padding: 0px;
	width: 140px;
	display: block;
}

#right input#livesearch {
	padding: 1px;
	width: 120px;
	border: 1px solid #aaaaaa;
}

.formurl {
	display: none;
}

.blog_gravatar {
	float: right;
	padding-left: 5px;
}

/*Events*/

pre {
	display: block;
	padding: 1em 7px 1em 5px;
	margin-top: 0px;
	margin-bottom: 1em;
	border: 1px dashed #aaa;
	color: Black;
	background-color: #f9f9f9;
	line-height: 1.1em;
	overflow: auto;
}

/* loginform */

#littleLogin  input.input {
	font-size: 11px;
	width: 6em;
}

#littleLogin input {
	font-size: 11px;
	background-color: #f3f3f3;
	border: 1px solid #555555;
	margin-top: 3px;
}

#littleLogin label {
	width: 3em;
	float: left;
	line-height: 21px;
	clear: left;
}

#littleLogin {
	margin-left: 15px;
}

/* Video */

#videocontainer {
	background-color: white;
}

/* Listen */

table.liste {
	width: 650px;
}

table.liste th {
	border-bottom: 1px solid #000;
	border-top: 1px solid #000;
	text-align: left;
	color: #333;
	text-transform: uppercase;
}

table.liste th.spc {
	border-bottom-style: none;
	border-top-style: none;
}

table.liste th a img {
	margin-right: 2px;
	margin-top: 3px;
	margin-bottom: 5px;
}

table.liste td {
	vertical-align: top;
	border-bottom: 1px solid #999;
	padding: 2px 0;
	color: #333333;
}

table.liste tr.odd td {
	background-color: #f3f4f4;
}

table.liste tr.odd td.spc, table.liste td.spc {
	vertical-align: top;
	border-bottom-style: none;
	background-color: white;
}

table.liste td.spc h4 {
	font-weight: normal;
	font-style: normal;
	font-size: 11px;
}

/* Mitglieder Detail */

div.mitdetail table th {
	background-color: #fff;
	border-bottom: 1px solid #000;
}

div.mitdetail table td {
	background-color: #f3f4f4;
	border-bottom: 1px solid #999;
	color: #424242;
}

div.mitdetail table td img {
	padding: 3px;
}

div.mitdetail table td.spc {
	background-color: #fff;
	border-bottom-style: none;
}

div.mitdetail table td.top {
	vertical-align: top;
	text-align: right;
	padding-right: 5px;
}

div.mitdetail table th.spc {
	border-bottom-style: none;
}

table#address {
	width: 650px;
}

table#address h1 {
	color: #000;
}

table#leitung {
	width: 650px;
}

table#sortiment {
	width: 650px;
}

table#verabeitung {
	width: 650px;
}

table#verabeitung td.pic {
	text-align: center;
}

table#verabeitung td.nob {
	border-bottom-style: hidden;
}

table#verabeitung td.topnob {
	vertical-align: top;
	text-align: right;
	padding-right: 5px;
	border-bottom-style: hidden;
}

table#verabeitung td.topre {
	text-align: right;
	padding-right: 5px;
	width: 145px;
}

table#verabeitung td.topmid {
	text-align: center;
}

table#verabeitung_descr {
	width: 650px;
}

table#verabeitung_descr td.leftnob {
	border-bottom-style: none;
}

table#verabeitung_descr td {
	font-size: 11px;
	color: #557699;
}

table#verabeitung_descr td.topnob {
	vertical-align: top;
	text-align: right;
	padding-right: 5px;
	border-bottom-style: hidden;
	width: 145px;
}

table#artikel {
	width: 650px;
}

table#artikel td.pic {
	text-align: center;
}

table#artikel td.nob {
	border-bottom-style: hidden;
	vertical-align: top;
}

table#artikel td.topnob {
	vertical-align: top;
	text-align: right;
	padding-right: 5px;
	width: 145px;
	border-bottom-style: hidden;
}

table#artikel td.topmid {
	text-align: center;
}

table#artikel td.topre {
	text-align: right;
	padding-right: 5px;
	width: 145px;
}

table#artikel td.leftnob {
	border-bottom-style: none;
}

table#artikel_descr {
	width: 650px;
}

table#artikel_descr td {
	font-size: 11px;
	color: #557699;
}

table#artikel_descr td.topnob {
	vertical-align: top;
	text-align: right;
	padding-right: 5px;
	width: 145px;
}

table#tochterfirmen {
	width: 650px;
}

table#tochterfirmen td.nob {
	width: 474px;
	border-bottom-style: hidden;
	padding: 0;
}

table#preis td {
	vertical-align: top;
	padding: 0 17px 0 0;
	border-bottom-style: none;
	text-align: center;
}

table#tochterfirmen_inh {
	width: 476px;
}

table#ausbildungsbetriebe td {
	padding: 3px 5px 13px 0;
}

table#ausbildungsbetriebe td a {
	color: #bf1616;
}

table#ausbildungsbetriebe th {
	padding-bottom: 0;
	border-bottom: 1px solid gray;
}

/* Video Liste */

div.videocontent table {
	padding-bottom: 15px;
}

div.videocontent table td {
	padding-right: 0;
	padding-bottom: 0;
	padding-left: 0;
}

div.videocontent table td img {
	padding: 12px 0 2px;
}

div.videocontent table td.top {
	color: #2a5170;
	padding-bottom: 3px;
}

div.videocontent table td.topli {
	border-top: 1px solid #999;
}

div.videocontent table td.toplipad {
	border-top: 1px solid #999;
	padding-top: 12px;
}

div#videocontainer {
	margin: 20px 0 10px;
}

/* 

body#ng_bitflux_org h1  {
	text-align: left;
}

body#ng_bitflux_org div#left  {
	text-align: left;
	float: left;
	clear: left;
	margin: 0 20px 0 0;
	background-color: #d6edff;
	height: 400px;
}
 */

#content .projekt p {
	margin-top: 0;
}

#content .projekt img {
	margin-bottom: 15px;
}

#content .projekt td {
	vertical-align: top;
}

#content #newsf {
	display: inline;
	float: right;
}

#contact h2 {
	margin: 20px 0 15px;
}

.diashow {
	float: left;
	margin: 0;
	padding: 0;
}

#slide {
	float: right;
	height: 300px;
	width: 158px;
}

#grau {
	display: none;
}

/*-- pool-table ---*/

table.pool tbody {
	margin: 0;
	padding: 0;
}

table.pool {
	margin: 0;
	padding: 0;
}

table.pool th.title {
	padding-top: 3px;
	padding-bottom: 3px;
	border-top: 1px solid black;
	border-bottom: 1px solid black;
	text-align: left;
	vertical-align: top;
}

table.pool td.gris {
	padding-top: 3px;
	padding-bottom: 3px;
	vertical-align: top;
	border-top: 1px solid #999999;
	border-bottom: 1px solid #999999;
	background-color: #f6f6f6;
}

table.pool td.gris_link {
	padding-top: 3px;
	padding-bottom: 3px;
	vertical-align: top;
	border-top: 1px solid #999999;
	border-bottom: 1px solid #999999;
	background-color: #f6f6f6;
}

table.pool td.gris_last {
	padding-bottom: 3px;
	padding-top: 3px;
	vertical-align: top;
	border-top: 1px solid #999999;
	border-bottom: 1px solid #999999;
	background-color: #f6f6f6;
}

table.pool td.gris_link_last {
	padding-bottom: 3px;
	padding-top: 3px;
	vertical-align: top;
	border-top: 1px solid #999999;
	border-bottom: 1px solid #999999;
	background-color: #f6f6f6;
}

table.pool td.weiss {
	padding-bottom: 3px;
	padding-top: 3px;
	vertical-align: top;
}

table.pool td.weiss_link {
	padding-bottom: 3px;
	padding-top: 3px;
	vertical-align: top;
}

table.pool td.weiss_last {
	padding-bottom: 3px;
	padding-top: 3px;
	vertical-align: top;
	border-bottom: 1px solid #999999;
}

table.pool td.weiss_link_last {
	padding-bottom: 3px;
	padding-top: 3px;
	vertical-align: top;
	border-bottom: 1px solid #999999;
}

/*-- end-pool-table ---*/

/* links - table */

table.linkies tbody {
	margin: 0;
	padding: 0;
}

table.linkies {
	margin-bottom: 50px;
	padding: 0;
}

table.linkies th.title {
	padding-top: 3px;
	padding-bottom: 3px;
	border-top: 1px solid black;
	border-bottom: 1px solid black;
	text-align: left;
	vertical-align: top;
}

table.linkies td.gris {
	padding-top: 3px;
	padding-bottom: 3px;
	vertical-align: top;
	border-top: 1px solid #999999;
	border-bottom: 1px solid #999999;
	background-color: #f6f6f6;
}

table.linkies td.gris_link {
	padding-top: 3px;
	padding-bottom: 3px;
	vertical-align: top;
	border-top: 1px solid #999999;
	border-bottom: 1px solid #999999;
	background-color: #f6f6f6;
}



table.linkies td.weiss_last {
	padding-bottom: 3px;
	padding-top: 3px;
	vertical-align: top;
	border-bottom: 1px solid #999999;
}

table.linkies td.weiss_link_last {
	padding-bottom: 3px;
	padding-top: 3px;
	vertical-align: top;
	border-bottom: 1px solid #999999;
}

table.linkies td.weiss {
	padding-bottom: 3px;
	padding-top: 3px;
	vertical-align: top;
}

table.linkies td.gris_link {
	padding-bottom: 3px;
	padding-top: 3px;
	vertical-align: top;
}

table.linkies td.gris_last {
	padding-bottom: 3px;
	padding-top: 3px;
	vertical-align: top;
	background-color: #f6f6f6;
	border-top: 1px solid #999999;
	border-bottom: 1px solid #999999;
}

table.linkies td.gris_link_last {
	padding-bottom: 3px;
	padding-top: 3px;
	vertical-align: top;
	background-color: #f6f6f6;
	border-top: 1px solid #999999;
	border-bottom: 1px solid #999999;
}

/* end link - table */


#randompix {
	width: 619px; /* 619 */
	height: 289px; /* 289px */
	/*	background-image: url(/themes/tvs/images/diashow/dia_bild_1.jpg); */
}
#content table.home tbody tr td .ad-gallery {
  width: 619px;
}
#content table.home tbody tr td .ad-gallery, .ad-gallery * {
  margin: 0;
  padding: 0;
}
#content table.home tbody tr td .ad-gallery .ad-image-wrapper {
    width: 100%;
    height: 289px;
    margin-bottom: 0px;
    position: relative;
    overflow: hidden;
  }
#content table.home tbody tr td .ad-gallery .ad-image-wrapper .ad-loader {
      position: absolute;
      z-index: 10;
      top: 48%;
      left: 48%;
      border: 1px solid #CCC;
    }
#content table.home tbody tr td .ad-gallery .ad-image-wrapper .ad-next {
      position: absolute;
      right: 0;
      top: 0;
      width: 25%;
      height: 100%;
      cursor: pointer;
      display: block;
      z-index: 100;
    }
#content table.home tbody tr td .ad-gallery .ad-image-wrapper .ad-prev {
      position: absolute;
      left: 0;
      top: 0;
      width: 25%;
      height: 100%;
      cursor: pointer;
      display: block;
      z-index: 100;
    }
#content table.home tbody tr td .ad-gallery .ad-image-wrapper .ad-prev,
#content table.home tbody tr td .ad-gallery .ad-image-wrapper .ad-next {
      /* Or else IE will hide it */
      background: url(non-existing.jpg)\9
    }
#content table.home tbody tr td .ad-gallery .ad-image-wrapper .ad-prev .ad-prev-image,
#content table.home tbody tr td .ad-gallery .ad-image-wrapper .ad-next .ad-next-image {
        background: url(/files/scripts/ad_prev.png);
        width: 30px;
        height: 30px;
        display: none;
        position: absolute;
        top: 47%;
        left: 0;
        z-index: 101;
      }
#content table.home tbody tr td .ad-gallery .ad-image-wrapper .ad-next .ad-next-image {
        background: url(/files/scripts/ad_next.png);
        width: 30px;
        height: 30px;
        right: 0;
        left: auto;
      }
#content table.home tbody tr td .ad-gallery .ad-image-wrapper .ad-image {
      position: absolute;
      overflow: hidden;
      top: 0;
      left: 0;
      z-index: 9;
    }
#content table.home tbody tr td .ad-gallery .ad-image-wrapper .ad-image a img {
        border: 0;
      }
#content table.home tbody tr td .ad-gallery .ad-image-wrapper .ad-image .ad-image-description {
        position: absolute;
        bottom: 0px;
        left: 0px;
        padding: 5px;
        text-align: left;
        width: 100%;
        z-index: 2;
        background: url(/files/scripts/opa75.png);
        color: #000;
      }
      * html .ad-gallery .ad-image-wrapper .ad-image .ad-image-description {
        background: none;
        filter:progid:DXImageTransform.Microsoft.AlphaImageLoader (enabled=true, sizingMethod=scale, src='/files/scripts/opa75.png');
      }
#content table.home tbody tr td .ad-gallery .ad-image-wrapper .ad-image .ad-image-description .ad-description-title {
          display: block;
        }
#content table.home tbody tr td .ad-gallery .ad-controls {
    height: 20px;
  }
#content table.home tbody tr td .ad-gallery .ad-info {
      float: left;
    }
#content table.home tbody tr td .ad-gallery .ad-slideshow-controls {
      float: right;
    }
#content table.home tbody tr td .ad-gallery .ad-slideshow-controls .ad-slideshow-start,
#content table.home tbody tr td .ad-gallery .ad-slideshow-controls .ad-slideshow-stop {
        padding-left: 5px;
        cursor: pointer;
      }
#content table.home tbody tr td .ad-gallery .ad-slideshow-controls .ad-slideshow-countdown {
        padding-left: 5px;
        font-size: 0.9em;
      }
#content table.home tbody tr td .ad-gallery .ad-slideshow-running .ad-slideshow-start {
      cursor: default;
      font-style: italic;
    }
#content table.home tbody tr td .ad-gallery .ad-nav {
    width: 100%;
    position: relative;
  }
#content table.home tbody tr td .ad-gallery .ad-forward, .ad-gallery .ad-back {
      position: absolute;
      top: 0;
      height: 100%;
      z-index: 10;
    }
    /* IE 6 doesn't like height: 100% */
    * html .ad-gallery .ad-forward, .ad-gallery .ad-back {
      height: 100px;
    }
#content table.home tbody tr td .ad-gallery .ad-back {
      cursor: pointer;
      left: -20px;
      width: 13px;
      display: block;
      background: url(ad_scroll_back.png) 0px 22px no-repeat;
    }
#content table.home tbody tr td .ad-gallery .ad-forward {
      cursor: pointer;
      display: block;
      right: -20px;
      width: 13px;
      background: url(ad_scroll_forward.png) 0px 22px no-repeat;
    }
#content table.home tbody tr td .ad-gallery .ad-nav .ad-thumbs {
      overflow: hidden;
      width: 100%;
    }
#content table.home tbody tr td .ad-gallery .ad-thumbs .ad-thumb-list {
        float: left;
        width: 9000px;
        list-style: none;
        margin: 0;
        padding: 0;
        margin-top: 5px;
       }
#content table.home tbody tr td .ad-gallery .ad-thumbs li {
          float: left;
          padding-right: 5px;
        }
#content table.home tbody tr td .ad-gallery .ad-thumbs li a {
            display: block;
          }
#content table.home tbody tr td .ad-gallery .ad-thumbs li a img {
              border: 1px solid #ccc;
              display: block;
            }
#content table.home tbody tr td .ad-gallery .ad-thumbs li a.ad-active img {
              border: 1px solid red;
            }
/* Can't do display none, since Opera won't load the images then */
#content table.home tbody tr td .ad-preloads {
  position: absolute;
  left: -9000px;
  top: -9000px;
}
div.ad-preloads img{
visibility: hidden;
}

ul.ad-thumb-list li {
	margin-right: 3px;
}