body{
    margin: 0;
    background-color: #4D5A68;
    background: url(http://media.fiverlabs.com/kyleterry/images/bg.png);
    font-size: 11pt;
    text-shadow: #0D0E0F 0px 1px 0px;
    /*color: #aaaaaa;
    color: #dee2e7;*/
    color: #a4afbb;
    font-family: 'lucida grande', 'lucida sans unicode', 'lucida sans', arial, sans-serif;
}

a{
    text-decoration: none;
    color: #777;
    outline: none;
}

img{
    border: none;
}

#shader{
    background-color: rgb(0, 0, 0);
    opacity: 0.7; /* Safari, Opera */
    -moz-opacity:0.70; /* FireFox */
    filter: alpha(opacity=70); /* IE */
    z-index: 20;
    height: 100%;
    width: 100%;
    background-repeat:repeat;
    position:fixed;
    top: 0px;
    left: 0px;
}

#pending-comments-count{
    position: fixed;
    top: 0px;
    left: 480px;
    padding: 7px;
    background-color: #343F50;
    border-radius: 0 0 5px 5px;
    -moz-border-radius: 0 0 5px 5px;
}

#flash{
    text-align: center;
    padding: 1px;
    border-radius: 5px;
    -moz-border-radius: 5px;
    color: #800f0b;
    background-color: #343F50;
    width: 400px;
    margin: 0 auto;
}

#error{
    text-align: center;
    padding: 40px;
    color: #800f0b;
    background-color: #343F50;
    border-radius: 10px;
    -moz-border-radius: 10px;
}

#delete-confirm{
    position: fixed;
    border-radius: 10px;
    -moz-border-radius: 10px;
    z-index: 121;
    background-color: #343F50;
    top: 25%;
    left: 50%;
    width: 400px;
    margin-left: -200px;
    text-align: center;
}

#header{
    width: 650px;
    margin: 0 auto;
    text-align:left;
    position: relative;
}

#mini-nav{
    position: absolute;
    bottom: 0;
    right: 0;
}

#mini-nav ul{
    list-style: none;
    margin:0;
    padding:0;
}

#mini-nav ul li{
    display: inline-block;
    margin-left: 14px;
}

#mini-nav ul li a{
    display: inline-block;
    width: 32px;
    height: 32px;
    text-indent: -1000em;
}

a#about{
    background: url(http://media.fiverlabs.com/kyleterry/images/about.png) no-repeat 50% 50%
}

a#twitter{
    background: url(http://media.fiverlabs.com/kyleterry/images/twitter.png) no-repeat 50% 50%
}

a#rss{
    background: url(http://media.fiverlabs.com/kyleterry/images/rss.png) no-repeat 50% 50%
}

a#logo{
    background: url(http://media.fiverlabs.com/kyleterry/images/logo2.png) no-repeat 0% 8px;
    width: 243px;
    line-height: 86px;
    text-indent: -1000em;
    display: inline-block;
}

#header h1{
        margin-top: 0;
        color: #738497;
        font-size: 34pt;
    text-shadow: #333 0px 1px 0px;
}

#header h1 a{
        color: #738497;
}

#header em{
        font-size: 11px;
        font-weight: normal;
}

#header .subtitle{
    margin-left: 15px;
}

#back-up{
    position:fixed;
    top: 50px;
    right: 60px;
}

#back-up a{
    background: url(http://media.fiverlabs.com/kyleterry/images/top.png) no-repeat;
    width: 220px;
    height: 153px;
    padding: 12px;
    display: block;
    text-indent: -1000em;
}

#user-box{
    position: absolute;
    top:0;
    right: 2px;
    padding: 8px;
    background-color: #343F50;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    -moz-border-radius: 0 0 10px 10px;
}

#user-box ul{
    list-style: none;
    margin: 0;
    padding: 0;
}

#user-box ul li{
    display: inline;
    padding: 4px;
}

#user-box ul li a{
    color: #525f6c;
}

#links{
    margin: 10px auto;
    background-color: #343F50;
    padding: 12px 16px;
    font-size: 11px;
    border-radius: 10px;
    -moz-border-radius: 10px;
}

#links a{
    margin: 4px;
}

#links a:hover {
    text-shadow: 0 0 0.1em #0bb5f7;
}

#links .active{
    text-shadow: 0 0 0.1em #0bb5f7;
}

#wrapper{
    width: 650px;
    margin: 0 auto;
}

#footer{
    width: 650px;
    margin: 0 auto;
}

input, textarea{
    border: none;
    border-bottom-left-radius: 5px 5px;
    border-bottom-right-radius: 5px 5px;
    border-top-left-radius: 5px 5px;
    border-top-right-radius: 5px 5px;
    -moz-border-radius: 5px;
    display:block;
    background-color: #343F50;
    color: #a4afbb;
    padding: 8px;
}

label{
    font-size: 20px;
}

/* for login */
form #username{
    font-size: 16px;
    width: 280px;
}

form #password{
    font-size: 16px;
    width: 280px;
}

form #submit{
    font-size: 16px;
    display: block;
}

/* for post add */

form #title{
    font-size: 24px;
    width: 100%;
}

form #tags{
    font-size: 16px;
    width: 100%;
}

#add-post form #body{
    font-size: 16px;
    width: 100%;
    height: 400px;
}

/* for comments */
#comment-form form #body{
    font-size: 16px;
    width: 400px;
    height: 170px;
}

#comment-form form #name{
    width: 200px;
}

#comment-form form #email{
    width: 200px;
}

#comment-form form #url{
    width: 200px;
}

/* for entry */
.entry{
    margin-top: 8px;
    background-color: #343F50;
    padding: 10px 10px 10px;
    /*border-bottom-left-radius: 5px 5px;
    border-bottom-right-radius: 5px 5px;*/
    border-top-left-radius: 5px 5px;
    border-top-right-radius: 5px 5px;
    border-radius: 10px;
    -moz-border-radius: 10px;
    position: relative;
}

pre{
    white-space: pre-wrap;       /* css-3 */
    white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
    white-space: -pre-wrap;      /* Opera 4-6 */
    white-space: -o-pre-wrap;    /* Opera 7 */
    word-wrap: break-word;       /* Internet Explorer 5.5+ */
}

pre code{
    padding: 24px 8px 8px;
    background: #272f3b url(http://media.fiverlabs.com/kyleterry/images/code.png) no-repeat left top;
    background-color: #272f3b;
    display: block;
    border-radius: 10px;
    -moz-border-radius: 10px;
}

.entry h2{
    margin: 0;
    background: url(http://media.fiverlabs.com/kyleterry/images/article.png) no-repeat left 4px;
    line-height: 38px;
    padding-left: 40px;
}

.entry .body{
    margin: 28px 4px;
}

.entry .date{
    background: url(http://media.fiverlabs.com/kyleterry/images/clock.png) no-repeat left 50%;
    padding-left: 38px;
    line-height: 32px;
    margin: 6px 0;
}

.entry #tags{
    background: url(http://media.fiverlabs.com/kyleterry/images/tag.png) no-repeat left 50%;
    padding-left: 38px;
    line-height: 32px;
    margin: 6px 0;
}

.entry .date .time{
    font-weight: bold;
}

#entry-admin{
    position: absolute;
    top: 5px;
    right: 5px; 
}

#entry-admin ul{
    list-style: none;
    margin: 0;
    padding: 0;
}

#entry-admin ul li{
    display: inline;
}

a.edit{
    background: url(http://media.fiverlabs.com/kyleterry/images/edit.png) no-repeat 50%;
    padding: 16px;
    text-indent: -1000em;
    display:inline-block;
}

a.delete{
    background: url(http://media.fiverlabs.com/kyleterry/images/delete.png) no-repeat 50%;
    padding: 16px;
    text-indent: -1000em;
    display:inline-block;
}

.comment{
    padding: 10px;
    background-color: #343F50;
    margin-top: 8px;
    border-radius: 10px;
    -moz-border-radius: 10px;
    position: relative;
}

.comment .not-approved{
    position: absolute;
    right: 6px;
    top: 5px;
}

.comment_name{
    background: url(http://media.fiverlabs.com/kyleterry/images/comment.png) no-repeat left 50%;
    padding-left: 40px;
    line-height: 32px;
}

.comment_posted{
    background: url(http://media.fiverlabs.com/kyleterry/images/clock.png) no-repeat left 50%;
    margin-top: 4px;
    padding-left: 40px;
    line-height: 32px;
}

.comment_name a{
    background-color: #3b475a;
    padding: 2px;
    border-bottom-left-radius: 3px 3px;
    border-bottom-right-radius: 3px 3px;
    border-top-left-radius: 3px 3px;
    border-top-right-radius: 3px 3px;
    -moz-border-radius: 3px;
}

.comment .admin a{
    background: url(http://media.fiverlabs.com/kyleterry/images/real-kt.png) no-repeat 50%;
    padding: 8px;
    margin-right: 6px;
}
