/*! HTML5 Boilerplate v8.0.0 | MIT License | https://html5boilerplate.com/ */

/* main.css 2.1.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * 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.
 */

 /* ==========================================================================
   Variables
   ========================================================================== */

:root {
  --gutter-width: 1rem;
  --outer-margin: 2rem;
  --gutter-compensation: calc((var(--gutter-width) * 0.5) * -1);
  --half-gutter-width: calc((var(--gutter-width) * 0.5));
  --xs-max: 767px;
  --sm-min: 768px;
  --md-min: 992px;
  --lg-min: 1200px;
  --screen-xs-max: var(--xs-max)em;
  --screen-sm-min: var(--sm-min)em;
  --screen-md-min: var(--md-min)em;
  --screen-lg-min: var(--lg-min)em;
  --container-sm: calc(var(--sm-min) + var(--gutter-width));
  --container-md: calc(var(--md-min) + var(--gutter-width));
  --container-lg: calc(var(--lg-min) + var(--gutter-width));
  /* === diagonal === */
  --magic-number: 0.04374; /* 5°, tan(11°)/2 = 0.09719 */
  --magic-number-normal: 0;
	--content-width: 1370px;
  --skew-padding: calc(var(--content-width) * var(--magic-number));
  --skew-padding-normal: calc(var(--content-width) * var(--magic-number-normal));
  --angle: -5deg;
  --angle-normal: 0deg;
  --angle-right: 5deg;
}

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

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

@media screen and (min-width: 25em){
  html { font-size: calc( 16px + (24 - 16) * (100vw - 992px) / (2560 - 992) ); }
}


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

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

  html{
  padding:0;
  margin:0;
}

body {
  padding:0;
  margin:0;
  font-family: 'Cairo', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  line-height: 1.5;
  margin: 0;
  padding: 0;
  -webkit-overflow-scrolling: auto;
}

/*
h1, h2, h3, h4, h5, h6 {
  font-family: 'Noto Serif', serif;
}
*/

main {
  padding:0;
  margin:0;
}

.main-wrapper {
  counter-reset: div;
  height: auto;
  width: 100%;
  max-width: 100vw;
  min-height: 100%;
  position: relative;
  scroll-snap-type: mandatory;
}

#scroll-container {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.smooth-scroll {
  overflow: hidden;
}

section {
  /*width: 100%;
  padding: 0 7%;
  display: table; */
  margin: 0;
  max-width: none;
  background-color: rgba(225, 227, 235, 0.2);
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow:hidden;
}

section.growable {
  min-height: 100vh;
  height: auto;
}

section.height-auto {
  height: auto;
}

section.catchy {
  max-height: 8em;
  /*background-color: #899fab;*/
}

.catchy .bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: .35;
}

.catchy h1 {
  margin: 0;
}

.catchy .container {
  text-align: center;
}

section.horizontal div.catchy, div.catchy {
  position: relative;
  min-height: 8em;
  z-index: 1;
}



#videobcg {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  height:auto;
  width:auto;
  z-index: -100;
}

section .center-anchor {
  width: 100%;
  position: absolute;
  top: 50%;
  content: '';
  left: 0;
  z-index: -1;
}

.main-wrapper > section {
  scroll-snap-align: center;
}

.header-container {
  max-width: 1140px;
  padding-left: 1rem;
  padding-right: 1rem;
  margin-left: auto;
  margin-right: auto;
}


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

ul {
  padding: 0;
}

ul li {
  display: block;
}

.card {
  background-color: #ebd298;
  margin: 50px;
}

.card img {
  max-width: 100%;
  height: auto;
}

.card svg {
  max-width: 100%;
  height: auto;
}

.card figure {
  display: block;
  max-width: 100%;
  height: auto;
  margin-block-start: 0em;
  margin-block-end: 1em;
  margin-inline-start: 0;
  margin-inline-end: 0;
}

.card > .text {
  padding: 0 20px 20px;
}

.card.expertise, .card .expertise {
  color: #FFF;
  font-size: 2em;
  border-radius: 4px;
  transition: all 0.3s linear;
}

.card h1 {
  font-size: 1.5rem;
}

.catchy h1 {
  font-size: 3.5rem;
}

.card p {
  font-size: 1rem;
}

/* 
 * LOG HELPER
 */

#log-container { 
  overflow: auto; 
  height: 200px;
  position: fixed;
  bottom: 0; 
}

.log-warn { color: orange }
.log-error { color: red }
.log-info { color: skyblue }
.log-log { color: silver }

.log-warn, .log-error { font-weight: bold; }

/* 
 * HEADER 
 */

#main-header {
  /*position: relative;*/
  width: 100%;
  max-height: 80px;
  position: absolute;
  top: 0vh;
  z-index: 10;
  will-change: transform;
}

#header-wrapper {
  position: fixed;
  /*background: #dcbf6c;*/
  background-image: linear-gradient(#dcbf6c, #fde6a2);
  height: 80px;
  width: 100%;
  backface-visibility: hidden;
  will-change: left, top, transform;
  transition: all 0.2s ease-in-out;
  z-index: 1;
}

.fixed_target {
  top: 10vh;
  position: absolute;
}

.nav-up {
  transform: translateY(-100%);
}

.nav-down {
  transform: translateY(0);
}

.logo {
  font-weight: bold;
  font-size: 20px; 
}

#main-header .a {
  text-decoration: none;
  color: #222;
}

.header-container {
  display: flex;
}

.header-container h1 {
  font-size: 1.2em;
}

.header-container a {
  text-decoration: none;
  color: #34435b;
}


@media (min-width: 768px) {
  .header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0; 
  }
}

.nav-wrapper {
  list-style: none;
}

.nav-wrapper .button-test {
  position: relative;
  z-index: 6;
}

.nav-wrapper a {
  text-decoration: none;
  margin: 0px 10px;
  padding: 10px 10px;
  position: relative;
  z-index: 6;
  cursor: pointer;
}
.nav-wrapper span span {
  text-transform: uppercase;
  /*letter-spacing: 1px;*/
  font-weight: 600;
  text-shadow: 0 0 1px rgba(255,255,255,0.3);
  font-size: 0.8em;
  z-index: 6; 
  position: relative;
}

.nav-wrapper.topBotomBordersOut div.button-test:before, .nav-wrapper.topBotomBordersOut div.button-test:after
{
    position: absolute;
    left: 0px;
    width: 100%;
    height: 2px;
    background: #f9f0b1;
    content: "";
    opacity: 0;
    transition: all 0.3s;
    z-index: 5;
}

.nav-wrapper.topBotomBordersOut div.button-test:before
{
    top: 0px;
    transform: translateY(10px) scaleX(0.1);
}

.nav-wrapper.topBotomBordersOut div.button-test:after
{
    bottom: 0px;
    transform: translateY(-10px) scaleX(0.1);
}

.nav-wrapper.topBotomBordersOut div:hover:before, .nav-wrapper.topBotomBordersOut div:hover:after
{
    opacity: 1;
    transform: translateY(0px);
}


@media (min-width: 768px) {
  .nav-wrapper {
    display: flex; 
  } 

  ul.nav-wrapper li + li:before {
    content: '';
    background-color: #c7ad63;   
    padding: 0px 0.5px;
    height: 16px;
    vertical-align: middle;
    margin: 0 16px 0 16px;
  }

  ul.nav-wrapper li + li > * {
    display: inline-block;
  }

  .nav-wrapper .nav-item {
    display: flex;
    flex-direction: row;
    align-items: center;
  }
}

@media (max-width: 767px) {
  .nav-wrapper {
    position: absolute;
    height: 100vh;
    right: 0;
    left: 0;
    margin: 0 0;
    padding-bottom: 60px;
    z-index: -1;
    background-color: #f1efe7;
    transform: translateY(-150%); 
    display: grid;
    justify-items: center;
    align-items: center;
    z-index: 1;
    /*
    top: 100%;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-100%);
    transition: transform 0.3s ease-out, opacity 0.3s ease-out; */
  }
  .nav-wrapper.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0); 
  } 

  .nav-wrapper span span {
    font-size: 1.4em;
  }
}

.nav-item a {
  display: block;
  padding: .8rem .6rem; 
}

.nav-toggle {
  display: none; 
}

@media (max-width: 767px) {
  .nav-toggle {
    display: block;
    position: absolute;
  }
}

.burger-icon {
  position: absolute;
  right: 22px;
  width: 50px;
  height: 50px;
  z-index: 10;
  cursor: pointer;
}

.burger-icon .line {
  border: 0.5px solid #bbb;
  height: 3px;
  margin-block-start: 15px;
  margin-block-end: 15px;
  border-radius: 3px;
  background-color: #f1e7c9;
}

/* 
 * BACK TO TOP
 */

 #back-top-button {
  display: inline-block;
  background-color: #3b4d6b;
  width: 60px;
  height: 60px;
  text-align: center;
  border-radius: 30px;
  position: fixed;
  bottom: 30px;
  right: 30px;
  transition: background-color .3s, 
    opacity .5s, visibility .5s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}
#back-top-button::after {
  content: "\f077";
  font-family: FontAwesome;
  font-weight: normal;
  font-style: normal;
  font-size: 2em;
  line-height: 55px;
  color: #fff;
}
#back-top-button:hover {
  cursor: pointer;
  background-color: #f5c026;
}
#back-top-button:active {
  background-color: #555;
}
#back-top-button.show {
  opacity: 1;
  visibility: visible;
}

/* 
 * CURSOR
 */

.cursor {
	display: none;
}

@media (any-pointer: fine) {
	.cursor {
		position: fixed;
		top: 0;
    left: 0;
    transform-origin: center center;
		display: block;
    pointer-events: none;
    z-index: 2;
    will-change: transform, opacity, scale;
	}
	.cursor__inner {
		fill: var(--cursor-fill);
		stroke: var(--cursor-stroke);
		stroke-width: var(--cursor-stroke-width);
	}
	.credits {
		padding-left: 25vw;
	}
  .c-cursor {
    position: fixed;
    pointer-events: none;  
    background-color: var(--cursor-fill);
    transition: background-color 0.2s ease-in-out;
  }
  .button-test .overlay{
    z-index: 2;
    height:calc(100% + 10px);
    width:calc(100% + 10px);
    position:absolute;
  }
  .cursor .ring {
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    z-index: 4;
    height:100%;
    width:100%;
    position:absolute;
    border: 2px solid;
    margin: 1px;
  }

  .svg-content {
    z-index:3;
    display: inline-block;
    position: absolute;
    top: 0;
    left: 0;
  }
}

/*
 * BUTTON
 */
 body {
	--button-border-radius: 7px;
	--button-bg: #d8d4cf;
	--button-stroke: #d8d4cf;
	--button-stroke-width: 1px;
	--button-text: #000;
	--button-bg-hover: #d8d4cf;
	--button-stroke-hover: #000;
	--button-stroke-width-hover: 2px;
	--button-text-hover: #000;
	--cursor-stroke: #000;
    --cursor-fill: #000;
    --cursor-stroke-width: 1px;
}

.button {
	cursor: pointer;
	-moz-appearance: none;
	-webkit-appearance: none;
	border-width: var(--button-stroke-width);
	border-color: var(--button-stroke);
	border-style: solid;
	color: var(--button-text);
	background: var(--button-bg);
	border-radius: var(--button-border-radius);
	min-width: 12rem;
	height: 5rem;
	padding: 0;
	margin: 1rem;
	font-family: inherit;
	font-size: 1.5rem;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: border-color 0.2s ease;
}

.button:focus,
.button--hover {
	outline: none;
	border-width: var(--button-stroke-width-hover);
	border-color: var(--button-stroke-hover);
	color: var(--button-text-hover);
	/* background: var(--button-bg-hover); */
}

.button__text, 
.button__text-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
}

/* 
 * BUTTON SIMPLE
 */

a.button-simple, input.button-simple {
  display: inline-block;
  padding:0.5em 3em;
  border:0.16em solid #FFFFFF;
  margin:0 0.3em 0.3em 0;
  text-decoration:none;
  text-transform:uppercase;
  font-weight:700;
  color:#FFFFFF;
  text-align:center;
  transition: all 0.15s;
}

.text-moon a.button-simple {
  border:0.16em solid #34435b;
  color:#34435b;
}

.text-moon a.button-simple:hover, input.button-simple:hover{
  color:#4c6c9e;
  border-color:#4c6c9e;
}
.text-moon a.button-simple:active, input.button-simple:active{
 color:#486188;
 border-color:#486188;
}

a.button-simple:hover, input.button-simple:hover{
  color:#DDDDDD;
  border-color:#DDDDDD;
}
a.button-simple:active, input.button-simple:active{
 color:#BBBBBB;
 border-color:#BBBBBB;
}
@media all and (max-width:767px) {
 a.button-simple, input.button-simple {
    display:block;
    width: 60vw;
    margin:0.4em auto;
  }
} 

/* 
 * WEBGL CANVAS
 */

#webgl-canvas-old {
  position: absolute;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  z-index: -1;
}

.canvas-wrapper {
  /*position: absolute;*/
  position: fixed;
  left: 0px;
  right: 0px;
  top: 0;
  bottom: 0;
  z-index: -1;
  will-change: transform;
  -webkit-transform: translate3d(0, 0, 0);
  -webkit-backface-visibility: hidden;
}

canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.video-wrapper {
  position: absolute;
  left: 0px;
  right: 0px;
  top: 0;
  bottom: 0;
  z-index: -1;
}

#video-bg {
  object-fit: cover;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

*[data-fxview] {
  width: 100vw;
  height: 100vh;
}

.first-section {
  margin-top: -82px;
}

.hero h1 {
  font-size: 3.5rem;
  margin: 0.67em 0;
}

.row .p:first-child:before {
  display: none;
}
.row p.lead:before {
  content: " ";
  border: 1px solid #c7ad63;
  margin-top: 15px;
  margin-bottom: 15px;
  display: block;
  max-width: 100px
}

.row p {
  margin-bottom: 0.4em;
}

.hero p {
  font-size: 2rem;
}

@media (max-width: 400px) {
  .hero h1 {
    font-size: 2rem;
    margin: 0.33em 0;
  }

  .hero p {
    font-size: 1.2rem;
  }
}

.section-background {
  position: absolute;
  top: 0;
  left: 0;  
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

#first-section .section-background {
  z-index: -1;
}

#second-section .section-background {
  z-index: -2;
}

#third-section .section-background {
  z-index: -3;
}

#third-section .section-background {
  z-index: -3;
}

#fourth-section .section-background {
  z-index: -4;
}

/*
section:nth-of-type(2n) {
  background-color: rgba(241, 184, 198, 0.2);
}
*/

section.horizontal {
  overflow-x: hidden;
}

section.horizontal .pin-wrapper {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  /*
  position: -webkit-sticky;
  overflow-x: hidden; */
}
section.horizontal .animation-wrapper {
    display: flex;
    position: relative;
    z-index: 1;  
    height: 100vh;
}


section.horizontal .item {
    position: relative;
    padding: 10vh 80px;
    /*flex: 0 0 50vw;*/
    height: 100vh;
    width: 50vw;
    display: flex;
    align-items: center;
    /*line-height: 1.7;*/
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border-right: 1px solid rgba(0, 0, 0, 0.06);
    background-color: transparent;
}

section.horizontal .item:before {
    position: absolute;
    font-size: 100px;
    opacity: .13;
    font-weight: bold;    
    z-index: -1;
    -webkit-transform: translate(-30px, -50px);
    transform: translate(-30px, -50px);
    line-height: 1;
}

section.horizontal .item .row > div {
  align-self: center;
  justify-self: center;
}

section.horizontal .animation-wrapper.to-right {
  float: left; 
  justify-content: flex-start;
}

section.horizontal .animation-wrapper.to-left {
  float: right; 
  justify-content: flex-end;
}

.catchy .container {
  height: 100%;
}

.space-holder {
  /*position: relative;
  width: 100%;*/
  height: 100vh;
  overflow: hidden;
  display: flex;  
}

.allow-overflow {
  overflow: visible;
}

.will-transform {
  will-change: transform;
}

.bg-gradient-vh {
  min-height: 75vh;
}

.bg-gradient-vh:before {
  content: "";
  position: absolute;
  display: block;
  bottom: 0;
  bottom: 0;
  min-height: 100vh;
  max-height: 150vh;
  height: 100%;
  width: 100%;
  background-image: linear-gradient(to bottom, #fff 55%, #f8efdc 70%, #f0ddb2 100%);
  z-index: -1;
}

.bg-ornament {
  height: 100%;
}

.bg-ornament:before {
  content: "";
  position: absolute;
  display: block;
  top: 60%;
  left: 50%;
  width: 90%;
  height: 100%;
  background-size: 29px 50px;
  background-position: center;
  transform: translate(-50%, -50%);
  background-image: url(/assets/bg-ornament.png);
  -webkit-mask-image: radial-gradient(rgba(0,0,0,1),rgba(0,0,0,0) 70%);
  mask-image: radial-gradient(rgba(0,0,0,1),rgba(0,0,0,0) 70%);
  z-index: 0;
}

.bg-ornament-vh:before {
  content: "";
  position: absolute;
  display: block;
  bottom: -75vh;
  left: 50%;
  width: 90%;
  height: 100vh;
  background-size: 29px 50px;
  background-position: center;
  transform: translate(-50%, -50%);
  background-image: url(/assets/bg-ornament.png);
  -webkit-mask-image: radial-gradient(rgba(0,0,0,1),rgba(0,0,0,0) 70%);
  mask-image: radial-gradient(rgba(0,0,0,1),rgba(0,0,0,0) 70%);
  z-index: 0;
}

.centered.bg-ornament:before {
  top: 50%;
}

/* 
* --------------
* Overall card
* --------------
*/

.card-container {
	position: relative;
	width: 40vw;
	height: 80vh;
	max-width: 3000px;
	max-height: 4000px;
	margin: 4px;
	perspective: 1000px;
}

.card-container.active {
	transform: translateZ(0px) rotateY(180deg) !important;
}

.card-container.active:after {
	display: none;
}

.card-experience {
	display: inline-block;
	width: 100%;
	height: 100%;
	-moz-backface-visibility: hidden;
	transform-style: preserve-3d;
	transform: translateZ(-100px);
	transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.card-experience:after {
	content: '';
	position: absolute;
	z-index: -1;
	width: 100%;
	height: 100%;
	border-radius: 5px;
	box-shadow: 0 14px 50px -4px rgba(0, 0, 0, 0.15);
	opacity: 0;
	transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1.4);
}

.card-experience:hover {
	transform: translateZ(0px);
}

.card-experience:hover:after {
	opacity: 1;
}

.card-experience .side {
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
	position: absolute;
	width: 100%;
	height: 100%;
	border-radius: 5px;
	background-color: white;
}

.card-experience .front {
	z-index: 2;
}

.card-experience .back {
	transform: rotateY(180deg);
}

.card-experience .info {
  padding: 16px;
  height: 35%;
}

.front .img {
	background-color: #dadce2;
	background-position: center;
	background-size: cover;
	border-radius: 5px 5px 0 0;
	width: 100%;
	height: 65%;
}

.front .img1 {
	background-image: url(http://i.imgur.com/1aE1nMA.jpg);
}

.front .cards-partnerships {
  background-image: url(/assets/cards-partnerships.jpg);
}

.front .cards-investment {
  background-image: url(/assets/cards-investment.jpg);
}

.front .cards-finance {
  background-image: url(/assets/cards-finance.jpg);
}

.front .cards-promotion {
  background-image: url(/assets/cards-promotion.jpg);
}

.front .cards-marketing {
  background-image: url(/assets/cards-marketing.jpg);
}

.front .cards-technology {
  background-image: url(/assets/cards-technology.jpg);
}

.front .img2 {
	background-image: url(http://i.imgur.com/2p9VXAn.jpg);
}

.front .img3 {
	background-image: url(http://i.imgur.com/I5ABT2v.jpg);
}

.back {
	position: relative;
}

.back h2 {
	margin-top: 6px;
	margin-bottom: 18px;
}

.back .reviews {
	display: flex;
	align-items: center;
	margin-bottom: 12px;
	cursor: pointer;
}

.back .reviews p {
	color: #c4c4c4;
	font-weight: 300;
	margin: 1px 0 0 6px;
	transition: 0.3s ease-in-out;
}

.back .reviews:hover p {
	color: #555;
}

.back li {
	line-height: 22px;
	margin: 2px 0 6px 0;
}

.back .btn {
	position: absolute;
	bottom: 16px;
	width: calc(100% - 32px);
	height: 56px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #FFC324;
	background-image: linear-gradient(-90deg, #FFB714, #FFE579);
	border-radius: 5px;
	cursor: pointer;
}

.back .btn:hover h4 {
	transform: translateX(0px);
}

.back .btn:hover svg {
	transform: translateX(0px);
	opacity: 1;
}

.back .btn h4 {
	transform: translateX(12px);
	transition: transform 0.3s ease-out;
}

@media (max-width: 767px) {
  .card-container  {
    width: 94vw;
    height: 96vh;
    perspective: none;
  }

  .card-experience {
    transform: none;
    transition: none;
  }

  .card-experience .side {
    position: absolute;
    display: flex;
    flex-flow: column;
    height: 100%;
  }

  .card-experience .info {
    padding: 10px;
    height: auto;
    flex: 0 1 auto;
  }

  .front .img {
    max-height: 70%;
    height: auto;
    flex: 1 1 auto;
  }

  .animation-wrapper .item .row {
    gap: 0;
  }

  section.horizontal .item {
    position: relative;
    padding: 10px 0;
    /*flex: 0 0 100vw;*/
    height: 100vh;
    width: 100vw;
    display: flex;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border-right: 1px solid rgba(0, 0, 0, 0.06);   
  }
}

/*
 * DIAGONAL BOX
 */

.diagonal-box {
  position: relative;
  padding: var(--skew-padding) 0;
  margin-top: -1px;
}

.diagonal-box.short {
  padding: calc(var(--skew-padding) * 0.4) 0;
}

.diagonal-box.no-padding-top {
  padding: 0 0 var(--skew-padding) 0;
}

.diagonal-box.no-padding-top.short {
  padding: 0 0 calc(var(--skew-padding) * 0.4) 0;
}

.diagonal-box.no-padding {  
  padding: 0 0;
}

.row .diagonal-box.normal {
  margin: 1vh 0;
}

.diagonal-box:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  transform: skewy(var(--angle));
  background-image: linear-gradient(45deg, #dbdde2, #f8efdc); 	
}

.diagonal-box.normal:before {
  border-radius: 5px;
  transform: skewy(var(--angle-normal));
}

.diagonal-box.right:before {
  transform: skewy(var(--angle-right));
}

h1.diagonal {
  text-align: center;
  margin: 0 auto 1em;
  padding: 0 1em;
  max-width: 42rem;
  line-height: 1.2;
  transform: skewY(var(--angle));
  font-size: 3em;
  text-transform: uppercase;
  font-weight: 900;
}

h2.diagonal {
  text-align: center;
  margin: 0.25em auto 0.25em;
  padding: 0 1em;
  max-width: 42rem;
  line-height: 1.2;
  transform: skewY(var(--angle));
  text-transform: uppercase;
  font-weight: 700;
}

p.diagonal {
  transform: skewY(var(--angle));
}

.right p.diagonal {
  transform: skewY(var(--angle-right));
}

.right h2.diagonal {
  transform: skewY(var(--angle-right));
}

.normal h2.diagonal {
  transform: skewY(0deg);
}

.content {
  padding: 0 5vw;
  margin: 0 auto;
  position: relative;
}

/* TESTIMONIALS */

.testimonials {
  overflow: hidden;
  position: relative;
  max-height: 300px;
}

.testimonials {
  background: #161d25;
}

.one-slide,
.testimonial,
.message {
  border: none !important;
  outline: none !important;

}

.testimonial {
  text-align: center;
  padding-right: 3rem;
  padding-left: 3rem;
  width: 100%;
  -webkit-box-align: center;
  -webkit-align-items: centert;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  flex-wrap: wrap;
  display: flex
}


.testimonial .blockquote {
  text-align: center;
  width: 100%;
  padding: .5rem 1rem;
  margin-bottom: 1rem;
  font-size: 1.25rem;
  border-left: .25rem solid #eceeef;
}

.testimonial .blockquote-footer {
  display: block;
  font-size: 80%;
  white-space: pre-line;
}

.testimonial .blockquote-footer:before {
  content: "\2014 \00A0";
}

.message:before {
	content: "“";
	color: rgba(255, 255, 255, 0.44);
	font-size: 7.5em;
	font-weight: 700;
  opacity: 1;
  margin-left: -0.45em;
	position: absolute;
	top: -0.4em;
	text-shadow: none;
	z-index: -10;
}
.message:after {
	content: "”";
	color: rgba(255, 255, 255, 0.44);
	font-size: 7.5em;
	font-weight: 700;
  opacity: 1;
  margin-top: -0.4em;
	position: absolute;
	text-shadow: none;
	z-index: -10;
}

.icon-overlay {
  position: absolute;
  opacity: 0.3;
  right: 10%;
  top: 0;
  height: auto;
  width: 100%;
  max-width: 400px;
}

.carousel-controls .control {
  position: absolute;
  transform: translateY(-50%);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  border: 2px solid #fff;
  z-index: 1;
  display: flex;
  margin-top: 1rem;
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.prev {
  left: -2.25rem;
}

.next {
  right: -2.25rem;
}

@media screen and (max-width: 768px) {
  .testimonials {
    max-height: 700px;
  }
  .icon-overlay {
    height: 300px;
    top: calc(50% - 150px);
  }
  .carousel-controls .control {
    width: 25px;
    height: 25px;
    top: inherit;
  }
  .prev {
    left: 0;
  }
  .next {
    right: 0;
  }
  .control i {
    font-size: .7rem;
  }
  .testimonials .message {
    font-size: 1rem;
  }
  .testimonials h2 {
    font-size: 1.5rem;
  }
}

/*
 * WHY CHOOSE
 */

.choose-grid {
  --verticalPadding: 0.125rem;
  --overlap: 1rem;
  --interval: 0;
  display: grid;
  /* 6/7 grid from my compound grid generator: https://codepen.io/michellebarker/full/zYOMYWv */
  grid-template-columns: 7fr 1fr 6fr 3fr 5fr 3fr 3fr 5fr 3fr 6fr 1fr 7fr;
  grid-template-rows:   
    [fig1-start]
    minmax(var(--verticalPadding), auto)
    [text1-start]
    minmax(0, auto)
    [text1-end]
    minmax(var(--verticalPadding), auto) 
    [fig1-end]    
    var(--interval)
    [fig2-start]
    minmax(var(--verticalPadding), auto)
    [text2-start]
    minmax(0, auto)
    [text2-end]
    minmax(var(--verticalPadding), auto)  
    [fig2-end]
    var(--interval)
    [fig3-start]
    minmax(var(--verticalPadding), auto)
    [text3-start]
    minmax(0, auto)
    [text3-end]
    minmax(var(--verticalPadding), auto) 
    [fig3-end];
  grid-auto-rows: minmax(var(--verticalPadding), auto);
  gap: 0.5rem;
  margin: 0 auto;
  align-items: center;
}
 
.choose-grid .fig--1 {
  grid-column: 1 / span 4;
  grid-row: fig1;
}

.choose-grid .fig--2 {
  grid-column: 1 / span 4;
  grid-row: fig2;
}

.choose-grid .fig--3 {
  grid-column: 1 / span 4;
  grid-row: fig3;   
}

.choose-grid img {
  object-position: left;
}

.choose-grid .diagonal-box:first-of-type {
  grid-column: 4 / -1;
  grid-row: text1;
  z-index: 1;
}

.choose-grid .diagonal-box:nth-of-type(2) {
  grid-column: 4 / -1;
  grid-row: text2;
}

.choose-grid .diagonal-box:nth-of-type(3) {
  grid-column: 4 / -1;
  grid-row: text3;
}

.choose-grid figure {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: #f9fcfd;
  box-shadow: -0.025rem 0.02rem 0.2rem rgba(0, 0, 0, 0.2);
  max-height: 100%;
  /*padding: 20% 0;*/
  height: 100%;
}

.choose-grid .diagonal-box {
  position: relative;
}

.choose-grid .diagonal-box .content {
  z-index: 2;
}

.choose-grid .diagonal-box:before {
  background-color: white;
  background-image: none;
  box-shadow: -0.035rem 0.03rem 0.3rem rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.choose-grid .diagonal-box.short {
  padding: calc(var(--skew-padding) * 0.4) 0;
}

.choose-grid img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
}

.choose-grid svg {
  height: auto;
  max-width: 30%;
}

/* CONTACT FORM */

.contact-main {
  width: 70%;
}

.modal-form {
  text-align: center;
  overflow: hidden;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0; /* z-index: 1050; */
  -webkit-overflow-scrolling: touch;
  outline: 0;
  opacity: 0;
  -webkit-transition: opacity 0.15s linear, z-index 0.15;
  -o-transition: opacity 0.15s linear, z-index 0.15;
  transition: opacity 0.15s linear, z-index 0.15;
  z-index: -1;
  overflow-x: hidden;
  overflow-y: auto;
}

.modal-open {
  z-index: 99999;
  opacity: 1;
  overflow: hidden;
}
.modal-inner {
  -webkit-transform: translate(0, -25%);
  -ms-transform: translate(0, -25%);
  transform: translate(0, -25%);
  -webkit-transition: -webkit-transform 0.3s ease-out;
  -o-transition: -o-transform 0.3s ease-out;
  transition: -webkit-transform 0.3s ease-out;
  -o-transition: transform 0.3s ease-out;
  transition: transform 0.3s ease-out;
  transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
  display: inline-block;
  vertical-align: middle;
  min-width: 40vw;
  margin: 30px auto;
  max-width: 97%;
}
.modal-wrap {
  display: block;
  width: 100%;
  position: relative;
  background-color: #fff;
  border: 1px solid #999;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  background-clip: padding-box;
  outline: 0;
  text-align: left;
  padding: 20px;
  margin: 0;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  max-height: calc(100vh - 70px);
	overflow-y: auto;
}
.modal-open .modal-inner {
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  transform: translate(0, 0);
  position: relative;
  z-index: 999;
}
.modal-open .bg-overlay {
  background: rgba(0, 0, 0, 0.6);
  z-index: 99;
}
.bg-overlay {
  background: rgba(0, 0, 0, 0);
  height: 100vh;
  width: 100%;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  -webkit-transition: background 0.15s linear;
  -o-transition: background 0.15s linear;
  transition: background 0.15s linear;
}
.close-btn {
  position: absolute;
  right: 0;
  top: -40px;
  cursor: pointer;
  z-index: 99;
  font-size: 30px;
  color: #fff;
}

@media screen and (min-width:800px){
	.custom-model-main:before {
	  content: "";
	  display: inline-block;
	  height: auto;
	  vertical-align: middle;
	  margin-right: -0px;
	  height: 100%;
	}
}
@media screen and (max-width:799px){
  .custom-model-inner{margin-top: 45px;}
}


/* Add styles to 'label' selector */

label {
	font-size: 0.85em;
	margin-left: 12px;
}

/* Add styles to 'input' and 'textarea' selectors */

input[type=text],input[type=email], textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
}

/* Add styles to show 'focus' of selector */

input[type=text]:focus,input[type=email]:focus, textarea:focus {
	border: 1px solid green;
}

/* Add styles to the submit button */

input[type=submit] {
	background: #4674bd;
	margin: 0 auto;
	outline: 0;
	color: white;
	border: 0;
	/*padding: 12px 24px;*/
	border-radius: 4px;
	transition: all ease-in-out 0.1s;
	position: relative;
	display: inline-block;
	text-align: center;
}

/* Add styles for 'focus' property */

input[type=submit]:focus {
	background: #A5D6A7;
	color: whitesmoke;
}

/* Style 'hover' property */

input[type=submit]:hover {
	background: #5087e0;
}

/* Align items to center of the 'div' with the class 'center' */
.center {
	text-align: center;
}

/* TEXT */

.text-white {
  color: #fff;
  text-shadow: 0.08em 0.06em 0 rgba(11,29,55,0.3);
}

.text-moon {
  color: #34435b;
}
 /*
 / GRID TILES 
*/

.grid-tile {
  padding: 10px;
  margin:20px;
  height: 200px;
}

/*
/ TOC
*/ 


.toc-container {
  background: #f9f9f9 none repeat scroll 0 0;
  border: 1px solid #aaa;
  padding: 1.2em 0.6em;
  width: auto;
  font-size: 0.92rem;
}

@media (min-width: 768px) {
  .toc-container {
    float: left;
    width: auto;
    margin: 5.5em auto 0.5em 0.5em;
  }
}

@media (max-width: 767px) {
  .toc-container {
    width: 100%;
    padding: 1em 0em;
    margin: 0;
  }
}

.toc-title {
  font-weight: 700;
  text-align: center;
}

.toc-container li, .toc-container ul, .toc-container ul li{
  list-style: outside none none !important;
}

.toc-container a {
  color: #34435b;
  opacity: 0.5;
}

.base .container .toc-container ul li:before {
  content: "";
}

/* 
 / FOOTER 
*/

.bg-white {
  background-color: #fff;
}

footer {
  background-color: #ebd298;
}

footer .contact-main {
  color: rgb(35, 36, 37);
  font-size: 1.1rem;
  border-radius: 4px;
  transition: all 0.3s linear;
}

footer .container ul li {
  display: list-item;
}

footer .container ul li:before {
  content: "\f105";
  font-family: 'FontAwesome';
  display: inline-block;
  position: relative;
  top: 1px;
  left: 0;
}

footer ul {
  font-size: 0.95rem;
}

footer p {
  font-size: 0.95rem;
  color: #333;
}

footer .container ul li a {
  padding: 0 3px 0 12px;
  text-decoration: none;
  color: #333;
}

footer .footer-menu {
  padding-top: 0.5em;
  padding-bottom: 0.5em;
}

footer .copyrights {
  padding-top: 0.5em;
  padding-bottom: 1em;
  background-color: #dcbf6c;
}

/* SHADOW */

.shadow-lg {
	box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

/* GRID */

/* CONTAINER */
.container {
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

.container.padding-sideless {
  padding-left: 0;
  padding-right: 0;
}

.full-width {
  width: 100vw !important;
  margin-left: 0;
  margin-right: 0;
  padding-left: 0;
  padding-right: 0;
}

@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}

@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}

@media (min-width: 1200px) {
  .container {
    min-width: 1170px;
  }
}

@media (min-width: 1400px) {
  .container {
    min-width: 1370px;
  }
}

.row.align-center {
  align-items: center;
}

.base .container ul li:before {
  content: "\f111";
  padding-right: 1em;
  font-family: 'FontAwesome';
  display: inline-block;
  position: relative;
  font-size: 0.6rem;
  top: -3px;
  left: 0;
}

.base .container ul li {
  padding: 0 3px 0 12px;
  text-decoration: none;
}

.container h2 {
  margin: 0.5em 0;
}

.container h3 {
  margin: 0.4em 0;
}

.indent p {
  text-indent: 1.5em;
  text-align: justify;
}

.grid-image {
  width: 100%;
  max-height: 100%;
  object-fit: cover;
}

.bg-photo {
  height: 100%;
  background-size: cover; /* <-- background size */
  background-position: center; /* <-- background position */
}

.message .bg-photo {
  min-height: 400px;
  height: calc(100% - 1.5em);
  margin-top: 1.5em;
}

/* 
 * NEW SLIDER
 */

 .splide__slide img {
  max-width: 80vw;
 }

 .splide__slide {
  display: flex;
  justify-content: center;
  align-items: center;
 }

/* 
 * SLIDER
 */


 @keyframes scroll {
   0% { transform: translateX(0); }
   100% { transform: translateX(calc(-25vw * 4))}
 }
 

 .slider {
  --animationSpeed: 40s;
   background: white;
   /*box-shadow: 0 10px 20px -5px rgba(0, 0, 0, .125);*/
   height: 30vh;
   margin: auto;
   overflow:hidden;
   position: relative;
   width: 100%;  
 }

.slider .slide-track {
  animation: scroll var(--animationSpeed) linear infinite;
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc(25vw * 7);
  height: 100%;
}

.slider .slide {
  height: 100%;
  width: 25vw;
  display: flex;
  justify-content: center;
  align-items: center;
}

.slider img {
  max-width: 100%;
  max-height: 100%;
}
    
.slider ::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}

.slider ::before {
  left: 0;
  top: 0;
}

.slider::before,
.slider::after {
  background: linear-gradient(to right,  rgba(255,255,255,1) 0%,rgba(255,255,255,0) 100%);
  content: "";
  height: 20%;
  position: absolute;
  width: 200px;
  z-index: 2;
}



/* Nav dots */

.dot {
  width: 14px;
  height: 14px;
  border-radius: 100%;
  position: relative;
  background-color: rgba(255,255,255,0.55);
  box-shadow: 0 0 1px 1px #aaa;
  margin: 10px;
  cursor: pointer;
  will-change: auto;
}

.dots {
  transform: translate3d(0,0,0);
  position: fixed;
  z-index: 100;
  top: 40%;
  right: 12px;
}

.dots.active {
  visibility: hidden;
}

.toolTips {
  position: absolute;
  top: 40%;
  right: 46px;
  z-index: 1000;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 2px rgb(11,29,55);
}
@media (hover:none) {
    .toolTips, p.navDotInfo  {
    visibility: hidden;
  }
}
.toolTip {
  opacity: 0;
  text-align: right;
  height: 14px;
  margin: 10px 0;
  line-height: 14px;
  padding-right: 12px;
  left: 14px;
  top: 14px;
}

/* ROW */
.row {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.no-gutters .row {
  gap: 0;
}

.grid-center {
  display: grid;
  justify-items: center;
  align-items: center;
}

.grid-center-vert {
  display: grid;
  align-items: center;
}

.col-xs-12 {
  grid-column: span 12
}

.col-xs-11 {
  grid-column: span 11;
}

.col-xs-10 {
  grid-column: span 10
}

.col-xs-9 {
  grid-column: span 9
}

.col-xs-8 {
  grid-column: span 8
}

.col-xs-7 {
  grid-column: span 7
}

.col-xs-6 {
  grid-column: span 6
}

.col-xs-5 {
  grid-column: span 5
}

.col-xs-4 {
  grid-column: span 4
}

.col-xs-3 {
  grid-column: span 3
}

.col-xs-2 {
  grid-column: span 2
}

.col-xs-1 {
  grid-column: span 1
}

@media (min-width: 768px) {
  .col-sm-12 {
    grid-column: span 12
  }

  .col-sm-11 {
    grid-column: span 11;
  }

  .col-sm-10 {
    grid-column: span 10
  }

  .col-sm-9 {
    grid-column: span 9
  }

  .col-sm-8 {
    grid-column: span 8
  }

  .col-sm-7 {
    grid-column: span 7
  }

  .col-sm-6 {
    grid-column: span 6
  }

  .col-sm-5 {
    grid-column: span 5
  }

  .col-sm-4 {
    grid-column: span 4
  }

  .col-sm-3 {
    grid-column: span 3
  }

  .col-sm-2 {
    grid-column: span 2
  }

  .col-sm-1 {
    grid-column: span 1
  }
}

@media (min-width: 992px) {
  .col-md-12 {
    grid-column: span 12
  }

  .col-md-11 {
    grid-column: span 11;
  }

  .col-md-10 {
    grid-column: span 10
  }

  .col-md-9 {
    grid-column: span 9
  }

  .col-md-8 {
    grid-column: span 8
  }

  .col-md-7 {
    grid-column: span 7
  }

  .col-md-6 {
    grid-column: span 6
  }

  .col-md-5 {
    grid-column: span 5
  }

  .col-md-4 {
    grid-column: span 4
  }

  .col-md-3 {
    grid-column: span 3
  }

  .col-md-2 {
    grid-column: span 2
  }

  .col-md-1 {
    grid-column: span 1
  }
}

@media (min-width: 1200px) {
  .col-lg-12 {
    grid-column: span 12
  }

  .col-lg-11 {
    grid-column: span 11;
  }

  .col-lg-10 {
    grid-column: span 10
  }

  .col-lg-9 {
    grid-column: span 9
  }

  .col-lg-8 {
    grid-column: span 8
  }

  .col-lg-7 {
    grid-column: span 7
  }

  .col-lg-6 {
    grid-column: span 6
  }

  .col-lg-5 {
    grid-column: span 5
  }

  .col-lg-4 {
    grid-column: span 4
  }

  .col-lg-3 {
    grid-column: span 3
  }

  .col-lg-2 {
    grid-column: span 2
  }

  .col-lg-1 {
    grid-column: span 1
  }
}



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

/*
 * Hide visually and from screen readers
 */

.hidden,
[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
 */

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .sr-only class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.sr-only.focusable:active,
.sr-only.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  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: " ";
  display: table;
}

.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:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    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:
   * https://web.archive.org/web/20180815150934/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;
  }
}

