/*! Stylesheet | MIT License */

/*! normalize.css v7.0.0 | MIT License | github.com/necolas/normalize.css */

/* Variables */

/* $colourGrey--dark:#B3AFAB;
$colourGrey--med:hsla(0,4%,5%,.15);
$colourGrey--light:hsla(0,4%,5%,.05); */

/* Document
   ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in
 *    IE on Windows Phone and in iOS.
 */

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

html {
  font-size: 16px;
  font-size: 100%;
  line-height: 1.5;
  /* 1 */
  -ms-text-size-adjust: 100%;
  /* 2 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Sections
    ========================================================================== */

/**
* Remove the margin in all browsers (opinionated).
*/

body {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  font-family: 'Proxima Nova', sans-serif;
  color: #fff;
  background-color: #1D221A;
}

/**
* Add the correct display in IE 9-.
*/

article,
aside,
footer,
header,
nav,
section {
  display: block;
}

/**
* Correct the font size and margin on `h1` elements within `section` and
* `article` contexts in Chrome, Firefox, and Safari.
*/

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
    ========================================================================== */

/**
* Add the correct display in IE 9-.
* 1. Add the correct display in IE.
*/

figcaption,
figure,
main {
  /* 1 */
  display: block;
}

/**
* Add the correct margin in IE 8.
*/

figure {
  margin: 1em 40px;
}

/**
* 1. Add the correct box sizing in Firefox.
* 2. Show the overflow in Edge and IE.
*/

hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */
}

/**
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/

pre {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/* Text-level semantics
    ========================================================================== */

/**
* 1. Remove the gray background on active links in IE 10.
* 2. Remove gaps in links underline in iOS 8+ and Safari 8+.
*/

a {
  background-color: transparent;
  /* 1 */
  -webkit-text-decoration-skip: objects;
  color: #fab600;
  transition: color 200ms;
  /* 2 */
}

a:hover{
  color: #ffffff;

}

/**
* 1. Remove the bottom border in Chrome 57- and Firefox 39-.
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
*/

abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  text-decoration: underline dotted;
  /* 2 */
}

/**
* Prevent the duplicate application of `bolder` by the next rule in Safari 6.
*/

b,
strong {
  font-weight: inherit;
}

/**
* Add the correct font weight in Chrome, Edge, and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/**
* 1. Correct the inheritance and scaling of font size in all browsers.
* 2. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */
}

/**
* Add the correct font style in Android 4.3-.
*/

dfn {
  font-style: italic;
}

/**
* Add the correct background and color in IE 9-.
*/

mark {
  background-color: #ff0;
  color: #000;
}

/**
* Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/**
* Prevent `sub` and `sup` elements from affecting the line height in
* all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
    ========================================================================== */

/**
* Add the correct display in IE 9-.
*/

audio,
video {
  display: inline-block;
}

/**
* Add the correct display in iOS 4-7.
*/

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

/**
* Remove the border on images inside links in IE 10-.
*/

img {
  border-style: none;
}

/**
* Hide the overflow in IE.
*/

svg:not(:root) {
  overflow: hidden;
}

/* Forms
    ========================================================================== */

/**
* 1. Change the font styles in all browsers (opinionated).
* 2. Remove the margin in Firefox and Safari.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: sans-serif;
  /* 1 */
  font-size: 100%;
  /* 1 */
  line-height: 1.15;
  /* 1 */
  margin: 0;
  /* 2 */
}

/**
* Show the overflow in IE.
* 1. Show the overflow in Edge.
*/

button,
input {
  /* 1 */
  overflow: visible;
}

/**
* Remove the inheritance of text transform in Edge, Firefox, and IE.
* 1. Remove the inheritance of text transform in Firefox.
*/

button,
select {
  /* 1 */
  text-transform: none;
}

/**
* 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
*    controls in Android 4.
* 2. Correct the inability to style clickable types in iOS and Safari.
*/

button,
html [type="button"],
/* 1 */

[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
  /* 2 */
}

/**
* Remove the inner border and padding in Firefox.
*/

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
* Restore the focus styles unset by the previous rule.
*/

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
* Correct the padding in Firefox.
*/

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
* 1. Correct the text wrapping in Edge and IE.
* 2. Correct the color inheritance from `fieldset` elements in IE.
* 3. Remove the padding so developers are not caught out when they zero out
*    `fieldset` elements in all browsers.
*/

legend {
  box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */
}

/**
* 1. Add the correct display in IE 9-.
* 2. Add the correct vertical alignment in Chrome, Firefox, and Opera.
*/

progress {
  display: inline-block;
  /* 1 */
  vertical-align: baseline;
  /* 2 */
}

/**
* Remove the default vertical scrollbar in IE.
*/

textarea {
  overflow: auto;
}

/**
* 1. Add the correct box sizing in IE 10-.
* 2. Remove the padding in IE 10-.
*/

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */
}

/**
* Correct the cursor style of increment and decrement buttons in Chrome.
*/

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

/**
* 1. Correct the odd appearance in Chrome and Safari.
* 2. Correct the outline style in Safari.
*/

[type="search"] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/**
* Remove the inner padding and cancel buttons in Chrome and Safari on macOS.
*/

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
* 1. Correct the inability to style clickable types in iOS and Safari.
* 2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/* Interactive
    ========================================================================== */

/*
* Add the correct display in IE 9-.
* 1. Add the correct display in Edge, IE, and Firefox.
*/

details,
/* 1 */

menu {
  display: block;
}

/*
* Add the correct display in all browsers.
*/

summary {
  display: list-item;
}

/* Scripting
    ========================================================================== */

/**
* Add the correct display in IE 9-.
*/

canvas {
  display: inline-block;
}

/**
* Add the correct display in IE.
*/

template {
  display: none;
}

/* Hidden
    ========================================================================== */

/**
* Add the correct display in IE 10-.
*/

[hidden] {
  display: none;
}

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

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

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Vendor-prefixed and regular ::selection selectors cannot be combined:
 * https://stackoverflow.com/a/16982510/7133471
 *
 * 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 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;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
  display: block;
  background: #B3AFAB3;
  color: #2e2c2c;
  padding: 0.5rem;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* Typography */

@font-face {
  font-family: Proxima Nova;
  src: url(https://www.hillarys.co.uk/build/global/webfonts/proxima-nova/proxima-nova-regular-alt.woff2) format("woff2"), url(https://www.hillarys.co.uk/build/global/webfonts/proxima-nova/proxima-nova-regular-alt.woff) format("woff");
  font-weight: 500;
  font-display: swap
}

@font-face {
  font-family: Proxima Nova;
  src: url(https://www.hillarys.co.uk/build/global/webfonts/proxima-nova/proxima-nova-semibold-alt.woff2) format("woff2"), url(https://www.hillarys.co.uk/build/global/webfonts/proxima-nova/proxima-nova-semibold-alt.woff) format("woff");
  font-weight: 600;
  font-display: swap
}

@font-face {
  font-family: Proxima Nova;
  src: url(https://www.hillarys.co.uk/build/global/webfonts/proxima-nova/proxima-nova-italic-alt.woff2) format("woff2"), url(https://www.hillarys.co.uk/build/global/webfonts/proxima-nova/proxima-nova-italic-alt.woff) format("woff");
  font-style: italic;
  font-weight: 500;
  font-display: swap
}

@font-face {
  font-family: Proxima Nova;
  src: url(https://www.hillarys.co.uk/build/global/webfonts/proxima-nova/proxima-nova-bold-alt.woff2) format("woff2"), url(https://www.hillarys.co.uk/build/global/webfonts/proxima-nova/proxima-nova-bold-alt.woff) format("woff");
  font-weight: 700;
  font-display: swap
}

@font-face {
  font-family: Steelfish;
  src: url(../font/Steelfish.woff) format("woff2"), url(../font/Steelfish.woff2) format("woff");
  font-weight: 600;
  font-display: swap
}

h1,
h2 {
  margin-top: 0;
  font-family: 'Steelfish', serif;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

h1.xl {
  font-size: 38px;
  line-height: 48px;
  margin-bottom: 20px;
}

h1 {
  font-size: 32px;
  line-height: 38px;
}

h2 {
  font-size: 24px;
  line-height: 32px;
}

h3 {
  font-size: 20px;
  line-height: 32px;
  font-weight: 300;
}

h4 {
  font-size: 20px;
  line-height: 26px;
  font-family: 'Proxima Nova', sans-serif;
}

@media (min-width:48rem) {
  h1.xl {
    font-size: 64px;
    line-height: 70px;
    max-width: 30ch;
  }
  h1 {
    font-size: 44px;
    line-height: 52px;
  }
  h2 {
    font-size: 32px;
    line-height: 38px;
  }
  h3 {
    font-size: 24px;
    line-height: 32px
  }
  h4 {
    font-size: 20px;
    line-height: 26px;
    font-family: 'Proxima Nova', sans-serif;
  }
}

.highlight {
  color: #fab600;
}

p {
  display: block;
  font-size: 1rem;
  line-height: 1.8;
  opacity: 0.8;
  margin: 0;
  letter-spacing: -0.30px;
  word-spacing: -0.10px;
}

.italics {
  font-style: italic;
}

.p-styleblock {
  border-left: 3px solid #fab600;
  padding-left: 30px;
  margin: 2rem auto 4rem;
}

@media(min-width:48rem) {
  p {
    font-size: 1.2rem;
  }
}

p+p {
  margin-top: 1rem;
}

p.strapline {
  opacity: 0.5;
  margin: 0;
  font-weight: 700;
}

/* Buttons */

.button {
  display: inline-block;
  color: #fff;
  line-height: 1.38462;
  letter-spacing: 0;
  font-family: 'Proxima Nova', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 8px 14px;
  background-color: #ec0142;
  border: 2px solid #ec0142;
  border-radius: 5px;
  letter-spacing: .5px;
  text-align: center;
  outline: 0;
  margin: 2rem 0;
  cursor: pointer;
  -webkit-transition: none;
  transition: none
}

@media(min-width:48rem) {
  .button {
    font-size: 14px;
    padding: 12px 30px;
  }
}

.button.button--small {
  font-size: 12px;
  padding: 14px;
}

.button-primary {
  background-color: #22C6B3;
  border: 2px solid #22C6B3;
  color: #18181C;
  transition: 100ms all;
}

.button-primary:hover {
  background-color: #0E9484;
  border: 2px solid #0E9484;
}

.button-secondary {
  border: 2px solid #e9e7e6;
  color: #686058;
  background-color: white;
}

.button-secondary:hover {
  background-color: #fff;
  border: 2px solid #b3afab;
  color: #686058;
}

/* Comps */

.c-block {
  display: block;
  padding: 2rem 0 2rem 0;
  text-align: center;
  overflow: hidden;
}

@media(min-width:48rem) {
  .c-block {
    display: block;
    padding: 4rem 0 4rem 0;
  }
}

.c-block p {
  max-width: 65ch;
  margin-left: auto;
  margin-right: auto;
}

.order-message{
  background-color: #1F272C;
  color: #ffffff;
  margin: 2rem auto;
  width: auto;
  display: inline-block;
  padding: 20px;
  border-radius: 5px;
  display: none;
}

.masonry {
  display: block;
  margin: 1rem 0;
  margin-left: -1rem;
}

@media (min-width:48rem) {
  .masonry {
    margin: 2rem 0 1rem 0;
    margin-left: -1rem;
  }
}

.masonry .masonry-item {
  width: 50%;
  height: 140px;
  padding-left: 1rem;
  padding-bottom: 1rem;
}

@media (min-width:48rem) {
  .masonry .masonry-item {
    width: 25%;
    height: 200px;
    padding-left: 1rem;
    padding-bottom: 1rem;
  }
}

.masonry .masonry-item.--height-medium {
  height: 300px;
}

@media(min-width:48rem) {
  .masonry .masonry-item.--height-medium {
    height: 400px;
  }
}

.masonry .masonry-item>picture {
  position: relative;
  display: block;
  margin: 0;
  background-color: #ebebeb;
  border-radius: 2px;
  width: 100%;
  height: 100%;
  overflow: hidden;
  cursor: pointer;
}

.masonry .masonry-item>picture img {
  display: block;
  border-radius: 2px;
  height: 100%;
  max-width: none;
  transform: scale(1);
  transition: all .25s ease-in-out;
}

.masonry .masonry-item>picture:hover img {
  transform: scale(1.05);
  transform-origin: center;
  transition: all .25s ease-in-out;
}

.masonry .masonry-item>picture span {
  position: absolute;
  bottom: 0.5rem;
  right: 0.5rem;
  width: 1.5rem;
  height: 1.5rem;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  font-size: 1.25rem;
  line-height: 1.2;
  border-radius: 50%;
  font-weight: 700;
  z-index: 2;
}

/* Elements */

.top-bar {
  display: block;
  padding: 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-flow: row nowrap;
  background-color: #10150D;
}

.top-bar img {
  max-width: 180px;
  display: inline-block;
}

@media(min-width:48rem) {
  .top-bar {
    justify-content: space-between;
  }
}

.top-bar a {
  display: block;
  color: #fff;
  text-decoration: none;
}

.top-bar a span {
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.top-bar a:first-of-type {
  display: none;
}

@media(min-width:48rem) {
  .top-bar a:first-of-type {
    display: block;
  }
}

section {
  position: relative;
}

section.section-background-pattern {
  background-image: url('../img/background_pattern.jpg');
  background-repeat: repeat-x;
  background-size: auto;
  background-position: center;
}

section.section-background-pattern--offset {
  background-size: auto 85%;
}

section.section-background {
  background-color: #10150D;
}

section.background-text{
  overflow: hidden;
}

section.background-text::before {
  pointer-events:none;
  color: rgba(255, 255, 255, 0.04);
  text-align: center;
  width: 100%;
  font-size: 220px;
  font-family: 'Steelfish', serif;
  position: absolute;
  bottom: 0;
  left: 0;
  line-height: 90%;
  right: 0;
  display: inline-block;
}

@media(min-width:48rem) {
  section.background-text::before {
    font-size: 400px;
  }
}

section.background-text--forename::before {
  content: "ABIGAIL";
}

section.background-text--surname::before {
  content: "AHERN";
}

.v-align {
  display: block;
}

@media(min-width:48rem) {
  .v-align {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

.shadow {
  display: block;
  -webkit-box-shadow: 0px 10px 55px 0px rgba(0, 0, 0, 0.75);
  -moz-box-shadow: 0px 10px 55px 0px rgba(0, 0, 0, 0.75);
  box-shadow: 0px 10px 55px 0px rgba(0, 0, 0, 0.75);
}

.image-offset {
  position: relative;
  top: -40px;
}

img.signiture {
  margin: 2rem auto;
  max-width: 200px;
}

.hero-img {
  display: block;
  width: 100%;
  max-width: 58rem;
  margin: 0 auto;
  height: auto;
  background-color: #F4F4F3;
}

.parallax {
  min-height: 450px;
  height: 50vh;
  overflow: hidden;
}

.parallax img {
  width: auto;
}

.iframe-buffer {
  padding: 10px;
  background-color: white;
  margin: 0 auto;
  border-radius: 5px;
  min-height: 600px;
}

/* Page Styles */

header[role="banner"] {
  text-align: center;
}

@media(min-width:48rem) {
  header[role="banner"] h1 {
    margin: 0.5rem auto 1rem;
  }
}

#ilts .banner-wrapper {
  display: flex;
  justify-content: center;
  align-items: stretch;
  flex-flow: column nowrap;
  max-width: 75rem;
  margin: 0 auto;
}

@media(min-width:48rem) {
  #ilts .banner-wrapper {
    flex-flow: row nowrap;
    justify-content: flex-start;
    background-color: #19214E;
    margin: 2rem auto
  }
}

#ilts .banner-wrapper aside {
  position: relative;
  flex: 1;
  height: 220px;
  background-size: cover;
}

@media(min-width:48rem) {
  #ilts .banner-wrapper aside {
    min-height: 456px;
    margin-top: -2rem;
    margin-bottom: -2rem;
  }
  #ilts .banner-wrapper aside::after {
    content: '';
    position: absolute;
    top: 2rem;
    bottom: 2rem;
    left: -1.5rem;
    background-color: #19214E;
    width: 1.5rem;
  }
}

#ilts .banner-wrapper article {
  background-color: #19214E;
  padding: 2rem 1rem;
  flex: 0;
  color: white;
}

@media(min-width:48rem) {
  #ilts .banner-wrapper article {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-flow: column nowrap;
    padding: 2rem 4rem 2rem 3rem;
    text-align: left;
  }
}

#ilts .banner-wrapper article svg,
#ilts .banner-wrapper article p {
  margin-bottom: 1rem;
}

#ilts .banner-wrapper article button {
  border-color: white;
  color: #19214E;
}

#roller-reasons .main-carousel {
  display: block;
  margin-left: -1rem;
  margin-right: -1rem;
  overflow: hidden;
  margin-top: 1rem;
}

@media(min-width:48rem) {
  #roller-reasons .main-carousel {
    margin: 2rem 0 0 0;
    padding: 0 1rem;
  }
}

#roller-reasons .main-carousel .carousel-cell {
  width: 100%;
  transform: scale(1);
  opacity: 1;
}

@media(min-width:48rem) {
  #roller-reasons .main-carousel .carousel-cell {
    max-width: 33.333333333%;
    margin-right: 1rem;
    transform: scale(0.9);
    opacity: 0.8;
  }
}

#roller-reasons .main-carousel .carousel-cell picture {
  display: block;
  text-align: center;
  margin-bottom: 1rem;
}

#roller-reasons .main-carousel .carousel-cell picture img {
  margin: 0 auto;
}

#roller-reasons .main-carousel .flickity-button {
  background: rgba(0, 0, 0, .5) !important;
}

#roller-reasons .main-carousel .flickity-button svg {
  fill: white !important;
}

#roller-reasons .main-carousel .carousel-cell.is-selected {
  transform: scale(1);
  opacity: 1;
}

#roller-reasons .main-carousel .carousel-cell p {
  padding: 0
}

#req-appointment {
  position: relative;
  background-color: #F4F4F3;
}

#req-appointment::after {
  content: '';
  position: absolute;
  top: -115%;
  left: 0;
  right: 0;
  height: 115%;
  background-color: #F4F4F3;
  z-index: -1;
}

#req-appointment .button,
#req-appointment p {
  margin-top: 1rem;
}

#product-range {
  padding-top: 2rem;
}

@media(min-width:48rem) {
  #product-range {
    padding-top: 4rem;
  }
}

#product-range .product-range-grid {
  display: block;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1rem 1rem;
  margin: 2rem 0 0 0;
  padding: 0;
}

@media(min-width:48rem) {
  #product-range .product-range-grid {
    display: grid;
  }
}

#product-range .product-range-grid li {
  list-style-type: none;
  margin-bottom: 1rem;
}

@media(min-width:48rem) {
  #product-range .product-range-grid li {
    margin-bottom: 0;
  }
}

#product-range .product-range-grid li a {
  display: block;
  padding: 1.5rem 1rem;
  border: 1px solid #E9E7E6;
  text-align: center;
  text-decoration: none;
  color: #686058;
  transition: all .2s ease;
}

#product-range .product-range-grid li a:hover {
  border: 2px solid #b3afab;
  color: #2E2C2C;
  transition: all .2s ease;
}

footer {
  display: block;
  padding: 1.5rem 1rem;
  text-align: center;
}

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

/*
 * Responsive imagery
 */

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

/*
 * Basic container
 */

.container {
  display: block;
  max-width: 960px;
  margin: 0 auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

/*
 * Hide visually and from screen readers
 */

.hidden {
  display: none !important;
}

/* POSITIONING */

.left {
  text-align: left;
}

.right {
  text-align: right;
}

.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.block-center {
  margin: 0 auto;
}

.justify {
  text-align: justify;
}

/* ==== GRID SYSTEM ==== */

.container {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}

.row {
  position: relative;
  width: 100%;
}

.row [class^="col"] {
  float: left;
  margin: 0.5rem 2%;
  min-height: 0.125rem;
}

.col-1,
.col-2,
.col-3,
.col-4,
.col-5,
.col-6,
.col-7,
.col-8,
.col-9,
.col-10,
.col-11,
.col-12 {
  width: 96%;
}

.col-1-sm {
  width: 4.33%;
}

.col-2-sm {
  width: 12.66%;
}

.col-3-sm {
  width: 21%;
}

.col-4-sm {
  width: 29.33%;
}

.col-5-sm {
  width: 37.66%;
}

.col-6-sm {
  width: 46%;
}

.col-7-sm {
  width: 54.33%;
}

.col-8-sm {
  width: 62.66%;
}

.col-9-sm {
  width: 71%;
}

.col-10-sm {
  width: 79.33%;
}

.col-11-sm {
  width: 87.66%;
}

.col-12-sm {
  width: 96%;
}

.row::after {
  content: "";
  display: table;
  clear: both;
}

.hidden-sm {
  display: none;
}

@media only screen and (min-width: 33.75em) {
  /* 540px */
  .container {
    width: 80%;
  }
}

@media only screen and (min-width: 45em) {
  /* 720px */
  .col-1 {
    width: 4.33%;
  }
  .col-2 {
    width: 12.66%;
  }
  .col-3 {
    width: 21%;
  }
  .col-4 {
    width: 29.33%;
  }
  .col-5 {
    width: 37.66%;
  }
  .col-6 {
    width: 46%;
  }
  .col-7 {
    width: 54.33%;
  }
  .col-8 {
    width: 62.66%;
  }
  .col-9 {
    width: 71%;
  }
  .col-10 {
    width: 79.33%;
  }
  .col-11 {
    width: 87.66%;
  }
  .col-12 {
    width: 96%;
  }
  .hidden-sm {
    display: block;
  }
}

@media only screen and (min-width: 60em) {
  /* 960px */
  .container {
    width: 75%;
    max-width: 60rem;
  }
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visuallyhidden {
  border: 0;
  clip: rect(0 0 0 0);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  white-space: nowrap;
  /* 1 */
}

/*
 * 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;
  -webkit-clip-path: none;
  clip-path: none;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  width: auto;
  white-space: inherit;
}

/*
 * 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: 1.25dppx),
(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 {
    white-space: pre-wrap !important;
  }
  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;
  }
  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }
  h2,
  h3 {
    page-break-after: avoid;
  }
}