/**
 * @file
 * Page Styling
 *
 * Style the markup found in page.tpl.php. Also includes some styling of
 * miscellaneous Drupal elements that appear in the $content variable, such as
 * ul.links, .pager, .more-link, etc.
 */

html,
button,
input,
select,
textarea {
/*  font-family: Arial, Verdana, Tahoma, "DejaVu Sans", sans-serif;*/
}

p {
  margin-top: 0;
}

a {
  text-decoration: none;
  color: #000066;
}

a:hover {
  text-decoration: underline;
}

h3,
h4 {
  clear: both;
}

hr {
  clear: both;
}

html {
  height: 100%;
}

/*
 * Body
 */

body {
  margin: 0;
  padding: 0;
  height: 100%;
  background: url('../images/custom/body_bg.gif') repeat-x;
  font-size: 14px;
  font-size: 12px;
  line-height: 1.5em;
}

body.toolbar {
  background: url('../images/custom/body_bg.gif') repeat-x 0px 30px;
  margin-bottom: -30px;
}

body.toolbar-drawer {
  background: url('../images/custom/body_bg.gif') repeat-x 0px 65px;
}

body.banners-top-enabled {
  background: url('../images/custom/body_bg.gif') repeat-x 0px 30px;
}
body.banners-top-enabled.toolbar {
  background: url('../images/custom/body_bg.gif') repeat-x 0px 60px;
}
body.banners-top-enabled.toolbar-drawer {
  background: url('../images/custom/body_bg.gif') repeat-x 0px 95px;
}

div#body-decoration {
  min-width: 1000px;
  height: 105px;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  background: url('../images/custom/header_faceted.jpg') top center repeat-x #172c59 !important;
}
div#body-decoration2 {
  min-width: 1000px;
  height: 29px;
  width: 100%;
  position: absolute;
  top: 105px;
  left: 0;
  background-color: #2d5590;
  border-bottom: 4px solid #fabd05;
}

body.toolbar div#body-decoration {
  top: 30px;
}
body.toolbar div#body-decoration2 {
	top: 135px;
}
body.toolbar-drawer div#body-decoration {
  top: 65px;
}
body.toolbar-drawer div#body-decoration2 {
	top: 170px;
}

body.toolbar div#body-decoration,
body.banners-top-enabled div#body-decoration {
  top: 30px;
}
body.toolbar div#body-decoration2,
body.banners-top-enabled div#body-decoration2 {
  top: 135px;
}
body.toolbar-drawer div#body-decoration {
  top: 65px;
}
body.toolbar-drawer div#body-decoration2 {
  top: 170px;
}

body.banners-top-enabled.toolbar div#body-decoration {
  top: 60px;
}
body.banners-top-enabled.toolbar div#body-decoration2 {
  top: 165px;
}
body.banners-top-enabled.toolbar-drawer div#body-decoration {
  top: 95px;
}
body.banners-top-enabled.toolbar-drawer div#body-decoration2 {
  top: 200px;
}

#page-wrapper {
  min-height: 100%;
  height: auto !important;
  height: 100%;
  margin-bottom: -421px;
}

body.banners-bottom-enabled #page-wrapper {
	  margin-bottom: -451px;
}

#page {
	padding-bottom: 30px;
}

body.banners-top-enabled #page {
  padding-top: 30px;
}

/*
 * The skip-link link will be completely hidden until a user tabs to the link.
 * See the element-focusable rule in system.base.css.
 */

#skip-link {
  margin: 0;
}
#skip-link a,
#skip-link a:visited {
  display: block;
  width: 100%;
  padding: 2px 0 3px 0;
  text-align: center;
  background-color: #666;
  color: #fff;
}

/*
 * Header
 */

#header {
  position: relative;
  padding-left: 20px;
  height: 134px;
}

#logo { /* Wrapping link for logo */
  /*float: left; /* LTR */
  display: block;
  position: absolute;
  top: 18px;
  left: 10px;
  margin: 0;
  padding: 0;
  width: 112px;
  height: 74px;
  /* If a browser supports both multiple backgrounds and linear gradients, it supports SVG too. If not, the PNG is the fallback */
  background: url('../images/custom/nrl_logo_white.png');
  background: url('../images/custom/nrl_logo_white.svg'), linear-gradient(transparent, transparent);
  background-repeat: no-repeat;
}
#logo img {
  display: none !important;
}

#name-and-slogan { /* Wrapper for website name and slogan */
  float: left;
  margin: 50px 0 0 130px;
}

#site-name { /* The name of the website */
  margin: 0;
  font-size: 24px;
  line-height: 40px;
  height: 39px;
  max-width: 700px;
  overflow:hidden;
  font-weight: 300;
  font-family: arial;
}
#site-name a:link,
#site-name a:visited {
  color: #fff;
  text-decoration: none;
}
#site-name a:hover,
#site-name a:focus {
  text-decoration: underline;
}

#site-slogan { /* The slogan (or tagline) of a website */
  margin: 0;
  font-size: 1em;
}

.region-header /* Wrapper for any blocks placed in the header region */ {
  /*clear: both; /* Clear the logo */
  float: right;
  max-width: 370px;
  text-align: right;
  margin-top: 12px;
}

/*
 * Main (container for everything else)
 */

#main {
}

/*
 * Content
 */

#content {

}

body div#content a {
  text-decoration: underline; 
}

.region-highlighted {
}

.breadcrumb { /* The path to the current page in the form of a list of links */
  font-size: 12px;
  color: #000066;
  left: 10px;
  padding-bottom: 0;
  position: absolute;
  top: 10px;
}
.breadcrumb a {
  color: #000066;
  /*margin-right: 4px;*/
}
.breadcrumb ol {
  margin: 0;
  padding: 0;
  max-width: 730px;
  padding-top: 3px;
  line-height: 18px;
}
.breadcrumb li {
  /*display: inline;*/
  float:left;
  margin-right: 4px;
  white-space: nowrap;
  list-style-type: none;
  /*margin: 0 4px 0 0;*/
  padding: 0;
}
div#content .breadcrumb a {
  text-decoration: none;
}
div#content .breadcrumb a:hover {
  text-decoration: underline;
}

div#main nav.breadcrumb {
	max-height: 21px;
	overflow: hidden;
}

h1.title, /* The title of the page */
h2.node-title, /* Title of a piece of content when it is given in a list of content */
h2.block-title, /* Block title */
h2.title, /* Comment section heading */
h2.comment-form, /* Comment form heading */
h3.title { /* Comment title */
  margin: 0;
}

h1.title { /* The title of the page */
  border-bottom: 1px solid #A1A1B9;
  color: #000066;
  font-size: 24px;
  font-weight: normal;
  margin-top: 0;
}

h2.pane-title,
h2.title {
  margin-top: 0;
  margin-bottom: 9px;
  font-weight: normal;
}

#content-title {
  padding-left: 206px;
  padding-right: 10px;
}

body.no-sidebars #content-title {
  padding-left: 10px;
  padding-right: 10px;
}

body.not-logged-in #content-title {
  margin-bottom: 12px;
}

body.front .region-front-page-box {
  background-color: white;
  border: 1px solid #b9b9cc;
  margin-bottom: 30px;
  padding: 0;
}

body.front .region-front-page-box .block {
  margin-bottom: 0;
}

body.front #site-box {
  position: relative;
  min-height: 120px;
  padding: 10px;
  margin-bottom: 0;
}

body.front #site-box span {
  font-size: 14px;
  line-height: 20px;
  color: #a1a1b9;
}

body.front #site-box span.org-code {
  position: absolute;
  right: 10px;
}

body.front #site-box h1 {
  font-weight: normal;
  max-width: 72%;
  margin-top: 0;
  margin-bottom: 0;
  line-height: 2em;
}

body.front #site-box h1 a {
}
body.front #site-box h1 span {
  font-size: 32px;
  color: #000066;
}

body.front #site-box #site-box-text {
  color: #a1a1b9;
  line-height: 20px;
}
body.front #site-box #site-box-text a {
  text-decoration: underline;  
  color: #a1a1b9;
}
body.front #site-box #site-box-text p {
  margin-top: 0px;
  margin-bottom: 0px;
}

tr.even { /* Some tables have rows marked even or odd. */
  /* background-color: #eee; */ /* Drupal core uses a #eee background */
}

tr.odd {
  /* background-color: #eee; */ /* Drupal core uses a #eee background */
}

div.messages { /* Important messages (status, warning, and error) for the user. See also the declarations in messages.css. */
  margin: 1.5em 0; /* Drupal core uses "6px 0" margin */
}
div.messages ul {
  margin-top: 0;
  margin-bottom: 0;
}

div.status { /* Normal priority messages */
}

div.warning,
tr.warning { /* Medium priority messages */
  /* border: 1px solid #f0c020; */ /* Drupal core uses: 1px solid #f0c020 */
}

div.error,
tr.error { /* High priority messages. See also the .error declaration below. */
}

.error { /* Errors that are separate from div.messages status messages. */
  /* color: #e55; */ /* Drupal core uses a #e55 background */
}

.warning { /* Warnings that are separate from div.messages status messages. */
  /* color: #e09010; */ /* Drupal core uses a #e09010 background */
}

.tabs { /* See also the tabs.css file. */
}

.region-help { /* Help text on a page */
}

.more-help-link { /* Link to more help */
}

.region-content { /* Wrapper for the actual page content */
}

ul.inline { /* List of links generated by theme_links() */
  display: inline;
  padding: 0;
}
ul.inline li {
  display: inline;
  list-style-type: none;
  padding: 0 1em 0 0; /* LTR */
}

span.field-label { /* The inline field label used by the Fences module */
  padding: 0 1em 0 0; /* LTR */
}

.item-list .pager { /* A list of page numbers when more than 1 page of content is available */
  padding: 0;
}
.item-list .pager li { /* Each page number in the pager list */
  padding: 0 0.5em;
}

.feed-icon { /* The link to the RSS or Atom feed for the current list of content */
}

.more-link { /* Aggregator, blog, and forum more link */
}

/*
 * First sidebar (on left in LTR languages, on right in RTL)
 *
 * Remember to NOT add padding or margin to your .region-sidebar-first
 * (see the layout.css file.)
 */

.region-sidebar-first {
}

/*
 * Second sidebar (on right in LTR languages, on left in RTL)
 *
 * Remember to NOT add padding or margin to your .region-sidebar-second
 * (see the layout.css file.)
 */

.region-sidebar-second {
}

/* 
 * Pusher 
 */

/* 
 * Pusher 
 */

#pusher {
  clear: both;
  height: 421px;
}
body.banners-bottom-enabled #pusher {
  height: 451px;
}

/*
 * Footer
 */

#footer.region-footer {
  min-width: 1000px;
  height: 421px;
  position: relative;
}
body.banners-bottom-enabled #footer.region-footer {
	  height: 451px;
}

.region-footer {
  font-size: 0.75em; /* 16px x .75 = 12px */
  padding: 30px 10px 25px;
  color: #cccccc;
}

.region-footer #footerRequired {
  clear: both;
  color: #848599;
  line-height: 18px;
  text-align: center;
}

.region-footer p {
  margin: 0;
}

.region-footer a {
  text-decoration: none;
  color: #cccccc;
}
.region-footer a:hover {
  text-decoration: underline;
}

/*
 * Page bottom
 */

.region-bottom { /* Wrapper for any blocks placed in the page bottom region */
}

/**
 * Section Links
 */
.section-links {
  font-size: 13px;
  line-height: 24px;
  height: 24px;
  background: url(../images/custom/section_links_bg.gif) repeat-x bottom;
  padding-top: 6px;
  padding-left: 15px;
  border-bottom: 1px solid #A1A1B9;
  position: relative;
  margin-bottom: 20px;
}

.section-links a {
  display: block;
  float: left;

  color: #848599;

  margin-top: 1px;
  margin-left: 3px;
  margin-right: 3px;
  padding-left: 16px;
  padding-right: 16px;
  
}

div#content .section-links a {
  text-decoration: none;
}

.section-links a:hover {
  text-decoration: none;

  color: #000066;

  border: 1px solid #A1A1B9;
  border-bottom: none;
  background-color: #E9E9E9;

  margin-top: 0px;
  margin-left: 2px;
  margin-right: 2px;

  -webkit-border-top-left-radius: 4px;
  -webkit-border-top-right-radius: 4px;
  -moz-border-radius-topleft: 4px;
  -moz-border-radius-topright: 4px;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}
.section-links a.active {
  color: #000000;

  border: 1px solid #A1A1B9;
  border-bottom: none;
  background-color: white;

  margin-top: 0px;
  margin-left: 2px;
  margin-right: 2px;

  -webkit-border-top-left-radius: 4px;
  -webkit-border-top-right-radius: 4px;
  -moz-border-radius-topleft: 4px;
  -moz-border-radius-topright: 4px;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;

}

/* User Login block */
#block-user-login {
  border: 1px solid #B9B9CC;
  padding: 11px;
  margin-top: 40px;
}
#block-user-login h2 {
  text-align: center;
  line-height: 24px;
}
#block-user-login a {
  text-decoration: underline;
}
#block-user-login label {
  font-weight: normal;
  color: black;
  line-height: 20px;
}
#block-user-login .form-item {
  margin-top: 6px; 
  margin-bottom: 6px; 
}
#block-user-login input#edit-pass,
#block-user-login input#edit-name {
  width: 146px;
}
#block-user-login #edit-actions {
  margin-bottom: 0;
}

/* NRL User Menu */
#block-menu-nrl-user-menu {
  padding-top: 3px;
}

/* NRL CCSAuth Block (Alternative to NRL User Menu) */
#block-ccsauth-delta-0 {
  padding-top: 3px;
}

/* Table tweaks */
table td {padding: 5px;}

/* Biblio */
span.biblio-title {
  text-decoration: underline;
}

/* Image captions */
div.imgcaption {
  font-size:10px;
  line-height:1.2em;
}

div#nrl-banner-top,
div#nrl-banner-bottom {
  height: 30px;
  line-height: 30px;
  font-size: 14px;
  color: #ffffff;
  text-align: center;
  position: fixed;
  width: 100%;
  /*z-index: 9001;*/
  z-index: 499;
}
div#nrl-banner-bottom {
  bottom: 0;
}
body.banners-red div#nrl-banner-top,
body.banners-red div#nrl-banner-bottom {
  background-color: #cb2026;
}
body.banners-green div#nrl-banner-top,
body.banners-green div#nrl-banner-bottom {
  background-color: #009300; 
}

div#nrl-banner-top a,
div#nrl-banner-bottom a {
  text-decoration: underline;
}  
/*div#nrl-banner-top a:link { color: #ffffff }  /* unvisited links */
/*div#nrl-banner-top a:visited { color: #777 }  /* visited links   */
/*div#nrl-banner-top a:hover { color: #777 }  /* user hovers     */
/*div#nrl-banner-top a:active { color: #ccc }  /* active links    */
/*div#nrl-banner-bottom a:link { color: #ffffff }  /* unvisited links */
/*div#nrl-banner-bottom a:visited { color: #ccc }  /* visited links   */
/*div#nrl-banner-bottom a:hover { color: #ccc }  /* user hovers     */
/*div#nrl-banner-bottom a:active { color: #ccc }  /* active links    */
/* Maintenance Page */
body.in-maintenance {
	background-image: none;
	background-color: #006;
	color: #fff;
}
body.in-maintenance #header {
	padding-left: 10px;
}
body.in-maintenance #name-and-slogan {
	margin-left: 0;
}
body.in-maintenance h1.title {
	color: #fff;
	border-color: #fabd05;
	margin-bottom: 6px;
}