/*

Title:      iamdanielmarino.com v6 styles
Author:     Daniel Marino
Revised:    May 2010

*/


/* Basic Elements
----------------------------------------------------------------------------------------------------*/

/* A font by Jos Buivenga (exljbris) -> http://www.exljbris.nl */
@font-face {
  font-family: 'Museo Serif';
  src: url(Museo-300.eot);
  src: local('Museo 300 Regular'), local('Museo 300'),
       url(Museo-300.ttf) format('truetype');
}

@font-face {
  font-family: "Clarendon";
  src: url(Clarendon.ttf);
}

a {
  color: #870a0f;
}

a:focus {
  outline: none;
}

blockquote {
  border-left: 2px solid #999;
  color: #999;
  font-style: italic;
  margin-left: 20px;
  padding-left: 10px;
}

body {
  background: url(background-gradient.png) 0 0 repeat-x,
              url(background.png) fixed repeat;
  color: #363636;
  font-family: helvetica, arial, geneva, sans-serif;
  font-size: 13px;
  line-height: 2;
}

img {
  display: block;
}

h2 {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 28px;
  font-weight: normal;
  line-height: 1;
  margin-bottom: 30px;
}

h3 {
  font-family: "Museo Serif", serif;
  font-size: 20px;
  font-weight: normal;
  margin-bottom: 30px;
}

h4 {
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 0;
}

ol, p, pre, ul {
  margin-bottom: 20px;
}

pre {
  background: #eaeaea;
  border-radius: 7px;
  padding: 12px 20px;
  overflow: auto;
  -moz-border-radius: 7px;
  -webkit-border-radius: 7px;
}

small {
  color: #838383;
  font-size: 11px;
}


/* Header
----------------------------------------------------------------------------------------------------*/

#top {
  padding-bottom: 20px;
  position: relative;
  height: 110px;
}

#top nav {
  position: absolute;
  right: 0;
  top: 59px;
}

#top nav li {
  float: left;
  margin-left: 25px;
}

#top nav li.active {
  background: transparent url(squiggle.png) center bottom no-repeat;
  padding-bottom: 15px;
}

#top nav li a {
  text-decoration: none;
  font-family: "Museo Serif", serif;
  font-size: 18px;
}

#top #logo {
  background: transparent url(logo.png) no-repeat;
  position: absolute;
  top: 50px;
}

#top #logo h1 a {
  display: block;
  height: 46px;
  overflow: hidden;
  text-indent: -5000px;
  width: 265px;
}

#top #logo h2 {
  margin: 0;
}

#top #logo h2 a {
  display: block;
  height: 0 !important;
  overflow: hidden;
  text-indent: -5000px;
  width: 0 !important;
}


/* Home Page
----------------------------------------------------------------------------------------------------*/

#hero {
  background: #fff url(ajax-loader.gif) 50% 50% no-repeat;
  height: 400px;
}

.slide {
  height: 400px;
  width: 940px;
}

.tweet {
  background: #fff url(bg-twitter.png) 40px 40px no-repeat;
}

.tweet div {
  left: 450px;
  position: absolute;
  width: 420px;
}

.tweet blockquote {
  border: none;
  color: #252525;
  font-family: "Clarendon", georgia, serif;
  font-size: 28px;
  font-style: normal;
  line-height: 1.3;
  margin: 0 0 10px 0;
  padding: 0;
}

.bookmark {
  background: #fff url(bg-delicious.png) 60px 0 no-repeat;
}

.bookmark div {
  left: 410px;
  position: absolute;
  width: 470px;
}

.bookmark div h2 {
  font-family: "Clarendon", georgia, serif;
  font-size: 28px;
  line-height: 1.2;
  margin-bottom: 15px;
}

.bookmark div p {
  font-size: 16px;
  line-height: 1.5;
}

.journal {
  background: #fff;
}

#pager {
  position: absolute;
  right: 30px;
  top: 350px;
  z-index: 50;
}

#pager a {
  background: rgba(0, 0, 0, .2);
  border-radius: 30px;
  -moz-border-radius: 30px;
  -webkit-border-radius: 30px;
  color: #fff;
  display: inline-block;
  font-family: "Clarendon", georgia, serif;
  font-size: 16px;
  height: 30px;
  line-height: 29px;
  margin-right: 5px;
  width: 30px;
  text-align: center;
  text-decoration: none;
}

#pager a.activeSlide {
  background: rgba(0, 0, 0, .8);
}

#hero-bottom {
  background: url(dots-horizontal.png) 0 0 repeat-x,
              url(dots-vertical.png) 309px 0 repeat-y,
              url(dots-vertical.png) 629px 0 repeat-y;
}

#hero-bottom p,
#hero-bottom ul,
#hero-bottom li:last-child {
  margin-bottom: 0;
}

#hero-bottom h3 {
  margin: 10px 0;
}

#hero-bottom img {
  border: 1px solid #ccc;
  float: left;
  margin-right: 10px;
  padding: 1px;
}

#hero-bottom ul {
  list-style: none;
}

#hero-bottom li {
  line-height: 1.5;
  margin-bottom: 7px;
  overflow: hidden;
}

#hero-bottom .extra-padding {
  padding: 10px 10px 20px;
}


/* Content
----------------------------------------------------------------------------------------------------*/

#comments,
#comment-form {
  background: transparent url(dots-horizontal.png) top repeat-x;
  padding-top: 7px;
}

#archived-entries,
#comments,
#comment-form,
.journal-entry {
  margin-bottom: 50px;
}

#comments h3,
#comment-form h3,
.comment {
  margin-bottom: 60px;
}

#content {
  background: #fff;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, .2);
  padding: 10px 0;
  position: relative;
  -moz-box-shadow: 0px 5px 15px rgba(0, 0, 0, .2);
  -webkit-box-shadow: 0px 5px 15px rgba(0, 0, 0, .2);
}

#main-content {
  padding-top: 25px;
}

#main-content.no-dots {
  background: none;
}

#main-content ol,
#main-content ul {
  margin-left: 40px;
}

.comment cite {
  display: block;
  font-size: 14px;
  font-style: normal;
  font-weight: bold;
  line-height: 8px;
}

.dots-border {
  background: transparent url(dots-vertical.png) 707px repeat-y;
  padding: 10px 0;
}

.journal-entry {
  position: relative;
}

.journal-entry header {
  margin-bottom: 20px;
}

.journal-entry h2 {
  margin-bottom: 5px;
}

.journal-entry h3 {
  margin: 30px 0 10px;
}

.journal-entry time {
  background: transparent url(subsequent-bookmark.png) no-repeat;
  color: #fff;
  height: 135px;
  left: -107px;
  line-height: 18px;
  overflow: hidden;
  padding-top: 21px;
  position: absolute;
  text-align: center;
  text-shadow: 0 -1px 2px rgba(0, 0, 0, .25);
  top: -19px;
  width: 82px;
}

.journal-entry:first-child time {
  background: transparent url(bookmark.png) no-repeat;
  left: -106px;
  padding-top: 55px;
  top: -56px;
}

.journal-entry:first-child time .date {
  margin-left: 5px;
  width: 69px;
}

.journal-entry:first-child time .month {
  margin-left: 5px;
  width: 69px;
}

.journal-entry time .date {
  display: block;
  font-family: "Clarendon", georgia, serif;
  font-size: 40px;
  letter-spacing: -3px;
  margin-left: 5px;
  width: 70px;
}

.journal-entry time .month {
  display: block;
  font-size: 9px;
  font-weight: bold;
  margin-left: 6px;
  text-transform: uppercase;
  width: 70px;
}

.journal-entry .meta {
  color: #838383;
  font-size: 12px;
  margin: 0;
}


/* Portfolio
----------------------------------------------------------------------------------------------------*/

#portfolio-content {
  padding-top: 35px;
}

.portfolio-nav {
  list-style: none;
  margin: 0;
}

.portfolio-nav img {
  background: #ccc;
  float: left;
  height: 40px;
  margin-right: 10px;
  width: 40px;
}

.portfolio-nav li {
  font-size: 11px;
  float: left;
  line-height: 16px;
  width: 140px;
  margin: 0 20px 20px 0;
}

.portfolio-nav li:nth-child(5n+5) {
  margin-right: 0;
}

.portfolio-nav strong {
  display: block;
  margin-top: 6px;
}

.portfolio-entry {
  background: transparent url(dots-horizontal.png) top repeat-x;
  margin: 40px 0 60px;
  padding-top: 27px;
}

.portfolio-entry .details {
  float: right;
  width: 220px;
}

.portfolio-entry .details h3 {
  margin-bottom: 20px;
}

.slideshow {
  position: relative;
}

.slideshow-controls {
  height: 391px;
  left: 7px;
  position: absolute;
  top: 7px;
  width: 526px;
  z-index: 5000;
}

.slideshow-images {
  border: 1px solid #ccc;
  border-radius: 7px;
  float: left;
  height: 403px;
  list-style: none;
  margin-right: 20px;
  width: 538px;
  -moz-border-radius: 7px;
  -webkit-border-radius: 7px;
}

.slideshow-images img {
  height: 391px;
  line-height: 391px;
  padding: 6px 0 0 6px;
  text-align: center;
  width: 526px;
}

.next,
.prev {
  background: transparent url(next.png) left center no-repeat;
  display: block;
  height: 35px;
  opacity: .75;
  overflow: hidden;
  position: absolute;
  right: 10px;
  text-indent: -5000px;
  top: 178px;
  width: 35px;
}

.prev {
  background: transparent url(prev.png) left center no-repeat;
  left: 10px;
}


/* Aside
----------------------------------------------------------------------------------------------------*/

aside {
  padding-top: 27px;
  margin-bottom: 31px;
}

aside h3 {
  margin-bottom: 20px;
}

aside h5,
aside p {
  margin-bottom: 0;
}

aside ol,
aside ul {
  list-style: none;
}

aside li {
  margin-bottom: 10px;
}

aside section {
  background: transparent url(dots-horizontal.png) bottom repeat-x;
  line-height: 20px;
  margin: 0 0 20px -20px;
  padding: 0 10px 2px 20px;
}

#back-to-top {
  background: transparent url(back-to-top.png) no-repeat;
  height: 38px;
  width: 81px;
  position: absolute;
  bottom: 10px;
  right: -9px;
}

#back-to-top a {
  display: block;
  height: 30px;
  overflow: hidden;
  text-indent: -5000px;
  width: 81px;
}

#elsewhere li {
  display: inline-block;
  float: left;
  width: 50%;
}


/* Footer
----------------------------------------------------------------------------------------------------*/

#bottom {
  color: #838383;
  font-size: 11px;
  padding-top: 20px;
  text-align: center;
}


/* Forms
----------------------------------------------------------------------------------------------------*/

#ContactForm {
  background: #efefef;
  border-radius: 7px;
  padding: 15px;
  -moz-border-radius: 7px;
  -webkit-border-radius: 7px;
}

label {
  display: 75px;
  float: left;
  font-weight: bold;
  line-height: 30px;
  margin-right: 15px;
  width: 80px;
}

legend {
  display: none;
}

input[type=text], textarea {
  background: #fff url(background-gradient.png) top repeat-x;
  border: 1px solid #ccc;
  border-radius: 7px;
  color: #363636;
  display: block;
  float: left;
  font-size: 13px;
  font-family: helvetica, arial, geneva, sans-serif;
  line-height: 18px;
  margin-bottom: 15px;
  outline: none;
  padding: 6px 8px;
  width: 397px;
  -moz-border-radius: 7px;
  -webkit-border-radius: 7px;
}

input[type=text]:focus, textarea:focus {
  background: #fff;
  box-shadow: 0 0 5px rgba(0, 0, 0, .15);
  -moz-box-shadow: 0 0 5px rgba(0, 0, 0, .15);
  -webkit-box-shadow: 0 0 5px rgba(0, 0, 0, .15);
}

input[type=submit] {
  margin-left: 95px;
}




/* Form Errors
----------------------------------------------------------------------------------------------------*/

#main-content ul.comments_error {
  color: #e1141d;
  margin-left: 110px;
}

input.comments_error,
textarea.comments_error {
  background: #f9d0d2;
  border: 1px solid #e1141d;
}


/* Tables
----------------------------------------------------------------------------------------------------*/

table {
  border-collapse: collapse;
  margin-bottom: 20px;
  width: 100%;
}

td, th {
  border-top: 1px dotted #ccc;
  line-height: 30px;
  padding: 0 10px;
  text-align: left;
}

th {
  background: #efefef;
}


/* Misc
----------------------------------------------------------------------------------------------------*/

img.left,
img.right {
  border: 1px solid #ccc;
  float: left;
  margin: 5px 20px 0 0;
  padding: 4px;
}

img.right {
  float: right;
  margin: 5px 0 0 20px;
}

#swagbucks img {
  float: left;
  margin: 2px 10px 0 0;
  padding: 4px;
}

.author {
  background: transparent url(author.png) no-repeat;
  margin-left: -104px;
  padding-left: 104px;
  margin-top: -12px;
  padding-top: 12px;
}

.icon {
  display: block;
  font-size: 11px;
  height: 17px;
  padding-left: 23px;
}

.delicious { background: transparent url(i-delicious.png) left 1px no-repeat; }
.dribbble { background: transparent url(i-dribbble.png) left 1px no-repeat; }
.feed { background: transparent url(i-feed.png) left 1px no-repeat; }
.github { background: transparent url(i-github.png) left 1px no-repeat; }
.lastfm { background: transparent url(i-lastfm.png) left 1px no-repeat; }
.linkedin { background: transparent url(i-linkedin.png) left 1px no-repeat; }
.readernaut { background: transparent url(i-readernaut.png) left 1px no-repeat; }
.swagbucks { background: transparent url(i-swagbucks.gif) left 1px no-repeat; }
.twitter { background: transparent url(i-twitter.png) left 1px no-repeat; }

.comment time,
.small-datetime {
  display: block;
}

.comment time a,
.small-datetime,
.small-datetime a {
  color: #838383;
  font-size: 11px;
  text-decoration: none;
}

.no-background {
  background: none;
}