/*! HTML5 Boilerplate v5.1.0 | MIT License | https://html5boilerplate.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 {
  color: #3b332f;
  font-size: 1em;
  line-height: 1;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #007ebd;
  color: #aee2fa;
  text-shadow: none;
}

::selection {
  background: #007ebd;
  color: #aee2fa;
  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 audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

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

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
  resize: vertical;
}

/* ==========================================================================
   Blairs PVCu
   ========================================================================== */

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

a {
  text-decoration: none;
  color: #3b332f;
}

img {
  display: block;
  max-width: 100%;
}

ul {
  list-style: none;
}
.errors li, .alert{
  color: red !important;
font-weight: 600;
margin-bottom: 10px;
}
/* 400, 700 */

body, input, textarea {
  font-family: "azo-sans-web", sans-serif;
  font-weight: 400;
  font-style: normal;
}

strong {
  font-weight: 700;
}

em {
  font-style: normal;
  color: #e74439;
}

ul, li, p, h1, h2, h3, h4, h5, h6 {
  margin: 0;
  padding: 0;
  line-height: 1;
}

ul {
  list-style: none;
}

.slicknav_menu {
  position: absolute;
  z-index: 9999;
  width: 100%;
}

.slicknav_nav {
  font-size: 16px;
}

.slicknav_nav li {
  line-height: 1.4;
}

.slicknav_menu,
.mobile-nav {
  display: none;
}

.slicknav_btn {
  float: left;
  background-color: #249683;
  text-shadow: none;
}

.slicknav_menu {
  background-color: #33363b;
}

.pure-form input[type="text"],
.pure-form input[type="password"],
.pure-form input[type="email"],
.pure-form input[type="url"],
.pure-form input[type="date"],
.pure-form input[type="month"],
.pure-form input[type="time"],
.pure-form input[type="datetime"],
.pure-form input[type="datetime-local"],
.pure-form input[type="week"],
.pure-form input[type="number"],
.pure-form input[type="search"],
.pure-form input[type="tel"],
.pure-form input[type="color"],
.pure-form select,
.pure-form textarea,
.pure-form button {
  padding: 0 15px;
  font-size: 15px;
  height: 50px;
  display: block;
  box-shadow: none;
  border-radius: 0;
  width: 100%;
  vertical-align: middle;
  border: 0;
}

.pure-form textarea {
  padding: 14px;
}

.pure-form label {
  display: block;
  text-align: left;
  margin-bottom: 10px;
}

.pure-form label.required:after {
  content: ' *';
}

.pure-form .notifications {
  margin-bottom: 0;
  font-size: 18px;
  font-weight: bold;
}

.pure-form .error-message {
  color: crimson;
}

.pure-form .success-message {
  color: #94c11f;
}

.pure-form textarea {
  height: 180px;
}

.pure-form button {
  border: 0;
}

.pure-form .field {
  margin-bottom: 20px;
}

::-webkit-input-placeholder {
  text-transform: uppercase;
  color: #333;
}

::-moz-placeholder {
  text-transform: uppercase;
  color: #333;
}

:-ms-input-placeholder {
  text-transform: uppercase;
  color: #333;
}

:-moz-placeholder {
  text-transform: uppercase;
  color: #333;
}

html, body {
  height: 100%;
}

.wrapper {
  min-height: 100%;
  margin-bottom: -360px;
}

footer,
.push {
  height: 360px;
}

.container {
  margin: 0 auto;
  max-width: 1040px;
  padding: 0 20px;
}

.container:before,
.container:after {
  content: "";
  display: table;
  clear: both;
}

.half-container {
  float: left;
  max-width: 440px;
}

.ribbon {
  height: 44px;
  background-color: #676766;
}

.ribbon__estimate {
  float: right;
  padding: 8px;
  margin-right: -176px;
}

.ribbon__estimate a {
  display: block;
  background-color: #009bb4;
  color: #fff;
  text-transform: uppercase;
  font-size: 14px;
  width: 160px;
  padding: 7px 14px;
  text-align: center;
}

.ribbon__social {
  float: right;
  padding: 12px 22px;
  border-right: 1px solid #fff;
  border-left: 1px solid #fff;
  font-size: 0;
}

.ribbon__social a,
.footer__social a {
  display: inline-block;
  width: 28px;
  height: 20px;
  background-position: center center;
  background-repeat: no-repeat;
  background-size: auto 20px;
  margin-right: 10px;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  color: #ebe6e4;
  font-weight: 500;
}

.ribbon__social a:last-of-type,
.footer__social a:last-of-type {
  margin-right: 0;
}

.ribbon__social a.twitter,
.footer__social a.twitter {
  background-image: url(/img/twitter.svg);
}

.ribbon__social a.linkedin,
.footer__social a.linkedin {
  background-image: url(/img/linkedin.svg);
}

.ribbon__social a.youtube,
.footer__social a.youtube {
  background-image: url(/img/youtube.svg);
}

.ribbon__social a.facebook,
.footer__social a.facebook {
  background-image: url(/img/facebook.svg);
}

.ribbon__contact {
  float: right;
  padding: 15px 20px;
  font-size: 14px;
}

.ribbon__contact em {
  text-transform: uppercase;
  color: #b9b2af;
  font-weight: 500;
}

.ribbon__contact a {
  padding-left: 20px;
  font-weight: 500;
  color: #ebe6e4;
}

header {
  height: 120px;
}

header .logo {
  float: left;
  height: 60px;
  margin-top: 30px;
}

header ul {
  float: right;
  margin-top: 78px;
}

header li {
  float: left;
  font-size: 13px;
  text-transform: uppercase;
  margin-right: 12px;
}

header li:last-of-type {
  margin-right: 0;
}

header li a {
  color: #747171;
  font-weight: 500;
}

.banners {
  position: relative;
}

.banner-wrapper {
  position: relative;
}

.banners__banner {
  height: 600px;
  background-position: right 60px top 60px, center top;
  background-repeat: no-repeat, no-repeat;
  background-size: auto auto, cover;
}

.banners__banner h3 {
  font-size: 50px;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.1;
  width: 70%;
  font-weight: 700;
  margin-top: 80px;
}

.banners__news {
  position: absolute;
  width: 100%;
  left: 0;
  bottom: 0;
  z-index: 9989;
}

.banners__news__article {
  display: block;
  float: left;
  width: 32%;
  margin-right: 2%;
  background-color: #009bb4;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  padding: 20px 35px;
  color: #fff;
  min-height: 140px;
  line-height: 1.4;
  font-size: 20px;
}

.banners__news__article:last-of-type {
  margin-right: 0;
}

.blocks__row {
  background-color: #ebebeb;
  background-position: right top;
  background-repeat: no-repeat;
  background-size: 50% auto;
}

.blocks__row:before,
.blocks__row:after {
  content: "";
  display: table;
  clear: both;
}

.blocks__row.right {
  background-color: #d5d5d5;
  background-position: left top;
}

.blocks--contact .blocks__row.right {
  background-color: #bcc8c7;
}

.blocks__row__block {
  float: left;
  min-height: 430px;
  width: 50%;
  padding: 60px 60px 60px 0;
}

.blocks__row__map {
  float: left;
  width: 50%;
}

#map {
  width: 100%;
  height: 480px;
}

.blocks__row.right .blocks__row__block {
  float: right;
  padding: 60px 0 60px 60px;
}

.blocks__row__block h3 {
  font-size: 34px;
  text-transform: uppercase;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.3;
}

.blocks--case-studies .blocks__row__block h3 {
  font-size: 26px;
}

.blocks__row__block h4 {
  font-size: 20px;
  color: #249683;
  margin-bottom: 8px;
  font-weight: 400;
  text-transform: uppercase;
}

.blocks__row__block p {
  font-size: 15px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.blocks__row__block p a {
  color: #249683;
}

.blocks__row__block ul {
  list-style-type: disc;
  margin: 0 0 20px 20px;
}

.blocks__row__block ul li {
  font-size: 15px;
  line-height: 1.5;
}

.blocks__row__block p.read-more {
  text-align: right;
  color: #1f6257;
  font-weight: bold;
  text-transform: lowercase;
}

.blocks__row__block .button {
  display: inline-block;
  border: 2px solid #3b332f;
  font-size: 17px;
  text-transform: uppercase;
  font-weight: bold;
  padding: 12px 24px;
}

.page {
  padding: 80px 0;
  background-color: #ebebeb;
}

.page--centre {
  text-align: center;
}

.page--grey {
  background-color: #ebebeb;
}

.body h2 {
  font-size: 36px;
  font-weight: bold;
  line-height: 1.3;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.body h2.thanks {
  text-align: center;
}

.body--case-studies h2 {
  display: inline-block;
  border-bottom: 4px solid #00a888;
  margin-bottom: 30px;
  padding-bottom: 10px;
}

.body h3 {
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 20px;
}

.body h4 {
  font-size: 28px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.body p {
  font-size: 17px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.body ul {
  list-style-type: disc;
  margin: 0 0 20px 20px;
}

.body p a {
  color: #249683;
}

.body .button-group {
  font-size: 0;
  margin-bottom: 20px;
}

.promo-button {
  display: inline-block;
  padding: 10px 30px;
  text-align: center;
  font-size: 24px;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.2;
  background-color: #009bb4;
  border: 2px solid #fff;
  letter-spacing: 0.05em;
  margin: 0 10px;
}

.products {
  margin-top: 60px;
}

.products__product {
  display: block;
  float: left;
  width: 22.6%;
  margin: 0 3.2% 32px 0;
}

.products__product:nth-of-type(4n+4) {
  margin-right: 0;
}

.products__product--download img {
  width: 50%;
  display: inline-block;
  margin-bottom: 20px;
}

.products__product h3 {
  background-color: #009bb4;
  color: #fff;
  text-transform: uppercase;
  font-size: 16px;
  padding: 10px;
  font-weight: 400;
  min-height: 68px;
  line-height: 1.5;
}

.projects {
  margin-top: 60px;
}

.projects__project {
  display: block;
  float: left;
  width: 29.2%;
  margin: 0 6.2% 32px 0;
}

.projects__project:nth-of-type(3n+3) {
  margin-right: 0;
}

.projects__project h3 {
  background-color: #394249;
  color: #fff;
  text-transform: uppercase;
  font-size: 16px;
  padding: 10px;
  font-weight: 400;
}

.gallery {
  margin-top: 60px;
}

.gallery__image {
  display: block;
  float: left;
  width: 29.2%;
  margin: 0 6.2% 32px 0;
}

.gallery__image:nth-of-type(3n+3) {
  margin-right: 0;
}

.gallery--page .gallery__image {
  display: block;
  float: left;
  width: 15%;
  margin: 0 2% 20px 0;
}

.gallery--page .gallery__image:nth-of-type(3n+3) {
  margin-right: 2%;
}

.gallery--page .gallery__image:nth-of-type(6n+6) {
  margin-right: 0;
}

.back-projects {
  display: block;
  text-align: right;
  text-transform: uppercase;
}

.news__articles {
  float: left;
  width: 100%;
  padding: 29px 60px 29px 0;
}

.news__articles h2 {
  font-size: 22px;
  text-transform: uppercase;
  margin-bottom: 29px;
}

.news__articles__article {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px dotted #333;
}

.news__articles__article:before,
.news__articles__article:after {
  content: "";
  display: table;
  clear: both;
}

.news__articles__article__image {
  float: left;
  width: 37%;
  margin-right: 5%;
}

.news__articles__article__body {
  float: left;
  width: 58%;
}

.news__articles__article__body h3 {
  font-size: 26px;
  line-height: 1.4;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 400;
}

.news__articles__article__body h3 a {
  color: #3b332f;
}

.news__articles__article__body p {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.news__articles__article__body p a {
  color: #34776c;
  font-weight: 700;
}

.news__articles__article__body p.read-more {
  text-align: right;
}

.news__articles__article__body p.read-more a {
  text-transform: lowercase;
}

.news__previous {
  float: left;
  margin-right: -240px;
  width: 240px;
  background: #b6c4c2;
  padding: 80px 30px;
}

.news__previous h3 {
  font-size: 16px;
  color: #34776c;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.news__previous li {
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 1.5;
  font-weight: 700;
}

.product {
  background-color: #ebebeb;
}

.product:before,
.product:after {
  content: "";
  display: table;
  clear: both;
}

.product__nav {
  height: 40px;
  margin-bottom: 40px;
  background: linear-gradient(to right, #ebebeb 0%, #ebebeb 50%, #939495 50%, #939495 100%);
}

.product__nav ul {
  float: right;
  width: 66%;
  background-color: #939495;
  height: 40px;
  font-size: 0;
  text-align: right;
  padding: 9px;
}

.product__nav li {
  display: inline-block;
  padding: 4px 6px;
  font-size: 14px;
  margin-right: 20px;
}

.product__nav li a {
  color: #fff;
}

.product__nav li.here {
  font-weight: bold;
}

.product__nav li.enquire {
  background-color: #464646;
  margin-right: 0;
}

.product__main {
  margin: 40px 0;
}

.product__main:before,
.product__main:after {
  content: "";
  display: table;
  clear: both;
}

.product__main__body {
  float: left;
  width: 59%;
}

.product__main__body h1 {
  font-size: 28px;
  text-transform: uppercase;
  color: #3b332f;
  font-weight: 400;
  margin-bottom: 20px;
}

.product__main__body h2 {
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 20px;
  line-height: 1.3;
}

.product__drawings {
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 4px solid #249683;
  border-top: 4px solid #249683;
  padding-top: 40px;
}

.product__main__body p,
.product__drawings p {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.product__main__body ul,
.product__drawings ul {
  list-style-type: disc;
  margin-left: 20px;
  margin-bottom: 15px;
}

.product__drawings ul {
  color: #249683;
}

.product__main__body li,
.product__drawings li {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 5px;
}

.product__main__body p strong,
.product__main__body li strong {
  color: #236257;
}

.product__drawings li a {
  color: #249683;
}

.product__main__estimate {
  float: left;
  width: 41%;
}

.product__media {
  margin-bottom: 40px;
}

.product__media:before,
.product__media:after {
  content: "";
  display: table;
  clear: both;
}

.product__media__slider {
  float: left;
  width: 50%;
  margin-right: 10%;
}

.product__media__gallery {
  float: left;
  width: 40%;
}

.product__key-features {
  background-color: #c7e3de;
  padding: 40px;
  text-align: center;
}

.product__key-features h3 {
  display: inline-block;
  text-transform: uppercase;
  font-size: 24px;
  color: #3b332f;
  padding: 0 24px 12px;
  border-bottom: 4px solid #249683;
  font-weight: 400;
  margin-bottom: 40px;
}

.product__key-features__feature {
  display: block;
  float: left;
  width: 29.2%;
  margin: 0 6.2% 30px 0;
  text-align: left;
}

.product__key-features__feature:nth-of-type(3n+3) {
  margin-right: 0;
}

.product__key-features__feature img {
  margin-bottom: 20px;
}

.product__key-features__feature h4 {
  font-size: 16px;
  margin-bottom: 20px;
  font-weight: 400;
  text-transform: uppercase;
}

.product__key-features__feature p {
  font-size: 13px;
  line-height: 1.5;
}

.product__colours:before,
.product__colours:after {
  content: "";
  display: table;
  clear: both;
}

.product__colours {
  padding-bottom: 40px;
}

.product__performance:before,
.product__performance:after {
  content: "";
  display: table;
  clear: both;
}

.product__performance {
  padding-bottom: 40px;
}

.product__certifications:before,
.product__certifications:after {
  content: "";
  display: table;
  clear: both;
}

.product__certifications {
  padding-bottom: 40px;
}

.product__warranty:before,
.product__warranty:after {
  content: "";
  display: table;
  clear: both;
}

.product__warranty {
  padding-bottom: 40px;
}

.product__colours h3,
.product__glazing h3,
.product__text-block h3,
.product__performance h3,
.product__certifications h3,
.product__warranty h3 {
  font-size: 20px;
  color: #249683;
  padding-bottom: 10px;
  margin-bottom: 20px;
  border-bottom: 3px solid #249683;
  font-weight: 400;
}

.product__colours p,
.product__glazing p,
.product__text-block p,
.product__performance p,
.product__certifications p,
.product__warranty p {
  font-size: 15px;
  line-height: 1.5;
  margin-bottom: 40px;
}

.product__glazing:before,
.product__glazing:after {
  content: "";
  display: table;
  clear: both;
}

.product__glazing {
  padding: 40px 0;
  background-color: #d9e3e2;
}

.product__text-block:before,
.product__text-block:after {
  content: "";
  display: table;
  clear: both;
}

.product__text-block {
  padding: 40px 0;
}

.product__glazing__option {
  float: left;
  width: 28%;
  margin: 0 8% 20px 0;
}

.product__glazing__option:nth-of-type(3n+3) {
  margin-right: 0;
}

.product__glazing__option p {
  margin-bottom: 0;
}

.product__glazing__option h4 {
  font-size: 16px;
  color: #1d7f6f;
  margin-bottom: 5px;
}

.colours {
  background-color: #f1f4f3;
  padding: 10px 10px 0;
}

.colours:before,
.colours:after {
  content: "";
  display: table;
  clear: both;
}

.colours__colour {
  float: left;
  width: 15.816326530612246%; /* 155px */
  margin: 0 1.0204081632653061% 10px 0; /* 10px */
}

.colours__colour:nth-of-type(6n+6) {
  margin-right: 0;
}

.colours__colour__swatch {
  height: 148px;
  border-bottom: 1px solid #d5d3cd;
}

.colours__colour__description {
  background-color: #fff;
  border-bottom: 1px solid #d5d3cd;
  padding: 10px;
}

.colours__colour__description h4 {
  font-size: 14px;
  font-weight: 400;
  margin-bottom: 5px;
}

.colours__colour__description h5 {
  font-size: 12px;
}

.performance-ratings {
  width: 80%;
}

.performance-ratings th,
.performance-ratings td {
  padding: 10px;
  text-align: left;
  font-size: 14px;
  font-weight: 400;
}

.performance-ratings th {
  color: #fff;
  background-color: #249683;
}

.performance-ratings td {
  background-color: #fff;
  border-right: 1px solid #c1c0c0;
}

.performance-ratings td:last-of-type {
  border-right: 0;
}

.certifications {
  padding: 20px;
  background-color: #fff;
}

.certifications img {
  width: 100%;
}

.warranty .promo-button {
  margin: 0 40px 0 0;
  display: block;
  float: left;
}

.warranty p {
  float: left;
  margin-top: 30px;
}

.sidebar-gallery:before,
.sidebar-gallery:after {
  content: "";
  display: table;
  clear: both;
}

.sidebar-gallery img {
  float: left;
  width: 31%;
  margin: 0 3.5000000000000004% 14px 0; /* 14px */
}

.sidebar-gallery a:nth-of-type(3n+3) img {
  margin-right: 0;
}

.pure-form {
  text-align: left;
}

.pure-form .row {
  margin-bottom: 20px;
}

.pure-form button {
  width: auto;
  display: inline-block;
  height: 40px;
  color: #fff;
  background-color: #249683;
}

.pure-form input[type=checkbox] {
  margin-right: 10px;
}

.pure-form .form-group label {
  display: none;
}

.estimate-button {
  float: right;
  width: 60%;
  background-color: #939495;
  color: #fff;
  padding: 20px;
  text-align: center;
  font-size: 22px;
  line-height: 1.3;
}

.estimate-button span,
.estimate-button small,
.estimate-button a {
  display: block;
}

.estimate-button small {
  margin-bottom: 10px;
}

.estimate-button a {
  background-color: #464646;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  text-transform: uppercase;
  padding: 10px 0;
}

.staff__person {
    float: left;
    display: block;
    width: 23.2%;
    margin: 0 2.4% 24px 0;
}

.staff__person:nth-of-type(4n+4) {
    margin-right: 0;
}

.staff__person img {
    margin-bottom: 16px;
}

.staff__person h3 {
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 400;
    line-height: 1.5;
}

.bio {
  width: 600px;
  padding: 0;
}

.bio button:focus {
  outline: none;
}

*:focus {
  outline: none;
}

.bio__text {
    padding: 20px;
}

.bio__text h3 {
    font-size: 22px;
    line-height: 1.4;
    margin-bottom: 20px;
    font-weight: 400;
}

.bio__text p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.bio__close {
  display: block;
  height: 36px;
  text-transform: uppercase;
  font-size: 14px;
  background-color: #d1d2d4;
  color: #1d1d1b;
  text-align: center;
  padding-top: 11px;
}

footer {
  background-color: #676766;
}

footer .logos {
  border-bottom: 1px solid #fff;
  padding: 30px 0 20px;
  margin-bottom: 30px;
}

footer .logos:before,
footer .logos:after {
  content: "";
  display: table;
  clear: both;
}

footer .logos img {
  float: left;
  height: 36px;
}

footer .logos a:last-of-type img {
  float: right;
}

.footer p {
  font-size: 12px;
  line-height: 1.6;
  color: #fff;
  margin-bottom: 20px;
}

.footer p a {
  color: #fff;
}

.footer p span {
  padding: 0 6px;
}

.footer__details {
  float: left;
}

.footer__social {
  float: right;
  margin: 20px 0 40px;
}

.footer__logos {
  float: right;
  margin-left: 20px;
}

.footer__logos img {
  height: 66px;
}
.prefooter{
  background-color: #009BB4;
  padding:20px;
}

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

/*
 * Hide visually and from screen readers:
 */

.hidden {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.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:
 * https://www.drupal.org/node/897638
 */

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

/*
 * Hide visually and from screen readers, 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;
}

/* ==========================================================================
   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,
     (-webkit-min-device-pixel-ratio: 1.25),
     (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *:before,
  *:after {
    background: transparent !important;
    color: #000 !important; /* Black prints faster:
                   http://www.sanbeiji.com/archives/953 */
    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 that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */

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

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

  /*
   * Printing Tables:
   * http://css-discuss.incutio.com/wiki/Printing_Tables
   */

  thead {
    display: table-header-group;
  }

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

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

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

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