/*
 * Smoothbox v20070814 by Boris Popoff (http://gueschla.com)
 *
 * Based on Cody Lindley's Thickbox, MIT License
 *
 * Licensed under the MIT License:
 *   http://www.opensource.org/licenses/mit-license.php
 */

html, body {
	/* Stephan removed - min-height: 100%; */
	min-height: 99%;
	/* Stephan removed (iCab not reading) - height: auto !important;
	height: 100% */
	height: 99%;
}

/* Stephan added for IE */
* html, * html body {
	height: auto !important;
	height: 95%;
}
/* End added */

#TB_window {
	/* Stephan removed - font: 12px Arial, Helvetica, sans-serif; */
	color: #333333;  
	font-size: 11px; /* Stephan added */
}

#TB_secondLine {
	/* Stephan removed - font: 10px Arial, Helvetica, sans-serif;
	color:#666666;*/
}

#TB_window a:link {/* Stephan removed - color: #666666; */} 
#TB_window a:visited {/* Stephan removed - color: #666666; */}
#TB_window a:hover {/* Stephan removed - color: #666666; */}
#TB_window a:active {/* Stephan removed - color: #666666; */}
#TB_window a:focus{/* Stephan removed - color: #666666; */}

#TB_overlay {
	position: absolute;
	z-index:100;
	top: 0px;
	left: 0px;
	/* Stephan removed background-color:#000; */
}

#TB_window {
	position: absolute;
	background: #ffffff;
	z-index: 102;
	/* Stephan removed color:#000000; */
	/* Stephan removed border: 4px solid #525252; */
	border: 1px dotted #666; /* Stephan added */
	text-align:left;
}

#TB_window img {
	display:block;
	/* sat - margin: 15px 0 0 15px; */
	margin: 0 0 15px 15px; /* sat */
	clear: left;  /* sat */
	/* Stephan removed - border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	border-top: 1px solid #666;
	border-left: 1px solid #666; */
}

#TB_caption{
	/* Stephan removed - height:25px; */
	height: 20px; /* Stephan added */
	/* Stephan removed - padding:7px 30px 10px 25px; */
	padding: 5px 30px 3px 15px; /* Stephan added */
	float:left;
}

#TB_closeWindow{
	/* Stephan removed - height:25px; */
	/* Stephan removed - padding:11px 25px 10px 0; */
	padding: 6px 15px 0 0; /* Stephan added */
	float:right;
}

#TB_closeAjaxWindow{
	/* Stephan removed padding:5px 10px 7px 0; */
	padding: 6px 15px 0 0; /* Stephan added */
	margin-bottom:1px;
	text-align:right;
	float:right;
}

#TB_ajaxWindowTitle{
	float:left;
	/* Stephan removed - padding:7px 0 5px 10px; */
	padding: 5px 30px 3px 15px; /* Stephan added */
	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 p{
	padding:5px 0px 5px 0px;
}

#TB_load{
	position: absolute;
	display:none;
	/* Stephan removed - height:100px; */
	/* Stephan removed - width:100px; */
	width: 197px; /* Stephan added */
	height: 197px; /* Stephan added */
	z-index:101;
	background-color: #fff; /* Stephan added */
	border: 1px dotted #666; /* Stephan added */
}

#TB_HideSelect{
	/* Stephan removed - causing TB Window to appear in wrong place before preloader, and heighten width - don't have any selects to hide! */
	/* z-index:99; */ 
	/* position:absolute; */
	/* top: 0; */
	/* left: 0; */
	/* background-color:#fff; */
	/* border:none; */
}

#TB_iframeContent{
	clear:both;
	border:none;
	margin-bottom:-1px;
	margin-top:1px;
}

/* IE6 */
* html #TB_iframeContent{
	margin-bottom:1px;
}

/* Stephan added */

#TB_window a img.smoothboxdownload, #TB_window a img.smoothboxnext, #TB_window a img.smoothboxprev, #TB_window a img.smoothboxclose {
	height: 11px;
	width: 11px;
	border: none;
	display: inline;
	vertical-align: bottom;
}

#TB_window a img.smoothboxnext, #TB_window a img.smoothboxprev {
	margin: 0 5px;
}

#TB_window a img.smoothboxdownload {
	background: url(/graphics/download.gif) no-repeat 0 0;
	margin: 0;
	margin-right: 10px;
}

#TB_window a img.smoothboxnext {
	background: url(/graphics/forward.gif) no-repeat 0 0;
}

#TB_window a img.smoothboxprev {
	background: url(/graphics/back.gif) no-repeat 0 0;
}

#TB_window a img.smoothboxclose {
	margin: 0;
	background: url(/graphics/close.gif) no-repeat 0 0;
}

#TB_window a:hover img.smoothboxdownload, #TB_window a:hover img.smoothboxprev, #TB_window a:hover img.smoothboxnext, #TB_window a:hover img.smoothboxclose {
	background-position: -11px 0;
	text-decoration: none;
}

#TB_load img {
	width: 197px;
	height: 197px;
}
