@import url("https://fonts.googleapis.com/css2?family=Dosis:wght@300;400;600;700;900&family=Dosis:wght@300;400;600;700;900&family=Inter:wght@300;400;600;700;900");
@import url("https://fonts.googleapis.com/css2?family=Lato:wght@400;700;900&display=swap");

/* Design system template 2.0.0 */
:root {
  /*
    Classy Palette
  #14A662 # --theme-color-3
  #3A4A40 # --theme-color-2
  #9DB0A3 # --theme-color-4
  #00A2EB # --hyperlinks-text-color
  #006EB3 # --hyperlinks-hover-color
   */

  /* theme colors */
  --theme-color-1: #011826;
  --theme-color-2: #3a4a40;
  --theme-color-3: #14a662;
  --theme-color-4: #9db0a3;

  --general-font: "Roboto", sans-serif;
  --general-text-color: #011826;

  /* backgrounds */
  --background-main-color: #ffffff;
  --background-secondary-color: #f2f2f0;
  /* --background-attention-color: var(--theme-color-1) */

  /* links */
  --hyperlinks-text-color: #00a2eb;
  --hyperlinks-text-hover-color: #006eb3;
  --hyperlinks-underline: ;
  /* highlight */
  --highlight-text-color: #01403a;
  --highlight-background-color: #00b4d8;

  /* --button-background-color: #00b4d8; */
  --button-background-hover-color: #00b4d8;
  --button-text-color: #f2f2f0;
  --button-text-hover-color: #f2f2f0;

  /* titles */
  --title-color: #01403a;
  --title-font: Dosis;
  --title-style: 700;
  --title-size: 42px;
  --title-mobile-size: 34px;
  /* subtitles */
  --subtitle-color: #01403a;
  --subtitle-font: Dosis;
  --subtitle-style: 600;
  --subtitle-size: 32px;
  --subtitle-mobile-size: 24px;
  /* paragraphs */
  --paragraph-color: #01403a;
  --paragraph-font: Inter;
  --paragraph-style: 400;
  --paragraph-size: 18px;
  --paragraph-mobile-size: 16px;
}

/* General elements */

* {
  box-sizing: border-box;
}

html,
body {
  scroll-behavior: smooth;
  margin: auto;
  padding: 0;
}
body {
  font-family: var(--general-font);
  color: var(--general-text-color);
}

h1,
h1 > p {
  font-size: var(--title-size);
  color: var(--title-color);
  font-family: var(--title-font);
  font-weight: var(--title-style);
  margin: 0px;
}

h2,
h2 > p {
  font-size: 37px;
  color: var(--title-color);
  font-family: var(--title-font);
  font-weight: var(--title-style);
  margin: 0px;
}

h3,
h3 > p {
  font-size: var(--subtitle-size);
  color: var(--subtitle-color);
  font-family: var(--subtitle-font);
  font-weight: var(--subtitle-style);
  margin: 0px;
}

h4,
h4 > p {
  font-size: 27px;
  color: var(--subtitle-color);
  font-family: var(--subtitle-font);
  font-weight: var(--subtitle-style);
  margin: 0px;
}

h5,
h5 > p {
  font-size: 22px;
  color: var(--subtitle-color);
  font-family: var(--subtitle-font);
  font-weight: var(--subtitle-style);
  margin: 0px;
}

h6,
h6 > p {
  font-size: 22px;
  color: var(--subtitle-color);
  font-family: var(--subtitle-font);
  font-weight: var(--subtitle-style);
  margin: 0px;
}

#guide-page {
  h3,
  hr {
    margin: 0.5rem 0;
  }
  pre {
    white-space: pre-wrap;
    overflow-x: auto;
    word-wrap: break-word;
  }
  blockquote {
    background: #f9f9f9;
    border-left: 10px solid #ccc;
    padding: 0.5em 10px;
  }
}

p,
p > p {
  font-size: var(--paragraph-size);
  color: var(--paragraph-color);
  font-family: var(--paragraph-font);
  font-weight: var(--paragraph-style);
  margin: 0px;
  padding-top: 8px;
  padding-bottom: 8px;
}

li,
li > p {
  font-size: var(--paragraph-size);
  color: var(--paragraph-color);
  font-family: var(--paragraph-font);
  font-weight: var(--paragraph-style);
}

a {
  text-decoration: none;
}
a:link,
a:visited,
a:active {
  color: var(--hyperlinks-text-color);
}
a:hover {
  color: var(--hyperlinks-text-hover-color);
  transition: 0.3s;
  font-weight: inherit;
  text-decoration: none;
}

footer {
  height: 70px;
  background-color: #f9f9f9;
  z-index: 7;
  line-height: normal;
  position: relative;
}

footer p {
  margin: 0;
  text-align: center;
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-size: 15px;
  height: 100%;
  line-height: 72px;
  vertical-align: middle;
  color: #333;
}

footer img {
  height: 16px;
  margin: -2px 0 0 4px;
}

/* highlight feature */
.highlight {
  display: inline;
  position: relative;
  background-size: 200% auto;
  background-image: linear-gradient(
    to right,
    rgba(255, 0, 0, 0) 50%,
    var(--highlight-background-color) 50%
  );
  background-position: 0% 0;
  animation-duration: 1s;
  animation-delay: 0.8s;
  animation-iteration-count: 1;
  animation-fill-mode: forwards;
  padding-left: 0.15em;
  margin-left: -0.15em;
  white-space: pre-wrap;
  padding-right: 0.15em;
  margin-right: -0.15em;
}
[dir="rtl"] .highlight {
  background-image: linear-gradient(
    to left,
    rgba(255, 0, 0, 0) 50%,
    var(--highlight-background-color) 50%
  );
  background-position: 100%;
  animation-direction: reverse;
}
.highlight.activehigh {
  animation-name: highlight;
}
@keyframes highlight {
  from {
    background-position: 0% 0;
  }
  to {
    background-position: -100% 0;
    color: var(--highlight-text-color);
    font-weight: inherit;
  }
}

/* Button */
.button,
a.button {
  position: relative;
  color: var(--button-text-color);
  font-size: 16px;
  font-weight: 700;
  display: inline-flex;
  height: 50px;
  width: 200px;
  border-radius: 25px;
  box-shadow: 2px 2px 5px 0 rgb(0, 0, 0, 0.25);
  margin-top: 20px;
  margin-bottom: 20px;
  text-decoration: none;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.button:hover {
  color: var(--button-text-hover-color);
  background: var(--button-background-hover-color);
}
/* Layout */
.container.wide {
  max-width: 1920px;
}
.image-preload {
  display: none;
}

:root {
  --zoomVal: 1;
}

.content {
  text-align: inherit;
  word-break: break-word;
}
.content > p:last-child {
  margin-bottom: 0;
}
.content .cke_editable {
  min-height: 10px;
  overflow: hidden;
  padding: 0;
}
.content .cke_inner,
.content .cke_inner .cke_top {
  background: none;
}
.content.placeholder {
  color: #a09ab2;
  font-family: Inter;
  font-size: 22px;
  font-style: normal;
  font-weight: 700;
  line-height: 27px;
}
.content * {
  line-height: normal;
}
.content li,
.content li > p {
  color: var(--paragraph-color);
  font-family: var(--paragraph-font);
  font-size: var(--paragraph-size);
  font-weight: var(--paragraph-style);
  line-height: normal;
  margin-bottom: 12px;
}

.rhizome-hero .hero-background {
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 0;
}
.rhizome-hero .hero-background:before {
  content: "";
  display: block;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
  z-index: 1;
}
.rhizome-hero .hero-background img,
.rhizome-hero .hero-background video {
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: relative;
  width: 100%;
  z-index: 0;
}
.section .hero-wrapper {
  align-items: inherit;
  display: flex;
  flex-flow: column;
  justify-content: inherit;
  position: relative;
  width: 100%;
  z-index: 1;
}

#main {
  background-color: #ecf6f9;

  @media (max-width: 768px) {
    width: fit-content;
  }
}
footer {
  text-align: center;
  padding-top: 25px;
  color: #aaaaaa;
  background-color: #ecf6f9;
}
.section-wrapper {
  -webkit-box-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  align-items: center;
  box-shadow: none;
  min-height: 0;
  padding: 0;
  padding-right: 15px;
  padding-left: 15px;
}
.section-wrapper.youtube {
  align-items: normal;
}

.break {
  box-shadow: 0 1px 1px rgba(18, 3, 62, 0.1);
  display: list-item;
}

.other-wrapper .inner-wrapper {
  background: transparent;
  -webkit-box-pack: inherit;
  justify-content: inherit;
  -webkit-box-align: center;
  align-items: center;
  border-radius: 8px;
  min-height: 0px;
  max-width: 1140px;
  margin: auto;
  width: 100%;
}
.fade-in-section {
  opacity: 0;
  transform: translateY(5vh);
  visibility: hidden;
  transition: opacity 0.6s ease-out, transform 1.2s ease-out;
  will-change: opacity, visibility;
}
.fade-in-section.is-visible {
  opacity: 1;
  transform: none;
  visibility: visible;
}
.rhizome-hero .hero-background::before {
  background: #011826;
  opacity: 0.8;
}
.rhizome-hero .image-layout {
  max-width: 350px;
}
.rhizome-hero .image-layout .imageWrapperInner {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: 100%;
  border-radius: 100% !important;
}
.rhizome-hero .image-layout img {
  position: absolute;
  inset: 0px;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.buttonElement .button-wrapper {
  background-color: var(--theme-color-1);
  border-radius: 100px;
  width: 180px;
  margin: 0 auto;
  transition: all 0.3s ease-in-out 0s;
  font-size: 16px !important;
  font-weight: bold !important;
  line-height: 1 !important;
  color: rgb(255, 255, 255) !important;
}

span[data-highlight-active] {
  --fr-custom-highlight-height: 100%;
  --fr-hi-dur: 1s;
  --fr-hi-delay: 0.4s;
  --fr-hi-additional-delay: 0s;
  -webkit-animation-delay: calc(
    var(--fr-hi-delay) + var(--fr-hi-additional-delay)
  );
  animation-delay: calc(var(--fr-hi-delay) + var(--fr-hi-additional-delay));
  -webkit-animation-duration: var(--fr-hi-dur);
  animation-duration: var(--fr-hi-dur);
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
  -webkit-animation-name: none;
  animation-name: none;
  background-image: linear-gradient(
      to right,
      rgba(255, 0, 0, 0),
      rgba(255, 0, 0, 0)
    ),
    linear-gradient(
      to right,
      var(--var-highlight-bg-color),
      var(--var-highlight-bg-color)
    );
  background-position: 100% 100%, 0 100%;
  background-repeat: no-repeat;
  background-size: 100% var(--fr-custom-highlight-height),
    0 var(--fr-custom-highlight-height);
  caret-color: var(--var-highlight-text-color);
  color: inherit;
  display: inline;
  margin: 0 -0.1em;
  padding: 0 0.1em;
  position: relative;
  white-space: pre-wrap;
  z-index: -1;
}

[style*="direction: rtl"] span[data-highlight-active] {
  background-image: linear-gradient(
      to left,
      rgba(255, 0, 0, 0),
      rgba(255, 0, 0, 0)
    ),
    linear-gradient(
      to left,
      var(--var-highlight-bg-color),
      var(--var-highlight-bg-color)
    );
  background-position-x: 100%;
}

span[data-highlight-active="true"] {
  background-size: 0 var(--fr-custom-highlight-height),
    100% var(--fr-custom-highlight-height);
  color: var(--var-highlight-text-color);
  font-weight: inherit;
}

a span[data-highlight-active="true"],
span[data-highlight-active] span {
  caret-color: inherit !important;
  color: inherit !important;
}

span[data-highlight-active="true"][data-highlight-animation="none"] {
  --fr-custom-highlight-height: 100%;
  -webkit-animation-name: none;
  animation-name: none;
}

span[data-highlight-active="true"][data-highlight-animation="anim-bg"] {
  --fr-custom-highlight-height: 100%;
  -webkit-animation-name: anim-highlight;
  animation-name: anim-highlight;
}

span[data-highlight-active="true"][data-highlight-animation="anim-underline"] {
  --fr-custom-highlight-height: 0.15em;
  -webkit-animation-name: anim-highlight;
  animation-name: anim-highlight;
}

@-webkit-keyframes anim-highlight {
  0% {
    background-size: 100% var(--fr-custom-highlight-height),
      0 var(--fr-custom-highlight-height);
    color: inherit;
  }

  to {
    background-size: 0 var(--fr-custom-highlight-height),
      100% var(--fr-custom-highlight-height);
    color: var(--var-highlight-text-color);
  }
}

@keyframes anim-highlight {
  0% {
    background-size: 100% var(--fr-custom-highlight-height),
      0 var(--fr-custom-highlight-height);
    color: inherit;
  }

  to {
    background-size: 0 var(--fr-custom-highlight-height),
      100% var(--fr-custom-highlight-height);
    color: var(--var-highlight-text-color);
  }
}

nav a,
nav a:active,
nav a:link,
nav a:visited {
  color: var(--theme-color-1);
  cursor: pointer;
}

nav a:hover {
  color: var(--theme-color-2);
}

.embed-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
}
.embed-container iframe,
.embed-container object,
.embed-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#chat-widget-container {
  font-family: var(--paragraph-font);
  /* font-weight: 600; */
  /* font-size: 1.1rem; */
  position: fixed;
  bottom: 20px;
  right: 20px;
  flex-direction: column;
}
#chat-popup {
  height: 70vh;
  max-height: 70vh;
  transition: all 0.3s;
  overflow: hidden;
}
@media (max-width: 768px) {
  #chat-popup {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-height: 100%;
    border-radius: 0;
  }
}
.chat-loading {
  width: 40px;
  aspect-ratio: 2;
  --_g: no-repeat radial-gradient(circle closest-side, #011826 75%, #0000);
  background: var(--_g) 0% 50%, var(--_g) 50% 50%, var(--_g) 100% 50%;
  background-size: calc(100% / 3) 50%;
  animation: l3 1s infinite linear;
}
@keyframes l3 {
  20% {
    background-position: 0% 0%, 50% 50%, 100% 50%;
  }
  40% {
    background-position: 0% 100%, 50% 0%, 100% 50%;
  }
  60% {
    background-position: 0% 50%, 50% 100%, 100% 0%;
  }
  80% {
    background-position: 0% 50%, 50% 50%, 100% 100%;
  }
}
.integration-card {
  display: inline-block;
  margin: 10px auto;
  background-color: white;
  border-radius: 5px;
  border: 2px solid #9db0a3;
  padding: 0.5rem;
  font-family: Dosis;
  font-weight: 600;
  align-self: center;
  line-height: 1.5em;
  height: 5.5em;
  align-content: end;

  img {
    margin: auto;
    object-fit: contain;
    max-height: 54px;
  }
}

.play-shorts-youtube-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  cursor: pointer;
  width: 90px;
  opacity: 90%;
}
#see-it-work-sidecar {
  max-width: max-content;

  @media (min-width: 768px) {
    max-width: 315px;
  }
}

.play-shorts-youtube-icon:hover {
  opacity: 100%;
  cursor: pointer;
}

.tippy-box {
  background-color: #8fd9be;
}

.tippy-content {
  padding: 8px;
}

.tippy-arrow {
  color: #8fd9be;
  background-color: #8fd9be;
}
