/* Adaptive sandbox
-----------------------------------------------------------------------------*/
/* Глобальные штуки
-----------------------------------------------------------------------------*/
body {
    font-family: 'Roboto', Tahoma;
    background: #EDF1F2;
}

/*#topic_list_container {
  max-width: 800px;
}*/
#layout {
    min-width: auto;
    max-width: none;
    padding: 0;
    background: #F0F0F0;
    display: flex;
    margin: 45px auto 0;
    padding: 0px 20px 0 20px;
}

#content {
    padding: 0;
    width: 918px;
    margin: 0 auto;
    float: none;
}

#sidebar {
    float: none;
    margin: 0 0 0 10px;
}
#footer .footer-content {
    overflow: hidden;
    border: none;
    text-align: center;
    padding: 150px 0 50px 0;
    margin: 0;
}
.e-d {
    list-style: none;
    padding: 0;
}

.clear {
    clear:both;
}

/* Лэйаут для хабов, бредов, профилей, узких страниц 550 по ширине с серым фоном
-----------------------------------------------------------------------------*/
.ng-thin {
    background: #EEEEEE;
}
.ng-thin #layout{
    background: #EEEEEE;
}
.ng-thin #sidebar {
    display: none;
}
.ng-thin #content {
    width: 100%;
    background: #fff;
    padding-bottom: 100px !important;
    margin: 0 auto;
    padding: 30px 20px 0 20px;
}
.ng-thin #footer {
    background: #EEEEEE;
}


/* Группы кнопок, с флексом. Используется для расположения серых больших кнопок в хабах, бп
-----------------------------------------------------------------------------*/
.btn-flex-block {
    display: flex;
    width: 100%;
    justify-content: space-between;
}
.btn-flex-block .btn {
    margin: 0 0 0 10px;
}
.btn-flex-block .btn:first-child {
    margin-left: 0;
}

/* Кнопки, большие, серые, используются в хабах, профилях.
Тянуться на 100% блока родителя
-----------------------------------------------------------------------------*/
.btn.btn-big-gray {
    background: #F7F7F7;
    border-color: #F7F7F7;
    border-radius: 4px;
    font-size: 14px;
    color: #555555;
    text-align: center;
    padding: 13px 20px;
    width: 100%;
}
.btn.btn-tag {
    background: #FBF7EF;
    border-color: #FBF7EF;
    border-radius: 25px;
    font-size: 16px;
    color: #555555;
    margin: 0 0 10px 0;
    text-transform: lowercase;
}

/* Заголовки */
/* Заголовок, используется для хабов, брендов, черный посередине выставленный
-----------------------------------------------------------------------------*/
.h1-centered {
    font-size: 26px;
    color: #000000;
    text-align: center;
    margin: 7px 0 30px 0;
}

/* H2 заголовок, используется для разграничения блоков в хабах, профилях
-----------------------------------------------------------------------------*/
.h2-subheader {
    font-size: 16px;
    color: #000000;
    margin: 35px 0 15px 0;
    text-align: center;
}
/* H2 заголовок с полосой снизу, используется на странице брендов
-----------------------------------------------------------------------------*/
.h2-subheader-underline {
    font-size: 16px;
    color: #000000;
    margin: 35px 0 15px 0;
    text-align: center;
    border-bottom: 1px solid #eaeaea;
    padding: 0 0 10px 0;
}

/* Поля ввода
-----------------------------------------------------------------------------*/
/* Фикс полей поиска с кнопкой справа
-----------------------------------------------------------------------------*/
.input-group .form-control {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    color: #555555;
    font-size: 16px;
    height: 36px;
}

/* Элементы
-----------------------------------------------------------------------------*/
/* Аватар юзера, используется в профилях, хабах (знатоки)
-----------------------------------------------------------------------------*/
.avatar.avatar-default a_a {
    border-radius: 15px;
    background: #f4f4f4;
    border: 2px solid #FFFFFF;

    box-shadow: 0 0 0 3px #FFD991;

    width: 65px;
    height: 65px;
    margin: 0 auto 15px;
    display: block;
    border-radius: 50px;
    background-repeat: no-repeat;
    position: relative;
    /* float: left; */
    background-size: 65px;
}
.avatar.avatar-default {
    /*border: 3px solid orange;*/
    border-radius: 50%;
    margin: 0;
    padding: 3px 3px 3px 3px;
    height: 71px;

    background: #ffd991;
    background: -moz-linear-gradient(top, #ffd991 0%, #ff1841 100%);
    background: -webkit-gradient(left top, left bottom, color-stop(0%, #ffd991), color-stop(100%, #ff1841));
    background: -webkit-linear-gradient(top, #ffd991 0%, #ff1841 100%);
    background: -o-linear-gradient(top, #ffd991 0%, #ff1841 100%);
    background: -ms-linear-gradient(top, #ffd991 0%, #ff1841 100%);
    background: linear-gradient(to bottom, #ffd991 0%, #ff1841 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffd991', endColorstr='#ff1841', GradientType=0 );
}
.avatar.avatar-default i {

    background: #f4f4f4;
    width: 65px;
    height: 65px;
    margin: 0 auto 15px;
    display: block;
    border-radius: 50px;
    background-repeat: no-repeat;
    position: relative;
    background-size: 65px;
    border: 2px solid #FFFFFF;
}



/* Верхнее меню
-----------------------------------------------------------------------------*/
.header-adaptive {
}

.header-adaptive .menu-top {
    background: #ffffff;
    margin: 0 0 15px 0;
    padding: 0 15px;
    display: flex;
    justify-content: space-between;
    z-index: 20;
    left: 0;
    top: 0;
    will-change: top;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    width: 100%;
    margin: 0;
    /*background-color: #d9f5ff;*/
    position: fixed;
}

.header-adaptive .menu-top .logo {
    display: flex;
}
.header-adaptive .menu-top .logo svg {
    width: 37px;
    height: 37px;
    /* padding: 3px 0 0 0; */
    margin: 4px 6px 0 0;
}
/*
.header-adaptive .menu-top .logo .logo-image {
    width: 40px;
    height: 40px;
    background: url(../../i/logo_ng/logo-sandbox.png) no-repeat 0px 0px;
    background-size: cover;
    display: block;
    margin: 5px 5px 5px 0;
}
*/

.header-adaptive .menu-top .logo .logo-text {
    color: #fff;
    /* background: #eaf2fb; */
    padding: 12px 0 0 0;
    font-size: 14px;
    font-family: Roboto;
}

.header-adaptive .top-menu-bar {
    display: flex;
}

.header-adaptive .top-menu-bar .links {
    display: flex;
    margin: 0 20px 0 0;
    /*background: aliceblue;*/
}

.header-adaptive .top-menu-bar .links a {
    color: #ffffff;
    display: block;
    /*background: #0abae6;*/
    padding: 13px 6px;
}

.header-adaptive .top-menu-bar .fal {
    color: #ffffff;
}

.header-adaptive .user-newstuff .user-newstuff-item a {
    /*background: aliceblue;*/
    padding: 10px;
}

.header-adaptive .user-auth {
    display: flex;
}

.header-adaptive .auth-btn {
    display: flex;
}

.header-adaptive .auth-btn .icon {
    display: block;
    font-size: 24px;
    color: #ffffff;
    background: none;
    padding: 11px 6px 0px;
}

.header-adaptive .auth-btn a {
    color: #ffffff;
    padding: 12px 10px 10px 0;
    font-size: 14px;
}

.header-adaptive .main-menu {
    border-bottom: 1px solid #eaeaea;
    height: 50px;
    padding: 5px 0px 3px 0px;

}

.header-adaptive .main-menu .main-menu-layout {
    /*max-width: 1200px;
    min-width: 1200px;*/
    /*position: relative;*/
    max-width: 100%;
    min-width: 1200px;
    /*margin: 0 auto;*/
    display: block;
    min-height: 100%;
    overflow: hidden;
    background: #fff;
    padding: 0 20px;
}

.header-adaptive .header-logo {
    float: left;
    padding: 3px 0 0 0;
}

.header-adaptive .header-logo .header-logo-link {
    width: 184px;
    height: 33px;
    background: url(../i/logo-360.png) no-repeat 0px 0px;
    background-size: cover;
    display: inline-block;
}

.header-adaptive .user-auth .user-avatar {
    margin: 0 0 0 10px;
    padding: 5px 0 0 0;
}

.header-adaptive .user-auth .user-avatar i {
    /*   background-image: url(../i/avatar_100x100.png); */
    background-size: 35px 35px;
    background-position: 0 0;
    background-repeat: no-repeat;
    width: 35px;
    height: 35px;
    display: block;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    -khtml-border-radius: 50%;
    /* 	margin: 0 auto; */
    cursor: pointer;
    position: relative;
}

.header-adaptive .main-menu .create-menu-item .fas {
    font-size: 21px;
}

.header-adaptive .user-newstuff {
    margin: 0;
    display: flex;
}

.header-adaptive .user-newstuff .user-newstuff-item a span {
    top: 5px;
}

/* Выпадающее меню юзерское
-----------------------------------------------------------------------------*/
.header-adaptive .dropdown-usermenu .dropdown-usermenu-item .fal {
    color: #999999;
}

/* Topic update */
.header-adaptive .update {
    cursor: pointer;
}

.header-adaptive .update .refresh {
    position: fixed;
    top: 200px;
    right: -1px;
    background: #fff;
    padding: 13px 9px 7px 13px;
    border: 1px solid #eaeaea;
    display: block;
    border-radius: 21px 0 0 21px;
    font-size: 16px;
}
.header-adaptive .update .new-comments {
    color: #fff;
    text-decoration: none;
    background: #ed3a4a;
    cursor: pointer;
    text-align: center;
    margin: 51px 0 0;
    padding: 9px 9px 8px 13px;
    font-size: 16px;
    width: 40px;
    -webkit-border-radius: 4px 0 0 4px;
    -moz-border-radius: 4px 0 0 4px;
    border-radius: 21px 0 0 21px;
}

/* Hero надпись большая сверху с h1
-----------------------------------------------------------------------------*/
.hero {
    text-align: center;
    margin: 20px 0 35px 0;
}
.hero .title {
    font-size: 60px;
    font-weight: 700;
    line-height: 70px;
    text-transform: uppercase;
}
.hero h1 {
    padding: 0px 0 0 0;
    margin: 0 0 3px 0;
    color: #000;
    font-size: 20px;
}
.hero p {
    padding: 10px 0 0 0;
    margin: 0 0 5px 0;
    color: #000;
    font-size: 18px;
}

/* Global overwrites - может быть для всех адаптивов будет полезно
-----------------------------------------------------------------------------*/
/*.btn,
.button-link {
    position: relative;
    display: inline-block;
    overflow: visible;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -moz-user-focus: ignore;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    white-space: nowrap;
    text-decoration: none;
    outline: 0;
    background: none;
    -webkit-tap-highlight-color: transparent;
    -ms-touch-action: manipulation;
    touch-action: manipulation;
    padding: 6px 15px;
}*/
.btn.btn-red {
    background: #ed3a4a;
    color: #ffffff;
    border: 1px solid #ed3a4a;
}

.btn.btn-cyan {
    background: #0ABAB5;
    border: 1px solid #0ABAB5;
    color: #ffffff;
}

.btn.btn-grey {
    color: grey;
}

label {
    font-weight: 400;
}

/*.btn {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    color: #555555;
    font-size: 16px;
}*/
.btn.btn-large {
    padding: 10px 26px;
    border-radius: 3px;
}

.btn-react .far {
    font-size: 28px;
    vertical-align: bottom;
    margin: 5px 2px 0 2px;
}

.btn-react .far:first-child {
    margin: 0 0 0 3px;
}

.red {
    color: #0ABAB5;
}

.violet {
    color: #AE315F;
}

.cyan {
    color: #0ABAB5;
}

.darkred {
    color: #AE315F;
}

/* Paging
-----------------------------------------------------------------------------*/
.b-pager {
    margin: 0 -17px 0 -15px;
}
.pagination-lvl-1 {
    margin: 0;
    display: flex;
    justify-content: stretch;
    width: 100%;
}
.pagination-lvl-1 > a {
    color: #555;
    font-size: 18px;
    /* display: inline-flex; */
    padding: 15px 5px;
    /* width: -webkit-fill-available; */
    text-align: center;
    width: 100%;
    background: #ffffff;
    margin: 0 2px 0 -1px;
}
.pagination-lvl-1 .fal  {
    vertical-align: middle;
    font-size: 15px;
}
.pagination-lvl-2 {
    margin: 0;
    display: flex;
    justify-content: stretch;
    width: 100%;
    -webkit-box-shadow: 0 -1px 4px 0 rgba(14,21,47,.04), 0 4px 12px 0 rgba(14,21,47,.08);
    box-shadow: 0 -1px 4px 0 rgba(14,21,47,.04), 0 4px 12px 0 rgba(14,21,47,.08);
}
.pagination-lvl-2 > a,
.pagination-lvl-2 .active {
    color: #555;
    font-size: 18px;
    /* display: inline-flex; */
    padding: 10px 5px;
    /* width: -webkit-fill-available; */
    text-align: center;
    width: 100%;
    background: #F5F5F5;
    margin: 0 2px 0 -1px;
}
.pagination-lvl-2 .active {
    color: #ed3a4a;
}

/* Бургер-меню
-----------------------------------------------------------------------------*/
/* Старая версия, отключено, текущая намного ниже
.header-adaptive .ng-menu-burger {
    display: none;
    width: 300px;
    height: 100%;
    position: fixed;
    background-color: #ffeda9;
    z-index:1000;
    padding-top: 50px;
    top: 0;
    left: 0;
}

.header-adaptive .ng-menu-burger .menu-close {
    position: absolute;
    right: 10px;
    top: 10px;
    color: black;
}

.header-adaptive .ng-menu-burger .menu-main-link {
    position: absolute;
    left: 10px;
    top: 10px;
}

.header-adaptive .ng-menu-burger .menu-main-link a {
    color: black;
    font-size: 25px;
}

.header-adaptive .ng-menu-burger .menu-chapter-header {
    cursor: pointer;
}

.header-adaptive .ng-menu-burger .menu-chapter-header .menu-chapter-arrow {
    right: 10px;
}

.header-adaptive .ng-menu-burger .menu-chapter-container {
    display: none;
    cursor: pointer;
}

.header-adaptive .ng-menu-burger .menu-chapter-container a {
    display: block;
}

*/


/* Все что внутри работает при размере экрана меньше 768
-----------------------------------------------------------------------------*/
@media (max-width: 768px) {
    #layout {
        width: auto;
        margin-top: 38px;
        padding: 0;
    }
    #content {
        padding: 0;
        margin: 0;
        width: 100%;
    }
    #sidebar {
        display: none;
    }

    .header-adaptive .auth-btn .icon {
        padding: 8px 6px 6px;
    }
    .header-adaptive .auth-btn a {
        padding: 8px 0 0 0;
        font-size: 14px;
    }

    .btn {
        font-size: 14px;
    }

    .btn-react {
        font-size: 16px;
    }

    .header-adaptive .menu-top {
        margin: 0;
    }

    .header-adaptive .update {
        /*display: none;*/
    }
    .header-adaptive .update .refresh {
        position: fixed;
        top: 200px;
        right: -1px;
        background: #fff;
        padding: 13px 9px 7px 13px;
        border: 1px solid #eaeaea;
        display: block;
        border-radius: 21px 0 0 21px;
        font-size: 16px;
    }
    .header-adaptive .update .new-comments {
        color: #fff;
        text-decoration: none;
        background: #ed3a4a;
        cursor: pointer;
        text-align: center;
        margin: 51px 0 0;
        padding: 9px 9px 8px 13px;
        font-size: 16px;
        width: 40px;
        -webkit-border-radius: 4px 0 0 4px;
        -moz-border-radius: 4px 0 0 4px;
        border-radius: 21px 0 0 21px;
    }

    .header-adaptive .menu-top .logo svg {
        width: 30px;
        height: 30px;
        padding: 0px;
    }
    .header-adaptive .menu-top .logo .logo-image {
        width: 30px;
        height: 30px;
        margin: 0;
        margin: 4px 4px 0 0;
    }

    .header-adaptive .menu-top .logo .logo-text {
        padding: 8px 0 0 0;
        font-size: 14px;
    }

    .header-adaptive .user-auth .user-avatar {
        padding: 4px 0 0 0;
    }

    .header-adaptive .user-auth .user-avatar i {
        background-size: 30px 30px;
        width: 30px;
        height: 30px;
    }

    .header-adaptive .user-newstuff .user-newstuff-item a {
        padding: 7px 3px 6px 10px;
    }

    .header-adaptive .menu-top {
        padding: 0 10px;
    }

    .topic .post-preview {
        margin: 0 -10px;
    }

    .topic h2 {
        line-height: 26px;
        font-size: 20px;
        margin: 0 0 5px 0;
    }

    .topic .post-details {
        padding: 1px 0 0 0;
    }

    .topic .post-title .post-author,
    .topic .post-title .post-date {
        font-size: 13px;
    }

    .topic .post-title .post-author-avatar i {
        background-size: 20px 20px;
        width: 20px;
        height: 20px;
        margin: 3px 0 0 0;
    }

    .post-control-bar {
        font-size: 14px;
    }

    .topic h1 {
        line-height: 1.2em;
        font-size: 26px;
    }

    /*** Панель инструментов при создании поста и при добавлении комментариев ***/
    .p-f {
        background: none;
        overflow: hidden;
        border-radius: 4px 4px 0 0;
        margin: 0;
        padding: 0 0 0 0;
    }
    .panel {
        background: none;
        box-shadow: none;
    }
    .p-f li {
        margin: 0;
        padding: 0 4px 4px 0;
        float: left;
        list-style: none;
    }

    .p-f li a {
        padding: 12px 16px;
        display: block;
        line-height: 0;
        color: #555;
        text-shadow: 0 1px 0 #fff;
        background: #f1f1f1;
        border-radius: 50%;
        display: inline-block;
        height: 30px;
        min-width: 30px;
        padding: 7px 0 0 0;
        text-align: center;
        vertical-align: middle;
        border-radius: 18px;
        box-sizing: border-box;
        border-bottom: 0;
    }

    .p-f li a:hover {
        color: #999;
        text-decoration: none;
    }

    .p-f .image-count {
        /* color: #ed3a4a; */
        /* font-weight: 700; */
        cursor: help;
        padding: 10px 0 0 0;
    }

    .p-f .text a {
        padding: 20px 15px 18px;
    }

    .p-f .text span {
        display: block;
        padding: 10px 0 0 10px;
    }


    .comments .re-f textarea,
    .re-f textarea {
        padding: 10px;
        height: 100px;
        margin: 0;
        font-size: 16px;
        line-height: 22px;
    }

    .comments {
        padding: 10px;
    }
    .comments .title {
        font-size: 16px;
    }
    .comments .panel {
        background: none;
    }

    /* форма голосования
    -----------------------------------------------------------------------------*/
    .post-details {
        /*display: inline-block;*/
        white-space: nowrap;
    }

    .header-adaptive .adaptive-userstuff-menu .adaptive-userstuff-menu-item {
        color: #555555;
        background: #ffffff;
    }

    .header-adaptive .adaptive-userstuff-menu .adaptive-userstuff-menu-item a {
        color: #555555;
        font-size: 14px;
        padding: 8px 13px;
        display: block;
    }

    .header-adaptive .adaptive-userstuff-menu .adaptive-userstuff-menu-item .fal {
        margin: 0 4px 0 0;
    }

    .show-on-narrow {
        display: block;
    }

    .show-on-wide {
        display: none;
    }

    /* Dropdowm menu
-----------------------------------------------------------------------------*/
    .dropdown-usermenu-item i {
        margin: 0;
    }
    .dropdown.dropdown-usermenu a {
        margin: 0;
        padding: 5px 18px;
    }
    .dropdown.dropdown-usermenu {
        padding: 0;
        margin: 10px 0 0 0;
        overflow: hidden;
        background-color: #fff;
        /*border: 1px solid #e5e5e5;*/
        border-radius: 0px;
        box-shadow: none;
        width: 100%;
    }
    .dropdown-usermenu .dropdown-usermenu-item i {
        margin: 0 5px 0 0;
    }
    .dropdown-menu-create {
        padding: 0;
        margin: 0;
        border-bottom: 0;
    }
    .dropdown-usermenu-item ul {
        margin: 0;
        padding: 0;
    }

    .hero {
        margin: 15px 0 20px 0;
    }
    .hero h1 {
        font-size: 17px;
        line-height: 23px;
    }
    .hero .title {
        font-size: 37px;
        line-height: 50px;
        display: inline-block;
        margin: 0;
    }

    .header-adaptive .ng-menu-burger {
        width: 90%;
    }

}



/* Экран шире 768 */
@media (min-width: 768px) {
    .show-on-narrow {
        display: none;
    }

    .show-on-wide {
        display: block;
    }
}




/* Header menu
-----------------------------------------------------------------------------*/
/* Navbar
-----------------------------------------------------------------------------*/
.navbar-nd {
    background: #F5F5F5;
    margin-bottom: 0;
    padding: 0 10px;
    color: #333333;
    display: flex;
    height: 44px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.navbar-nd .bars {
    position: relative;
    display: inline-flex;
    width: 24px;
    height: 24px;
    cursor: pointer;
    vertical-align: middle;
    position: relative;
    display: inline-block;
    max-width: 100%;
    max-height: 100%;
    transition-duration: .2s;
    transition-timing-function: ease;
    transition-property: background-color,color;
    font-size: 18px;
}
.navbar-nd .navbar-bars-badge {
    min-width: 11px;
    height: 11px;
    border-radius: 50%;
    background-color: #ed3a4a;
    color: #ffffff;
    font-style: normal;
    padding: 0;
    letter-spacing: inherit;
    font-size: 11px;
    line-height: 20px;
    /* min-width: 27px; */
    font-weight: 500;
    margin-left: 5px;
    position: relative;
    box-sizing: border-box;
    display: inline-block;
    /* align-items: center; */
    /* font-size: 0; */
    /* line-height: 0; */
    /* outline: 0; */
    background-color: #ed3a4a;
    color: #fff;
    /* text-align: left; */
    transition: background-color .2s ease;
    text-align: center;
    /* justify-content: space-around; */
    position: absolute;
    top: 0;
    left: 12px;
}
.navbar-nd .bars a {
    color: #555;
    padding-right: 16px;
    padding-left: 6px;
}
.navbar-nd .logo svg {
    width: 35px;
    height: 44px;
    padding: 5px 0 0 0;
}
.navbar-nd .avatar a {
    font-size: 18px;
    color: #555555;
    padding-right: 6px;
}
.header-logo-link-small {
    /*    display: inline-block;
        width: 24px;
        height: 22px;
        background: url(../i/logo-240-letter.png) no-repeat 0px 0px;
        background-size: cover;
        !* image-rendering: pixelated; *!
        float: left;
        !* position: relative; *!
        margin: 15px 0 0 5px;*/
}
.header-logo-link {
    /*    display: inline-block;
        width: 120px;
        height: 22px;
        background: url(../i/logo-240.png) no-repeat 0px 0px;
        background-size: cover;
        !* image-rendering: pixelated; *!
        float: left;
        !* position: relative; *!
        margin: 15px 0 0 0;*/
}
.header-logo a {
    border-bottom: 0;
}

/* Бургер-меню
-----------------------------------------------------------------------------*/
.ng-menu-adaptive {
    display: none;
    width: 400px;
    height: 100%;
    position: fixed;
    background: #ffffff;
    z-index:1000;
    /*padding-top: 50px;*/
    top: 0;
    /*left: 0;*/
    /*position: relative;*/
    box-sizing: border-box;
    padding-top: 0;
    padding-bottom: 64px;
    min-height: 100%;
    overflow-y:scroll;
    scrollbar-width: none; /* For Firefox */
    -ms-overflow-style: none; /* For Internet Explorer and Edge */
}

.ng-menu-adaptive::-webkit-scrollbar {
    width: 0; /* For Chrome, Safari, and Opera */
}

.ng-menu-adaptive .menu-close {
    position: absolute;
    right: 10px;
    top: 10px;
    color: #555;
    font-size: 18px;
    /* background: darksalmon; */
    padding: 0 13px;
}

.ng-menu-adaptive .logo {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    height: 44px;
    background-color: #f5f5f6;
    color: #333;
    padding-right: 24px;
    padding-left: 24px;
}
.ng-menu-adaptive .logo svg {
    width: 101px;
    height: 30px;
    padding: 6px 0 0 0;
}

.ng-menu-adaptive .menu-main-link a {
    color: black;
    font-size: 25px;
}

.ng-menu-adaptive .menu-chapter-header {
    padding: 10px 22px 10px 24px;
    text-transform: uppercase;
    word-wrap: break-word;
    /* font-family: haas,pragmatica,EllipsisFallback,Helvetica,Arial,sans-serif; */
    letter-spacing: .4px;
    font-size: 11px;
    line-height: 16px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 44px;
    border-bottom: 1px solid #eaeaea;
    cursor: pointer;
}
.ng-menu-adaptive .menu-chapter-header .fal {
    margin: 0 5px 0 0;
}

.ng-menu-adaptive .menu-chapter-header .menu-chapter-arrow {
    /*right: 10px;*/
    margin-left: auto;
    font-size: 14px;
}

.ng-menu-adaptive .menu-chapter-container {
    display: none;
    cursor: pointer;
    /*display: block;*/
    padding: 0 0 16px 0;
    border-bottom: 1px solid #eaeaea;
}

.ng-menu-adaptive .menu-chapter-container.menu-chapter-open {
    display: block;
}

.ng-menu-adaptive .menu-chapter-container a {
    display: block;
}
.ng-menu-adaptive .menu-chapter-item {
    display: block;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    padding: 12px 16px 10px 33px;
    height: 36px;
    text-decoration: none;
    word-wrap: break-word;
    letter-spacing: inherit;
    font-size: 13px;
    line-height: 20px;
    color: #555555;
}
.ng-menu-adaptive .menu-chapter-item.last {
    border-bottom: 1px solid #eaeaea;
    margin: 0 0 15px 0;
    height: 50px;
}

.ng-menu-overlay {
    width: 100%;
    position: absolute;
    height:100%;
    opacity: 0;
    z-index:500;
    background-color: #000;
}
.ng-menu-adaptive .menu-footer {
    text-align: center;
    margin: 30px 0 0 0;
}
.ng-menu-adaptive .menu-footer a {
    align-items: center;
    padding: 10px;
    height: 36px;
    text-decoration: none;
    word-wrap: break-word;
    letter-spacing: inherit;
    font-size: 13px;
    line-height: 20px;
    color: #555555;
}

.ng-menu-adaptive .menu-btn-create {
    background: #F3F3F3;
    border-radius: 4px;
    margin: 10px 20px 10px 20px;
    text-align: center;
    text-transform: uppercase;
    word-wrap: break-word;
    /* font-family: haas,pragmatica,EllipsisFallback,Helvetica,Arial,sans-serif; */
    letter-spacing: .4px;
    font-size: 11px;
    line-height: 16px;
    /* display: flex; */
    /* align-items: center; */
    /* justify-content: flex-start; */
    height: 33px;
    /* border-bottom: 1px solid #eaeaea; */
    cursor: pointer;
    padding: 9px 0 0 0;
}
.ng-menu-adaptive .menu-badge {
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    /* background-color: #ed3a4a; */
    /* color: #fff; */
    font-style: normal;
    padding: 0;
    letter-spacing: inherit;
    font-size: 9px;
    line-height: 17px;
    font-weight: 400;;
    margin-left: 5px;
    position: relative;
    box-sizing: border-box;
    display: inline-block;
    background-color: #fff;
    color: #ed3a4a;
    transition: background-color .2s ease;
    text-align: center;
    border: 1px solid #ed3a4a;
}

.ng-menu-adaptive .menu-search {
    padding: 5px 0 0 0;
    margin: 5px 20px 0 20px;
}
.ng-menu-adaptive .menu-search input {
    border: 1px solid #eaeaea;
    padding: 5px 5px 6px 10px;
    border-radius: 4px 0px 0px 4px;
    color: #555555;
}
.ng-menu-adaptive .menu-search button {
    color: #999;
}
.ng-menu-adaptive .menu-search input::-webkit-input-placeholder {
    color: #999;
    font-size: 13px;
}
.ng-menu-adaptive .menu-search input::-moz-placeholder {
    color: #999;
    font-size: 13px;
}
.ng-menu-adaptive .menu-search input:-ms-input-placeholder {
    color: #999;
    font-size: 13px;
}
.ng-menu-adaptive .menu-search input::placeholder {
    color: #999;
    font-size: 13px;
}

.ng-menu-adaptive .menu-links a {
    display: block;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    padding: 12px 16px 10px 33px;
    height: 36px;
    text-decoration: none;
    word-wrap: break-word;
    letter-spacing: inherit;
    font-size: 13px;
    line-height: 20px;
    color: #555555;
}

@media (max-width: 768px) {
    .header-adaptive .ng-menu-adaptive {
        width: 90%;
    }

}

/* Настройки для конкретных меню */
.ng-menu-actions {
    left: 0;
}

.ng-menu-user {
    right: 0;
}


/* Карусельки (адаптивные универсальные) */
/* Адаптивная каруселька */
.adaptive-carousel {
    white-space: nowrap;
    scrollbar-width: none; /* For Firefox */
    -ms-overflow-style: none; /* For Internet Explorer and Edge */
    position: relative;
    transition-property: left;
    transition-duration: .3s;
    transition-timing-function: ease;

    overflow: hidden;
    overflow-x: scroll;
    -webkit-overflow-scrolling: touch;
}

.adaptive-carousel::-webkit-scrollbar{
    width: 0px; /* For Chrome, Safari, and Opera */
}

.adaptive-carousel-container {
    position: relative;
}

.adaptive-carousel-container .carousel-arrow {
    position: absolute;
    top: 50%;
    height: 35px;
    width: 35px;
    background-color: #fff;
    border-radius: 50%;
    padding-top: 7px;
    padding-left: 7px;
    font-size: 20px;
    font-weight:900;
    cursor: pointer;
    -webkit-box-shadow: 0 -1px 4px 0 rgba(14,21,47,.04), 0 4px 12px 0 rgba(14,21,47,.08);
    box-shadow: 0 -1px 4px 0 rgba(14,21,47,.04), 0 4px 12px 0 rgba(14,21,47,.08);
}

.adaptive-carousel-container .carousel-left-arrow {
    left: 10px;
}

.adaptive-carousel-container .carousel-right-arrow {
    right: 10px;
}


.product-reviews::-webkit-scrollbar { width: 0 !important }
.product-reviews { overflow: -moz-scrollbars-none; }
.product-reviews { -ms-overflow-style: none; }


.adaptive-carousel-item {
    position: relative;
    display: inline-block;
    width: 244px;
    height: 225px;
    margin-left: 15px;
    vertical-align: top;
    white-space: normal;
    border-radius: 6px;
/*    -webkit-transition: opacity .15s ease-out,.15s margin-right .15s ease-out,.15s visibility .15s;
    transition: opacity .15s ease-out,.15s margin-right .15s ease-out,.15s visibility .15s;
    color: #000;
    background-color: #fff;
    -webkit-box-shadow: 0 -1px 4px 0 rgba(14,21,47,.04), 0 4px 12px 0 rgba(14,21,47,.08);
    box-shadow: 0 -1px 4px 0 rgba(14,21,47,.04), 0 4px 12px 0 rgba(14,21,47,.08);*/
}
.adaptive-carousel-item:first-child {
    margin-left: 20px;
}
.adaptive-carousel-item .carousel-photo-container {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 140px;
    border-radius: 5px 5px 0 0;
    background-repeat: no-repeat;
    background-position: center;
    -webkit-background-size: cover;
    background-size: cover;
}

.adaptive-carousel-item .carousel-text-container {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    height: 83px;
    padding: 8px 14px 12px;
    border-bottom-right-radius: 6px;
    border-bottom-left-radius: 6px;
}

/* Ng menu */

.ng-menu-overlay {
    width: 100%;
    position: absolute;
    height:100%;
    opacity: 0;
    z-index:500;
    background-color: #000;
}
