/* ----------------------------------------------------------------------

   GENERIC DEFINITIONS

---------------------------------------------------------------------- */
.clearfix:after {
  clear: both; }

.clearfix:before, .clearfix:after {
  content: "";
  display: table; }

* {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0; }

/* prevents from mobiles safaris own styling, e.g. form controls*/
* {
  -webkit-appearance: none; }

.al-right {
  text-align: right; }

.ie-only {
  display: none; }

/* -----------------------------------
   border radius stuff
----------------------------------- */
/* symmetric */
.corners-top {
  border-radius: 16px 16px 3px 3px !important; }

.corners-bottom {
  border-radius: 3px 3px 16px 16px !important; }

.corners-first {
  border-radius: 16px 3px 3px 16px !important; }

.corners-middle {
  border-radius: 3px 3px 3px 3px !important; }

.corners-last {
  border-radius: 3px 16px 16px 3px !important; }

/* asymmetric */
/*
.corners-top {border-radius: 16px 3px 3px 3px !important}
.corners-bottom {border-radius: 3px 3px 16px 3px !important}
.corners-first {border-radius: 16px 3px 3px 3px !important}
.corners-middle {border-radius: 3px 3px 3px 3px !important}
.corners-last {border-radius: 3px 3px 16px 3px !important}
*/
/* -----------------------------------
   Typo
----------------------------------- */
* {
  line-height: 1.4em; }

body {
  color: #221010;
  /*font-size: 87.5%;*/
  text-shadow: 0 1px 1px white;
  text-rendering: optimizeLegibility; }

body, input, textarea {
  font-family: 'Droid Serif', Georgia, Times, serif;
  font-size: 1em; }

h1, h2, h3 {
  font-family: 'PT Sans', Helvetica, Arial, sans; }

.handwritten {
  font-family: 'Montaga', cursive; }

.button, .work .over {
  font-family: 'PT Sans', Helvetica, Arial, sans;
  font-size: 1em;
  font-weight: bold;
  text-transform: uppercase; }

#container > header > nav > ul > li > a {
  font-family: 'PT Sans', Helvetica, Arial, sans;
  font-size: 1em;
  font-weight: bold;
  text-transform: uppercase; }

body > header, body > footer {
  font-family: 'PT Sans', Helvetica, Arial, sans;
  text-shadow: none; }

h1 {
  font-size: 1.6em;
  font-weight: bold; }

h2 {
  font-size: 1.2em;
  font-weight: bold; }

h3 {
  font-size: 1.0em;
  font-weight: normal; }

a {
  padding: 0;
  text-decoration: none;
  color: #ff4500;
  border-bottom: 1px dotted #ff4500; }

.button {
  display: block;
  text-align: center;
  text-decoration: none;
  width: 100%;
  margin: 10px auto;
  background-color: #221010;
  color: white;
  border-radius: 15px;
  border: none;
  padding: 12px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5); }

.button.hire-button {
  padding: 15px;
  font-size: 1.1em;
  border-radius: 17px;
  background-color: #ff4500;
  color: white; }

.button.disabled {
  background-color: #aaa;
  pointer-events: none;
  cursor: default; }

.spinnerCont {
  display: inline-block;
  width: 30px;
  height: 20px;
  position: relative;
  top: 4px; }

.disabled {
  opacity: 0.7;
  pointer-events: none;
  cursor: default; }

* {
  behavior: url(PIE.php); }

/* ================================================
   ANIMATED TRANSITIONS
   ================================================ */
.button {
  -webkit-transition: background-color 0.2s,color 0.2s;
  -moz-transition: background-color 0.2s,color 0.2s;
  transition: background-color 0.2s,color 0.2s; }

/* ----------------------------------------------------------------------

  Layout

---------------------------------------------------------------------- */
body {
  width: 100%;
  background: url("../../images/bg-texture.png") 50% 0 repeat, url("../../images/main-bg-stripe.png") 50% 0 repeat; }
  body > header.topbar, body > footer {
    background-color: #221010;
    color: white;
    width: 100%;
    z-index: 999;
    padding: 9px; }
  body > header.topbar {
    border-bottom: 2px dotted #e4e4e4; }
    body > header.topbar iframe.like {
      float: left;
      background-color: #221010; }
    body > header.topbar a {
      color: white; }
    body > header.topbar p {
      float: right;
      margin: 0; }
  body > footer {
    padding: 20px;
    border-top: 2px dotted #e4e4e4; }
    body > footer a {
      padding: 10px; }

/* Page */
#container {
  width: 96%;
  height: 100%;
  margin: 0 auto;
  position: relative;
  /* Page header */
  /* GENERIC navigatable divs */
  /* -----------------------------------
     Contact form
  ----------------------------------- */ }
  #container > header {
    text-align: center;
    position: relative;
    width: 100%;
    padding: 20px 0;
    /*box-shadow: 0 1px 16px rgba(0, 0, 0, 0.5); */ }
    #container > header > .logo {
      margin: 0 auto 10px;
      width: 120px;
      height: 120px;
      background: transparent url("./../../images/logo-png.png") no-repeat;
      background-size: 120px 120px; }
    #container > header > hgroup {
      margin-bottom: 20px; }
    #container > header > nav > ul {
      list-style-type: none; }
      #container > header > nav > ul > li {
        display: inline-block; }
        #container > header > nav > ul > li > a {
          padding-left: 10px;
          padding-right: 10px;
          display: inline-block; }
  #container > div {
    margin-top: 0px;
    padding: 20px 10px;
    border-top: 2px dotted #221010; }
    #container > div h1 {
      margin: 0.6em 0 1em; }
    #container > div h2 {
      margin: 16px 0; }
    #container > div article {
      width: 100%;
      margin: 0 auto 20px;
      padding-bottom: 10px;
      border-bottom: 2px dotted #221010; }
      #container > div article:last-child {
        margin-bottom: 0;
        border-bottom: none; }
      #container > div article > .imgCont {
        position: relative;
        display: block;
        width: 100%;
        height: auto;
        margin-bottom: 0px; }
        #container > div article > .imgCont > img {
          position: relative;
          top: 0;
          left: 0;
          z-index: 1;
          width: 100%;
          height: auto;
          margin: 0;
          padding: 0;
          border-radius: 15px; }
        #container > div article > .imgCont .over {
          visibility: hidden; }
      #container > div article > aside > header {
        font-size: 0.8em; }
      #container > div article > aside > * {
        margin-bottom: 5px; }
      #container > div article > a.button {
        margin-top: 15px; }
    #container > div > a.back-to-top {
      text-align: right;
      float: right; }
  #container > div.greeting {
    text-align: center;
    font-size: 1.2em; }
  #container > div.facts li {
    margin-left: 20px; }
  #container > div.contact article {
    border: none;
    margin-bottom: 10px; }
  #container > div.contact input, #container > div.contact textarea {
    margin: 0 0 10px 0;
    padding: 10px;
    display: block;
    width: 100%;
    border-radius: 15px;
    border: 1px solid transparent;
    -webkit-transition: border 0.3s, box-shadow 0.3s;
    -moz-transition: border 0.3s, box-shadow 0.3s;
    transition: border 0.3s, box-shadow 0.3s; }
  #container > div.contact input {
    -webkit-appearance: textfield; }
  #container > div.contact textarea {
    -webkit-appearance: textarea;
    resize: none; }
  #container > div.contact input[type=submit] {
    cursor: pointer; }
  #container > div.contact .inputerror {
    border: 1px solid #ff4500;
    box-shadow: 0 0 4px #ff4500; }
  #container > div.contact p.errormessage {
    color: #ff4500; }
  #container > div.contact .thankyou {
    color: #ff4500; }

/* ----------------------------------------------------------------------

  Media queries

---------------------------------------------------------------------- */
/* ================================================
   Tablet portrait
   ================================================ */
@media screen and (min-width: 481px) and (max-width: 768px) {
  #container > header > nav > ul > li {
    display: inline-block; }

  #container > div article {
    float: left;
    width: 47%;
    min-height: 120%;
    margin-right: 2%;
    padding: 0px;
    border-bottom: none;
    position: relative; }
    #container > div article:nth-of-type(2n+1) img {
      border-radius: 16px 3px 3px 16px !important; }
    #container > div article:nth-of-type(2n+2) {
      margin-right: 0; }
      #container > div article:nth-of-type(2n+2) img {
        border-radius: 3px 16px 16px 3px !important; } }
/* ================================================
   Tablet landscape & Desktop
   ================================================ */
@media screen and (min-width: 769px) {
  /* no hover for handheld devices... needs to be adjusted for iPad still */
  .button {
    margin: 10px auto;
    background-color: #221010;
    color: white;
    border-radius: 10px;
    padding: 7px;
    box-shadow: none; }

  .button:hover {
    background-color: white;
    color: #221010; }

  .button.hire-button {
    background-color: #ff4500;
    color: white; }

  body > header.topbar, body > footer {
    padding: 14px; }
  body > header.topbar {
    box-shadow: 0 1px 16px rgba(0, 0, 0, 0.3); }
  body > footer {
    text-align: right; }

  #container > header > nav {
    position: absolute;
    right: 0;
    top: 20px; }
    #container > header > nav > ul > li {
      display: inline-block; }
  #container > div article {
    float: left;
    width: 32%;
    margin-right: 2%;
    padding: 0px;
    border-bottom: none;
    position: relative; }
    #container > div article > aside > p {
      margin-bottom: 10px; }
    #container > div article > a.button {
      display: none; }
    #container > div article > .imgCont img {
      border-radius: 3px;
      box-shadow: 0 0px 8px rgba(0, 0, 0, 0.3); }
    #container > div article > .imgCont .over {
      visibility: visible;
      opacity: 0;
      z-index: 2;
      position: absolute;
      width: 100%;
      height: 97.5%;
      left: 0;
      top: 0;
      background-color: rgba(0, 0, 0, 0);
      box-shadow: 0 0px 64px black inset;
      color: white;
      text-align: center;
      text-decoration: none;
      border: none;
      -webkit-transition: opacity 0.2s;
      -moz-transition: opacity 0.2s;
      border-radius: 3px; }
      #container > div article > .imgCont .over h2 {
        position: relative;
        left: 0;
        margin-top: 25%; }
      #container > div article > .imgCont .over p {
        position: absolute;
        right: -1.5%;
        bottom: 14%;
        padding: 5px;
        color: white;
        background-color: #ff4500;
        border-radius: 10px 1px 7px 3px;
        width: 69%;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.6); }
    #container > div article > .imgCont:hover .over {
      opacity: 1; }
    #container > div article:nth-of-type(3n+1) > .imgCont img, #container > div article:nth-of-type(3n+1) > .imgCont .over {
      border-radius: 17px 3px 3px 17px; }
    #container > div article:nth-of-type(3n+3) {
      margin-right: 0; }
      #container > div article:nth-of-type(3n+3) > .imgCont img, #container > div article:nth-of-type(3n+3) > .imgCont .over {
        border-radius: 3px 17px 17px 3px; }
  #container > div.work article {
    min-height: 120%; }
  #container > div.greeting {
    font-size: 1.4em; }
  #container > div.hire-button {
    padding: 20px 35% 20px 35%; }
  #container > div.contact {
    height: 580px; }
    #container > div.contact article {
      width: 48%;
      float: left;
      margin-right: 0; }
      #container > div.contact article:nth-of-type(2) {
        margin-left: 4%; } }
/* ================================================
   larger Desktop
   ================================================ */
@media screen and (min-width: 1025px) {
  #container {
    width: 960px; } }
/* ================================================
optional
=============================================== */
/* -----------------------------------
  iPad Landscape
----------------------------------- */
/* -----------------------------------
   iPad Portrait
----------------------------------- */
