.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: rgb(22, 151, 206);
}

.spin-wrapper {
  -webkit-box-shadow: 0 0 10px;
  box-shadow: 0 0 10px;
  border: 3px solid red;
  padding: 20px 5px;
  border-radius: 10px;
  text-align: center;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.spin-wrapper .ruletka-p {
  margin-bottom: 15px;
}

.danger-text {
  color: red;
  font-weight: bold;
  display: block;
}

.wheel {
  width: 700px !important;
  margin: 0 auto;
  position: relative;
}

.wheel img {
  max-width: 100%;
}
.img-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}
.med-img {
  width: 100px;
  margin-top: 20px;
}
.prod-img {
  max-width: 350px !important;
  width: 100%;
}
.price-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.animate__pulse {
  --animate-repeat: 999;
}
.old-price {
  font-size: 20px;
  text-decoration: line-through;
}
.new-price {
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 50px;
  color: red;
}
.wheel-img {
  -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%);
  background: none !important;
}

.cursor-text {
  position: absolute;
  z-index: 2;
  display: inline-block;
  width: 30% !important;
  height: 40%;
  font: 12px 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: 45%;
  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: rgba(255, 255, 255, 1) 0px -2px 0px inset, rgba(255, 255, 255, 1) 0px 2px 0px inset, rgba(0, 0, 0, 0.4) 0px 0px 5px;
  box-shadow: rgba(255, 255, 255, 1) 0px -2px 0px inset, rgba(255, 255, 255, 1) 0px 2px 0px inset, rgba(0, 0, 0, 0.4) 0px 0px 5px;
  background: rgb(255, 255, 255);
  background: -o-radial-gradient(center, ellipse, rgba(255, 255, 255, 1) 0%, rgba(234, 234, 234, 1) 100%);
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 1) 0%, rgba(234, 234, 234, 1) 100%);
  filter: progid: DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eaeaea', GradientType=1);
}

.order_block {
  display: none;
  text-align: center !important;
}

.order_block h3 {
  font: bold 18px Arial !important;
  background: transparent;
}

.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, .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;
  -webkit-animation: 0.7s ease 0s normal none 1 running pop-up-appear;
  animation: 0.7s ease 0s normal none 1 running pop-up-appear;
}

.close-popup {
  position: absolute;
  width: 30px;
  height: 30px;
  background-image: url("../images/cross.svg");
  background-size: 65%;
  background-repeat: no-repeat;
  background-position: center center;
  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: rgb(113, 195, 65);
  color: rgb(255, 255, 255) !important;
  border: medium none;
  cursor: pointer;
  outline: medium none;
}

.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
}

@-webkit-keyframes super-rotation {
  70% {
    -webkit-transform: rotate(1420deg);
    transform: rotate(1520deg);
  }

  100% {
    -webkit-transform: rotate(1415deg);
    transform: rotate(1515deg);
  }
}

@keyframes super-rotation {
  70% {
    -webkit-transform: rotate(1420deg);
    transform: rotate(1520deg);
  }

  100% {
    -webkit-transform: rotate(1415deg);
    transform: rotate(1515deg);
  }
}

.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;
  -webkit-animation: 0.7s ease 0s normal none 1 running pop-up-appear;
  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: rgb(113, 195, 65);
  border-radius: 50%;
  -webkit-animation: 0.5s ease 0.6s normal backwards 1 running pop-up-appear-before;
  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 rgb(255, 255, 255) rgb(255, 255, 255);
  -moz-border-top-colors: none;
  -moz-border-right-colors: none;
  -moz-border-bottom-colors: none;
  -moz-border-left-colors: none;
  -o-border-image: none;
  border-image: none;
  -webkit-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  transform: rotate(-45deg);
  -webkit-transition: opacity 1s ease 0s;
  -o-transition: opacity 1s ease 0s;
  transition: opacity 1s ease 0s;
  -webkit-animation: 0.5s ease 0.6s normal backwards 1 running pop-up-appear-after;
  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;
}

@-webkit-keyframes pop-up-appear {
  0% {
    -webkit-transform: translateY(-2000px);
    transform: translateY(-2000px);
  }

  30% {
    -webkit-transform: translateY(100px);
    transform: translateY(100px);
  }

  100% {
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
  }
}

@keyframes pop-up-appear {
  0% {
    -webkit-transform: translateY(-2000px);
    transform: translateY(-2000px);
  }

  30% {
    -webkit-transform: translateY(100px);
    transform: translateY(100px);
  }

  100% {
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
  }
}

@-webkit-keyframes pop-up-appear-before {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@keyframes pop-up-appear-before {
  0% {
    -webkit-transform: scale(0);
    transform: scale(0);
  }

  100% {
    -webkit-transform: scale(1);
    transform: scale(1);
  }
}

@-webkit-keyframes pop-up-appear-after {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes pop-up-appear-after {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.pop-up-button:hover {
  color: rgb(255, 255, 255) !important;
  text-decoration: none !important;
}

@media all and (max-width: 520px) {
  .wheel {
    width: 350px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  .wheel-img {
    max-width: 320px !important;
  }
  .cursor-text {
    line-height: 45px !important;
    font-size: 8px !important;
    top: 55%;
    width: 38% !important;
  }
}

@media screen and (max-width: 345px) {
  .wheel {
    width: 250px !important;
  }

  .cursor-text {
    line-height: 40px !important;
    font-size: 8px !important;
  }
}



#order_form {
  background: white;
  padding: 20px;
  max-width: 600px;
  font-family: Arial;
  margin: 20px;
  background-image: url("../images/formbg1.jpg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  margin: 0 auto;
}

#order_form div {
  background: transparent !important;
}

#order_form h2 {
  margin: 25px 0 0 0;
  padding: 0px;
  line-height: 32px;
  border: none;
}

#order_form label {
  width: auto;
  display: block;
  padding: 5px 0 5px 0;
  font-weight: bold;
  font-size: 16px;
}

#order_form label.vertical {
  border: none !important;
}

.device_info {
  font-size: 14px;
  color: green;
  display: block;
  margin: 10px 20px;
}

#order_form .order_form_pole {
  padding: 10px;
  margin: 10px;
  text-align: center;
}

#order_form input,
#order_form select {
  font-size: 21px;
  padding: 15px;
  border-radius: 3px;
  border: 2px solid #e9d7dc;
  max-width: 300px;
  width: 100%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}


#order_form .center {
  display: block;
  margin: 0 auto;
  text-align: center;
}

#order_form button,
.obutton {
  display: block;
  margin: 0 auto;
  padding: 20px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  -webkit-box-shadow: 0 4px 15px 0 rgba(129, 150, 160, 0.45);
  box-shadow: 0 4px 15px 0 rgba(129, 150, 160, 0.45);
  border-radius: 5px;
  background-color: #0299ff;
  background-position: 1.35em .94em;
  background-size: 1em;
  background-repeat: no-repeat;
  -webkit-transition: all .15s ease-in-out;
  -o-transition: all .15s ease-in-out;
  transition: all .15s ease-in-out;
  border: none;
  cursor: pointer;
  font-size: 20px;
  margin-top: 20px;
  max-width: 300px;
  width: 100%;
}

#order_form button:hover,
.obutton:hover {
  background-color: #017ACC;
}

#order_form button:active {
  position: relative;
  top: 1px;
}

.order_info h2 {
  border: none !important;
  color: red !important;
}

.left_count {
  background: red;
  padding: 23px;
  margin: 12px 0px;
  width: 178px;
  color: #fff;
  text-shadow: 0 -1px 0 #000000, 0 -1px 0 #000000, 0 1px 0 #000000, 0 1px 0 #000000, -1px 0 0 #000000, 1px 0 0 #000000, -1px 0 0 #000000, 1px 0 0 #000000, -1px -1px 0 #000000, 1px -1px 0 #000000, -1px 1px 0 #000000, 1px 1px 0 #000000, -1px -1px 0 #000000, 1px -1px 0 #000000, -1px 1px 0 #000000, 1px 1px 0 #000000;
  font-size: 32px !important;
  border-radius: 5px;
}

.left_count .prod_left_val {
  font-size: 52px !important;
}

#order_form_success {
  position: relative;
}

@media screen and (max-width: 480px) {
  #order_form label {
    font-size: 14px;
  }

  #order_form button {
    font-size: 16px;
  }

  #order_form {
    padding: 10px;
  }

  #order_form .order_form_pole {
    padding: 0px;
    margin: 2px;
  }
}

@media screen and (max-width: 459px) {
  #order_form input,
  #order_form select,
  #order_form button {
    width: 80%;
  }

  #footer img {
    width: 100%;
  }
  .close-popup {
    right: -5px;
  }
}

@media screen and (max-width: 349px) {
  #order_form input,
  #order_form select {
    font-size: 17px;
    top: 10%;
  }

  .pop-up-heading {
    font-size: 16px;
  }
}