@import url('https://fonts.googleapis.com/css2?family=Rubik:wght@400;500;700&display=swap');

:root {

  --guide-color-bg: #555AFA;
  --guide-color-dark-bg: #36414C;
  --guide-color-light: #558CFA;

  --guide-padding: 24px;
  --guide-tooltip-padding: 16px;
  --guide-arrow-lim: 8px;
  --font-rubik: 'Rubik', 'Roboto', sans-serif;
}

#guidePixel {
  width: 3px;
  height: 3px;
  position: absolute;
  left: 50%;
  top: 100px;
  margin-left: -200px;
  z-index: 3000;
}

.guide-wrapper {
  z-index: 3000;
  opacity: 0;
  pointer-events: none;
}

.guide-wrapper.active {
  opacity: 1;
  pointer-events: initial;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  z-index:9999;
}

.guide-overlay {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}

.guide-overlay.active {
  display: block;
  opacity: 0;
}

.guide-overlay i {
  display: block;
  position: absolute;
  background: #000;
  opacity: 0.7;
}

.guide-overlay i:nth-child(1) {
  width: 100%;
  left: 0;
  top: 0;
}

.guide-overlay i:nth-child(2) {
  left: 0;
}
.guide-overlay i:nth-child(3) {
  width: 100%;
}

.guide-overlay i:nth-child(4) {
  width: 100%;
  height: 100%;
  left: 0;
}

.guide-overlay b {
  display: block;
  position: absolute;
  background: none;
  border: 1px solid rgba(0, 0, 0, 0.7);
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
}

.guide-overlay b span {
  position: absolute;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid #fff;
  background: #f75b59;
  color: #fff;
  font-weight: 700;
  font-size: 0.8em;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
  transform: translate(-50%, -50%);
}

.guide-overlay b.right span {
  left: 100%;
}

.guide-window {
  position: fixed;
  background: var(--guide-color-bg);
  padding: var(--guide-padding);
  border-radius: 8px;
  width: 408px;
  font-family: var(--font-rubik) !important;
  font-size: 18px;
  line-height: 24px;
  color: #fff;
}

.guide-window.dark {
  background: var(--guide-color-dark-bg);
}

.guide-window.guide-tooltip {
  background: var(--guide-color-dark-bg);
  padding: var(--guide-tooltip-padding);
  line-height: 20px !important;
}

.guide-window.guide-window__focused::after {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  transform: rotate(45deg);
  position: absolute;
  pointer-events: none;
  background: var(--guide-color-bg);
}

.guide-window.dark.guide-window__focused::after,
.guide-window.guide-tooltip.guide-window__focused::after {
  background: var(--guide-color-dark-bg);
}

.focused__lt::after {
  left: calc(var(--guide-arrow-lim) * -1);
  top: var(--guide-padding);
}

.focused__lb::after {
  left: calc(var(--guide-arrow-lim) * -1);
  bottom: var(--guide-padding);
}

.focused__lc::after {
  left: calc(var(--guide-arrow-lim) * -1);
  top: calc(50% - 11px);
}

.focused__rt::after {
  right: calc(var(--guide-arrow-lim) * -1);
  top: var(--guide-padding);
}

.focused__rb::after {
  right: calc(var(--guide-arrow-lim) * -1);
  bottom: var(--guide-padding);
}

.focused__rc::after {
  right: calc(var(--guide-arrow-lim) * -1);
  top: calc(50% - 11px);
}

.focused__tl::after {
  left: var(--guide-padding);
  top: calc(var(--guide-arrow-lim) * -1);
}

.focused__tr::after {
  right: var(--guide-padding);
  top: calc(var(--guide-arrow-lim) * -1);
}

.focused__tc::after {
  left: calc(50% - 11px);
  top: calc(var(--guide-arrow-lim) * -1);
}

.focused__bl::after {
  left: var(--guide-padding);
  bottom: calc(var(--guide-arrow-lim) * -1);
}

.focused__br::after {
  right: var(--guide-padding);
  bottom: calc(var(--guide-arrow-lim) * -1);
}

.focused__bc::after {
  left: calc(50% - 11px);
  bottom: calc(var(--guide-arrow-lim) * -1);
}

.guide-window .guide-content__stepcounter {
  font-size: 14px;
  margin-bottom: 8px;
}

.guide-window.guide-tooltip .guide-content__stepcounter {
  display: none;
}

.guide-window .guide-content__title {
  font-size: 24px;
  font-weight: 700;
  padding: 0;
  line-height: 28px;
  margin-bottom: 16px;
  color: #ffffff;
}

.guide-window .guide-content__text {
  margin-bottom: 16px;
  font-weight: normal;
  font-size: 16px;
  line-height: 24px;
  padding: 0;
  color: #ffffff;
}

body.dxt.coral .guide-window .guide-content__title {
  font-size: 20px;
  line-height: 24px;
}

body.dxt.coral .guide-window .guide-content__text {
  font-size: 14px;
  line-height: 18px;
}

.guide-window.guide-tooltip .guide-content__text {
  font-size: 16px;
  line-height: 20px;
}

.guide-hidden {
  display: none !important;
}

.guide-bullets {
  align-items: center;
  display: none;
  margin-right: auto;
}

.guide-bullets.active {
  display: flex;
}

.guide-bullets .bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 8px;
  background: var(--guide-color-light);
}

.guide-bullets .bullet.active {
  background: #fff;
}

.guide-window .guide-content__buttons {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.guide-window .guide-button {
  display: inline-flex;
  padding: 12px 32px;
  margin-left: 9px;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  background-color: var(--guide-color-light);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.guide-window.dark .guide-button {
  background: var(--guide-color-dark-bg);
  border: 1px solid #fff;
}

.guide-window .guide-button.guide-button__textonly {
  background: none;
  border: none;
}

.guide-window .guide-button.toCenter {
  margin: 0 0 0 auto;
}

.guide-window.guide-tooltip .guide-button {
  padding: 7px 12px;
  background: none;
  border: 2px solid #fff;
  font-size: 14px;
}

.body-guide {
  overflow: hidden;
  padding-right: var(--scrollPadding);
}

.test-content {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 2999;
}

.test-content div {
  width: 50px;
  height: 50px;
  background: #fff;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  position: absolute;
}

#test1 {
  left: 0;
  top: 0;
}
#test2 {
  right: 0;
  top: 0;
}
#test3 {
  right: 0;
  bottom: 50px;
}
#test4 {
  left: 0;
  bottom: 0;
}
#test5 {
  width: 100%;
  left: 0;
  top: 50%;
}
