/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> global settings needed for thickbox <<<-----------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
/*	*{padding: 0; margin: 0;}	*/

/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> thickbox specific link and font settings <<<------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
#TB_window {
	/*font: 12px Arial, Helvetica, sans-serif;*/
	color: #543715;

}

#TB_secondLine {
	color: #754416;
	padding-bottom: 8px;
	padding-left: 20px;
}
#TB_window a { text-decoration: none;}
#TB_window a:link {color: #754416;}
#TB_window a:visited {color: #754416;}
#TB_window a:hover {color: #FFF;}
#TB_window a:active {color: #754416;}
#TB_window a:focus{color: #754416;}

#TB_window h2 { padding-top: 4px; color: #754416; }

.tbhighlight {
	color: white !important;
}

/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> thickbox settings <<<-----------------------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
#TB_overlay {
	position: fixed;
	z-index:100;
	top: 0px;
	left: 0px;
	background-color:#63350d;
	filter:alpha(opacity=75);
	-moz-opacity: 0.75;
	opacity: 0.75;
	height:100%;
	width:100%;
}

* html #TB_overlay { /* ie6 hack */
	position: absolute;
	height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

#TB_window {
	position: fixed;
	/* background-color: #c2a37f; */
	/* background: url(images/rundung.jpg) no-repeat; */
	z-index: 102;
	color: #543715;
	display: none;
	text-align: left;
	top: 50%;
	left: 50%;
}

* html #TB_window { /* ie6 hack */
	position: absolute;
	margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
}

#tbcontent {
	background-color: #C2A37F;
}


#TB_window img#TB_Image {
	padding: 0px 20px;
	padding-bottom: 8px;
}

#TB_caption{
	padding-top: 14px;
}

#TB_caption h2 {
	font-size: 26px;
	padding: 10px 0 20px 20px;
}

#TB_footer{
	padding-left: 20px;
}

#tbhighlight a {
	color: white;
}

#TB_closeWindow {
        padding-top: 4px;
        margin-top: 10px;
        margin-right: 25px;
        float: right;
}

/* ie6 */
* html #TB_closeWindow {
	margin-right: 12px;
}

#TB_closeWindow img {
      margin-left: 4px;
}

#TB_closeAjaxWindow {
	padding:7px 10px 5px 0;
	margin-bottom:1px;
	text-align:right;
	float:right;
}

#TB_ajaxWindowTitle {
	float:left;
	padding:7px 0 5px 10px;
	margin-bottom:1px;
}

#TB_title {
	background-color:#e8e8e8;
	/*height:27px;*/
}

#TB_ajaxContent {
	clear:both;
	padding:2px 15px 15px 15px;
	overflow:auto;
	text-align:left;
	line-height:1.4em;
}

#TB_ajaxContent.TB_modal {
	padding:15px;
}

#TB_ajaxContent p {
	padding:5px 0px 5px 0px;
}

#TB_load {
	position: fixed;
	display:none;
	height:13px;
	width:208px;
	z-index:103;
	top: 50%;
	left: 50%;
	margin: -6px 0 0 -104px; /* -height/2 0 0 -width/2 */
}

* html #TB_load { /* ie6 hack */
position: absolute;
margin-top: expression(0 - parseInt(this.offsetHeight / 2) + (TBWindowMargin = document.documentElement && document.documentElement.scrollTop || document.body.scrollTop) + 'px');
}

#TB_HideSelect {
	z-index:99;
	position:fixed;
	top: 0;
	left: 0;
	background-color:#fff;
	border:none;
	filter:alpha(opacity=0);
	-moz-opacity: 0;
	opacity: 0;
	height:100%;
	width:100%;
}

* html #TB_HideSelect { /* ie6 hack */
     position: absolute;
     height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight + 'px');
}

#TB_iframeContent {
	clear:both;
	border:none;
	margin-bottom:-1px;
	margin-top:1px;
	_margin-bottom:1px;
}

/*
  -- Even more rounded corners with CSS: Base stylesheet --
  http://www.schillmania.com/projects/dialog2/
*/

.dialog {
	position:relative;
	margin:0px auto;
	min-width:8em;
	max-width:760px; /* based on image dimensions - not quite consistent with drip styles yet */
	color:#fff;
	z-index:1;
	margin-left:12px; /* default, width of left corner */
	margin-bottom:0.5em; /* spacing under dialog */
}

.dialog .content,
.dialog .t,
.dialog .b,
.dialog .b div {
	background:transparent url(../images/dialog.png) no-repeat top right;
	/*background-image:url(../images/dialog.gif);*/
}

/* ie6 hack */
* html .dialog .content,
* html .dialog .t,
* html .dialog .b,
* html .dialog .b div {
	background-image:url(../images/dialog.gif);
}

.dialog .content {
	position:relative;
	zoom:1;
	_overflow-y:hidden;
	padding:0px 12px 0px 0px;
}

.dialog .t {
	/* top+left vertical slice */
	position:absolute;
	left:0px;
	top:0px;
	width:12px; /* top slice width */
	margin-left:-12px;
	height:100%;
	_height:1600px; /* arbitrary long height, IE 6 */
	background-position:top left;
}

.dialog .b {
	/* bottom */
	position:relative;
	width:100%;
}

.dialog .b,
.dialog .b div {
	height:30px; /* height of bottom cap/shade */
	font-size:1px;
}

.dialog .b {
	background-position:bottom right;
}

.dialog .b div {
	position:relative;
	width:12px; /* bottom corner width */
	margin-left:-12px;
	background-position:bottom left;
}

.dialog .hd,
.dialog .bd,
.dialog .ft {
	position:relative;
}

.dialog .wrapper {
	/* extra content protector - preventing vertical overflow (past background) */
	position:static;
	max-height:1000px;
	overflow:auto; /* note that overflow:auto causes a rather annoying redraw "lag" in Firefox 2, and may degrade performance. Might be worth trying without if you aren't worried about height/overflow issues. */
}

.dialog h1,
.dialog p {
	margin:0px; /* margins will blow out backgrounds, leaving whitespace. */
	padding:0.5em 0px 0.5em 0px;
}

.dialog h1 {
	padding-bottom:0px;
}
