html { overflow: inherit;}
body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	background-color:#ffffff;
	overflow-y: scroll;
}
.wrapper {
	position:relative;
	width:950px;
	margin-left:auto;
	margin-right:auto;
	-moz-box-shadow: 2px 2px 2px #666;
	-webkit-box-shadow: 2px 2px 2px #666;
	box-shadow: 2px 2px 2px #666;
	border-width: 1px;
	border-style: solid;
	border-radius: 15px;
}
.nowrap {
	white-space: nowrap;
}
.td_eng{
	padding-left:0px;
	padding-right:0px;
}
.schatten{
	box-shadow: 1px 1px 1px #666;
}
input, textarea, select{
	box-shadow: 1px 1px 1px #666;
}
.fett {
	font-weight:bold;	
}
tbody {
	height: 0px;
	width: 0px;		
}
body img{
	border:none;	
}
textarea{
	white-space:pre;
}
ul li {
    list-style-type: none;
}
.autocomplete_highlight{
	color:#F36;	
}
.left_menue_item:link, .menue_item:visited{
	padding: 3px;
	width: 160px;
	border-bottom: solid 1px #eeeef7;
}
.left_menue_item_h:link, .menue_item_h:visited{
	padding: 3px;
	width: 160px;
	border-bottom: solid 1px #eeeef7;
}
.box{
	padding: 4px;
	-moz-box-shadow: 2px 2px 2px #666;
	-webkit-box-shadow: 2px 2px 2px #666;
	box-shadow: 2px 2px 2px #666;
}
.box-no-overflow{
	padding: 4px;
	-moz-box-shadow: 2px 2px 2px #666;
	-webkit-box-shadow: 2px 2px 2px #666;
	box-shadow: 2px 2px 2px #666;
	overflow: hidden;
}
#div_header{
	height: 120px;
	width: 950px;
	border-bottom-style:none;
	border-top-right-radius: 15px;
	border-top-left-radius: 15px;
}
#div_header_menue{
	position:absolute;
	top:75px;
	left:300px;
	z-index:2;
}
#div_menue{
	font-family:Arial;
	font-size:14px;
	float:left;
	border-style:none;
	padding-top:5px;
	width:168px;
	min-height:600px;
	padding-bottom: 20010px;  /* X + padding-bottom */
  	margin-bottom: -20000px;  /* X */
  	padding-right:5px;
}
#div_border_left{
	width: 5px;
	background-color:#686bae;
	float:left;
	margin-right: 5px;
}
#div_content{
	float:left;
	position:relative;
	margin-left:-6px;
	border-top-left-radius:8px;
	padding-left: 8px;
	padding-right: 0px;
	border-left-style:solid;
	border-left-width: 1px;
	border-top-style:solid;
	border-top-width: 1px;
	padding-bottom: 20010px;  /* X + padding-bottom */
	margin-bottom: -20000px;  /* X */
}
.main_content{
	clear:left;
	margin-right:5px;
}
#div_detail_wrapper{
	left:auto;
	margin-left:508px; /* h�lfte vom content + 10px Abstand */
	padding-bottom: 20010px;  /* X + padding-bottom */
	margin-bottom: -20000px;  /* X */
	width:258px;
	border-right-style:none;
	border-top-style:none;
	position:absolute;
	top:-4px;
}
#div_details{
	float:right;
	padding-left: 3px;
	padding-top: 2px;
	width:249px;
	padding-right:6px;
	top: 132px;
	position: fixed;
	min-height:575px;
	overflow:hidden;
	z-index:8;

}
.bild_detail{
	border: 1px solid #7f3125;
	max-width:450px;
	margin-left:25px;
	margin-top: 5px;
	margin-bottom: 5px;
	box-shadow: 2px 2px 2px #666;	
}
.thumb_detail{
	border: 1px solid #7f3125;
	max-width:245px;
	box-shadow: 2px 2px 2px #666;
}
.bild{
	border: 1px solid #7f3125;
	box-shadow: 2px 2px 2px #666;
}
.thumb_detail_no_border{
	max-width:245px;
	margin-top: 6px;
	margin-left: 1px;
	margin-bottom: 5px;	
}
.thumb_load_preview{
	background-image: url(../images/layout/load.gif);
	background-position: center bottom;
	background-repeat: no-repeat;
	margin-top: 5px;
	margin-bottom: 5px;
}
.footer{
	padding:2px;
	height:20px;
	position:relative;
	z-index:9;
	border-bottom-right-radius: 14px;
	border-bottom-left-radius: 14px;
}
.artikel_item a{
	font-weight:normal;
}
.artikel_item a:hover{
	font-weight:normal;
	cursor:pointer;
    background-image: url(../images/enlarge.png);
	background-repeat:no-repeat;
	background-position: 2px 3px;
	padding-left:25px;
}
.artikel_item a{
	padding:3px;
	font-weight:normal;	
	text-decoration:none;
}
.gruppe_item{
	margin: 2px;
}
.gruppe_item a:hover{
	background-color:#7f3125;
	color:#FFF;
	text-decoration:none;
	font-weight:bold;
	cursor:pointer;
}
.gruppe_item a{
	font-weight:bold;	
	text-decoration:none;
	color:#000;
}
.zusatz{
	font-size:10px;
}
.login_input{
	height: 16px;
	font-size:10px;
	margin-bottom:2px;
}
.login_button{
	height: 20px;
	width: 110px;
	font-size: 11px;
	margin-top: 2px;
	margin-bottom: 2px;
}
#suche{
	padding-top: 3px;
	padding-left: 3px;
	padding-bottom:5px;
	font-size: 11px;
	border-bottom-width: 2px;
	border-bottom-style: solid;
	border-bottom-color: #eeeef7;
}
#div_login{
	padding: 3px;
	margin-top:5px;
	border-top-width: 2px;
	border-top-style: solid;
	border-top-color: #eeeef7;
	font-size: 11px;
	border-bottom-width: 2px;
	border-bottom-style: solid;
	border-bottom-color: #eeeef7;
	margin-bottom: 2px;
	text-align: center;
}
#div_logout{
	padding: 3px;
	border-top-style: none;
	font-size: 11px;
	margin-bottom: 2px;
	text-align: center;
}
.details_header{
	text-decoration: none;
	color:#000;
	font-weight: bold;
}
.rot{
	background-color:#F00;
}
.schrift_schwarz{
	color:#000;
}
.schrift_weiss{
	color:#FFF;
}
.schrift_rot{
	color:#F00;
}
a.schwarz{
	color:#000;
	text-decoration: none;		
}
a:hover.weiss{
	text-decoration: underline;	
}
.ohneRand{
	border:none;	
}
.kein_rahmen{
	border-style:none;
	box-shadow:none;
}
.kein_bg{
	background:none;
}
h1{
	z-index:5;
	font-size: 20px;
	color:#000;
	padding-left:5px;
	padding-top:3px;
	padding-bottom:3px;
	padding-right:5px;	
	margin:0px;
	border: 1px solid #7f3125;
	font-weight:normal;
	-moz-box-shadow: 2px 2px 2px #666;
	-webkit-box-shadow: 2px 2px 2px #666;
	box-shadow: 2px 2px 2px #666;
}
h2{
	font-size: 16px;
	color:#fff;
	font-weight:normal;
	padding-left:5px;
	padding-top:3px;
	padding-bottom:3px;
	padding-right:5px;
	border-top: solid 1px #7F3125;
	border-right: solid 1px #7F3125;
	border-bottom: solid 1px #7F3125;
	border-left: solid 1px #7F3125;
	margin:0px;
	margin-top:3px;
	margin-bottom: 3px;
	-moz-box-shadow: 2px 2px 2px #666;
	-webkit-box-shadow: 2px 2px 2px #666;
	box-shadow: 2px 2px 2px #666;
}
h4{
	margin:0px;
}
td, th {
	vertical-align: middle;
	text-align:left;
}
label {
	font-weight: bold;	
}
.error {
	clear:left;
	background-color:#FFA0A0;
	border: thin solid #000000;
	padding: 3px;
	margin-top: 3px;
	margin-bottom: 3px;
	margin-right: 3px;
	margin-left: 3px;
}
.info {
	clear:left;
	background-color:#3C6;
	border: thin solid #000000;
	padding: 3px;
	margin-top: 3px;
	margin-bottom: 3px;
	margin-right: 3px;
	margin-left: 3px;
}
.bg{
	overflow: hidden;
}
.bg_no_details{
	overflow: hidden;
}
.bg_color_1{
	background-color:#fffebb;
}
.bg_color_2{
	background-color:#CCC;
}
.bg_color_3{
	background-color:#ffd8ea;
	color:#000000;
}

/* 1. Das Scrollen wird auf die Tabelle gelegt, OHNE das Tabellen-Layout aufzubrechen */
.auftragsliste {
	font-size:11px;
    display: block; /* Erlaubt max-height und Scrollen */
    max-height: 500px; /* Ihre gewünschte maximale Höhe */
    overflow-y: auto;
    overflow-x: auto; /* Falls die Tabelle mal breiter als der Dialog wird */
    border-collapse: collapse;
    width: 100%;
}

/* 2. Der Trick für dynamische Spalten: Wir fixieren die th-Zellen, NICHT das thead-Element */
.auftragsliste thead th {
    position: sticky;
    top: 0;
    z-index: 10;
	border: none !important;
	border: none !important;            /* Löscht den jQuery-UI Rahmen */
    box-shadow: none !important;        /* Löscht eventuelle Schatten */
}
.auftragsliste thead tr {
    border: none !important;
    outline: none !important;
}
.auftragsliste tbody {
    display: table-row-group; /* HTML-Standard erzwingen */
}
.auftragsliste tr {
    display: table-row; /* HTML-Standard erzwingen */
}
.auftragsliste tbody tr {
    border: none !important; /* Entfernt den Rahmen von den Zeilen */
}
.portal_tab{
	overflow: hidden !important; /* Verbietet jegliches Scrollen in diesem Container */
    max-height: none !important; /* Verhindert, dass der Container künstlich gestaucht wird */
}
button.portal{
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
}
img.icon{
	height:20px;
	width:20px;
	vertical-align:middle;
}
.small_icon{
	height:11px;
	width:11px;
	margin:1px;	
}
.kalender{
	cursor:pointer;
	vertical-align:top;
	width:85px;
	readonly:readonly;
	padding-left:5px;
}
.event_kalender{
	cursor:pointer;
	vertical-align:top;
	width:85px;
	readonly:readonly;
	padding-left:5px;
}
.oben{
	vertical-align: top;		
}
.rechtsbuendig{
	text-align:right;		
}
.zentriert{
	text-align:center;		
}
#position_table td{
	vertical-align:top;
}
.ui-datepicker-trigger {
	margin-top: 1px;
	width:20px;
	heigth:20px;
	cursor: pointer;
	margin-left : 5px;
	vertical-align : middle;
}
.ui-spinner-input{
	box-shadow: none;
}
.ui-menu{
	width:162px;
	z-index:9;
	position:relative;
}
.container{
	position:relative;
	margin-bottom:5px;
	margin-right:8px;	
}
.content{
	height:100%;
	top:-1px;
	padding-top: 4px;
}
.select-disabled{
	background:#888888;
	font-color:#444444;
}
.ui-spinner{
	vertical-align:top;
}
.fehler{
	background:#F00;
	color:#FFF;
}
a{
	color:#000;
}
#bg {
  position: fixed; 
  top: -50%; 
  left: -50%; 
  width: 200%; 
  height: 200%;
}
#bg img {
  position: absolute; 
  top: 0; 
  left: 0; 
  right: 0; 
  bottom: 0; 
  margin: auto; 
  min-width: 50%;
  min-height: 50%;
}
div.jquery-image-zoom {
	line-height: 0;
	font-size: 0;

	z-index: 10;

	border: 5px solid #fff;
	margin: -5px;

	-webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
	-moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
div.jquery-image-zoom a {
	background: url(images/jquery.imageZoom.png) no-repeat;

	display: block;
	width: 25px;
	height: 25px;

	position: absolute;
	left: -17px;
	top: -17px;
	/* IE-users are prolly used to close-link in right-hand corner */
	*left: auto;
	*right: -17px;

	text-decoration: none;
	text-indent: -100000px;
	outline: 0;

	z-index: 11;
}

div.jquery-image-zoom a:hover {
	background-position: left -25px;
}

div.jquery-image-zoom img, 
div.jquery-image-zoom embed, 
div.jquery-image-zoom object, 
div.jquery-image-zoom div {
	width: 100%;
	height: 100%;
	margin: 0;
}
.ui-tabs .ui-tabs-panel{
	padding: 1em 0.3em;
}
span.team_rot{
	background:#FF0000;
	color: #FFFFFF;
	border-radius: 15px;
	font-weight:bold;
	padding-right:5px;
	padding-left:5px;
	display: block;		
}
span.team_gruen{
	background:#008000;
	color: #FFFFFF;
	border-radius: 15px;
	font-weight:bold;
	padding-right:8px;
	padding-left:8px;
}
span.team_neutral{
	padding-right:8px;
	padding-left:8px;
}
#messagebox{	
    position: fixed;
	display:none;
    left: 50%;
    top: 40%;  
    z-index:9999;  
}
#messagebox_content{
	position: relative;
	left: -50%;
	top:-60%;
    border: 2px solid #d0d0d0;
    padding: 10px;
    font-size: 1.5em;
    border-radius: 15px;
    z-index:9999;
}
.mess_hinweis{
	background:#80ff80;
	color: #303030;
}
.mess_warnung{
	background:#ffffc0;	
	color: #303030;
}
.mess_fehler{
	background:#ff8080;
	color: #303030;
}
#div_nicht_vergessen{
	margin-top:10px;
}
.td_pos_text{
	max-width:200px;
}
.kalender_kontakt{
	color: #000000;
	border-radius: 15px;
	border: solid 2px #000000;
	font-weight: bold;
	padding:1px;
	padding-right: 5px;
	padding-left: 5px;
}
th.rotate {
  /* Something you can count on */
  height: 140px;
  white-space: nowrap;
}
th.rotate > div {
  transform: 
    /* Magic Numbers */
    translate(25px, 51px)
    /* 45 is really 360 - 45 */
    rotate(315deg);
  width: 35px;
  position:relative;
  left:-20px;
}
th.rotate > div > span {
  border-bottom: 1px solid #ccc;
}
th.rotate.hover {
  /* Something you can count on */
  height: 140px;
  white-space: nowrap;
}
th.rotate.hover > div > span {
  border-bottom: 1px solid #ccc;
  color:#000;
  background-color:#FFFF00;
}
th.norotate{
	vertical-align:bottom;
}
th.norotate.hover{
	background-color:#FFFF00;
	color:#000;
}
td.trahmen {
	border-right: 1px solid #ccc;
}
td.checked{
	background: url(../images/accept_grey.png) no-repeat center;
	background-size:50%;
}
td.acknowledged{
	background: url(../images/accept.png) no-repeat center;
	background-size:50%;
}
td.unchecked{
	background: url(../images/delete.png) no-repeat center;
	background-size:50%;
}
