/* Copyright (c) 2010 Martin Doubravsky
 * Code licensed under CC Attribution 3.0:
 * http://creativecommons.org/licenses/by/3.0/
 *
 * http://martindoubravsky.com
 * http://twitter.com/matesd */
/* CSS3 gradient button by Web Designer Wall (http://www.webdesignerwall.com) */
/* Twitter bird icon by Meshkoff Design (http://www.meshkoff.com) */
/* Social icons by Productivedreams.com (http://www.productivedreams.com/) */
@import url(reset.css);
html {
  background: rgb(250,250,250); }

body {
  font: 100%/1.5 "museo-sans-1","museo-sans-2",Helvetica,Arial,sans-serif;
  /*-webkit-font-smoothing: antialiased; */
}

h1 {
  font-size: 3.3em;
  font-weight: 100;
  line-height: 1em;
  letter-spacing: -0.0757em;
  margin-bottom: 0.5em; }
  .rgba h1 {
    color: rgba(43, 30, 22, 0.5); }
  .no-rgba h1 {
    color: #928c88; }
  h1 span {
    position: relative; }
    h1 span span {
      position: absolute;
      width: 12px;
      height: 6px;
      left: 36%;
      top: 14px;
      background: transparent url(../img/hook.png) no-repeat 0 -10px;
      overflow: hidden; }
  h1 em {
    display: block;
    font-size: 1.1em;
    font-weight: bold;
    font-style: normal;
    padding-bottom: 0.1em;
    color: #2b1e16; }
    h1 em span span {
      width: 20px;
      height: 9px;
      left: 7px;
      background-position: 0 0; }

h2 {
  font-size: 1.5em;
  margin-bottom: 1em;
  text-shadow: 0 1px 1px rgba(198, 193, 189, 0.3); }

p, ol, ul {
  font-size: 0.875em;
  font-weight: 500; }

p {
  padding-bottom: 1.5em; }

header ul {
  font-size: 0.875em;
  padding-bottom: 2em; }

footer ul, footer p {
  font-weight: 300;
  text-shadow: 0 1px 1px #000; }

label {
  font-weight: 500; }
  label input, label textarea {
    font: 0.75em Helvetica,Arial,sans-serif; }
  label input {
    height: 1.618em; }

.blind {
  position: absolute;
  left: 0;
  top: -10000px;
  height: 1px;
  overflow: hidden; }

a {
  text-decoration: none;
  color: #1a52ba; }
  a:hover, a:focus {
    text-decoration: underline; }

#page, footer div {
  width: 960px;
  max-width: 98%;
  min-width: 680px;
  margin: 0 auto;
  padding-top: 50px; }

.contact #page {
  overflow: hidden; }

header > a {
  position: fixed;
  top: 0;
  margin-left: -115px;
  padding: 40px 15px 15px;
  background-color: #2b1e16; }
  .borderradius header > a {
    border-bottom-right-radius: 0.618em;
    -moz-border-radius-bottomright: 0.618em;
    -webkit-border-bottom-right-radius: 0.618em;
    border-bottom-left-radius: 0.618em;
    -moz-border-radius-bottomleft: 0.618em;
    -webkit-border-bottom-left-radius: 0.618em; }
  .boxshadow header > a {
    -webkit-box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2);
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.2); }
  .cssgradients header > a {
    background: -webkit-gradient(linear, left top, left bottom, from(#2b1e16), to(#17120f));
    background: -moz-linear-gradient(top, #2b1e16, #17120f); }
  .csstransitions header > a img {
    -webkit-transition: all 0.2s ease-in;
    -moz-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in; }
  .csstransforms header > a img:hover {
    -moz-transform: scale(1.1) rotate(-30deg);
    -webkit-transform: scale(1.1) rotate(-30deg);
    transform: scale(1.1) rotate(-30deg); }

label, textarea {
  display: block; }

#getintouch, #twitter, footer section {
  display: inline-block;
  width: 49%;
  vertical-align: top; }

.hp header {
  background: transparent url(../img/cartoon.jpg) no-repeat right top; }

header nav {
  overflow: hidden;
  width: 100%;
  margin-bottom: 1em; }
  header nav ul {
    float: left; }
  header nav ul + ul {
    float: right; }
    header nav ul + ul li {
      margin: 0; }
  header nav li {
    display: inline-block;
    margin-right: 0.5em; }
  header nav a {
    display: block;
    padding: 0 1em;
    line-height: 2.3em;
    text-decoration: none;
    color: #2b1e16; }
    .borderradius header nav a {
      border-radius: 0.7em;
      -moz-border-radius: 0.7em;
      -webkit-border-radius: 0.7em; }
    .csstransitions header nav a {
      -webkit-transition: all 0.1s ease-in-out;
      -moz-transition: all 0.1s ease-in-out;
      transition: all 0.1s ease-in-out; }
    .rgba header nav a:hover, .rgba header nav a:focus {
      background-color: rgba(43, 30, 22, 0.5); }
    .no-rgba header nav a:hover, .no-rgba header nav a:focus {
      background-color: #c6c1bd; }
    header nav a:hover, header nav a:focus, header nav a.active {
      color: white;
      text-shadow: 0 1px 1px !dark_color;
      text-decoration: none; }
      .boxshadow header nav a:hover, .boxshadow header nav a:focus, .boxshadow header nav a.active {
        -webkit-box-shadow: 0 1px 0 #c6c1bd;
        -moz-box-shadow: 0 1px 0 #c6c1bd;
        box-shadow: 0 1px 0 #c6c1bd; }
    header nav a.active {
      background-color: #2b1e16; }

hr {
  height: 0.3em;
  margin: 2em 0;
  border: none;
  background-color: #2b1e16;
  color: #2b1e16; }
  .boxshadow hr {
    -webkit-box-shadow: 0 0 1px black;
    -moz-box-shadow: 0 0 1px black;
    box-shadow: 0 0 1px black; }

#portfolio ul {
  padding-bottom: 0;
  text-align: center; }
#portfolio li {
  display: inline-block;
  width: 32%;
  vertical-align: top;
  text-align: left;
  margin-left: 10px;
  padding-bottom: 3em; }
  #portfolio li a img {
    display: block;
    width: 95%;
    padding: 5px;
    border: 1px solid;
    background: white; }
    .rgba #portfolio li a img {
      border-color: rgba(198, 193, 189, 0.3); }
    .no-rgba #portfolio li a img {
      border-color: #c6c1bd; }
  #portfolio li a:hover img, #portfolio li a:focus img {
    border-color: #2b1e16; }
    .boxshadow #portfolio li a:hover img, .boxshadow #portfolio li a:focus img {
      -webkit-box-shadow: 0 0 4px #2b1e16;
      -moz-box-shadow: 0 0 4px #2b1e16;
      box-shadow: 0 0 4px #2b1e16; }
  #portfolio li:first-child {
    margin-left: 0; }
  .csstransitions #portfolio li {
    -webkit-transition: all 0.2s ease-in;
    -moz-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in; }
  .csstransforms #portfolio li:hover, .csstransforms #portfolio li:focus {
    -moz-transform: scale(1.05);
    -webkit-transform: scale(1.05);
    transform: scale(1.05); }
.hp #portfolio {
  margin-bottom: 0; }
  .hp #portfolio li {
    padding-bottom: 0; }

cite a {
  display: block; }

#getintouch {
  float: left; }

label {
  position: relative;
  margin-bottom: 0.4em; }
  label span {
    display: inline-block;
    width: 20%;
    margin-right: 3%; }
  label input {
    width: 50%; }
  .hp label.textarea span {
    display: none; }
  label.textarea textarea {
    width: 73%; }
  label input, label textarea {
    border: 2px solid; }
    .rgba label input, .rgba label textarea {
      border-color: rgba(198, 193, 189, 0.3); }
    .no-rgba label input, .no-rgba label textarea {
      border-color: #c6c1bd; }
    .borderradius label input, .borderradius label textarea {
      border-radius: 0.2em;
      -moz-border-radius: 0.2em;
      -webkit-border-radius: 0.2em; }
    label input:hover, label textarea:hover {
      border-color: #c6c1bd; }
      .boxshadow label input:hover, .boxshadow label textarea:hover {
        -webkit-box-shadow: 0 0 3px #c6c1bd;
        -moz-box-shadow: 0 0 3px #c6c1bd;
        box-shadow: 0 0 3px #c6c1bd; }
    label input:focus, label textarea:focus {
      border-color: #2b1e16; }
      .boxshadow label input:focus, .boxshadow label textarea:focus {
        -webkit-box-shadow: 0 0 2px #2b1e16;
        -moz-box-shadow: 0 0 2px #2b1e16;
        box-shadow: 0 0 2px #2b1e16; }
      .boxshadow label input:focus, .boxshadow label textarea:focus {
        outline: none; }

form p.error {
  position: absolute;
  left: 76%;
  top: -11px;
  width: 16px;
  white-space: nowrap;
  line-height: 1.918em;
  text-indent: -2000px;
  background: transparent url(../img/error.png) no-repeat 0 center;
  color: #d8000c;
  z-index: 10; }
  .borderradius form p.error {
    border-radius: 0.5em;
    -moz-border-radius: 0.5em;
    -webkit-border-radius: 0.5em; }
  form p.error + input {
    border-color: #d8000c; }
    .boxshadow form p.error + input {
      -webkit-box-shadow: 0 0 3px #d8000c;
      -moz-box-shadow: 0 0 3px #d8000c;
      box-shadow: 0 0 3px #d8000c; }

input[type="submit"] {
  padding: 0.5em 2em 0.5em;
  margin-top: 0.618em;
  border: none;
  outline: none;
  color: white;
  cursor: pointer;
  font-weight: 500;
  background: #f78d1d;
  text-shadow: 0 1px 1px rgba(0,0,0,.3); }
  .cssgradients input[type="submit"] {
    background: -webkit-gradient(linear, left top, left bottom, from(#faa51a), to(#f47a20));
    background: -moz-linear-gradient(top, #faa51a, #f47a20); }
  .borderradius input[type="submit"] {
    border-radius: 0.5em;
    -moz-border-radius: 0.5em;
    -webkit-border-radius: 0.5em; }
  .boxshadow input[type="submit"] {
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); }
  input[type="submit"]:hover {
    background: #f47c20; }
    .cssgradients input[type="submit"]:hover {
      background: -webkit-gradient(linear, left top, left bottom, from(#f88e11), to(#f06015));
      background: -moz-linear-gradient(top, #f88e11, #f06015); }
  input[type="submit"]:active {
    position: relative;
    top: 1px;
    color: #fcd3a5; }
    .cssgradients input[type="submit"]:active {
      background: -webkit-gradient(linear, left top, left bottom, from(#f47a20), to(#faa51a));
      background: -moz-linear-gradient(top, #f47a20, #faa51a); }

#twitter {
  float: right;
  background: transparent url(../img/twitter.png) no-repeat right top; }
  #twitter li {
    position: relative;
    padding: 1em;
    margin-bottom: 2em;
    text-shadow: 0 1px 1px white;
    filter: alpha(opacity = 90); }
    .rgba #twitter li {
      background-color: rgba(150, 150, 150, 0.1); }
    .no-rgba #twitter li {
      background-color: #f2f2f2; }
    .borderradius #twitter li {
      border-radius: 1em;
      -moz-border-radius: 1em;
      -webkit-border-radius: 1em; }
    #twitter li span {
      position: absolute;
      bottom: -13px;
      left: 30px;
      width: 24px;
      height: 13px;
      background: #f2f2f2 url(../img/tail.png) no-repeat left bottom; }
  #twitter li:nth-child(2) {
    opacity: 0.8; }
  #twitter li:nth-child(3) {
    opacity: 0.6; }
  #twitter p {
    text-align: right; }

#twitter, #getintouch, #portfolio, .vcard {
  margin-bottom: 4em; }

footer {
  background: url(../img/sideface.png) no-repeat right 30px;
  background-color: #17120f;
  color: white;
  clear: both; }
  footer a {
    color: #d3daf2; }
  footer hr {
    margin: 3em 0 2em;
    height: 1px; }

#sitemap {
  width: 61%; }
  #sitemap ul {
    width: 30%; }
  #sitemap li {
    line-height: 1.7em;
    border-bottom: 1px solid;
    border-bottom-color: #2b1e16; }

#social {
  width: 38%; }
  #social li {
    display: inline-block; }
    .csstransitions #social li {
      -webkit-transition: all 0.2s ease-in;
      -moz-transition: all 0.2s ease-in;
      transition: all 0.2s ease-in; }
    .csstransforms #social li:hover, .csstransforms #social li:focus {
      -moz-transform: scale(1.1);
      -webkit-transform: scale(1.1);
      transform: scale(1.1); }
    #social li span {
      display: none; }

#frm-contact_cs, #frm-contact_en {
  width: 55%;
  float: left; }
  #frm-contact_cs label span, #frm-contact_en label span {
    width: 23%;
    white-space: nowrap; }
  #frm-contact_cs label input, #frm-contact_en label input {
    width: 55%; }
  #frm-contact_cs label textarea, #frm-contact_en label textarea {
    width: 81%; }
  #frm-contact_cs .error, #frm-contact_en .error {
    left: 83%; }

fieldset + fieldset {
  margin-top: 1em;
  padding-top: 1.3em;
  border-top: 1px dotted rgba(198, 193, 189, 0.3); }

aside {
  float: right;
  width: 37%; }
  aside img {
    float: right; }
  aside .vcard p:first-child {
    padding-bottom: 3em; }

.vcard span .type {
  display: none; }
  .vcard span .type h2 {
    margin-bottom: 0.5em; }

a[rel="vcard"] {
  display: inline-block;
  background: transparent url(../img/vcard.png) no-repeat left top;
  padding-left: 35px; }

.flash, ul.error {
  font-size: 4.5em;
  line-height: 1em;
  margin-bottom: 0.4em;
  padding: 0.5em;
  text-align: center;
  text-shadow: 0 1px 5px rgb(0,0,0); }
  .boxshadow .flash, .boxshadow ul.error {
    -webkit-box-shadow: 0 1px 1px #2b1e16;
    -moz-box-shadow: 0 1px 1px #2b1e16;
    box-shadow: 0 1px 1px #2b1e16; }
  .borderradius .flash, .borderradius ul.error {
    border-radius: 0.25em;
    -moz-border-radius: 0.25em;
    -webkit-border-radius: 0.25em; }
  .flash.info, ul.error.info {
    background: rgb(0,255,0);
    color: white; }
    .cssgradients .flash.info, .cssgradients ul.error.info {
      background: -webkit-gradient(linear, left top, left bottom, from(lime), to(#049604));
      background: -moz-linear-gradient(top, lime, #049604); }

.flash.error, ul.error {
  background: #d8000c;
  color: white; }
  .cssgradients .flash.error, .cssgradients ul.error {
    background: -webkit-gradient(linear, left top, left bottom, from(#d8000c), to(#640b15));
    background: -moz-linear-gradient(top, #d8000c, #640b15); }

ul.error {
  font-size: 1em; }

.flash + hr {
  display: none; }

#page.error {
  height: 600px;
  background: transparent url(../img/homer-doh.png) no-repeat right top; }
  #page.error h1 {
    font-size: 8em;
    font-weight: bold;
    color: #7b030a; }
  #page.error.e500 {
    background-image: url(../img/homer.jpg);
    background-position: right 50px; }

#typekit-badge-xok0zxi {
  opacity: 0.5;
  filter: alpha(opacity = 50); }
  #typekit-badge-xok0zxi:hover {
    opacity: 1;
    filter: alpha(opacity = 100); }
