.b1t-soir-custom-html-header-navigation {
    min-width: 320px;
    position: relative;
    z-index: 960;
    
    opacity: 0;
}

body.page-loaded .b1t-soir-custom-html-header-navigation {
    opacity: 1;
}

html.gosbar .b1t-soir-custom-html-header-navigation {
    z-index: 2147473647; /* как у Госбара, чтобы если страница перезагружается в центре и панель навигации зафиксирована, то она перекрывала появляющийся госбар непонятно почему прижатый к верху окна*/
}

html.gosbar.gosbar-loaded .b1t-soir-custom-html-header-navigation {
    z-index: 960; /* когда Госбар загружен нам уже не нужен большой z-index, а вот уменьшить его нужно чтобы меню пользователя с панели выше нормально открывалось*/
}

/*
   Панель
*/

.b1t-soir-custom-html-header-navigation .panel-back {
    display: none;
}


.b1t-soir-custom-html-header-navigation .panel {

     transition: box-shadow 0.2s ease-out;
    -webkit-transition: box-shadow 0.2s ease-out;
    -moz-transition: box-shadow 0.2s ease-out;
    -o-transition: box-shadow 0.2s ease-out;
    
    //смбросим стили от Bootstrap
    margin-bottom: 0px;
    border: 0px;
    border-radius: 0px;
    
    -moz-box-shadow:  none;
    -webkit-box-shadow: none;
    box-shadow: none;
    
    min-width: 320px;
    
    font-size: 0.82rem;
}

.b1t-soir-custom-html-header-navigation .panel.affix {
    right: 0px;
    left: 0px;
    
    -moz-box-shadow:    0px 12px 13px 0px rgba(0, 0, 0, 0.1);
    -webkit-box-shadow: 0px 12px 13px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 0px 12px 13px 0px rgba(0, 0, 0, 0.1);
}


html.modal-open .b1t-soir-custom-html-header-navigation .panel.affix {
    -moz-box-shadow:  none;
    -webkit-box-shadow: none;
    box-shadow: none;
}




.b1t-soir-custom-html-header-navigation .inner-table {
    height: 70px;
    width: 100%;
    table-layout: fixed;
}

.b1t-soir-custom-html-header-navigation .logo-cell {
    width:50px;
    padding-right: 18px;
}

.b1t-soir-custom-html-header-navigation .logo-cell a {
    border-bottom: 0px;
}

.b1t-soir-custom-html-header-navigation .site-name-cell {
    width: 390px;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.125;
    
    padding-top: 0.31rem;
    padding-bottom: 0.31rem;
}

.b1t-soir-custom-html-header-navigation .menu-cell {
    text-align: right;
}

.b1t-soir-custom-html-header-navigation.main-page .menu-cell {
    text-align: left;
}

.b1t-soir-custom-html-header-navigation .btn-menu,
.b1t-soir-custom-html-header-navigation .btn-search,
.b1t-soir-custom-html-header-navigation .btn-auth{
    display: none;
    cursor: pointer;
    line-height: 1;
}

.b1t-soir-custom-html-header-navigation .display-cell-xs {
    display: none;
}

@media (min-width: 992px) and (max-width: 1199px) {
    
    .b1t-soir-custom-html-header-navigation .inner-table {
        height: 50px;
    }
    
}

@media (min-width: 768px) and (max-width: 991px) {
    
    .b1t-soir-custom-html-header-navigation .inner-table {
        height: 50px;
    }
}

@media (max-width: 767px) {
    
    .b1t-soir-custom-html-header-navigation .container {
        padding: 0px;
    }
    
    .b1t-soir-custom-html-header-navigation .inner-table {
        height: 45px;
        table-layout:auto;
    }
    
    .b1t-soir-custom-html-header-navigation .inner-table  > .display-cell {
        
    }
    
    .b1t-soir-custom-html-header-navigation .logo-cell {
        padding-left: 15px;
        padding-right: 15px;
        width:55px;
    }
    
    .b1t-soir-custom-html-header-navigation .logo {
        max-height: 30px;
    }
    
    .b1t-soir-custom-html-header-navigation .site-name-cell {
        width: auto;
        font-size: 0.88rem;
        
    }
    
    .b1t-soir-custom-html-header-navigation .display-cell-xs {
        display: table-cell;
        width: 100%;
    }
    
    .b1t-soir-custom-html-header-navigation .btn-menu,
    .b1t-soir-custom-html-header-navigation .btn-search,
    .b1t-soir-custom-html-header-navigation .btn-auth {
        
        display: table-cell;
        padding-left: 15px;
        padding-right: 15px;
        width:50px;
        text-align: center;
    }
    
    html.main-page .b1t-soir-custom-html-header-navigation .btn-menu {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .b1t-soir-custom-html-header-navigation .btn-menu .icon,
    .b1t-soir-custom-html-header-navigation .btn-search .icon,
    .b1t-soir-custom-html-header-navigation .btn-auth .icon {
        opacity: 0.67;
    } 
    
    html.specialcolor .b1t-soir-custom-html-header-navigation .btn-menu .icon, 
    html.specialcolor .b1t-soir-custom-html-header-navigation .btn-search .icon, 
    html.specialcolor .b1t-soir-custom-html-header-navigation .btn-auth .icon {
        opacity: 1;
    }
    
    .b1t-soir-custom-html-header-navigation .btn-menu .icon{
        font-size: 1.25rem; 
    }
    
    .b1t-soir-custom-html-header-navigation .btn-search .icon{
        font-size: 1.13rem; 
    }
    
    .b1t-soir-custom-html-header-navigation .btn-auth .icon{
        font-size: 1.38rem; 
    }
    
}

/*
    Версия для слабовидящих
*/
html.fs-big .b1t-soir-custom-html-header-navigation .site-name-cell {
    display: none;
}

html.fs-big .b1t-soir-custom-html-header-navigation .logo-cell {
    width: auto;
}