body,
html {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    font-family: 'Roboto', Tahoma;
    font-size: 18px;
    color: #000;
    background-color: #f4f7fa
}

.bottom-text {
    text-align: center;
    font-style: italic;
    margin-top: 20px
}

#top_xs {
    padding-top: 5px;
    display: none;
    height: 80px;
    background-repeat: no-repeat;
    background-position: top right
}

#head_title:before {
    display: block;
    content: '';
    top: 0;
    left: 0;
    position: absolute;
    z-index: 1;
    background: linear-gradient(to bottom, #000 0, #000 100%);
    background: linear-gradient(to bottom, transparent 0, #000 100%)
}

#bodyWrapper {
    max-width: 1000px;
    margin: 0 auto;
    background: #fff;
    box-shadow: 1px 1px 10px 0 rgba(0, 0, 0, .5);
    -webkit-box-shadow: 1px 1px 10px 0 rgba(0, 0, 0, .5);
    -moz-box-shadow: 1px 1px 10px 0 rgba(0, 0, 0, .5)
}

#head_title:before,
#mainWrapper {
    width: 100%;
    height: 100%
}

#mainWrapper div {
    background-color: #fff
}

#wrapper {
    margin: 0 auto
}

#content {
    padding: 0;
    text-align: left
}

#content img {
    max-width: 100%;
    display: block;
    margin: 20px 0
}

.logo_blank {
    max-width: 100px !important;
    width: 100%
}

#content p,
.pg {
    font-size: 18px;
    line-height: 29px
}

.pg {
    margin: 1em
}

#content .date {
    display: inline-block;
    color: #a3b0b9;
    font-size: 13px
}

#content h1,
#content ul {
    font-weight: 500;
    font-size: 28px;
    line-height: 36px
}

#content h2 {
    font-size: 28px;
    border-bottom: 1px dotted #000
}

#content blockquote,
#content h3 {
    font-size: 20px;
    line-height: 30px
}

#content ul li span {
    display: block;
    font-size: 16px;
    color: gray;
    font-weight: 400;
    line-height: 20px
}

.glava {
    list-style-image: url(../img/qtick.png)
}

#content ul li,
.glava li {
    margin-bottom: 20px
}

.note,
.note_left {
    font-weight: 500 !important;
    font-size: 18px !important
}

#content ul {
    font-size: 22px;
    line-height: 28px
}

#content blockquote {
    border-left: 5px solid;
    border-color: #39b4ff;
    color: #39b4ff;
    font-weight: 700;
    padding: 10px 15px;
    margin: 35px 15px
}

#comments {
    margin-top: 80px
}

#comments .pg {
    margin-top: 25px;
    font-size: 14px;
    line-height: 1.6
}

#comments h2 {
    background: url(../img/comentsm.jpg) no-repeat;
    padding-left: 40px;
    color: #000;
    border-bottom: 0 solid;
    border-color: #000;
    text-transform: uppercase;
    padding-bottom: 10px
}

#comments .item {
    text-align: left;
    padding: 10px;
    margin: 10px 0;
    min-height: 80px;
    border-bottom: 1px dashed #05519d
}

#comments .item::after {
    content: "";
    display: block;
    clear: both
}

#comments .item :last-child {
    border-bottom: none
}

#comments .item .name,
#order_form label {
    display: block;
    font-weight: 700;
    font-size: 16px
}

#comments .item .name {
    padding-top: 15px;
    color: #05519d
}

#comments .coment_ava {
    float: left;
    margin-right: 15px
}

#comments .coment_ava img {
    margin: 0;
    width: 50px;
    height: 50px;
    border-radius: 5px
}

#comments .date {
    font-weight: 400;
    background: 0 0
}

#head_title {
    background-image: url(../img/main.jpg);
    background-size: cover;
    background-position: center;
    height: 300px;
    position: relative;
    padding: 15px
}

.note,
.note_left {
    float: none;
    max-width: 100%
}

.mainLogo {
    max-width: 400px
}

.pg {
    margin-left: 0;
    margin-right: 0
}

#content .padWrap {
    padding: 8px
}

#top {
    background-position: top center
}

#wrapper {
    max-width: 1000px
}

#content,
#footer img {
    width: 100%
}

#topwrap {
    max-width: 1000px
}

.toplogo {
    padding: 15px
}

#order_form {
    background: #fff;
    max-width: 600px;
    font-family: Arial;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    margin: 0 auto;
    padding: 10px
}

#order_form div {
    background: 0 0 !important
}

#order_form h2 {
    margin: 25px 0 0;
    padding: 0;
    line-height: 32px;
    border: 0
}

#order_form label {
    width: auto;
    padding: 5px 0
}

#order_form .order_form_pole {
    text-align: center;
    padding: 0;
    margin: 2px
}

#order_form input,
#order_form select {
    font-size: 21px;
    padding: 15px;
    border-radius: 3px;
    border: 2px solid #e9d7dc;
    max-width: 300px;
    width: 100%
}

#order_form select {
    max-width: 334px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 90.5%;
    height: 53px;

    background-image: url("../img/sel.png");
background-position: 96% center;
background-repeat: no-repeat;
}

#order_form span {
    font-size: 12px
}

#order_form button,
.obutton {
    display: block;
    max-width: 320px;
    padding: 20px;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 15px 0 rgba(129, 150, 160, .45);
    border-radius: 5px;
    background-color: #0299ff;
    background-position: 1.35em .94em;
    background-size: 1em;
    background-repeat: no-repeat;
    transition: all .15s ease-in-out;
    border: 0;
    cursor: pointer;
    margin: 20px auto 0;
    font-size: 16px
}

.obutton {
    font-size: 20px
}

#order_form button:hover,
.obutton:hover {
    background-color: #017acc
}

.order_info h2 {
    border: 0 !important;
    color: red !important
}

.timelimit b {
    display: inline-block;
    padding-left: 14px;
    color: red;
    vertical-align: middle;
    background-position-y: 5px
}

.order_block,
.pop-up-window,
.spin-wrapper {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1em
}

.wheel img {
    max-width: 100%;
    margin: 0 !important
}

.ruletka-p {
    text-indent: 0;
    color: #000;
    text-align: center;
    margin: 15px;
    line-height: 25px;
    font-weight: 700
}

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

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

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

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

.wheel-img {
    transition: 4s
}

.cursor-text,
.wheel-cursor {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%)
}

.wheel-cursor {
    width: 35% !important;
    height: 35%;
    top: 50%;
    background: 0 0 !important
}

.cursor-text {
    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%;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    box-shadow: #fff 0 -2px 0 inset, #fff 0 2px 0 inset, rgba(0, 0, 0, .4) 0 0 5px;
    background: #fff
}

.order_block {
    display: none
}

.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, .6) !important;
    text-align: center
}

.close-popup {
    position: absolute;
    width: 30px;
    height: 30px;
    background-size: 100%;
    top: -40px;
    border-radius: 50%;
    box-shadow: 0 0 10px #fff;
    right: -40px;
    cursor: pointer
}

.close-popup::after,
.close-popup::before {
    content: '';
    display: block;
    width: 15px;
    height: 2px;
    background-color: #000;
    position: absolute;
    top: 50%;
    left: 50%
}

.close-popup::before {
    transform: translate(-50%, -50%) rotate(45deg)
}

.close-popup::after {
    transform: translate(-50%, -50%) rotate(-45deg)
}

.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: #fff !important;
    border: medium;
    cursor: pointer;
    outline: medium
}

.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
}

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

.pop-up-window {
    position: relative;
    max-width: 400px;
    right: 0;
    left: 0;
    top: 25%;
    margin: 0 auto;
    background: #fff 0 0;
    text-align: center;
    padding: 70px 10px 20px;
    border-radius: 10px;
    -webkit-animation: .7s ease 0 normal none 1 running pop-up-appear;
    animation: .7s ease 0 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: .5s ease .6s normal backwards 1 running pop-up-appear-before;
    animation: .5s ease .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;
    transform: rotate(-45deg);
    transition: opacity 1s ease 0;
    -webkit-animation: .5s ease .6s normal backwards 1 running pop-up-appear-after;
    animation: .5s ease .6s normal backwards 1 running pop-up-appear-after
}

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

@media (max-width:991px) {
    /*#comments .item:nth-last-child(n+10) {
        display: none
    }*/

    .toplogo {
        text-align: center
    }
}

@media screen and (max-width:780px) {
    #head_title {
        background-image: url(../img/main.jpg);
        background-size: cover;
        height: 250px;
        position: relative;
        padding: 15px
    }
}

@media screen and (max-width:660px) {
    #head_title {
        background-image: url(../img/main.jpg);
        background-size: cover;
        background-repeat: no-repeat;
        height: 170px;
        position: relative;
        padding: 15px
    }
}

@media screen and (max-width:590px) {
    .mainLogo {
        max-width: 300px
    }
}

@media screen and (max-width:560px) {
    #head_title {
        background-image: url(../img/main.jpg);
        background-size: cover;
        height: 170px;
        position: relative;
        padding: 15px
    }
}

@media screen and (max-width:520px) {
    #head_title {
        background-image: url(../img/main.jpg);
        background-size: cover;
        height: 170px;
        position: relative;
        padding: 15px
    }
}

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

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

    .close-popup {
        right: 0
    }
}

@media screen and (max-width:480px) {
    #content h1 {
        font-size: 20px;
        line-height: 28px
    }

    #order_form label {
        font-size: 14px
    }
}

@media screen and (max-width:459px) {
    #order_form input {
        width: 80%
    }
}

@media screen and (max-width:349px) {
    #order_form input {
        font-size: 17px
    }
}

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

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

@media screen and (max-width:310px) {
    .mainLogo {
        display: none
    }
}

@-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)
    }
  }