#MB_overlay {
	position: absolute;
	margin: auto;
	top: 0;	left: 0;
	width: 100%;
	height: 100%;
	z-index: 9999;
	background-color: #000 !important;
}
#MB_overlay[id] { position: fixed; }

#MB_window {
	position: absolute;
	top: 0;
	border: 0;
	text-align: left;
	z-index: 10000;
	}
#MB_window[id] { position: fixed !important; }

#MB_frame {
	position: relative;
	background-color: #EEE;
	height: auto;
	overflow: auto;
	max-height: 150%;
	}
#MB_frame #standalone {
	padding: 10px 0
}
div#MB_content {
    overflow: visible !important;
}
#MB_header {
	margin: 0;
	padding: 0;
	}

#MB_content {
	padding: 6px .75em;
	overflow: auto;
}
#MB_content input.button {
	width: auto !important;
	}
#ComposeMessageForm input#to_phrase.to_phrase,
#ComposeMessageForm input#email,
#ComposeMessageForm textarea#message,
#ComposeMessageForm textarea.MB_focusable {
	width: 370px;
	margin: 5px 0;
	}
#MB_caption {
	font: bold 1.2em Arial, Helvetica, sans-serif;
	text-shadow: #FFF 0 1px 0;
	padding: .5em 2em .5em .75em;
	margin: 0;
	text-align: left;
}

#MB_close {
	display: block;
	position: absolute;
	right: 5px; top: 4px;
	padding: 0 3px;
	background: #fff;
	border: 1px solid #ccc;
	font-weight: bold;
	text-decoration: none;
	font-size: 1.6em;
	line-height: 1em;
	}
#MB_close:hover {
	background: #fff;
	}

#MB_loading {
	padding: 1.5em;
	text-indent: -10000px;
	background: transparent 50% 0 no-repeat;
	}

/* Color scheme */
#MB_frame {
	padding-bottom: 7px;
	-webkit-border-radius: 7px; 
	-moz-border-radius: 7px;
	border-radius: 7px;
}
#MB_window {
	background-color: #EFEFEF;
	color: #000;
	-webkit-box-shadow: 0 8px 64px #000; 
	-moz-box-shadow: 0 0 64px #000; 
	box-shadow: 0 0 64px #000;
	
	-webkit-border-radius: 7px; 
	-moz-border-radius: 7px;
	border-radius: 7px;
}
#MB_content { border-top: 1px solid #F9F9F9; }
#MB_header {
  background-color: #DDD;
  border-bottom: 1px solid #CCC;
}
#MB_caption { color: #000 }
#MB_close { color: #777 }
#MB_close:hover { color: #000 }


/* Alert message */
.MB_alert {
	margin: 10px 0;
	text-align: center;
}
#productlist li {
	margin: 0 5px 0 5px;
	float: left;
}
#productlist li a {
	float: left;
	padding: 5px;
	width: 460px;
	color: #369;
	font-weight: bold;
	font-size: 1.1em;
	border-bottom: 1px solid #ccc;
	outline: none;
	}
#productlist li a img {
	float: left;
	vertical-align: middle;
	margin-right: 10px;
	background: #fff;
	padding: 3px;
	border: 1px solid #ccc;
	}



strong#cd {
	font-size: 1.1em;
	line-height: 1.6em;
	}

/*Share */
#shared.standalone form#ShareContactForm p,
#shared.standalone form#ComposeMessageForm p {
	color: #868D99;
	font-size: 1.1em;
	position: relative;
	}
#ShareContactForm input#to_phrase,
#ComposeMessageForm input#to_phrase {
	color: #AAAAAA;
	float:left;
	clear: both;
	position: relative;
	}
form#ComposeMessageForm div#to_phrase_auto_complete {
	z-index: 10000;
	}
#standalone #success_note,
#success_note #standalone,
#content div.success_note p {
	padding: 30px;
	background: url(../images/bg-li-nice-list.gif) no-repeat  10px 34px;
	color: #868D99;
	font-size: 1.2em;
	font-weight: bold;
	}
form#uploadCV input#cv {
	width: 210px;
	}
#MB_content div.input-keywords {
  width: 300px !important;
}
#MB_content input#upload-field {
	width: 250px;
	}
#MB_content form#JobForm div.input-keywords div#hint{
  width: 300px;
  float: left;
  clear: both;
  margin: 5px 0 10px 0;
  font-size: 0.95em;
  color: #868D99;
}

/* format for autocomplete */
div.auto_complete ul {
	border: 1px solid #BBBBBB;
}
div.auto_complete ul li {
	border-bottom: 1px solid #EEEEEE;
	padding: 3px;
}



/*Only for MB in 'add contacts' - colleague - add work, rest of modalboxes affected moved to webpage */
#EducationTemplate p.hint,
#WorkTemplate p.hint {
	margin: 0 0 0 125px !important;
	font-size: 0.95em;
	color: #868D99;
	}
#EducationTemplate .form_error,
#WorkTemplate .form_error {
	font-weight:normal;
	margin: 0 0 2px 125px;
	padding-left: 10px;
	background: url(../images/bg-error.gif) 0 50% no-repeat;
	color: #FF0000;
	text-align:left;
	float:none;
	}
#EducationTemplate .buttons,
#WorkTemplate .buttons {
	width: 325px;
	text-align: right;
	}
