
/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> thickbox specific link and font settings <<<------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
#tb_window {
	font-size: 16px;
	color: #333333;
}

#tb_secondline {
	font-size: 14px;
	color:#666666;
}

.rtl #tb_window,
.rtl #tb_secondline {
	font-family: tahoma, sans-serif;
}

:lang(he-il) .rtl #tb_window,
:lang(he-il) .rtl #tb_secondline {
	font-family: arial, sans-serif;
}

#tb_window a:link {color: #666666;}
#tb_window a:visited {color: #666666;}
#tb_window a:hover {color: #000;}
#tb_window a:active {color: #666666;}
#tb_window a:focus{color: #666666;}

/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> thickbox settings <<<-----------------------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
#tb_overlay {
	position: fixed;
	z-index:9400; /* should overlap theme modal, which is 500 on mobile. */
	top: 0px;
	left: 0px;
	height:100%;
	width:100%;
}

.tb_overlaymacffbghack {background:  repeat;}
.tb_overlaybg {
	background-color:#000;
	-ms-filter:"progid:dximagetransform.microsoft.alpha(opacity=75)";
	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: 20000; /* should overlap theme modal, which is 500 on mobile. */
	color:#000000;
	visibility: hidden;
	text-align:left;
	top:50%;
	left:50%;
	border: 1px solid #555;
	-moz-box-shadow: rgba(0,0,0,1) 0 4px 30px;
	-webkit-box-shadow: rgba(0,0,0,1) 0 4px 30px;
	-khtml-box-shadow: rgba(0,0,0,1) 0 4px 30px;
	box-shadow: rgba(0,0,0,1) 0 4px 30px;
}

* 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:6px 10px 0;
	text-align:right;
	float:right;
}

#tb_closeajaxwindow a {
	text-decoration: none;
}

#tb_ajaxwindowtitle{
	float:left;
	padding:6px 10px 0;
	font-size:16px;
}

#tb_title{
	background-color:#e8e8e8;
	height:36px;
}

#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;
	z-index:103;
	top: 50%;
	left: 50%;
	margin-left:-30px;
}

* 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-bottom:1px;
}

.tb-close-icon {
	height: 22px;
	margin: 1px -3px 0 0;
	width: 22px;
	background:  no-repeat;
}
#tb_window.full{
	position: fixed  !important;
    z-index: 11111;
    width: 100%  !important;
	height:100%  !important;
	top:0  !important;
	left:0  !important;
	margin-left:0  !important;
	margin-top:0 !important;
}
#tb_window.full iframe{
	height:96% !important;
	width:100% !important;
}
.tb-close-icon:hover:before {
	color: red;
	text-decoration:none;
}
#tb_closewindowbutton{
	text-decoration:none;
}