body {
    margin-top:0px;
    margin-bottom:0px;
}

a { color:#537E01; outline:0; }

th {
    background-color:#D3E4CF;
    color:#619400;
}

pre.diff {
   border:1px solid #D3E4CF; 
   padding:5px;
}

pre.diff span.del {
    background-color:#FBE3E4;
}

pre.diff span.add {
    background-color:#E6EFC2;
}

tr.active td {
    font-weight:bold;
}

div.revision {
    border:1px solid #D3E4CF;
    overflow:hidden;
    position:relative;
    padding:0.5em 2.0em 0.5em 0.5em;
    margin-bottom:10px;
}

div.revision.active {
    background-color: #D3E4CF;
}

div.revision span.diffLink {
    position:absolute;
    bottom:5px;
    right:5px;
}

div.revision span.revisionId {
    position:absolute;
    top:5px;
    right:5px;
}

div#count {
    font-size:4em;
    font-family:fixed;
    background-color:#D3E4CF;
    color:#619400;
    float:left;
    padding:0px;
    line-height:1em;
    padding:2px;
    margin-right:5px;
}

div#header {
    height:5em;
    background-color:#537E01;
}

div#header h1 {
    float:left;
    font-size:1.8em;
    padding:1.2em 1em 0em 0.8em;
    font-weight:bold;
    letter-spacing:1.5px;
}

div#header h1 a {
    color:#D3E4CF;
    text-decoration:none;
}

div#header ul#sectionNav
{
    padding: 0 1px 1px;
    margin:20px 10px 0px 0px;
    font-weight: bold ;
    font-family: Verdana, sans-serif;
    float:right;
}

div#header ul#sectionNav li
{
    list-style: none;
    margin: 0;
    display: inline;
}

div#header ul#sectionNav li a
{
    padding: 0.5em 1.0em;
    text-decoration: none;
    color:#D3E4CF;
    background-color:#619400;
    line-height:1em;
}

div#header ul#sectionNav li a:hover,
div#header ul#sectionNav li a.current 
{
    background-color:#D3E4CF;
    color:#619400;
}

div#header ul#userNav {
    float:right;
    margin-right:10px;
    margin-bottom:0px;
}

div#header ul#userNav li {
    display:block;
    float:left;
    list-style-type:none;
    padding:0px;
    margin:0px;
    padding:2em 0.5em 0.5em 0.5em;
}

div#header ul#userNav li a{ 
    margin:0px;
    color:#D3E4CF;
    float:left;
}

div#subHeader {
    height:2.5em;
    background-color:#537E01;
    border-top:3px solid #D3E4CF;
}

div#subHeader h3 {
    float:left;
    color:#D3E4CF;
    font-size: 1.3em;
    line-height:1.8em;
    padding-left:1em;
    margin-bottom:0;
}

div#subHeader ul {
    height:2.5em;
    float:right;
    margin:0em;
    list-style-type:none;
}

div#subHeader ul li {
    display:block;
    float:left;
    list-style-type:none;
    margin:0.6em 2px 0px 2px;
}

div#subHeader ul li a{ 
    padding:0.2em 20px;
    margin:0px;
    background-color:#619400;
    color:white;
    display:block;
    float:left;
    text-decoration:none;
}

div#subHeader ul li a.add { 
    margin-right:30px;
}

div#subHeader ul li a.current { 
    background-color:white;
    color:black;
    font-weight:bold;
}

div#subHeader ul li a:hover {
}

div#content {
    clear:both;
    padding:1.2em;
}

div#content ul,
div#content ol {
}

div#content ul li,
div#content ol li
{
    margin:3px 0px;
}


div#content span.meta,
div#content span.meta {
    color:#979797;
    font-size:0.8em;
}

div#content ul li span.meta a ,
div#content ol li span.meta a {
    color:#979797;
    text-decoration:none;
}

div#content ul li span.meta a:hover ,
div#content ol li span.meta a:hover {
    text-decoration:underline;
}

div#content div.code,
div#content div.main
{
    float:left;
    width:70%;
    border-right: 1px solid #D3E4CF;
    margin-bottom:10px;
}

div#content div.info,
div#content div.side {
    float:right;
    width:29%;
    padding:0px 0px; /* Lines up nicely with SyntaxHighlighter.css */
    zoom:1; /* triggers hasLayout for IE */
    margin-bottom:10px;
}

div#content div.info:after {
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

div#content div.info dl{
    margin:0em 0em 1em 0px;
    float:left;
}

div#content div.info h4 { border-bottom: 1px solid #D3E4CF; margin-bottom: 10px; padding-bottom: 3px; font-weight: bold }

div#content div.info dt.user {
    width:5em;
}

div#content div.info dl dt, div#content div.info dl dd {
    float:left;
    margin-bottom:0.5em;
    margin-right:0.5em;
    margin-left:0em;
    width: 150px;
}

div#content div.info dl dt {
    clear:left;
    font-weight:bold;
}

div#content div.info dl dd a.current {
    font-weight:bold;
}

div#content form p {
    clear:left;
}

div#content h3 {
	clear:both;
}

div#content .snippet {
    clear:both;
    margin-right:10px;
    overflow:auto;
}

div#content img.gravatar {
    border:1px solid #D3E4CF;
    float:left;
    margin:0px 5px 0px 0px;
    padding:1px;

}

div#content div.comment {
    margin:10px 10px 10px 0px;
    padding:10px 10px;
    clear:both;
    border-top:1px solid #E8E7D0;
}

div#content div.comment.even {
    background-color:#FAFAF0;
}

div#content div.comment p {
    margin:10px 0px;
}

div#code div.comment {
    width:40em;
}

div#content input#openid_identifier {
    background: #FFFFFF url('..//img/openid-icon-small.gif') no-repeat scroll 0pt 50%;
    padding-left: 18px;
}

div#content div.login {
    margin:10px 20px 10px 0px;
    float:left;
}

div#content div#regularLogin {
    border-right: 1px solid #D3E4CF;
    padding-right:20px;
}

div#content dl#userDetails {
    margin-top:1em;
    margin-left:20px;
    float:left;
}

div#footer {
    background-color:#537E01;
    color: #ffffff;
    padding:2em;
    clear: both;
}

div#footer a { color: #ffffff; }
div#footer a:hover { text-decoration: none; }
div#footer p { margin: 0; padding: 0; }
div#footer div#poweredby { float: left; }
div#footer div#legalinfo { float: right; text-align: right;  }

.dp-highlighter {
    margin:0px 0px !important;
}

p.hint {
    text-align:left;
}

.paginationControl {
    margin-top:20px;
}

.paginationControl span {
    border:1px solid #537E01;
    padding:2px 5px;
    margin:0px 3px;
    text-align:center;
}

.paginationControl span.current {
    background: #D3E4CF; 
}

.paginationControl a {
    text-decoration:none; 
}

#userMenu {
    list-style-type:none;
    padding:0;
    float:right;
}

#userMenu ul { height: 10px }

#userMenu ul li {
    display:inline;
    float:left;
    height:16px;
    line-height:24px;
}

#userMenu ul li a {
    width:16px;
    height:16px;
    display:block;
    float:left;
    margin:3px;
    text-indent:-5000px;
}

#userMenu ul li a.vote.up.current {
    background: transparent url('../img/icons.png') -64px 0px no-repeat;
}

#userMenu ul li a.vote.down.current {
    background: transparent url('../img/icons.png') -80px 0px no-repeat;
}

#userMenu ul li a.vote.up {
    background: transparent url('../img/icons.png') -64px -16px no-repeat;
}

#userMenu ul li a.vote.down {
    background: transparent url('../img/icons.png') -80px -16px no-repeat;
}

#userMenu ul li a.delFavourite {
    background: transparent url('../img/icons.png') -32px 0px no-repeat;
}

#userMenu ul li a.addFavourite {
    background: transparent url('../img/icons.png') -32px -16px no-repeat;
}

#userMenu ul li a.editSnippet {
    background: transparent url('../img/icons.png') -16px 0px no-repeat;
}

#userMenu ul li a.addComment {
    background: transparent url('../img/icons.png') -16px -16px no-repeat;
}

div#code h2#snippetTitle {
    float:left;
}

div#code pre {
    clear:both;
}

div.cloud {
    text-align:center;
    width:50%;
    margin-left:auto;
    margin-right:auto;
    font-size:110%;
}

div.cloud a.tiny { font-size:0.8em; }
div.cloud a.vsmall { font-size:1.3em; }
div.cloud a.small { font-size:1.7m; }
div.cloud a.medium { font-size:2.2em; }
div.cloud a.large { font-size:2.5em; }
div.cloud a.vlarge { font-size:3em; }

table.php { font-size: 12px; background: #F0F0F0; padding: 5px; margin-top: 15px; }
table.php pre { margin-left: 10px; }

ul#codeToolbar { clear: both; margin: 0; padding: 0 }
ul#codeToolbar li { display: inline; padding-right: 10px }

.zend_form ul.errors { color: #ff0000; }
dl.zend_form dt { float: left; width: 150px; clear: both }
dl.zend_form dd { margin-left: 170px;  }