/* Reset and dependencies */
html, body, div, span, object, h1, h2, h3, h4, h5, h6, p, a, em, img, dl, dt, dd, ol, ul, li, fieldset, form, legend, label, input, textarea, button {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-weight: inherit;
  font-style: inherit;
  font-size: 100%;
  font-family: inherit;
  vertical-align: baseline;
  font-weight: normal;
}

:focus {
  outline: none;
}

a {
  text-decoration: none;
}

ol, ul {
  list-style: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

textarea {
  overflow: auto;
}

/*removes IE scrollbar */
img {
  vertical-align: top;
}

/* Clearfix as a class */
.cf:before, .cf:after {
  content: "";
  display: table;
}

.cf:after {
  clear: both;
}

.cf {
  zoom: 1;
}

/* HTML 5 */
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
  display: block;
}

audio, canvas, video {
  display: inline-block;
}

audio:not([controls]) {
  display: none;
  height: 0;
}

/* Box model */
*, *:before, *:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

/* Text rendering */
html {
  font-family: "sans-serif";
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
}

/* css3 webfont */
@font-face {
  font-family: mission;
  src: url("../fonts/mission-script-webfont.woff") format("woff"), url("../fonts/mission-script-webfont.ttf") format("truetype");
}

/* Micro clearfix */
/* Clearfix as a class */
.cf:before, .cf:after {
  content: "";
  display: table;
}

.cf:after {
  clear: both;
}

.cf {
  zoom: 1;
}

/* Float alternative. About whitespace : http://css-tricks.com/fighting-the-space-between-inline-block-elements */
/* Responsive images : parent element's max and full width */
/* use all space provided by parent with relative position */
/* vertical align */
/* background cover */
/* Main theme colors */
/* projects colors */
/* Main styles */
html {
  background: #f5523f url(../img/loader.svg) center 20% fixed no-repeat;
  background-size: 64px 68px;
}

body, html {
  height: 100%;
}

body {
  background: white;
}

header {
  height: 55px;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
}

header #logo {
  float: left;
}

header #logo img {
  height: 26px;
  margin-top: 13px;
}

header nav > ul {
  text-align: right;
}

header nav > ul li {
  display: inline;
}

header nav > ul li:first-child {
  float: left;
}

header nav > ul li:first-child.current a {
  border-bottom: 2px solid transparent;
}

header nav > ul li a {
  border-bottom: 2px solid transparent;
  color: rgba(255, 255, 255, 0.95);
  font-family: "open sans", "sans-serif";
  font-size: .8em;
  line-height: 53px;
  margin: 0 5px;
  padding: 0 5px;
  text-transform: uppercase;
  display: inline-block;
  *display: inline;
  *zoom: 1;
  vertical-align: top;
}

header .current a {
  border-bottom: 2px solid #f5523f;
  color: #f5523f;
}

header.show_nav {
  background: rgba(32, 36, 51, 0.95);
  display: none;
  position: fixed;
}

.container {
  margin: 0 auto;
  max-width: 1200px;
}

#home {
  background: #242738;
  color: white;
  height: 100%;
  position: relative;
  text-align: center;
  width: 100%;
}

#home .inner {
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  top: 50%;
  transform: translateY(-50%);
  max-width: 760px;
}

#home .logo {
  margin-bottom: 50px;
}

#home .logo img {
  height: auto;
  width: 130px;
}

#home h1 {
  color: #f5523f;
  font-family: mission, serif;
  font-size: 3.25em;
  line-height: 1.25em;
}

#home h1:after {
  border-bottom: 1px solid #f5523f;
  content: "-";
  display: block;
  margin: -42px auto 34px auto;
  text-indent: -9999em;
  width: 50px;
}

#home p {
  color: rgba(255, 255, 255, 0.95);
  font-family: 'Playfair Display', serif;
  font-size: 1.25em;
  font-weight: 700;
  line-height: 1.6em;
  margin-bottom: 40px;
}

#home p a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.6);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
}

#home .cta {
  border: 1px solid #f5523f;
  color: white;
  cursor: pointer;
  font-family: "open sans";
  margin-bottom: 20px;
  padding: 10px 20px;
  text-transform: uppercase;
  display: inline-block;
  *display: inline;
  *zoom: 1;
  vertical-align: top;
  transition: all ease-in-out .2s;
}

#home .cta:hover {
  color: #f5523f;
}

#home [class*=' s-'], #home [class^='s-'] {
  background: none;
  margin: 0;
}

section {
  background: white;
  padding: 80px 0 100px 0;
}

section h2 {
  font-family: mission, serif;
  font-size: 3.125em;
  line-height: 1.2em;
  text-align: center;
}

section h3 {
  color: #888;
  font-family: "open sans", "sans-serif";
  text-align: center;
}

[class*=' s-'], [class^='s-'] {
  background: #f6f6f6;
  font-family: 'Playfair Display', serif;
  float: left;
  margin: 10px;
}

[class*=' s-'] img, [class^='s-'] img {
  height: auto;
  width: 100%;
  vertical-align: middle;
}

[class*=' w-'], [class^='w-'] {
  float: left;
}

/* containers */
.w-3 {
  width: 300px;
}

.w-5 {
  width: 470px;
}

.w-6 {
  width: 600px;
}

.w-9 {
  width: 900px;
}

/* blocks */
.s-3 {
  width: 280px;
}

.s-4 {
  width: 380px;
}

.s-5 {
  width: 480px;
}

.s-6 {
  width: 580px;
}

.s-9 {
  width: 880px;
}

/* blocks heights */
.h1 {
  height: 225px;
}

.h2 {
  height: 470px;
}

/* full body width */
.f-3 {
  float: left;
  padding: 3%;
  width: 25%;
}

.blocks {
  margin: 40px auto 0 auto;
}

.blocks .desc {
  color: white;
  font-size: 1.125em;
  line-height: 1.5em;
  padding: 20px 25px;
}

.blocks .job {
  color: white;
  font-size: 1.125em;
  line-height: 1.5em;
  padding: 20px 25px;
}

.blocks .job li {
  margin-bottom: 4px;
}

.read_more img {
  height: auto;
  width: 30px;
}

.project .cta {
  margin-top: 40px;
  text-align: center;
}

.project .cta a {
  font-family: "open sans";
  padding: 10px 20px;
  display: inline-block;
  *display: inline;
  *zoom: 1;
  vertical-align: top;
  transition: all ease-in-out .2s;
}

#project_maps_system .desc {
  background: #e2001a;
}

#project_maps_system .job {
  background: #222;
}

#project_maps_system .cta a {
  border: 1px solid #e2001a;
  color: #e2001a;
}

#project_maps_system .cta a:hover {
  background: #e2001a;
  color: white;
}

#project_catorex {
  background: #111;
}

#project_catorex h2 {
  color: white;
}

#project_catorex .desc, #project_catorex .job {
  background: #b3a06d;
  color: black;
}

#project_catorex .cta a {
  border: 1px solid #b3a06d;
  color: #b3a06d;
}

#project_catorex .cta a:hover {
  background: #b3a06d;
  color: white;
}

#project_catorex .cta span {
  color: #777;
  font-family: "open sans";
}

#project_jys {
  background: #f6f6f6;
}

#project_jys .desc, #project_jys .job {
  background: #D75647;
}

#project_jys .cta a {
  border: 1px solid #D75647;
  color: #D75647;
}

#project_jys .cta a:hover {
  background: #D75647;
  color: white;
}

#project_jammin {
  background: #222;
}

#project_jammin h2 {
  color: white;
}

#project_jammin .desc, #project_jammin .job {
  background: #eff637;
  color: black;
}

#project_jammin .cta a {
  border: 1px solid #eff637;
  color: #eff637;
}

#project_jammin .cta a:hover {
  background: #eff637;
  color: #111;
}

/* freebies */
#freebies {
  border: 0;
  padding-bottom: 0;
}

#freebies .blocks {
  color: white;
}

#freebies .f-3 {
  text-align: center;
}

#freebies h4 {
  font-family: mission, serif;
  font-size: 2.25em;
}

#freebies h5, #freebies p, #freebies .cta, #freebies .demo {
  font-family: "open sans", "sans-serif";
  font-size: .85em;
  line-height: 1.5;
}

#freebies img {
  height: auto;
  margin: 30px -5% 20px -5%;
  width: 110%;
}

#freebies .content {
  min-height: 160px;
}

#freebies .cta, #freebies .demo {
  border: 1px solid white;
  color: white;
  margin: 20px 5px 0 5px;
  padding: 6px 14px 7px 14px;
  display: inline-block;
  *display: inline;
  *zoom: 1;
  vertical-align: top;
  transition: all ease-in-out .2s;
}

#freebies .cta:hover, #freebies .demo:hover {
  background: white;
  color: #222;
}

#freebies_maps_admin {
  background: #33495f;
}

#freebies_qone {
  background: #6cd6d4;
}

#freebies_collections {
  background: #054F6C;
}

#freebies_nudie {
  background: #f04069;
}

/* about */
#about {
  background: url(../img/bg_about.jpg);
  background-position: center center;
  background-repeat: no-reapeat;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
  border: 0;
}

#about h2 {
  color: #f5523f;
  margin-bottom: 40px;
}

#about p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.125em;
  line-height: 1.5em;
  margin-bottom: 1.5em;
}

#about p a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.95);
  color: rgba(255, 255, 255, 0.95);
}

#about .s-6 {
  background: none;
  float: none;
  margin: 0 auto;
  padding: 0 10px;
}

#contact {
  border-top: 1px dashed rgba(255, 255, 255, 0.3);
  margin-top: 50px;
  padding-top: 50px;
  text-align: center;
}

#contact a {
  color: rgba(255, 255, 255, 0.95);
}

#contact li {
  display: inline;
  margin: 0 10px;
}

#contact li a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

#contact li a:hover {
  border-bottom: 1px solid rgba(255, 255, 255, 0.95);
}

#mail {
  margin-bottom: 40px;
}

#mail a {
  background: #f5523f;
  color: white;
  border-radius: 45px;
  font-weight: 900;
  height: 50px;
  line-height: 48px;
  padding: 0 25px;
  display: inline-block;
  *display: inline;
  *zoom: 1;
  vertical-align: top;
  transition: all ease-in-out .2s;
}

/* Media queries */
@media screen and (max-width: 1220px) {
  .container {
    width: 600px;
  }
  .container .x-w-6 {
    width: 600px;
  }
  .f-3 {
    padding: 4%;
    width: 50%;
  }
}

@media screen and (max-width: 980px) {
  #home {
    height: auto;
    padding-top: 100px;
  }
  #home .inner {
    top: auto;
    transform: none;
  }
  #home .logo, #home .title {
    padding-left: 0;
  }
  #home h1:after {
    margin: -40px auto 40px auto;
  }
  #home .cta {
    margin-bottom: 80px;
  }
  .container-10 {
    padding: 0 10%;
    text-align: center;
    width: auto;
  }
  .container-10 .s-5 {
    float: none;
    width: auto;
  }
}

@media screen and (max-width: 920px) {
  .container {
    width: 600px;
  }
  .container .xx-w-6 {
    width: 600px;
  }
  #home .description {
    padding: 0 25px;
  }
}

@media screen and (max-width: 620px) {
  header #logo {
    display: none;
  }
  header nav > ul {
    text-align: center;
  }
  #home .description {
    padding: 0;
  }
  .container {
    padding: 0 10px;
    width: 100%;
  }
  .container [class*=' s-'], .container [class^='s-'], .container [class*=' x-'], .container [class^='x-'], .container [class*=' xx-'], .container [class^='xx-'] {
    height: auto;
    margin: 5px 0;
    width: 100%;
  }
  .container [class*=' s-'] img, .container [class^='s-'] img, .container [class*=' x-'] img, .container [class^='x-'] img, .container [class*=' xx-'] img, .container [class^='xx-'] img {
    width: 100%;
  }
  .container [class*=' s-'] .read_more img, .container [class^='s-'] .read_more img, .container [class*=' x-'] .read_more img, .container [class^='x-'] .read_more img, .container [class*=' xx-'] .read_more img, .container [class^='xx-'] .read_more img {
    width: 30px;
  }
  .container [class*=' w-'], .container [class^='w-'] {
    margin: 0;
  }
  .f-3 {
    width: 100%;
  }
  #home p {
    font-size: 1.1em;
  }
}
