


#TB_window a:link {color:white; font-weight: bold;}
#TB_window a:visited {color:white; font-weight: bold;}
#TB_window a:hover {color:#DFF0FF; font-weight: bold; text-decoration:none}
#TB_window a:active {color:#DFF0FF; font-weight: bold;}
#TB_window a:focus{color:#DFF0FF; font-weight: bold;}
#TB_pages a.active {font-weight: bold; text-decoration: none; color:#DFF0FF; cursor: default;  }


#TB_overlay {position: absolute; z-index: 100; width: 100%; height: 100%; top: 0; left: 0; min-height: 100%; background-color: #000; filter:alpha(opacity=70); -moz-opacity: 0.70; opacity: 0.70; }
#TB_window {background:#333; z-index: 102; position: fixed; position: absolute; top: 35px; left: 50%; }
* html #TB_window {position: absolute;}
#TB_secondLine {margin: 0 15px;  padding: 10px 0; }


#TB_window img {display: block;  margin: 15px 0 15px 15px; border:none; padding: 1px; clear: both; _margin: 0; }
#TB_ImageOff { min-height: 150px;  display: block;  background: url(/img/loadingAnimation.gif) no-repeat 50% 50%;  margin: 15px 0;  zoom: 1;  padding: 0; text-align: center; }
#TB_caption {padding: 0 15px; margin: 0 0 0 0; text-align: left; }
#TB_desc {padding: 0 15px; margin: 5px 10px 5px 10px; text-align: center; }
#TB_pages {padding: 0 15px; margin: 0 77px 5px 95px; text-align: center; word-spacing: 2px; }


#TB_prev {float: left; padding: 3px 5px 3px 20px; background: url("/img/thickbox-left.gif") no-repeat 0 50%; text-decoration:none;}
#TB_next {float: right; padding: 3px 20px 3px 25px; background: url("/img/thickbox-right.gif") no-repeat 100% 50%; text-decoration:none;}

#TB_closeWindow {position: absolute; display: block;  padding: 0;  right: 0;  top: -28px;  cursor: pointer; padding: 0 0 0 10px;  margin: 0;  margin-right: 0;  font-size: 109%;  color: black;  text-decoration: none; background: url("/img/bg-headbox.gif") repeat-x 0 0; }
#TB_closeWindow a {color:#fff; font-family:arial; font-size:13px;  text-decoration:none; font-weight:bold; background: white url("/img/thickbox-zavrit.gif") no-repeat 85% 50%;  display: block;  padding: 6px 25px 8px 10px;  position: relative;   cursor: pointer; }
#TB_closeAjaxWindow {padding: 5px 10px 7px 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; }
#TB_ajaxContent {clear: both; margin: 2px 15px 15px 15px; overflow: auto; text-align: left; line-height: 1.4em; border: 4px solid #C6CDD3; padding: 15px; }
#TB_ajaxContent p {padding: 5px 0px 5px 0px; }
#TB_load {position: absolute; display: none; height: 50px; width: 200px; background: white url("/img/lb-loading.gif") no-repeat 50% 40%; z-index: 101; padding-top: 80px; }

#TB_HideSelect {z-index: 99; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: #fff; border: none; filter:alpha(opacity=0); -moz-opacity: 0; opacity: 0; }

#TB_iframeContent {border: none; clear: both; }

#tbxpan { display: block; overflow: auto; margin: 15px 0 15px 15px; border: 4px solid #C6CDD3; padding: 1px; background: url(/img/lb-loading.gif) no-repeat 50% 50%; }
#tbxpan.no-loading { background: none; }
#tbxpan img, #tbxpan #TB_ImageOff { display: block; margin: 0; border: 0; padding: 0; background: none; }

#TB_tools { position: absolute; top: 40px; right: 20px; }
#TB_tools p { float: right;}
#TB_tools a { display: block; float: left; xborder: 1px outset #8f8f8f; padding: 5px; margin-left: 5px; height: 24px; line-height: 24px; text-align: left; }
#TB_tools a.zoom-fit, #TB_tools a.zoom-1  { background: url(/img/ico-zoom-fit.png) no-repeat 0 50%; width: 130px;  padding-left: 30px; }
#TB_tools a.zoom-1 { background: url(/img/ico-zoom-1.png) no-repeat 0 50%; }
#TB_tools a:focus { outline: none; }
#TB_tools a#TB_openImg { padding-left: 20px; background: url(/img/ico-save.png) no-repeat 0 50%; height: 24px; line-height: 24px; }
