/* Start of CMSMS style sheet 'AWC: Layout' */
/* Content Border */
.t {background: url(/images/Top.jpg) 0 0 repeat-x; width: 583px}
.tr {background: url(/images/TopRight.jpg) 100% 0 no-repeat; padding:10px}
.r {background: url(/images/Right.jpg) 100% 0 repeat-y}
.br {background: url(/images/BottomRight.jpg) 100% 100% no-repeat}
.b {background: url(/images/Bottom.jpg) 0 100% repeat-x}
.bl {background: url(/images/BottomLeft.jpg) 0 100% no-repeat}
.l {background: url(/images/Left.jpg) 0 100% repeat-y}
.tl {background: url(/images/TopLeft.jpg) 0 0 no-repeat}
.f {background: url(/images/Footer.jpg) 0 100% no-repeat}

/* Menu Border */
.t_menu {background: url(/images/t_menu.jpg) 0 0 repeat-x; width: 161px}
.sides {background: url(/images/sides.jpg) 100% 0 repeat-y}
.r_menu {background: url(/images/r_menu.jpg) 100% 0 repeat-y}
.l_menu {background: url(/images/l_menu.jpg) 0 0 repeat-y}
.b_menu {background: url(/images/b_menu.jpg) 0 100% repeat-x}


/* Set initial font styles */
body {
   margin:0;
   padding:0;
   text-align: center;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 80%;
   line-height: 1.2em;
   background: #385c72;
}

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

/* remove image borders */
img {
   border: 0;
}

/* default link styles */
a,
a:link 
a:active {
   text-decoration: underline;
   background-color: inherit; 
   color: #18507C; 
}

a:visited {
   text-decoration: underline;
   background-color: inherit;
   color: #18507C;                /* a different color for visited links */
}


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

/* page wrapper */
div#pagewrapper {
    margin: 0 auto;
    width: 770px;
    padding: 0;
    text-align: left;
    background: #d6e2d8;

max-width: 80em; /* IE wont understand these, so we will use javascript magick */
min-width: 60em;
}


/* header */
div#header {
   height: 213px; /* adjust according your image size */
             
}

div#header h1 a {
/* you can set your own image here */
   background: url(/images/Header.jpg); 
   display: block; 
   height: 213px;             /* 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 */
}


/* Top Nav Wrapper */
#navwrap {
   height: 40px;
}

/* Top Nav */
div#topnav  {
background: url(/images/TopNav.jpg) no-repeat; 
height: 40px;
}


/* Search Bar */
div#search {
   float: right;
   width: 23em;     /* enough width for the search input box */
   text-align: right;
   padding: 0;
   margin: 0 1em;
}

/* Breadcrumbs Navigation */
div.breadcrumbs {
   padding: 0;
   font-size: 85%;
   margin: 0 1em; 
}

div.breadcrumbs span.lastitem { 
   font-weight:bold; 
 } 

/* Left Navigation */
div#sidebar {
      float:left;
      
      margin-top: 1em;
      padding-bottom: 0.5em;
      
}

/* if sidebar doesnt include menu but content add class="hascontent" */
div#sidebar.hascontent {
      
      margin-top: 1em;
      padding-bottom: 0.5em;
}


/* Content Area */
div#content {
   float:left;
   margin-left: 1em;
   margin-top: 0.5em;
   margin-right: 0.6em;
   background-color: white;
}

#content p {
	padding-right: 2.5em;
        padding-left: 2.5em;
}
#content li {
	padding-right: 2.5em;
}
#content table{
        padding-left: 2.5em;
}
#content form{
	padding-left: 2.5em;
        padding-right: 2.5em;
}



/* Footer */
div#footer {
   clear:both;       /* keep footer below content and menu */
   background: url(/images/Footer.jpg) no-repeat;
   height: 111px; 
}

div#footer p {
   font-size: 0.8em;
   color: black;
    padding: 4.3em;      /* some air for footer */
   text-align: center; /* centered text */
   margin: 0;
}

div#footer a {
   font-size: 0.9em;
   text-decoration: none;
}

div#footer p a {
   color: #18507C; /* needed because footer link would be same color as background otherwise */
}

/* 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: #294B5F; 
   font-size: 1.5em; 
   text-align: left; 
/* some air around the text */
   padding-left: 1.5em;
   padding-top: 1.5em;
   line-height: 1.5em;
/* and some air under the border */
   margin: 0 0 0.5em 0;
}
div#content h3 {
   color: #294B5F; 
   font-size: 1.3em;
/* some air around the text */
   padding-left: 1.5em;
   padding-top: 1.5em;
/* and some air under the border */
   line-height: 1.3em;
   margin: 0 0 0.5em 0;
}
div#content h4 {
   color: #294B5F; 
   font-size: 1.2em;
/* some air around the text */
   padding-left: 1.5em;
   padding-top: 1.5em;
/* and some air under the border */
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
div#content h5 {
   font-size: 1.1em;
/* some air around the text */
   padding-left: 1.5em;
   padding-top: 1.5em;
/* and some air under the border */
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
}
h6 {
   font-size: 1em;
/* some air around the text */
   padding-left: 1.5em;
   padding-top: 1.5em;
/* and some air under the border */
   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 */

/* Some Final IE Hacks */
* html div#topnav {float:left;margin-top:-2.5em;width:100%;}
* html div.breadcrumbs {margin-top:-1.8em;}
* html div#search {margin-top: -1.6em;}
* html div#content {margin-top: -1em;}
* html div#sidebar {margin-top: 1.5em;}
/* End of 'AWC: Layout' */

