/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> global settings needed for thickbox <<<-----------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
*{padding: 0; margin: 0;}
#flash_title_zindex {position: relative; z-index:10;}
/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> thickbox specific link and font settings <<<------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
#TB_window {
	font: 12px Arial, Helvetica, sans-serif;
	color: #000;
}

#TB_secondLine {
	font: 12px Arial, Helvetica, sans-serif;
	color:#000;
}

#TB_window a:link {color: #ff5900; margin: 0 0 0 0; padding: 0 0 0 0;}
#TB_window a:visited {color: #ff5900; margin: 0 0 0 0; padding: 0 0 0 0;}
#TB_window a:hover {color: #000; margin: 0 0 0 0; padding: 0 0 0 0;}
#TB_window a:active {color: #ff5900; margin: 0 0 0 0; padding: 0 0 0 0;}
#TB_window a:focus{color: #ff5900; margin: 0 0 0 0; padding: 0 0 0 0;}

/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> thickbox settings <<<-----------------------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
#TB_overlay {
	position: fixed;
	z-index:100;
	top: 0px;
	left: 0px;
	height:100%;
	width:100%;
}

.TB_overlayMacFFBGHack {background: url(macFFBgHack.png) repeat;}
.TB_overlayBG {
	background-color:#000;
	filter:alpha(opacity=70);
	-moz-opacity: 0.70;
	opacity: 0.70;
}

* 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;
	z-index: 102;
	color:#000000;
	display:none;
	border: 0px solid #525252;
	text-align: left;
	top:45%;
	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');
}

#TB_window img#TB_Image {
	clear: both;
	display:block;
	margin: 16px 0px 0 0;
	border-right: 0px solid #ccc;
	border-bottom: 0px solid #ccc;
	border-top: 0px solid #666;
	border-left: 0px solid #666;
}

#TB_caption{
	z-index: 108;
	position: relative;
	height:25px;
	padding:17px 17px 0px 0px;
	float:left;
	color:#000000;
}


#controls{
	
	margin-top: 20px;
	
}

#TB_closeWindow{
	z-index: 107;
	position: relative;
	height:25px;
	padding:17px 0px 0px 30px;
	float:right;
	color:#000000;
}

#TB_closeAjaxWindow{
	padding:7px 10px 5px 0;
	margin-bottom:1px;
	text-align:right;
	float:right;
	color:#000000;
}

#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;
}



/* rounded corners */



.dialog {
    position:relative;
  
    min-width:8em;
    max-width:876px; /* based on image dimensions */
    color:#fff;
    z-index:98;
    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(b_corners.png) no-repeat top right;
    _background-image:url(b_corners.gif);
}

.content {
    position:relative;
    zoom:1;
    _overflow-y:hidden;
    padding: 17px 17px 0px 0px;

	
}



.dialog .t {
    /* top+left vertical slice */
    position:absolute;
    left:0px;
    top:0px;
    width:17px; /* top slice width */
    margin-left:-17px;
    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:90px; /* height of bottom cap/shade */
    font-size:1px;
}

.dialog .b {
    background-position:bottom right;
}

.dialog .b div {
    position:relative;
    width:17px; /* bottom corner width */
    margin-left:-17px;
    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:1600px;
    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;
}

