 body {
   font-family: Arial, helvetica, sans-serif;
   font-size: 90.1%;
   margin: 0;
   padding: 0;
 }  
 
 #pageWrapper {
/*
    width: 900px;
*/
    width: 60em;
    margin-left: auto;
    margin-right: auto;

 
 }
 
 #TopBar {
   
   margin: 0 auto 0 auto;
/*
   border-bottom: thin solid #4E6685;
*/
 }

 .wrapper1 {
   background-image: url(/i/bg-shadow-left.gif);
   background-repeat: repeat-y;
   background-position: left top;
   padding-left: 50px;
 }

 .wrapper2 {
   background-image: url(/i/bg-shadow-right.gif);
   background-repeat: repeat-y;
   background-position: right top;
   padding-right: 50px;
 }
 
  #footer {
   background-image: url(/i/dotted.gif); 
   background-repeat: repeat-x;
   background-position: left top;
   padding-top: 10px;

   clear: both;
   padding-bottom: 10px;
   margin: 10px 20px 0 20px;
  }

 #header {
   position: relative;
   margin-top: 10px;
   margin-left: 1em;
   margin-right: 1em;

   background-image: url(/i/dotted.gif); 
   background-repeat: repeat-x;
   background-position: left bottom;
   padding-bottom: 10px;

  }

 #header form {
   margin-right: 2em;
 }
 
 #siteTitle, 
 h1 {
  color: #0063dc;
  text-align: left;
  font-size: 1.8em;
  margin: 0;
  padding: 0;
  font-weight: bold;
 } 

 #siteTitle {
   margin-right: 17em;
   text-align: center;
 } 

 #siteTitle a:visited {
   background-color: inherit;
   color: #00e;
 }
 
  h1#directoryPageTitle {
    text-align: center;
      } 

  #Main {
   float: left; 
   display: inline; 
   position: relative; 
   width: 35em; 
   margin-left: 1em
  }
  
  #Main2 {
    margin: 0 2em 0 1em;
  }
  
  #sidebar {
   width: 230px; 
   float: right; 
   position: relative; 
  }
  
 #Main ul, 
 #Main li {
   list-style: none;
 } 
 
 #Main li h3 {
   margin-bottom: 0;
   padding-bottom: 0;
 } 
 
 #Main li p {
   margin-top: 0;
   padding-top: 0;
 }
 
 #header center form {
  position: absolute;
  right: 0;
  top: 0;
 }
 
 #Bookmarks { 
   padding: 0 0 1em 0;
/*
   background-image: url(/i/dotted.gif); 
   background-repeat: repeat-x; 
   background-position: left top; 
*/
   text-align: center;
   margin: 0 auto 0 auto; 
   clear: both;
 }
 
 p {
   font-size: 1.2em;
   line-height: 1.5;
   text-align: left;
 }
 
 p#note {
   text-transform: uppercase;
   text-align: center;
 }
 
 p#note span {
  white-space: nowrap;
 }
 
 .imageBar {
   overflow: hidden;
   width: 100%;
   height: 100px;
   position: relative;
   
   text-align: center;
   margin-left: 10px;
   margin-right: 40px;
 }
 
 .imageBar li {
   float: left;
 }

  #bodycontent {   
     position: relative;
 }

  #bodycontent .wrapper2 {   
     padding-top: 1em;
  } 
  
  div#siteNavList {
    text-align: center;
    padding-bottom: 0.5em;
  } 
  
  div#siteNavList ul {
    margin: 0;
    padding: 0;
  } 
  
  div#siteNavList ul li {
    list-style: none;
    display: inline;
    margin-right: 1em;
    padding-right: 0;
    margin-bottom: 0.8em;
    
  }
  
  #footeradblock {
    margin-top: 1.5em;
    padding-top: 1.5em;
    border-top: thick solid #9EC0EB;
  }
  
  
  ul#businessList, 
  ul#businessList li {
    margin-left: 0;
    padding-left: 0;
  }
  
/* styles for edit directory entry page (/directory/edit/$id/)  */
 form#directoryedit {
   margin-left: 2em;
 }

 form#directoryedit p {
   margin: 0;
   padding: 0 0 0.2em 0;
   font-size: 0.9em;
 }

 form#directoryedit label {
   font-weight: bold;
 }

 form#directoryedit label p {
   font-weight: normal;
   padding: 0;
 }

 .error {
   background-color: inherit;
   color: #f00;
   display: block;
 }
 
 label span {
   display: block;
 }

 form#directoryedit fieldset.block label {
   display: block;
 }

 form#directoryedit input.text {
   width: 90%;
 } 
 
 #errorHeader {
   background-color: #ededed;
   color: #f00;
   border: thin solid #333;
   margin: 1em 0 1em 2em;
   padding: 0.5em 1em;
 } 
 
 #errorHeader p {
   text-align: center;
 }
 
 /* page: respond to a ey command */
 
 .respondSuccess {
   background-image: url(/i/tick.jpg); 
   background-repeat: no-repeat; 
   background-position: center left; 
   height: 60px; 
   line-height: 2; 
   vertical-align: middle; 
   padding-left: 81px; 
   padding-top: 30px; 
   margin-top: 0; 
   margin-bottom: 0;
 }
 
  div#listCategories {
    border: thin solid #4E6685;
    border-bottom-width: medium;
    border-right-width: medium;
    background-color: #9EC0EB;
    padding: 0.8em 1em;
    text-align: center;
    margin-left: 0;
    margin-right: 0;
  } 
  
  div#listCategories2 {
    border: thin solid #fff;
    padding: 0.2em 2em;
  }
  
  div#listCategories ul {
    margin: 0;
    padding: 0.3em 0;
  }
  
  div#listCategories ul li {
    list-style: none;
    display: inline;
    margin-left: 1.5em;
    margin-right: 1.5em;
    padding: 0;
    margin-bottom: 0.8em;
    line-height: 1.8;
    
    font-size: 0.8em;
    text-transform: uppercase;
    font-weight: bold;
    
    text-align: center;
  } 
  
  div#listCategories ul li.firstlistitem {
    padding-left: 0;
    border-left-width: 0;
  }
  
  div#listCategories a:visited {
    background-color: inherit;
    color: #003cff;
    text-decoration: none;
    border-bottom: thin dotted #003cff;
  }
  
  .adsenseblock {
    margin-bottom: 1em;
  }
  
  .businessNav {
    text-align: right;
  }
  
  ul#businessList li {
    background-image: url(/i/gray-shade.jpg);
    background-repeat: repeat-x;
    background-position: left bottom;
    margin-top: 2em;
    padding-left: 0.5em;
  }
  
  ul#businessList li li {
    background-image: none;
    margin-top: 0;
  }
  
  ul#businessList p {
    margin-bottom: 0;
  }
  
  div.businessmeta {
    text-align: right;
    font-size: 80%;
    margin: -1em 0.5em 0.5em 0;
    padding-bottom: 0.5em;
    background-color: transparent;
    color: inherit;
    font-weight: bold;
  }
  
  ul#businessList li a {
    color: #000;
    background-color: transparent;
  }
  
  .requiredfield {
    font-weight: bold;
    display: inline;
  } 

	#blogmentions {
		font-size: 0.7em;
		margin-right: 1em;		
	}
	
	#blogmentions .ref {
		text-align: right;
	}
	
	#blogmentions p {
		margin-top: 0;
		margin-bottom: 0;
	}
