/* Start of CMSMS style sheet 'NewLayoutTopMenu+2cols' */
/*****************
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;
}

/*
Set initial font styles
*/
body {
   text-align: left;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 80.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: underline;
/* 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: #18507C; 
}

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


/* remove underline on hover and change color */
a:hover {
   text-decoration: none;
   /* background-color: #C3D4DF; This is the hover on the navbar and all other links. --Joe */
   background-color: #666666; /* My dark grey web safe color for the navbar.  --Joe */
   color: #385C72;
}

/*****************
basic layout 
*****************/
body {
   background-color: #ccc;
   background-image:        url(images/bg1.jpg); /* brown boards */
   color: #333;
   margin:1em; /* gives some air for the pagewrapper */
}

/* center wrapper, min max width */
div#pagewrapper {

padding: 8px; /* This puts a white box around the page.  */
border: 1px solid green;

   margin: 0 auto;     /* this centers wrapper */
   /* orig: max-width: 80em;  IE wont understand these, so we will use javascript magick */
   /* orig: min-width: 60em;  */
   min-width: 850px;
   max-width: 1000px;
   background-color: #fff; /* white background w/8px border around page. --joe*/
   color: black;
/* width: 900px; */
}


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

/* header_new: Is a block around all of the header div sub-blocks --joe */
div#header_new {
  height: 225px; /* adjust according your image size */

  /* height: 221px 80px;   adjust according your image size 
      background: #385C72;      
  */
             
}

/* head_outer_logo_block: Is a block around just the logo and logo text. --joe */

div#head_outer_logo_block { 
  height: 112px; /* adjust according your image size */
  background-image:        url(images/topbg.gif);
  margin-bottom: 2px;
}


div#head_logo_lion {
  /* DOES NOT WORK: image follows shrinking browser window rather than staying fixed.
      position: absolute;
      right: 15px;
   */
 
  /* logo is 104w by 119h while the container box is 112h so this is 4px padding on top and 4 on bottom */
  padding-left: 4px;
  padding-top: 4px;

  float: left; 
  margin-right: 15px;
  /* margin-bottom: 30px; */
 
      
   /* border:         1px solid blue; */
   /* background-image: url(images/logo_woman.jpg); */
   /* 
       background-repeat: no-repeat;
       background-position: 20px 600px; 
   */
    /* border:         1px solid blue; */
}

/* Create a header container div and put two divs inside it for the title and tagline.  --joe */
/* margin-left will indent nested divs beyond the logo size (logo size +10+5 for margin-left) */
div#head_middle {

  padding-top: 20px;    /* This moves the title and tagline down into the middle of logo block. --joe */
  text-align:     left;  
  margin-left:   128px; /* This puts the text beyond the logo lion.  --joe */
  margin-right:  10px;  /* Good practice to give some buffer from the right edgs of logo block. --joe */
  /* border:         1px solid brown; */
}

/* Quality Chinese Translation Services in the logo box */
div#head_middle_title {
  /* font:   2.5em, "georgia", "times new roman" ; w3c validator gives error here */
  font-family: "Georgia", "Times New Roman";
  font-size: 2.5em;
  font-weight:  500;
  color: #ffffff;
  /* letter-spacing: -1px; This will put the letters together quicker.  */
  /* border:         1px solid orange; */  
}

/* Color of tagline words: Translation Services */
div#head_middle_title span {
  
  /* color: #e7ab0b; gold which looks like brown */
  /* color: #848900; avg green which looks like dk green = bad */
  /* color: #cccc00; This green is great but yellow kicks butt. --joe */

color: yellow;
  
}

div#head_middle_tagline {
  font:            1.5em "georgia", "times new roman";
  font-weight: normal;
  color: #aaaaaa;
  text-indent: 1%;
  padding-top: .5em;
  /* border:         1px solid blue; */
}


div#header h1 a {

  display:                         block;

text-align:         center; /* this will center the h1 text */
   /* color:               white;  this will turn the font text to white */

  /* background-image:        url(images/topbg.gif); */
   /* background-image:        url( http://www.orzco.com/cmsms/admin/themes/NCleanGrey/images/layout/bg_banner.png); */
   background-repeat:        repeat-x;
  /* background-color:          gray; */
  /* background-attachment: scroll; */
  margin-bottom:              2px;
  margin-top:                   2px;
  /* background-position:      0% 0%; */
  width:                           100%;
  height:                          112px;             /* adjust according your image size */
  text-decoration:none;
  /*  text-indent: 0; */

   border: 1px solid orange;

/* 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#headercontent h1 {
   /* joe adds here */
   background-image:        url(images/topbg.gif);
   display: block;

  font-weight: normal;
  color: #000000;
  font-size: 2.5em;
  border: 1px solid red;
}

div#headercontent h2 {
  font-size: 1em;
  font-weight: normal;
  color: #aaaaaa;
}

div#headerpic {
  position: relative;
  height: 109px;
  background-color: #ffffff;
  background-image: url(images/hdrpic.jpg);
  background-repeat: no-repeat;
  background-attachment: scroll;
  background-position: left top;
  margin-bottom: 2px;
}

div#hr_joe
{
  background-color: #ffffff;
  background-image: url(images/border1.gif);
  background-repeat: repeat-x;
  background-attachment: scroll;
  background-position: 0% 0%;
  height: 14px;
  margin-bottom: 1.5em;
}

/* class joe set up for joe picture in about-us page */
.imgborder {
  border: 2px solid #000000;
  margin-left: 4px;
  /* align: top; w3c css validator error: no align property, this is a img tag property */
}


div#search {
   float: right;
   width: 27em;     /* enough width for the search input box */
   text-align: right;
   padding: 0.6em 0 0.2em 0;
   margin: 0 1em;
   padding-top: 0em;  /* joe fix to match breadcrumbs and adding grey bar. --joe */
}

div#nav_bottom_hr_bar {

  /* These are from the zenlike stylesheet.  --joe */
  background-color: #ffffff; 
  background-image: url(images/border1.gif);
  background-repeat: repeat-x;
  background-attachment: scroll;
  background-position: 0% 0%;
  /* height: 14px; commented out to shrink height below.  --joe */
  /* margin-bottom: 1.5em; */

/* joe changes or additions */
height: 14px;      /* changed to reduce height.  Fix by creating new graphic 7px high. --joe */
margin-top: 2px; /* added to create a nice white border like original zenlike design.   --joe */
}

div.breadcrumbs {

  padding: 1em 0 1.2em 0; /* CSS short hand rule first value is top then right, bottom and left */
   font-size: 90%;              /* its good to set fontsizes to be relative, this way viewer can change his/her fontsize */
   margin: 0 1em;              /* css shorthand rule will be opened to be "0 1em 0 1em" */
   border-bottom: 1px dotted #000;

   padding-top: 0.0em; /* Add by joe to shrink distance a little.  Have to change search to match.  --joe */
}

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


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

div#main {
   margin-left: 29%; /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
   margin-right: 2%; /* and some air on the right */
}


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

/* if sidebar doesnt include menu but content add class="hascontent" */
div#sidebar.hascontent {
   padding: 0 1%;
   width: 24%;  /* make width smaller if there's padding, or it will get too wide for the floated divs in IE */
}

/* position for the brochure box -- joe */
div#brochure {
   float: left;
   width: 16em;    /* enough width for the search input box */
   text-align: center;

padding-bottom: 1em;
/* 
   padding: 0.6em 0 0.2em 0;
   margin: 0 3em;
   margin-top: 0.7em
 */
   
}

div#footer {
   clear:both;       /* keep footer below content and menu */
   
   /* orig value.  --joe */
   /* background-color: #385C72;  same bg color as in header */
   /* color: #fff;                            font text color */
  
   /* joe value */
background-color: #858A00; /* same bg color as in header = green --joe */
color: black; /* used image so have to change font color to black from white. --joe */
   /* background-color: #666666; web safe grey look bad.  --joe */

}

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


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

/* CSS from the zenlike stylesheet.  --joe */
position: relative;
/* orig: height: 2em; */
clear: both;
padding-top: 1.5em; /* distance from bg image to home, etc links.  --joe */
background-color: #ffffff;
background-image: url(images/border2.gif);
background-repeat: repeat-x;
background-attachment: scroll;
/* orig: background-position: 0em 2.5em; */
background-position: 0em 0em;
font-size: 0.8em;

height: 5em; /* joe fix for display */
padding-bottom: 1.5em;
}

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

color: black; /* joe changed */

   /* color: #cccc00;  Made lt-green color safe to highlight. --joe */
}

/* 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;  blue text color. --joe */
   /* color: #800000;  nice dark red matching logo.  --joe */
   color: #294B5F;

   font-size: 1.5em; 
   text-align: left; 
   /* some air around the text */
   padding-left: 0.5em;
   padding-bottom: 1px;
   /* set borders around header */
   /* orig: border-bottom: 1px solid #e7ab0b;  e7ab0b is gold color matching news block --joe */
   /* orig: border-left: 1.1em solid #e7ab0b; */

/* border-left: 1.1em solid #858A00; same green as navbar.  --joe */
border-left: 1.1em solid #CCCC00;    /* same lt. green color as in lion logo.  --joe */
border-bottom: 1px solid #CCCC00;  /* same lt. green color as in lino logo.  --joe */

   line-height: 1.5em;
/* and some air under the border */
   margin: 0 0 0.5em 0;
}
div#content h3 {
   color: #294B5F; /* dk blue color --joe */
   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;
}
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;
}

/********************
Joe additions
*********************/
.sitehighlight {
  color: #800000;
}
/* END LISTS */
/* End of 'NewLayoutTopMenu+2cols' */

