/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> global settings needed for thickbox <<<-----------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
 *{padding: 0; margin: 0;} 

/* ----------------------------------------------------------------------------------------------------------------*/
/* ---------->>> thickbox specific link and font settings <<<------------------------------------------------------*/
/* ----------------------------------------------------------------------------------------------------------------*/
#TB_window {
	font: 12px "Trebuchet MS",sans-serif;
	color: #FFFFFF;
}

#TB_secondLine {
	font: 10px "Trebuchet MS",sans-serif;
	color:#FFFFFF;
}

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

.TB_overlayMacFFBGHack {background: url(images/macFFBgHack.png) repeat;}
.TB_overlayBG {
	background-color:#000;
	filter:alpha(opacity=75);
	-moz-opacity: 0.75;
	opacity: 0.75;
	/*
	background-image: url(images/boxBackgroundThickbox.png); 
	background-repeat:repeat;
	background-position:left top;*/
}

* 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: 151;
	color:#FFFFFF;
	display:none;
	/*border: 1px solid #525252;*/
	text-align:left;
	overflow:hidden;
	top:50%;
	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;
	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: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{
	background-color:#e8e8e8;
	height:27px;
	display: none;
}

#TB_ajaxContent{
	clear:both;
	padding:0px;
	/*overflow:auto;*/
	text-align:left;
	line-height:1.4em;
}

#TB_ajaxContent.TB_modal{
	padding:15px;
}

#TB_ajaxContent p{
	padding:5px 0px 7px 0px;
	margin: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;
}

FORM{
	margin: 0px;
	padding: 0px;
}
.topPopup{
	background-color:#808830;
	padding:5px;
	float:right;
	text-align:center;
	width:70px;
	font-weight:bold;  
	font-size:16px;
}
#TB_ajaxContent a{
	color:#6F2A27;
}
.popup_body{
	background-color: #808830;	
	padding: 15px;
	color: #fff;
	width: 440px;
	text-align:center;
}
.popup_body h1{
	color:#FFFFFF;
}
.galleryItem{
	height:439px;
	overflow-x:hidden;
	overflow-y:hidden;
	position:relative;
	white-space:nowrap;
	width:282px;
	margin:0px auto;
	position:relative;
}
#galleryItems{
	position:absolute;
	left: 0px;
}
.galleryItem span{
	display:block;
	float:left;
	height:439px;
	margin-bottom:10px;
	position:relative;
	text-align:center;
	width:282px;
}
.popup_body .portlet{
	background: none;
}

.popup_body_border{
	border: 1px solid #0F0F0F;
	background-color: #000;
	padding:11px;
	overflow: hidden;
	/*height: 500px;*/
}
.popup_body_border .portlet {
	padding-bottom: 0px;
}
.saveButton{
	text-align: right;
}

a.submitCompany{
	background-image:url(images/company_submit.png);
	background-position:left top;
	background-repeat:no-repeat;
	display:inline-block;
	font-size:30px;
	height:38px;
	padding:18px 0 0 13px;
	text-align:left;
	width:230px;
	line-height:18px;
}
a.submitCompany:hover{
	color:#FFFFFF;
}
.companyForm .bordered {
	padding-bottom: 10px;
	margin-bottom: 10px;
}

.saveButton, .companyForm{
	padding: 0 13px;
}

.saveButton {
	padding-bottom: 10px; 
}

.popupTitle {
	border-bottom:1px dotted #FFFFFF;
	border-top:1px dotted #FFFFFF;
	display:block;
	font-family:trebuchet MS;
	font-size:30px;
	font-weight:normal;
	margin:0;
	padding:23px 0 27px;
	line-height:15px;
}

.popup_body_border h2 {
	font-weight: normal;
} 

.errorMessage{
	display: none;
	color: #ff0000;
}

.errorMessageVisible{
	color: #ff0000;
}

