.wheel-img {
  position   : relative;
  user-select: none;
}

.wheel-img__numbers {
  position   : absolute;
  font-size  : 14px;
  display    : block;
  width      : 100%;
  height     : 100%;
  top        : 0;
  left       : 0;
  user-select: none;
}

.wheel-img__number {
  color      : #000;
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;
  position   : absolute;
  font-size  : 3.5em;
  line-height: 1;
}

.wheel-img__number::before {
  content  : "%";
  display  : block;
  position : absolute;
  left     : 0;
  right    : 0;
  top      : -66%;
  font-size: 0.7em;
}

.wheel-img__number:nth-child(1) {
  top      : 23%;
  left     : 50%;
  transform: translate(-50%, -50%);
}

.wheel-img__number:nth-child(2) {
  top      : 30%;
  left     : 70%;
  transform: translate(-50%, -50%) rotateZ(45deg);
}

.wheel-img__number:nth-child(3) {
  top      : 50%;
  left     : 79%;
  transform: translate(-50%, -50%) rotateZ(90deg);
}

.wheel-img__number:nth-child(4) {
  top      : 70%;
  left     : 70%;
  transform: translate(-50%, -50%) rotateZ(135deg);
}

.wheel-img__number:nth-child(5) {
  top      : 78%;
  left     : 50%;
  transform: translate(-50%, -50%) rotateZ(180deg);
}

.wheel-img__number:nth-child(6) {
  top      : 70%;
  left     : 30%;
  transform: translate(-50%, -50%) rotateZ(225deg);
}

.wheel-img__number:nth-child(7) {
  top      : 50%;
  left     : 25%;
  transform: translate(-50%, -50%) rotateZ(270deg);
}

.wheel-img__number:nth-child(8) {
  top      : 30%;
  left     : 30%;
  transform: translate(-50%, -50%) rotateZ(315deg);
}

@media only screen and (max-width: 576px) {
  .wheel-img__number {
    font-size: 1.95em;
  }

  .wheel-img__number::before {
    top: 100%;
  }
}

@keyframes super-rotation {
  70% {
    transform: rotate(1760deg);
  }

  100% {
    transform: rotate(1740deg);
  }
}

.super-rotation {
  -webkit-animation-name            : super-rotation;
  animation-name                    : super-rotation;
  -webkit-animation-duration        : 7s;
  animation-duration                : 7s;
  -webkit-animation-fill-mode       : forwards;
  animation-fill-mode               : forwards;
  -webkit-transition-timing-function: ease-in-out;
  -o-transition-timing-function     : ease-in-out;
  transition-timing-function        : ease-in-out;
}

.wheel-cursor {
  user-select: none;
}

.ruletka-p {
  text-indent: 0px;
  color      : black;
  text-align : center !important;
  margin     : 15px;
  line-height: 25px;
  font-weight: bold;
}

.ruletka-p h2 {
  font-size    : 25px;
  margin-bottom: 15px;
}

.ruletka-a {
  color: #1697ce;
}

.spin-wrapper {
  -webkit-box-shadow: 0 0 10px;
  box-shadow        : 0 0 10px;
  border            : 3px solid red;
  padding           : 20px 10px;
  border-radius     : 10px;
  text-align        : center;
  box-sizing        : border-box;
}

.spin-wrapper .ruletka-p {
  margin-bottom: 15px;
}

.danger-text {
  color      : red;
  font-weight: bold;
}

.wheel {
  width   : 380px;
  height  : 380px;
  margin  : 0 auto;
  position: relative;
}

.wheel img {
  max-width : 100%;
  max-height: 100%;
}

.wheel-img {
  max-width         : 100%;
  max-height        : 100%;
  -webkit-transition: 4s;
  -o-transition     : 4s;
  transition        : 4s;
}

.wheel-cursor {
  position         : absolute;
  width            : 35% !important;
  height           : 35%;
  top              : 50%;
  left             : 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform    : translate(-50%, -50%);
  transform        : translate(-50%, -50%);
}

.cursor-text {
  position           : absolute;
  z-index            : 2;
  display            : inline-block;
  width              : 45% !important;
  height             : 45%;
  font               : 16px Arial !important;
  line-height        : 61px !important;
  cursor             : pointer;
  border-radius      : 50%;
  vertical-align     : middle;
  text-align         : center;
  background-color   : #ccc;
  border             : 1px solid #ccc;
  top                : 49%;
  left               : 50%;
  -webkit-user-select: none;
  -moz-user-select   : none;
  -ms-user-select    : none;
  user-select        : none;
  -webkit-transform  : translate(-50%, -50%);
  -ms-transform      : translate(-50%, -50%);
  transform          : translate(-50%, -50%);
  -webkit-box-shadow : white 0px -2px 0px inset, white 0px 2px 0px inset, rgba(0, 0, 0, 0.4) 0px 0px 5px;
  box-shadow         : white 0px -2px 0px inset, white 0px 2px 0px inset, rgba(0, 0, 0, 0.4) 0px 0px 5px;
  background         : white;
  background         : -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, white), color-stop(100%, #eaeaea));
  background         : -webkit-radial-gradient(center, ellipse cover, white 0%, #eaeaea 100%);
  background         : -o-radial-gradient(center, ellipse cover, white 0%, #eaeaea 100%);
  background         : -webkit-radial-gradient(center, ellipse, white 0%, #eaeaea 100%);
  background         : -o-radial-gradient(center, ellipse, white 0%, #eaeaea 100%);
  background         : radial-gradient(ellipse at center, white 0%, #eaeaea 100%);
  filter             : progid:DXImageTransform.Microsoft.gradient(startColorstr="#ffffff", endColorstr="#eaeaea", GradientType=1);
}

.spin-result-wrapper {
  display           : none;
  padding           : 0 10px;
  -webkit-box-sizing: border-box;
  box-sizing        : border-box;
  width             : 100%;
  top               : 0;
  z-index           : 999;
  left              : 0;
  height            : 100%;
  position          : fixed;
  background-color  : rgba(0, 0, 0, 0.6);
  text-align        : center;
}

.pop-up-window {
  position      : relative;
  max-width     : 400px;
  right         : 0px;
  left          : 0px;
  top           : 40%;
  margin        : 0px auto;
  background    : #ffffff none repeat scroll 0% 0%;
  text-align    : center;
  padding       : 10px;
  padding-top   : 70px;
  padding-bottom: 20px;
  border-radius : 10px;
  animation     : 0.7s ease 0s normal none 1 running pop-up-appear;
}

.close-popup {
  position          : absolute;
  width             : 30px;
  height            : 30px;
  background-image  : url(https://q.erectin-new.com/fonts/cross.svg);
  background-size   : 100%;
  top               : -40px;
  border-radius     : 50%;
  -webkit-box-shadow: 0 0 10px #fff;
  box-shadow        : 0 0 10px #fff;
  right             : -40px;
  cursor            : pointer;
}

.pop-up-heading {
  font-size    : 40px;
  margin-bottom: 20px;
}

.pop-up-text {
  margin-bottom: 25px;
  font-size    : 24px;
  line-height  : 30px;
  text-align   : center !important;
}

.pop-up-button {
  text-transform  : uppercase;
  text-decoration : none !important;
  padding         : 10px 20%;
  font-size       : 20px;
  border-radius   : 5px;
  background-color: #71c341;
  color           : white !important;
  border          : medium none;
  cursor          : pointer;
  outline         : medium none;
}

.cursor-text:active {
  -webkit-box-shadow: rgba(0, 0, 0, 0.4) 0px 0px 5px inset;
  box-shadow        : rgba(0, 0, 0, 0.4) 0px 0px 5px inset;
}

.pop-up-layer {
  position        : fixed !important;
  top             : 0px !important;
  width           : 100% !important;
  height          : 100% !important;
  background-color: rgba(0, 0, 0, 0.7) !important;
  z-index         : 99 !important;
}

.pop-up-layer-show {
  display: block;
}

.pop-up-window {
  position      : relative;
  max-width     : 400px;
  right         : 0px;
  left          : 0px;
  top           : 40%;
  margin        : 0px auto;
  background    : #fff none repeat scroll 0% 0%;
  text-align    : center;
  padding       : 10px;
  padding-top   : 70px;
  padding-bottom: 20px;
  border-radius : 10px;
  animation     : 0.7s ease 0s normal none 1 running pop-up-appear;
}

.pop-up-window::before {
  content         : "";
  position        : absolute;
  width           : 110px;
  height          : 110px;
  top             : -55px;
  left            : 0;
  right           : 0px;
  margin          : 0 auto;
  background-color: #71c341;
  border-radius   : 50%;
  animation       : 0.5s ease 0.6s normal backwards 1 running pop-up-appear-before;
}

.pop-up-window::after {
  content                  : "";
  position                 : absolute;
  width                    : 50px;
  height                   : 20px;
  top                      : -20px;
  left                     : 0px;
  right                    : 0;
  margin                   : 0 auto;
  border-width             : medium medium 4px 4px;
  border-style             : none none solid solid;
  border-color             : currentcolor currentcolor white white;
  -moz-border-top-colors   : none;
  -moz-border-right-colors : none;
  -moz-border-bottom-colors: none;
  -moz-border-left-colors  : none;
  border-image             : none;
  transform                : rotate(-45deg);
  transition               : opacity 1s ease 0s;
  animation                : 0.5s ease 0.6s normal backwards 1 running pop-up-appear-after;
}

.text_small {
  font-size  : 0.5em !important;
  font-weight: normal !important;
}

@keyframes pop-up-appear {
  0% {
    transform: translateY(-2000px);
  }

  30% {
    transform: translateY(100px);
  }

  100% {
    transform: translateY(0px);
  }
}

@keyframes pop-up-appear-before {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes pop-up-appear-after {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.pop-up-button:hover {
  color          : white !important;
  text-decoration: none !important;
}

@media all and (max-width: 520px) {
  .wheel {
    width : 260px !important;
    height: 260px !important;
  }

  .cursor-text {
    line-height: 45px !important;
    font-size  : 12px !important;
  }
}

@media screen and (max-width: 520px) and (max-width: 345px) {
  .wheel {
    width : 250px !important;
    height: 250px !important;
  }

  .cursor-text {
    line-height: 40px !important;
    font-size  : 11px !important;
  }
}