/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> 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;
    border-radius: 5px;
    overflow: hidden;
    -webkit-box-shadow: 0 5px 45px 0 rgba(0,0,0,.7);
    -shadow: 0 5px 45px 0 rgba(0,0,0,.7);
}

#TB_secondLine {
	font: 12px Arial, Helvetica, sans-serif;
	color:#000;
}

#TB_window a:link { font-weight:bold; color: #000;}
#TB_window a:visited {font-weight:bold; color: #000;}
#TB_window a:hover {font-weight:bold; color: #666;}
#TB_window a:active {font-weight:bold; color: #000;}
#TB_window a:focus{font-weight:bold; color: #000;}

/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> thickbox settings <<<-----------------------------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
#TB_overlay {
	position: fixed;
	z-index:999999;
	top: 0px;
	left: 0px;
	height:100%;
	width:100%;
}

.TB_overlayMacFFBGHack {background: url(macFFBgHack.html) 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 {
	background: #ffffff;
	border: 4px solid #525252;
	color:#000000;
	display:none;
	left:50%;
	position: fixed;
	text-align:left;
	top:50%;
	transform: translateY(-50%);
	z-index: 9999999;
}

* 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{
	margin-bottom:1px;
	text-align:right;
	float:right;
    padding: 10px 16px 5px 0!important;
}
#TB_closeAjaxWindow a {
    width: 14px;
}

#TB_closeAjaxWindow a:hover {
    opacity: .5;
}

#TB_closeAjaxWindow a:after {
    color: #fff!important;
    font-size: 30px!important;
}
#TB_ajaxWindowTitle{
	float:left;
	padding:7px 0 5px 10px;
	margin-bottom:1px;
    color: #fff!important;
    font-size: 15px!important;
    text-transform: uppercase;
    line-height: 3.5!important;
    letter-spacing: 1px;
    font-weight: 400;
    padding-left: 5px!important;
}

#TB_title{
    background-color: #777777 !important;
	height: 50px!important;
}

#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;
	height:13px;
	width:208px;
	z-index:993;
	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:989;
	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;
}

@media (max-width: 768px){
    #TB_window {
      margin: auto !important;
      max-height: 412px;
      overflow: auto;
      -webkit-overflow-scrolling: touch;
      max-width: inherit !important;
      transform: translate(-50%, -50%);
      width: 90% !important;
    }

    #TB_window iframe {
        width: 90%!important;
        margin: 0 5%;
    }
}