.tooltip {
  position: relative;
}
.tooltip:after,
.tooltip:before {
  opacity: 0;
  pointer-events: none;
  font-size: 14px;
  border-radius: 6px;
  bottom: 100%;
  left: 50%;
  position: absolute;
  z-index: 10;
  transform: translate(-50%, 10px);
  transform-origin: top;
  transition: all 0.18s ease-out 0.18s;
}

.tooltip:after {
  background-color: #232323;
  box-shadow: 0 0 3px #ff0000;
  content: attr(data-tooltip);
  padding: 10px;
  white-space: nowrap;
  margin-bottom: 11px;
}

.tooltip:before {
  width: 0;
  height: 0;
  content: "";
  margin-bottom: 6px;
}

.tooltip:hover:before,
.tooltip:hover:after {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

[data-tooltip-pos="up"]:before {
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #ff0000;
  margin-bottom: 6px;
}

[data-tooltip-pos="down"]:before {
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #f5f5f5;
  margin-top: 6px;
}

[data-tooltip-pos="right"]:before {
  border-top: 6px solid transparent;
  border-right: 6px solid #f5f5f5;
  border-bottom: 6px solid transparent;
  margin-left: 6px;
}

[data-tooltip-pos="left"]:before {
  border-top: 6px solid transparent;
  border-left: 6px solid #f5f5f5;
  border-bottom: 6px solid transparent;
  margin-right: 6px;
}

[data-tooltip-pos="down"]:before,
[data-tooltip-pos="down"]:after {
  bottom: auto;
  left: 50%;
  top: 100%;
  transform: translate(-50%, -10px);
}

[data-tooltip-pos="down"]:after {
  margin-top: 11px;
}

[data-tooltip-pos="down"]:hover:before,
[data-tooltip-pos="down"]:hover:after {
  transform: translate(-50%, 0);
}

[data-tooltip-pos="left"]:before,
[data-tooltip-pos="left"]:after {
  bottom: auto;
  left: auto;
  right: 100%;
  top: 50%;
  transform: translate(10px, -50%);
}

[data-tooltip-pos="left"]:after {
  margin-right: 11px;
}

[data-tooltip-pos="left"]:hover:before,
[data-tooltip-pos="left"]:hover:after {
  transform: translate(0, -50%);
}

[data-tooltip-pos="right"]:before,
[data-tooltip-pos="right"]:after {
  bottom: auto;
  left: 100%;
  top: 50%;
  transform: translate(-10px, -50%);
}

[data-tooltip-pos="right"]:after {
  margin-left: 11px;
}

[data-tooltip-pos="right"]:hover:before,
[data-tooltip-pos="right"]:hover:after {
  transform: translate(0, -50%);
}

[data-tooltip-length]:after {
  white-space: normal;
}

[data-tooltip-length="small"]:after {
  width: 80px;
}

[data-tooltip-length="medium"]:after {
  width: 150px;
}

[data-tooltip-length="large"]:after {
  width: 260px;
}

[data-tooltip-length="fit"]:after {
  width: 100%;
}

/*css just to the example*/
.component--example {
  margin-top: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.title {
  text-align: center;

  background-color: #000;

  font-size: 19px;

  font-weight: bold;

  color: #fff;

  border-radius: 10px;

  padding: 10px;

  margin-bottom: 10px;

  margin-top: 10px;

  margin-left: -12px;

  margin-right: 4px;

  border: 1px solid #fff;
}

.numberopt {
  padding: 10px 0px;
  text-align: center;
  float: left;
  margin: 5px 15px 10px -2px;
  width: 301px;
  border-radius: 10px;
  background-color: #fff;
  color: #000;
  font-family: Antiqua, "book antiqua";
  font-size: 24px;
  font-weight: bold;
}

.wrapper .main-content h2 {
  text-align: center;
  color: #fff;
}

.numberopt a {
  color: #000;
  font-size: 24px;
}
.numberopt a:hover {
  color: #ff0000;
  font-size: 24px;
}

.sidebar {
  text-align: center;

  background-color: #1c1a1a;

  padding: 10px;

  border-radius: 10px;

  border: 1px solid #666;

  display: none;
}

marquee {
  border-bottom: 1px solid #fff;

  border-top: 1px solid #fff;

  margin: 0px 10px 10px 10px;
}
.total {
  font-size: 19px;
  color: #fff;
  text-align: center;
}
.wrapper .main-content {
  width: 98.5%;
  padding: 10px 0px 0px 15px;
  border-radius: 7px;
  float: left;
}

@media screen and (max-width: 1023px) {
  .sidebar {
    display: none;
  }
  .total {
    font-size: 34px;
    color: #fff;
    text-align: center;
  }

  .numberopt {
    display: flex;

    justify-content: center;

    align-items: center;

    color: #ff0;

    background-color: #222;

    border: 1px solid #ff0;

    border-radius: 24px;

    padding: 30px 16px;

    width: 45%;
  }

  .numberopt a {
    color: #ff0;

    font-size: 40px;
  }

  .numberopt a:hover {
    color: #ff0;

    font-size: 40px;
  }

  .numbers .number .number-n a {
    color: #ff0;

    font-size: 40px;
  }

  .title {
    text-align: center;

    font-size: 43px;

    font-weight: bold;

    color: #fff;

    border-radius: 0px;

    padding: 26px;

    margin: 19px 17px 21px 0px;

    border: 1px solid #ccc;

    background: none;

    box-shadow: 0px 0px 18px 0px #ccc inset;
  }

  .title img {
    width: 36px;

    margin: 5px 29px;
  }

  h2 {
    display: block;

    font-size: 3.5em;

    margin-block-start: 0.83em;

    margin-block-end: 0.83em;

    margin-inline-start: 0px;

    margin-inline-end: 0px;

    font-weight: bold;
  }

  p.text-center.ordering {
    display: block;

    margin-block-start: 1em;

    margin-block-end: 1em;

    margin-inline-start: 0px;

    margin-inline-end: 0px;

    font-size: 2.5em;
  }

  .number-p a {
    font-size: 66px;

    color: #000;
  }

  .hrg {
    font-size: 35px;

    margin-top: 15px;

    margin-bottom: 39px;

    color: red;

    font-weight: 600;
  }

  strong {
    font-weight: bold;

    font-size: 27px;
  }
}
