/* Start of CMSMS style sheet 'Layout: EA - Top + 2 cols' */
/*****************
browsers interpret margin and padding a little differently, 
we'll remove all default padding and margins and
set them later on
******************/
* {
margin:0;
padding:0;
zoom:1;
}

body {
   text-align: left;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 75.01%;
//   font-size: 62.5%;
   line-height: 1em;
}

div {
   font-size: 1em;
}

img {
   border: 0;
}

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

}

/* HEADINGS */
div#content h1 {
   font-size: 2em;  /* font size for h1 */
   line-height: 1em;
   margin: 0;
}
div#content h2 {
   color: black; 
   font-size: 1.75em; 
   text-align: left; 
/* some air around the text
   padding-left: 1em; */
   padding-bottom: 1px;
/* set borders around header */
   line-height: 1.5em;
/* and some air under the border */
   margin: 0 0 0.5em 0;
   /* background: white url(../images/ea/contenthead.jpg) no-repeat 0px 0px; */
   font-variant: small-caps;
   border: #848472 solid; /* #848472 */ 
   border-width: 2px 0px 0px 0px;
   /* background: #c8c8ba; */
}
div#content h3 {
   color: #294B5F; 
   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 {
   font-size: 1.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 {
   margin-left: 3em;
}
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 */

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

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

a:hover {
   text-decoration: none;
   background-color: #C3D4DF;
   color: #385C72;
}

/***** basic layout ******/
body {
   background: #848472 url(images/ea/HeaderBkgnd.jpg) repeat-x 0px 0px;
   color: #333;
}

/* center wrapper, min max width */
div#pagewrapper {
   border: 0;
   margin: 0px auto;      /* center the wrapper */
   max-width: 980px; /* IE wont understand these, so we will use javascript magick */
   min-width: 60em;
   background: #fff url(images/ea/Page.jpg) repeat-y 0px 0px;
   color: black;
}


/*** header ****/
div#header {
   height: 220px; /* width of the header image */
   background: #848472 url(images/ea/Header.jpg) no-repeat 0px 0px; 
}

div#header h1 a {
   display: block; 
   height: 220px; /* same width of header image */
   text-indent: -999em;  /* this hides the text */
   text-decoration:none; /* explicitly hide underline for the link */
}

div#search {
   float: right;
   width: 23em;     /* enough width for the search input box */
   text-align: right;
   padding: 0.6em 0 0.2em 0;
   margin: 0 1em;
   font: #fff bold;
}

div.breadcrumbs {
   padding: .5em 0 .5em 1em; /* CSS short hand rule first value is top then right, bottom and left */
   font-size: 90%; /* set font size to be relative so viewer can change font size */
   margin: 0 1em 5px 1em;
}

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

div#content {
   margin: 0 auto 2em 0; /* some air above and under menu and content */
}

div#main {
   margin-left: 230px; /* this will give room for sidebar to be on the left side */
   margin-right: 2%; /* and some air on the right */
}

div.subleft {
   float: left;
   width: 49%;
}

div.subright {
   float: right;
   width: 49%;
}

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

/* set the image to use and establish the lower-right position */ 
.cssbox, .cssbox_body, .cssbox_head, .cssbox_head h6 {
    background: transparent url('images/ea/sidebar_box.png') no-repeat bottom right; 
} 
.cssbox { 
    width: 200px !important; /* intended total box width - padding-right(next) */
    width: 185px; /* IE Win = width - padding */
    padding-right: 5px; /* the gap on the right edge of the image (not content padding) */
    margin: 0 auto; /* use to position the box */ 
} 

/* set the top-right image */ 
.cssbox_head { 
    background-position: top right;
    margin-right: -5px; /* pull the right image over on top of border */
    padding-right: 5px; /* right-image-gap + right-inside padding */
} 

/* set the top-left image */ 
.cssbox_head h6 { 
    background-position: top left; 
    margin: 0; /* reset main site styles*/ 
    border: 0; /* ditto */ 
    padding: 15px 0 15px 20px; /* padding-left = image gap + interior padding ... no padding-right */ 
    height: auto !important; height: 1%; /* IE Holly Hack */ 
    font-size: 1.5em;
} 

/* set the lower-left corner image */ 
.cssbox_body { 
    background-position: bottom left; 
    margin-right: 5px; /* interior-padding right */ 
    padding: 10px 0 5px 5px; /* mirror .cssbox_head right/left */ 
}


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

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

div#footer p a {
   color: #fff; /* needed becouse 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 {
   clear: both;
   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;
}

#myframe {
   height: 600px;
   margin: 0px;
   padding: 0px;
}

/* LISTS */
.mainlist ul,
.mainlist ol,
.mainlist dl {
  font-size: 1.0em;
   line-height:1.4em;
   margin: 0 0 1.5em 0;
}
.mainlist ul li,
.mainlist 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 */

.cardtext {
   float: left;
   text-align: center;
   padding-top: 165px;
   height: 40px;
   max-height: 205px;
   width: 135px;
   background-repeat: no-repeat;
   margin-right: 10px;
   margin-bottom: 5px;
}

/* End of 'Layout: EA - Top + 2 cols' */

