/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> global settings needed for thickbox <<<-----------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
*{
  padding: 0;
  margin: 0;
}
#TB_window {
  font: 12px Arial, Helvetica, sans-serif;
  color: #333333; 
}

/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> TB Decoration <<<---------------------------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
#TB_D1,
#TB_D2,
#TB_D3,
#TB_D4,
#TB_D5,
#TB_D6
{
  position: absolute;
  font-size: 0;
  line-height: 0;
}
#TB_D1 {
  top: -5px;
  left: -5px;
  width: 5px;
  height: 5px;
  background: url(../../images/front/box_8_top.png) no-repeat top left;
}
#TB_D2 {
  top: -5px;
  right: -5px;
  width: 100%;
  height: 5px;
  padding-right: 5px;
  background: url(../../images/front/box_8_top.png) no-repeat top right;
}
#TB_D3 {
  bottom: -8px;
  left: -5px;
  width: 5px;
  height: 8px;
  background: url(../../images/front/box_8_bottom.png) no-repeat top left;
}
#TB_D4 {
  bottom: -8px;
  right: -5px;
  width: 100%;
  height: 8px;
  padding-right: 5px;
  background: url(../../images/front/box_8_bottom.png) no-repeat top right;
}
#TB_D5, #TB_D6 {
  top: 0;
  width: 5px;
  height: 100%;
  background: #fff;
}
* html #TB_D5 { /* ie6 hack */
     height: expression(this.parentElement.offsetHeight + 'px');
}
* html #TB_D6 { /* ie6 hack */
     height: expression(this.parentElement.offsetHeight + 'px');
}
#TB_D5 {
  left: -5px;
}
#TB_D6 {
  right: -5px;
}
#TB_logo {
  position: absolute;
  z-index: 1010;
  top: 10px;
  left: -5px;
  width: 100%;
  height: 60px;
  padding: 0 5px;
  background: url(../../images/front/logo_2_gray.gif) no-repeat 15px 0;
  border-bottom: 1px solid #ddd;
}


#TB_secondLine {
  z-index: 2000;
  position: absolute;
  bottom: 0;
  width: 100%;
  margin-left: -5px;
  padding: 10px 5px 5px 5px;
  text-align: center;
  font: 10px Arial, Helvetica, sans-serif;
  color:#666666;
  border-top: 1px solid #ddd;
}
#TB_next a, #TB_prev a {
  position: absolute;
  top: 9px;
  display: block;
  height: 16px;
  line-height: 16px;
  font-size: 12px;
  text-transform: uppercase;
  color: #5D8610 !important;
}
#TB_next a {
  right: 10px;
  padding-right: 20px;
  background: url(../../images/front/button_next.gif) no-repeat top right;
}
#TB_prev a {
  left: 10px;
  padding-left: 20px;
  background: url(../../images/front/button_prev.gif) no-repeat top left;
}
#TB_next a:hover {
  color: #F3450A !important;
  background-position: bottom right;
}
#TB_prev a:hover {
  color: #F3450A !important;
  background-position: bottom left;
}

/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> thickbox settings <<<-----------------------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
#TB_overlay {
  position: fixed;
  z-index:1000;
  top: 0px;
  left: 0px;
  height:100%;
  width:100%;
}

.TB_overlayMacFFBGHack {background: url(macFFBgHack.png) repeat;}
.TB_overlayBG {
  background-color:#000;
  filter:alpha(opacity=15);
  -moz-opacity: 0.15;
  opacity: 0.15;
}

* 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: 1000;
  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_caption{
  position: absolute;
  top: 10px;
  left: 155px;
  display: table-cell;
  height: 40px;
  padding-right: 35px;
  vertical-align: middle;
  font-size: 16px;
  font-weight: bold;
}

#TB_closeWindow{
}

#TB_closeAjaxWindow{
  height: 0;
  margin: 0;
  font-size: 0;
  line-height: 0;
}
#TB_closeWindowButton {
  position: absolute;
  z-index: 1020;
  top: 10px; right: 10px;
  display: block;
  width: 16px;
  height: 16px;
  text-indent: -1000em;
  background: url(../../images/front/dialog_close_button.gif) no-repeat center top;
}
#TB_closeWindowButton:hover {
  background-position: center bottom;
}

#TB_ajaxWindowTitle{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}
#TB_description {
  z-index: 1;
  position: relative;
  padding: 10px 5px 5px 5px;
}
#TB_description span {
  display: block;
  padding: 0 5px;
}
.has_buttons {
  padding-bottom: 42px !important;
}

#TB_title {
}
#TB_ImageOff, #TB_ajaxContent {
  padding: 85px 10px 10px 10px;
}
#TB_ImageOff {
  display: block;
}
#TB_ajaxContent {
  clear: both;
  overflow: hidden;
  text-align: left;
}

#TB_ajaxContent.TB_modal{
  padding: 15px;
}

#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: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;
}
