#wrapper, #contents {
	background-image: url(../img/main-back-profile.gif);
}

#wrapper {
	padding-top: 15px;
}

.profile-header {
	color: #666;
	background: #e1dfd2;
	margin: 0 -15px;
	position: relative;
}

.sidebar {
	width: 300px !important;
	padding-top: 0;
	clear: right;
}

.sidebar h3 {
	color: #6ea432;
	margin-bottom: 0.2em;
}

.main {
	margin-right: 330px;
}

/***** tabbed navigation *****/

#sub-nav {
	background: url(../img/tab-line.gif) bottom repeat-x;
	float: left;
	width: 100%;
} /*IE6*/

#sub-nav {
	margin-bottom: 1.5em;
	font-size: 125%;
	font-weight: bold;
}

#sub-nav br {
	clear: both;
}

#sub-nav h2 {
	background: none;
	min-height: 15px;
	margin-bottom: 0;
}

#sub-nav ul {
	margin: 0.5em 0 0 0;
	padding: 0 0 0 1em;
	list-style: none;
	font-size: 85%;
}

#sub-nav li {
	margin: 0 1px 0 0;
	padding: 0 5px 0 0;
	background: url(../img/tab-back.png) 100% -100px;
	float: left;
	border-bottom: 1px solid #bbb;
	text-align: center;
}

#sub-nav li.active {
	border-bottom: 1px solid #fff;
	background: url(../img/tab-back.png) 100% 0;
}

#sub-nav li a, #sub-nav li a:visited, #sub-nav li span {
	display: block;
	float: left;
	padding: 5px 11px 5px 16px;
	text-align: center;
	white-space: nowrap;
	background: url(../img/tab-back.png) 0 -100px;
	text-decoration: none;
	min-height: 17px; /* fixes FX/Mac issue */
	color: #666;
}

#sub-nav li.active a, #sub-nav li.active span {
	background: url(../img/tab-back.png) 0 0; 
} /*IE6*/

#sub-nav li:hover {
	background-position: 100% -200px;
}

#sub-nav li:hover a {
	background-position: 0 -200px;
}

#sub-nav li.active:hover {
	background-position: 100% 0;
}

#sub-nav li.active:hover a {
	background-position: 0 0;
	text-decoration: underline;
}

.profile-nav {
	background: #e1dfd2 !important;
	padding: 0 !important;
	margin: 0;
}

.profile-nav li {
	position: relative;
	left: 15px;
	margin: 0 2px 0 0 !important;
	list-style: none;
}

.profile-nav li a, .profile-nav li span {
	min-width: 4.5em;
}

.profile-nav li a, .profile-nav li span, .profile-nav li {
	background-image: url(../img/tab-back-profile.png) !important;
	font-size: 95% !important;
	border-color: #e1dfd2 !important;
}

.profile-nav li.active a, .profile-nav li.active span, .profile-nav li.active {
	border-color: #fff !important;
}

.vcard {
	padding: 0 15px 20px 20px;
	color: #6d674f;
	min-height: 60px;
	z-index: 1;
}

.vcard h2 {
	margin: 5px 0 0.05em 0;
	color: #4b4630;
}

.vcard h2 span {
	color: #9a9684;
	font-size: 85%;
}

/* data table */

.dataTable {
	border-collapse: collapse;
	width: 100%;
	clear: both;
}

.dataTable thead th {
	background-color: #E6E6E6;
	border-width: 1px;
	border-top-color: #FFFFFF;
	border-bottom-color: #C1C1C1;
	border-left-color: #C1C1C1;
	border-right-color: #C1C1C1;
	border-style: solid;
	padding: 2px;
	font-family: Verdana, Arial, sans-serif;
	font-size: 10px;
	font-weight: bold;
	color: #000000;
}

.dataTable tfoot th {
	background-color: #E6E6E6;
	border-width: 1px;
	border-top-color: #C1C1C1;
	border-bottom-color: #FFFFFF;
	border-left-color: #C1C1C1;
	border-right-color: #C1C1C1;
	border-style: solid;
	padding: 2px;
	font-family: Verdana, Arial, sans-serif;
	font-size: 10px;
	font-weight: bold;
	color: #000000;
}

.dataTable thead tr, .dataTable tfoot tr, .dataTable tbody tr {
	height: 20px;
}

.dataTable tbody td {
	background-color: #F0F1F1;
	border-width: 1px;
	border-color: #E6E6E6;
	border-style: solid;
	padding: 2px;
	font-family: Verdana, Arial, sans-serif;
	font-size: 10px;
	color: #000000;
}

.dataTable tr.selected td {
	background-color: #FBEBB1;
}

.dataTable tr.mouseOver td, .dataTable tr.mouseOverDeactivatedRow td {
	background-color: #FFFAF3;
}

.dataTable tr.deactivatedRow td {
	background-color: #F69095;
}

.dataTable .tile-img {
	padding: 4px;
	border: 1px solid #a5c2e3;
	margin: 0 5px 3px 0;
	vertical-align: middle;
}

.dataTable .tile-bury {
	display: block;
	width: 20px;
	height: 20px;
	background: #fff url(../img/tools.gif) no-repeat 2px -98px;
	text-indent: -2000em;
}

/* Lightbox */

#lightbox {
	display: none;
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 1600001;
	margin: -280px 0 0 -230px;
}

* html #lightbox { /* IE6 */
	position: absolute;
	margin-top: expression( -1 * this.offsetHeight / 2 + (document.documentElement ? document.documentElement.scrollTop : 0) + 'px');
	margin-left: expression( -1 * this.offsetWidth / 2 + (document.documentElement ? document.documentElement.scrollLeft : 0) + 'px');
}

#lightbox strong, .lightbox-content strong, .lightbox-footer strong {
	font-size: 135%;
	line-height: 100%;
	font-weight: normal;
	color: #fff;
	margin: 0;
}

.lightbox-footer strong a {
	color: #fff;
}

.lightbox-footer strong a:hover {
	color: #ccc;
}

#lightbox[id]{
	position: fixed;
	padding-top: 13px;
	width: 460px;
}

.lightbox-content {
	background: url(../img/lightbox-background.gif) no-repeat 0 0;
	width: 596px;
	padding-top: 10px;
    position: relative;
	margin: 0 0 0 -70px;
}

/* close button */
.lightbox-close:visited, .lightbox-close {
	display: block;
	float: right;
	height: 19px;
	margin: 0 10px 6px 0;
	padding: 2px 23px 0 0;
	font-weight: bold;
	line-height: 1em;
	background: url(../img/lightbox-close.gif) no-repeat 100% 0;
	color: #fff;
	text-decoration: none;
}

.lightbox-close:hover {
	cursor: hand;
	background-position: 100% -110px;
	color: #fff;
	text-decoration: underline;
}

.lightbox-title {
	text-align: left;
	padding-left: 10px;
}

.lightbox-footer {
	padding: 4px;
	min-height: 2px;
	position: relative;
	top: -10px;
	left: -70px;
	width: 596px;
	background: url(../img/lightbox-background.gif) no-repeat 0 100%;
} * html .lightbox-footer { height: 20px; }

#overlay {
	display: none;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1600000;
	background-image: url(../img/lightbox-overlay.png);
	filter: alpha(opacity=80);
}

/* Always cover 100% of the screen in IE6 */
* html #overlay {
	position: absolute;
	height: expression(((window.Enumerable && window.Enumerable.max) ? [document.body.scrollHeight, document.documentElement.scrollHeight, document.body.offsetHeight, document.documentElement.clientHeight].max() : document.documentElement.scrollHeight) + 'px' );
	width: expression(((window.Enumerable && window.Enumerable.max) ? [document.body.scrollWidth, document.documentElement.scrollWidth, document.body.offsetWidth, document.documentElement.clientHeight].max() : document.documentElement.scrollWidth) + 'px' );
}

.lightbox-form {
	clear: both;
	margin: 5px 12px;
	padding: 10px 15px;
	background: #fff;
	width: 542px;
	height: 360px;
	color: #333;
	text-align: left;
	overflow: auto;
}

.lightbox-form .field {
	float: left;
	margin-right: 10px;
}

.lightbox-form .note {
	font-size: 85%;
}

.lightbox-form label {
	display: block;
	font-size: 85%;
	font-weight: bold;
}

.lightbox-form p {
	margin-bottom: 10px;
}
