a img { border: 0px; }
A:link {text-decoration: none; color:#91BC69; }
A:visited {text-decoration: none;color:#91BC69;}
A:active {text-decoration: none}
A:hover {}
body {
    margin: 0;
    padding: 0;
    font-size: 0.9em;
    font-family: Verdana, arial;
    background-color: #fff;
    color: #666666;
    background: transparent url(images/header-background.png) repeat-x top center;
}
body.small-background {
    background: transparent url(images/background-small.png) repeat-x top center;
}
#wrap {
    width: 960px;
    margin: 0 auto;
}
a { text-decoration: none; }
a:hover { text-decoration: underline; }
h1 { font-size: 1.8em }
h2 { font-size: 1.5em }
h3 { font-size: 1.25em }
/* ****** Header ***** */
#header {
    height: 120px;
    background: transparent url(images/header-background.png) repeat-x 0 0;
}
#logo{
    display: block;
    width: 231px;
    height: 85px;
    float: left;
    margin: 25px 0 0 20px;
}
.broker {
    width: 231px;
    height: 85px;
    float: left;
    margin: -20px 0 0 450px;
    }
#header ul, #quick-listing ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
#header li, #quick-listing li {
    display: inline;
    text-transform: uppercase;
}
#menu1, #menu2 {
    float: left;
    margin-left:50px;
    clear: right;
}
#menu1 li {
    background: transparent url(images/nav-arrow.png) no-repeat top center;
    padding: 20px 0 0;
    float: left;
    display: block;
    width: 130px;
    text-align: center;
    color: #bedd9f;
    font-size: 0.8em;
}
#menu1 a:hover {text-decoration: none;}
#header #menu2 {
    margin: -10px 0 0;
    position: relative;
    z-index: 1000;
}
#menu2 {
    width:707px;
}
#menu2 li {
    float: left;
    width: 100px;
    font-size: 1em;
    color: #bedd9f;
    border-right: 1px solid #46494b;
    border-left: 1px solid #191b1c;
    text-align: center;
    height: 30px;
    line-height: 30px;
    padding: 0 5px;
}
#nav li.firstChild {
    border-left: 0;
}
#nav li.lastChild {
    border-right: 0;
}
#nav a {
    color: #bedd9f;
    display: block;
}
/* End Header */
/* ****** Content ****** */
#content {
    width: 960px;
    float: left;
    clear: left;
    overflow: hidden;
    /*background: #fff url(images/header-background.png) no-repeat 0 -120px;*/
}
#content.listing-background {
    background-position: 0 -335px;
    background: transparent url(images/content-background-listing.png) no-repeat 0 0;
}
#content.small-background {
    background-position: 0 -335px;
}
#crowd {
    height: 241px;
    padding: 0 0 20px;
}
#main-content {
    padding: 0 10px;
    width: 620px;
    float: left;
}
#content.small-background  #main-content { padding-top: 30px; }
/* End content */
/* ****** Side Bar ****** */
#side-bar {
    float: right;
    width: 308px;
    margin: 23px 10px 0 0;
    background: transparent url(images/side-bar-background.png) repeat-y 0 0;
    font-size: 0.8em;
}
#side-bar {
    /* Hax to make side bar go all the way down */
    padding-bottom: 20000000px;
    margin-bottom: -20000000px;
}
#content.listing-background #side-bar { margin-top: -242px; }
#side-bar h2 {
    padding: 0 0 0 12px;
    margin: 0 0 5px;
    font-size: 1.2em;
    background: transparent url(images/blog-post-icon.png) no-repeat 0 3px;
    color: #91BC69;
}
#side-bar p { margin: 0 0 5px; padding: 0 }
#side-bar a { color: #91BC69; }
/* *** White box in the side bar *** */
.side-bar-box {
    width: 276px;
}
.side-bar-box-top {
    width: 276px;
    height: 20px;
    background: transparent url(images/side-bar-box-top.png) no-repeat center bottom;
}
.side-bar-box-middle {
    background: transparent url(images/side-bar-box-middle.png) repeat-y 0 0;
    padding: 1px 10px;
    width: 256px;
}
.side-bar-box-bottom {
    width: 276px;
    height: 17px;
    background: transparent url(images/side-bar-box-bottom.png) no-repeat 0 0;
}
#search {
    background: transparent url(images/find-home.png) no-repeat 0 0;
    padding: 30px 12px 10px;
}
#search ul {
    padding: 0 2px;
    margin: 0;
    list-style-type: none;
    height: 25px;
}
#search li {
    display: inline;
    font-size: 0.95em;
    float: left;
    height: 15px;
    padding: 0 2px;
    line-height: 20px
}
#search div.side-bar-box { position: relative; top: -10px; z-index: 1}
#search a {
    color: #000;
    overflow: none;
    float: left;
}
#search li.selected div.tab-left, #search li.selected div.tab-right {
    display: block;
    float: left;
    width: 6px;
    height: 25px;
    background: transparent url(images/search-tab.png) no-repeat 0 0;
}
#search li.selected div.tab-right {
    float: left;
    background-position: -65px 0;
}
#search li.selected a { color:#91BC69; background: #fff; height: 25px; float: left }
#search li div.tab-left, #search li div.tab-right { display: none }
#login, #recent-blog-posts , #refine-search, #listing-action{
    background: transparent url(images/sprite.gif) no-repeat 20px 0;
    margin: 15px 0 0;
    padding: 22px 12px 0;
}
#login ul,#listing-action ul{
    min-height:110px;
    margin-left:20px;
    list-style-type:circle;
}
#recent-blog-posts {
    background-position: 20px -50px;
    padding-top: 0px;
}
#listing-action{
    background-position: 20px -129px;
    padding-top: 30px;
}


#recent-blog-posts-rss {
    height: 22px;
    padding-right: 15px;
}
#refine-search {
    background-position: 20px -100px;
}
#refine-search label { cursor: pointer }
#css3-columns {
    -moz-column-width: 100px;
    -webkit-column-width: 100px;
    -moz-column-gap: 1em;
    -webkit-column-gap: 1em;
}
/* End Side Bar */
/* ****** Footer ****** */
#footer-wrap {
    clear: both;
    background: transparent url(images/footer-wrap-background.png) repeat-x 0 0;
}
#footer {
    background: transparent url(images/footer-background.png) no-repeat 0 0;
    height: 244px;
    width: 950px;
    color: #fff;
    padding: 20px 0 0 10px;
    overflow: hidden;
    margin: 0 auto;
}
#footer h3 { margin: 0.7em 0; }
#footer-search {
    border-right: 1px solid #46494B;
    float: left;
    width: 250px;
    height: 240px;
    color: #91BC69;
}
#footer-search h3 { color: #fff; }
#footer-search a { color: #91BC69; }
#contact{
    border-left: 1px solid #191B1C;
    float: left;
    padding: 0 10px;
    height: 240px;
}
#contact input.text {
    background: transparent url(images/contact-name.png) no-repeat 0 0;
    border: 0;
    height: 27px;
    width: 200px;
    line-height: 27px;
    padding: 5px;
}
#contact textarea {
    background: transparent url(images/contact-message.png) no-repeat 0 0;
    border: 0;
    height: 65px;
    width: 200px;
    padding: 5px;
}
#contact input, #contact textarea { color: #91BC69;}
#contact-info {
    float: right;
    margin: 30px 10px 0 0;
    
    font-size: 0.8em;
    
    margin-top:-20px;
    min-height: 1px;
    width: 308px;
    height: 264px;
}
#footer #contact-info p { margin: 30px 30px; }
#contact-info a { color: #fff; }
#contact-info p#copyright { margin: 50px 30px 0; font-size: 0.8em; }
#footer ul { list-style-type: circle }
#footer li { padding: 5px; }
/* End Footer */
/* ****** Listings ****** */
#specifications, #mortgage {
    font-size: 0.8em;
    width: 190px;
    float: left;
}
#mortgage { width: 215px; }
#listing-details{
    width: 620px;
    font-size: 0.9em;
}
#listing-details h2 {
    color: #8EB967;
}
#listing-details table {
    width: 100%;
    border-spacing: 0;
}
#listing-details tr.even {
    background-color: #F7F7F7;
}
/* Gallery View (galleryview) */
#galleryview-wrap {
    padding: 26px 14px 0 11px;
    height: 455px;
}
#galleryview-wrap div.header {
    font-size: 1.5em;
    color: #3D5929;
    font-weight: bold;
}
#galleryview-wrap p { color: #3D5929; }
#galleryview-wrap p label { color: #fff; cursor: text; }
/* Search listing Buttons (list and thumbnail) */
#listing-list-view, #listing-thumbnail-view {
    width: 68px;
    height: 16px;
    margin: 0 5px;
    text-indent: -2000em;
    background: transparent url(images/sprite.gif) no-repeat -500px 0;
    float: right;
}
#listing-thumbnail-view {
    background-position: -500px -50px;
    width: 107px;
}
#listing-list-view.selected {
    background-position: -500px -25px;
}
#listing-thumbnail-view.selected {
    background-position: -500px -75px;
}
#listing-list-view a, #listing-thumbnail-view a { display: block }
/* Search Listing */
#search-listing {float: left}
#search-listing p.beds, #search-listing p.city, #search-listing p.type, #search-listing p.office { float: left; clear: right; }
#search-listing p.baths, #search-listing p.mlsid { float: right; text-align: right; clear: none;}
#search-listing.list-vew span { width: 435px; float: left; }
/* List View */
#search-listing.list-view div {
    background-color: #E4EFDA;
    float: left;
    width: 600px;
    padding: 7px;
    margin: 0 6px 10px 0;
}
#search-listing.list-view div.listing-photo {
    width: 155px;
    height: 108px;
    float: left;
    background: transparent url(images/listview-photo-background.png) no-repeat 0 0;
    margin: 0px 10px 10px 0;
    padding: 0;
}
#search-listing.list-view div.listing-photo img { padding: 11px; }
#search-listing.list-view h2 {
    margin: 0;
}
#search-listing.list-view span { width: 435px; float: left;}
#search-listing.list-view p { margin: 4px 0; width: 210px;}
#search-listing.list-view p.type, #search-listing.list-view p.office { width: 250px; }
#search-listing.list-view a.details, #search-listing.list-view a.fav{
    display: block;
    float: right;
    width: 77px;
    height: 20px;
    background: transparent url(images/sprite.gif) no-repeat -500px -100px;
    text-indent: -2000em;
    padding: 0;
    margin: 0;
}
#search-listing.list-view a.fav {
    width: 102px;
    background-position: -500px -125px;
    margin-right: 5px;
}
/* Thumbnail View */
#search-listing.thumbnail-view div {
    background-color: #E4EFDA;
    float: left;
    width: 135px;
    padding: 7px;
    margin: 0 6px 10px 0;
}
#search-listing.thumbnail-view div.listing-photo {
    width: 135px;
    height: 88px;
    float: none;
    background: transparent url(images/listview-photo-background.png) no-repeat scroll 0 0;
    margin: 0px ;
    padding: 0;
}
#search-listing.thumbnail-view div.listing-photo img { padding: 0px; }
#search-listing.thumbnail-view p { margin: 4px 0; }
#search-listing.thumbnail-view h2 {
    font-size: 1em;
    background-color: #94BE6C;
    padding: 2px 4px;
    margin: 0px;
    color: #fff;
    text-align: center;
}
#search-listing.thumbnail-view p.office, #search-listing.thumbnail-view p.city { display: none; }
#search-listing.thumbnail-view p.mlsid { width: 135px; float: left; text-align: left;}
#search-listing.thumbnail-view p.type { width: 135px; clear: left; }
#search-listing.thumbnail-view a.details, #search-listing.thumbnail-view a.fav{
    display: block;
    float: left;
    width: 50px;
    height: 20px;
    background: transparent url(images/sprite.gif) no-repeat -500px -150px;
    text-indent: -2000em;
    padding: 0;
    margin: 10px 0 0;
}
#search-listing.thumbnail-view a.fav {
    float: right;
    width: 60px;
    background-position: -500px -175px;
}
/* Quick Listing */
#quick-listing {
    width: 599px;
    float: left;
    clear: left;
    margin: 0 0 30px;
}
#quick-listing-content{
    border: 1px solid #E4EFDA;
    float: left; clear: left;
    width: 597px;
}
#quick-listing ul {
    background: transparent url(images/green-header.png) no-repeat 0 0;
    height: 35px;
    line-height: 35px;
    text-align: center;
}
#quick-listing li {
    color: #fff;
    text-transform: capitalize;
    padding: 5px 10px 10px;
}
#quick-listing-content #featured { display: block; }
#quick-listing-content div div {
    width: 137px;
    margin: 6px;
    background: #E4EFDA;
    float: left;
}
#quick-listing li.selected, #quick-listing li.selected a {
    background-color: #fff;
    color: #000;
}
#quick-listing li a {
    width: 100%;
    color: #fff;
}
/* End Listings */
/* *** Presets *** */
.full-width { width: 98% }
.half-width { width: 44% }
.float-left { float: left; }
.float-right { float: right; }
.clear-left { clear: left; }
.clear-right { clear: right; }
.clear-both { clear: both; }
.invis { display: none; }
 dd.browse_tool_curpage    {
        padding: 0px;
        line-height: 20px;
        font-size: 16px;
        text-align: center;
        width: 18px;
        background: url(http://www.torontorealestatedirect.com/images/numberSelected.jpg) no-repeat 
center top;
        color: #FFF;
    }
.jumpto  dl {
    padding: 0;
}

.jumpto dt {
    float: left;
    font-size: 20px;
    color: #7a9136;
    padding-bottom: 20px;
}

.jumpto dd {
    float: left;
    padding: 0 2px 0 2px;
    margin: 0;
}
#div_sort{
    clear:both;
    background: #E4EFDA;
    height:32px;
    width:600px;
    padding:7px;    
}

    #ul_sort    {
        list-style:none;
        margin:0px;
        padding:0px;
        float:left;
    }
    #ul_sort li    {
        
        float:left;
        line-height:12px;
        padding:0px 15px 0px 15px;
        border-left:1px #FFF solid;
        margin-top:10px;
    }
    #ul_sort a:link,#ul_sort a:visited{color:#666666;  }
