@media only screen and (max-width:1599px) {
    #vid_material {
        width: calc(33.333% - 40px);
    }
    
        .glavnaia #allEntries #vid_material:nth-child(4) {
    display: none;
}
}

@media only screen and (max-width:1429px) {

    .hbm_left {
        width: 200px;
    }

    .hbm_left a {
        font-size: 20px;
    }

    .hbm_right ul li {
        margin: 10px 0px;
        margin-right: 20px;
        padding-right: 20px;
        border-right: 1px solid #dfecf5;
        width: calc(25% - 31px);
        text-align: center;
    }

    .hbm_right ul li:nth-child(4n) {
        border-right: 0px solid #dfecf5;
        margin-right: 0px;
        padding-right: 0px;
    }

    .osn_razmer,
    .osn_razmer_b {
        width: calc(100% - 40px);
    }

    .vm_block_full #allEntries {
        display: table;
        width: calc(100% + 20px);
        margin: -10px;
    }

    #vid_material {
        width: calc(33.333% - 20px);
        margin: 10px;
    }
    
    .vid_material {
    padding: 20px;
}

    .bm_40_auto {
        margin: 20px auto;
    }

    .fbhc_forum,
    .fbcr_theme {
        margin-right: 20px;
    }

    .fb_head {
        padding: 20px 0px 20px 80px;
    }
    
    .fbfc_logo {
    margin-right: 20px;
    width: 270px;
}
    
    .bm_40_auto {
        margin: 20px auto;
    }
    
    .bp_40 {
        padding: 20px;
    }
    
    .glavnaia #allEntries, .vm_block_full #allEntries {
    width: calc(100% + 20px);
    margin: -10px;
}
    
}

@media only screen and (max-width:1023px) {

.linkall a {
float:none;
padding:0px;
margin-bottom:10px;
}

    :hover {
        transform: translateY(0px) !important;
        box-shadow: none !important;
    }

    .vm_block_width {
        width: calc(100% - 40px);
        display: block;
        margin-left: 0px;
        padding: 20px;
    }

    .hbm_right {
        background-color: #fff;
        padding: 0px;
        margin: 20px auto;
        display: table;
        width: 100%;
    }

    .hbm_left {
        float: none;
        margin: 20px auto;
    }

    .leftb_social .uSocial-Share .uscl-bar.uscl-size32.uscl-absolute .uscl-slide-open {
        right: calc(100% - 50px);
        border-radius: 4px;
        width: 40px;
        height: 40px;
        bottom: 10px;
    }

    .leftb_social .uSocial-Share .uscl-slide-open:before {
        font-size: 20px !important;
        display: inline;
        line-height: 40px !important;
    }

    .h-profile:hover .hp-list,
    .vm_nument,
    .right_stick,
    .fbfc_contact,
    .fbhc_forum {
        display: none;
    }

    .osn_razmer,
    .osn_razmer_b {
        width: calc(100% - 40px);
    }

    .vm_block_full #allEntries {
        display: table;
        width: calc(100% + 20px);
        margin: -10px;
    }

    #vid_material {
        width: calc(50% - 20px);
        margin: 10px;
    }

    .vid_material {
        padding: 20px;
        overflow: hidden;
    }

    .bms_content tr {
        width: calc(25% - 20px);
    }
    
    .fb_head {
    padding: 20px 0px;
        background-image: none;
}
    
    .fbf_content {
            padding: 20px 0px;
    }
    
    .hbm_right ul li a.uMenuItemA {
    color: #e30013;
    padding: 0px 0px;
    transform: skewX(0deg);
    background-color: #fff;
    display: inline-block;
    margin: 0px 0px;
}
    
    .hbm_right ul li a.uMenuItemA span {
    transform: skewX(0deg);
    display: block;
}
    
    .fbfc_logo {
    margin-right: 20px;
    width: 270px;
}
    
    .fbfc_menu ul li {
    width: calc(50% - 15px);
}
    
        .fbfc_menu ul li:first-child {
    display: none;
}
    
}

@media only screen and (max-width:699px) {

.vm_shadow {display: none;}
        .hbh_left,
    .fbfc_menu,
    .fbhc_left span {
        display: none;
    }
    
    .hbh_right {
    float: none;
    display: table;
    margin: 0px auto;
}

    #vid_material {
        width: calc(100% - 20px);
    }

    .vid_material {
        height: auto;
    }

    .bms_content tr {
        width: calc(50% - 20px);
    }
    
    .hbm_right ul {
    list-style: none;
    margin: 0px;
    display: table;
    padding: 0px;
    border: 1px solid #dfecf5;
}
    
    .hbm_right ul li {
    margin: 10px 5px;
    width: calc(50% - 21px);
    line-height: 20px;
            padding-right: 10px;
    }
    
    .hbm_right ul li:nth-child(2n) {
    border-right: 0px solid #dfecf5;
    margin-right: 0px;
    padding-right: 0px;
}
    
    
.fbhc_left {
    float: none;
    margin: 0px auto;
    width: auto;
    text-align: center;
}
    
    .fbhc_right {
            float: none;
    margin: 0px auto;
    margin-top: 10px;
    }
    
        .fbf_content {
            padding: 20px;
    }
    
    .fbfc_logo {
    display: block;
    float: none;
    margin-right: 0px;
    width: auto;
}
}