@font-face {
  font-family: 'Proxima Nova';
  src: url('/images/pnb.otf');
}

h1, h2, h3, h4, h5 {
  font-family: 'Proxima Nova', sans-serif;
}

* {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

body {
  margin: 0;
  padding: 0;
}

button, a.button {
  cursor: pointer;
  padding: 10px 36px;
  border-radius: 3px;
  background-color: var(--highlightColor);
  color: white;
  border: none;
  font-size: 16px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

button.secondary, a.button.secondary {
  background-color: white;
  color: var(--highlightColor);
}

a {
  text-decoration: none;
  color: black;
  cursor: pointer;
}

a.link {
  font-weight: bold;
}

a.link:hover {
  color: var(--highlightColor);
}

a.bluelink {
  color: var(--highlightColor);
}

:root {
  --highlightColor: #286BBD;
}

div.flexbox {
  display: flex;
}

div.flexbox div.spacer {
  flex-grow: 1;
}

div.spacer {
  margin-top: 50px;
}

div.spacer2x {
  margin-top: 100px;
}

div.spacer3x {
  margin-top: 150px;
}

div.spacer4x {
  margin-top: 200px;
}

div.spacer5x {
  margin-top: 250px;
}

body:not(.handlesPadding)>div {
  padding: 0px 14%;
}

p.fineprint {
  font-size: 12px;
  color: grey;
}

/*
 * Tooltips
 */
.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 220px;
  background-color: black;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -115px;
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: black transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

/*
 * NAV
 */
div.header {
  margin-top: 8px;
  margin-bottom: 32px;
}

div.header a.header-link {
  margin: auto;
}

div.header svg.header-logo {
  height: 100%;
  width: 120px;
}

div.header div.header-contents {
  margin: auto 0px;
}

div.header div.header-contents a.link {
  margin: 0px 10px;
}

/*
 * MAIN
 */
div.main .center {
  text-align: center;
}

div.main div.width-20 {
  width: 20%;
}

div.main div.width-20 img {
  width: 100%;
}

div.main div.width-30 {
  width: 30%;
}

div.main div.width-30 img {
  width: 100%;
}

div.main div.width-40 {
  width: 40%;
}

div.main div.width-50 {
  width: 50%;
}

div.main div.width-50 img,svg {
  width: 100%;
}

div.main div.width-40 img {
  width: 100%;
}

div.main div.width-60 {
  width: 60%;
}

div.main div.width-60 img {
  width: 100%;
}

div.main div.img-slideshow {
  width: 60%;
}

div.main div.img-slideshow img {
  width: 30%;
  max-height: 272px;
  max-width: 543px;
  position: absolute;
}

div.main div.img-slideshow img:nth-of-type(1) {
  animation-name: fader;
  animation-delay: 3s;
  animation-duration: 1s;
  z-index: 20;
}

div.main div.img-slideshow img:nth-of-type(2) {
  z-index: 10;
}

div.main div.img-slideshow img:nth-of-type(n+3) {
  display: none;
}

@keyframes fader {
  from {
    opacity: 1.0;
  }

  to {
    opacity: 0.0;
  }
}

div.main div.text-body.right {
  margin-left: 50px;
}

div.main div.text-body.left {
  margin-right: 50px;
}

div.main div.text-body.impact {
  font-size: 20px;
}

div.main img.cropped {
  object-fit: cover;
  object-position: top center;
  height: 100%;
}

div.main div.footer {
  border-top: 1px solid lightgrey;
  padding-top: 50px;
}

div.main div.footer a {
  color: gray;
}

div.main span.feature {
  margin-bottom: 12px;
  display: block;
}

div.main span.feature i {
  margin-right: 8px;
  height: 32px;
}

div.main div.product {
  width: 30%;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
  border-radius: 16px;
}

div.main div.product.redirect {
  display: flex;
  justify-content: center;
  align-items: center;
}

div.main div.product h1 {
  text-align: center;
}

div.main div.product p.price {
  font-weight: bold;
  text-align: center;
  font-size: 24px;
  margin: 0px;
}

div.main div.product p.subprice {
  text-align: center;
  font-size: 18px;
  color: grey;
  margin: 0px;
}

div.main div.product p.action {
  text-align: center;
}

table.segmentedControl, table.segmentedControl tr, table.segmentedControl td {
  border-collapse: collapse;
  border: 1px solid grey;
}

table.segmentedControl td {
  padding: 10px;
  cursor: pointer;
  font-weight: 500;
}

table.segmentedControl td.current {
  background-color: var(--highlightColor);
}

table.segmentedControl td.current a {
  color: white;
}

table.segmentedControl td.current a:hover {
  color: white;
}

table.segmentedControl td a:hover {
  color: var(--highlightColor);
}

#flame1 {
  animation: flame 1.2s linear infinite;
}

#flame2 {
  animation: flame 1s linear 0.5s infinite;
}

#flame3 {
  animation: flame 1s linear 0.2s infinite;
}

#flame4 {
  animation: flame 0.8s linear 0.3s infinite;
}

@keyframes flame {
  0% {
    transform: matrix(1,0,0,1,-32.41,-42.89);
  }
  50% {
    transform: matrix(1,0,0,0.465275,-32.41,292.992)
  }
  100% {
    transform: matrix(1,0,0,1,-32.41,-42.89);
  }
}
