/* ===============================================
                Адаптивность
================================================== */

    @media only screen and (max-width: 1200px) {
        .main-menu .col-2 { width: 754px; }

         /* Шапка */
        .search-header-form.user-login input[type="text"] {width: 209px;}

        .panel-sticky { width: 672px;  }

        .sticky-wrapper-2.is-sticky .nav.nav-pills { left: 124px; width: 711px; }

        .topic-list { width: 980px; }

        .container .topic-item.tm-1 { margin-right: 15px; }

        /* Категория */
        .category-menu .center{ 
            width: 80%; 
            position: relative;
            left: 50%;
            margin-left: -42%;
        }
    }

    /* Для дисплеев 959px */
    @media only screen and (max-width: 959px) {
         /* Шапка */
         .search-header-form { }
        .search-header-form input[type="text"] {width: 263px;}

        .search-header-form {
            position: absolute; 
            z-index: 10; 
            width: 319px !important; 
            left: 52px;
            top: 0;
            display: none;
        }
        .search-header-form input[type="text"] {
            margin-left: 0;
            float: right;
            position: relative;
            left: -1px;
        }
        .mob-btn-search {
            display: inline-block;
        }
        /* .search-header-form.user-login input[type="text"] { display: none; }
        .search-header-form.user-login:hover input[type="text"], 
        .search-header-form.user-login input[type="text"]:focus { display: block; position: absolute; z-index: 10; width: 300px !important; left: 183px; }
        .search-header-form.user-login input[type="submit"] { margin-left: 20px; }*/

        /* Слайдер */
        .slider ul {width: 597px; top: 46%;}
        .slider li { background: none; padding: 0; }
        .slider span:nth-child(2),
        .slider span:nth-child(5) {bottom: -25px;}
        .slider span:nth-child(3),
        .slider span:nth-child(1) { top: -25px; }

        /* Саб меню */
        .main-menu .col-2 { width: 509px; }
    /* margin-left: 5px; */
        .sticky-wrapper-2.is-sticky .nav.nav-pills { left: 0;}

        /* Информация об авторе на странице топика */
        .block.type-profile-about { margin-bottom: 20px; width: 100%; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }
        .block.type-profile-about .button { float: right; width: 50px; }
        .block.type-profile-about .header-block { float: left; z-index: 1; width: 188px; border: none; padding-bottom: 0; }
        .block.type-profile-about .block-content { float: left; z-index: 0; margin-top: 5px; width: 330px;}
        .block.type-profile-about .block-content .honors { margin-top: 22px; }
        
        /* прячем блок профиля при скролле */
        .user-info-sticky { display: none; }


        /* Категории */
        .category-menu .center { width: 100%;  left: 0; margin-left: 0; }

         /* Подвал */
        .footer .socil-btn,
        .footer .footer-menu { margin-left: 15px; }
        .footer .footer-menu li { margin-right: 10px; }
        .footer .socil-btn { width: 50px; float: right; }
        .footer .socil-btn li { margin-right: 5px;  }
        .footer .socil-btn .flexMenu-viewMore { background: none; text-indent: 0; }
        .footer .socil-btn .flexMenu-viewMore > a {background: none;}
        .footer .socil-btn .flexMenu-popup { text-indent: -9999px; }
        .footer .socil-btn .flexMenu-popup {     
            top: -52px;
            background: #303030;
            width: 163px;
            right: -3px;
            padding: 10px;
            border: 1px solid #8B8787; 
        }
        .footer .socil-btn .flexMenu-popup:before {
            content: "";
            position: absolute;
            bottom: -11px;
            right: 42px;
            margin-left: -10px;
            width: 0;
            height: 0;
            border-left: 6px solid transparent;
            border-right: 6px solid transparent;
            border-top: 10px solid #8B8787;
        }

        .main-content .block.type-profile-info { display: block; }
        
        /* .action-page-profile #profile_actions { display: none; }  */
        /* .action-page-profile .main-container.left-sidebar .sidebar { display: none; } */
        .block.type-profile-info .more { margin: 0 auto; }

        .main-menu .btn-menu.desktop {display: none;}
        .main-menu .btn-menu.phone {display: block;}
        .slow-menu {display: none !important; }

     
        #main-menu-sticky .topic-button-add {
            padding: 6px 7px 10px 7px;
            top: 4px;
        }
        #main-menu-sticky .topic-button-add i { position: relative; top: 2px; left: 3px; }
        #main-menu-sticky .topic-button-add span { display: none; }

        .topic-filter-list {
            padding-top: 0px;
        }
        .topic-filter-list li {
            margin-top: 10px;
            margin-left: auto;
            margin-right: auto;
            width: 300px;
            float: none;
        }
    }
    
    /* Для дисплеев 959px - 768px */
    @media only screen and (min-width: 768px) and (max-width: 959px) {

        .hidden-desktop,
        .visible-tablet { display: block !important; }
        .visible-desktop { display: none !important; }

    }
    
    /* Для дисплеев 767px */
    @media only screen and (max-width: 767px) {
        
        /* Подвал */
        .footer .copyright { display: none !important; }

        .photoset-labels {
            display: block;
        }
    }

    /* Для дисплеев 480px -  767px */
    @media only screen and (min-width: 480px) and (max-width: 767px) {
        .main-container.left-sidebar .main-content .main-menu .col-2 {  width: 486px; }
        
        /* Разное */
        .hidden-desktop,
        .visible-phone { display: block !important; }
        .visible-desktop { display: none !important; }
    }

    /* Для дисплеев 479px */
    @media only screen and (max-width: 479px) {

        body { min-width: 100%; }
        table th, table td { padding-left: 5px; padding-right: 5px; }

        .hidden-mobile {
            display: none !important;
        }

        /* Шапка */
        .header .logo { overflow: hidden; width: 24px; margin-left: 5px; }
        .search-header-form.user-login input[type="submit"] { margin-left: 0px; }
        .search-header-form.user-login:hover input[type="text"],
        .search-header-form.user-login input[type="text"]:focus { left: -1px; z-index: 10;}
        .top-profile .topic-button-add span { display: none; }
        .top-profile .topic-button-add i { margin-right: 0; }

        .search-header-form{
            left: 53px;  
        }

        .header .auth .reg { display: none; }
        .top-profile .topic-button-add.auth-add { left: -39px; }

        /* шапка юзер */
        .profile-user .author span { display: none; }

        /* Слайдер */
        .slider .button-center { width: 100%; text-align: center; }
        .slider .button-center .button.tm-1 { margin-bottom: 10px; margin-right: 0; }
        .slider ul { top: 35%; width: 100%; text-align: center; }
        .slider ul li { float: inherit; margin: 0; width: auto; }
        .slider span:nth-child(3) { display: none; }

        /* Меню саб */
        .main-menu {height: 52px;}
        .main-menu .col-1 { margin-right: 3%; }
        .main-menu .col-1,
        .main-menu .col-2 { width: 48%; }
        .main-menu .col-1 .btn-menu { width: 100%; padding-right: 0px;    padding-left: 18px;  -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;}
        .main-menu a#pullsub {display: block !important; width: 45px; height: 43px;  -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;}
        .main-menu a#pullsub .icon-filtr { position: relative; left: -11px; top: 5px; }

        .is-sticky #main-menu-sticky {padding-top: 10px;}
        #main-menu-sticky .topic-button-add {padding: 10px 9px 12px 9px;top: 0px;}

        .sticky-wrapper-2.is-sticky #main-menu-sticky-ul { padding-top: 10px; padding-bottom: 10px; }


        .main-container.left-sidebar .main-content .main-menu .col-2 {  width: 47%; }
        
        /* Мобильное меню */

        .nav.nav-pills.nav-pills-profile a { padding: 10px 6px 11px 7px; }

        nav.menu-top ul {height: auto; display: none;}
        nav.menu-top li {display: block; float: none; width: 100%;}
        nav.menu-top a#pull {display: block !important; width: 100%; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;}

        .shop-sticky .nav-pills-sub { position: relative; }

        .nav-pills-sub ul {
            height: auto; 
            display: none;
            width: 48% !important;
            position: absolute;
            top: 41px;
            margin-left: 0;
            z-index: 5;
            width: 210px;
        }
        .nav-pills-sub li {display: block; float: none; width: 100%;}


        .nav-pills-sub .border-radius-3 { -webkit-border-radius: 0 0 3px 3px; -moz-border-radius: 0 0 3px 3px; border-radius: 0 0 3px 3px; }


        /* Саб-Меню для мобилок, пример в настройках профиля */
        .mobile-phone { display: block; }
        #menusubother { 
            display: none; 
            position: absolute;
            top: 39px;
            width: 173px;
        }
        .is-sticky #menusubother {
            top: 52px;
        }
        #pullsubother i {
            position: relative;
            top: 3px;
            margin-right: 6px;
        }
        #menusubother li { width: 172px; }

        /* Топики листинг */
        .topic-list .topic-item .topic-avatar img { width: 100%; }

        /* Топики */
        .topic .padding-v2,
        .topic .padding { padding: 20px 10px; }
        .topic-footer { position: relative; top: -30px; }
        .topic-list .topic-item.tm-1 { margin-right: 0; margin-bottom: 20px; }
        .block.type-more-topic-author { padding-left: 10px; padding-right: 10px }


        .panel-sticky #pullsocial { display: inline-block; color: #666; border-bottom: 1px dotted #666; text-decoration: none; position: relative; top: 12px; }
        .panel-sticky .social-2 { 
            display: none; 
            position: absolute;
            top: 46px;
            background: #FFF;
            border: 1px solid #E0DFDE;
            overflow: visible;
            padding: 10px;
            z-index: 1;
        }
        .fixed-topic-panel.panel-sticky {overflow: visible;}
        .fixed-topic-panel.panel-sticky .social-2 { 
            display: none; 
            position: fixed;
            top: 43px;
            background: #FFF;
            border: 1px solid #E0DFDE;
            overflow: visible;
        }
        .panel-sticky .social-2:before {
            content: "";
            position: absolute;
            top: -11px;
            left: 28px;
            width: 0;
            height: 0;
            border-left: 6px solid transparent;
            border-right: 6px solid transparent;
            border-bottom: 10px solid #E0DFDE;
        }
        .fixed-topic-panel.panel-sticky .social-2:before {
            content: "";
            position: fixed;
            top: 33px;
            left: 41px;
            width: 0;
            height: 0;
            border-left: 6px solid transparent;
            border-right: 6px solid transparent;
            border-bottom: 10px solid #E0DFDE;
        }

        .list-blog-list .rating { right: 13px;}

        .panel-sticky { width: 100%; padding: 0 10px; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }
        .social-2 li:first-child { display: none; }

        .block.type-profile-about .block-content { clear: both; float: none; }
        .block.type-profile-about .block-content .honors { margin-top: 10px; padding-top: 10px; border-top: 1px solid #E2E2E2; }
        .block.type-profile-about .block-content .honors li { margin-bottom: 0; }

        .mceEditor { overflow: scroll; }
        .custom .defaultSkin .mceSeparator,
        #topic_text_undo,
        #topic_text_redo,
        #topic_text_lshselectListBox_text,
        #topic_text_pagebreak,
        #topic_text_advhr,
        #topic_text_code,
        #topic_text_fullscreen,
        #topic_text_table,
        #topic_text_row_props,
        #topic_text_cell_props,
        #topic_text_row_before,
        #topic_text_row_after,
        #topic_text_delete_row,
        #topic_text_col_before,
        #topic_text_col_after,
        #topic_text_delete_col,
        #topic_text_split_cells,
        #topic_text_merge_cells,
        #topic_text_visualchars { display: none; } /* кнопки */

        .clearlooks2,
        .clearlooks2 iframe {  width: 100% !important; } /* модалка фото */

/*        .topic-footer.padding-v2.margin-85 { margin-bottom: 40px !important;}
*/
        .topic-list .topic-item.tm-1 .text-container { min-height: inherit; }
        .type-more-topic-author .topic-list { width: 100% !important; }

        .photoset-upload textarea { width: 100%; }

        /* Комменты */
        .tabs-default .horizontal li:first-child { margin-left: 0; }
        .tabs-default .horizontal li .icon { display: none; }

        .comment .role-name { display: none; }

        .comment { padding-left: 50px; }
        .comment .comment-avatar {left: 5px; }
        .comment .comment-actions li.reply { padding-right: 0; display: block; }
        .comment .comment-actions li.topic-comment-link,
        .comment .comment-actions li.edit span.text, 
        .comment .comment-actions li.save, 
        .comment .comment-actions li.cancel,
        .comment .comment-actions li.topic-spam,
        .comment-subscribe { display: none; }
        .comment .comment-actions li.topic-favorite {margin-right: 8px;}

        .comment-wrapper .comment-wrapper .comment { padding-left: 50px; } 
        .comment-wrapper .comment-wrapper .comment .comment-avatar { left: 5px; }
        .comment-wrapper .comment-wrapper .comment-wrapper .comment { padding-left: 50px; } 
        .comment-wrapper .comment-wrapper .comment-wrapper .comment .comment-avatar { left: 5px; }
        .comment-wrapper .comment-wrapper .comment-wrapper .comment-wrapper .comment { padding-left: 50px; } 
        .comment-wrapper .comment-wrapper .comment-wrapper .comment-wrapper .comment .comment-avatar { left: 5px; }

        .comment-list .topic-info.comment-actions { position: static; overflow: hidden; }
        .comment-list .comment .comment-actions li.topic-like { position: absolute; top: 17px; right: 0; }
        .comments.comment-list .comment .blog-name { display: none; }

        .comment-check {
            position: absolute;
            top: 12px;
            right: 24px;
        }


        .topic-type-talk .mceToolbar tr td:nth-child(1),
        .topic-type-talk .mceToolbar tr td:nth-child(2),
        .topic-type-talk .mceToolbar tr td:nth-child(7),
        .topic-type-talk .mceToolbar tr td:nth-child(10),
        .topic-type-talk .mceToolbar tr td:nth-child(12),
        .topic-type-talk .mceToolbar tr td:nth-child(13),
        .topic-type-talk .mceToolbar tr td:nth-child(16),
        .comments .reply .mceToolbar tr td:nth-child(1),
        .comments .reply .mceToolbar tr td:nth-child(2),
        .comments .reply .mceToolbar tr td:nth-child(7),
        .comments .reply .mceToolbar tr td:nth-child(10),
        .comments .reply .mceToolbar tr td:nth-child(12),
        .comments .reply .mceToolbar tr td:nth-child(13),
        .comments .reply .mceToolbar tr td:nth-child(16) {display: none;}
        .topic-type-talk table.mceLayout,
        .comments .reply table.mceLayout { width: 99% !important; }

        /* Профиль */
        .profile .profile-right,
        .profile .profile-left { width: 100%; }
        .profile .last-date-1 { margin-top: 15px; }
        .profile .profile-dotted-list li { position: static; left: inherit; }
        .profile .profile-dotted-list li strong {width: 165px;}

        .topic-type-settings .col-1 { width: 100%; position: relative; }
        .topic-type-settings .col-2 {padding-left: 0;}

        .js-user-field-item input { margin-right: 0;    width: 100%;}
        .js-user-field-item select,
        .custom .topic-type-settings .birthday select {width: 100% !important; margin-bottom: 10px;}
        .js-geo-select .select-width-150 { width: 100%; }

        .container .sidebar .block.type-profile-info.fixed {
            position: relative !important;
            top: 0;
            -webkit-transform: translateY(0);
            -moz-transform: translateY(0);
            -o-transform: translateY(0);
            -ms-transform: translateY(0);
        }
        .type-profile-info.fixed .block-description, 
        .type-profile-info.fixed .nav.nav-sidebar { display: block; }

        /* Люди */
        .nav.nav-sidebar-tm-1 li:nth-child(1), 
        .nav.nav-sidebar-tm-1 li:nth-child(2), 
        .nav.nav-sidebar-tm-1 li:nth-child(3) {width: 33.333333%;}

         /* Сообщения */
         .nav.nav-pills.nav-pills-talk .inbox-new { display: none; }
        .table.table-talk .cell-recipients { width: auto; }
        .table.table-talk .cell-date { display: none; }
        .action-page-talk .nav.nav-pills a {padding: 10px 8px 11px 8px;}
        .action-page-talk .nav.nav-pills li:last-child { display: none; }
        .action-page-talk .sidebar { display: none; }
        .action-page-talk .button.tm-8 { width: 100%; margin-bottom: 10px; }
        .action-page-talk .table.table-talk .topic-favorite.active { display: block; }
        .action-page-talk.event-read .comment-talk .comment-author-talk,
        .action-page-talk.event-read .comment-info-talk .topic-favorite.active { display: none; }
        .action-page-talk.event-read .comment-talk .comment-date-talk { float: left; }
        .action-page-talk.event-read .comment-talk .comment-content-talk {padding-right: 0;  }

        .action-page-talk .type-profile-info { display: none !important; }

        /* Категория */
        .category-menu .flexMenu-viewMore.active .flexMenu-popup{ 
            width: 292px; 
        }
        .category-menu .flexMenu-viewMore.active .flexMenu-popup { width: 299px; right: -108px; }
        .category-menu .flexMenu-viewMore.active .flexMenu-popup:after {right: 50%;}

        .event-category .nav-pills-sub ul {width: 131px !important; }

        /* Модалки */

        .modal .modal-content { padding: 10px; }

        .modal,
        .modal-bs-dialog.modal-login {
            width: 100% !important;
            position: absolute;
            left: 0 !important;
            margin-left: 0 !important;
            -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box;
        }
        #window_insert_smiles {
            position: fixed !important;
        }
        .modal-bs-dialog.modal-login .modal-content .col-1, 
        .modal-bs-dialog.modal-login .modal-content .col-2 { width: 100%; margin: 0 auto;  -moz-box-sizing: border-box; -webkit-box-sizing: border-box; box-sizing: border-box; }
        .modal-bs-dialog.modal-login .modal-content .col-1 { border: none; padding-right: 0; }
        .modal-bs-dialog.modal-login .modal-content .col-2 { padding-left: 0;  }
        .modal-bs-dialog.modal-login .fix-line { display: none; }
        .modal-bs-dialog.modal-login .reminder-password {margin-left: 0;}
        .modal-bs-dialog.modal-login .modal-header h3 {    margin-right: 0;}


        /* Формы */
        .topic .button, 
        .topic button, 
        .topic input[type="submit"], 
        .topic input[type="reset"], 
        .topic input[type="button"] { padding-right: 10px; padding-left: 10px; margin-bottom: 10px; }

        .topic .mce-btn button { margin-bottom: 0; }
    
        .topic .tags { width: 48px; }
        .topic a#pulltags { display: block; }
        
        .topic .tag-fix { position: relative; }
        .topic .tag-fix .tags {
            background: #ffffff; 
            padding: 10px;
            border: 1px solid #E0DFDE;
            top: 52px;
            width: 103px;
            right: 0;
            position: absolute;
            display: none;
        }
        .topic .tag-fix .tags:before {
            content: "";
            position: absolute;
            top: -11px;
            right: 13px;
            width: 0;
            height: 0;
            border-left: 6px solid transparent;
            border-right: 6px solid transparent;
            border-bottom: 10px solid #E0DFDE;
        }
        .topic .tag-fix .tags .icon-tags { display: none; }
        .topic .tag-fix .tags .dot { display: none; }

        .category-block { margin-bottom: 5px; }

        /* Моя лента */
        .stream-item .stream-item-topic .topic-avatar { float: inherit; margin: 0 auto; margin-bottom: 10px; }

        /* Подвал */
        .footer { padding: 10px 0; }
        .footer .footer-menu { margin-left: 10px; display: block;}
        .footer .footer-menu .flexMenu-popup {
            width: 200px;
            bottom: 30px;
            left: -3px;
            background: #303030;
            border: 1px solid #8B8787;
            padding: 5px 0;
        }
        .footer .footer-menu .flexMenu-popup:before {
            content: "";
            position: absolute;
            bottom: -11px;
            left: 50px;
            margin-left: -10px;
            width: 0;
            height: 0;
            border-left: 6px solid transparent;
            border-right: 6px solid transparent;
            border-top: 10px solid #8B8787;
        }
        .footer .footer-menu .flexMenu-popup li {
            display: block;
            width: 100%;
            padding: 5px 10px;
        }
        .footer .js-feedback-window-show/*,
        .toolbar*/ { display: none; }

        .infobox.infobox-yellow { display: none; }

        /* Разное */
        .hidden-desktop,
        .visible-phone { display: block !important; }
        .visible-desktop { display: none !important; }

        .event-shop .nav-pills-sub ul {    width: 100% !important;}

        .check-button-text,
        .comment-label-checked-text {
            display: none;
        }
        .topic-label-checked-text {
            display: none;
        }

        .talk-search-button {
            float:none;
            margin: 5px;
        }
        .talk-search {
            margin-bottom: 25px;
        }

        #delete-confirm-form button {
            padding: 10px 10px;
        }

        .comment {
            padding-right: 13px;
        }

        .top-yoox {
            display:none;
        }
    }

 @media only screen and (max-width: 290px) {
    .tabs-default .horizontal li a {
        padding: 10px 5px;
    }
 }
  @media only screen and (max-width: 360px) {
    
  }
