html {
    font-size: 10px;}

body {
    background: #4d4b45;
    color: #FFF;
    font: 13px/24px Georgia, serif;
    /*font-size: 1.4em;
    line-height: 1.8em;
    */
}

a {
    color: inherit;
}
a:hover,
a:focus {
    color: #39b7ff;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
    /*
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    */
}
h2 a {
    text-decoration: none;
}
#svay-index h2 a:hover,
#svay-index h2 a:focus{
    text-decoration: underline;
}

h2{
    font-size: 24px;
    line-height: 36px;
    color: #666;
    color: #4d4b45;
    font-weight: normal;
    text-decoration: none;
    margin-bottom: 1em;
    text-shadow: 0px 1px 0px #FFF;
}


h3 {
    font-size: 18px;
    color: #666;
    margin: 1em 0;
}

/* Header
*******************************************************************************/
header {
    overflow: auto;
    padding-bottom: 18px;}

header h1 {
    display: block;
    float: left;
    background: url(img/svay.com.png) no-repeat left top;
    width: 310px;
    margin: 31px 10px 31px 0;
    height: 27px;
    text-indent: -1000em;
    overflow: hidden:
}
header h1:hover,
header h1:focus {
    background-position: left bottom;
}
header h1 a {
	display: block;	height: 100%;
}
header nav {
    display: block;
    float: right;
    padding-right: 3em;
    padding-top: 23px;
}
    nav ul {
        display: block;
    }
        nav ul li {
            display: block;
            float: left;            margin-right: 3em;
        }        nav ul li:last-child {
	        margin-right:0;
        }
        nav li a {
            display: block;
            font-size: 1.5em;
            color: #444;
            text-decoration: none;
            padding: 5px 10px;
            background: rgba(255,255,255,0);
        }
        nav li a:hover,
        nav li.selected a {
            background: rgba(255,255,255,0.7);
            color: #000; 
            -moz-border-radius: 4px;
            -o-border-radius: 4px;
            -webkit-border-radius: 4px;
            border-radius: 4px;
            -webkit-transition: background 0.2s linear;
        }
    
/* Header
*******************************************************************************/
#main {
    background: #F5F5F5 url(img/main.png);
    color: #333;
}

/* Content
*******************************************************************************/
#content {
    display: block;    background: transparent url(img/header.png) no-repeat right -20px;
    color: #333;
    width: 960px;
    margin: 0 auto;    padding-bottom: 1.5em;
}
#content:after {
    content:"\0020";
    display:block;
    height:0;
    clear:both;
    visibility:hidden;
    overflow:hidden;
}
    #intro {
        width: 958px;
        height: 298px;
        position: relative;
        background: #FFF;
        overflow: hidden;
        outline: 1px solid #EEE;
    }
        #intro div {
            position: absolute;
            left: 630px;
            top: 10em;
            width: 260px;
            text-align: center;
        }
        #intro h3 {
            font-size: 2em;
            margin-bottom: .5em;
        }
        #intro a.button {
            display: inline-block;
            height: 24px;
            text-decoration: none;
            background: url(img/button.png) no-repeat right -24px;
            padding-right: 12px;
        }
            #intro a.button > span {
                display: block;
                height: 24px;
                line-height: 24px;
                background: url(img/button.png) no-repeat left 0;
                padding-left: 24px;
                color: #FFF;
            }
        #intro a.button:hover,
        #intro a.button:focus {
            background-position: right -72px;
        }
            #intro a.button:hover > span,
            #intro a.button:focus > span {
                background-position: left -48px;
            }
            
        p.intro {
            font-size: 1.5em;
            margin: 1em 0;
            color: #666;
            font-style: italic;
        }
            
/* Blog
*******************************************************************************/
#content .blog {

}

#posts {
    width: 630px;
    float: left;
    margin-right: 20px;
}
.post,
#comments {
    width: 630px;
    padding-bottom: 2em;
    margin-bottom: 2em;
    border-bottom: 1px solid #CCC;
}
    .post h2,
    .post h3 {
        margin: 1em 0;
    }
    .post pre {
        padding: 10px;
        max-height: 400px;
        overflow: auto;
        background: #FFF;
    }
    .post p {
        margin: 1em 0;
    }
    .post h2.post-title {
        margin-bottom: 0;
        line-height: 1.25em;
    }
    .post .post-info {
        color: #888;
        margin-top: 0;
        position: relative;
    }
        .post-info .twitter-share-button {
            position: absolute;
            right: 0;
        }
    .post-tags li {
        /*display: inline;*/
    }
    
#comments {
    
}
    #comments dt {
        color: #888;
    }
    #comments dd {
        margin-bottom: 1em;
    }
    
#comment-form {
    
}    
#comment-form label {
    display: block;
}
#comment-form .remember label {
    display: inline;
}

.pagination {
    text-align: center;
}
#navlinks {
    width: 630px;
    text-align: center;
}
    
#sidebar {
    width: 310px;
    float: left;
}
    #sidebar h2 {
        font-size: 1em;
        font-weight: bold;
    }
    #sidebar ul {
        border-bottom: 1px solid #EEE;
    }
    #sidebar li {
        list-style: none;
        border-top: 1px solid #EEE;
        padding: 5px;
    }
    #sidebar li a {
        display: block;
    }
    #search #q {
        width: 190px;
    }
    
.categorie li {
    list-style: none;
    display: inline;
}
.year {
    width: 160px;
    float: left;
    height: 306px;
}
.year h4 {
    font-weight: bold;
}
.year li {
    list-style: none;
}
    
/* Portfolio
*******************************************************************************/
    .project {
        float: left;
        margin-bottom: 1em;
        position: relative;
    }
    .project-title {
        position: absolute;
        left: 0;
        top: 1em;
        background: rgba(0,0,0,0.7);
        padding: 4px 8px;
        color: #FFF;
    }
    .project-info {
        width: 300px;
        float: left;
    }
    .project-media {
        width: 628px;
        margin-right: 30px;
        float: left;
        background: #FFF;
        outline: 1px solid #EEE;
        overflow: hidden;
    }
        .project-media img,
        .project-media a {
            display: block;
        }
    .project-meta {
        list-style: none;
    }
        .project-meta li {
            background: transparent url(img/level.png) no-repeat left 8px;
            padding-left: 50px;
        }
        .project-meta li.level-1 {
            background-position: 0 8px;
        }
        .project-meta li.level-2 {
            background-position: 0 -32px;
        }
        .project-meta li.level-3 {
            background-position: 0 -72px;
        }
        .project-meta li.level-4 {
            background-position: 0 -112px;
        }
        .project-meta li.level-5 {
            background-position: 0 -152px;
        }
    .project-action a {
        font-weight: bold;
    }

/* Footer
*******************************************************************************/
footer {
    padding: 18px 0;    color: #FFF;    overflow: hidden;
}
footer h3{
    color: #FFF;
}
footer a:hover, 
footer a:focus {
    color: #39b7ff;
}
footer a:focus{
    outline: 1px dotted #FC0;
}
footer li {
    list-style: none;
}
footer .container {
    width: 960px;
    margin: 0 auto;
}
    #about-info,
    #about-contact {
        width: 48%;
        float: left;
        text-align: justify;
    }
    #about-info {
        margin-right: 2%;
    }    footer h3 {
        font-size: 18px;
        line-height: 18px;    }
    footer #about {

    }        #about .avatar {            float: left;            margin: 0 10px 0 0;            position: relative;            bottom: -0.5em;        }    #lifestream {    }
        #lifestream .sidenote {
            background: #66635c;
            margin-bottom:  10px;
            padding: 5px 5px 5px 40px;
        }
        #lifestream .www-netvibes-com {
            background: #66635c url(img/lifestream-fav.png) no-repeat;
        }
        #lifestream .www-flickr-com {
            background: #66635c url(img/lifestream-flickr.png) no-repeat;
        }
        #lifestream .twitter-com {
            background: #66635c url(img/lifestream-tweet.png) no-repeat;
        }
        #lifestream .vimeo-com {
            background: #66635c url(img/lifestream-video.png) no-repeat;
        }
            footer p {
	    clear: both;
    }
