/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
* What follows is the result of much research on cross-browser styling.
* Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
* Kroc Camen, and the H5BP dev community and team.
*/

/* ==========================================================================
 Base styles: opinionated defaults
 ========================================================================== */

html,
button,
input,
select,
textarea {
  color: #222;
}

html {
  font-size: 1em;
  line-height: 1.4;
}

/*
* Remove text-shadow in selection highlight: h5bp.com/i
* These selection rule sets have to be separate.
* Customize the background color to match your design.
*/

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
* A better looking default horizontal rule
*/

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
* Remove the gap between images, videos, audio and canvas and the bottom of
* their containers: h5bp.com/i/440
*/

audio,
canvas,
img,
video {
  vertical-align: middle;
}

/*
* Remove default fieldset styles.
*/

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
* Allow only vertical resizing of textareas.
*/

textarea {
  resize: vertical;
}

/* ==========================================================================
 Browse Happy prompt
 ========================================================================== */

.browsehappy {
  margin: 0.2em 0;
  background: #ccc;
  color: #000;
  padding: 0.2em 0;
}

/* ==========================================================================
 COMPONENTS
 ========================================================================== */

/*

font-family: "chaparral-pro", Serif, serif;
font-weight: 400, 700;
font-style: normal, italic;

font-family: "chaparral-pro-caption", Serif, serif;
font-weight: 400;
font-style: normal;

font-family: "chaparral-pro-subhead", Serif, serif;
font-weight: 400;
font-style: normal, italic;\

font-family: "pt-sans-caption", Arial, sans-serif;
font-weight: 400, 700;
font-style: normal;

color: #96a64d; (green)
color: #ebeddd; (beige)
*/


body {
font-family: "chaparral-pro", Serif, serif;
font-weight: 400;
font-style: normal;
font-size: 19px;
line-height: 1.2;
color: #333;
position: relative;
}

h1, .h1 {
  font-family: "chaparral-pro-subhead", Serif, serif;
  font-weight: 400;
  font-style: normal;
  text-rendering: optimizeLegibility;
  font-size: 28px;
  line-height: 1.2;
  margin: 0;
  padding: 0;
}

h2, .h2 {
 font-family: "chaparral-pro-caption", Serif, serif;
 font-weight: 400;
 font-style: normal;
 text-rendering: optimizeLegibility;
 font-size: 16px;
 line-height: 1.2;
 letter-spacing: 2px;
 text-transform: uppercase;
 margin: 0;
 padding: 0;
}

.green {
  color: #96a64d;
}

.beige {
  color: #ebeddd;
}

a.beige:hover, a.beige:focus {
  color: #fff;
  text-decoration: none;
}

.black {
  color: #111
}

a.black:hover, a.black:focus {
  color: #888;
  text-decoration: none;
}

.gray {
  color: #888;
}

.border-right {
  border-right: 1px solid #333;
}

.border-left {
  border-left: 1px solid #333;
}

.border-flourish {
  display: block;
  margin: 30px auto;
  width: 250px;
}


/* ==========================================================================
 HEADER
 ========================================================================== */

.site-header {
  text-align: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
}

.main-nav {
  text-transform: uppercase;
  margin: 0;
  padding: 50px 0 60px;
  border: none;
  background: #96a64d;
  -webkit-border-radius: 0;
      -moz-border-radius: 0;
          border-radius: 0;
  -webkit-transition: all .2s ease;
      transitioN: all .2s ease;
}

.main-nav ul {
  margin: auto;
}

.main-nav li {
  float: left;
}

.main-nav li a {
  padding: 10px 18px;
  display: block;
  color: #333;
  -webkit-transition: color .3s ease;
      transition: color .3s ease;
}

.main-nav li a:hover, .main-nav li a:focus {
  text-decoration: none;
  color: #fff;
  background: transparent;
}

.main-nav .active a {
  color: #fff;
  pointer-events: none;
  cursor: default;
}

.main-nav li .logo {
  padding: 0 30px;
}

.logo img {
  width: 250px;
  margin-top: -1px;
}

.mark {
  display: block;
  background: transparent;
}

.mark a {
  display: block;
  width: 120px;
  height: 120px;
  background: #96a64d;
  margin: -65px auto 0;
  padding: 25px;
  -webkit-border-radius: 50%;
      -moz-border-radius: 50%;
          border-radius: 50%;
  -webkit-transition: all .3s ease;
      transition: all .3s ease;
}


.site-header.affix .main-nav {
  background: rgba(150,166,77,.9);
  padding: 33px 0;
  box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.3);
}

.site-header.affix .mark a {
  width: 75px;
  height: 75px;
  margin: -40px auto 0;
  padding: 15px;
  opacity: 0;
}

/*************** MOBILE NAV *****************/

.mobile-nav {
  padding: 15px 0;
  background: #96a64d;
  z-index: 999;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

.lt-ie9 .mobile-nav {
  display: none;
}

.mobile-nav.affix {
  top: 0;
  left: 0;
  right: 0;
}

.logo-mobile {
  margin-top: 49px;
  padding: 25px 15px;
  max-width: 350px;
  position: relative;
  left: -5px;
}

.logo-mobile img {
  margin: auto;
}


/* ==========================================================================
 HERO
 ========================================================================== */

.hero {
  position: relative;
  background: url('../img/grunge_beige.png');
  min-height: 200px;
}

.overlay {
  background: url('../img/overlay.png');
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  z-index: 25;
}

.ss-slide {
  min-height: 200px;
}

.slide-1 {
  background: url('../../img/slide-flowood.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  -webkit-background-size: cover;
      -moz-background-size: cover;
           background-size: cover;
}
.slide-2 {
  background: url('../../img/slide-drawing-gray.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  -webkit-background-size: cover;
      -moz-background-size: cover;
           background-size: cover;
}
.slide-3 {
  background: url('../../img/slide-split-sconces.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  -webkit-background-size: cover;
      -moz-background-size: cover;
           background-size: cover;
}
.slide-4 {
  background: url('../../img/slide-lobby.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  -webkit-background-size: cover;
      -moz-background-size: cover;
           background-size: cover;
}
.slide-5 {
  background: url('../../img/slide-split-chandelier.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  -webkit-background-size: cover;
      -moz-background-size: cover;
           background-size: cover;
}
.slide-6 {
  background: url('../../img/slide-drawing-green.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  -webkit-background-size: cover;
      -moz-background-size: cover;
           background-size: cover;
}
.slide-7 {
  background: url('../../img/slide-split-drawing.jpg');
  background-position: center center;
  background-repeat: no-repeat;
  -webkit-background-size: cover;
      -moz-background-size: cover;
           background-size: cover;
}

.design {
  background: url('../../images/design.jpg') no-repeat center;
}

.detail {
  background: url('../../images/detail.jpg') no-repeat center;
}

.live {
  background: url('../../images/live.jpg') no-repeat center;
}

.form {
  background: url('../../images/form.jpg') no-repeat center;
}

.rest {
  background: url('../../images/rest.jpg') no-repeat center;
}

.function {
  background: url('../../images/function.jpg') no-repeat center;
}

.beauty {
  background: url('../../images/beauty.jpg') no-repeat center;
}

.slides img {
  margin: auto;
}

.ss-capwrap, .ss-pag-wrap, #ss-prev, #ss-next {
  display: none;
}

/* ==========================================================================
 ABOUT
 ========================================================================== */

.about {
  background: #F4F5EC;
  padding: 25px 0 50px;
}

.about h1 {
  text-align: center;
}

.about h1 em {
  color: #96a64d;
}

.about .item {
  max-width: 400px;
}

.icon {
  background: #96a64d;
  margin: 1em auto;
  padding: 20px;
  width: 75px;
  height: 75px;
  -webkit-border-radius: 50%;
      -moz-border-radius: 50%;
          border-radius: 50%;
}

.item p {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.item hr {
  width: 50px;
  margin: 10px auto;
}

.btn {
  font-family: "chaparral-pro", Serif, serif;
  -webkit-border-radius: 2px;
      -moz-border-radius: 2px;
          border-radius: 2px;
  border: none;
}

.btn-default {
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #fff;
  background: #96a64d;
}

.btn-default:hover, .btn-default:focus {
  background: #899842;
  color: #fff;
}

.btn-lg {
  line-height: 1.5;
  padding: 7px 16px 4px;
}

.btn-md {
  padding: 6px 12px 5px;
}

.fancybox-open-bio {
  /*max-width: 356px;*/
}

.fancybox-open-bio span {
  display: block;
}

#bio {
  display: none;
}

#bio hr {
  width: 50px;
  margin: 15px auto;
}

#bio b {
  -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
 WORK
 ========================================================================== */

.work {
  background-color: #333333;
  /*min-height: 700px;*/
  /*position: relative;
  padding: 50px 0;
  background: url('../../images/oxford-rendering.jpg') no-repeat center;
  -webkit-background-size: cover;
      -moz-background-size: cover;
          background-size: cover;*/
}

.work-block {
  width: 100%;
}
@media (min-width: 480px) {
  .work-block {
      float: left;
      width: 50%;
  }
}
@media (min-width: 768px) {
  .work-block {
      width: 33.333%;
  }
}
/*@media (min-width: 1280px) {
  .work-block {
      width: 20%;
  }
}*/

.work-block h2 {
  font-size: 15px;
}

.no-padding {
  padding-left: 0;
  padding-right: 0;
}

.work ul {
  margin: 0;
}

.work .item {
  position: relative;
  color: #fff;
  min-height: 300px;
}

.work .item:hover, .work .item:focus {
  background: #ebeddd;
}

.work .item .overlay {
  opacity: 0;
  color: #fff;
  padding: 15px 25px;
  -webkit-transition: all .3s ease;
      transition: all .3s ease;
}

.work .item:hover .overlay, .work .item:focus .overlay {
  opacity: 1;
  color: #fff;
}

.work .item h2 {
  margin-top: 15px;
}

.gallery-img {
  display: none;
}

.project-info {
  font-family: "pt-sans-caption", Arial, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 13px;
  margin-bottom: 5px;
}

.project-info .btn-md {
  max-width: 200px;
}

.touch .project-info .btn-md {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 34px;
}

.project-info a {
  margin-top: 15px;
  color: #fff;
}

.project-info a:hover, .project-info a:focus {
  color: #fff;
}

.project-info ul li {
  margin-bottom: 5px;
}

.project-info ul li:last-child {
  margin-bottom: 0;
}

.touch .overlay a {
  display: none;
}

.touch .overlay.show a {
  display: block;
}

/* ==========================================================================
 SITE FOOTER
 ========================================================================== */

.site-footer {
  background: #96a64d;
  background: url('../img/site_plan_blake.jpg') no-repeat center;
  -webkit-background-size: cover;
      -moz-background-size: cover;
          background-size: cover;
  padding: 25px 0 60px;
}

.site-footer .item {
  max-width: 400px;
}

.site-footer p, .site-footer ul {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.site-footer ul {
  list-style: none;
  padding: 0;
}

.site-footer ul li a {
  color: #ebeddd;
  font-style: italic;
  -webkit-transition: color .3s ease;
      transition: color .3s ease;
}

.site-footer ul li a:hover, .site-footer ul li a:focus {
  color: #fff;
  text-decoration: none;
}

.social li {
  padding: 0 10px;
}

.social a {
  display: block;
  width: 50px;
  height: 50px;
  vertical-align: middle;
  background: #899842;
  border-radius: 50%;
  padding-top: 15px;
  -webkit-transition: all .3s ease;
      transition: all .3s ease;
}

.social a:hover, .social a:focus {
  background: #96a64d;
  box-shadow: 0 0 1px #999;
  box-shadow: 0 0 1px rgba(0,0,0,.15);
}

.contact-info {
  padding-top: 25px;
}

.contact-form {
  max-width: 400px;
}

.contact-form input, .contact-form textarea {
  -webkit-border-radius: 2px;
      -moz-border-radius: 2px;
          border-radius: 2px;
  -webkit-box-shadow: none;
      -moz-box-shadow: none;
          box-shadow: none;
}

.contact-form input:focus, .contact-form textarea:focus {
  border-color: #899842;
  outline: 0;
  -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(137,152,66,.6);
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(137,152,66,.6);
  background: #ebeddd;
}

.contact-form .btn {
  background: #ebeddd;
  background: rgba(235,237,221,.85);
  border: none;
  -webkit-border-radius: 0;
      -moz-border-radius: 0;
          border-radius: 0;
  -webkit-box-shadow: none;
      -moz-box-shadow: none;
          box-shadow: none;
  color: #333;
}

.contact-form .btn:hover, .contact-form .btn:focus {
  background: #ebeddd;
}

.copyright {
  color: #444;
  max-width: 295px;
  margin: 50px auto 0;
}

/* ==========================================================================
 Helper classes
 ========================================================================== */

/*--------------------------------------------
 Helper classes:
 Prefix with s- to differentiate
 from Bootstrap's stuff
--------------------------------------------*/

.s-reverse-hdr {
  color: #fff;
}

.s-reverse-link {
  color: #5B5A57;
}

.s-reverse-link:focus,
.s-reverse-link:hover {
  color: #000;
}

.s-0-margin {
  margin: 0;
}

.s-0-margin-top {
  margin-top: 0;
}

.s-0-margin-btm {
  margin-bottom: 0;
}

.s-cozy-margin-top {
  margin-top: 10px;
}

.s-cozy-margin-btm {
  margin-bottom: 10px;
}

.s-cozy-margin-top-btm {
  margin-bottom: 10px;
  margin-top: 10px;
}

.s-append-btm {
  margin-bottom: 24px
}

.s-append-btm-lg {
  margin-bottom: 48px;
}

.s-prepend-top {
  margin-top:  24px;
}

.s-prepend-top-lg {
  margin-top:  48px;
}

.s-btn {
  font-size: 13px;
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.s-btn .fa {
  font-size: 12px;
}

.s-img-inset-right {
  float: right;
  margin: 3px 0 6px 14px;
}

.s-img-inset-left {
  float: left;
  margin: 3px 18px 6px 0;
}

.s-smaller {
  font-size: 90%;
}

.s-li-current, .s-font-bold {
  font-weight: bold;
}

/*! fancyBox v2.1.5 fancyapps.com | fancyapps.com/fancybox/#license */
.fancybox-wrap,
.fancybox-skin,
.fancybox-outer,
.fancybox-inner,
.fancybox-image,
.fancybox-wrap iframe,
.fancybox-wrap object,
.fancybox-nav,
.fancybox-nav span,
.fancybox-tmp
{
  padding: 0;
  margin: 0;
  border: 0;
  outline: none;
  vertical-align: top;
}

.fancybox-wrap {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 8020;
}

.fancybox-skin {
  position: relative;
  background: #ebeddd;
  color: #444;
  text-shadow: none;
  -webkit-border-radius: 2px;
     -moz-border-radius: 2px;
          border-radius: 2px;
}

.fancybox-opened {
  z-index: 8030;
}

.fancybox-opened .fancybox-skin {
  -webkit-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
     -moz-box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
          box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.fancybox-outer, .fancybox-inner {
  position: relative;
}

.fancybox-inner {
  overflow-x: hidden!important;
}

.fancybox-type-iframe .fancybox-inner {
  -webkit-overflow-scrolling: touch;
}

.fancybox-error {
  color: #444;
  font: 14px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;
  margin: 0;
  padding: 15px;
  white-space: nowrap;
}

.fancybox-image, .fancybox-iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.fancybox-image {
  max-width: 100%;
  max-height: 100%;
}

#fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
  background-image: url('../img/fancybox_sprite.png');
}

#fancybox-loading {
  position: fixed;
  top: 50%;
  left: 50%;
  margin-top: -22px;
  margin-left: -22px;
  background-position: 0 -108px;
  opacity: 0.8;
  cursor: pointer;
  z-index: 8060;
}

#fancybox-loading div {
  width: 44px;
  height: 44px;
  background: url('../img/fancybox_loading.gif') center center no-repeat;
}

.fancybox-close {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 36px;
  height: 36px;
  cursor: pointer;
  z-index: 8040;
}

.fancybox-nav {
  position: absolute;
  top: 0;
  width: 40%;
  height: 100%;
  cursor: pointer;
  text-decoration: none;
  background: transparent url('../img/blank.gif'); /* helps IE */
  -webkit-tap-highlight-color: rgba(0,0,0,0);
  z-index: 8040;
}

.fancybox-prev {
  left: 0;
}

.fancybox-next {
  right: 0;
}

.fancybox-nav span {
  position: absolute;
  top: 50%;
  width: 36px;
  height: 34px;
  margin-top: -18px;
  cursor: pointer;
  z-index: 8040;
  visibility: hidden;
}

.fancybox-prev span {
  left: 10px;
  background-position: 0 -36px;
}

.fancybox-next span {
  right: 10px;
  background-position: 0 -72px;
}

.fancybox-nav:hover span {
  visibility: visible;
}

.fancybox-tmp {
  position: absolute;
  top: -99999px;
  left: -99999px;
  visibility: hidden;
  max-width: 99999px;
  max-height: 99999px;
  overflow: visible !important;
}

/* Overlay helper */

.fancybox-lock {
  overflow: hidden !important;
  width: auto;
}

.fancybox-lock body {
  overflow: hidden !important;
}

.fancybox-lock-test {
  overflow-y: hidden !important;
}

.fancybox-overlay {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  display: none;
  z-index: 8010;
  background: url('../img/fancybox_overlay.png');
}

.fancybox-overlay-fixed {
  position: fixed;
  bottom: 0;
  right: 0;
}

.fancybox-lock .fancybox-overlay {
  overflow: auto;
  overflow-y: scroll;
}

/* Title helper */

.fancybox-title {
  visibility: hidden;
  /*font: normal 13px/20px "Helvetica Neue",Helvetica,Arial,sans-serif;*/
  font-family: "chaparral-pro-caption", Serif, serif;
  font-weight: 400;
  font-style: normal;
  text-rendering: optimizeLegibility;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0;
  padding: 15px 0 0 0;
  position: relative;
  text-shadow: none;
  z-index: 8050;
}

.fancybox-opened .fancybox-title {
  visibility: visible;
}

.fancybox-title-float-wrap {
  /*position: absolute;
  bottom: 0;
  right: 50%;
  margin-bottom: -35px;*/
  z-index: 8050;
  text-align: center;
}

.fancybox-title-float-wrap .child {
  /*display: inline-block;*/
  display: block;
  /*margin-right: -100%;*/
  margin-right: 0;
  padding: 2px 20px;
  background: transparent; /* Fallback for web browsers that doesn't support RGBa */
  /*background: rgba(0, 0, 0, 0.8);
  -webkit-border-radius: 15px;
     -moz-border-radius: 15px;
          border-radius: 15px;*/
  /*text-shadow: 0 1px 2px #222;*/
  /*color: #FFF;
  font-weight: bold;
  line-height: 24px;*/
  /*white-space: nowrap;*/
}

.fancybox-title-outside-wrap {
  position: relative;
  margin-top: 10px;
  color: #fff;
}

.fancybox-title-inside-wrap {
  padding-top: 10px;
}

.fancybox-title-over-wrap {
  position: absolute;
  bottom: 0;
  left: 0;
  color: #fff;
  padding: 10px;
  background: #000;
  background: rgba(0, 0, 0, .8);
}


/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {

  h1, .h1 {
      font-size: 36px;
  }

  .hero {
      margin-top: 145px;
      min-height: 500px;
  }

  .about {
      padding: 50px 0 75px;
  }

  .ss-slide {
      min-height: 500px;
  }

  .main-nav li a {
      padding: 10px 18px;
  }

  .site-footer {
      padding: 50px 0 100px;
  }

  .fancybox-open-bio span {
      display: inline;
  }

  .copyright {
      max-width: 100%;
  }

  .fancybox-title {
      font-size: 18px;
      line-height: 1.2;
  }
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {

  body {
    font-size: 19px;
    line-height: 1.3;
  }

  h1, .h1 {
      font-size: 36px;
  }

  h2, .h2 {
     font-size: 18px;
  }

  .hero {
      min-height: 600px;
  }

  .ss-slide {
      min-height: 600px;
  }

  .main-nav li a {
      padding: 10px 30px;
  }

  .main-nav li .logo {
      padding: 0 50px;
  }

  .logo img {
      width: 300px;
      margin-top: -3px;
  }

  .site-header.affix .main-nav {
      padding: 30px 0;
  }

}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {

  .main-nav ul {
      width: 970px;
  }

  .main-nav li a {
      padding: 10px 35px;
  }

}




/*Retina graphics!*/
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
     only screen and (min--moz-device-pixel-ratio: 1.5),
     only screen and (min-device-pixel-ratio: 1.5){

  #fancybox-loading, .fancybox-close, .fancybox-prev span, .fancybox-next span {
      background-image: url('../img/fancybox_sprite@2x.png');
      background-size: 44px 152px; /*The size of the normal image, half the size of the hi-res image*/
  }

  #fancybox-loading div {
      background-image: url('../img/fancybox_loading@2x.gif');
      background-size: 24px 24px; /*The size of the normal image, half the size of the hi-res image*/
  }
}

/* Probably don't need to edit below here */
.ss-slides-wrap {
  position: relative;
  display: block;
  line-height: 0px;
}
.ss-slides {
  position:relative;
  overflow:hidden;
  display:block;
  transform-origin:50% 50%;
  -ms-transform-origin:50% 50%;
  -webkit-transform-origin:50% 50%;
}
.ss-slide {
  top:0;
  left:0;
  position: absolute;
  width:100%;
  zoom: 1;
  line-height:0;
  -webkit-backface-visibility: hidden;
}
.ss-slide:after {
  content: "";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}
.ss-slide img {
  max-width:100%;
}
.notrans {
  -webkit-transition: none!important;
  -moz-transition:none!important;
  transition: none!important;
}


/*
* Image replacement
*/

.ir {
  background-color: transparent;
  border: 0;
  overflow: hidden;
  /* IE 6/7 fallback */
  *text-indent: -9999px;
}

.ir:before {
  content: "";
  display: block;
  width: 0;
  height: 150%;
}

/*
* Hide from both screenreaders and browsers: h5bp.com/u
*/

.hidden {
  display: none !important;
  visibility: hidden;
}

/*
* Hide only visually, but have it available for screenreaders: h5bp.com/v
*/

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
}

/*
* Extends the .visuallyhidden class to allow the element to be focusable
* when navigated to via the keyboard: h5bp.com/p
*/

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
}

/*
* Hide visually and from screenreaders, but maintain layout
*/

.invisible {
  visibility: hidden;
}

/*
* Clearfix: contain floats
*
* For modern browsers
* 1. The space content is one way to avoid an Opera bug when the
*    `contenteditable` attribute is included anywhere else in the document.
*    Otherwise it causes space to appear at the top and bottom of elements
*    that receive the `clearfix` class.
* 2. The use of `table` rather than `block` is only necessary if using
*    `:before` to contain the top-margins of child elements.
*/

.clearfix:before,
.clearfix:after {
  content: " "; /* 1 */
  display: table; /* 2 */
}

.clearfix:after {
  clear: both;
}

/*
* For IE 6/7 only
* Include this rule to trigger hasLayout and contain floats.
*/

.clearfix {
  *zoom: 1;
}

/* ==========================================================================
 EXAMPLE Media Queries for Responsive Design.
 These examples override the primary ('mobile first') styles.
 Modify as content requires.
 ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
   (-o-min-device-pixel-ratio: 5/4),
   (-webkit-min-device-pixel-ratio: 1.25),
   (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
 Print styles.
 Inlined to avoid required HTTP connection: h5bp.com/r
 ========================================================================== */

@media print {
  * {
    background: transparent !important;
    color: #000 !important; /* Black prints faster: h5bp.com/s */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]:after {
    content: " (" attr(href) ")";
  }

  abbr[title]:after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links for images, or javascript/internal links
   */

  .ir a:after,
  a[href^="javascript:"]:after,
  a[href^="#"]:after {
    content: "";
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  thead {
    display: table-header-group; /* h5bp.com/t */
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  img {
    max-width: 100% !important;
  }

  @page {
    margin: 0.5cm;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}
