@media screen and (min-width: 1620px) {
    
    .wrapper {
        width: 1280px;
    }
    
    #header aside, #content aside {
        width: 360px;
    }
    
    #header-content-info {
        margin: 5px 0 0 440px;
    }
    
    #menu ul {
        float: left;
    }
    
    #langs, #l2top-top {
        width: 360px;
    }
    
    #l2top-btn-top {
        margin: 0 auto;
    }
    
    #langs a:first-child {
        margin-left: 134px;
    }
    
    #content section {
        width: 900px;
    }
    
    .news img {
        margin: 0 auto;
        display: block;
    }
    
    #more-btn {
        float: right;
    }
    
    #footer-info, #footer-payments {
        width: 500px;
    }
    
    #wdg {
        width: 320px;
    }
    
    iframe#vkwidget1 {
        width: 320px;
    }
    
    #bonus-info {
        left: 360px;
    }
    
}

@media screen and (min-width: 980px) and (max-width: 1620px) {
    
    .news img {
        margin-left: -20px;
    }
    
}

@media screen and (max-width: 980px) {
    
    .wrapper {
        width: 100%;
    }
    
    #action-block {
        width: auto;
        height: auto;
        line-height: 24px;
        padding: 10px;
    }
    
    #action-block a:hover {
        color: #a6eb4b;
    }

    #action-block a:after {
        content: none;
    }
    
    #menu {
        height: auto;
        padding: 10px;
    }
    
    #menu ul {
        line-height: 20px;
        float: none;
        display: table;
        padding: 0;
        margin: 0 auto;
    }

    #menu ul a {
        padding: 0 10px;
    }

    #menu ul a:hover {
        background: none;
    }

    #menu ul a:after {
        content: none;
    }
    
    #l2top-top {
        float: none;
        width: 88px;
        margin: 0 auto 5px;
        padding-top: 0;
    }

    #langs {
        float: none;
        width: 82px;
        margin: 0 auto 5px;
        padding-top: 0;
    }
    
    #langs:after {
        content: '';
        display: table;
        clear: both;
    }

    #langs a {
        margin-left: 10px;
    }
    
    #langs a:first-child {
        margin-left: 0;
    }
    
    #header aside {
        width: auto;
        height: 500px;
        padding: 20px;
    }
    
    #header-content {
        padding: 10px 0 0 10px;
    }

    #header-content-info {
        width: auto;
        margin: 0;
    }
    
    #content aside {
        float: none;
        width: auto;
        padding: 0 20px;
    }

    #content section {
        float: none;
        width: auto;
        margin-left: 0;
        padding: 0 20px;
    }
    
    .news:first-of-type {
        margin-top: 10px;
    }
    
    .news img {
        display: block;
        margin: 0 auto;
    }
    
    a.download-btn, a.reg-btn, a.more-btn {
        width: auto;
        height: auto;
        line-height: 18px;
        padding: 5px 10px;
    }
    
    a.more-btn {
        float: right;
    }
    
    #footer {
        height: auto;
    }

    #footer-info {
        width: auto;
        float: none;
        padding: 50px 20px 20px;
        text-align: center;
    }

    #footer-logo {
        width: auto;
        float: none;
        padding: 15px;

    }
    
    a#logo-flat-mini {
        margin: 0 auto;
    }

    #footer-payments {
        width: auto;
        float: none;
        padding: 15px;
    }
    
    a#payments {
        margin: 0 auto;
        float: none;
    }
    
    #bonus-info {
        display: none;
    }

}

@media screen and (max-width: 720px) {
    
    #header {
        background: #5A789A url(../images/header.jpg) center bottom no-repeat;
        height: auto;
    }
    
    #menu ul {
        line-height: 24px;
    }

    #menu ul a {
        padding: 0 5px;
    }
    
    #header aside {
        width: auto;
        height: auto; 
        padding: 20px;
        float: none;
        background: #5D8097;
    }
    
    #header-content {
        width: auto;
        height: auto;
        padding: 10px;
        float: none;
    }
    
    #l2top {
        width: 88px;
        height: 31px;
    }

    #header-content-info {
        width: auto;
        margin: 0;
        padding: 20px 0;
    }
    
    #logo {
        margin: 10px auto;
    }
    
    #server-open {
        color: #fff;
        text-shadow: 0 1px 0 rgba(0, 0, 0, .5);
    }
    
    .news img {
        width: 100%;
    }
    
}

@media screen and (max-width: 580px) {
    
    #logo {
        background: url(../images/logo-mini.png) no-repeat;
        width: 230px;
        height: 126px;
        margin: 50px auto;
    }
    
    a.download-btn, a.reg-btn, a.more-btn {
        margin: 5px auto;
        float: none;
    }
    
    a#forum-btn {
        width: 220px;
        font-size: 14px;
    }
    
    a#forum-btn:after {
        width: 220px;
    }
    
    a#forum-btn i {
        margin: 7px 10px 0 19px;
    }
    
    .news-headline {
        padding: 20px 20px;
        line-height: 24px;
    }
    
    #wdg {
        width: 240px;
    }
    
    iframe#vkwidget1 {
        width: 240px;
    }

}