/*! 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.
 */

 @font-face{font-family:'GillSans-SemiBold';src:url("https://www.thomas-sanderson.co.uk/assets/fonts/gillsans/gillsans-semibold.woff") format("woff"),url("https://www.thomas-sanderson.co.uk/assets/fonts/gillsans/gillsans-semibold.woff2") format("woff2");font-display:block;font-weight:700}@font-face{font-family:'GillSans';src:url("https://www.thomas-sanderson.co.uk/assets/fonts/gillsans/gillsans.woff") format("woff"),url("https://www.thomas-sanderson.co.uk/assets/fonts/gillsans/gillsans.woff2") format("woff2");font-display:block;font-weight:300}@font-face{font-family:'GillSans-Light';src:url("https://www.thomas-sanderson.co.uk/assets/fonts/gillsans/gillsans-light.woff") format("woff"),url("https://www.thomas-sanderson.co.uk/assets/fonts/gillsans/gillsans-light.woff2") format("woff2");font-display:block;font-weight:200}@font-face{font-family:'Lato-Bold';src:url("https://www.thomas-sanderson.co.uk/assets/fonts/lato/lato-bold.ttf") format("truetype")}

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

html {
  font-size: 16px;
  font-size: 100%;
  /* 16px */
  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: 'GillSans', sans-serif;
  color: #2e2c2c;
  background-color: white;
}


/**
* 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;
  /* 2 */
}

/**
* 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: #B3AFAB;
  color: #2e2c2c;
  padding: 0.5rem;
}

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

h1,
h2,
h3,
h4 {
  margin-top: 0;
  font-family: GillSans, sans-serif;
  color: #525D66;
  margin-bottom: 1rem;
  font-weight: 400;

}

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

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

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

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

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

@media (min-width:48rem) {
  h1.xl {
    font-size: 64px;
    line-height: 70px;
  }

  h1 {
    font-size: 54px;
    line-height: 62px;
  }

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

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

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

h5,
p.strapline {
  font-family: GillSans, sans-serif;
  line-height: 1.25;
  letter-spacing: .5px;
  font-size: 0.875rem;
  opacity: 0.8;
  text-transform: uppercase;
  margin: 0 0 0.5rem 0;
}

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

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

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

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

.gallery-wrapper {
  max-width: 1600px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

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

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

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

.button-primary {
  background-color: #ec0142;
  border: 2px solid #ec0142;
  color: white;
}

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

.button-secondary {
  /*border: 2px solid #e9e7e6;*/
  background: #525D66;
  color: #ffffff;
  border: none;
  transition: .35s ease all;
}

.button-secondary:hover {
  background-color: #131F27;
}

/* Comps */
.c-block {
  display: block;
  padding: 0 0 2rem 0;
  text-align: center;
}

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

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

.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;
}

.df-container .loading-info {
  color: #232323;
}

/* Elements */
.top-bar {
  display: block;
  margin: 0;
  padding: 4rem 0 1rem;
  color: #2e2c2c;
  text-align: center;
}

.container p {
  color: #686058;
  max-width: 500px;
  margin: 0 auto;
}

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

.contact {
  color: #2e2c2c;
  text-align: center;
  padding: 2rem;
}

.contact a {
  color: #2e2c2c;
  font-weight: 700;
}

picture.hero-img {
  display: block;
  width: 100%;
  height: auto;
  background-color: #F4F4F3;
  margin-bottom: 2rem;
}

picture.hero-img img {
  width: 100%;
}

@media(min-width:48rem) {
  picture.hero-img {
    margin-bottom: 4rem;
  }
}

/* Page Styles */
header[role="banner"] {
  text-align: center;
}

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

#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;
  border-top: 1px solid #e9e7e6;
}

#collection-gallery {}

#collection-gallery img {
  border-radius: 6px;
}


/* ==========================================================================
   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;
}

.post-load{
  display:none;
}

a, a:hover, a:active{
  color: #333333;
}

#gallery-loading{
  display: inline-block;
  text-align: center;
  font-size: 16px;
  margin: 2rem auto;
  opacity: 0.5;
}
.loading{
  text-align: center;
  animation:extend 3s steps(3, end) infinite;
  display:inline-block;
  overflow:hidden;
  vertical-align:bottom;
}
.loading:before {
  content:"...";
}

@keyframes extend {
  0% {
    width:.25em;
  }
  100% {
    width:1em;
  }
}

#flipbook-container {
  height: 100vh;
  min-height: 700px !important;
}

.feature_section {
  position: relative;
  display: flex;
  min-height: 100vh;
  max-height: 100vh;
  height: auto;
}

.feature_section::after {
  position: absolute;
  z-index: 2;
  bottom: 0;
  left: 0;
  width: 100%;
  max-height: 200px;
  background: -moz-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 1%, rgba(0, 0, 0, 0.3) 100%);
  background: -webkit-linear-gradient(top, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 1%, rgba(0, 0, 0, 0.3) 100%);
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0) 1%, rgba(0, 0, 0, 0.3) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#4d000000', GradientType=0);
}

.feature_section .feature_image {
  display: flex;
  width: 70%;
  height: 100%;
}

.feature_section .feature_image img {
  width: 100%;
  height: 100%;
}

.feature_section .feature_cta {
  display: flex;
  width: 30%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  text-align: left;
  padding: 2rem;
}

nav {
  background-color: white;
  width: 100%;
  padding: 1rem 0 1rem;
  text-align: center;
  border-bottom: 1px solid #e9e7e6;
}

nav img {
  display: inline-block;
  width: 250px;
  max-width: 90%;
}

/*
 * Hide visually and from screen readers
 */

.hidden {
  display: none !important;
}

/*
 * 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;
  }
}


/* Animation */

/* overlay at start */
.mfp-fade.mfp-bg {
  opacity: 0;

  -webkit-transition: all 0.15s ease-out;
  -moz-transition: all 0.15s ease-out;
  transition: all 0.15s ease-out;
}

/* overlay animate in */
.mfp-fade.mfp-bg.mfp-ready {
  opacity: 0.8;
}

/* overlay animate out */
.mfp-fade.mfp-bg.mfp-removing {
  opacity: 0;
}

/* content at start */
.mfp-fade.mfp-wrap .mfp-content {
  opacity: 0;

  -webkit-transition: all 0.15s ease-out;
  -moz-transition: all 0.15s ease-out;
  transition: all 0.15s ease-out;
}

/* content animate it */
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
  opacity: 1;
}

/* content animate out */
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
  opacity: 0;
}
