/**
 *
 * TRULIA THEME
 *
 * Remember, check out http: //mashery.com/public/Mashery/styles/masherycssfw.src.css to see the base structural defaults. 
 * We discourage making major changes to the structure of the site since users will most likely be using other Mashery
 * sites with yours. Having a consistent page and navigation structure will make it easier for developers to use Mashery
 * sites together.
 *
 */
	
	body {
		color: #000;
		font-family: Arial,Helvetica,Tahoma,Verdana,sans-serif;
		background-color: #F0F2D8;
	}

    p {
        line-height: 1.6;
        margin: 0 0 1.2em;
    }

    a {
        color: #0066CC;
    }
    
    a:hover,
    a:active {
        text-decoration: underline;
        color: #DF7E00;
    }
    
    h1 {
        color: #669900;
    }
    
    h2 a:visited,
    h3 a:visited,
    h4 a:visited,
    h5 a:visited,
    h6 a:visited {
        color: #666;
    }
    
    h2 a:hover, h2 a:active,
    h3 a:hover, h3 a:active,
    h4 a:hover, h4 a:active,
    h5 a:hover, h5 a:active,
    h6 a:hover, h6 a:active {
        color: #DF7E00;
        text-decoration: none;
    }

    table td {
        background-color: #E7EFC5;
        border-bottom: 1px solid #C6D783;
    }
    
    table tr.even td {
        background-color: #f3f8dd;
    }
    
    table th {
        background-color: #cddea8;
    }
    
    table th a {
        color: #000;
    }
    
    table th a:hover {
        color: #000;
        background-color: #99cc33;
        text-decoration: none;
    }
    
    pre, p code {
        padding: 4px;
        border: 1px solid #000;
        background-color: #e7efc5;
        font-size: 1em;
    }
    
    input.input-text,
    input.input-password,
    input[type^=text],
    textarea,
    select {
        border-color: #9f9f9f;
    }
    
    div#page {
		background: #fff url(/public/Mashery/images/clients/trulia/background-border.gif) repeat-y 0 0;
		margin-top: 10px;
		padding: 0 5px;
	}
    
    div#page.no_local div#main,
    div#page.no_local div#sub {
        border-top: 1px dotted #333;
    }
    
	/** 
	 * 
	 * HEADER
	 * 
	 * The header is where your logo, login links, search, and user control links should go.
	 *
	 */
	
		div#header {
            background: #fff url(/public/Mashery/images/clients/trulia/trees.gif) no-repeat top right;
		}
        
		div#branding-logo {
		    width: 170px;
		    height: 80px;
		    margin-top: 8px;
		    background: transparent url(/public/Mashery/images/clients/trulia/logo.gif);
		}
		
		div#branding-mashery { /* Mashery Made badge */
		    top: 50px;
		    right: 210px;
		}

    /* END HEADER */
        
    /**
     *
     * USER
     *
     * User information and actions
     *
     */

        /**
         *
         * USER NAV
         *
         * Login, logout, register, and My Account links.
         *
         */
         
            div#user-nav {
                color: #333;
                background: #EDF4D6;
                font-size: 90%;
                padding: 1px;
            }
            
            div#user-nav ul {
                line-height: normal;
            }
            
            div#user-nav a {
                color: #000;
                font-weight: bold;
                padding: 2px;
            }
            
            div#user-nav a:hover {
                background-color: #99CC33;
                color: #fff;
                text-decoration: none;
            }

        /* END USER NAV */

    /* END USER */

    /**
     *
     * LOCAL NAV
     *
     * This is the main navigation bar. You can customize your links in the Settings page.
     *
     * The div#local appears AFTER the content for accessbility reasons. Please see
     * http: //www.contentwithstyle.co.uk/Articles/17/ for details.
     *
     * Because the navigation is placed below the content, you will most likely need
     * to use absolute positioning. Please make sure you understand positioning before
     * trying to customize it!
     *
     */

        div#local {
            top: 23px;
            border-bottom: 1px solid #7CAF0E;
        }

        div#local li {
            margin: 0 5px;
        }
        
        div#local a {
            background-color: #E7EFC5;
            color: #000;
            border: 1px solid #7CAF0E;
            line-height: 25px;
            margin-bottom: -1px;
        }
        
        div#local a:hover {
            background-color: #99CC33;
            border-color: #99CC33;
            color: #fff;
            text-decoration: none;
        }
        
        div#local li.active a {
            border-bottom-color: #fff;
            background: #fff;
            color: #000;
            text-decoration: none;
        }
        
    /* END LOCAL NAV */

    /**
     *
     * USER MENU AND CONTENT HEADER
     *
     * The User Menu contains actions for the user: Start New Entry, New Post, etc.
     * 
     * In the dashboard, the div#content-header contains navigation elements for the current
     * page.
     *
     * Both are located directly under div#local.
     *
     */

        /**
         *
         * SUB LOCAL NAVIGATION
         *
         * Options for each page, sometimes these are user actions, in the dashboard they are sub-pages.
         *
         */
         
            /* I added 5px padding on each side, thus I have to add 5px to the left positioning of this. Content-header 
               Doesn't need this because it is relative, as opposed to absolutely positioned. */
            div#user-menu {
                left: 20px;
            }
            
            div#user-menu,
            div#content-header {
                border-bottom: 1px dotted #000;
                height: 29px;
            }
            
            div#user-menu li,
            div#content-header li {
                line-height: 29px;
            }
            
            div#user-menu li a,
            div#content-header li a {
                font-weight: bold;
                display: block;
            }
            
            div#user-menu li.active,
            div#content-header li.active {
                background-color: #eee;
                padding: 0 3px;
            }
            
            div#user-menu li.active a,
            div#content-header li.active a {
                color: #000;
                text-decoration: none;
            }
        
        /* END SUBLOCAL NAV */

    /* END USER MENU AND CONTENT HEADER */

    /**
     *
     * CONTENT 
     *
     * Where the magic happens (Content of page)
     *
     */

        /**
         *
         * MAIN
         *
         * This is where almost all the content for every page is.
         *
         */

            div#main {
                background-color: #fff;
            }

            /**
             *
             * Blog, Forum, Docs, and Wiki
             *
             */

                .moniker {
                    font-weight: bold;
                }

                body.browse div#paging {
                    margin-top: 25px;
                }

                div.section-menu {
                    margin-top: 15px;
                    font-weight: bold;
                }

                div.section-meta {
                    margin: 15px 0 10px;
                    padding-left: 0;
                    font-size: 96%;
                    color: #555;
                }
                
                div.section-meta ul {
                }
                
                div.section-meta ul li {
                    display: inline;
                    margin-left: 15px;
                }
                
                    div.section-meta ul li.moniker {
                        margin-left: 0;
                    }
                
                div.section-tags h3 {
                    color: #999;
                    line-height: 1;
                    margin-bottom: 2px;
                    margin-top: 3px;
                    font-size: 105%;
                }
                
                div.section-tags ul {
                    margin: 0;
                    font-size: 95%;
                }
                
                div.section-tags ul li {
                    margin-right: 10px;
                    margin-left: 0;
                    display: inline;
                }
                
                div.comments ol li.comment {
                    list-style-type: decimal;
                    background-color: #E7EFC5;
                    font-weight: bold;
                    font-size: 120%;
                    margin-bottom: 5px;
                }
                
                div.comments div.comment-body {
                    font-weight: normal;
                    font-size: 85%;
                }
                
                div.comments p.comment-meta {
                    color: #4D4F43;
                    font-size: 90%;
                }
                
                    div.comments p.comment-meta span.moniker {
                        font-size: 110%;
                    }
                
                /* BLOG */
                
                    body.page-blog.browse h2 {
                        margin-top: 1.3em; /* Spread out the posts a bit more. */
                    }
                    
                    body.page-blog.browse div.section.first h2 {
                        margin-top: 0;
                    }
                    
                    body.page-blog.browse a.rss {
                        margin-top: 9px;
                    }
                
                /* END BLOG */
                
                /* FORUM */
                
                    body.page-forum div.comments ol li {
                        list-style-type: none;
                        margin-left: 0;
                    }
                
                    body.page-forum.topics ul.topics li.topic {
                        padding: 3px 10px;
                        border: 1px solid #999;
                        border-top-width: 0;
                        margin-top: 0;
                        margin-bottom: 0;
                    }
                    
                        body.page-forum.topics ul.topics li.topic.first {
                            border-top-width: 1px;
                        }
                    
                    body.page-forum.browse div.section-meta {
                        margin: 0;
                    }
                    
                    body.page-forum.browse div.section h2 {
                        margin: 0;
                        font-size: 110%;
                    }
                    
                    body.page-forum.browse div.section div.section-tags h3 {
                        float: left;
                        margin-right: 10px;
                        margin-top: 2px;
                    }
                
                /* END FORUM */
                
                /* WIKI and DOCS*/
                    
                    body.page-wiki div.section-meta ul li.moniker,
                    body.page-docs div.section-meta ul li.moniker {
                        margin-left: 10px;
                    }
                    
                    body.page-wiki div.section-meta ul li.revision,
                    body.page-docs div.section-meta ul li.revision {
                        margin-left: 0;
                    }
                    
                /* END WIKI and DOCS */
                    
            /* END BLOG, WIKI, FORUM, and DOCS */
            
            /**
             *
             * CUSTOM PAGES
             *
             */
             
                /* Default padding for images, assumes left aligned */
                body#page-page div#main img {
                    padding: 0 15px 10px 0;
                }
                
            /* END CUSTOM PAGES */

        /* END MAIN */
        
        /**
         *
         * SUB
         *
         * The sub div is usually the small sidebar on the blog/wiki/forum, although some may prefer to hide it altogether.
         *
         * In the Dashboard, the sub is also where the form lives to add new content in the Content page.
         *
         */
                 
            div#sub {
                background-color: #FAFAFA;
                padding: 10px 0;
                width: 200px;
            }
            
            div#sub h2 {
                background-color: #92A2A0;
                color: #fff;
                font-size: 100%;
                padding-left: 10px;
                text-transform: uppercase;
                
            }
            
            div#sub a.active {
                color: #DF7E00;
                font-weight: bold;
                text-decoration: none;
            }

        /* END SUB */
        
    /* END CONTENT */
    
    /**
     *
     * ADMIN AREA
     *
     * The Admin Area refers to the Dashboard. This is just the 
     *
     */
     
        body.page-reports.api div#sub li.active a {
            color: #000;
            font-weight: bold;
            text-decoration: none;
            display: block;
        }

    /* END ADMIN AREA */
        
    /**
     *
     * FOOTER
     *
     * This contains your site-info as well as your footer links.
     * 
     */
    
        div#footer {
            border-top: 1px dotted #999;
            margin: 20px 0 0;
        }
        
        div#footer ul {
            margin: 10px 0;
            text-align: center;
        }
        
        div#footer ul li {
            margin-left: 0;
            margin-right: 10px;
            font-size: 90%;
        }
        
        div#footer p {
            text-align: center;
            margin-top: 5px;
            color: #888;
        }

        /* SITEINFO */
        
            div#siteinfo {}

        /* END SITEINFO */
        
    /* END FOOTER */

    /**
     *
     * LOGIN WINDOW
     *
     * This div only appears in the popup login window. The contents are: "Sign in using: Mashery | Typekey".
     *
     */
        
        div#nav {
            background-color: #fff;
            color: #777;
            border-bottom: 1px dotted #333;
        }
        
        div#nav a:hover {
            text-decoration: none;
        }
        
        div#nav li.active a {
            background-color: #99CC33;
            color: #fff;
        }
        
        div#nav li {
            margin-right: 10px;
        }
        
        body.login div#page {
            background-image: none;
        }
        
        div#login_windows table tr { /* no border on login window table. */
            border: none;
        }

    /* END LOGIN WINDOW */
    
/* END TRULIA THEME */