
body {
  background-color: #fff;
  margin-top: 0px;
  margin-bottom: 10px;
  min-width: 768px;
}

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/**
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
.clearfix {
    *zoom: 1;
}

a:hover {
    text-decoration: none
}

#header-bar {
    background: url('/images/mainpage/topps3.jpg');
}

#top-bar-ads {
    width: 600px;
    /*background:red;*/
    margin: 0 auto;
    text-align: center;
    padding-bottom: 15px;
}

#logo {
    float: left;
    /*background:red;*/
    width: 30%;
    height: 70px;
    padding-top: 15px;
    padding-left: 70px;
 }
#header-middle {
    float: left;
    /*background:green;*/
    width: 70%;
    font-size: 11px;
    text-align: center;
    height: 70px;
    padding-top: 10px;
}


#header-side-links a:link, #header-side-links a:visited, #header-side-links a:active {
    font-size: 11px;
}

#top-bar-ads a:link,
#top-bar-ads a:visited,
#top-bar-ads a:active {
    border:1px solid #a8c1d5; -webkit-border-radius: 3px; -moz-border-radius: 3px;border-radius: 3px;font-size:12px;font-family:arial, helvetica, sans-serif; padding: 3px 3px 3px 3px; text-decoration:none; display:inline-block;text-shadow: -1px -1px 0 rgba(0,0,0,0.3);font-weight:bold; color: #FFFFFF;
    background-color: #CEDCE7; background-image: -webkit-gradient(linear, left top, left bottom, from(#CEDCE7), to(#596a72));
    background-image: -webkit-linear-gradient(top, #CEDCE7, #596a72);
    background-image: -moz-linear-gradient(top, #CEDCE7, #596a72);
    background-image: -ms-linear-gradient(top, #CEDCE7, #596a72);
    background-image: -o-linear-gradient(top, #CEDCE7, #596a72);
    background-image: linear-gradient(to bottom, #CEDCE7, #596a72);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#CEDCE7, endColorstr=#596a72);
}

#content-header {
    /*border-bottom: 2px solid #3577c1;*/
    position: relative;
}

#top-tabs {
    list-style: none;
    padding: 0;
    margin: 0;
    position: relative;
    padding-left: 37px;
    border-bottom: 2px solid #3577c1;
}

#top-tabs li {
    display: inline;
    border: solid;
    border-color: #3577c1;
    border-width: 1px 1px 0 1px;
    border-top-left-radius: 20px;
    border-top-right-radius: 10px;
    margin: 0 5px 0 0;
    background: #cbe5fe;
    color: #3577c1;
    padding: 4px 4px 4px 4px;
}
#top-tabs li.local {
  background: #3577c1;
  font-weight: bold;
}

#top-tabs li a {
    padding: 10px 20px 10px 20px;
    color: #3577c1;
}
#top-tabs li.local {
  background: #3589df;
}
#top-tabs li.local a {
    color: white;
}

#search-bar {
   padding-top: 5px;
   text-align: right;
   padding-right: 20px;
   position: absolute;
   right: 0px;
   top: 10px;

}
#search-bar button {
    border: 1px solid #000;
    border-radius: 7px;
    height: 24px;
}


#mag-glass-search {
    float: left;
}
#search-input {
    float: left;
    padding-top: 5px;
    padding-left: 8px;
    width: 600px;
    /*background: green;*/
}
#search-input p {
    font-size: 11px;
}
#search-input button {
    color: #0066CC;
    border-radius: 8px;
}

#contents h1 {
    width: 100%;
    background-color: #a7cfdf; background-image: -webkit-gradient(linear, left top, left bottom, from(#a7cfdf), to(#23538a));
    background-image: -webkit-linear-gradient(top, #a7cfdf, #23538a);
    background-image: -moz-linear-gradient(top, #a7cfdf, #23538a);
    background-image: -ms-linear-gradient(top, #a7cfdf, #23538a);
    background-image: -o-linear-gradient(top, #a7cfdf, #23538a);
    background-image: linear-gradient(to bottom, #a7cfdf, #23538a);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#a7cfdf, endColorstr=#23538a);
    font-size: 16px;
    font-weight: bold;
    color: white;
    margin: 0; padding: 6px 6px 6px 6px;
}

#google-adsense {
    float: right;;
    padding-top: 10px;
    width: 30%;
    font-size: 11px;
    /*background: blue;*/
}
#inner-contents {
    float: left; /*background: green;*/
    width: 70%;
    padding: 10px;
}
#cat-description-blurb {
    background: #FFFFF0;
    padding: 20px;
    font-size: 12px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}


#footer {
    position: relative;
    width: 480px;
    margin: 0 auto;
    padding-top: 30px;
}
#footer ul {
    /*background:red;*/
    list-style: none;
    padding: 0;
    position: relative;
    padding-left: 37px;
}

#footer li {
    display: inline;
    margin: 0 5px 0 0;
    color: #3577c1;
    padding: 1px 1px 1px 1px;
    white-space: pre;
    font-size: 11px;
}
#footer li:after {
    content: "\00a0\00a0 -";
    font-size: 14px;
    line-height: 20px;
}
#footer li:last-child:after {
    content: "";
}

a.link-url {
    font-size: 11px;
}
.added-options {
    font-size: 11px;
}

.category-list {
    padding: 10px;
}
.category-list a:link,.category-list a:visited, .category-list a:active {
    display: inline-block;
    padding-bottom: 10px;
}
.category-list a span {
    font-size: 10px;
    color: black;
}
.row {
    margin: 0px;
}

#left-bar-ads {
    padding-top: 10px;
    width: 100%;
    /*background:red;*/
    margin: 0 auto;
    text-align: center;
}
#left-bar-ads a:link, #left-bar-ads a:visited, #left-bar-ads a:active {
    display: inline-block;
    width: 100%;
    color: white;
    padding: 3px 3px 3px 3px; text-decoration:none; display:inline-block;text-shadow: -1px -1px 0 rgba(0,0,0,0.3);font-weight:bold;
    color: #eee;
    background-color: #CEDCE7;
    background-image: -webkit-gradient(linear, left top, left bottom, from(#428bca), to(#cbe5fe));
    background-image: -webkit-linear-gradient(top, #428bca, #cbe5fe);
    background-image: -moz-linear-gradient(top, #428bca, #cbe5fe);
    background-image: -ms-linear-gradient(top, #428bca, #cbe5fe);
    background-image: -o-linear-gradient(top, #428bca, #cbe5fe);
    background-image: linear-gradient(to bottom, #428bca, #cbe5fe);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#CEDCE7, endColorstr=#596a72);
}

#homepage-sidebar {
    padding-left: 0px;
    top: -2px;
}
#homepage-sidebar-inner {
    max-width: 181px;
    position: relative; left: 0; top: -2px;
    background:#e7ecf4;
    border-bottom-right-radius: 25px;
    padding-bottom: 20px;
    padding-top: 20px;
}
#homepage-sidebar-inner h2 {
    text-align: center;
    width: 100%;
    background-color: #a7cfdf; background-image: -webkit-gradient(linear, left top, left bottom, from(#a7cfdf), to(#23538a));
    background-image: -webkit-linear-gradient(top, #a7cfdf, #23538a);
    background-image: -moz-linear-gradient(top, #a7cfdf, #23538a);
    background-image: -ms-linear-gradient(top, #a7cfdf, #23538a);
    background-image: -o-linear-gradient(top, #a7cfdf, #23538a);
    background-image: linear-gradient(to bottom, #a7cfdf, #23538a);filter:progid:DXImageTransform.Microsoft.gradient(GradientType=0,startColorstr=#a7cfdf, endColorstr=#23538a);
    font-size: 16px;
    font-weight: bold;
    color: white;
    margin: 0; padding: 6px 6px 6px 6px;
    margin-top: 20px;
}


@media (max-width: 1090px) {
    #top-bar-ads {
        width: 100%;
    }
}

@media (max-width: 1060px) {
    #top-bar-ads a:link,
    #top-bar-ads a:visited
    #top-bar-ads a:active {
        font-size: 10px;
    }
}

@media (max-width: 920px) {
    #logo img {
        width: 100%;
    }
    #top-bar-ads a.hide-when-smaller {
        display:none;
    }
}

#header-business-search-inner {
    background: url('./images/home-header-words2.jpg');
    width: 284px;
    height: 48px;

}
#header-business-search {
    background: url('./images/home-header-filler2.jpg');
    position: relative;
}
#header-home-splitter {
    background: url('./images/nav-splitter.jpg');
    position: relative;
    border-bottom: 3px solid #eee;
    height: 12px; width: 100%;
}

#add-link-bar {
   width: 300px;
   position: absolute;
   left: 300px;
   top: 20px;
   font-size: 12px;
}
#add-link-bar a:link, #add-link-bar a:hover, #add-link-bar a:visited {
    color: #000;
}

#add-link-bar .smaller {
    display: none;
}

@media (max-width: 825px) {
    #add-link-bar .smaller {
        display: block;
    }
    #add-link-bar .full {
        display: none;
    }

}

#nav-top-image {
    width: 205px;
}


.category-list .badge {
    font-size: 9px;
    color: red;
    background: none;
}
