#header-region {min-height: 1em;background: #d2e6f3 url(../images/bg-navigation.png) repeat-x 50% 100%;}
#header-region * {display: inline;line-height: 1.5em;margin-top: 0;margin-bottom: 0;}
#header-region p, #header-region img {margin-top: 0.5em;}
#header-region h2 {margin: 0 1em 0 0;}
#header-region h3, #header-region label, #header-region li {margin: 0 1em;padding: 0;background: none;}
#wrapper {background: #edf5fa url(../images/body.png) repeat-x 50% 0;}
#wrapper #container {margin: 0 auto;padding: 0 20px;max-width: 1270px;}
#wrapper #container #header {height: 80px;}
#wrapper #container #header #logo-floater {position: absolute;}
#wrapper #container #header h1, #wrapper #container #header h1 a:link, #wrapper #container #header h1 a:visited {line-height: 120px;position: relative;z-index: 2;white-space: nowrap;}

/* With 2 columns, require a minimum width of 800px. */
body.sidebar-left, body.sidebar-right {min-width: 780px;}

/* We must define 100% width to avoid the body being too narrow for near-empty pages */
#wrapper #container #center {float: left;width: 100%;}

/* So we move the #center container over the sidebars to compensate */
body.sidebar-left #center {margin-left: -210px;}

/* And add blanks left and right for the sidebars to fill */
body.sidebar-left #squeeze {margin-left: 210px;}

/* We ensure the sidebars are still clickable using z-index */
#wrapper #container .sidebar {margin: 60px 0 5em;width: 210px;float: left;z-index: 2;position: relative;}
#sidebar-left .block {padding: 0 15px 0 0px;}
.block .content {margin: 0.5em 0;}

/* Now we add the backgrounds for the main content shading */
#wrapper #container #center #squeeze {background: #fff url(../images/bg-content.png) repeat-x 50% 0;position: relative;}
#wrapper #container #center .right-corner {background: transparent url(../images/bg-content-right.png) no-repeat 100% 0;position: relative;left: 10px;}
#wrapper #container #center .right-corner .left-corner {padding: 60px 25px 5em 35px;background: transparent url(../images/bg-content-left.png) no-repeat 0 0;margin-left: -10px;position: relative;left: -10px;min-height: 400px;}
#wrapper #container #footer {float: none;clear: both;text-align: center;margin: 4em 0 -3em;color: #898989;}
body.sidebar-left #footer {margin-left: -210px;}

/* Header */
#wrapper #container #header h1, #wrapper #container #header h1 a:link, #wrapper #container #header h1 a:visited {color: #fff;font-weight: normal;text-shadow: #1659ac 0px 1px 3px;font-size: 1.5em;}
#wrapper #container #header h1 a:hover {text-decoration: none;}
#wrapper #container #header h1 span {font-weight: bold;}
#wrapper #container #header h1 img {padding-top: 16px;padding-right: 20px;float: left;}

/* Primary Links */
ul.primary-links {margin: 0;padding: 0;float: right;position: relative;z-index: 4;}
ul.primary-links li {margin: 0;padding: 0;float: left;background-image: none;}
ul.primary-links li a, ul.primary-links li a:link, ul.primary-links li a:visited {display: block; margin: 0 1em; padding: .75em 0 0;color: #fff; background: transparent url(../images/bg-navigation-item.png) no-repeat 50% 0;}
ul.primary-links li a:hover, ul.primary-links li a.active {color: #fff; background: transparent url(../images/bg-navigation-item-hover.png) no-repeat 50% 0;}

/* Page Styling */
#wrapper #container .page-header{position:absolute;top:15px;left:35px;color:#529AD6;}
#wrapper #container .user-header{position:absolute;top:15px;right:35px;color:#529AD6;}
#wrapper #container #tabs-wrapper{border-bottom:1px solid #E9EFF3;position:relative;padding:0 26px;margin:0 -26px 1em;}

/*  Tabs */
#subtabs{margin-top:20px;}

/* Ajax Messages */
#ajax-message.info, #ajax-message.success, #ajax-message.warning, #ajax-message.error, #ajax-message.validation{border: 1px solid;margin: 10px 0px;padding:15px 10px 15px 50px;background-repeat: no-repeat;background-position: 10px center;}
#ajax-message.info {color: #00529B;background-color: #BDE5F8;background-image: url('../images/info.png');}
#ajax-message.success {color: #4F8A10;background-color: #DFF2BF;background-image:url('../images/success.png');}
#ajax-message.warning {color: #9F6000;background-color: #FEEFB3;background-image: url('../images/warning.png');}
#ajax-message.error {color: #D8000C;background-color: #FFBABA;background-image: url('../images/error.png');}