@import url(luna_core.css);

/*
This file inherits from luna_core.css, so styles in this file will override
styles defined in it.  Changes to this file will NOT be overwritten during
upgrades.

Here's a quick tutorial on overriding styles.  Say you want to change the
background colour of the body.  Looking at luna_core.css, the colour is
defined in the rule:

    body {
      margin: 0px;
      padding: 0px;
      color: #33332e;
      background: #ffffff;
      font: normal 11px tahoma, geneva, verdana, sans-serif;
      text-align: center;
    }

To change the background colour of white (#ffffff) to gray (#dddddd), you would
add the following to this file:

    body {
      background: #dddddd;
    }

If you also wanted to change the font as well as the background, then you could
use:

    body {
      background: #dddddd;
      font: normal 12px times new roman;
    }

Also note that every template's body id is assigned the template name (without
the .html extension).  So if you want to change the h2 heading in the
category.html template, you can do this by:

    #category h2 { 
      color: red; 
      font-weight: bold; 
    }

To start you off, some sample overriding styles have been provided below.  Note
that you will have to uncomment the rules for them to work.
*/

/* Logo size and image source */

#logo {
  width: 275px;
  height: 65px;
  background: transparent url(images/business+directory.gif) top left no-repeat;
}

#header {
  background: none;
}

                             /* login bar changes */

#loginbar a {
  padding: 10px 10px 10px 10px;   
  display: inline;                /* changed */
}


#loginbar a.in, #loginbar a.out {
  background: none;             /* changed */
}

#bloglogo a {
  padding: 10px 10px 10px 10px;   
  display: inline;            /* changed */
}



/* If the height of your logo changes from the original, then you will probably
want to also change the vertical position of the login link */

#loginbar a {
  margin-top: 25px;
}


/* Show the left sidebar */
/*
#ocwrapper {
  border-left-width: 200px;
}
#leftsidebar {
  display: block;
}
#contentheader .error, #contentheader .message {
  margin: 0px 200px 0px 200px;
}
*/

/* Hide the right sidebar */

#ocwrapper {
  border-right-width: 0px;
}
#rightsidebar {
  display: none;
}
#contentheader .error, #contentheader .message {
  margin: 0px;
}


/* Change the right sidebar width.  Note that the sidebars have a 10px left or
right padding (left sidebar has a left padding and right sidebar has a right
padding), hence the 150px - 10px = 140px width */
/*
#ocwrapper {
  border-right-width: 150px;
}
#rightsidebar {
  margin-right: -150px;
  width: 140px;
}
#contentheader .error, #contentheader .message {
  margin: 0px 150px 0px 0px;
}
*/

/* Change width of document */

#wrapper {
  width: 80%;
}


/* Don't want the shadows? */

.shadowtop, .shadowbottom, .shadowleft, .shadowright {
  background: none;
}
.shadowtopleft, .shadowtopright, .shadowbottomleft, .shadowbottomright {
  width: auto;
  height: auto;
  float: none;
  background: none;
}


/* If you change the globals category_cols or home_category_cols, then you will
need to change the width of the columns themselves.  Note that IE sometimes has
problems if this value adds up to 100%, so keep the width a little under 100%.
For example, if you changed category_cols to 3, then this example would set
the width of the columns to 33% (99% total).  If you want to change the columns
on the home page as well, then remember to set a rule for "#home dl" as well. */

#category dl {
  width: 33%;
}


#home dl {
  width: 33%
}
               /* -----Additional adjustments to navbar-----*/

.navbar {
  margin-bottom: 0px;                    /* changed from 1px */
}
ul.primarynav, ul.secondarynav {
  margin: 0px;
  padding: 0px;
  border-bottom: 0px solid #00669F;      /* changed border, weight */
  border-top: 0px solid #00669F;         /* added blue border, weight */
  float: left;
  list-style: none;
}
ul.primarynav {       
  width: 100%;
  background: #408F9F;        /* changed background to blue */
}

ul.secondarynav {
  width: 100%;
  background: #777c8d;
}
ul.primarynav li, ul.secondarynav li {
  float: left;
  list-style: none;
}
ul.primarynav li {
  background: none;       /* removed divider images */
}
ul.primarynav a {
  margin-right: 3px;              /* padding modified */
  padding: 7px 9px 7px 10px;      /* padding modified */
  float: left;
  color: #ffffff;                 /*modified */
  font-size: 12px;                /*modified */
  text-decoration: none;
}
ul.primarynav a:visited {
  color: #ffffff;
}
ul.primarynav a:hover {
  color: #333333;                        /* changed to gray*/
  background: #ffffff;                   /* changed to white */
}
ul.primarynav li.home {
  border-right: none;                    /* removed border */
  background: #408F9F;                   /* changed background to blue */
}
ul.primarynav li.home a {
  margin-right: 0px;
}
ul.secondarynav li.first {
  padding-left: 5px;
}
ul.secondarynav a {
  margin-right: 1px;
  padding: 4px 5px;
  float: left;
  color: #FFFFFF;
  font-size: 10px;
  text-decoration: none;
}
ul.secondarynav a:visited {
  color: #ffffff;
}
ul.secondarynav a:hover {
  color: #212126;
}


               /* -----Additional adjustments to searchbar-----*/


.searchbar {
  margin-bottom: 3px;                   /* changed */
  padding: 2px 2px;                    /* both changed */
  border-bottom: 0px solid #57594b;      /* changed weight */
  border-top: 0px solid #57594b;         /* added border*/
  background: #B5DFDE;                    /* changed */
}
.searchbar input.text, .searchbar input.submit {
  margin-right: 10px;                    /* changed */
}
/* setting this in mozilla causes rendering issues */
* html .searchbar input.submit {
  height: 21px;
}
/* these colours are the same as defined by 'a', but we unset a:visited */
.searchbar a {
  color: #212126;
  font-size: 10px;
}
.searchbar a:hover {
  color: #5c5b66;
}


               /* -----Additional adjustments to footer-----*/


#footer {
  margin-top: 3px;
  padding: 5px;
  border-top: 2px solid #57594b;
  background: #ffffff;                    /* changed */
}
#footer img {
  float: right;
}
#footer p {
  margin: 0px;
  padding: 10px 0px;
  color: #8a8d77;
  font-size: 10px;
}
#footer a {                            /* added footer a */
  color: #8a8d77;
  text-decoration: none;
  font-size: 10px;             
}
#footer a:hover {                                  /* added */
  color: #5c5b66;
}
#footer input.text, #footer input.submit {         /* added */
  margin-right: 10px;
}
/* setting this in mozilla causes rendering issues */
* html .searchbar input.submit {
  height: 21px;
}


               /* -----Additional adjustments to content-----*/


#ocwrapper {
/* background colour of left sidebar */
  border-left: solid #ffffff;                /* color changed */
/* background colour of right sidebar */
  border-right: solid #ffffff;      /* color changed, size changed above*/
  background: #ffffff;                          /* color changed */
}
#leftsidebar {
  margin-left: -200px;
  padding: 10px 0px 10px 10px;
  width: 190px;
  float: left;
  position: relative;
/* hide the left sidebar by default */
  display: none;
}
#rightsidebar {
  margin-right: -200px;
  padding: 10px 10px 10px 0px;
  width: 190px;
  float: right;
  position: relative;
}
#contentwrapper {
  width: 100%;
  float: left;
  position: relative;
}
#content {
  margin: 0px 10px;
  padding: 10px;
  background: #ffffff;
}
/* hack for ie/win's guillotine bug */
/* start non ie/mac css \*/
* html #content {
  height: 1%;
}


             /* -----Additional adjustments to links-----*/



/* links */
a {
  color: #0000FF;                      /* color changed */
  text-decoration: underline;               /* added */
}
a:visited {
  color: #8e8d9a;
}
a:hover {
  color: #0000FF;
  text-decoration: underline;
}

/* headings */
h1 {
  font-size: 17px;
}
h2 {
  font-size: 16px;
}
h3 {
  font-size: 14px;
}
h4 {
  font-size: 14px;
}
h5 {
  font-weight: normal;
  font-size: 12px;
}
/* use this with text in headings you wish to make small */
.hsmall {
  font-weight: normal;
  font-size: 9px;
}

#accessibility {
  position: absolute;
  left: -9000px;
  width: 9000px;
}


/* changes to links */
.linklisting {
  margin: 15px 15px 20px 20px;
}
.linklisting h4.linktitle, .linklisting p.linkurl, .linklisting p.linkrating {
  margin: 2px 0px;
}
.linklisting h4.linktitle a {
  padding-bottom: 0px;
}
.linklisting p.linkurl a {
  font-size: 12px;                     /* changed */
  text-decoration: none;
}
.linklisting p.linkrating {
  font-size: 12px;                  /* changed */
}
.linklisting p.linkrating .linkexpired {
  color: #8c3030;
  font-weight: bold;
}
.linklisting .linkdescription, .review .reviewcontent {
  margin: 0px 0px 5px 0px;
  padding: 5px;
  border: 0px solid #bbbfa1;       /* changed */
  background: #f8faed;
  overflow: hidden;
}
/* overflow: hidden doesn't work in ie unless the width is set */
* html .linklisting .linkdescription, * html .review .reviewcontent {
  width: 96%;
}
.linklisting p.linkactions {
  margin: 0px;
}
.linklisting p.linkactions a, #detailed p.actions a, #jump_frame .actions a {
  padding: 1px 4px;
  border: 1px solid #bbbfa1;         /* changed */
  font-size: 10px;                   /* changed */
  text-decoration: none;
}
.linklisting p.linkactions a:hover, #detailed p.actions a:hover, #jump_frame .actions a:hover {
  background: #e2e1eb;
}



body {
      
      font: normal 12px tahoma, geneva, verdana, sans-serif;
    }



/* #detailed p.actions a, #detailed p.actions a:hover => see .linklisting p.linkactions a */

#home dt a {
  font-weight: bold;
  font-size: 14px;           /* changed */
}
#home #content h4 {
  margin-top: 20px;
  font-weight: normal;
  font-size: 14px;
}

.crumb {
  font-size: 10px;
}

