/* -------- Media Queries -------- */

/*992-1200px*/
@media  screen and (max-width: 1200px) {
    .container_lg {
        max-width: 100%;
        width: 100%;
        padding: 0 20px;
    }
    .header_btn,
    .header_burger:after,
    .logo_bottom,
    .header_social {
        display: none !important;
    }
    .logo_top {
        width: 50px;
        height: 30px;
    }
    .icon_reg {
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #b12509;
        height: 24px;
        width: 24px;
        margin-right: 8px;
        border-radius: 50%;
    }
    .icon_reg svg {
        fill: #fff;
        width: 18px;
    }
    .category_wrap {
        width: 100%;
        padding: 0 15px;
    }
    .category_link:nth-child(1),
    .category_link:nth-child(2),
    .category_link:nth-child(3),
    .category_link:nth-child(4),
    .category_link:nth-child(5) {
        display: none;
    }
    .category_link--mod {
        margin: 0 15px 0 auto;
    }
    .category_title {
        display: none;
    }
    .game-search {
        width: 300px;
    }
    .category_game {
        text-decoration: none;
    }
    .category_game svg {
        width: 25px;
        height: 25px;
        margin: 0 10px 0 4px;
    }
    .category_game .st0 {
        fill: url(#SVGID_game-nav);
    }
    .category_game h3 {
        line-height: 18px;
        font-weight: 100;
        color: #ffb124;
        text-shadow: 0 0 15px rgba(255,177,36,.3);
        font-size: 14px;
        padding-top: 4px;
    }
    .game_item {
        width: calc((100% - 30px)/ 4);
        margin: 0 10px 10px 0;
    }
    .game_item:nth-child(4n + 4) {
        margin-right: 0;
    }
    .info_title {
        font-size: 28px;
        line-height: 30px;
    }
    .info_slider {
        min-height: 407px;
        width: calc(50% - 5px);
    }
    .info_wrap {
        order: 1;
        width: 100%;
        margin-top: 20px;
    }
    .info_post {
        width: calc(50% - 10px);
    }
    .info_post_wrap {
        margin-bottom: 2px;
        overflow: hidden;
    }
    .info_post_img {
        top: -15px;
    }
    .winnings {
        display: flex;
        flex-direction: column;
        height: 280px;
    }
    .winnings_title {
        top: 23px;
    }
    .winnings_img svg {
        width: 32%;
        height: auto;
    }
    .winnings_img img {
        width: 26%;
    }
    .winnings_cost {
        line-height: 70px;
    }
    .winnings:nth-child(1) {
        order: 0;
    }
    .winnings:nth-child(2) {
        order: 2;
    }
    .winnings:nth-child(3) {
        order: 1;
        background-color: #0C1019;
    }
    .winnings:nth-child(4) {
        order: 3;
    }
    .winnings:nth-child(3) .winnings_img img {
        width: 68%;
        height: auto;
    }
    .winnings:nth-child(3) .winnings_svg {
        opacity: 0.9;
    }
    .winnings:nth-child(3) .winnings_title {
        top: 37px;
        color: #ffb124;
    }
    .winnings:nth-child(2) .winnings_img svg {
        width: 25%;
    }
    .winnings:nth-child(2) .winnings_img img {
        width: 39%;
    }
    .winnings:nth-child(4) .winnings_img img {
        width: 49%;
    }
    .winnings:nth-child(4) #icon_thunder,
    .winnings:nth-child(4) #icon_thunder2 {
        width: 22%;
    }
    .winnings:nth-child(4) #icon_thunder2 {
        top: 43px;
    }
    .jack_title {
        font-size: 28px;
        line-height: 30px;
    }
    .jack_cost {
        font-size: 90px;
        line-height: 100px;
        margin-left: 128px;
    }
    .jack_symbol {
        font-size: 90px;
        top: 32px;
        left: 184px;
    }
    #it,
    #registr {
        display: none;
    }
    #official {
        padding: 100px 0 8px;
    }
}

/*769-991px*/
@media  screen and (max-width: 991px) {
    #slider {
        height: 320px;
    }
    #slider .swiper-pagination {
        bottom: 6px;
    }
    .game_item {
        width: calc((100% - 20px)/ 3);
        margin: 0 10px 10px 0;
    }
    .game_item:nth-child(4n + 4) {
        margin-right: 10px;
    }
    .game_item:nth-child(3n+3) {
        margin-right: 0;
    }
    .winnings {
        height: 26vw;
    }
    .winnings:nth-child(3) {
        overflow: hidden;
        border-radius: 15px;
    }
    .winnings:nth-child(3) .winnings_title {
        top: 13px;
    }
    .winnings:nth-child(3) .winnings_img {
        overflow: visible;
        top: -51px;
        left: 0;
        border-radius: 0;
    }
    .winnings:nth-child(3) .winnings_img img {
        width: 100%;
        left: -9px;
        top: 0;
        transform: translate(0);
    }
    .jack_symbol {
        font-size: 90px;
        top: 22px;
        left: 40px;
    }
    .jack_cost {
        letter-spacing: 10px;
    }
    #official {
        padding: 50px 0 8px;
    }

}

/*578-768px*/
@media  screen and (max-width: 768px) {
    header {
        padding: 4px 0;
    }
    .header_burger {
        margin-right: 12px;
    }
    .header_chat {
        width: 24px;
        padding-top: 5px;
    }
    #icon_chat {
        fill: #ffb124;
    }
    #slider {
        display: none;
    }
    #category {
        margin-top: 0;
        padding-top: 60px;
    }
    .info_title {
        display: none;
    }
    .header_link {
        display: block;
        margin-bottom: 10px;
    }
    .sliding_menu {
        height: 160px;
        top: -138px;
    }
    .sliding_menu_active {
        top: 38px;
        height: 160px;
    }
    .container_lg {
        padding: 0 10px;
    }
    .category_link--mod {
        margin: 23px 15px 0 0;
        height: 38px;
    }
    .game-search {
        padding-top: 23px;
    }
    .category_svg {
        width: 32px;
        height: auto;
        margin: 0 auto 0;
    }
    .game_item {
        width: calc((100% - 10px)/ 2);
    }
    .game_item:nth-child(2n + 2) {
        margin-right: 0;
    }
    .game_item:nth-child(4n + 4) {
        margin-left: 10px;
    }
    .game_item:nth-child(8n + 8) {
        margin-left: 0;
    }
    .game_item:nth-child(10n + 10) {
        margin-left: 10px;
    }
    .game_item:nth-child(12n + 12) {
        margin-left: 0;
    }
    .info_post {
        display: none;
    }
    .info_slider {
        width: 100%;
    }
    #info .swiper-slide {
        padding: 60px 0 20px;
    }
    .info_slider_title {
        top: 22px;
    }
    .winnings {
        width: 100%;
        height: 47vw;
    }
    .winnings:nth-child(3) {
        display: none;
    }
    .jack_title {
        font-size: 20px;
        line-height: 26px;
    }
    .jack_cost {
        font-size: 38px;
        line-height: 70px;
        margin-left: 80px;
    }
    .jack_symbol {
        font-size: 38px;
        top: 37px;
        left: 140px;
    }
    #official h2 {
        font-size: 14px;
    }
    .footer_link {
        text-align: center;
        margin-right: 0;
    }
    .category_game {
        width: 100%;
    }
}

/*320-577px*/
@media  screen and (max-width: 577px) {
    .game-search {
        width: 240px;
        max-width: 300px;
    }
    #info {
        padding: 50px 0 0;
    }
    .info_slider_title {
        top: 10px;
    }
    .winnings {
        height: 55vw;
    }
    .winnings_title {
        top: 9px;
    }
    .jack_cost {
        font-size: 30px;
        line-height: 38px;
        margin-left: 37px;
    }
    .jack_symbol {
        font-size: 30px;
        top: 25px;
        left: 26px;
    }
    #official h1 {
        font-size: 20px;
    }
    .jack_title {
        margin-bottom: 15px;
    }
    #official {
        padding: 20px 0 8px;
    }
    .info_slider,
    header,
    .sliding_menu,
    #category,
    #game,
    #info,
    #jack,
    #official,
    footer {
        overflow: hidden;
    }
    #official .official_img {
        max-width: 50px;
        width: 100%;
    }


}