/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> global settings needed for thickbox <<<-----------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/

/**{padding: 0; margin: 0;}
*/

/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> thickbox specific link and font settings <<<------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/

/*#TB_window {
	font: 12px 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: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: 1042;
	top: 0px;
	left: 0px;
	background-color: #000;
	filter: alpha(opacity=85);
	-moz-opacity: 0.85;
	opacity: 0.85;
	height: 100%;
	width: 100%;
}

* 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: absolute;
    background: #000 !important;
    border: 1px solid #222 !important;
    -webkit-box-shadow: 0 0 10px rgba(0,0,0,0.7);
    -moz-box-shadow: 0 0 10px rgba(0,0,0,0.7);
    -o-box-shadow: 0 0 10px rgba(0,0,0,0.7);
    box-shadow: 0 0 10px rgba(0,0,0,0.7);
    z-index: 1042;
    color: #000000;
    display: none;
    border: 4px solid #4a4a4a;
    text-align: left;
    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;
	border: 1px solid #ccc;
}

#TB_caption{
	height:25px;
	padding:7px 30px 10px 25px;
	float:left;
}

#TB_closeWindow{
	height:25px;
	margin: 4% 4% 0 0;
	float:right;
}

#TB_closeAjaxWindow {
	padding: 10px 16px 3px 0;
	text-align: right;
}

#TB_ajaxWindowTitle{
	float:left;
	padding:7px 0 5px 20px;
	margin-bottom:1px;
}

#TB_closeAjaxWindow img {
	width: 13px;
	height: 13px;
}

#TB_title{
	background-color:#f0f0f0;
	height:30px;
	
}

#TB_ajaxContent{
	clear:both;
	padding: 2px 10px 10px 10px;
	overflow:auto;
	text-align:left;
	line-height:1.4em;
        width: 100% !important;
        height: auto !important;
}

#TB_ajaxContent.TB_modal{
	padding:15px;
}

#TB_ajaxContent p{
	margin: 0;
}

#TB_ajaxContent p img{
	width: 100%;
}

#TB_load{
	/*position: fixed;*/ position:absolute;
	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;
}

/*------updated----------*/


#TB_title{
	width:100%;
	margin:0 0 0;
	padding: 0;
	color:#626262;
	background: 0;
	font-size:1em;
        height: auto;  
}




@media screen and (max-width: 767px) {
  #TB_window {
    max-width: 90%;
    padding: 10px;   
  }
  #TB_closeWindow {
    margin-bottom: 0;
  }
  #TB_closeAjaxWindow {
    margin-bottom: 10px;
  }
  #TB_window img#TB_Image {
    width: 100%;
    height: auto;
  }
}


