@import url(application_print.css);

@import url(_nav.css);

body {
  margin:  0;
  padding: 0;
  font: 0.76em/1.25em 'Trebuchet MS', Tahoma, Verdana, Arial, Helvetica, sans-serif;
  background: #cce0f7 url('../images/layout/body_bg_xtile.jpg') 50% 0% repeat-x;
  background-attachment: fixed;
}

img {
  display: block;
  margin: 0;
  vertical-align: bottom;
}

input,textarea,select {
  border: 1px solid #999;
}

#root {
  position: relative;
  width: 780px;
  background: #fff;
  margin:  0 auto;
  padding: 0;
  border: 1px solid #999;
  border-top: 0 none;
  border-bottom: 0 none;
}

#skyline {
  background: #333;
  text-align: right;
  color: #fff;
  padding: 5px 20px;
  border-bottom: 1px solid #000;
  font-weight: bold;
}
#skyline a {
  color: #999;
}
#skyline #user-bar-greeting,
#skyline #user-bar-action {
  display: inline;
}

#header {
  height: 150px;
  background: url(/images/headers/header_photo.jpg) 0 0 no-repeat;
  position: relative;
}

#header_logo {
  position: absolute;
  top: 16px;
  left: 28px;
}

#header_bar {
  position: absolute;
  z-index: 20;
  top: 0;
  right: 0;
  height: 20px;
  font-size: 11px;
  line-height: 16px;
}

#header_bar ul {
  float: right;
  margin: 0;
  background: url(/images/layout/header/header_bar_left.png) 0 0 no-repeat;
  list-style: none;
  height: 32px;
  margin: 0 0 0 auto;
  padding: 0 0 0 16px;
  white-space: nowrap;
}

#header_bar li {
  padding: 12px 16px 4px 8px;
  background: url(/images/layout/header/header_bar.png);
  vertical-align: top;
  display: -moz-inline-box;
  display: inline-block;
}

#header_bar a {
  color: #05357C;
  text-decoration: none;
  display: block;
  position: relative;
}

#header h1,
#header p {
  display: none;
}

#main {
  display: block;
  position: relative;
  margin: 0;
  clear: both;
}

#left_column, 
#right_column {
  float: left;
  display: inline;
  position: relative;
  margin: 0;
  padding: 12px;
}

#right_column {
  float: right;
}

.has_left_wide {
  padding-left: 264px;
  background: #fff url(/images/layout/main_column.gif) 0 0 repeat-y;
}

.has_left {
  padding-left: 144px;
  background: #fff url(/images/layout/main_column.gif) -120px 0 repeat-y;
}

.has_right_wide {
  padding-right: 264px;
}

.has_right {
  padding-right: 144px;
}

#main.has_left #left_column {
  margin-left: -144px;
  width: 120px;
}

#main.has_left_wide #left_column {
  margin-left: -264px;
  width: 240px;
}

#main.has_right #right_column {
  margin-right: -144px;
  width: 120px;
}

#main.has_right_wide #right_column {
  margin-right: -264px;
  width: 240px;
}


#main_header {
  position: relative;
  clear: both;
  background: url(/images/layout/main_header.gif) -264px 0 no-repeat;
  height: 14px;
}

#main_footer {
  position: relative;
  clear: both;
  background: #e8e8e8 url(/images/layout/main_footer.gif) -264px 0 no-repeat;
  padding: 48px 24px 24px;
  zoom: 1;
}

.has_left_wide #main_header,
.has_left_wide #main_footer {
  margin-left: -264px;
  background-position: 0 0;
}

.has_left #main_header,
.has_left #main_footer {
  margin-left: -144px;
  background-position: -120px 0;
}

.has_right_wide #main_header,
.has_right_wide #main_footer {
  margin-right: -264px;
}

.has_right #main_header,
.has_right #main_footer {
  margin-right: -144px;
}

#main_column {
  position: relative;
  width: 100%;
  overflow:hidden;
  margin: 0 auto;
  padding: 0;
  zoom: 1;
}

.has_left #main_column,
.has_left_wide #main_column {
  float: left;
  display: inline;
}

#content {
  padding: 12px 24px;
  position: relative;
}

.has_left #content,
.has_left_wide #content {
  padding: 12px;
}

#footer {
  clear:both;
  height: 80px;
  padding-top: 16px;
  background: url(/images/layout/footer_grad_xtile.gif) 0 16px repeat-x;
}

#footer .copyright {
  padding: 40px 16px 5px;
  margin: 0;
  background: url(/images/layout/footer_logo.gif) top right no-repeat;
}


/*links*/

a img { border: none; }

a, a:link, a:visited, button {
  color: #153f7c;
}

a:hover {
  color: #1251a5;
}

a:active {
  color: #0a2f63;
}

/* forms */

button {
  background: none;
  border: none;
  display:inline;
  margin: 0;
  padding: 0;
  text-decoration: underline;
  font-size: 100%;
}

table {
  border-collapse: collapse;
}

/*common*/

.crop {
  display:block;
  text-align:center;
  overflow:hidden;
  position:relative;
}

.crop img {
  display: block;
  margin: 0 auto;
}

.button:hover {
  cursor:pointer;
}

/*typography*/

small {
  line-height: 100%;
}

p {
  padding: 0;
  margin: 1em 0;
}

h1,h2 {
  display: block;
  clear: both;
  position: relative;
}

h1 {
  font-size: 1.8em;
  margin: 0 0 1em;
  padding: 0 0 0.5em 0;
  border-bottom: 2px solid #B9BEDA;
}

h2 {
  padding: 0.5em 0;
  color: #666;
}

span.tel {
  white-space: nowrap;
}

a.email, a.url, a.more { 
  font-size: 10px; 
  line-height: 12px; 
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-left: 12px;
  background: url(/images/layout/people/link_bullet.gif) 0 50% no-repeat;
}

/* sidebars */

.sidebar {
  margin: 0 0 24px;
  position: relative;
  background: #00B45B url(/images/layout/sidebar.gif) 0 repeat-y;
  padding: 12px;
  zoom: 1;
}

.sidebar_header {
  padding: 12px 12px 0;
  margin: -12px -12px 0;
  background: url(/images/layout/sidebar_header.gif) 0 0 no-repeat;
}

.sidebar_footer {
  padding: 0 12px 12px;
  margin: 0 -12px -12px;
  background: url(/images/layout/sidebar_footer.gif) 0 100% no-repeat;
  zoom: 1;
}

#left_column .sidebar { margin-right: -12px; }
#right_column .sidebar { margin-left: -12px; }

.sidebar ul.menu {
  margin: 12px -12px 12px 0;
  padding: 0;
  list-style-type: none;
  position: relative;
  zoom: 1;
  border-top: 1px solid #FFF0D9;
}

.sidebar ul.menu ul {
  font-size: 90%;
  line-height: 1em;
  position: relative;
  margin: 0 0 4px;
  border-top: 0px none;
}

.sidebar li {
  margin: 0;
  padding:0;
  display: block;
  border-bottom: 1px solid #FFF0D9;
  position: relative;
  zoom: 1;
}

.sidebar li li {
  padding-left: 12px;
  border-bottom: 0px none;
}

.sidebar li li a,
.sidebar li li.current span {
  padding: 0 4px 1px;
}

.sidebar li.current,
.sidebar li.current a:hover {
  font-weight: bold;
  background: #FFEDD1;
}

.sidebar h3 {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 1.1em;
  color: #00793D;
  margin: 8px 0;
}

.sidebar h3 a,
.sidebar h3 a:hover {
  color: #00793D;
  text-decoration: none;  
}

.sidebar .menu a {
  display: block;
  padding: 3px 4px;
  margin: 0;
  text-decoration: none;
  color: #7f423f;
  font-size: 1em;
  font-weight: bold;
  zoom: 1;
}

.sidebar .menu a:hover {
  background-color: #FFE8C5;
}


/* blocks */

.mainblock,
.sideblock {
  clear: both;
  padding: 0 12px;
  margin: 0 0 12px;
  position: relative;
  zoom: 1;  
}

.mainblock {
  background: #e1e5f5 url(/images/layout/mainblock_footer.gif) 0 100% no-repeat;
}

.sideblock {
  margin-bottom: 24px;
}

.mainblock_header,
.sideblock_header {
  position: relative;
  color: #fff;
  padding: 0px 12px;
  margin: 0 -12px;
  font-size: 1em;
  line-height: 13px;
  background-position: 100% 0;
  background-repeat: no-repeat;
  zoom: 1;
}

.mainblock_header {
  background-image: url(/images/layout/mainblock_header.gif);
}

.sideblock_header {
  background-image: url(/images/layout/sideblock_header.gif);
  background-color: #009664;
}

.mainblock_title,
.sideblock_title {
  position: relative;
  font-size: 1.2em;
  font-weight: bold;
  margin: 0 auto 0 -12px;
  padding: 6px 12px 11px;
  background-position: 0 0;
  background-repeat: no-repeat;
}

.mainblock_title {
  text-shadow: #03204C 2px 2px 2px;
  background-image: url(/images/layout/mainblock_header.gif);
}

.sideblock_title {
  text-shadow: #004C26 2px 2px 2px;
  margin-right: -12px;
  padding-bottom: 5px;
  background: url(/images/layout/sideblock_footer.gif) 0 100% no-repeat;
}

.mainblock_footer {
  clear: both;
  position: relative;
  background: url(/images/layout/mainblock_footer.gif) 100% 100% no-repeat;
  padding-bottom: 12px;
  margin: 0 -12px 0 0;
  zoom: 1;
}

.mainblock_header h4 {
  margin: 0;
  padding: 6px;
  position: absolute;
  top: 0;
  right: 12px;
  font-size: 10px;
  line-height: 1.3em;
  vertical-align: top;
}

.sideblock ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.sideblock li {
  padding: 4px 0;
  border-bottom: 1px solid #FFF0D9;
}
.sideblock li h4 {
  font-size: 1.1em;
  margin: 0;
  padding: 0;
}

.sideblock li p {
  margin: 0;
  padding: 0;
  font-size: 11px;
}

.calendar {
  background: #fff;
  border: 1px solid #999;
}

/* debug */

.banner { 
  display:block; 
  position: relative; 
  background: #f99; 
  margin: 0 -1px 24px; 
  border: 1px solid #333;
}

.banner img { display: block; position: relative; }

.type1 { 
  width: 120px; 
}

.type2 {
  clear: both;
  margin: 24px auto;
  width: 728px;
  height: 90px;
}

.type3 {
  clear: both;
  width: 240px;
}

.pagination {
  text-align: center;
  font-size: 1.2em;
}
.pagination a,
.pagination .current {
  padding: 5px;
}
.pagination a {
  text-decoration: none;
  font-weight: bold;
}
.pagination .current {
  font-size: 1.2em;
}
.pagination .prev_page,
.pagination .next_page {
  text-transform: uppercase;
  font-size: 11px;
}

/* BETA */

#beta {
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 124px;
  height: 84px;
  background: url(/images/layout/header/beta.png) 100% 100% no-repeat;
}

.announce {
  margin: 0 0 1em;
  padding: 12px;
  background: url(/images/layout/news/article_grad_xtile.png) 0 0 repeat-x;
  position: relative;
}

.announce p {
  font-size: 1.2em;
  line-height: 1.5em;
}

#flash {
  margin: 12px 0;
  background: #FFFFA7;
  font-weight: bold;
  font-size: 1.2em;
  padding: 12px 24px;
  border: 1px #999;
}
