body {
  background: #101618 url("http://designwise.me.s3.amazonaws.com/img/body_bg.jpg") repeat;
  background: url("http://designwise.me.s3.amazonaws.com/img/bg_gradient.jpg") no-repeat center -400px, url("http://designwise.me.s3.amazonaws.com/img/body_bg.jpg") repeat, #101618;
  border-top: 4px solid #728b67;
}
body.home {
  background: url("http://designwise.me.s3.amazonaws.com/img/bg_gradient.jpg") no-repeat center -400px, url("http://designwise.me.s3.amazonaws.com/img/bg_gradient.jpg") no-repeat center 400px, url("http://designwise.me.s3.amazonaws.com/img/body_bg.jpg") repeat, #101618;
}

a {
  -webkit-transition: all 0.5s;
  -moz-transition: all 0.5s;
  -ms-transition: all 0.5s;
  -o-transition: all 0.5s;
  transition: all 0.5s;
  color: #778b67;
}
a:hover {
  color: #abb8a0;
  text-decoration: none;
}

h1, h2, h3, h4, h5 {
  line-height: 1.3;
  margin: 15px 0;
  color: #fff;
}

h1 {
  font-size: 44px;
  font-weight: 100;
  margin-bottom: 1em;
}

h2 {
  font-size: 18px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 20px 0;
}

p, ul, ol, blockquote, li {
  line-height: 1.6;
}

p.lead {
  line-height: 1.7;
  font-weight: 100;
  font-size: 24px;
}
p.lead strong {
  font-weight: inherit;
  color: #fff;
}

.masthead {
  border-top: 20px solid #0f1316;
  border-color: rgba(0, 0, 0, 0.1);
  height: 146px;
  padding-top: 64px;
  overflow: hidden;
}

h1.logo,
a.logo {
  background-image: url("http://designwise.me.s3.amazonaws.com/img/logo.png");
  height: 36px;
  width: 209px;
  display: inline-block;
  margin: 0 0 0 0px;
  float: left;
  margin-left: 50px;
}
@media only screen and (-webkit-min-device-pixel-ratio: 1.3), only screen and (min--moz-device-pixel-ratio: 1.3), only screen and (-o-min-device-pixel-ratio: 1.3 / 1), only screen and (min-resolution: 125dpi), only screen and (min-resolution: 1.3dppx) {
  h1.logo,
  a.logo {
    background-image: url("http://designwise.me.s3.amazonaws.com/img/logo@2x.png");
    background-size: 209px 36px;
  }
}

h2.tagline {
  background-image: url("http://designwise.me.s3.amazonaws.com/img/tagline.png");
  height: 17px;
  width: 391px;
  display: inline-block;
  float: right;
  margin-right: 50px;
  position: relative;
  margin-top: 11px;
}
@media only screen and (-webkit-min-device-pixel-ratio: 1.3), only screen and (min--moz-device-pixel-ratio: 1.3), only screen and (-o-min-device-pixel-ratio: 1.3 / 1), only screen and (min-resolution: 125dpi), only screen and (min-resolution: 1.3dppx) {
  h2.tagline {
    background-image: url("http://designwise.me.s3.amazonaws.com/img/tagline@2x.png");
    background-size: 391px 17px;
  }
}

.carousel {
  margin-bottom: 0;
  background-color: rgba(0, 0, 0, 0.1);
  padding: 50px;
  margin-top: -50px;
}
.carousel .carousel-inner {
  overflow: visible;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}
.carousel .carousel-indicators {
  top: 20px;
  right: auto;
  left: 35px;
  text-align: center;
}
.carousel .carousel-indicators > li {
  cursor: pointer;
  height: 10px;
  width: 10px;
  border-radius: 0;
  margin-left: 14px;
  background-color: #010101;
  background-color: rgba(0, 0, 0, 0.5);
  box-shadow: 0 1px 1px rgba(255, 255, 255, 0.04);
  -webkit-transition: all 2s;
  -moz-transition: all 2s;
  -ms-transition: all 2s;
  -o-transition: all 2s;
  transition: all 2s;
  border-radius: 2px;
}
.carousel .carousel-indicators > li.active {
  background-color: #748B67;
  background-color: rgba(149, 184, 131, 0.5);
  background-color: #aaa;
  box-shadow: 0 0px 12px rgba(170, 170, 170, 0.5);
}
.carousel .more {
  position: absolute;
  right: 50px;
  top: 14px;
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  color: #646769;
}
.carousel .more:hover {
  color: #778b67;
}
.carousel.carousel-fade .item {
  -webkit-transition: opacity 0.7s ease-in-out;
  -moz-transition: opacity 0.7s ease-in-out;
  -ms-transition: opacity 0.7s ease-in-out;
  -o-transition: opacity 0.7s ease-in-out;
  transition: opacity 0.7s ease-in-out;
  left: 0 !important;
}
.carousel.carousel-fade .next.left, .carousel.carousel-fade .prev.right {
  opacity: 1;
  z-index: 1;
}
.carousel.carousel-fade .active.left,
.carousel.carousel-fade .active.right {
  opacity: 0;
  z-index: 2;
  filter: alpha(opacity=0);
}
.carousel.carousel-fade .carousel-control {
  z-index: 3;
}
.carousel .carousel-caption {
  background: transparent;
  bottom: -54px;
  left: 10px;
  height: auto;
  text-align: center;
}
.carousel .carousel-caption h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #7d8183;
}
.carousel .carousel-caption h4 em {
  font-style: normal;
  color: #fff;
}
.carousel .carousel-caption .context {
  margin-left: 15px;
}

.main {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 100px 15% 150px;
}
.main h2 {
  margin-top: 50px;
}
.main p, .main ul, .main ol, .main li, .main blockquote {
  margin: 20px 0;
}
.main ul {
  margin-left: 0;
  margin-bottom: 50px;
}
.main strong {
  font-weight: normal;
  color: #fff;
}
.main blockquote {
  border-left: none;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 30px;
  margin-top: 40px;
  display: block;
}

.subpage .main {
  margin-top: -40px;
  font-size: 1.15em;
}
.subpage h1 {
  margin-bottom: 20px;
}
.subpage p.lead {
  margin-bottom: 80px;
}
.subpage.affirmation p.lead {
  margin-bottom: 40px;
}
.subpage.skills p.lead {
  margin-bottom: 50px;
}
.subpage.skills .main li {
  margin: 5px 0;
}
.subpage.skills .main .last {
  margin-left: 50px;
}
.subpage.skills .main blockquote p:last-child {
  margin-bottom: 0;
}
.subpage.skills .main cite {
  margin-left: 30px;
  margin-top: -30px;
  display: block;
  font-size: 14px;
}

.contact {
  padding: 35px 0;
  text-align: center;
}
.contact .btn-email {
  background-image: url("http://designwise.me.s3.amazonaws.com/img/btn_email_default.png");
  position: relative;
  margin: 0 auto;
  width: 400px;
  height: 138px;
  display: block;
  text-indent: -900em;
}
@media only screen and (-webkit-min-device-pixel-ratio: 1.3), only screen and (min--moz-device-pixel-ratio: 1.3), only screen and (-o-min-device-pixel-ratio: 1.3 / 1), only screen and (min-resolution: 125dpi), only screen and (min-resolution: 1.3dppx) {
  .contact .btn-email {
    background-image: url("http://designwise.me.s3.amazonaws.com/img/btn_email_default@2x.png");
    background-size: 400px 138px;
  }
}
.contact .btn-email > a {
  position: absolute;
  top: 0;
  left: 0;
  width: 400px;
  height: 138px;
  display: block;
  z-index: 1;
  background-image: url("http://designwise.me.s3.amazonaws.com/img/btn_email_hover.png");
  -webkit-transition: all 0.5;
  -moz-transition: all 0.5;
  -ms-transition: all 0.5;
  -o-transition: all 0.5;
  transition: all 0.5;
  opacity: 0;
}
@media only screen and (-webkit-min-device-pixel-ratio: 1.3), only screen and (min--moz-device-pixel-ratio: 1.3), only screen and (-o-min-device-pixel-ratio: 1.3 / 1), only screen and (min-resolution: 125dpi), only screen and (min-resolution: 1.3dppx) {
  .contact .btn-email > a {
    background-image: url("http://designwise.me.s3.amazonaws.com/img/btn_email_hover@2x.png");
    background-size: 400px 138px;
  }
}
.contact .btn-email > a:hover {
  opacity: 1;
}
.contact .btn-email > a:active {
  background-image: url("http://designwise.me.s3.amazonaws.com/img/btn_email_active.png");
}
@media only screen and (-webkit-min-device-pixel-ratio: 1.3), only screen and (min--moz-device-pixel-ratio: 1.3), only screen and (-o-min-device-pixel-ratio: 1.3 / 1), only screen and (min-resolution: 125dpi), only screen and (min-resolution: 1.3dppx) {
  .contact .btn-email > a:active {
    background-image: url("http://designwise.me.s3.amazonaws.com/img/btn_email_active@2x.png");
    background-size: 400px 138px;
  }
}

.btn {
  display: inline-block;
  padding: 5px 12px;
  border-radius: 2px;
}
.btn:hover {
  color: #abb8a0;
}
.btn:active {
  color: lighen(#778b67, 100%);
}

.btn-flat {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 20px;
  padding: 5px 15px;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

.footer {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 65px 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer .copynav .designwise {
  color: inherit;
}
.footer .copynav .designwise:hover {
  color: #abb8a0;
}
.footer .copynav .first {
  margin-left: 10px;
}
.footer .copynav .pipe {
  font-style: normal;
  margin: 0 5px;
  opacity: .5;
}
.footer .socialnav {
  margin-right: 50px;
  position: relative;
  margin-top: -30px;
  text-align: right;
}
.footer .socialnav .twitter,
.footer .socialnav .dribbble {
  height: 43px;
  width: 43px;
  display: inline-block;
  position: relative;
  margin-top: 15px;
}
.footer .socialnav .twitter span,
.footer .socialnav .dribbble span {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  height: 43px;
  width: 43px;
  opacity: 0;
  -webkit-transition: opacity 0.5s;
  -moz-transition: opacity 0.5s;
  -ms-transition: opacity 0.5s;
  -o-transition: opacity 0.5s;
  transition: opacity 0.5s;
}
.footer .socialnav .twitter:hover span,
.footer .socialnav .dribbble:hover span {
  opacity: 1;
}
.footer .socialnav .twitter {
  background-image: url("http://designwise.me.s3.amazonaws.com/img/btn_twitter_default.png");
}
@media only screen and (-webkit-min-device-pixel-ratio: 1.3), only screen and (min--moz-device-pixel-ratio: 1.3), only screen and (-o-min-device-pixel-ratio: 1.3 / 1), only screen and (min-resolution: 125dpi), only screen and (min-resolution: 1.3dppx) {
  .footer .socialnav .twitter {
    background-image: url("http://designwise.me.s3.amazonaws.com/img/btn_twitter_default@2x.png");
    background-size: 43px 43px;
  }
}
.footer .socialnav .twitter span {
  background-image: url("http://designwise.me.s3.amazonaws.com/img/btn_twitter_selected.png");
}
@media only screen and (-webkit-min-device-pixel-ratio: 1.3), only screen and (min--moz-device-pixel-ratio: 1.3), only screen and (-o-min-device-pixel-ratio: 1.3 / 1), only screen and (min-resolution: 125dpi), only screen and (min-resolution: 1.3dppx) {
  .footer .socialnav .twitter span {
    background-image: url("http://designwise.me.s3.amazonaws.com/img/btn_twitter_selected@2x.png");
    background-size: 43px 43px;
  }
}
.footer .socialnav .dribbble {
  background-image: url("http://designwise.me.s3.amazonaws.com/img/btn_dribbble_default.png");
}
@media only screen and (-webkit-min-device-pixel-ratio: 1.3), only screen and (min--moz-device-pixel-ratio: 1.3), only screen and (-o-min-device-pixel-ratio: 1.3 / 1), only screen and (min-resolution: 125dpi), only screen and (min-resolution: 1.3dppx) {
  .footer .socialnav .dribbble {
    background-image: url("http://designwise.me.s3.amazonaws.com/img/btn_dribbble_default@2x.png");
    background-size: 43px 43px;
  }
}
.footer .socialnav .dribbble span {
  background-image: url("http://designwise.me.s3.amazonaws.com/img/btn_dribbble_selected.png");
}
@media only screen and (-webkit-min-device-pixel-ratio: 1.3), only screen and (min--moz-device-pixel-ratio: 1.3), only screen and (-o-min-device-pixel-ratio: 1.3 / 1), only screen and (min-resolution: 125dpi), only screen and (min-resolution: 1.3dppx) {
  .footer .socialnav .dribbble span {
    background-image: url("http://designwise.me.s3.amazonaws.com/img/btn_dribbble_selected@2x.png");
    background-size: 43px 43px;
  }
}

#horn-tooting {
  padding-top: 50px;
  clear: both;
}

@media (max-width: 767px) {
  body {
    padding-left: 0;
    padding-right: 0;
  }
  body.home {
    background: url("http://designwise.me.s3.amazonaws.com/img/bg_gradient.jpg") no-repeat center -400px, url("http://designwise.me.s3.amazonaws.com/img/body_bg.jpg") repeat, #101618;
  }

  .masthead {
    height: auto;
    padding-top: 40px;
    min-height: 84px;
  }

  .subpage .main {
    margin-top: 0px;
    padding: 50px;
  }

  h1.logo,
  a.logo {
    margin-bottom: 30px;
    float: none;
    display: block;
  }

  h2.tagline {
    display: none;
  }

  .carousel {
    padding: 50px 20px 20px;
    margin: 10px;
  }

  .contact {
    margin-left: 0;
  }
  .contact .btn-email {
    height: 120px;
    margin-top: -60px;
  }

  .footer {
    background-color: transparent;
    text-align: center;
  }
  .footer .socialnav {
    text-align: center;
    margin-top: 0;
    margin-right: 0;
  }
}
/* iPads (portrait) ----------- */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
  html {
    width: 984px;
  }

  .logo {
    margin-left: 50px;
  }
}
@media (min-width: 768px) {
  .contact {
    padding: 35px 0;
    margin-left: -27px;
    text-align: center;
  }
}
@media (max-width: 767px) {
  .subpage.skills .main {
    margin-bottom: 50px;
  }
  .subpage.skills .main .last {
    margin-left: 0px;
  }
}
@media only screen and (min-device-width: 320px) and (max-device-width: 480px) {
  body {
    border-top: none;
    background: #101618 url("http://designwise.me.s3.amazonaws.com/img/body_bg.jpg") repeat;
  }

  .masthead {
    height: auto;
    padding-top: 30px;
    min-height: 54px;
  }

  .btn-flat {
    font-size: 12px;
  }
}
.work .sample img {
  margin-bottom: 0;
  border-radius: 1px;
  box-shadow: 0 0 20px black;
}

.sample {
  position: relative;
  padding-bottom: 30px;
}

.sample-caption {
  background: transparent;
  bottom: 0;
  margin-bottom: 10px;
  left: 10px;
  height: auto;
  text-align: center;
}
.sample-caption h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #7d8183;
}
.sample-caption h4 em {
  font-style: normal;
  color: #fff;
}
.sample-caption .context {
  margin-left: 15px;
}
