a {
  color: inherit;
  text-decoration: none;
}

body {
  background: #FFF;
  color: #888;
  font-family: Arial, sans-serif;
  font-size: 15px;
  margin: 0;
  padding: 0;
  text-align: center;
}

form {
  margin: 0;
}

h1, h2, h3 {
  margin: 5px 0;
}
h1 {
  font-size: 48px;
}
h2 {
  font-size: 42px;
}
h3 {
  font-size: 36px;
}
h1:first-child,
h2:first-child,
h3:first-child {
  margin-top: 0;
}

img {
  border: none;
}

p {
  margin: 5px 0 10px;
}

#container {
  margin: 0 auto;
  text-align: left;
  width: 500px;
}

#header {
  position: relative;
}
#header .logo {
  margin: 8px 0 4px;
}

#hiring {
  background: url("images/hiring.png") no-repeat 0 0;
  height: 32px;
  position: absolute;
  right: 10px;
  top: 20px;
  width: 160px;
}
#hiring span {
  display: none;
}

#hyper_nav {
  font-size: 12px;
  height: 25px;
  position: absolute;
  right: 0px;
  text-align: right;
  top: 5px;
  width: 360px;
}
#hyper_nav a {
  font-weight: normal;
  text-decoration: underline;
}
#hyper_nav a:hover {
  text-decoration: none;
}

.nav {
  height: 16px;
  padding: 5px 0;
  text-transform: uppercase;
}
.nav span {
  display: none;
}
.nav a {
  background: url("images/nav.png") no-repeat 0 0;
  display: block;
  float: left;
  height: 16px;
  text-decoration: none;
}
.nav a.nav1 { background-position:    0   0; width: 57px; }
.nav a.nav2 { background-position:  -57px 0; width: 83px; }
.nav a.nav3 { background-position: -140px 0; width: 60px; }
.nav a.nav4 { background-position: -200px 0; width: 134px; }
.nav a.nav5 { background-position: -334px 0; width: 81px; }
.nav a.nav6 { background-position: -415px 0; width: 85px; }
.nav a.nav1:hover { background-position:    0   -16px; }
.nav a.nav2:hover { background-position:  -57px -16px; }
.nav a.nav3:hover { background-position: -140px -16px; }
.nav a.nav4:hover { background-position: -200px -16px; }
.nav a.nav5:hover { background-position: -334px -16px; }
.nav a.nav6:hover { background-position: -415px -16px; }

#footer .logo {
  padding-bottom: 20px;
  text-align: right;
}
#footer .hr {
  margin: 5px 0;
}
#footer p {
  font-size: 11px;
  margin: 2px 0;
}

div.hr {
  background: url("images/hr.png") repeat 0 0;
  border: none;
  clear: both;
  height: 12px;
  margin: 0;
  overflow: hidden;
}
div.hr.thin {
  height: 2px;
}

.up {
  text-transform: uppercase;
}

blockquote {
  font-family: Georgia, Times, "Times New Roman", serif;
  font-size: 19px;
  line-height: 1.3em;
  margin: 20px 20px 0;
}

p.credit {
  font-size: 13px;
  line-height: 1.3em;
  margin: 5px 40px 20px;
}

p.annotation {
  font-size: 13px;
  margin: 3px 20px 20px;
}
p.annotation span {
  background: #F4F4F4;
  color: #444;
  line-height: 1.8em;
  padding: 3px 0;
}


.scalr {
  overflow: visible;
}
.scalr.up {
  letter-spacing: -0.1em;
}
.scalr span {
  display: inline-block;
  font-weight: bold;
}
.scalr-active span {
  white-space: nowrap;
}

h1.scalr,
p.scalr {
  font-size: 21px;
  line-height: 17px;
  overflow: visible;
  word-spacing: 0.2em;
}
h1.scalr:first-child,
p.scalr:first-child {
  margin-top: 0;
}


body.case-studies {
  background: #c2ce40;
  color: #0F701A;
}
body.case-studies #content {
  padding-top: 5px;
}
body.case-studies h2 {
  margin: 0 0 2px;
}
body.case-studies h2 a {
  background-position: 0 0;
  background-repeat: no-repeat;
  display: block;
  width: 500px;
}
body.case-studies h2 a:hover {
  background-position: -500px 0;
}
body.case-studies h2 a span {
  display: none;
}
body.case-studies h2.axn a {
  background-image: url("images/case-studies/axn.png");
  height: 53px;
}
body.case-studies h2.boomkat a {
  background-image: url("images/case-studies/boomkat.png");
  height: 86px;
}
body.case-studies h2.generator a {
  background-image: url("images/case-studies/generator.png");
  height: 41px;
}
body.case-studies h2.playphone a {
  background-image: url("images/case-studies/playphone.png");
  height: 72px;
}
body.case-studies h2.second-nature a {
  background-image: url("images/case-studies/second-nature.png");
  height: 208px;
}

body.axn,
body.boomkat,
body.playphone,
body.generator-hostels,
body.second-nature {
  background: #DDD;
  color: #686868;
}

body.axn {
  background: #C00;
  color: #550600;
}

body.generator-hostels {
  background: #A7C518;
  color: #485603;
}


body.clients {
  background: #8e1dbc;
  color: #4b1361;
}
body.clients #content p.scalr {
  font-size: 21px;
  line-height: 17px;
  overflow: visible;
  word-spacing: 0.2em;
}
body.clients #content p.scalr:first-child {
  margin-top: 0;
}


body.contact {
  background: #6ebdeb;
  color: #0B6370;
}
body.contact .sent {
  
}
body.contact .phone {
  background: url("images/contact/phone.png") no-repeat 0 0;
  height: 211px;
}
body.contact .address {
  background: url("images/contact/address.png") no-repeat 0 0;
  height: 405px;
  margin: 20px 0;
}
body.contact .phone div,
body.contact .address div {
  display: none;
}
body.contact #content form {
  margin: 8px 0;
}
body.contact .input label {
  display: block;
  font-size: 19px;
  margin-bottom: 2px;
}
body.contact .input textarea,
body.contact .input input,
body.contact .recaptcha {
  margin: 0 0 0.6em;
}
body.contact .input input[type=text] {
  border: 1px solid #0F8799;
  font-size: 21px;
  padding: 4px;
  width: 492px;
}
body.contact .input textarea {
  border: 1px solid #0F8799;
  font-size: 19px;
  height: 135px;
  padding: 4px;
  width: 492px;
}

body.contact .errorExplanation {
  background: #FCC;
  border: 4px solid #C00;
  color: #400;
  margin-bottom: 0.5em;
  padding: 10px;
}
body.contact .errorExplanation h2 {
  font-size: 19px;
  margin: 0;
}
body.contact .errorExplanation p {
  margin: 0.3em 0;
}
body.contact .errorExplanation ul {
  margin: 0.3em 1em;
  padding: 0;
}
body.contact .errorExplanation li {
  padding: 0;
  margin: 0 0 0 1em;
}
body.contact .input .fieldWithErrors input,
body.contact .input .fieldWithErrors textarea {
  background: #FEE;
  border: 2px solid #C00;
  padding: 3px;
}


body.home {
  background: #ff00a1;
  color: #780040;
}

body.home #content p {
  font-size: 21px;
  margin: 0.8em 0;
}
body.home #content p:first-child {
  margin-top: 5px;
}

body.home .lowlight {
  color: #000;
}


.imagr img {
  margin-bottom: 10px;
}
.imagr-container {
  overflow: hidden;
  margin: 5px 0 0 -10px;
  padding-bottom: 17px;
  position: relative;
  width: 520px;
}
.imagr-container .imagr {
  cursor: pointer;
  width: 9999px;
}
.imagr-container .imagr img {
  margin-bottom: 0;
}
.imagr-container.white .imagr {
  background: #FFF;
  padding: 10px 0;
}
.imagr-container .imagr .clear {
  clear: both;
}
.imagr-container p {
  margin: 0;
}
.imagr-container img {
  float: left;
  padding: 0 10px;
}
.imagr-container .dots {
  bottom: 0;
  height: 10px;
  left: 0;
  overflow: hidden;
  position: absolute;
  text-align: center;
  width: 500px;
}
.imagr-container .dots .dot {
  background: url("images/imagr-dot.png") no-repeat 0 0;
  cursor: pointer;
  display: inline-block;
  height: 7px;
  margin: 0 2px;
  width: 7px;
}
.imagr-container .dots .selected {
  background-image: url("images/imagr-dot-selected.png");
}


body.rumble {
  background: #838b80;
  color: #444444;
}

body.rumble #content p {
  font-size: 21px;
  margin: 0.8em 0;
}

body.rumble p.scalr strong {
  color: #000;
}
body.rumble p.scalr {
  line-height: 17px;
  overflow: visible;
  word-spacing: 0.2em;
}
body.rumble p.scalr:first-child {
  margin-top: 0;
}

body.rumble .highlight {
  color: #FFFB82;
}
body.rumble .lowlight {
  color: #000;
}


body.team {
  background: #f8f817;
  color: #8C7E0E;
}
body.team h2.ben,
body.team h2.guy,
body.team h2.james,
body.team h2.lee,
body.team h2.matt,
body.team h2.yemi {
  background-position: 0 0;
  background-repeat: no-repeat;
  margin: 10px 0 0;
  text-indent: -9999px;
}
body.team h2.ben {
  background-image: url("images/team/ben.png");
  height: 306px;
}
body.team h2.guy {
  background-image: url("images/team/guy.png");
  height: 261px;
}
body.team h2.james {
  background-image: url("images/team/james.png");
  height: 322px;
}
body.team h2.lee {
  background-image: url("images/team/lee.png");
  height: 313px;
}
body.team h2.matt {
  background-image: url("images/team/matt.png");
  height: 244px;
}
body.team h2.yemi {
  background-image: url("images/team/yemi.png");
  height: 263px;
}
body.team #content hr {
  margin: 10px 0;
}
