#body {
    width: 952px;
}

legend {
    display: none;
}

h1 {
    margin-bottom: 50px;
}

/* logged in homepage */
ul.advisor_menu,
ul.advisor_menu li {
    margin: 0; padding: 0;
    list-style: none;
    position: relative;
}

ul.advisor_menu .corner {   
    position: absolute; width: 6px; height: 6px;
    background-image: url('http://www.3macs.com/_media/corner_grey_box.gif') !important;
    background-repeat: no-repeat;
}

ul.advisor_menu .corner_top_right {
    top: -1px; right: -1px;
    background-position: top right;
}    
ul.advisor_menu .corner_top_left {
    top: -1px; left: -1px;
    background-position: top left;
}   
ul.advisor_menu .corner_bottom_left {
    bottom: -1px; left: -1px;
    background-position: bottom left;
}   
ul.advisor_menu .corner_bottom_right {
    bottom: -1px; right: -1px;
    background-position: bottom right;
}

ul.advisor_menu {
    width: 686px; /* 21px for the li's margin-right */
    left: 50%; margin-left: -332.5px;
    position: relative;
}

ul.advisor_menu li {
    width: 300px; height: 80px;
    border: 1px solid #C9C9C9;
    background: #F2F2F2;
    float: left;
    margin: 0 21px 21px 0;
    text-align: center; 
}   

ul.advisor_menu li a {
    font: bold 14px Verdana, sans-serif;
}

ul.advisor_menu li a:hover {
    color: #2A335D;
    background-color: transparent;
    cursor: hand;
}


/* forms */

#advisor_form {
    width: 400px; overflow: hidden;
    position: relative;
    margin-left: 276px;
}

#advisor_form input, #advisor_form select {
    font-size: 11px;
    padding: 2px;
}

/* legend replaced by h3 */
#advisor_form h3, #edit_form h3 {
    font: normal 14px Verdana, Arial, sans-serif;
    padding: 10px;
    background: #E3E3E3;
    margin-bottom: 20px;
}   

#advisor_form, #edit_form {
    width: 710px;
    margin-left: 121px;
}

#advisor_form label, #edit_form label {
    padding-left: 10px;
    width: 160px;
}

#advisor_form fieldset {
    margin-bottom: 50px;
}

#profile_profile div {
    border-bottom: 1px solid #E3E3E3;
    overflow: hidden; width: 100%;
}

#profile_profile div div {
    border-bottom: none; 
    width: 530px;
}

#body #input_en_role,
#body #input_fr_role {
    background-color: #F7F7F7;
}

/* buttons */                                                                                 

/* stats */

div.stats {
	margin-left: 125px;
	margin-top: 40px;
	margin-bottom: 80px;
}

.week_stats td.item { width: 85.71px /* 600px / 7 */ }
.month_stats td.item { width: 3.22% /* 100 / 31 */ }
.year_stats td.item { width: 50px /* 100 / 12 */ }

.stats .graph td.item {
	vertical-align: bottom;
}


.stats { 
	width: 100%; margin-bottom: 40px 
}

.stats table td { 
	height: 300px 
}

.stats table td, .stats table th { 
	text-align: center 
}


.stats .graph .vertical-bar {
	display: block;
	width: 24px;
	background-image : url('http://www.3macs.com/_media/chart_bar_blue_gradient.png');
	background-repeat: repeat;
}

.stats .graph .x-axis, 
.stats .graph .x-axis th {
	color: #656565;
	font-weight: bold;
}

.stats .graph .x-axis * { 
	border-top: 1px solid #585858;
}

.stats .graph .x-axis td.empty { 
	border: none 0;
	height: 0;	
}

div.axis-container {
	width: 65px;
	height: 100%;
	padding: 0;
	margin: 0;
	position: relative;
}



.stats .graph td.y-axis {
	border-right: 1px solid #585858;
	padding: 0;
	width: 65px;
}

.stats .graph .y-axis .tick .mark {
	height: 1px;
	width: 5px;
	border-top: 1px solid #585858;
}

.stats .graph .y-axis .tick {
	padding-right: 7px;
	height: 12px;
	line-height: 12px;
	vertical-align: middle;
	padding-right: 10px;
}


.stats .graph .x-axis th {
	vertical-align: top;
	height: 1ex;
}


.stats h2 {
	background-color: #e3e3e3;
	display: block;
	color: black;
	font-size: 14px;
	padding-left: 12px;
	padding-top: 6px;
	padding-bottom: 6px;
	font-weight: bold;
	margin-bottom: 38px;
	width: 698px;
}




/************* VERTICAL CENTERING
*****************************************************************/
.outer {
    height: 82px;
    overflow: hidden;
    position: relative;
}

.outer[id] {
    display: table;
    position: static;
}

.middle {position: absolute; top: 50%; left: 0; width: 100%; height: 35%;}  /* for explorer only*/
.middle[id] {display: table-cell; vertical-align: middle; position: static;}

.inner {position: relative; top: -50%} /* for explorer only */
/* optional: #inner[id] {position: static;} */


