.rotate {
  -webkit-transform: rotate(-2deg);
  -moz-transform: rotate(-2deg);
}
html { overflow-y: scroll; }
body {
  background: url(../img/texture_bg.jpg) #f0ede6;
  font-family: "Courier New", "Courier", monospace;
  padding: 0;
  margin: 0;
}
h1, h2, h3, h4, h5 { margin: 0; }
h1 { font-size: 4em; }
h1 {
  color: #43260a;
  text-decoration: none !important;
}
h1 a {
  color: #43260a;
  text-decoration: none !important;
}
h1 a:hover { text-decoration: none !important; }
h2 {
  color: #7f5932;
  font-size: 1.2em;
}
h4 { font-size: 1em; }
a {
  color: #3f7a99;
  text-decoration: none;
  font-weight: bold;
}
a:hover { text-decoration: underline; }
a img { border: none; }
img.border { border: solid 1px #dfd7c5; }
.clear { clear: both; }
#site {
  width: 960px;
  margin: auto;
  position: relative;
}
nav, #barcode {
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  -webkit-box-shadow: 1px 1px 5px #cccccc;
  -moz-box-shadow: 1px 1px 5px #cccccc;
  box-shadow: 1px 1px 5px #cccccc;
  background-color: #ffffff;
}
.postcard {
  -webkit-box-shadow: 1px 1px 5px #cccccc;
  -moz-box-shadow: 1px 1px 5px #cccccc;
  box-shadow: 1px 1px 5px #cccccc;
}
#port_sample figure {
  -webkit-box-shadow: 1px 1px 5px #cccccc;
  -moz-box-shadow: 1px 1px 5px #cccccc;
  box-shadow: 1px 1px 5px #cccccc;
}
header {
  display: block;
  height: 160px;
  position: relative;
}
header h1 {
  position: absolute;
  top: 40px;
  left: 45px;
}
header h2 {
  position: absolute;
  top: 105px;
  left: 60px;
}
nav {
  margin: 10px;
  display: block;
  width: 280px;
  position: relative;
  float: left;
}
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
nav ul li {
  display: block;
  margin: 0;
  height: 74px;
  border-top: 1px solid #f0ede6;
}
nav ul li:first-child { border-top: none; }
nav ul li a {
  padding: 20px 0 0 90px;
  display: block;
  width: 190px;
  height: 54px;
  background-image: url(../img/nav_sprites.png);
  background-repeat: no-repeat;
  text-decoration: none !important;
}
nav ul li span.main {
  display: block;
  color: #3f7a99;
  font-size: 20px;
}
nav ul li span.sub {
  display: block;
  font-size: 14px;
  color: #7f5932;
  line-height: 100%;
}
#nav_referrals a { background-position: -281px 0; }
#nav_referrals a:hover { background-position: 0 0; }
#nav_referral li.selected a { background-position: 0 0; }
#nav_objective a { background-position: -281px -74px; }
#nav_objective a:hover { background-position: 0 -74px; }
#nav_portfolio a { background-position: -281px -148px; }
#nav_portfolio a:hover { background-position: 0 -148px; }
#nav_resume a { background-position: -281px -222px; }
#nav_resume a:hover { background-position: 0 -222px; }
#nav_contact a { background-position: -281px -296px; }
#nav_contact a:hover { background-position: 0 -296px; }
footer {
  text-align: center;
  display: block;
  clear: both;
  color: #dfd7c5;
  font-size: 0.8em;
  width: 960px;
  position: relative;
}
#barcode {
  width: 484px;
  height: 45px;
  position: relative;
  margin: 0 auto 10px;
  background-image: url('../img/barcode.png');
  background-position: center;
  background-repeat: no-repeat;
}
.postcard {
  width: 640px;
  height: 390px;
  background: #ffffff;
  float: left;
  margin: 0 0 30px 10px;
  position: relative;
  border: 1px solid #dfd7c5;
}
#home_sub {
  clear: both;
  display: block;
  position: relative;
  width: 960px;
}
#port_sample {
  display: block;
  float: left;
  width: 480px;
}
#port_sample .more {
  width: 325px;
  margin: 20px auto;
}
#ref_sample {
  display: block;
  float: left;
  width: 480px;
}
#ref_sample .more {
  width: 325px;
  margin: 20px auto;
}
#port_sample figure {
  display: block;
  padding: 9px 11px 11px 9px;
  background: #ffffff;
  border: 1px solid #dfd7c5;
  width: 325px;
  height: 210px;
  margin: auto;
}
#port_sample figure a {
  position: absolute;
  z-index: 20;
  display: block;
  width: 325px;
  height: 210px;
  border: 1px solid #dfd7c5;
}
#home_envelope {
  width: 640px;
  height: 390px;
  margin: 0 0 30px 10px;
  background: url('../img/homepage_card.png');
  -moz-border-radius: 10px;
  -webkit-border-radius: 10px;
  border-radius: 10px;
  -webkit-box-shadow: 1px 1px 5px #cccccc;
  -moz-box-shadow: 1px 1px 5px #cccccc;
  box-shadow: 1px 1px 5px #cccccc;
  float: left;
}
.more {
  background: url('../img/arrow.png') center left no-repeat;
  position: relative;
  min-height: 20px;
  font-size: 16px;
}
.more a {
  display: block;
  height: 100%;
  text-decoration: none !important;
  color: #3f7a99;
  padding: 2px 0 0 25px;
}
#ref_sample .source {
  text-align: right;
  width: 325px;
  margin: auto;
  color: #43260a;
}
#ref_sample blockquote {
  width: 340px;
  padding: 14px;
  margin: auto;
  min-height: 140px;
  font-size: 18px;
  background: url('../img/quote_bg.png') no-repeat;
  color: #7f5932;
}
.source .name { display: block; }
.source .source .title { color: #7f5932; }
#home_sub .vr {
  position: absolute;
  width: 50%;
  top: 15%;
  height: 70%;
  left: 0;
  border-right: 2px solid #cfc4a8;
}
#referral { margin-bottom: 20px; }
#referral #referrals { padding-top: 8px; }
#referral #referrals .referral {
  padding: 24px 0px;
  clear: both;
  font-size: 12px;
}
#referral #referrals .referral .name {
  font-size: 14px;
  font-weight: bold;
}
#referral #referrals .referral .title {
  font-size: 12px;
  font-weight: normal;
}
#referral #referrals .referral .more {
  margin-top: 24px;
  margin-left: 45px;
  position: relative;
  top: -7px;
}
#port_items {
  color: #43260a;
  position: relative;
  margin: auto;
  clear: both;
  width: 800px;
  padding-top: 25px;
}
#port_items .view_top .switcher a {
  background-image: url(../img/switch_r.png);
  background-position: top right;
}
#port_items .view_top .switcher a:hover { background-position: bottom right; }
#port_items .view_top .back {
  z-index: 1;
  bottom: 0px;
  left: 0px;
  -webkit-transform: rotate(-2deg);
  -moz-transform: rotate(-2deg);
}
#port_items .view_top .front {
  z-index: 5;
  right: 0px;
  top: 0px;
}
#port_items .desc_top .switcher a {
  background-image: url(../img/switch_r.png);
  background-position: top left;
}
#port_items .desc_top .switcher a:hover { background-position: bottom left; }
#port_items .desc_top .front {
  z-index: 1;
  bottom: 0px;
  left: 0px;
  -webkit-transform: rotate(-2deg);
  -moz-transform: rotate(-2deg);
}
#port_items .desc_top .back {
  z-index: 5;
  right: 0px;
  top: 0px;
}
#port_items .portfolio_item {
  width: 800px;
  height: 475px;
  position: relative;
  margin-bottom: 25px;
}
#port_items .portfolio_item p {
  text-indent: 2em;
  margin: 0 0 10px;
}
#port_items .portfolio_item .back { background: #fcf9f3; }
#port_items .portfolio_item .front { background: #ffffff; }
#port_items .portfolio_item .back {
  width: 650px;
  height: 400px;
  padding: 15px;
  border: 1px solid #dfd7c5;
  -webkit-box-shadow: 1px 1px 5px #cccccc;
  -moz-box-shadow: 1px 1px 5px #cccccc;
  box-shadow: 1px 1px 5px #cccccc;
  position: absolute;
}
#port_items .portfolio_item .front {
  width: 650px;
  height: 400px;
  padding: 15px;
  border: 1px solid #dfd7c5;
  -webkit-box-shadow: 1px 1px 5px #cccccc;
  -moz-box-shadow: 1px 1px 5px #cccccc;
  box-shadow: 1px 1px 5px #cccccc;
  position: absolute;
}
#port_items .portfolio_item .switcher {
  width: 85px;
  height: 50px;
  position: absolute;
  top: 0px;
  left: 30px;
}
#port_items .portfolio_item .switcher a {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  line-height: 5000%;
}
#port_items .portfolio_item .port_description { font-size: 12px; }
#port_items .portfolio_item .port_description .vr {
  width: 440px;
  height: 300px;
  top: 70px;
  left: 0;
  border-right: 1px solid #dfd7c5;
  position: absolute;
  z-index: 30;
}
#port_items .portfolio_item .port_description .left {
  display: block;
  width: 440px;
  height: 400px;
  position: absolute;
  left: 0px;
}
#port_items .portfolio_item .port_description .left > * { position: absolute; }
#port_items .portfolio_item .port_description .left .title {
  left: 22px;
  top: 18px;
  border-top: 1px solid #43260a;
  border-bottom: 1px solid #43260a;
  padding: 3px;
}
#port_items .portfolio_item .port_description .left .title .project_title { font-size: 18px; }
#port_items .portfolio_item .port_description .left .title .date {
  position: absolute;
  top: -14px;
  right: 0px;
}
#port_items .portfolio_item .port_description .left .address {
  top: 18px;
  right: 15px;
  text-align: right;
  font-size: 12px;
}
#port_items .portfolio_item .port_description .left .description {
  width: 390px;
  top: 55px;
  left: 30px;
  max-height: 295px;
}
#port_items .portfolio_item .port_description .left .port_item_foot {
  left: 30px;
  bottom: 5px;
  font-size: 14px;
  z-index: 40;
}
#port_items .portfolio_item .port_description .right {
  display: block;
  width: 210px;
  height: 400px;
  position: absolute;
  right: 0px;
}
#port_items .portfolio_item .port_description .right .address {
  position: absolute;
  top: 150px;
  left: 30px;
}
#port_items .portfolio_item .port_description .right .address .name { font-size: 14px; }
#port_items .portfolio_item .port_description .right .more {
  position: absolute;
  bottom: 10px;
  right: 40px;
}
.back .address {
  height: 300px;
  width: 230px;
  position: absolute;
  top: 45px;
  right: 0px;
  border-left: 1px solid #dfd7c5;
  display: block;
}
.back .address .text {
  font-size: 12px;
  top: 110px;
  left: 10px;
  position: absolute;
}
.notebook {
  width: 545px;
  height: 745px;
  padding: 63px 17px 22px 78px;
  background: url(../img/full_notebook.png) no-repeat;
  float: left;
  line-height: 24px;
  margin-bottom: 20px;
}
.full {
  background: url(../img/full_notebook_2.png) no-repeat;
  font-size: 13px;
}
.full h2 { line-height: normal; }
.full p {
  text-indent: 25px;
  margin: 15px 0;
  line-height: 15px !important;
}
#contact {
  position: absolute;
  top: 70px;
  left: 55px;
}
#contact form {
  display: block;
  width: 305px;
  height: 185px;
  background: url(../img/contact_sprites.png) 0px 0px no-repeat;
  font-size: 12px;
}
#contact form .input {
  padding: 8px 0px 2px 15px;
  clear: both;
  margin: 0px;
}
#contact form .input.text input {
  width: 200px;
  background: transparent;
  border: none;
}
#contact form label {
  display: block;
  float: left;
  width: 72px;
  padding-right: 0px;
  font-size: 14px;
}
#contact form .textarea { padding: 10px 0px 2px 15px; }
#contact form textarea {
  float: left;
  width: 200px;
  max-width: 200px;
  height: 108px;
  max-height: 108px;
  background: transparent;
  border: none;
}
#contact form .submit {
  padding-top: 20px;
  width: 120px;
  float: right;
}
#contact form .submit input {
  text-indent: -65px;
  width: 112px;
  height: 30px;
  cursor: pointer;
  border: 0;
  background: transparent;
  font-family: "Courier New", "Courier", monospace;
  font-weight: bold;
  font-size: 1.2em;
  background: url(../img/contact_sprites.png) -305px 0px no-repeat;
  color: inherit;
}
#resume {
  width: 510px;
  height: 205px;
  padding: 60px 52px 325px 88px;
  background: url(../img/full_envelope.png);
  float: left;
}

