/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> 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:100;
	top: 0px;
	left: 0px;
	height:100%;
	width:100%;
}

.TB_overlayMacFFBGHack {background: url(../includes/macFFBgHack.png) 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 {
	position: fixed;
	/*background: #ffffff;*/
	z-index: 102;
	color:#000000;
	display:none;
	/*border: 4px solid #525252;*/
	text-align:left;
	top:50%;
	left:50%;
}

*html #TB_window { /* ie6 hack */
position: absolute;
/*top:15px;*/
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;
	color:#00ff00;
	float:right;
}

#TB_closeAjaxWindow{
	padding:7px 10px 5px 0;
	margin-bottom:1px;
	text-align:right;
	float:right;
}

#TB_ajaxWindowTitle{
	float:left;
	padding:7px 0 5px 10px;
	margin-bottom:1px;
}

#TB_title{
	display:none;
	background-color:#e8e8e8;
	height:27px;
}

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


/* ------------------ site specific css --------------------*/
#TB_window .thickbox-header-reponse,#TB_window .thickbox-header-service,#TB_window .thickbox-header-confirmation{
	position:relative;
	width:720px;
	height:186px;
}
#TB_window .thickbox-header-reponse{
	background:url(../fr/medias/box_sondage/header-reponse.gif);
}
#TB_window .thickbox-header-service{
	background:url(../fr/medias/box_sondage/header-service.gif);
}
#TB_window .thickbox-header-confirmation{
	background:url(../fr/medias/box_sondage/header-confirmation.gif);
}
#TB_window .thickbox-header-reponse #btn-close,#TB_window .thickbox-header-service #btn-close,#TB_window .thickbox-header-confirmation #btn-close{
	position:absolute;
	top:10px;
	right:10px;
}
#TB_window .thickbox-header-reponse #step,#TB_window .thickbox-header-service #step{
	color:#ffffff;
	font-size:14px;
	position:absolute;
	top:65px;
	right:275px;
}
#TB_window .thickbox-header-reponse #date,#TB_window .thickbox-header-service #date,#TB_window .thickbox-header-confirmation #date{
	color:#ffffff;
	position:absolute;
	top:65px;
	right:50px;
}
#TB_window .thickbox-header-reponse #header-text,#TB_window .thickbox-header-service #header-text{
	color:#ffffff;
	font-family:Arial, Verdana, sans-serif;
	font-size:12px;
	width:660px;
	position:absolute;
	top:115px;
	left:50px;
}
#TB_window .thickbox-content{
	background:#ffffff;
	padding:15px 50px;
}
#TB_window .thickbox-content span{
	margin:0 15px;
	position:relative;
}
#TB_window .thickbox-content span.label-radio{
	margin:0;
	bottom:3px;
}
#TB_window .thickbox-content #service span.label-radio{
	font-size:11px;
}
#TB_window .thickbox-content textarea{
	margin:0 15px 5px 15px;
	width:600px;
}
#TB_window .thickbox-content hr{
	display:block;
	height:1px;
	background:#e5e5e5;
	border:none;
	margin:8px 0;
	clear:both;
}
#TB_window .thickbox-content #btn-nextStep{
	display:block;
	position:absolute;
	z-index:100;
	bottom:10px;
	right:25px;
	width:153px;
	height:32px;
	background:url(../fr/medias/box_sondage/btn_nextStep.png);
}
#TB_window .thickbox-content #btn-send, #TB_window .thickbox-content #btn-send-service{
	display:block;
	position:absolute;
	z-index:100;
	bottom:15px;
	right:25px;
	width:178px;
	height:28px;
	background:url(../fr/medias/box_sondage/btn_send.png);
}

#TB_window .thickbox-content #reponse-step3 div{
	width:220px;
	margin-left:15px;
	float:left;
}
#TB_window .thickbox-content #reponse-step2 #div-margin{
	margin-bottom:10px;
}
#TB_window .thickbox-content #reponse-step2 #lastQ{
	width:600px;
	margin-left:15px;
}
#TB_window .thickbox-content #lastHr{
	visibility:hidden;
	margin:5px 0;
}
#TB_window .thickbox-content #service #lastHr{
	visibility:hidden;
}
#TB_window .thickbox-footer{
	position:relative;
	left:0;
	background:url(../fr/medias/box_sondage/footer.gif);
	width:720px;
	height:25px;
}

/* -------------- safari hacks -------------- */
@media screen and (-webkit-min-device-pixel-ratio:0){
	#TB_window .thickbox-content span.label-radio{
		bottom:0;
	}
	#TB_window .thickbox-content textarea{
		resize:none;
	}
	#TB_window .thickbox-content #btn-nextStep{
		bottom:30px;
	}
	#TB_window .thickbox-content #reponse-step1 #btn-nextStep{
		bottom:35px;
	}
	#TB_window .thickbox-content #reponse-step2 #btn-nextStep{
		bottom:25px;
	}
	#TB_window .thickbox-content #reponse-step3 #btn-nextStep{
		bottom:50px;
	}
	#TB_window .thickbox-content #reponse-step4 #btn-send{
		bottom:20px;
	}
	#TB_window .thickbox-content #btn-send-service{
		bottom:40px;
	}
}

/* -------------- ie 6 hacks -------------- */
*html #TB_window .thickbox-content{
	padding:15px 25px;
	width:720px;
}
*html #TB_window .thickbox-content #btn-nextStep{
	position:relative;
	float:right;
	top:20px;
	right:0;
}
*html #TB_window .thickbox-content #btn-send, *html #TB_window .thickbox-content #btn-send-service{
	position:relative;
	float:right;
	top:20px;
	right:0;
}
