.tippy-box[data-animation="fade"][data-state="hidden"] {
  opacity: 0;
}
[data-tippy-root] {
  max-width: calc(100vw - 10px);
}
.tippy-box {
  position: relative;
  background-color: #333;
  color: #fff;
  border-radius: 4;
  padding: 16px;
  outline: 0;
  transition-property: transform, visibility, opacity;
  text-align: left;
  box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
  font-size: 18px;
}

.tippy-box[data-theme~='red'] {
  background-color: #EC2024;

}
.tippy-box[data-theme~='red'] a {
  background-color: #EC2024;
  color: #fff;
  text-decoration: underline;
}

.tippy-box[data-placement^="top"] > .tippy-arrow {
  bottom: 0;
}
.tippy-box[data-placement^="top"] > .tippy-arrow:before {
  bottom: -7px;
  left: 0;
  border-width: 8px 8px 0;
  border-top-color: initial;
  transform-origin: center top;
}
.tippy-box[data-placement^="bottom"] > .tippy-arrow {
  top: 0;
}
.tippy-box[data-placement^="bottom"] > .tippy-arrow:before {
  top: -7px;
  left: 0;
  border-width: 0 8px 8px;
  border-bottom-color: initial;
  transform-origin: center bottom;
}
.tippy-box[data-placement^="left"] > .tippy-arrow {
  right: 0;
}
.tippy-box[data-placement^="left"] > .tippy-arrow:before {
  border-width: 8px 0 8px 8px;
  border-left-color: initial;
  right: -7px;
  transform-origin: center left;
}
.tippy-box[data-placement^="right"] > .tippy-arrow {
  left: 0;
}
.tippy-box[data-placement^="right"] > .tippy-arrow:before {
  left: -7px;
  border-width: 8px 8px 8px 0;
  border-right-color: initial;
  transform-origin: center right;
}
.tippy-box[data-inertia][data-state="visible"] {
  transition-timing-function: cubic-bezier(0.54, 1.5, 0.38, 1.11);
}
.tippy-arrow {
  width: 16px;
  height: 16px;
  color: #333;
}

.tippy-box[data-theme~='red'][data-placement^='top'] > .tippy-arrow::before {
  border-top-color:#EC2024;
}
.tippy-box[data-theme~='red'][data-placement^='bottom'] > .tippy-arrow::before {
  border-bottom-color: #EC2024;
}
.tippy-box[data-theme~='red'][data-placement^='left'] > .tippy-arrow::before {
  border-left-color: #EC2024;
}
.tippy-box[data-theme~='red'][data-placement^='right'] > .tippy-arrow::before {
  border-right-color: #EC2024;
}

.tippy-arrow:before {
  content: "";
  position: absolute;
  border-color: transparent;
  border-style: solid;
  transform: scale(2.5);
}
.tippy-content {
  position: relative;
  padding: 5px 9px;
  z-index: 1;
}
