.close-popup,
.cursor-text {
  cursor: pointer;
  position: absolute;
}
.cursor-text,
.pop-up-window,
.spin-result-wrapper,
.spin-wrapper,
.rulet-wrapper {
  text-align: center;
}

.order_block,
.spin-wrapper {
  max-width: 600px !important;
  margin: 20px auto !important;
}

.btn_rulet {
  display: block !important;
  margin: 40px auto !important;
  padding: 20px !important;
  font-size: 20px !important;
  text-decoration: none !important;
  background-color: #de0606 !important;
  text-align: center !important;
  color: #fff !important;
  border-radius: 4px !important;
  border: none !important;
  cursor: pointer !important;
}

.rulet_input {
  -webkit-writing-mode: horizontal-tb !important;
  text-rendering: auto !important;
  color: -internal-light-dark(black, white) !important;
  letter-spacing: normal !important;
  word-spacing: normal !important;
  text-transform: none !important;
  text-indent: 0px !important;
  text-shadow: none !important;
  display: inline-block !important;
  text-align: start !important;
  appearance: textfield !important;
  background-color: -internal-light-dark(
    rgb(255, 255, 255),
    rgb(59, 59, 59)
  ) !important;
  -webkit-rtl-ordering: logical !important;
  cursor: text !important;

  padding: 10px !important;
  display: block !important;
  margin: 0 auto 20px !important;
  padding: 10px !important;
  width: 90% !important;
  border: 2px solid grey !important;
  border-radius: 5px !important;
      text-transform: uppercase !important;
}

.spin-title {
  font-size: 20px !important;
}

.spin-result-wrapper {
  font-family: Arial, Sans-Serif;
}

.spin-wrapper {
  -webkit-box-shadow: 0 0 10px;
  box-shadow: 0 0 10px;
  border: 3px solid red;
  padding: 20px 10px;
  border-radius: 10px;
  box-sizing: border-box;
}
.spin-wrapper p {
  text-align: center;
  font-size: 21px !important;
  line-height: 1.4 !important;
  margin-bottom: 15px;
}
.rulet {
  width: 380px !important;
  margin: 0 auto;
  position: relative;
}
.rulet-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 {
  font-size: 14px;
  z-index: 2;
  display: inline-block;
  width: 45% !important;
  height: 45%;
  line-height: 61px;
  border-radius: 50%;
  vertical-align: middle;
  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: rgba(255, 255, 255, 1) 0 -2px 0 inset,
    rgba(255, 255, 255, 1) 0 2px 0 inset, rgba(0, 0, 0, 0.4) 0 0 5px;
  box-shadow: rgba(255, 255, 255, 1) 0 -2px 0 inset,
    rgba(255, 255, 255, 1) 0 2px 0 inset, rgba(0, 0, 0, 0.4) 0 0 5px;
  background: #fff;
  background: -webkit-gradient(
    radial,
    center center,
    0,
    center center,
    100%,
    color-stop(0, rgba(255, 255, 255, 1)),
    color-stop(100%, rgba(234, 234, 234, 1))
  );
  background: -webkit-radial-gradient(
    center,
    ellipse cover,
    rgba(255, 255, 255, 1) 0,
    rgba(234, 234, 234, 1) 100%
  );
  background: -o-radial-gradient(
    center,
    ellipse cover,
    rgba(255, 255, 255, 1) 0,
    rgba(234, 234, 234, 1) 100%
  );
  background: -webkit-radial-gradient(
    center,
    ellipse,
    rgba(255, 255, 255, 1) 0,
    rgba(234, 234, 234, 1) 100%
  );
  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);
}
.rulet-img {
  -webkit-transition: 4s;
  -o-transition: 4s;
  transition: 4s;
}
.close-popup {
  width: 30px;
  background: #ccc;
  height: 30px;
  background-image: url("../img/cross.svg");
  background-size: 100%;
  top: -40px;
  border-radius: 50%;
  right: -40px;
}
.cursor-text:active {
  -webkit-box-shadow: rgba(0, 0, 0, 0.4) 0 0 5px inset;
  box-shadow: rgba(0, 0, 0, 0.4) 0 0 5px inset;
}
.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);
}
.pop-up-layer {
  position: fixed !important;
  top: 0 !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: 0;
  left: 0;
  top: 30%;
  margin: 0 auto !important;
  background: #fff;
  padding: 70px 10px 20px !important;
  border-radius: 10px;
  animation: 0.7s ease 0s normal none 1 running pop-up-appear;
}
.pop-up-window::after,
.pop-up-window::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
}
.pop-up-window::before {
  width: 110px;
  height: 110px;
  top: -55px;
  background-color: #71c341;
  border-radius: 50%;
  animation: 0.5s ease 0.6s normal backwards 1 running pop-up-appear-before;
}
.pop-up-window::after {
  width: 50px;
  height: 20px;
  top: -20px;
  border-width: medium medium 4px 4px;
  border-style: none none solid solid;
  border-color: currentcolor currentcolor #fff #fff;
  -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;
}
@keyframes pop-up-appear {
  0% {
    transform: translateY(-2000px);
  }
  30% {
    transform: translateY(100px);
  }
  100% {
    transform: translateY(0);
  }
}
@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-heading {
  font-size: 40px !important;
  margin-bottom: 20px !important;
}
.pop-up-text {
  margin-bottom: 25px !important;
  font-size: 24px !important;
  line-height: 30px !important;
  text-align: center !important;
  color: #414141 !important;
  font-weight: 400;
}
.pop-up-button,
.pop-up-button:hover {
  color: #fff !important;
  text-decoration: none !important;
}
.pop-up-button {
  text-transform: uppercase !important;
  padding: 10px 20% !important;
  font-size: 20px !important;
  border-radius: 5px !important;
  background-color: #71c341 !important;
  border: none !important;
  cursor: pointer !important;
  outline: 0 !important;
}
.rulet img {
  max-width: 100%;
}

.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(1783deg);
    transform: rotate(1783deg);
  }
  100% {
    -webkit-transform: rotate(1774deg);
    transform: rotate(1774deg);
  }
}
@keyframes super-rotation {
  70% {
    -webkit-transform: rotate(1783deg);
    transform: rotate(1783deg);
  }
  100% {
    -webkit-transform: rotate(1774deg);
    transform: rotate(1774deg);
  }
}
.time_remains {
  font-size: 1.1em;
  color: red;
  font-weight: 700;
}
.time_remains_title {
  padding-top: 15px;
  text-align: center;
  font-size: 22px;
}

.order_form {
  display: block !important;
  margin: 0 auto !important;
  text-align: center !important;
}

.order_block__time {
  color: red;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
}

/*Change order_block layout*/

.order_block {
  margin: 0 auto;
  width: 100%;

  text-align: center;
}

.prod_img_wrapper {
  float: none;
  margin-right: 10%;
}

.prod_img_wrapper {
  max-width: 100%;
  margin: 15px auto;
  position: relative;
}
.prod_img {
  max-width: 100%;
  max-height: 300px;
}
.priceс {
  position: absolute;
  font-family: "Arial", sans-serif;
  left: 32px;
  top: -35px;
  padding: 10px 15px;
  color: #000;
  box-shadow: rgba(0, 0, 0, 0.8) 0px 3px 30px;

  text-align: center !important;
  font-size: 19px;
  font-weight: bold;
  line-height: 1.3;
  transform: rotateZ(-7deg);
  margin: -0px auto 0px;
  background: linear-gradient(
    to right,
    rgb(238, 165, 19) 0%,
    rgb(253, 237, 19) 100%
  );
  border-width: 2px;
  border-style: solid;
  border-color: rgb(255, 255, 255);
  border-image: initial;
  border-radius: 19%;
}
span.discountс {
  display: block;
  margin-top: 9px;
  font-size: 18px;
}
.price_main {
  border-bottom: 2px solid #d31812;
  font-size: 24px;
  line-height: 15px;
  margin: 0 auto;
}
.js_old_price {
  display: block;
  margin: 0 auto;
}

.data_label {
  line-height: 30px;
  font-family: Arial, Sans-Serif;
  font-size: 14px;
}

@media all and (max-width: 520px) {
  .rulet {
    width: 240px !important;
  }
  .pop-up-heading {
    font-size: 33px !important;
  }
  .pop-up-text {
    margin-bottom: 15px !important;
  }
  .cursor-text {
    line-height: 40px;
    font-size: 12px;
  }
  .close-popup {
    position: absolute;
    width: 30px;
    height: 30px;
    background-size: 100%;
    top: -40px;
    border-radius: 50%;
    -webkit-box-shadow: 0 0 10px #fff;
    box-shadow: 0 0 10px #fff;
    right: -10px;
    cursor: pointer;
  }
}

.order__text {
  padding: 5px;
  font-size: 22px;
}

@media (max-width: 600px) {
  .form,
  .prod_img_wrapper {
    display: block;
  }
  .prod_img_wrapper {
    float: none;
    margin: 0 auto;
  }

  .form {
    padding-top: 0;
    min-width: auto;
  }
  .pricec {
  }
  .form__input {
    padding: 5px 15px;
    min-height: 40px;
    font-size: 14px;
  }
}

@media (max-width: 755px) {
  .priceс {
    left: 0;
    box-shadow: rgba(0, 0, 0, 0.8) 0px 3px 6px;
  }
}

@media (max-width: 600px) {
  .priceс {
    top: 0;
  }
}

@media (max-width: 455px) {
  .priceс {
    left: 25px;
  }
}

@media (max-width: 400px) {
  .order_block__time {
    margin-bottom: 10px;
  }
  .priceс {
    font-size: 14px;
    padding: 5px;
  }
  .price_main {
    font-size: 18px;
  }
}

select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  -webkit-writing-mode: horizontal-tb !important;
  text-rendering: auto !important;
  color: -internal-light-dark(black, white) !important;
  letter-spacing: normal !important;
  word-spacing: normal !important;
  text-transform: none !important;
  text-indent: 0px !important;
  text-shadow: none !important;
  display: inline-block !important;
  text-align: start !important;
  background-color: -internal-light-dark(
    rgb(255, 255, 255),
    rgb(59, 59, 59)
  ) !important;
  -webkit-rtl-ordering: logical !important;
  cursor: text !important;

  display: block !important;
  margin: 0 auto 20px !important;
  padding: 15px !important;
  width: 90% !important;
  border: 2px solid grey !important;
  border-radius: 5px !important;
}
