@import "boilerplate.css";

/* -------------------------------------------------------------- 
   SCREEN
-------------------------------------------------------------- */

body { background: #005885 url(../images/background.gif) repeat-y; }

h1,h2,h3,h4,h5,h6 { font-weight: normal; color: #333; }
h1 { margin-bottom: 5px; font-size: 28px; line-height: 35px; }
h2 { margin-bottom: 5px; font-size: 28px; line-height: 35px; }
h3 { margin-bottom: 5px; font-size: 20px; line-height: 30px; }
h4 { margin-bottom: 5px; font-size: 20px; line-height: 30px; }
h5 { margin-bottom: 5px; font-size: 18px; line-height: 25px; }
h6 { margin-bottom: 5px; font-size: 18px; line-height: 25px; }
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { color: #333; }
p,ul,ol,dl { font-size: 15px; line-height: 22px; color: #333; }
dl dt { font-size: 15px; }
dl dd { margin-bottom: 10px; padding: 0; font-size: 13px; line-height: 18px;}
strong { font-weight: bold; }
a { color: #005885; }
code { font-size: 13px; }
pre code { display: block; padding: 10px; background: #eee; font-size: 12px; color: #333; -webkit-border-radius: 4px; border-radius: 4px; }
.date { font-size: 13px; line-height: 15px; color: #999; }

table { font-size: 13px; line-height: 17px; color: #333; }
tr { border-bottom: 1px solid #ddd; }
th { padding: 5px 10px; font-weight: bold; border: none; }
td { padding: 5px 10px; font-weight: normal; border: none; border-left: 1px solid #eee; }

fieldset tr { border: none; }

/* PAGE */
#page { width: 780px; }

/* HEADER */
#header { padding: 30px 0 50px 40px; }
#header h1 a { display: block; padding-top: 45px; width: 220px; height: 0; background: url(../images/logo.gif) no-repeat; overflow: hidden; }
#header h1 a:hover { background-position: 0 -45px; }

/* NAV */
#nav { position: absolute; top: 135px; left: 780px; width: 170px; }
#nav ul { list-style: none; padding: 1px 0 0 0; background: url(../images/nav_underline.gif) left top no-repeat; font-size: 15px; font-weight: bold; line-height: 30px; }
#nav ul a { display: block; padding: 0 10px; background: url(../images/nav_underline.gif) left bottom no-repeat; color: #9cbed0; }
#nav ul a:hover { background: url(../images/nav_hover.gif) left bottom no-repeat; text-decoration: none; color: #fff; }
body.home_page #nav .home { background: url(../images/nav_hover.gif) left bottom no-repeat; }
body.about_page #nav .about { background: url(../images/nav_hover.gif) left bottom no-repeat; }
body.blog_page #nav .blog { background: url(../images/nav_hover.gif) left bottom no-repeat; }
body.clients_page #nav .clients { background: url(../images/nav_hover.gif) left bottom no-repeat; }
body.contact_page #nav .contact { background: url(../images/nav_hover.gif) left bottom no-repeat; }
body.services_page #nav .services { background: url(../images/nav_hover.gif) left bottom no-repeat; }
body.training_page #nav .training { background: url(../images/nav_hover.gif) left bottom no-repeat; }
body.writings_page #nav .writings { background: url(../images/nav_hover.gif) left bottom no-repeat; }

/* BODY */
#body:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }

/* FOOTER */
#footer { margin-top: 50px; padding: 20px 50px; }
#footer p { margin-bottom: 5px; color: #999; font-size: 12px; line-height: 15px; }
#footer p small { font-size: 12px; line-height: 15px; }
#footer p a { text-decoration: underline; color: #999; }
#footer p a:hover { color: #005885; }
#footer tr, #footer td { padding: 0; border: none; }

#footer table { margin-top: 5px; font-size: 10px; color: #999; }
#footer table th { border-bottom: none; }
#footer table td { border-bottom: none; }

/* CONTENT TITLE */
.content_title { float: left; padding-bottom: 10px; margin: 0 50px; width: 450px; }
.content_title h2 { color: #555; }

/* CONTENT */
.content { float: left; margin: 0 50px; width: 450px; }
.content ul { padding-left: 30px; font-size: 14px; }
.content ul li { margin-bottom: 0.5em; }

/* Testimonials */ 
.testimonials blockquote { display: block; padding: 10px; background: #eee; font-size: 16px; color: #333; -webkit-border-radius: 4px; border-radius: 4px; }
.testimonials span { font-weight: bold; font-size: 18px; }
.testimonials p { font-size: 16px; }
.testimonials .attribution { font-weight: bold; font-size 18px; text-align: right; margin-top: 2px; margin-bottom: 0; padding: 0; }

/* PostgreSQL Tuning article */ 
.pgtuning li em { font-weight: bold; }
table#pgtuningtable tbody tr td { font-weight: normal; font-size: 14px; }

/* SIDEBAR */
.sidebar { float: left; margin-right: 20px; width: 210px; }
.sidebar h1 { font-size: 20px; line-height: 25px; }
.sidebar h2 { font-size: 20px; line-height: 25px; }
.sidebar h3 { font-size: 18px; line-height: 23px; }
.sidebar h4 { font-size: 18px; line-height: 23px; }
.sidebar h5 { font-size: 16px; line-height: 20px; }
.sidebar h6 { font-size: 16px; line-height: 20px; }
.sidebar ul { list-style: none; padding-left: 0; }
.sidebar .press .item h4 { margin-bottom: 0; font-size: 14px; line-height: 20px; }
.sidebar .press .item p  { font-size: 13px; color: #777; }

/* STORY LIST */
.story_list { margin-bottom: 20px; }
.story_list .title { font-size: 15px; line-height: 20px; }
.story_list .date { margin-bottom: 0; font-size: 12px; line-height: 20px; color: #999; }
.story_list .tease { font-size: 13px; line-height: 20px; color: #777; }

/* DJANGO PLANS PAGE */
table.plans { width: 600px; }
table.plans th, table.plans td { font-size: 14px; }
table.plans thead th { font-weight: bold; text-align: center; }
table.plans tbody th { text-align: right; font-weight: bold; }
table.plans tbody td { font-weight: normal; text-align: left; }

/* BLOG STUFF */ 
div.entry-brief div { font-size: 12px; } 
div.entry-brief p { font-size: 12px; } 
div.entry-brief h3 a { text-decoration: underline; } 
