html, body {
    color: #f2f2f2;
    font-family: Arial, sans-serif;
    font-size: 16px;
    background: url(../images/background-gradient.png) repeat-x #001b2c;
    background-attachment: fixed;
    line-height: 1.5em;
    min-height: 100%;
    height: 100%
}

.clear { clear: both; }
.float-left { float: left; }
.float-right { float: right; }
.align-center { text-align: center; }

a:link, a:hover, a:active, a:visited {
    color: #7084a1;
    text-decoration: none;
}

a:hover {
    color: #f2f2f2;
}

input.button,
a.button {
    padding: 2px 5px;
    color: #7084a1;
    background: #001b2c;
    border: 2px solid #7084a1;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

input.button:hover,
a.button:hover {
    background: #193051;
    color: #f2f2f2;
    border: 2px solid #f2f2f2;
    cursor: pointer;
}

h1 {
    color: #7083a1;
    font-size: 38px;
    font-weight: normal;
    letter-spacing: -1px;
    margin-bottom: 1em;
    line-height: 1em;
}

p {
    margin-bottom: 2em;
}

/* header */
#header-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-width: 970px;
    height: 35px;
    background: url(../images/header-bg.png) repeat-x;
    z-index: 100;
}

#header {
    width: 950px; /* 970px */
    margin: 0 auto;
    padding: 0 10px;
}

#header a#logo {
    display: block;
    float: left;
    text-indent: -9999px;
    width: 201px;
    height: 35px;
    background: url(../images/digitaldreamer.png) no-repeat;
    background-position: 0 0;
}

#header a#logo:hover {
    background-position: 0 -35px;
}

#header ul#navigation {
    display: block;
    float: right;
    font-size: 12px;
}

#header ul#navigation li {
    display: block;
    float: left;
    position: relative;
}


#header ul#navigation li a {
    display: block;
    height: 35px;
    line-height: 35px;
    padding: 0 10px;
    background: url(../images/header-bg.png) repeat-x;
}

#header ul#navigation li.active a:link,
#header ul#navigation li.active a:active,
#header ul#navigation li.active a:visited,
#header ul#navigation li.active a:hover {
    color: #001b2c;
    background-position: 0 -35px;
}

#header ul#navigation li a:link,
#header ul#navigation li a:visited,
#header ul#navigation li a:active {
    color: #f2f2f2;
}

#header ul#navigation li:hover a:link,
#header ul#navigation li:hover a:active,
#header ul#navigation li:hover a:visited {
    color: #001b2c;
    background-position: 0 -35px;
}

#header ul#navigation li:hover a:hover {
    color: #f2f2f2;
    background-position: 0 -70px;
}


#header ul#navigation li ul {
    display: none;
    position: absolute;
    right: -13px;
    top: 35px;
    z-index: 100;
    width: 176px;
    padding-bottom: 13px;
    background: url(../images/subnav-bottom.png) no-repeat left bottom;
}

#header ul#navigation li:hover ul {
    display: block;
}

#header ul#navigation li ul li {
    display: block;
    float: none;
}

#header ul#navigation li ul li a {
    display: block;
    text-align: right;
    width: 130px;
    padding-left: 23px;
    padding-right: 23px;
    overflow: hidden;
    background: url(../images/subnav-middle.png) repeat-y;
}

#header ul#navigation li ul li a:link,
#header ul#navigation li ul li a:active,
#header ul#navigation li ul li a:visited {
    color: #001b2c;
}

#header ul#navigation li:hover ul li a:hover {
    color: #f2f2f2;
    background: url(../images/subnav-middle-hover.png) repeat-y;
}

#header-search div {
    display: block;
    float: left;
    padding-top: 8px;
    margin-left: 120px;
}

#header-search-query {
    display: block;
    color: #7084a1;
    float: left;
    width: 200px;
    height: 20px;
    line-height: 20px;
    border: 0;
    padding: 0;
    margin: 0;
    margin-right: 4px;
    background: #193051;
    padding: 0 3px;
}

#header-search-submit {
    display: block;
    border: 0;
    color: #193051;
    float: left;
    width: 23px;
    height: 20px;
    text-indent: -9999px;
    font-size: 1px;
    background: url(../images/search-btn.png);
    cursor: pointer;
}

#header-search-submit:hover {
    background-position: 0 -20px;
}
/* header */

/* footer */
#footer-container {
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 100;
    width: 100%;
    min-width: 970px;
    background: url(../images/footer-bg.png) repeat-x #f2f2f2;
    min-height: 70px;
    color: #383838;
}

#footer-container a:link,
#footer-container a:active,
#footer-container a:visited {
    color: #193051;
}

#footer-container a:hover {
    color: #7084a1;
}

#footer {
    width: 950px;
    margin: 10px auto;
    font-size: 12px;
    line-height: 1.5em;
}

#footer h1 {
    font-size: 24px;
    margin-bottom: 10px;
}

#footer #recent-posts {
    width: 300px;
    float: left;
}

#footer #popular-tags {
    width: 300px;
    float: left;
    text-align: center;
}

#footer #footer-social {
    float: right;
    width: 250px;
    text-align: center;
}

#footer #rss {
    float: right;
    margin-top: 0;
}

#footer-bottom {
    width: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    height: 20px;
    padding-top: 11px;
    background: url(../images/footer-bottom-gradient.png) repeat-x #ddd;
    font-size: 10px;
    text-align: center;
}

#footer-bottom ul {
    display: block;
    position: relative;
    width: 400px;
    margin: 0 auto;
}

#footer-bottom ul li {
    display: block;
    float: left;
    height: 20px;
    line-height: 20px;
    padding-left: 5px;
    margin-left: 5px;
    border-left: 1px solid #aaa;
}

#footer-bottom ul li.last {
    padding-right: 5px;
    border-right: 1px solid #aaa;
}
/* footer */

/* content */
#container {
    position: relative;
    width: 100%;
    min-height: 100%
}

#content-container {
    width: 950px; /* 970px */
    margin: 0 auto;
    padding: 85px 10px 200px;
    position: relative;
    z-index: 1;
}
/* content */

/* post */
.post img {
    display: block;
    margin: 0 auto;
    border: 8px solid #f2f2f2;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.post h1.title {
    position: relative;
    margin-bottom: 0;
    width: 875px;
}

.post h1.title .date {
    position: absolute;
    right: -72px;
    top: 2px;
    display: block;
    font-size: 16px;
    color: #f2f2f2;
    line-height: 1.1em;
}

.post h1.title .date .year {
    display: block;
    float: left;
}

.post h1.title .date .month {
    display: block;
    float: left;
    margin-right: 5px;
}

.post h1.title .date .day {
    color: #7084A1;
    font-size: 20px;
}

.post p.edited {
    font-size: 10px;
    font-style: italic;
}

.post pre {
    font-size: 12px;
    margin-bottom: 2em;
    background: #f2f2f2;
    color: #383838;
    padding: 20px;
    line-height: 1.2em;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

.post #addthis {
    float: right;
    margin-bottom: 2em;
}

ul#paginator li {
    display: block;
    float: left;
    margin-right: 4px;
    margin-bottom: 10px;
}

ul#paginator li a {
    padding: 2px 5px;
    color: #7084a1;
    background: #001b2c;
    border: 2px solid #7084a1;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

ul#paginator li a:hover {
    background: #193051;
    color: #f2f2f2;
    border: 2px solid #f2f2f2;
}

ul#paginator li a.active {
    background: transparent;
    border: 2px solid transparent;
}

ul#tags li {
    display: block;
    float: left;
    hight: 50px;
    margin-right: 10px;
    margin-bottom: 12px;
}
/* post */

/* archive */
#date-archive {
    width: 500px;
    float: left;
}

#tag-archive {
    width: 400px;
    float: left;
    margin-left: 50px;
}

ul.date {
    font-size: 24px;
    display: block;
    float: left;
    margin-right: 10px;
    margin-bottom: 30px;
    width: 140px;
}

ul.date li ul {
    font-size: 16px;
    margin-left: 20px;
}
/* archive */

/* search */
#search-container {
    width: 811px;
    margin: 0 auto 25px;
}

#search-container input#id_q {
    text-align: center;
    width: 781px; /* 811px */
    height: 57px; /* 82px */
    padding: 25px 15px 0;
    font-size: 24px;
    color: #7084a1;
    border: 0;
    background: url(../images/search-bg.png) no-repeat;
}

#search-container input#search-submit {
    float: right;
    margin-right: 13px;
}

#search p {
    margin-bottom: 10px;
}
/* search */

/* contact */
table#contact {
    width: 425px;
    margin: 0 auto;
}

table#contact td {
    padding-bottom: 10px;
}

table#contact th {
    text-align: right;
    padding-right: 10px;
    vertical-align: top;
}

table#contact label {
    font-weight: normal;
}

table#contact ul.errorlist {
    color: #7084a1;
    margin-bottom: 6px;
}

form#contact-form textarea,
form#contact-form input {
    color: #383838;
    width: 300px;
    padding: 6px;
    background: #f2f2f2;
    border: 0;
    -webkit-border-radius: 4px;
    -moz-border-radius: 4px;
    border-radius: 4px;
}

form#contact-form input.button {
    width: auto;
    padding: 2px 5px;
    color: #7084a1;
    background: #001b2c;
    border: 2px solid #7084a1;
}

form#contact-form input.button:hover {
    background: #193051;
    color: #f2f2f2;
    border: 2px solid #f2f2f2;
}
/* contact */

/* about */
#about h1.title {
    position: relative;
    background: url(../images/title-bg.png) no-repeat;
    text-align: center;
    width: 811px;
    height: 82px;
    line-height: 82px;
    margin: 0 auto;
    margin-bottom: -40px;
    z-index: 50;
}

#about p.box {
    position: relative;
    background: #f2f2f2;
    color: #383838;
    -webkit-border-radius: 20px;
    -moz-border-radius: 20px;
    border-radius: 20px;
    padding: 50px 20px 20px;
    margin-bottom: 50px;
    z-index: 25;
}

#about p.box a {
    padding-right: 10px;
}
#about p.box a:hover {
    color: #193051;
}
/* about */

