/*
Theme Name: Shepard
Theme URI: http://blog.4bits.es
Description: Shepard is a mix of simpleX and icaro (the old 4 bits' theme).
Version: 0.3.1
Author: Francisco Javier Cuadrado
Author URI: http://4bits.es
*/


/* General tags */
body {
    background: #fafafa;
    color: #333333;
    font-family: Arial, Verdana, Tahoma, sans-serif;
    font-size: 62.5%;
    text-align: left;
    margin: 0;
    padding: 0;
}

p {
    margin: 0 0 10px 0;
}

a:link {
    text-decoration: none;
    color: #4192e5;
    border: none;
}

a:active {
    text-decoration: none;
    color: #4192e5;
    border: none;
}

a:visited {
    text-decoration: none;
    color: #4192e5;
    border: none;
}

a:hover {
    text-decoration: underline;
    color: #4192e5;
    border: none;
}

h1, h2, h3, h4 {
    font-family: Georgia, Sans-Serif, Verdana ;
    font-weight: normal;
}

h1 {
    font-size: 4em;
    line-height: 60px;
    margin-top: 0;
    margin-bottom: 15px;
    padding-top: 20px;
}

h1, h1 a, h1 a:hover, h1 a:visited {
    text-decoration:none;
}

h2 {
    font-size: 2.2em;
    margin: 15px 0 2px;
    padding-top: 5px;
}

h3 {
    font-size: 1.6em;
    margin-top: 20px;
    margin-bottom: 7px;
    padding: 0;
}

h4 {
    font-size: 1.3em;
    margin-top: 10px;
    margin-bottom: 5px;
    padding: 0;
}

ul, ol {
    padding-top: 0;
    margin-top: 0;
    margin-bottom: 10px;
}

li {
    padding: 0;
}

blockquote {
    font-style: italic;
    margin: 15px 30px 10px 10px;
    padding-left: 20px;
}

acronym, abbr, span.caps {
    text-decoration: none;
    border-bottom: 1px dotted #333333;
}

code {
    font: 0.9em 'Courier New', monospace;
}

pre {
    font: 0.9em 'Courier New', monospace;
    border: 1px solid #cccccc;
    display: block;
    margin: 5px 0 15px 0;
    padding: 7px;
    background: #ffffff;
}


#searchform {
    margin: 10px auto;
    padding: 5px 3px;
    text-align: center;
}


/* Header */
#top {
    background: #282923;
    margin: 0;
    padding: 0;
}

   #header {
        height: 110px;
        width: 960px;
        margin: 0 auto;
        padding: 0;
    }

        #header h1, #header h1 a, #header h1 a:hover, #header h1 a:visited {
            color: #dddddd;
            font-style: italic;
            margin: 0;
            padding-left: 20px;
        }

        #header .description {
            color: #aaaaaa;
            font-size: 1.1em;
            padding-left: 40px;
        }

        #header #search {
            margin-left: 690px;
            position: absolute;
            top: 30px;
        }

        #header #searchform #s {
            background: #000000;
            border: 1px solid #555555;
            color: #cccccc;
        }

        #header #searchform #s {
            font-family: arial, verdana, sans-serif;
            font-size: 1.4em;
            font-weight: normal;
            line-height: normal;
            padding: 4px;
            width: 130px;
        }

        #header #searchform #searchsubmit {
            background: #666666;
            border: 1px solid #777777;
            color: #cccccc;
        }

        #header #searchform #searchsubmit {
            font-family: arial, verdana, sans-serif;
            font-size: 1.4em;
            font-weight: bold;
            line-height: normal;
            padding: 3px;
        }

/* Menu */
#menu {
    width: 100%;
    font-size: 1.4em;
    background: #cccccc;
    border-top: 1px solid #dddddd;
}

    #menu ul#menu-list {
        display: block;
        width: 890px;
        list-style-image: none;
        list-style-position: outside;
        list-style-type: none;
        margin: 6px auto 0;
        padding: 0 10px;
    }

    #menu #menu-list li {
        display: inline;
        float: left;
        line-height: 28px;
        list-style-image: none;
        list-style-position: outside;
        list-style-type: none;
        margin: 0 0 0 5px;
        padding: 0;
        background: #dddddd;
    }

    #menu ul li.menu_item {
        background: #dddddd;
    }

    #menu ul li.menu_item a {
        background: #eeeeee;
        color: #888888;
        border: medium none;
        font-weight: bold;
        padding: 0 20px;
        text-decoration: none;
    }

    #menu ul li.menu_item a:hover {
        color: #333333;
        background: #fafafa;
        text-decoration: none;
    }

    #menu #menu-list li a, #menu-list li ul li a {
        display: block;
    }

    #menu #menu-list li:hover {
        position: static;
    }


/* Main */
#main {
    margin: 0 auto;
    width: 960px;
}

    #content {
        float: left;
        font-size: 1.4em;
        margin: 0 auto;
        padding: 30px 40px;
        width: 670px;
    }

    /* Post */
    .post {
        margin-bottom: 30px;
    }

        .post h2, .post h2 a, .post h2 a:visited {
            color: #333333;
        }

        .post small {
            color: #aaaaaa;
            font-size: 0.8em;
            line-height: 1.5em;
        }

        /* Entry */
        .entry {
            border-top: 1px solid #dddddd;
            line-height: 1.3em;
            width: 100%;
            padding-top: 15px;
        }

            .entry img {
                border: 1px solid #dddddd;
                max-width: 100%;
                padding: 5px;
            }

            .entry p a img:hover {
                border: 1px solid #4192e5;
                background: none;
            }

    /* Comments */
    #boxcomments {
        margin: 0 0 30px 0;
        padding: 0;
        width: 100%;
    }

        #boxcomments h3 {
            margin-bottom: 15px;
        }

        #boxcomments ol.commentlist {
            margin: 0;
            padding: 0;
        }

            #boxcomments ol.commentlist li.comment {
                border: 1px solid #cccccc;
                display: block;
                list-style: none;
                margin: 0 0 15px 0;
                padding: 7px;
                background: white;
            }

            #boxcomments ol.commentlist li.comment .author {
                margin: 0;
                padding: 0;
                /* font-weight: bold; */
            }

    #respond {
        margin-top: 40px;
    }

    #commentform {
        margin: 20px 0 60px 0;
        padding: 0;
    }

        #commentform input, #commentform textarea, fieldset {
            border: 1px solid #cccccc;
        }

        #commentform input:focus, #commentform textarea:focus {
            border: 1px solid #4192e5;
        }

        #commentform input {
            font-size: 1.2em;
            margin: 5px 5px 1px 0;
            padding: 2px;
            width: 170px;
        }

        #commentform textarea {
            font-size: 1.2em;
            margin-top: 5px;
            padding: 2px;
            width: 99%;
        }

        #commentform #submit {
            background: #666666;
            border: 1px solid #777777;
            color: #cccccc;
            font-size: 1.2em;
            font-weight: bold;
            margin-top: 5px;
            padding: 3px;
        }


    /* Sidebar */
    #sidebar {
        float: right;
        padding: 30px 0 20px 0;
        width: 200px;
        font-size: 1.2em;
        font-weight: normal;
        line-height: normal;
    }

        #sidebar p.feed {
            background: url(images/rss.gif) no-repeat;
            padding-left: 17px;
            margin-bottom: 15px;
        }

        #sidebar h3 {
            border-bottom: 3px solid #dddddd;
            color: #999999;
            font-size: 1.6em;
            padding: 5px;
            margin: 5px 0 0;
            padding: 0;
            clear: both;
        }

        #sidebar ul, #sidebar ol {
            margin: 10px 0 10px 0;
            padding: 0;
        }

        #sidebar ul li {
            clear: both;
            list-style-image: none;
            list-style-type: none;
            margin-bottom: 5px;
        }

            #sidebar ul li img.gravatar {
                float: left;
                margin: 0 5px 5px 0;
            }

            #sidebar ul li ul, #sidebar ul li ol {
                margin-left: 5px;
                margin-top: 5px;
            }


/* Other */

.hidden {
    display: none;
}

.clearfix {
    display: inline-block;
}

.clearfix:after {
    clear: both;
    content: " ";
    display: block;
    height: 0;
    line-height: 0;
    visibility: hidden;
}

.navigation {
    margin: 0;
    padding: 0;
    overflow: hidden;
}

img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding: 5px;
}

.alignright {
    float: right;
}

    img.alignright {
        margin: 0 0 2px 15px;
        padding: 5px;
    }

.alignleft {
    float: left;
}

    img.alignleft {
        margin: 0 15px 2px 0;
        padding: 5px;
    }
