/*
* Prefixed by https://autoprefixer.github.io
* PostCSS: v8.4.14,
* Autoprefixer: v10.4.7
* Browsers: last 1 version
*/

.close-popup,
.cursor-text {
    cursor: pointer;
    position: absolute;
}

.cursor-text,
.pop-up-window,
.spin-result-wrapper,
.spin-wrapper,
.wheel-wrapper {
    text-align: center;
}

.spin-wrapper {
    box-shadow: 0 0 10px;
    border: 3px solid red;
    padding: 20px 10px;
    border-radius: 10px;
    box-sizing: border-box;
    margin: 0 auto;
    max-width: 700px;
}

.spin-wrapper p {
    text-align: center;
    font-size: 21px !important;
    line-height: 1.4 !important;
    margin-bottom: 15px;
}

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

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

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

.cursor-text {
    z-index: 2;
    display: inline-block;
    width: 45% !important;
    height: 45%;
    line-height: 61px;
    border-radius: 50%;
    vertical-align: middle;
    border: 1px solid #ccc;
    font-size: 14px;
    top: 49%;
    left: 50%;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    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: 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);
}

.wheel-img {
    transition: 4s;
}

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

.spin-result-wrapper {
    display: none;
    padding: 0 10px;
    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-window {
    position: relative;
    max-width: 400px;
    right: 0;
    left: 0;
    top: 40%;
    margin: 0 auto !important;
    background: #fff;
    padding: 70px 10px 20px !important;
    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::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%;
    -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 {
    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;
    -o-border-image: none;
    border-image: none;
    -webkit-transform: rotate(-45deg);
    transform: rotate(-45deg);
    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;
}

@-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(0);
        transform: translateY(0);
    }
}

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

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

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@-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-heading {
    font-size: 40px !important;
    margin-bottom: 20px !important;
    line-height: 1.3;
}

.pop-up-text {
    margin-bottom: 0px !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;
    display: block;
    max-width: 188px;
    margin: 20px auto 0;
    box-sizing: border-box;
}

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

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

    .pop-up-window {
        top: 30%;
    }

    .pop-up-heading {
        font-size: 33px !important;
    }

    .pop-up-text {
        margin-bottom: 15px !important;
    }

    .cursor-text {
        line-height: 45px;
        font-size: 10px;
        width: 50% !important;
        height: 50%;
    }
}

.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;
    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(1860deg);
        transform: rotate(1860deg);
    }

    100% {
        -webkit-transform: rotate(1867deg);
        transform: rotate(1867deg);
    }
}

.time_remains {
    font-size: 1.1em;
    color: red;
    font-weight: 700;
}

.order_block {
    font-family: "Arial", sans-serif;
    display: none;
}

.prod_img_wrapper {
    max-width: 250px;
    margin: 15px auto;
    position: relative;
}

.wheel_input {
    padding: 10px !important;
    display: block !important;
    margin: 0 auto 20px !important;
    padding: 10px !important;
    width: 100% !important;
    max-width: 500px;
    border: 2px solid grey !important;
    border-radius: 5px !important;
    box-sizing: border-box;
}

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

@media screen and (max-width: 480px) {
    .close-popup {
        right: -5px;
    }
}

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

.main-link:hover {
    opacity: 0.8;
    text-decoration: none;
}
.main-link:disabled{
    background-color: #f0a8a8;
  }

@media (max-width: 319px) {
    .wheel {
        width: 220px !important;
    }

    .cursor-text {
        font-size: 9px;
    }
}

.small__form-text {
    max-width: 80%;
    margin: 0 auto;
    font-size: 12px;
}
select::-ms-expand {
  display: none;
}
select {
  -webkit-appearance: none;
     -moz-appearance: none;
      -ms-appearance: none;
          appearance: none!important;
background-image: url(../img/select.svg);
  background-repeat:no-repeat;
  background-position: 96% 50%;
}
.prices {
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
}
.old-price {
    color: red;
    text-decoration: line-through;
}
.new-price {
    color: green;
}