/* Reset */

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { margin: 0; padding: 0; border: 0; }
:focus { outline: none; }
address, caption, cite, code, dfn, em, th, var { font-style: normal; font-weight: normal; }
ol, ul { list-style: none; }
caption, th { text-align: left; }
h1, h2, h3, h4, h5, h6 { font-size: 100%; font-weight: normal; }
q:before, q:after, blockquote:before, blockquote:after { content: ''; }

/* Structure */

body {
	margin: 0;
	padding: 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	line-height: 18px;
	color: #222;
	background: #C8DA32;
	text-align: center;
}

#topnavbar {
	position: relative;
	margin: 0 auto 0;
	width: 845px;
	height: 35px;
	overflow: hidden;
	background: url(../img/bg-header.jpg) bottom no-repeat;			
}

#topnav {
	position: absolute;
	top: 5px;
	right: 5px;		
}

#header {
	position: relative;
	margin: 0 auto 0;
	width: 835px;
	overflow: hidden;	 		
}	
	
#headerpad {
	position: relative;
	height: 160px;	
	text-align: left;
	background: #eeefca; 
	border-bottom: 1px solid #666;	
}

#logo {
	position: absolute;
	top: 0px;
	left: 20px;
}

#headerContent {
	position: absolute;
	top: 20px;
	left: 160px;
	width: 655px;	
}	

#mainnav {
	position: absolute;
	top: 20px;
	right: 20px;
	font-size: 13px;		
}

#unitsnav {
	position: absolute;
	bottom: 10px;
	right: 20px;	
}	
	
#page {
	margin: 0 auto 20px;
	padding: 0;
	width: 845px;
	text-align: left;
	border: 0;
	background: url(../img/bg.jpg) repeat-y;		
}
	
#wrapper {
	background: #fff;
	position: relative;
	margin: 0 5px;
	background: #fff;	 
}

#charts {
	clear: both;
	width: 795px;
	padding: 15px 20px 5px 20px;
	background: #dde7f5;
}

#mainsection {
	clear: both;
	width: 795px;	
	padding: 12px 20px 5px 20px;
}

.mainColumn {
	float: left;
	width: 515px;	
}

.sideColumn {
	float: right;
	width: 265px;	
}	

#footer {
	position: relative;
	margin: 0 auto 0;
	padding: 0 0 5px 0;
	width: 845px;
	clear: both;
	background: url(../img/bg-footer.jpg) bottom no-repeat;	
}
	
#footerpad {
	font-size: 12px;
	text-align: center;
	padding: 15px 0 10px 0;
	margin: 0 5px;
	border-top: 1px solid #666;
	background: #eeefca;	
}

/* Containers */

.avatar-lg {
	padding: 1px;
	background: #fff;
	border: 1px solid #666;
	width: 80px;
	height: 80px;			
}

#userInfo {
	position: absolute;
	top: 42px;
	left: 95px;
	width: 400px;	
}

.sectionBox {
	padding: 9px;
	background: #fff;
	margin-bottom: 10px;
	border: 1px solid #666;		
}

.sectionHead {
	padding: 6px 9px;
	background: #f0f0f0;
	border: 1px solid #666;
	border-bottom: 0;		
}

.sectionFoot {
	padding: 6px 9px;
	background: #f0f0f0;
	margin-bottom: 10px;
	border: 1px solid #666;
	border-top: 0;		
}

.sectionBox2 {
	border: 1px solid #666;
	background: #fff;
	margin-bottom: 10px;		
}

#buddySection {
	padding-right: 0;
}	

#buddySection .avatar {
	float: left;
	width: 45px;
	height: 45px;
	margin: 0 5px 5px 0;	
}

#comments .avatar, #listing .avatar {
	margin-bottom: 9px;	
}	

.note {
	padding: 9px;
	margin-bottom: 10px;
	background: #ffc;
	border: 1px solid #c93;		
}

.note2 {
	padding: 9px;
	background: #ffc;
	border: 1px solid #666;
	border-bottom: 0;		
}

.note3 {
	padding: 9px;
	background: #ffc;
	border: 1px solid #666;
	margin-bottom: 10px;		
}	

.itemBox {
	margin-bottom: 9px;
	padding-bottom: 4px;
	border-bottom: 1px solid #a6a6a6;	
}

.itemBox.last {
	padding-bottom: 0;	
	margin-bottom: 0;		
	border-bottom: 0;		
}	

.itemLeft {
	float: left;
	width: 65px;	
}

.itemInfo {
	float: right;
	width: 415px;
}

.itemMeta {
	font-weight: bold;
	color: #888;
	padding-bottom: 6px;
}

.pictureFrame {
	border: 1px solid #666;
	margin: 0 5px 5px 0;
	padding: 4px;	
	width: 110px;
	background: #fff;
}

.pictureWrapper {
	border-collapse: collapse;
	border-spacing: 0;		
	width: 110px;
	margin: 0;
}	

.pictureWrapper td, table.form .pictureWrapper td {
	text-align: center;
	vertical-align: middle;
	background: #e0e0e0;
	height: 110px;
	width: 110px;	
}	

#gallery {
	padding: 9px 0 4px 9px;	
}	

#beforeAfter .pictureFrame{
	margin: 0;	
}								

.pictureCaption {
	text-align: center;
	padding: 5px 0 1px;	
}

.pictureOptions {
	padding: 5px 0 1px;	
}

.bg-alt {
	background: #d0d0d0;	
}

/* General Typography */

h1, h2, h3, h4, h5, h6 {
	font-weight: bold;
	padding: 0 0 9px 0;
	margin: 0;
}

h1 {
	font-size: 20px;
	border-bottom: 1px solid #666;
	margin-bottom: 14px;	
}

#tagline {
	clear: both;
	padding-top: 4px;	
}	

h2 {
	font-size: 18px;
	margin: 0;
	padding: 0 0 12px 0;
}

h3 {
	font-size: 16px;
	margin: 0;
	padding: 0 0 6px 0;
}

h3.sectionHeader, h3.sectionHeader2 {
	font-size: 14px;	
	background: #738fbf	url(../img/bg-header-w-515.jpg) no-repeat;
	padding: 5px 10px 3px 10px;
	color: #fff;	
}

h3.sectionHeader2 {
	background: #738fbf	url(../img/bg-header-b-515.jpg) no-repeat;	
}

h3.sectionHeaderSide, h3.sectionHeaderSide2 {
	font-size: 14px;	
	background: #738fbf	url(../img/bg-header-w-265.jpg) no-repeat;
	padding: 5px 10px 3px 10px;
	color: #fff;	
}

h3.sectionHeaderSide2 {
	background: #738fbf	url(../img/bg-header-b-265.jpg) no-repeat;	
}

.itemLeft h3, .itemInfo h3 {
	font-size: 14px;	
}

#comments .itemInfo h3 {
	padding: 0;	
}

#listing .itemInfo h3 {
	padding: 0 0 4px 0;
}

.itemInfoSide h4 {
	padding: 0;
}			

.editLinks {
	font-size: 12px;
	font-weight: normal;	
	float: right;	
	text-align: right;
}	

.headerLinks {
	display: block;
	float: right;	
	text-align: right;
	font-size: 12px;
	font-weight: normal;
	color: #eee;	
}

.headerLinks a {
	color: #fff;	
}				


h4 {
	font-size: 12px;
}	
	
p {
	padding: 0 0 9px 0;
}

a {
	color: #2361A1;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

.lite {
	color: #666;	
}	

.required {
	color: #f00;
}

.warning {
	background: url(../img/alert-mini.png) top right no-repeat;
	padding-right: 20px;
	color: #c02;
	cursor: help;	
}

.warning2 {
	color: #c02;
	cursor: help;	
}

.help {
	cursor: help;	
}		
	
/* Images */

img {
	margin: 0;
	padding: 0;
	border: none;
	vertical-align: bottom;
}

.editLinks img {
	margin: 0 3px 0 10px;
	vertical-align: middle;	
}

/* Legends */

.legend-weight {
	background: #ff1818;	
}

.legend-goal {
	background: #62ff62;	
}

.legend-normal {
	background: #c5ffc5;	
}		
	
/* Lists */

ul {
	list-style: outside;
	margin: 0 0 9px 16px;
}

ul li {
	list-style-type: square;
}

/* Tables */

table {	
	text-align: left;
	margin: 0;
}

table.chart {
	border-collapse: collapse;
	border-spacing: 0;		
	width: 513px;
	margin: 0;	
}

table.standard {
	border-collapse: collapse;
	border-spacing: 0;			
}

.tableLeft {
	float: left;
	width: 150px;	
}

.tableRight {
	float: left;
	width: 250px;		
}	

th {
	font-weight: bold;
	padding: 0px 10px 1px 0;
	vertical-align: top;			
}

td {
	padding: 0px 0 1px 0;
	vertical-align: top;			
}

table.chart th {
	padding: 5px;	
}

table.chart td {
	padding: 8px;	
}

table.chart th, table.chart td {
	text-align: center;
	border: 1px solid #666;	
}

table.chart th {
	border-top: 0;	
}

table.chart td {
	border-bottom: 0;	
}

#th-sw {
	background: #ffb2b2;
	border-left: 0;
}

#th-cw {
	background: #e6e65c;
}

#th-n {
	background: #c0e65c;
}

#th-g {
	background: #5ce65c;
	border-right: 0;		
}

#td-sw {	
	background: #ffc9c9;
	border-left: 0;	
}

#td-cw {
	background: #eeee8d;
}

#td-n {
	background: #d3ee8d;
}

#td-g {
	background: #8dee8d;
	border-right: 0;		
}		

.chartWeight {
	font-size: 18px;	
}		
	

/* Forms */

table.form {
	width: 100%;
	border-collapse: collapse;
	border-spacing: 0;	
}
	
table.form th, table.form td {
	vertical-align: top;
	padding: 5px 0;
}

table.form th.label {
	width: 80px;
	padding-right: 10px;
	text-align: left;
	font-weight: bold;
}

.sideColumn	table.form th.label {
	width: 110px;	
}	

form {
	margin: 0;
	padding: 0;
}

textarea, input[type=text], input[type=password], input[type=file] {
	font-family: Arial, Helvetica, sans-serif;	
	padding: 1px 0 1px 3px;
	border: 1px solid #738FBF;
	background: #fff;
}	
	
textarea {
	width: 350px;
	height: 80px;
}		
	
* html textarea {	
	border: 1px solid #738FBF;
}
	
select {
	border: 1px solid #738FBF;
}
	
.checkbox {
	margin: 0 8px 0 0;
}

.submit {
	margin: 0;
	padding: 0;
	border: none;
	color: #fff;
	background: #06C;
	cursor: pointer;
	padding: 3px 5px;
}	
	
/* Various Tags and Classes */

.center {
	text-align: center;
}

/* Linerules and Spacers */

.linerule {
	clear: both;
	margin: 0 0 6px 0;
	padding: 4px 0 0 0;
	border-bottom: 1px solid #a6a6a6;
}

.clear {
	clear: both;
}

.spacer-5px {
	margin-bottom: 5px;	
}

/* Linerules and Spacers */		

.left {
	float: left;
}	
	
.right {
	float: right;	
}	

.no-margin {
	margin: 0;	
}

/* Menus */

.pagerRight {
	float: right;	
}	

.pager ul, .pagerRight ul {
	margin: 0;
	padding: 0;
	text-decoration: none;	
}

.pager li {
	display: inline;
	margin-right: 5px;
}

.pagerRight li {
	display: inline;
	margin-left: 5px;
}

.pager li a, .pagerRight li a {
	text-decoration: underline;	
}	

.pagerRight li.current {
	font-weight: bold;	
}		

.menu, .menu-right {
	margin: 0;
	padding: 0;
	text-decoration: none;	
}

.menu-right {
	text-align: right;	
}

.menu li, .menu-right li {
	display: inline;
	margin: 0 5px 0 0;
	padding: 0 8px 0 0;
	border-right: 1px solid #777;
}	

.menu li.menuTitle {
	font-weight: bold;
	margin: 0;
	border: 0;	
}		

.menu li.last, .menu-right li.last {
	border-right: 0;
	margin-right: 0;
	padding-right: 0;	
}

#navigation-wrapper :focus { outline: none; }

#navigation {
	background: #dde7f5 url(../img/bg-tab.gif) bottom repeat-x;	
	height: 30px;
	overflow: hidden;
	width: 835px;
	font-weight: bold;		
}

#navigation .menu {
	margin: 0 0 0 20px;			
}

#navigation .menu li {
	float: left;
	margin: 0 3px 0 0;
	padding: 0;
	width: 110px;
	height: 30px;
	text-align: center;	
	background: url(../img/tabs.gif) no-repeat;
	background-position: -115px top;		
	overflow: hidden;
	border: 0;	
}

#navigation .menu li span {
	display: block;
	padding: 6px 0 0 0;	
}

#navigation .menu li a:hover {
	text-decoration: underline;	
}			

#navigation .menu li.active {
	background-position: 0 top;
}

/* Success, error & notice boxes for messages and errors. */
.error,
.notice, 
.success    { padding: 8px; margin-bottom: 10px; border: 2px solid #ddd; }
.error      { background: #FBE3E4; color: #D12F19; border-color: #FBC2C4; }
.success    { background: #E6EFC2; color: #529214; border-color: #C6D880; }
.error a    { color: #D12F19; }
.success a  { color: #529214; }

/* Calendar */

table.calendar {
	border-spacing: 1px;
	border-collapse: separate;	
	text-align: left;
	margin: 0;
}

.calendarMonth {
	text-align: center;	
}	

.tcat {
	background: #738fbf;
	color: #fff;
	text-align: center;
	padding: 4px 0;	
}

th.tcat {
	text-align: center;	
}	

.today {
	border: 1px solid #c02;
	padding: 0px;
	font-weight: bold;	
}	

.tcat a:link, .tcat_alink {
	color: #fff;
	font-weight: bold;
	text-decoration: none;
}

.tcat a:visited, .tcat_avisited {
	color: #fff;
	text-decoration: none;
}

.tcat a:hover, .tcat a:active, .tcat_ahover {
	color: #FFFF66;
	text-decoration: underline;
}

.alt1, .alt1Active {
	background: #fff;
	color: #000;
	padding: 3px 0;
}

.alt2, .alt2Active {
	background: #e1e4f2;
	color: #000000;
	padding: 3px 0;	
}