
#TB_window {
  font-size: 12px;
  font-family: Arial, Helvetica, sans-serif;
  color: #333333;
}

#TB_secondLine {
  font: 10px Arial, Helvetica, sans-serif;
  color:#666666;
}
#TB_window a:link {color: #666666;}
#TB_window a:active {color: #666666;}
#TB_window a:focus{color: #666666;}
#TB_overlay {
  position: fixed;
  z-index:100;
  top: 0px;
  left: 0px;
  height:100%;
  width:100%;
}
.TB_overlayMacFFBGHack {background: url(gfx/macFFBgHack.png) repeat;}
.TB_overlayBG {
  background-color:#000;
  filter:alpha(opacity=75);
  -moz-opacity: 0.75;
  opacity: 0.75;
}
* 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: 102;
  color:#000000;
  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{
  height:25px;
  padding:11px 25px 10px 0;
  float:right;
}
#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;
  display: none;
}
#TB_ajaxContent{
  clear:both;
  padding:2px 15px 15px 15px;
  overflow:auto;
  text-align:left;
  line-height:1.4em;
  border: none;
}
#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;
}
#TB_corner-lt { width:20px; height:20px; float:left;  background: transparent url('gfx/corner.png') 0 0 no-repeat; position:absolute; left:-20px; z-index: 3; }
#TB_corner-rt { width:20px; height:20px; float:right; background: transparent url('gfx/corner.png') 100% 0 no-repeat; position:absolute; right:-20px; z-index: 5; }
#TB_corner-lb { width:20px; height:20px; float:left;  background: transparent url('gfx/corner.png') 0 100% no-repeat; position:absolute; left:-20px; z-index: 8; }
#TB_corner-rb { width:20px; height:20px; float:right; background: transparent url('gfx/corner.png') 100% 100% no-repeat; position:absolute; right:-20px; z-index: 11; }
#TB_top { height:20px; position:relative; margin:0 20px; margin-top:-20px; top:0; z-index: 2; background: transparent url('gfx/corner-top.png') repeat-x scroll 0 0;}
#TB_bottom { height:20px; position:relative; margin:0 20px; margin-bottom:-20px; top:0; clear:both; background: transparent url('gfx/corner-bottom.png') repeat-x scroll 0 100%; }
#TB_top .TB_white-bg, #TB_bottom .TB_white-bg { background:white; height:20px; margin:0 20px; position:relative; }
.megaspecialthickbox #TB_window { background: transparent url('gfx/corner-all.png') repeat-y scroll 0 0; width: 630px!important; }
.megaspecialthickbox #TB_window #TB_iframeContent { z-index: 20; /*margin-top: 8px!important;*/ }
#TB_window .but a { color: #ffffff; }
.megaspecialthickbox  #TB_ajaxContent { padding:0 4px; margin: 0 11px; background: url('gfx/corner-x.jpg') repeat-x scroll 0 100% #fff; width: 600px!important; }
.megaspecialthickbox  #TB_iframeContent { padding:0 4px; margin: 1px 11px -4px 11px; background: transparent url('gfx/corner-x.jpg') repeat-x scroll 0 100%; width: 600px!important; }
.megaspecialthickbox  #TB_ajaxContent div { margin: 5px; }
.thickboxonly #TB_ajaxContent div {padding:0px;}
.thickboxonly #TB_top, .thickboxonly #TB_bottom {display:none;}
.thickboxonly #TB_ajaxContent {padding:0px;}
.thickboxonly #TB_window {width:517px!important;}
.megaspecialthickbox2 #TB_window { background: transparent url('gfx/corner-all2.png') repeat-y scroll 0 0; width: 490px!important; }
.megaspecialthickbox2  #TB_ajaxContent { padding:0 4px; margin: 0 11px; background: transparent url('gfx/corner-x.jpg') repeat-x scroll 0 100%; width: 471px!important; }
.megaspecialthickbox2  #TB_iframeContent { padding:0 4px; margin: 1px 11px -4px 11px; background: transparent url('gfx/corner-x.jpg') repeat-x scroll 0 100%; width: 471px!important; }
.megaspecialthickbox2  #TB_ajaxContent div { margin: 5px; }
.megaspecialthickbox2 #TB_bottom {width:461px;}
.megaspecialthickbox2 #TB_top {width:461px;}

.megaspecialthickbox3 #TB_window { background: transparent; width: 980px!important; }
.megaspecialthickbox3  #TB_ajaxContent { padding:0; margin:0; background:transparent; width: 984px!important; }
.megaspecialthickbox3  #TB_iframeContent { padding:0; margin: 0px; background: transparent; width: 980px!important; }
.megaspecialthickbox3 #TB_bottom {width:980px; background: transparent;margin: 0; }
.megaspecialthickbox3 #TB_top {width:980px; background: transparent; margin: 0; }
.megaspecialthickbox3 #TB_corner-lt {background:none;}
.megaspecialthickbox3 #TB_corner-rt {background:none;}
.megaspecialthickbox3 #TB_corner-lb {background:none;}
.megaspecialthickbox3 #TB_corner-rb {background:none;}
.megaspecialthickbox3 #TB_window span.close-popup-megaspecial{right: 4px;top: 62px;}

.megaspecialthickbox4 #TB_window { background: #f4f4f4;  border-radius:10px;}
.megaspecialthickbox4 #TB_ajaxContent { padding:0 4px; margin: 0 11px; background: none!important; }
.megaspecialthickbox4 #TB_iframeContent { padding:0 4px; margin: 1px 11px -4px 11px; background: none; width: 471px!important; }
.megaspecialthickbox4 #TB_ajaxContent div { margin: 5px; }
.megaspecialthickbox4 #TB_corner-rt, .megaspecialthickbox4 #TB_corner-lt, .megaspecialthickbox4 #TB_corner-rb, .megaspecialthickbox4 #TB_top,.megaspecialthickbox4 #TB_corner-lb, .megaspecialthickbox4 #TB_bottom {background:none;}
.megaspecialthickbox4 #TB_top { margin:0px; top:0px;}

body.product #TB_ajaxContent { background: url("bfw/home/bg-main.jpg") repeat scroll 0 0 #FFFFFF;}
body.product .close-popup-megaspecial {top:10px!important; right:10px!important;}
