/* Start of CMSMS style sheet 'Layout' */
* {
margin:0;
padding:0;
}
body {
   text-align: left;
   font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
   font-size: 75.01%;
   line-height: 1em;
}
div {   font-size: 1em;}
img {   border: 0;}

a,
a:link 
a:active {
   text-decoration: underline;
   background-color: inherit; 
   color: #6b3111; 
}
a:visited {
   text-decoration: underline;
   background-color: inherit;
  color: #6b3111;                
}
a:hover {
   text-decoration: none;
   background-color: #9d8f68; 
   color: #fff;
}
/*****************
basic layout 
*****************/
body {
   background-color: #fff;
   color: #000;
   margin:1em 0; 
   background: #fff url(photos/images/pologoplain.jpg) ;
}
div#pagewrapper {
   border: 0px solid black;
   margin: 0 auto 0 0;     
   width: 99%;
   color: black;
}



div#header {
   height: 160px; /* adjust according your image size */
   /*background: #385C72;*/    
   background: url(photos/images/pologo.gif) no-repeat 20px 10px;      
}

div#header h1 {
   display: none;               
   width: 550px;
   margin: 0 0 0 auto;
   padding: 0;
   height: 160px;  /* top plus height = header height */
   text-align: left;
   text-decoration:none; /* old firefox would have shown underline for the link, this explicitly hides it */
   line-height: 1.5em;
   font-family : "Comic Sans MS", Verdana, Geneva, Arial, Helvetica, sans-serif   ;
   color: #6b3111;
}

div#menu_vert {
	width: 80%;
	margin: -80px 0 20px 132px;
}

div#search {
   float: right;
   width: 23em;     /* enough width for the search input box */
   text-align: right;
   padding: 0.6em 0 0.2em 0;
   margin: -100px 1em 0 1em;
}

div.breadcrumbs {
   padding: 1em 0 1.2em 0; 
   font-size: 90%;        
   margin: -100px 1em 60px 240px;           
   border-bottom: 1px dotted #000;
}

 div.breadcrumbs span.lastitem { 
   font-weight:bold; 
 } 

 div#content {
   margin: 0 auto 2em 0; /* some air above and under menu and content */

}

div#main {
   max-width: 800px;
   margin-left: 80px; /* this will give room for sidebar to be on the left side, make sure this space is bigger than sidebar width */
   margin-right: 10px; /* and some air on the right */

}

div#footer {
   clear:both;       /* keep footer below content and menu */
  background: url(photos/images/pologofoot.gif) repeat-x;
   height: 100px;

}

div#footer p {
   font-size: 0.8em;
   padding: 1.5em;      /* some air for footer */
   text-align: left; /* centered text */
   margin: 0px 0 0 350px;
   color: #a17f42;
}

div#footer p a {
   color: #6b3111; /* 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;  /*dm*/
   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;
}


div#content {}

/* HEADINGS */
div#content h1 {
   font-size: 2em;  /* font size for h1 */
   margin: 0 0 1em 46px;
   clear: both;
   line-height: 2em;
   font-family : "Comic Sans MS", Verdana, Geneva, Arial, Helvetica, sans-serif;
   color: #6b3111;

}

div#content h2 {
   color: #846937; 
   font-size: 1.5em; 
   text-align: left; 
/* some air around the text */
   padding-left: 0;
   padding-bottom: 1px;
/* set borders around header */
   border-bottom: 1px solid #6b3111; 
   line-height: 1.5em;
/* and some air under the border */
   margin: 0 0 0.5em 0;
   clear: both;
}
div#content h3 {
   color: #6b3111; 
   font-size: 1.3em;
   line-height: 1.3em;
   margin: 0 0 0.5em 0;
   clear: both;
}
div#content h4 {
   color: #6b3111; 
   font-size: 1.2em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
   clear: both;
}
div#content h5 {
   font-size: 1.1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
   clear: both;
}
h6 {
   font-size: 1em;
   line-height: 1.3em;
   margin: 0 0 0.25em 0;
   clear: both;
}
/* 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 */


/* DM STYLES */


/*Paras - set default to clear */
div#main p {clear: both;}
div#main p.runon {clear: none;}
div#main p.pclear {clear: both;}


/* images */
div#main img {border: 1px solid #846937; float: left; display: block; margin: 0 1em 1em 0;}
div#main img.imgright {float: right; margin: 0 0 1em 1em;}
div#main img.imgcenter {float: none; margin: 0 auto 1em auto;}
div#main img.thumb{border: 2px solid #a17f42; width: 120px; height: 90px; margin: 5px;}
div#main img.noborder{border: 0;}

/* photobox */
div#main div.photobox {display: block; float: left; padding: 0 10px 10px 0; min-width: 222px; }
div#main div.photobox img {display: block; margin: 0 auto 0 0;}
div#main div.photobox p{clear: both; text-align: center; font-size: 80%; color: #846937; width: 222px; margin: 0 auto;}
div#main div.boxright {   float: right;}


/*A simpler version*/
div#main p.picbox, div#main p.picboxr, div#main p.picboxc
{display: block;  margin: 0 0 1em 0; padding: 0; color: #846937; clear: none;
text-align: center; font: normal 90%  Verdana, Arial, Helvetica, sans-serif; width: 300px}
div#main p.picbox {float: left; margin-right: 1em;}
div#main p.picboxr {float: right; margin-left: 1em; clear: right;}
div#main p.picboxc {float: none; margin: 1em auto 1em; clear: both;}
div#main p.picbox img, p.picboxr img {	margin: 0 0 5px 0; }

/*override default width (300) of pic box with style="width: nnn" */

/*Style for Booklists*/
div#main ul.booklist {list-style:none; text-align:left;}
div#main ul.booklist li {display:block; float: left; margin: 0 2% .5em 0; width: 45%; height: 6em;}	
div#main ul.booklist li em {display:block; margin: 0; width: 100%; font-style:italic;}
div#main ul.booklist li strong {display:block; margin: 0; width: 100%; font-size: 80%; color: #A17F42;}
div#main ul.widelist li {width:95%; height: 4em;}

/*Style for textbox*/
div.textbox {float:right; width: 20em; border: 2px solid #A17F42; padding: 0.5em; 
margin: 1em; margin-right: 0; color: #A17F42; font-weight: bold;}

/*some air inside a table*/
div#main td {padding: 0.5em 1em;}


/*caption */
.caption {margin: 0 0 1em 0; padding: 0; color: #846937; clear: none;
font: normal 90%  Verdana, Arial, Helvetica, sans-serif;}

/*wrapper for two or more photos to centre them*/
div.wrapc {margin: 0 auto; width: 520px; float: none; }
/*override default width (520) of div with style="width: nnn" */
/* End of 'Layout' */

