/*
THEME NAME: Wired: Webmonkey
THEME URI: http://www.webmonkey.com/
DESCRIPTION: Child theme for the Wired.com Global theme (version 1.8 or higher)
TEMPLATE: wired-global
VERSION: 1.2
AUTHOR: Wired Team
TAGS: child theme
*/

/* Global Settings ************************************************************/

body {
    background: #eceae1 url('images/body-bg.jpg') repeat-x center top;
}

body, #content {
    font-family: Arial,Verdana,sans-serif;
    color: #333;
}

p {
    font-size: 13px;
    line-height: 18px !important;
    margin: 0 0 18px;
    padding: 0;
}
    p img {
        padding: 0;
    }

a:link {
    color: #007CA5;
}
a:visited {
    color: #999;
}

.clear {
    clear: both;
}
.center {
    text-align: center;
}
.hidden, .screen-reader-text {
    display: none;
}
.centered {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.alignright {
    padding: 5px 0 5px 20px;
    margin: 0;
    display: inline;
    float: right;
}
.alignleft {
    padding: 5px 20px 5px 0;
    margin: 0;
    display: inline;
    float: left
}
.aligncenter {
    padding: 0px 0 5px 0px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}
.alignnone {
    padding: 0px 0 5px 0px;
    display: block;
}

.blogimg, .post img {
   float:left;
   padding:5px 20px 20px 0;
   max-width:580px;
}

fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

blockquote {
    color: #666;
    font-size: 90%;
    border: none;
    padding: 0 40px;
    margin: 0px
}

/* Shell **********************************************************************/

#global_header {
    background: transparent url('images/header-bg-global.png') no-repeat right bottom;
    width: 1080px;
    height: 346px;
    margin: 0 auto;
    margin-bottom: -200px;
}

    body.search #global_header {
        background: transparent url('images/header-bg-search.png') no-repeat right bottom;
    }

    body.code-snippets #global_header {
        background: transparent url('images/header-bg-snippets.png') no-repeat right bottom;
    }

#leaderboard {
    float: left;
    width: 738px;
    margin-left: 30px;
}

#leaderboard_right {
    float: left;
    width: 275px;
    margin-left: 20px;
    margin-top: 20px;
    position: relative;
}
    ul#social_header {
        margin-bottom: 15px;
        height: 24px;
        clear: both;
    }
        #social_header li {
            float: left;
        }
        #social_header li a {
            background: url("images/social-nav-sprite.jpg") no-repeat 0 0;
            display: inline-block;
            font-size: 0pt;
            width: 24px;
            height: 24px;
            overflow: hidden;
            text-indent: -9999em;
            margin-right: 10px;
            opacity: 1;
        }
        #social_header li a:hover {
            opacity: 0.7;
        }
            #social_header li#gh_twitter a {
                background-position: 0 0;
            }
            #social_header li#gh_facebook a {
                background-position: -30px 0;
            }
            #social_header li#gh_rss a {
                background-position: -60px 0;
            }

    #searchform input[type="text"] {
        width: 145px;
        border: 1px solid #D6D6D6;
        color: #333333;
        float: left;
        font-size: 1.3em;
        height: 20px;
        line-height: normal;
        padding-left: 5px;
        padding-top: 5px;
    }

    .entry #searchform input[type="text"] {
        width: 300px;
    }

    #searchform input[type="submit"] {
        background: url("images/search-btn.jpg") no-repeat scroll 0 0 transparent;
        border: 0 none;
        cursor: pointer;
        display: block;
        height: 0 !important;
        overflow: hidden !important;
        padding-left: 25px;
        padding-top: 27px;
        text-indent: -9999em;
        width: 26px;
    }
        #searchform input[type="submit"]:hover {
            opacity: 0.7;
        }


#shell, #content, #header {
    background-color: transparent;
}

#shell {
    margin: 0 auto;
    padding-left: 10px;
    text-align: left;
    width: 1010px;
}

#header {
    position: relative;
    top: 20px;
    margin-bottom: 20px;
}

    #blog_header {
        width: 313px;
        height: 48px;
        background-image: url('images/webmonkey-logo.jpg');
        background-repeat: no-repeat;
        background-position: left top;
        text-indent: -9999px;
        display: block;
        border: none;
    }
    #blog_header h1, #blog_header span {
        display: none !important;
    }

/* Primary Navigation *********************************************************/

#global_navigation {
    clear: both;
    z-index: 1000;
    height: 40px;
    background: none;
}
    #primary_navigation {
        width: 1000px;
        margin: 0 auto;
        padding: 0px;
    }
        #primary_navigation ul {
            list-style-type: none;
        }

        #primary_navigation li {
            position: relative;
            float: left;
        }

        #primary_navigation a {
            display: block;
        }

        #primary_navigation .dropdownMenu {
            border: 2px solid #d7d4c9;
            -moz-border-radius: 5px;
            -webkit-border-radius: 2px;
            -khtml-border-radius: 5px;
            border-radius: 5px;
            margin-top: 0px;
            width: 235px;
            padding: 0px;
        }
            #primary_navigation .dropdownMenu  ul {
                width: 50%;
            }
            #primary_navigation .dropdownMenu ul:first-child {
                margin-right: 0;
            }

        #primary_navigation .dropdownSingleColumn {
            width: 135px;
        }
            #primary_navigation .dropdownSingleColumn  ul {
                width: 100%;
            }


        #primary_navigation a.primaryLink {
            background: url('images/main-nav-sprite.jpg') no-repeat 0 0;
            height: 15px;
            margin-right: 25px;
            margin-top: 15px;
            overflow: hidden;
        }

            #primary_navigation a.primaryLink span {
                display: none;
            }

    #pn_webdev a.primaryLink {
        width: 140px;
        background-position: 0 0;
    }

    #pn_software a.primaryLink {
        width: 130px;
        background-position: -164px 0;
    }

    #pn_platform a.primaryLink {
        width: 130px;
        background-position: -314px 0;
    }

    #pn_reference a.primaryLink {
        width: 130px;
        background-position: -463px 0;
    }

/* Twitter River **************************************************************/

#twitter-river {}

#tweets {
    background: url("images/twitter_bg_box.gif") no-repeat 0 0;
    font-size: 1.2em;
    width: 832px;
    height: 50px;
}
    #tweets ul {
        padding: 10px;
        min-height: 50px;
        list-style-type: none;
    }

    #tweets ul li {
        background: url('images/twitter-icon-heading.jpg') no-repeat 6px 2px;
        padding: 0 35px;
    }

    #tweets .time,
    #tweets .time a {
        color: #d6d6d6;
    }


/* Content ********************************************************************/

#content {
    float: left;
    font-size: 1.35em;
    margin-right: 40px;
    width: 660px;
}


/* Post ***********************************************************************/

#content .post {
    margin: 20px 0 30px;
    position: relative;
    background-color: #FFF;
    -moz-border-radius: 5px;
    border-radius: 5px;
}

.entryCategories {
    -moz-border-radius: 5px 5px 0 0;
    border-radius: 5px 5px 0 0;
    background-color: #D7D4C9;
    color: #FFFFFF;
    height: 20px;
    padding: 6px 20px 0;
}
    .entryCategories a:link,
    .entryCategories a:visited {
        color: #FFFFFF;
        text-decoration: none;
    }

.entryDate {
    background: url("images/date-bubble.png") no-repeat scroll 0 0 transparent;
    color: #4F4322;
    display: block;
    position: absolute;
    left: -73px;
    top: 25px;
    width: 73px;
    height: 69px;
    text-align: center;
    font-weight: bold;
}
    .entryDate .month {
        font-size: 70%;
        margin-top: 6px;
        text-transform: uppercase;
    }
    .entryDate .day {
        font-size: 24px;
        margin: -4 0 0;
        padding: 0;
    }
    .entryDate .year {
        font-size: 70%;
        margin: -4 0 0;
        padding: 0;
    }

.entry-header h1,
.entry-header h2 {
    font-size: 24px;
    line-height: 36px;
    margin: 0 20px;
    padding-top: 20px;
    color: #4F4322;
}

    .entry-header h1 a,
    .entry-header h2 a {
        color: #4F4322;
    }

    .archive h1 {
        font-size: 24px;
        line-height: 36px;
        margin: 0 20px;
        padding-top: 20px;
        color: #4F4322;
    }

.post .entryAuthor {
    color: #9D9681;
    font-size: 12px;
    margin: 0 20px 10px;
}
    .post .entryAuthor a {
        color: #9D9681;
    }

.post .entry {
    padding: 20px;
    padding-top: 0;
    font-size: 13px;
    line-height: 18px;
}

    .entry ul {
        margin: 10px 0 20px;
        list-style-position: inside;
    }

    .entry ol {
        margin: 10px 20px 18px;
        list-style-position: inside;
    }

    body.notfound .entry {
        background-image: url("images/peel_404.png");
        background-position: right 100px;
        background-repeat: no-repeat;
        height: 300px;
        padding-bottom: 50px;
    }


.entry-footer {
    font-size: 12px;
    margin: 20px;
    margin-top: 0;
}
    .entry-footer .entryTags {
        margin-bottom: 3px;
    }

    .entry-footer li {
        display: inline;
        list-style-type: none;
    }

    .entry-footer .social_bookmarking_module.bottom {
        border-top: 1px solid #CCC;
        clear: both;
        height: 30px;
        margin: 20px 0;
        padding: 20px 0;
    }

.bio {
    line-height: 20px;
    font-size: 12px;
    padding: 20px 0 10px;
    margin: 10px 0;
    font-style: italic;
}
    .bio img {
        float: left;
        margin: 0 20px 0 0;
        padding: 3px 0 0 0;
        border-bottom: 5px solid #000;
        height: 50px;
        width: 50px;
    }

.wp-caption p.wp-caption-text {
    -moz-border-radius-bottomleft: 5px;
    -moz-border-radius-bottomright: 5px;
    background-color: #000000;
    color: #FFFFFF;
    padding: 10px;
}
.wp-caption-text {
    margin: 0 10px 0 0;
}

#articles h3 {
    padding-top: 20px;
}

/* Pagination *****************************************************************/

.navigation {
    margin: 30px 0;
}

    .navigation .back {
        float: left;
    }
    .navigation .next {
        float: right;
    }


.navigation a,
.navigation a:visited {
    color: #FFFFFF;
    background-color: #d7d4c9;
    -moz-border-radius: 5px;
    -webkit-border-radius: 2px;
    -khtml-border-radius: 5px;
    border-radius: 5px;
    padding: 7px;
}
    .navigation a:hover {
        color: #FFF;
        background-color: #96ca12;
    }

/* Sidebar ********************************************************************/

#sidebar {
    float: right;
    font-size: 1.2em;
    padding-top: 20px;
    width: 300px;
}
    #sidebar h4 {
        -moz-border-radius: 5px 5px 0 0;
        border-radius: 5px 5px 0 0;
        background-color: #D7D4C9;
        color: #FFFFFF;
        height: 20px;
        padding: 6px 20px 0;
        margin-bottom: 10px;
        font-weight: bold;
    }

    #sidebar div.widget {
        margin-bottom: 20px;
        background-color: #FFF;
        -moz-border-radius: 5px;
        border-radius: 5px;
    }

    #sidebar ul {
        list-style-type: none;
        margin: 0 20px 10px;
    }
    #sidebar li {
        padding-bottom: 10px;
        margin-bottom: 5px;
        border-bottom: solid 1px #CCC;
    }
        #sidebar li:last-child {
            border-bottom: none;
        }

    #sidebar li a {
        display: block;
        font-weight: bold;
    }
    #sidebar li img {
        float: left;
        margin-right: 20px;
    }

    #sidebar div.widget_links ul {
        margin: 20px;
    }
    #sidebar div.widget_links li {
        height: 50px;
        padding-bottom: 10px;
        margin-bottom: 10px;
        border-bottom: solid 1px #CCC;
    }
    #sidebar div.widget_links li:last-child {
        border-bottom: none;
    }

    #sidebar .WiredWidgetsDartAds {
        margin-bottom: 0px;
        background-color: transparent;
        border-radius: 0px;
    }

    #sidebar .widget_rss h4 {
        background-image: url('images/twitter_profile_webmonkey_normal.jpg');
        background-repeat: no-repeat;
        background-position: 20px center;
        background-color: #FFF;
        height: 48px;
        font-size: 24px;
        line-height: 48px;
        text-indent: 66px;
    }
    #sidebar .widget_rss h4 img {
        display: none;
    }

/* Footer *********************************************************************/

#footer {
    background-image: url('images/body-bg.jpg');
    background-position: center -110px;
    background-repeat: repeat-x;
    padding-top: 20px;
    margin: 0px;
    margin-top: 40px;
    background-color: #2F2F2F;
}
    #footer .copyright {
        height: auto;
    }
    #footer p {
        font-size: 10px;
    }

#foot_row1, #foot_row3 {
    width: 1000px;
    margin-left: auto;
    margin-right: auto;
    background-color: #2F2F2F;
}


#header728x90 {
    height: 90px !important;
}
