/*
23 Nov 2006. IH. Created from flying.css for the CMS (as used in fireplace.com).
15 Apr 2019. IH. Added medium and medium_alt classes for sudoku.
*/

body {
  background-color: #f2f8fd;
  font-family: Verdana, Arial, Sans-Serif;
  color: #333300;
  font-size: small;
  text-decoration: none;
  margin: 10px;
  padding: 10px;
}

/* The wrapper has no effect on the page if the margin and padding are 0. */

#wrapper {
  margin: 0;
  padding: 0;
}

/* header has a left-aligned horizontal menu */

#header a:link, #header a:visited {
  text-decoration: none;
  background-color: #f2f8fd;
  color: #003366;
}

#header a:hover, #header a:active {
  text-decoration: underline;
  background-color: #f2f8fd;
  color: #003366;
}

#header-bottom {
  border-top: 1px solid #b9d2e3;
  border-bottom: 1px solid #b9d2e3;
  height: 1%;
}

#header-bottom ul {
  margin: 0;
  padding: 0;
  padding: 0 30px 0 0;
  text-align: left;
}

#header-bottom li {
  display: inline;
  background-color: #f2f8fd;
  color: #003366;
}

#header-bottom a:link, #header-bottom a:visited {
  text-decoration: none;
  background-color: #f2f8fd;
  color: #003366;
}

#header-bottom a:hover, #header-bottom a:active {
  text-decoration: underline;
  background-color: #f2f8fd;
  color: #003366;
}

/* Position a graphic top right. 40 pixels high is good on IE7.
   In Firefox, though, the graphic overwrites the top header line. */

#graphic_top_right {
  position: absolute;
  top: 2px;
  right: 10px;
}

#image_top_right {
  position: absolute;
  top: 2px;
  right: 10px;
}

/* In tagline, "float: left" means pretty much the same as "align=left" but can be applied to any element. If
   using it on elements other than an image, you must include a width declaration in the CSS. */

#tagline {
  font-weight: normal;
  background-color: #f2f8fd;
  color: #050845;
  font-style: italic;
  margin: 0;
  padding: 0 0 0 20px;
  width: 300px;
  float: left;
}

#breadcrumb {
  font-size: 80%;
  padding: 5px 0 0 0;
}

#navigation_top {
  top: 10px;
  right: 10px;
  padding: 0;
  font-size: 80%;
}

#navigation_bottom {
  position: relative;
  bottom: 20px;
  right: 10px;
  float: right;
  padding: 10px 0 10px 0;
  clear: left;
  font-size: 80%;
}

/* Stuff below the header */

#main {
  margin-top: 10px;
}

/* Content has a right margin to allow for the sidebar, a border in the same color as
   the header, 10 pixels of padding around it and black text on a white background. */

#content {
  margin: 0 240px 0 0;
  border: 1px solid #b9d2e3;
  padding: 10px;
  background-color: #efefef;
  color: #444444;
}

#content.no_sidebar {
  margin: 0 0 0 0;
}

/* Sidebar is blue with white text */

#sidebar {
  float: right;
  width: 220px;
  background-color: #256290;
  color: #b9d2e3;
}

#sidebar h3 {
  font-size: 110%;
  background-image: url(/images/graphics/sidebar-header-bg.jpg);
  background-repeat: no-repeat;
  background-color: #256290;
  color: white;
  margin: 0;
  padding: 0.2em 0 0.2em 10px;
  font-weight: normal;
}

#sidebar .inner {
  padding: 0 0 0 0;
}

#sidebar ul {
  margin-left: 0;
  padding-left: 20px;
}

#sidebar p, #sidebar li {
  font-size: 90%;
  line-height: 1.4em;
  padding: 3px 0 3px 0;
}

/* Override default link colours for unordered lists in the sidebar: change colour and remove underline. */

#sidebar ul a:link, #sidebar ul a:visited {
  color: white;
  text-decoration: none;
}

/* Override default link colours for unordered lists in the sidebar: restore the underline when hovering or active. */

#sidebar ul a:hover, #sidebar ul a:active {
  color: white;
  text-decoration: underline;
}

#footer {
  clear: both;
  width: 100%;
  border-top: 1px solid #b9d2e3;
  border-bottom: 1px solid #b9d2e3;
  margin-top: 10px;
  font-size: 80%;
  text-align: center;
}


img {
  border: 0;
}

/* Line up icons with adjacent text */
img.icon {
  vertical-align: top;
}

/* Line up icons with adjacent text */
img.inline {
  vertical-align: top;
}

img.framed {
  border: 1px solid #333333;
}

img.left {
  float: left;
  margin: 5px 5px 5px 0;
}

img.right {
  float: right;
  margin: 5px 0 5px 5px;
}

.centre {
  text-align: center;
}

h1 {
  font-size: 150%;
  font-weight: normal;
  color: #003366;
/*  clear: both; */
}

h2 {
  font-size: 135%;
  font-weight: normal;
  color: #003366;
/*  clear: both; */
}

h3 {
  font-size: 120%;
  font-weight: normal;
  color: #003366;
/*  clear: both; */
}

h4 {
  font-size: 110%;
  font-weight: normal;
  color: #003366;
/*  clear: both; */
}

/* The order in which these pseudo-classes are defined is important.
   Each rule is overridden by a later rule of the same importance.
   Remember 'love-hate' - link, visited, hover, active.
*/

a.subtle:link {
  color: #003366;
  background-color: transparent;
  text-decoration: none;
}

a.subtle:visited {
  color: #663366;
  background-color: transparent;
  text-decoration: none;
}

a.subtle:visited:hover {
  color: #663366;
  background-color: transparent;
  text-decoration: underline;
}

a.subtle:hover {
  color: #003366;
  background-color: transparent;
  text-decoration: underline;
}

/*
a.subtle:active {
  text-decoration: none;
}
*/

li {
  margin-top: 3px;
  margin-bottom: 3px;
  list-style-type: circle;
}

.fixed {
  font-family: Courier, Serif;
}

.big {
  font-size: 200%;
}

.medium {
  font-size: large;
  background-color : #CCCCCC;
}

.medium_alt {
  font-size: large;
  background-color : white;
}

.small{
  font-size: 90%;
}

.tiny {
  font-size: 80%;
}

.caption {
  font-size: 80%;
  font-style: italic;
}

table.grid {
/*  width: 100%; */
  line-height: 1.4em;
  border-collapse: collapse;
  border: 1px solid #003366;
  padding: 10px;
  background-color: #eeeeee;
  color: #003366;
}

table.grid thead tr {
  background-color: #ffffff;
  color: #003366;
  vertical-align: top;
}

table.grid thead tr th {
  background-color: #ffffff;
  color: #003366;
  vertical-align: top;
  text-align: left;
}

table.grid tbody tr.odd {
  background-color: #efefef;
  color: #003366;
  vertical-align: top;
}

table.grid tbody tr.odd td {
  border: 1px solid #003366;
  padding: 10px;
  background-color: #f7f7f7;
  color: #003366;
  vertical-align: top;
}

table.grid tbody tr.even {
  background-color: #ffffff;
  color: #003366;
  vertical-align: top;
}

table.grid tbody tr.even td {
  border: 1px solid #003366;
  padding: 10px;
  background-color: #ffffff;
  color: #003366;
  vertical-align: top;
}

/* This class creates a drop-caps effect on the first letter in a paragraph. */

p.firstcap:first-letter {
  font-family: Times-Roman, Serif;
  font-size: 500%;
  float: left;
  color: gray;
}

.checklist {
  border: 1px solid #206c26;
  padding: 10px;
  background-color: #99ffbb;
  color: #206c26;
}

.breakout {
  border: 1px solid #cc9933;
  padding: 10px;
  background-color: #ffdd77;
  color: #996600; /*aa7711; */
}

.breakout h2 {
  font-size: 150%;
  font-weight: normal;
  color: #552200;
}

.breakout h3 {
  font-size: 120%;
  font-weight: normal;
  color: #552200;
}

.breakout h4 {
  font-size: 110%;
  font-weight: normal;
  color: #552200;
}

.breakout a.subtle:link {
  color: #552200;
  background-color: transparent;
  text-decoration: none;
}

.breakout a.subtle:visited {
  color: #552211;
  background-color: transparent;
  text-decoration: none;
}

.breakout a.subtle:visited:hover {
  color: #552211;
  background-color: transparent;
  text-decoration: underline;
}

.breakout a.subtle:hover {
  color: #552200;
  background-color: transparent;
  text-decoration: underline;
}

table.breakout {
  width: 100%;
  line-height: 1.4em;
  border-collapse: collapse;
  border: 1px solid #003366;
  padding: 10px;
  background-color: #eeeeee;
  color: #003366;
}

table.breakout tbody tr {
  background-color: #fafafa;
  color: #003366;
}

table.breakout tbody tr td {
  border: 1px solid #003366;
  padding: 10px;
  background-color: #ffffff;
  color: #003366;
}

/* Warnings: red text on yellow background in a red box. You can't miss it. */

.warning {
  border: 1px solid red;
  padding: 0 2px 0 2px;
  color: red;
  background-color: yellow
}

.circled {
  border: 2px solid black;
  padding: 0 2px 2px 2px;
}

.answer {
  color: #003366;
}

#content .news_item {
  border: 1px solid #999999;
  margin: 5px 0;
  padding: 3px;
  background-color: #ffffff;
}

#content .news_item .headline {
  font-size: 120%;
  font-weight: bold;
  padding: 5px 0;
  color: #003366;
}

#content .news_item .dateline {
  font-size: 80%;
  padding: 5px 0;
  color: #003366;
}
