/* Start of CMSMS style sheet 'Layout' */
/*
Set initial font styles
*/
body {
   text-align: left;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 75.01%;
   line-height: 1em;
}

/*
set font size for all divs,
this overrides some body rules
*/
div {
   font-size: 1em;
}

/*
if img is inside "a" it would have 
borders, we don't want that
*/
img {
   border: 0;
}

/*
default link styles
*/
/* set all links to have underline and bluish color */
a,
a:link 
a:active {
   text-decoration: none;
/* css validation will give a warning if color is set without background color. this will explicitly tell this element to inherit bg colour from parent element */
   background-color: inherit; 
   color: #2177c0; 
}

a:visited {
   /*text-decoration: underline;*/
   background-color: inherit;
  color: #2177c0;                /* a different color can be used for visited links */
}


/* remove underline on hover and change color */
a:hover {
   text-decoration: underline;
   color: #2177c0;
}

/*****************
basic layout 
*****************/
body {
   color: #07022b;
   margin:0;
   background: url(images/mwr/body-bg2.jpg) no-repeat center top;
}

/* center wrapper, min max width */
div#pagewrapper {
   margin: 0 auto;     /* this centers wrapper */
   padding:0;
   width:850px;
   color: #07022b;
   font-size:10px;
}


/*** header ***
we will hide text and replace it with a image
we need to assign a height for it
*/

div#header {
   height: 136px; /* adjust according your image size */
   width: 850px;
   background: url(images/mwr/header-bg.jpg);           
}

div#header h1{margin:0; padding:0;}

div#header h1 a {
/* you can set your own image here */
   background: #385C72 url(images/cms/logo1.gif) no-repeat 0 12px; 
   display: block; 
   height: 80px;             /* adjust according your image size */
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
}

div#content {
   margin: 0 0 30px 0; /* some air above and under menu and content */
   float:left;
   width:845px;
}

div#main {
   margin: 0;
   float:left;   
}

div#main.home{
  width:538px;
}

div#news-flash{
  margin:0 0 30px 0;
}


#week-news h2{
   margin:0 0 0 0;
   padding:0;
   color:#000030;
}

/*#week-news #heritage{
   width:158px;
   height:100px;
   border-left: 1px solid #000034;
   border-right: 1px solid #000034;
   float:left; display:inline;
   padding:10px;
}

#week-news #jobwaves{
   width:158px;
   height:100px;
   border-right: 1px solid #000034;
   float:left; display:inline;
   padding:10px;
}

#week-news #flashcall{
   width:158px;
   height:100px;
   border-right: 1px solid #000034;
   float:left; display:inline;
   padding:10px;
}


#week-news #heritage h3, #week-news #jobwaves h3, #week-news #flashcall h3{color:#000030; font-size:10px;}

#week-news #heritage a, #week-news #jobwaves a, #week-news #flashcall a{color:#000030; font-size:10px; text-transform:uppercase; background:#ffb41a; padding:4px; text-align:right; float:right;}
*/

#week-news #week-wrapper{
 width:538px;
 background:url(images/mwr/news-borders.gif);
}

#week-news #week-wrapper .NewsSummary{
  width:155px;
  float:left;
  padding-right:5px;
}

div#preview{
  margin:0 0 30px 0;
}

div#sidebar.hascontent {
   float: right;  /* set sidebar on the left side. Change to right to float it right instead. */
   width: 282px;    /* sidebar width, if you change this please also change #main margins */
   display: inline;  /* FIX ie doublemargin bug */
}

div#sidebar #news-general, div#sidebar #news-sport{
  border:1px solid #feb51a;
  float:left;
  width:282px;
}

#news-sport{
margin-bottom:20px;
}

div#sidebar #news-general h3, div#sidebar #news-sport h3{
  background:#ffb41a;
  color:#163891;
  text-transform:uppercase;
  font-size:10px;
  padding:3px 0 3px 10px;
  margin:0;
}

div#sidebar #news-general h3.more, div#sidebar #news-sport h3.more{
  text-align:right;
  padding-right:10px;
}

div#sidebar #news-general h3.more a, div#sidebar #news-sport h3.more a{
  color:#163891;
}

div#sidebar #news-general ul, div#sidebar #news-sport ul{
  margin:10px 5px 5px 10px;
  padding:0;
}

li.NewsSummarySummary{
  list-style:none;
  margin:0;
  padding:0 0 0 15px;
  background:url(images/mwr/li-arrow.gif) no-repeat left 5px;
}

li.NewsSummarySummary a{
  color:#163891;  
}
div#sidebar #ads{
  width:282px;
  margin:30px 0;
  float:left;
}

div#sidebar #ads #ad1{
  float:left;
}

div#sidebar #ads #ad2{
  float:right;
}

div#sidebar #ads #ad3{
width:70px;
height:60px;
}

div#footer {
   clear:both;       /* keep footer below content and menu */
   background: url(images/mwr/footer-bg.gif) repeat-x;
   height:83px;
   padding-top:15px;
}

div#footer p {
   padding: 0 0 4px 0;      /* some air for footer */
   text-align: center; /* centered text */
   margin:0;
}

div#footer p span{color:#ffb137;}

div#footer p a {
   color: #030034; 
}

div#footer2{
  text-align:center;
}

div#footer2 a {
   color: #ffb137; 
}

/* as we hid all hr for accessibility we create new hr with extra div element */
div.hr {
   height: 1px;
   margin: 1em;
   border-bottom: 1px dotted black;
}

/* relational links under content */
div.left49 {
  float: left;
  width: 49%;  /* 50% for both left and right might lead to rounding error on some browser */
}

div.right49 {
  float: right;
  width: 49%;
  text-align: right;
}

/********************
CONTENT STYLING
*********************/
div#content {

}

/* HEADINGS */
div#content h1 {
   font-size: 2em;  /* font size for h1 */
   line-height: 1em;
   margin: 0;
}
div#content h2 {
  color:#163891; 
   font-size: 1.5em; 
   text-align: left; 
   line-height: 1.5em;
}
div#content h3 {
   color: #294B5F; 
   background:#fdaf19;
   font-size: 1.3em;
   line-height: 1.3em;
   margin: 0 0 0.5em 0;

}
div#content h4 {
   color: #294B5F; 
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
div#content h5 {
  color:#163891;
   background:#fdaf19;
   font-weight:100;
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
   padding:2px 0;
}
h6 {
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
/* END HEADINGS */

/* TEXT */
p {
   font-size: 1em;
   margin: 0 0 1.5em 0;  /* some air around p elements */
   line-height:1.4em;
   padding: 0;
}
blockquote {
   border-left: 10px solid #ddd;
   margin-left: 10px;
}
pre {
   font-family: monospace;
   font-size: 1.0em;
}
strong, b {
/* explicit setting for these */
   font-weight: bold;
}
em, i {
/* explicit setting for these */
   font-style:italic;
}

/* Wrapping text in <code> tags. Makes CSS not validate */
code, pre {
 white-space: pre-wrap;       /* css-3 */
 white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
 white-space: -pre-wrap;      /* Opera 4-6 */
 white-space: -o-pre-wrap;    /* Opera 7 */
 word-wrap: break-word;       /* Internet Explorer 5.5+ */
 font-family: "Courier New", Courier, monospace;
 font-size: 1em;
}

pre {
   border: 1px solid #000;  /* black border for pre blocks */
   background-color: #ddd;
   margin: 0 1em 1em 1em;
   padding: 0.5em;
   line-height: 1.5em;
   font-size: 90%;   /* smaller font size, as these are usually not so important data */
}

/* END TEXT */

/* LISTS */
div#main ul,
div#main ol,
div#main dl {
  font-size: 1.0em;
   line-height:1.4em;
   margin: 0 0 1.5em 0;
}
div#main ul li,
div#main ol li {
   margin: 0 0 0.25em 3em;
}

div#dl dt {
   font-weight: bold;
   margin: 0 0 0.25em 3em;
}
div#dl dd {
   margin: 0 0 0 3em;
}
/* END LISTS */

div#content form input, textarea{
  border:1px solid #07022b;
}

div#content .submit input{
  color:#07022b;
  background:#ffb41a;
  padding:3px;
  border:none;
  width:100px;
  cursor:pointer;
}

div#content form input{width:200px;}
div#content textarea{width:350px; height:150px;}

div#content table{border:none;}
div#content table td{padding:5px;}

div#content table td.light-yel{
  background:#fff4de;
}

div#content table td.light-blu{
  background:#e4f0fc;
}

div#content table td.dark-yel{
  background:#ffe569;
}

div#content table td.dark-blu{
  background:#e4f0fc;
}

#terms{float:left; padding:0 0 20px 0;}
/* End of 'Layout' */

