
/**
 *
 * COMPETE.COM THEME
 *
 * A custom skin, feel free to make changes. Be warned, this was made during beta so
 * markup is subject to change.
 *
 */

    body {
        background: #EBEBEB url(/public/Mashery/images/clients/compete/background.gif) repeat-x 0 0;
        font-family: Arial, "Lucida Grande", Verdana, sans-serif;
        color: #333;
    }

    h2, h3, h4, h5, h6 {
        font-family: "Trebuchet MS", "Lucida Grande", Verdana, sans-serif;
    }

    div#page {
        background: #fff;
    }
 
    a,
    a:link,
    a:visited {
        color: #4F91CD;
    }

    a:hover,
    a:active {
        color: #579AD7;
    }
    
    ul {
        list-style: none;
    }

        ul ul {
            margin-left: 20px;
        }

    ul li {
        margin: 8px 20px;
    }
    
    ul li a,
    ul li a:link {
        border-color: #6A9F2B;
    }

    div#main ul li a,
    div#main ul li a:link {
        border-color: #6A9F2B;
    }

    ol li {
        list-style-type: decimal;
    }

    input,
    textarea,
    select {
        border: 1px solid #666;
    }
    
    table th {
        background-color: #ccc;
    }
    
    table tr.odd {
        background: #ddd;
    }

    table tr.even {
        background: #eee;
    }

    /* HEADER */
    
        div#header {
            height: 80px;
        }

        div#branding {
        }
        
        div#branding-logo {
            background: transparent url(/public/Mashery/images/clients/compete/compete.png) 0 -247px no-repeat;
            width: 192px;
            height: 50px;
        }
        
        * html div#branding-logo {
            background-image: url(/public/Mashery/images/clients/compete/compete.gif);
        }

        div#branding-mashery {
            background: transparent url(/public/Mashery/images/masherymade.gif) no-repeat 0px 0px;
            width: 90px;
            height: 37px;
            position: absolute;
            right: 15px;
            top: 35px;
        }
        
        div#search {
            /*background: transparent url(/public/Mashery/images/vertical_div_red.gif) repeat-y 0px 0px;*/
            display: none;
        }
        
    /* END HEADER */
        
    /**
     *
     * USER 
     *
     * User information and actions
     *
     */
        div#user {
            color: #999;
            font-size: x-small;
        }

        /**
         *
         * USER NAV
         *
         * Login/Register and Status
         *
         */

            div#user-nav {
                margin-top: -75px;
            }

            div#user-nav a,
            div#user-nav a:link,
            div#user-nav a:visited {
                color: #999;
                font-weight: bold;
                border-bottom: 1px dotted #999;
            }

            div#user-nav a:hover {
                border-bottom-style: solid;
            }

            div#user-nav a:active {
            }

            div#user-nav li {
                color: #aaa; 
                border-left: 1px solid #888;
            }

            div#user-nav li.first {
                border-left: none;
            }

        /* END USER NAV */

    /* END USER */

    /**
     *
     * USER MENU AND CONTENT HEADER
     *
     * Actions for the user. New Entry, New Post, etc
     * 
     * In the dashboard, the content-header contains navigation elements for the current
     * page, as well as the header and system information.
     *
     */

        div#content-header {
            height: 30px;
            position: relative;
            top: 50px;
        }

        div#content-header h2 {
            font-size: 120%;
            margin-top: 11px;
            margin-left: 20px;
            color: #fff;
            float: left;
        }

        div#content-header p#feedback {
            color: #fad861;
            text-align: center;
            margin-left: auto;
            margin-right: auto;
            margin-top: 0;
            margin-bottom: 0;
        }

        a.create-new,
        a.create-new:link,
        a.create-new:visited {
            display: block;
            border: 1px solid #dedede;
            color: #666;
            font-size: 100%;
            font-weight: bold;
            text-align: center;
            padding: 5px;
            margin: 0 15px;
            float: left;
            padding-left: 20px;
            background: #efefef url(/public/Mashery/images/document-new.png) 3px 3px no-repeat;
        }

        a.create-new:hover,
        a.create-new:active {
            color: #000;
            border-color: #87B4D5;
        }

        /**
         *
         * SUB LOCAL NAVIGATION
         *
         * Options for each page, sometimes these are user actions, in the dashboard they are sub-pages.
         *
         */

            div#content-header,
            div#user-menu {
                background: url(/public/Mashery/images/clients/compete/compete.png) 0 -217px no-repeat;
            }
            
            * html div#content-header,
            * html div#user-menu {
                background-image: url(/public/Mashery/images/clients/compete/compete.gif);
            }
            
            div#content-header ul {
                width: 871px;
                height: 30px;
                list-style: none;
                margin: 0;
                line-height: 1;
            }

            div#user-menu ul {
                margin-left: 10px;
            }

            div#content-header ul li {
                float: left;
                margin-bottom: 0;
            }

            div#user-menu a,
            div#user-menu a:link,
            div#user-menu a:visited,
            div#content-header ul li a,
            div#content-header ul li a:link,
            div#content-header ul li a:visited {
                 color: #eee;
                display: block;
                height: 20px;
                margin-top: 10px;
                padding: 0 15px;
                font-weight: bold;
                border: 0;
            }

            div#user-menu li.active a,
            div#user-menu li.active a:hover,
            div#content-header ul li.active a,
            div#content-header ul li.active a:hover {
                color: #A6C3DC;
                background: #fff;
            }

            div#user-menu a:hover,
            div#content-header ul li a:hover {
                color: #fff;
                background: #0066CC;
            }

            div#user-menu {
                width: 871px;
                position: absolute;
                height: 30px;
                z-index: 5;
                left: 15px;
                top: 130px;
            }
            
            div#user-menu ul li,
            div#content-header ul li {
                line-height: 20px;
                margin: 0 0 0 15px;
                padding: 0;
                font-size: 110%;
                background-image: none;
            }

            div#user-menu ul li.active,
            div#content-header ul li.active {
                margin-left: 11px;
            }
        
        /* END SUBLOCAL NAV */

    /* END USER MENU AND CONTENT HEADER */

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

        /* MAIN */

            div#main {
                margin-top: 81px;
                background: #fff;
            }

            div#page.no_sub div#main {
                width: 831px;
            }

            /* Include signup page for now */
            #page-signup div#page div#main,
            div#page.no_local div#main {
                margin-top: 20px;
                border-top: 3px solid #515648;
            }

            body.login {
                background-color: #D8D8B4;
            }

            div#main h1 {
                color: #777;
                font-size: 170%;
                word-spacing: 0.1em;
                line-height: 1.4;
                /* IE6 z-index fix */
                padding: 5px 0 3px;
                margin-bottom: 0;
                line-height: 1.3;
                margin-top: 0;
                margin-bottom: 15px;
            }
            
            div#main h2 {
                font-size: 130%;
                color: #444;
            }

            div#main h3 {
                font-size: 110%;
            }

            div#main h4 {
                font-size: 100%;
                color: #333;
            }

            div#main p {
                line-height: 1.85;
                margin: 10px 0;
                word-spacing: .05em;
            }

            div#sub p a:hover,
            div#sub p a:active,
            div#main p a:hover,
            div#main p a:active {
                color: #555;
                text-decoration: underline;
            }
            
            div.section-body ul li,
            div.comment-body ul li {
                padding-left: 13px;
                background: url(/public/Mashery/images/clients/compete/bullet.gif) no-repeat 0 3px;
            }
           
            div#main form {
                margin: 10px 0;
            }

            div#main form textarea {
                width: 100%;
                border: 1px solid #666;
            }

            div#main form fieldset {
                background: #fff;
                border: 1px solid #ddd;
            }

                div#main form fieldset fieldset {
                    background: #fff;
                }

                div#main form fieldset legend {
                    margin: 0;
                    padding: 3px 8px;
                }

            div#main div.comments ol.list {
                list-style-type: decimal;
                margin: 10px 50px 20px;
            }

            div#main div.comments ol.list li {
                background: #fefefe;
                color: #333;
                font-weight: bold;
                font-size: 150%;
                padding: 5px;
                margin: 9px 0;
                border: 1px solid #7b98c1;
                border-left-width: 5px
            }

            /* Docs have the lighter background already */
            body.page-docs div#main div.comments ol.list li {
                background: #C7C7A5;
            }
                
                div#main div.comments ol li p {
                    color: #111;
                    font-size: 70%;
                    font-weight: normal;
                    margin: 8px 5px;
                }
            
            div#main div.comments h3 {
                font-size: 110%;
                margin-left: 10px;
            }
            
            div#main div#paging {
                margin: 15px 0;
                clear: left;
            }

            div#main div.section h2 a,
            div#main div.section h2 a:link,
            div#main div.section h2 a:visited {
                color: #333;
                font-size: 120%;
            }

            div#main div.section h2 a:hover,
            div#main div.section h2 a:active {
                color: #78A22E;
            }

            div#main div.section-files table,
            .files table {
                background: #eee;
                border: 1px solid #ddd;
            }

            div#main div.section-meta {
                background: #eee;
                border: 1px solid #ddd;
                font-size: 96%;
            }

                div#main div.section-meta ul {
                    list-style: none;
                    margin: 0;
                }

                div#main div.section-meta ul li {
                    font-weight: normal;
                    margin-top: 5px;
                    margin-bottom: 5px;
                    margin-left: 15px;
                    padding-left: 0;
                    background-image: none;
                    display: inline;
                }
                
                div#main div.section-meta p {
                    margin: 10px;
                }
                
                div#main div.section-meta .moniker {
                    font-weight: bold;
                }

            div#main div.section-menu {
                margin-left: 15px;
                margin-top: 20px;
                clear: both;
            }
            
                div#main div.section-menu ul {
                    margin-left: 0;
                }

                div#main div.section-menu ul li {
                    background-image: none;
                    padding-left: 0;
                }
                
            /**
             *
             * Blog, Forum, and Wiki common rules
             *
             */
             
                body.page-blog.browse a.rss {
                    margin-top: 9px;
                }

                #page-wiki div#main div.section,
                #page-forum div#main div.section,
                #page-blog div#main div.section {
                    position: relative;
                    margin-left: 10px;
                    margin-right: 10px;
                }

                    #page-blog div#main div.section,
                    #page-forum div#main div.section {
                        padding: 10px 0;
                    }

                    #page-blog div#main div.section {
                        margin-top: 10px;
                        margin-bottom: 10px;
                    }

                    #page-wiki div#main div.section {
                        padding-bottom: 1px;
                    }

                    #page-forum div#main div.section {
                        padding-bottom: 5px;
                        border-top: 1px solid #999;
                    }

                        #page-forum div#main div.first,
                        #page-forum.read div#main div.section {
                            border-top: none;
                        }

                #page-blog div#main div.section h2,
                #page-forum div#main div.section h2,
                #page-blog div#main div.section h3,
                #page-forum div#main div.section h3,
                #page-blog div#main div.section h4,
                #page-forum div#main div.section h4,
                #page-blog div#main div.section h5,
                #page-forum div#main div.section h5,
                #page-blog div#main div.section h6,
                #page-forum div#main div.section h6,
                #page-blog div#main div.section div.section-body,
                #page-forum div#main div.section div.section-body{
                    color: #333;
                    margin: 0;
                }
 
                #page-blog div#main div.section h2,
                #page-forum div#main div.section h2 {
                    font-size: 120%;
                    line-height: 1.1;
                    margin: 5px 0;
                }

                #page-forum.browse div#main div.section h2 {
                    float: left;
                }

                    #page-forum div#main div.section-body p,
                    #page-blog div#main div.section-body p {
                        margin-left: 0;
                        line-height: 1.65;
                    }

                #page-blog div#main div.section-tags,
                #page-wiki div#main div.section-tags,
                #page-docs div#main div.section-tags {
                    margin-top: 5px;
                    padding-bottom: 5px;
                    font-size: 90%;
                    clear: both;
                }

                /* Manual clearfix on the wiki tags */
                #page-wiki div#main div.section-tags:after,
                #page-docs div#main div.section-tags:after {
                    content: ".";
                    display: block;
                    height: 0;
                    clear: both;
                    visibility: hidden;
                }

                /* IE clearfix */
                * html #page-wiki div#main div.section-tags,
                * html #page-docs div#main div.section-tags {
                    height: 1%;
                }

                #page-blog div#main div.section div.section-tags h3 {
                    float: left;
                    font-size: 100%;
                    margin: 3px 3px 0 10px;
                    line-height: 1;
                    width: auto;
                }

                #page-wiki div#main div.section div.section-tags h3,
                #page-docs div#main div.section div.section-tags h3{
                    float: left;
                    font-size: 100%;
                    margin-top: 1px;
                    margin-right: 3px;
                    border-bottom: none;
                }

                div.section-tags ul {
                    margin: 0;
                    padding: 0;
                    line-height: 1;
                    list-style: none;
                }

                #page-blog div#main div.section div.section-tags ul {
                    margin-left: 10px;
                }

                    div#main div.section div.section-tags ul li {
                        float: left;
                        margin: 3px 4px;
                        padding: 0;
                        background-image: none;
                    }

                    div#main div.section div.section-tags li a,
                    div#main div.section div.section-tags li a:link {
                        color: #444;
                    }

                    div#main div.section div.section-tags li a:visited {
                        color: #666;
                    }

                    div#main div.section div.section-tags li a:hover,
                    div#main div.section div.section-tags li a:active {
                        color: #000;
                    }
            
                /* FORUM */
                
                    body.page-forum ol.comments li ul li,
                    body.page-forum ol.categories li ul li,
                    body.page-forum ol.topics li ul li {
                        background-image: none;
                        padding-left: 0;
                        margin-top: 0;
                        margin-bottom: 0;
                    }
                    
                    body.page-forum h3.subject {
                        font-size: 125%;
                    }
                    
                    body.page-forum div.comment-tags h4 {
                        font-size: 11px;
                    }
                    
                /* END FORUM */

            /* END BLOG, WIKI, FORUM, and DOCS */

            /**
             *
             * ADMIN AREA
             *
             * Dashboard styling. Maybe this belongs somewhere else? Will see if we will allow
             * client to style it.
             *
             */
             
                body.page-adminArea div#local,
                body.page-adminApis div#local {
                    display: block;
                }

                div#sub div#formscontainer dl dt,
                fieldset dl dt {
                    margin-left: 0;
                }

                body.page-adminArea div#main table th a,
                body.page-adminArea div#main table th a:link {
                    border: 0;
                }

                body.page-adminArea div#main,
                body#page-adminApis div#main {
                    margin-top: 55px;
                }

                body.reports div#page div#main h1,
                body.content div#page div#main h1,
                body.profile div#page div#main h1 {
                    font-size: 123%;
                    margin-top: 2px;
                    margin-bottom: 0;
                    padding-bottom: 0;
                    padding-top: 0;
                }

                body.content div#page div#main h1 {
                    float: left;
                }

                body.profile div#page div#main table tr th,
                body.profile div#page div#main table tr td {
                    padding-left: 15px;
                }

                /**
                 *
                 * CONTENT PAGE
                 *
                 * Content tab of the Dashboard. Where you manage the content of your portal.
                 *
                 */
                    
                    table#control {
                        margin-top: 10px;
                    }
                    
                    table#control a,
                    table#control a:link,
                    table#control a:visited {
                        color: #000;
                        border-color: #DADDCC;
                    }
                    
                    body.page-adminArea table#control {
                        clear: both;
                    }
                    
                    body.content div#sub {
                        border-top: 1px solid #777;
                        background-color: #fff;
                    }

                /* END CONTENT PAGE */
                
                /**
                 *
                 * REPORTS PAGES
                 *
                 * The reports pages, where you can analyze the statistics of your Mashery Portal.
                 *
                 */
                 
                    body.page-reports.api div#content div#main {
                        margin-top: 83px;
                    }
                    
                    body.page-reports.api div#content div#sub {
                        top: 82px;
                        border-bottom: 1px solid #111;
                    }
                    
                    body.page-reports div#content div#sub ul li a {
                        font-weight: bold;
                    }
                    
                    body.page-reports div#content div#sub ul li a:hover,
                    body.page-reports div#content div#sub ul li a:active {
                        background-color: #4F91CD;
                        color: #fff;
                    }
                    
                    body.page-reports div#content div#sub ul li.active a,
                    body.page-reports div#content div#sub ul li.active a:link,
                    body.page-reports div#content div#sub ul li.active a:visited,
                    body.page-reports div#content div#sub ul li.active a:hover,
                    body.page-reports div#content div#sub ul li.active a:active {
                        color: #000;
                        background-color: #fff;
                    }
                    
                /* END REPORTS PAGES */

            /* END ADMIN AREA */

        /* END MAIN */
        
        /* SUB */
            div#sub {
                display: block;
                float: left;
                margin-top: 81px;
                background-color: #F9F9E8;
            }

            div#page.no_sub div#sub {
                display: none;
            }

            div#page.no_local div#sub {
                margin-top: 20px;
                border-top: 3px solid #515648;
            }

            div#sub h2 {
                font-size: 130%;
                color: #444;
            }

            div#sub h3 {
                font-size: 120%;
                color: #333;
            }

            div#sub h4 {
                font-size: 100%;
            }
            
            div#sub ul li {
                margin-left: 10px;
            }

            div#sub p {
                margin: 8px 0;
            }

        /* END SUB */
        
    /* END CONTENT */
    
    
    /* FOOTER */

        div#footer {
            margin-top: 30px;
            width: 900px;
            font-size: 90%;
            color: #666;
            background: url(/public/Mashery/images/clients/compete/footer.png) no-repeat 0 100%;
        }

        div#footer ul {
            line-height: 1;
            margin: 10px 0;
            text-align: center;
        }

        div#footer ul li {
            margin: 0 5px;
        }

        div#footer ul li a,
        div#footer ul li a:link,
        div#footer ul li a:visited {
            color: #626262;
            border: 0;
        }

        div#footer ul li a:hover,
        div#footer ul li a:active  {
            text-decoration: underline;
            border: 0;
        }
        

        /* SITEINFO */
          
            div#siteinfo p {
                color: #ccc;
                text-align: center;
                float: none;
                line-height: 1.5;
            }
    
        /* END SITEINFO */
    
    /* END FOOTER */

    /**
     *
     * LOGIN WINDOW
     *
     * This is the popup window that shows up when you login. div#nav is the "Sign in using:" div.
     *
     */

        div#nav {
            display: none;
        }
        
        div#nav {
            width: 900px;
            margin: 0;
            background: #EBEBEB;
            height: 39px;
            top: 0px;
        }
        
        body.login div#content div#nav h2 {
            color: #666;
            margin-left: 10px;
        }
        
        div#nav ul li {
            margin-left: 8px;
            padding-right: 9px;
            font-size: 130%;
            border-right: none;
        }
    
        div#nav a,
        div#nav a:link,
        div#nav a:active,
        div#nav a:visited {
            color: #4F91CD;
            padding: 0;
            font-weight: bold;
            background: none;
            text-decoration: none;
            border: 0;
        }

        div#nav ul li.active a:link,
        div#nav ul li.active a:visited,
        div#nav ul li.active a:hover,
        div#nav ul li.active a:active {
            color: #fff;
            background: #84B2D3;
        }

        div#nav ul li a:hover {
            color: #777;
        }
        
        div#nav ul li a:active {
            color: #fff;
        }
        
        div#signin_member_mashery ul li {
            padding-left: 13px;
        }

    /* END MAIN NAV */
    
    /**
     *
     * 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 {
            display: none; /* Compete doesn't have a navigation bar */
            position: absolute;
            float: none;
            top: 21px;
            left: 15px;
            width: 871px;
            background: #fff url(/public/Mashery/images/clients/compete/compete.png) 0 -188px no-repeat;
        }
        
        * html div#local {
            background-image: url(/public/Mashery/images/clients/compete/compete.gif);
        }
        
        div#local ul {
            margin: 0;
            margin-left: 10px;
        }
    
        div#local ul li {
            font-size: 110%;
            margin-right: 5px;
            letter-spacing: .1em;
            font-family: Arial, Verdana, sans-serif;
            background: url(/public/Mashery/images/clients/compete/compete.png) no-repeat 100% 0%;
        }
        
        * html div#local ul li {
            background-image: url(/public/Mashery/images/clients/compete/compete.gif);
        }

        div#local ul li:hover {
            background-position: 100% -29px;
        }

        div#local a,
        div#local a:link,
        div#local a:active,
        div#local a:visited {
            color: #4F91CD;
            display: block;
            float: left;
            font-weight: bold;
            padding: 0 20px 0 25px;
            line-height: 29px;
            border: 0;
            background: transparent url(/public/Mashery/images/clients/compete/compete.png) no-repeat 0 -87px;
        }

        * html div#local a,
        * html div#local a:link,
        * html div#local a:active,
        * html div#local a:visited {
            background-image: url(/public/Mashery/images/clients/compete/compete.gif);
        }

        div#local li a:hover {
            background-position: 0 -116px;
        }

        div#local li.active a,
        div#local li.active a:link,
        div#local li.active a:active,
        div#local li.active a:visited {
            color: #fff;        
            background-position: 0 -145px;
        }

        div#local ul li.active,
        div#local ul li.active:hover {
            background-position: 100% -58px;
        }

    /* END LOCAL NAV */
    
/* END MASHERY DEFAULT THEME */

/**
 *
 * IE6 "COMPATIBILITY SOLUTIONS"
 *
 * Hacks.
 *
 */

    * html div#local li {
        margin-right: 5px;
    }

    /* IE Box model screws up */
    * html div#main div.comments ol.list li {
        border-left: none;
    }

/* END IE6 */
