footer {
    padding: 10px 0;
}

.highslide-b {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    padding: 0 30px;
}

.highslide-b a {
    margin-left: 0px !important;
    display: block;
    margin-bottom: 5px;
    margin-right: 2px;
}

.highslide-b a img {
    width: calc(300px - 10px);
    margin-top: 0px !important;
}

.m_td4 {
    margin-left: 20px;
}

.top_menu {
    margin-left: 0px !important;
}

@media (max-width: 1200px) {
    .assembly-box-training {
        width: 100% !important;
    }

    .roulette-b {
        width: 100% !important;
    }

    .roulette-b .cs-roulette img {
        width: 280px !important;
    }

    .assembly-box-roulette .box-desript4 {
        width: 100% !important;
    }

    .box-desript-roulette {
        width: 100% !important;

    }

    .box-desript4-roulette {
        width: 100% !important;

    }

    .assembly-box-roulette {
        width: 100% !important;

    }

    .assembly-box-comment {
        display: block !important;
    }

    .center {

        padding: 0 15px;
        max-width: 100%;
    }

    footer {
        height: auto;
        max-height: 190px !important;
        overflow: hidden;
    }

    .main {
        min-width: auto;
        max-width: 960px;
        margin: 0 auto;

    }

    header {
        min-width: auto;
        max-width: 100%;
    }

    /*.container{*/
    /*min-width: 960px;*/
    /*}*/
    .content-wrap {
        padding: 30px 0px 0px 0px;
    }

    .menu-wrap {

    }

    .menu-box {
        width: 100%;
        margin-left: 0px;
        float: none;
    }

    .box-desript4 {
        margin: 0 0 0 270px;
        width: 660px;
    }

    .box-desript {
        margin: 0 0 0 270px;
        width: 660px;
    }

    .m_td4 {
        margin-left: 0px !important;
    }

    .assembly-cell {
        width: 300px !important;
	margin-right:15px;
    }

    .assembly-cell .img {
        width: 100% !important;

    }

    .assembly-cell .img img {
        width: 100% !important;
    }

    .assembly-cell .btn-line {
        margin-top: 20px !important;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;

    }

    .assembly-cell .btn-line .btn.tor {
        margin-left: 0px !important;
    }

    .assembly-box > div {
        margin-left: 0px !important;
        display: flex;
        flex-wrap: wrap;
    }

    .box-desript5 {
        margin: -15px 0 -15px 270px;
        width: 660px;
    }

    .assembly-box {
        width: 660px;
        margin: 0 0 10px 0px !important;

    }

    .box-desript4 .item_scope td {
        width: auto !important
    }

    .top_menu2 {
        width: auto !important;
        height: auto;
        font-size: 14px;
    }

    .top_menu {
        width: auto !important;
        height: auto;
        font-size: 14px;
    }

    .item_scope {
        margin-left: 0px !important;
    }

    .box-desript5 {

    }

    .recommeded_table a {
        display: block;
        margin: 0 10px;
    }

    .recommeded_table a > div > div {
        height: auto !important;
    }

    .recommeded_table a > div {
        /*width: auto !important*/
        margin-bottom: 10px;

    }

    .recommeded_table tr {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-around;
    }

    .m_td4 {
        height: auto;

    }

    .m_td4 .btn-line {
        display: flex;
        align-items: flex-start;
        justify-content: center;
        flex-wrap: wrap;
    }

    .articles-b-p {
        width: 100% !important;
        margin-left: 0px !important;
        padding: 15px;
    }

    .assembly-box-training #addfomz {
        width: 100%;
    }

    .assembly-box-training-b {
        display: block !important;
    }

    .box-desript-full {
        width: 100% !important;
    }

    .training-b {
        margin-left: auto !important;
        margin-right: auto !important;
        margin: 0 auto !important;
    }

    .box-desript-comment-right {
        margin: 0 0 0 270px;
        width: 660px !important;
    }

    .aside {
        width: 600px;
    }

    .btn-line-sborki {
        margin-left: auto !important;
        width: 100% !important;
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        justify-content: center;
    }

    .md-center {
        display: block;
        width: 100%;
    }

    .yashare-auto-init-b {
        margin-top: 20px;
    }

    .replay-b {
        right: -50px;
        bottom: 0px;
    }

    .comment-b{
        position: relative;
    }
    .comment-b table {
        width: 100% !important;
    }
}

@media (max-width: 991px) {
    aside {
        width: 100%;
    }

    .aside {
        width: 100%;
    }

    .box-desript-comment-right {
        margin: 0 0 0 0px;
        width: 100% !important;
    }

    .highslide-b {
        justify-content: space-around;
    }

    .recommeded_table a > div {
        margin-bottom: 10px !important;
    }

    .top_menu {
        padding: 8px;
    }

    .menu-wrap {
        width: 100%;
        float: none;

    }

    .box-desript {
        width: 100%;
        float: none;
        margin-left: 0px;
    }

    .menu-box {
        width: 100%;
        margin: 0px;

    }

    .box-desript4 {
        width: 100%;
        margin: 0px;
        height: auto;
        line-height: inherit;
        /*float: left;*/
        margin-top: 15px;

    }

    .box-desript5 {
        width: 100%;
        margin: 0px;

    }

    .assembly-box {
        width: 100%;

    }

    nav .nav {
        display: flex;
        flex-direction: column;
    }

    nav .nav li {
        margin-bottom: 15px;
    }

    .board {
        position: absolute;
        right: 15px;
        top: 15px;
    }

    .logo {
        margin-top: 60px;
    }

    .assembly-box > div {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    .aside > div {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .ulogin-buttons-container{
        width: 100%!important;
    }
    .replay-b {
        right: 10px;
        bottom: 0px;
    }
    .aside-popup-link {
        margin: 0px !important;
    }

    .aside.popup-link a img {
        width: 100%;

    }

    .cs-roulette-block {
        width: 100% !important;
        padding: 0 15px !important;
    }

    .assembly-box-comment table {
        width: 100%;
    }

    .assembly-box-comment table tr {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .assembly-box-comment table td {
        text-align: left !important;
        width: 100% !important;
    }

    #enter {
        float: left;
    }

    .new_img {
        width: 95%;
    }

    .box-desript4 tr {
        display: flex;
        flex-direction: column;
    }

    .box-desript4 tr .top_menu {
        margin-left: 0px !important;
	margin-bottom:10px;

    }

    .box-desript4 tr .top_menu2 {
        margin-left: 0px !important;
	margin-bottom:10px;

    }

    .board {
        background: #191919;
        color: #fff;
    }

    .board .title {
        color: #fff;

    }

    .yt_frame {
        width: calc(100% - 30px) !important;
        margin: 0 auto;
        /*padding: 0 15px;*/
    }

    h2 {
        line-height: normal;
    }
}

@media (max-width: 576px) {

    .front_text {
        padding: 15px;
    }

    .front_text1 {
    }

    .front_text2 {
        padding-left: 15px;
    }

    .front_text3 {
        padding-left: 40px;
        font-size: 16px;
    }

    .front_text4 {
        padding-left: 15px;

    }

    .front_text5 {
        padding: 15px;
    }

    .front_text6 {
        padding-left: 30px;

    }

    .content {
        margin-top: 420px;
        position: relative;
    }

    .center {
        min-width: auto;
    }

    header {
        background-size: cover;
        height: 411px;
    }

    .logo {
        position: absolute;
        bottom: 40px;
        margin-top: 0px;
        font: 12px 'Roboto-Medium', Arial;
        display: flex;
        align-items: center;
    }

    .logo h6 {
        font-size: 22px;
    }

    .logo h6 a {
        font: 22px 'Roboto-Bold-Condensed', Arial;

    }

    .logo p {
        font-size: 12px;
        display: flex;
        width: 130px;
    }

    .board {
        width: 260px;
        top: 170px;
    }

}

@media (max-width: 550px) {
    .btn-line-sborki a img {
        margin-right: 0px !important;
    }
}

@media (max-width: 480px) {
    .assembly-box-comment table #textz {
        width: 100%;
    }
}

@media (max-width: 380px) {
    .highslide-b a img {
        width: 100%;
    }

}