/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> global settings needed for thickbox <<<-----------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
*{padding: 0; margin: 0;}

/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> thickbox specific link and font settings <<<------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
#TB_window {
	font-family: Arial, Helvetica, sans-serif;
	font-size:0.85em;
	color: #666666;
}

#TB_secondLine {
	font-family: Arial, Helvetica, sans-serif;
	font-size:0.8em;
	color:#666666;
}

#TB_window a:link {color: #DD7B1A;}
#TB_window a:visited {color: #DD7B1A;}
#TB_window a:hover {color: #DD7B1A;}
#TB_window a:active {color: #DD7B1A;}
#TB_window a:focus{color: #DD7B1A;}

/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> thickbox settings <<<-----------------------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
#TB_overlay {
	position: fixed;
	z-index:1000;
	top: 0px;
	left: 0px;
	height:100%;
	width:100%;
}

.TB_overlayMacFFBGHack {background: url(../../images/macFFBgHack.png) repeat;}
.TB_overlayBG {
	background-color: #111111;
	filter:alpha(opacity=80);
	-moz-opacity: 0.80;
	opacity: 0.80;
}

* 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: #ffffff;
	z-index: 1002;
	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');
}

#TB_window img#TB_Image {
	display:block;
	margin: 15px 0 0 15px;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	border-top: 1px solid #666;
	border-left: 1px solid #666;
}

#TB_caption{
	height:25px;
	padding:7px 30px 10px 25px;
	float:left;
}

#TB_closeWindow {
	position:absolute;
	top:-7px;
	right:-7px;
	z-index:73;
}
#TB_closeWindowButton{
    display:inline-block;
    padding-right:25px;
    padding-top: 8px;
    height:25px;
    text-decoration: none;
    color: #aaa !important;
    font-weight: bold;
    background:url(../../images/thickbox_close.gif) no-repeat right center;
}
#TB_closeWindowButton:hover{
    color: #f66 !important;
    background:url(../../images/thickbox_close_over.gif) no-repeat right center;
}


#TB_cancel{
    position: absolute;
    top: 450px;
    left: 350px;
    z-index: 85;
}
#TB_cancelBtn,
#TB_cancelBtn:hover{
/*
    display:inline-block;
    padding: 5px;
    border: 1px solid #666;
    font-size: 11px;
    color: #000 !important;
    text-decoration: none;
*/
}


#TB_ajaxWindowTitle{
	float:left;
	padding:7px 0 5px 10px;
	margin-bottom:1px;
}

#TB_ajaxContent{
	clear:both;
	padding:2px 15px 15px 15px;
	overflow:auto;
	text-align:left;
	line-height:1.4em;
	margin-top: 20px;
}

#TB_ajaxContent.TB_modal{
    border:1px solid #ea8a2f;
	padding:10px;
	margin: 5px;
	background:#eee;
}

#TB_ajaxContent p{
	padding:5px 0px 5px 0px;
}

#TB_load{
	position: fixed;
	display:none;
	height:13px;
	width:208px;
	z-index:1003;
	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:999;
	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;
}

/* background - garth */
div#thickbox_bg {
	position: absolute;
	top: 0; left: 0;
	width: 100%;
	height: 100%;
	z-index: 70;
	border: 0;
	padding: 0;
	margin: 0;
}
	
div.thickbox_bg {
	position: absolute;
	display: block;
	z-index: 70;
	border: 0;
	padding: 0;
	margin: 0;
}

div.thickbox_bg_n {
	top: -27px;
	width: 100%;
	height: 27px;
	background: transparent url('../../images/thickbox_shadow_n.png') repeat-x;
}

div.thickbox_bg_ne {
	top: -27px;
	right: -27px;
	width: 27px;
	height: 27px;
	background: transparent url('../../images/thickbox_shadow_ne.png') no-repeat;
}

div.thickbox_bg_e {
	right: -27px;
	height: 100%;
	width: 27px;
	background: transparent url('../../images/thickbox_shadow_e.png') repeat-y;
}

div.thickbox_bg_se {
	bottom: -27px;
	right: -27px;
	width: 27px;
	height: 27px;
	background: transparent url('../../images/thickbox_shadow_se.png') no-repeat;
}

div.thickbox_bg_s {
	bottom: -27px;
	width: 100%;
	height: 27px;
	background: transparent url('../../images/thickbox_shadow_s.png') repeat-x;
}

div.thickbox_bg_sw {
	bottom: -27px;
	left: -27px;
	width: 27px;
	height: 27px;
	background: transparent url('../../images/thickbox_shadow_sw.png') no-repeat;
}

div.thickbox_bg_w {
	left: -27px;
	height: 100%;
	width: 27px;
	background: transparent url('../../images/thickbox_shadow_w.png') repeat-y;
}

div.thickbox_bg_nw {
	top: -27px;
	left: -27px;
	width: 27px;
	height: 27px;
	background: transparent url('../../images/thickbox_shadow_nw.png') no-repeat;
}
/* make sure the content is above the background */
#TB_title, #TB_ajaxContent,#TB_iframeContent {
	position:relative;
	z-index:71;
}


#TB_window .print {
    margin-top:10px;
    text-align:center;
}

#TB_window .print a {
    display:inline-block;
    width:122px;
    height:40px;
    background:url(../../images/thickbox_print.gif) no-repeat;
}

div.secondaryClose {
    float: right;
	margin-top: -30px;
}
div.secondaryClose a.closeWindowButton{
    display:inline-block;
    width:55px;
    height:25px;
    background:url(../../images/thickbox_close.gif) no-repeat center right;
	font-family: Arial;
	font-size: 12px;
	font-weight: bold;
	color: #999 !important;
	text-decoration: none;
}
div.secondaryClose a.closeWindowButton:hover{
    background:url(../../images/thickbox_close_over.gif) no-repeat center right;
    color: #e8706b !important;
}
div.secondaryClose a.closeWindowButton span {
    position: relative;
    top: 3px;
}
