#headerWrapper .navbar-collapse{display: none}


@media (max-width: 1024px){

    body {min-width: 0px; font-size: 100%;}
    body > img { display: none;}
    button { outline: none !important; }
    a, a:hover, a:active, a:focus {outline: none !important; /* Убираем границу вокруг ссылок  */}

    #topVideosWrapper{width:88%;margin:0 auto;}
    #mainWrapper {width:100%;}

    #leftFrame {padding: 0;}
    #rightFrame,
    .video_m{display: none;}
    #logo img {height: 40px;}

    .vids td {padding: 0 40px;}

    .vids img,
    .vidsPic img {max-width: 100%;width: 100%;height: auto !important;}
    .video-preview-pic-wrapper,
    .video-preview-pic-wrapper img {width: 100%;}
    #topvideos,
    #footer{width: 100%;}
    #topvideos .video_w{float: right;margin-right: 10px;}
    #UserLinks #UsersRank,
    #UserLinks #UsersVotepower,
    .SearchInput select{display: none;}
    #comments img{width:auto;max-width:100%;}

    .blog-text img{width:auto;max-width:100%;}


    /* page_blogs */
    .page_blogs #leftFrame{width: 100%; padding: 0 50px;}
    .page_blogs .vids td {padding: 0px;}

    /* Upload */
    #video_info{margin:0 auto;}
    #video_preview video {width:100%;max-width:none;}
    .page-upload .tit-upload,
    #fileinput-button{margin:0 0 0 10px;}


    /* personal */
    .mess-menu{float: none;width: auto;}
    .mess-act {margin-left: 0px;}

}






@media (max-width: 768px){
    #topVideosWrapper,
    #UserLinks,
    #SiteNav,
    #SiteSearch{display: none;}
    #logo {position: relative;top: 6px;left: 0;margin: 0 auto;}
    #headerWrapper{border-bottom: 1px solid #D5D5D5;}
    #headerWrapper > table td { height: 50px !important;}

    table, th, td{font-size:1.6rem;line-height:2rem;}

    #mainWrapper {width:100%;}

    #leftFrame2{padding:0;}

    #ad_yandex_h,
    #ad_yandex_h_onmain_center_1,
    #ad_yandex_h_onmain_center_2,
    #ad_yandex_vid_01{display:none}

    #ad_yandex_mob_onmain_center_1,
    #ad_yandex_mob_onmain_center_2,
    #ad_yandex_mob_top{display:block}

    #mobile-menu ul li i{vertical-align:middle}
    #mobile-menu ul li span{vertical-align:middle;display:inline-block;margin-left:20px;}

    .sr-only {border: 0 none;clip: rect(0px, 0px, 0px, 0px);height: 1px;margin: -1px;overflow: hidden;padding: 0;position: absolute;width: 1px;}
    .navbar-toggle {display: block;background-color: transparent;background-image: none;border: 0px solid #ffffff;border-radius: 4px;margin-bottom: 8px;margin-right: 15px;margin-top: 8px;padding: 9px 10px;position: absolute;top: 0px;left: 10px;cursor: pointer;}
    .navbar-toggle .icon-bar {border-radius: 1px;display: block;height: 2px;width: 22px;}
    .navbar-toggle .icon-bar + .icon-bar {margin-top: 4px;}
    .navbar-toggle .icon-bar {background-color: #000000;}
    .navbar-toggle:hover,
    .navbar-toggle:focus { background-color: transparent; }
    .collapse {display: none;}
    .navbar--collapse {border-top: 1px solid transparent;box-shadow: 0 1px 0 rgba(255, 255, 255, 0.1) inset;overflow-x: visible;padding-left: 15px;padding-right: 15px;background-color: #194e79;border-color: #080808;text-align: left;}
    .navbar-upload-wrapper {display: inline-block;position: absolute;right: 10px;top: 0px;}
    .collapse.in {display: block;}
    .navbar--collapse.in {overflow-y: auto;}
    .container > .navbar-header, .container-fluid > .navbar-header, .container > .navbar--collapse, .container-fluid > .navbar--collapse {margin-left: -15px;margin-right: -15px;}
    .navbar-inverse .navbar--collapse, .navbar-inverse .navbar-form {border-color: #101010;}
    .nav {list-style: outside none none;margin-bottom: 0;padding-left: 0;}
    .nav > li {display: block;position: relative;}
    .nav > li > a {display: block;padding: 10px 15px;position: relative;text-decoration: none;font-size: 16pt;}
    .nav > li > a:hover, .nav > li > a:focus {background-color: #999999;}
    .navbar-nav {margin: 7.5px -15px;}
    .navbar-nav > li > a {line-height: 20pt;padding-bottom: 15px;padding-top: 15px;color: #eee;}
    .navbar-nav > .active > a,
    .navbar-nav > .active > a:hover,
    .navbar-nav > .active > a:focus {background-color: #0f2f48;color: #fff;}
    .subnavbar-nav > li > a {line-height: 15pt;padding: 10px 0 10px 50px;color: #bbb;}

    .enterLichKab {float: none;width: auto;height: auto;color: #ffffff;}
    .enterLichKab:hover{color: #ffffff;text-decoration: none;}
    .register-but,
    .logout-but{color: #ffffff;}
    .register-but:hover,
    .logout-but:hover{color: #ffffff;text-decoration: none;}

    .enterLichKab,
    .register-but{padding: 10px;border: 1px solid #CCCCCC;margin: 0 0 0 10px;}
    .logout-but{padding: 6px;border: 1px solid #CCCCCC;}
    .enterLichKab span,
    .enterLichKab i,
    .register-but span,
    .register-but i,
    .logout-but span,
    .logout-but i{vertical-align: middle;font-size: 1.6rem;}

    .blog-title,
    #leftFrame2 h1{font-size:2.2rem;line-height:2.6rem;}

    #mobile-menu .user-info-block{min-height: 65px;border-bottom: 1px solid #cccccc;padding: 0 0 10px 0;}
    #mobile-menu .user-info-box{padding: 20px 0 0 0}
    #mobile-menu .user-avatar{float: left;display: inline-block;}
    #mobile-menu .user-avatar-img{width: 70px;}
    #mobile-menu .user-login{margin: 0 0 15px 80px;}
    #mobile-menu .user-login span a{color: #ffffff;font-size: 2rem;}
    #mobile-menu .user-info-item{color: #ffffff;margin: 0 0 14px 90px;}
    #mobile-menu .user-info-item a{color: #ffffff;font-size: 1.4rem;}

    #tabs-menu{display: none}
    #tabs-menu-mob{display: block}
    #tabs-menu-mob.nav > li > a{font-size: 1.2rem;}

    /* page_blogs */
    .page_blogs #leftFrame{width: 100%; padding: 0px 15px;}
    .vids td{padding: 0 15px;}
    .vids .blog-text iframe{width: 100% !important;}
    a.nivoZoom img{width: 100%;}


    /* Showrolik */
    #leftFrame2 h1{padding:0 15px;}
    #rightFrame2{display: none;}
    .video_descr_tit{padding-left: 15px;}

    .but-b {background-color: #3276b1;border-color: #285e8e;   border-radius: 4px;color: #ffffff;cursor: pointer;display: inline-block;padding: 2px 12px;text-align: center;vertical-align: middle;white-space: nowrap;text-decoration: none;margin:5px 0;}
    .but-w {background-color: #ffffff;border:1px solid #3276b1;border-radius: 4px;color: #3276b1;cursor: pointer;display: inline-block;padding: 2px 12px;text-align: center;vertical-align: middle;white-space: nowrap;text-decoration: none;margin:5px 0;}

    .showrolik #comments{margin:0 10px;}
    .addComment{width:100%;height:auto;}
    .addComment textarea{width:98%;float:none;}
    .addComment .disclaimer{width:95%;}
    .addComment .smilies{width:auto;float:none;}
    #more_smilies{left:125px;top:130px;}
    .addComment input.submit{margin:0 0 10px 0;top:0;}
    .comm font i{display:none;}


    /* Upload */
    .mtSp{width:0px;}
    #video_info{width:100%;border:0px;font-size:1.8rem;line-height: 2.2rem;}
    #video_info input{height: 35px;}
    #video_info input,
    div.tagsinput span.tag,
    div.tagsinput span.tag a{font-size: 1.6rem;}
    #upload_button button{font-size: 2rem}

    /* EditUser */
    #tabs-menu {display: none;}
    .form-add-new-blog{float: left;margin-bottom: 10px;}
    .tab-content.side-tabs-left {margin-left: 0px;border-left: 0px;}
    #form_ed .btn{white-space: pre-wrap;}

    /* Videos */
    .videos-page #leftCol{display: block;width: 100%;}
    .videos-page #leftCol ul li{display: inline;width: auto;border:0px;}
    .videos-page #leftCol ul li a,
    .videos-page #leftCol ul li span{text-decoration: none;background-color: #3276b1;border-color: #285e8e;border-radius: 4px;color: #ffffff;cursor: pointer;display: inline-block;padding: 2px 12px;text-align: center;vertical-align: middle;white-space: nowrap;margin: 5px;}
    .videos-page #leftCol ul li span{background-color: #ffffff; border: 1px solid #3276b1; color: #3276b1;font-weight: 500;}
    .videos-page #Main{float: none;}
    .videos-page #PopularTags{float: none;width: 100%;}
    .videos-page #main_table{width: 100%;}
    .videos-page #Main{width: 100%;}
    .videos-page #CatalogHead{min-height: auto;background: #E5E5E5;}
    .videos-page #CatalogHead h1{position: inherit;padding: 5px 0 10px 0;font-size: inherit;}
    .videos-page .sortby-layout{height: auto;border: 0;}
    .videos-page .sortby{float: none;}
    .videos-page .Layout{float: none;border: 0;}
    .videos-page .rss_link{display: none;}
    .videos-page .Mode5 li{margin: 0 0 30px 0;border-bottom: 1px solid #cccccc;}
    .videos-page .Mode5 .item_pic{float:none;margin:0;border:0;width:100%;height: auto;}
    .videos-page .Mode5 .item_img_link{width: 100%;height: auto;}
    .videos-page .Mode5 .item_img{width: 100%;}
    .videos-page .Mode5 .item_text{margin: 0;}
    .videos-page .Mode5 .item_views{margin: 0;}
    .videos-page .Mode5 .item_title{margin: 0;border: 0;text-decoration: none;}
    .videos-page .Mode5 .item_title a{font-size: inherit;font-size: 1.8rem;line-height: 2.2rem;}
    .videos-page .Mode5 .but_plus{display: none;}
    .videos-page #Main .Mode3{width: auto;}
    .videos-page .Mode3 .item_title a{font-size: 1.5rem;font-weight: normal;}
    .videos-page .TabMenu li,
    .TabMenu li a{float: none;display: inline-block;}
    .videos-page .TabMenu{position: inherit !important;}


    /* reg */
    #regLeft{width: auto;}
    #leftFrame2 #reg{font-size: inherit;}
    #leftFrame2 .regTop{background: none;width: auto;}
    #leftFrame2 .regCen{background: none;width: auto;}
    #leftFrame2 .regBot{background: none;width: auto;}
    #leftFrame2 .regT{border: 0;}
    #leftFrame2 #regRight{display: none;}
    #leftFrame2 .regInfo{width: 150px;}





}
