body {
	margin: 0;
	padding: 0;
	background: #AAAAAA;
}

#page {
	position: relative;
	width: 1024px;
	margin: 0 auto;
}

#login_as_user {
	padding: 1px 10px;
	max-width: 1100px;
	min-width: 960px;
	background: #FFFF00;
	font-family: Verdana, Arial, sans-serif;
}

#header {
	position: relative;
	height: 85px; /* was 75 */
	background: #333333;
}

#header_logo {
	padding: 19px 0 0 30px; /* top was 17 */
	float: left;
}

#header_tagline {
	padding: 19px 0 0 20px; /* top was 17 */
	float: left;
}

#login_menu {
	position: absolute;
	right: 20px;
	bottom: 14px; /* was 12 */
}

#navigation {
	/* we'll let this expand now to accomodate the login submenu: height: 12px; 28 - padding */
}

#main_menu, #account_menu, #admin_menu {
	background: #D0D2D3;
	padding-left: 30px;
}
#main_menu .menu_item, #account_menu .menu_item, #admin_menu .menu_item {
	float: left;
	padding: 8px 0 7px 0; /* combined with a 13 font size, this equals a height of 28 */
	margin-right: 40px;
}

#account_submenu {
	background: #FFFFFF;
	padding-left: 30px;
	border-bottom: 1px solid #D0D2D3;
}
#account_submenu .submenu_item {
	float: left;
	padding: 10px 0; /* combined with a 12 font size, this equals a height of 32 */
	margin-right: 30px;
}

#login_menu .menu_item {
	float: left;
	margin-left: 20px;
}

#body {
	position: relative;
	background: #FFFFFF url(/images/templates/bg_sidebar.png) right repeat-y; /* the background image extends the sidebar background color to the bottom of the body */
}
#page.require_login #body {
	background-image: none;
}

#main {
	position: relative;
	float: left;
	padding: 40px 50px 20px 50px;
	width: 682px; /* 782 - 100 padding */
}
#page.require_login #main {
	padding: 26px 34px;
	width: 956px; /* 1024 - 68 padding */
}

#main_inner {
	position: relative;
}

#sidebar {
	float: left;
	padding: 27px 21px;
	width: 200px; /* 242 - 42 padding */
	background: #1B75BB;
}
#page.require_login #sidebar {
	background: #F6F6F6;
}

.filters {
	margin: 0 -10px -10px -10px;
	padding: 10px;
	background: #FFFFFF;
}
.filters .button_reset {
	float: right;
	margin-top: -4px;
	margin-left: 8px;
}

.callout {
	width: 198px; /* 246 - 48 padding */
	padding: 34px 24px;
	background: #F2F2F2;
}

.callout_margin { /* we can use this even when we don't have a callout to prevent lines of text from getting too long */
	margin-right: 266px; /* 246 + 20 gutter */
}

#sidebar .callout {
	width: auto;
	padding: 22px 18px;
	background: #99C6E4;
}

.callout .action_icon {
	float: left;
	margin-top: 10px;
	margin-right: 8px;
}
.callout .action_text {
	font-weight: bold;
	color: #0071BC;
	margin-left: 40px; /* 35 + margin */
}
.callout .action_text a {
	color: #0071BC;
	text-decoration: none;
}
.callout .action_text a:hover {
	color: #99C6E4;
}

.ui-datepicker-trigger {
	/* position the calendar icon over the date field */
	margin: 0 5px -1px -17px;
}
#sidebar .filters input.hasDatepicker {
	/* make these fields wide enough to contain a full date plus the calendar icon */
	width: 86px;
}
.ui-datepicker {
	/* resize the calendar popup */
	font-size: 75%;
}

.ui-timepicker-div .ui-widget-header {
	margin-bottom: 8px;
}
.ui-timepicker-div dl {
	text-align: left;
}
.ui-timepicker-div dl dt {
	height: 25px; margin-bottom: -25px;
}
.ui-timepicker-div dl dd {
	margin: 0 10px 10px 65px;
}
.ui-timepicker-div td {
	font-size: 90%;
}
.ui-tpicker-grid-label {
	background: none; border: none; margin: 0; padding: 0;
}
.ui-timepicker-rtl{
	direction: rtl;
}
.ui-timepicker-rtl dl {
	text-align: right;
}
.ui-timepicker-rtl dl dd {
	margin: 0 65px 10px 10px;
}

#feedback {
	margin: -10px auto 16px auto;
	width: max-content;
}

#footer {
	padding: 10px 0;
	text-align: center;
	background: #333333;
}

#modal_background {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 3000px; /* we'll give this a better setting when we display the div */
	/* background-image: url(/images/templates/bg_modal.gif); */
	background: rgba(0, 0, 0, .6); /* CSS3; IE alternative is in the IE tweaks file */
	text-align: center;
}

#modal_box_centerer {
	/* thanks: http://www.pmob.co.uk/pob/centred-float.htm */
	float: right;
	position: relative;
	left: -50%;
}

#modal_box {
	position: relative;
	display: block;
	float: left;
	left: 50%;
	margin: 100px auto 0 auto;
	padding: 10px;
	text-align: left;
	border: 2px solid #ACACAC;
	background: #FFFFFF;
}

#modal_close {
	text-align: right;
	padding: 5px; /* using padding instead of margin, plus a background color, avoids a clear gap under the button */
	background: #FFFFFF;
}

