/************************************
    APPS menu for Flowlu.com
*************************************/

.flw-apps-menu {
    display: flex;
    display: -webkit-flex;
    flex-flow: row wrap;
    align-items: flex-start;
}

.flw-apps-menu .flw-apps-menu__item {
    display: flex;
    display: -webkit-flex;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    padding: 5px;
    height: 100px;
    width: 130px;
}

.flw-apps-menu .flw-apps-menu__item:hover {
    text-decoration: none;
    box-shadow: 0 3px 6px rgba(0, 0, 0, .2), 0 3px 6px rgba(0, 0, 0, .26);
    transition: box-shadow .38s cubic-bezier(.4, 0, .2, 1);
}

.flw-apps-menu .flw-apps-menu__item:hover .flw-apps-menu__item-icon {
    transition: .9s;
    color: rgba(54, 198, 211, 0.7);
}

.flw-apps-menu .flw-apps-menu__item-icon {
    font-size: 32px;
    color: rgba(85, 85, 85, 0.5);
}

.flw-apps-menu .flw-apps-menu__item-name {
    color: #555;
    margin-top: 5px;
    font-size: 13px;
}

.flw-apps-menu__footer-link:hover {
    text-decoration: none;
}
/*Kostily*/

.flw-header-link a {
    color: #c6cfda;
    text-decoration: none;
}

.flw-header-link {
    color: #c6cfda;
    height: 50px;
    padding: 5px 10px;
}

.flw-header-link a:hover {
    text-decoration: none;
}

.flw-header-link:hover {
    background-color: #3f4f62;
}

.input-group input:first-child {
    border-right: none !important;
}

.input-group-lg>.input-group-btn>.btn:last-child {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-top-right-radius: 6px !important;
    border-bottom-right-radius: 6px !important;
}

.input-group>.input-group-btn>.btn:last-child {
    border-top-left-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
}

.tag {
    cursor: pointer;
}

blockquote>p {
    font-size: 14px;
    margin: 0 0 5px;
}

.flw-dropdown>li>a {
    line-height: 18px;
}

.note-editor {
    z-index: auto;
}

.select2-dropdown {
    z-index: 10052 !important;
}

.component-editable-view-wrapper {
    display: block !important;
}

.select2-results__option[aria-selected=true] {
    display: none;
}

.portlet.light>.portlet-title {
    min-height: 0;
}

.page-sidebar.flw-sidebar {
    width: 200px;
    position: fixed;
    top: 50px;
    min-height: 100%;
    height: 100%;
    z-index: 10;
}

.page-sidebar .page-sidebar-menu {
    width: 200px;
}

.page-header.navbar .top-menu .navbar-nav>li.dropdown.dropdown-notification>.dropdown-toggle.flw-notific>i.material-icons {
    font-size: 24px
}

.page-header.navbar .top-menu .navbar-nav>li.dropdown.dropdown-notification>.dropdown-toggle.flw-notific {
    padding: 13px 7px;
}

.page-header.navbar .top-menu .navbar-nav>li.dropdown.dropdown-notification>.dropdown-toggle.flw-notific>.badge {
    top: 5px;
}

.page-header.navbar .top-menu .navbar-nav>li.dropdown.dropdown-notification>.dropdown-toggle.flw-notific>.badge:empty {
    display: none;
}

.portlet.light.issues-list-container.md-shadow-none {
    margin-bottom: 0;
}

.page-header.navbar .top-menu .navbar-nav>li.dropdown.dropdown-left .dropdown-menu:after {
    left: 19px;
    right: unset;
}

.page-header.navbar .top-menu .navbar-nav>li.dropdown.dropdown-left .dropdown-menu:before {
    left: 18px;
    right: unset;
}

.page-header.navbar .top-menu .navbar-nav>li.dropdown .flw-apps-menu__wrapper.dropdown-menu:after {
    left: 193px;
    right: unset;
}

.page-header.navbar .top-menu .navbar-nav>li.dropdown .flw-apps-menu__wrapper.dropdown-menu:before {
    left: 192px;
    right: unset;
}

ul.dropdown-menu.dropdown-user__menu:after {
    right: 18px !important;
}

ul.dropdown-menu.dropdown-user__menu:before {
    right: 17px !important;
}


/*END:KOSTILY*/

.note-editor p {
    margin: 0 0 10px 0;
}

/*SCROLLBAR Style*/

.scrollbar::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.scrollbar::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background: rgba(190, 190, 190, 0.6);
}

.scrollbar::-webkit-scrollbar-track {
    box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
}

/*END: SCROLLBAR Style*/

.nav.nav-tabs.flw-nav>li>a {
    padding: 7px 0px 6px;
}

.nav.nav-tabs.flw-nav>li {
    margin-left: 10px;
    margin-right: 10px;
}

.nav.nav-tabs.flw-nav>li:first-child {
    margin-left: 0;
}

.nav.nav-tabs.flw-nav>li, .nav.nav-tabs.flw-nav>li.active, .nav.nav-tabs.flw-nav>li.open, .nav.nav-tabs.flw-nav>li:hover {
    border-bottom-width: 2px
}

.flw-actions-toolbar {
    border-bottom: 1px solid;
    padding: 10px 20px
}

/*avatar fix*/

.avatar img {
    vertical-align: top;
}


/*Page Title*/

body.page-pagebar-fixed .page-bar {
    min-height: 50px;
}

#sidecenter {
    z-index: 1;
}

/* RIGHT side panel */

.sidepanel {
    background: #fff;
    width: 800px;
    height: auto;
    bottom: 0;
    transition: transform 150ms cubic-bezier(0.6, 0.2, 0.3, 1), right 0.25s;
    z-index: 2000;
}

.sidepanel.sidepanel-hide {
    transform: translateX(100%);
}

h3.sidepanel-title {
    background: #fff;
    color: #555;
    margin: 0;
    border-bottom: 1px solid #e7ecf1;
    padding: 6px 20px 9px 20px;
    font-weight: 300;
    font-size: 24px;
    line-height: 1.3;
}

h3.sidepanel-title>span {
    margin-right: 46px;
    display: block;
    white-space: nowrap;
    overflow: hidden;
}


/*for editable padding fix*/

h3.sidepanel-title .component-editable {
    margin-left: -7px
}

.sidepanel .sidepanel-content {
    box-sizing: border-box;
    height: calc(100% - 78px);
    overflow-y: auto;
    padding: 20px;
}

.sidepanel h3.sidepanel-title {
    min-height: 51px;
}

.sidepanel h3.sidepanel-title>span {
    padding: 2px 32px 2px 7px;
}

.sidepanel .btn-close {
    cursor: pointer;
    height: 48px;
    width: 22px;
    position: absolute;
    top: 1px;
    left: -12px;
    padding: 13px 0;
}

.sidepanel .btn-close i {
    border-radius: 50%;
    border: 1px solid;
    padding: 1px;
    background: #fff;
}

.sidepanel .btn-close:hover>i {
    color: #212121 !important;
}

.sidepanel i.preloader {
    position: absolute;
    font-size: 86px;
    right: 46%;
    top: 40%;
    color: #ddd;
    opacity: 0.0;
    transition: transform .3s ease-in-out;
    transform: rotate(0deg);
}

.sidepanel i.preloader.show {
    opacity: 0.3;
    transform: rotate(90deg);
}

.sidepanel.width-lg {
    width: calc(100% - 200px);
}

body.page-sidebar-closed .sidepanel.width-lg {
    width: calc(100% - 45px);
}

.sidepanel.width-sm {
    width: 25%;
}


/* LEFT Side bar */


/***********************

    Global

************************/

body {
    background-color: #fff;
}

.page-sidebar-closed.page-sidebar-closed-hide-logo .page-header.navbar .page-logo {
    padding: 0;
    width: 45px;
}

.page-sidebar-closed.page-sidebar-closed-hide-logo .page-header.navbar .menu-toggler.sidebar-toggler {
    margin-right: 14px;
}

.page-sidebar .page-sidebar-menu, .page-sidebar-closed.page-sidebar-fixed .page-sidebar:hover .page-sidebar-menu {
    padding-bottom: 50px;
}

@media (min-width: 992px) {
    .page-sidebar-closed .page-sidebar .page-sidebar-menu.page-sidebar-menu-closed>li>a {
        padding-left: 6px;
    }
}

.nav:not(.nav-tabs)>li:not(.dropdown-user):hover>a, .nav:not(.nav-tabs)>li:not(.dropdown-user)>a:hover, .nav:not(.nav-tabs)>li:not(.dropdown-user)>a.active {
    background-color: #E9EDEF !important;
}

.page-header.navbar .top-menu .navbar-nav>li.dropdown.dropdown-user .dropdown-toggle.active {
    background-color: #3f4f62;
}

/*fix bootstrap focus rule! don't touch!*/

.nav>li>a:focus {
    background: none;
}

.sidepanel {
    transform: translateX(0);
    box-shadow: -4px 0 19px -10px;
}

@media (max-width: 1024px) {
    .sidepanel {
        width: 100%;
    }
    body.sidepanel-show .page-content {
        display: none;
    }
}

@media (max-width: 979px) {
    .sidepanel {
        top: 42px;
    }
    .sidepanel .sidepanel-content {
        height: calc(100% - 85px);
    }
}

.sidepanel .modal-header {
    padding: 15px 0;
}



/*******
Badge fix 
*********/

.badge {
    padding: 3px 6px 2px;
    box-shadow: none;
    font-weight: 300;
}

/**************************************************
    Left Side Bar (.sideleft) Style Rules
**************************************************/

.flw-sideleft__wrapper.flw-sideleft__wrapper--bordered {
    border-right: 1px solid #e7ecf1;
    min-height: 100%;
}

.sideleft li .badge {
    margin-top: 1px;
}

.fixedtop.full-width {
    right: 0;
    left: 515px;
}

[data-toggle="collapse"][aria-expanded="false"] .flw-collapse-icon {
    transform: rotate(-90deg);
}

.flw-collapse-icon {
    cursor: pointer;
    transition: transform ease .2s;
}

#sideleft {
    width: 300px;
    overflow-x: hidden;
    overflow-y: auto;
    z-index: 1;
}

#sideleft hr {
    margin: 10px -20px;
}

#sidecenter {
    left: 555px;
    right: 45%;
    overflow-x: hidden;
    overflow-y: auto;
}

#sideright {
    width: 45%;
    right: 0;
    border-left: 1px solid #e5e5e5;
    padding: 20px;
    overflow-x: hidden;
    overflow-y: auto;
    background: #fff;
}

#sideright h3.sidepanel-title {
    margin: -20px -20px 14px;
}

#sideright hr {
    margin: 10px -20px;
}

#sideright .alert-block, .sidepanel .alert-block {
    margin: 0 -20px 20px;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
}

#sideright .component-comments-container-short .chat-form {
    border-left: 0;
    border-right: 0;
}

#sideright .tabbable .nav-tabs {
    margin: 0 -20px 20px;
    padding: 0 20px;
}

#sideright .nav-tabs>li>a {
    font-size: 13px;
    padding-bottom: 2px;
}

#sidecenter .sidepanel-title {
    background-color: #fff;
    border-bottom-width: 0;
    padding-top: 0;
    padding-bottom: 0;
    font-size: 28px;
    letter-spacing: 0;
    color: #666;
    margin-top: 20px;
    margin-bottom: 15px;
    font-weight: 300;
    font-family: 'Open Sans', Arial, sans-serif;
}

#sideright .sidepanel-actions, .sidepanel .sidepanel-actions {
    margin: -5px -20px 20px;
    padding: 0 20px 10px;
    border-bottom: 1px solid #e5e5e5;
}

#btn-side-back {
    display: none;
}

/*************
    NOTES (Re-Markup)
*************/

.notes-notifier i.i-tasks {
    background: url('/static/img/icons_sprite.png') 112px 0 !important;
}

.notes-container {
    position: fixed !important;
    top: 0;
    right: 0;
    height: 100%;
    width: 300px;
    background: white;
    z-index: 9999;
    -webkit-transition: transform 150ms ease-out;
    -moz-transition: transform 150ms ease-out;
    -ms-transition: transform 150ms ease-out;
    -o-transition: transform 150ms ease-out;
    transition: transform 150ms ease-out;
    transform: translateX(100%);
    -webkit-transform: translateX(100%);
    -moz-transform: translateX(100%);
    -o-transform: translateX(100%);
    -ms-transform: translateX(100%);
}

.notes-container.show {
    box-shadow: -4px 0 19px -10px black;
    transform: translateX(0);
    -webkit-transform: translateX(0);
    -moz-transform: translateX(0);
    -o-transform: translateX(0);
    -ms-transform: translateX(0);
}

.notes-container .scroller {
    margin-right: 20px !important;
    padding: 10px 0 !important;
}

.notes-container.hide {
    display: none;
}

.notes-container .notes-header {
    height: 76px;
    background-color: #57576c;
    width: 100%;
}

.notes-container .notes-header .button-collapse i {
    opacity: 0.5;
}

.notes-container .collapse {
    position: absolute;
    top: 29px;
    right: 23px;
    width: 12px;
    line-height: 12px;
    height: 12px;
    color: #ababb6;
    font-size: 16px;
    cursor: pointer;
}

.notes-container .collapse:before {
    font-family: 'FontAwesome', serif;
    content: "\f00d";
}

.notes-container .notes-body {
    background: #fefaee;
}

.notes-container .header-back {
    min-height: 33px;
    border-bottom: 1px solid #ece8dd;
    padding: 17px 0 17px 77px;
    position: relative;
    font-size: 14px;
    line-height: 14px;
}

.notes-container .header-back .back {
    height: 40px;
    line-height: 40px;
    width: 40px;
    border-radius: 50px;
    text-align: center;
    background: #efece2;
    position: absolute;
    top: 17px;
    left: 17px;
    font-size: 14px;
    color: #2f2f2f;
    cursor: pointer;
}

.notes-container .header-back .back:hover {
    background: #f7ba39;
}

.notes-container .header-back .back:before {
    font-family: 'FontAwesome', serif;
    content: "\f060";
    color: #4c4c59;
}

.notes-container .header-back .name {
    margin-top: 5px;
    margin-bottom: 3px;
}

.notes-container .header-back .date {
    font-size: 12px;
    color: #7b7b85;
}

.notes-container .new-note {
    padding: 17px 0;
    text-align: center;
    border-bottom: 1px solid #ece8dd;
}

.notes-container .new-note .btn {
    background: #f7ba39;
    color: white;
}

.notes-container .new-note .btn:hover {
    background: #ffde90;
}

.notes-container .notes {
    padding: 5px;
}

.notes-container .note {
    background: #ffecc0;
    padding: 18px;
    margin-bottom: 5px;
    position: relative;
    cursor: pointer;
    border-bottom: 1px solid #e4dabb;
    border-radius: 3px;
    color: #2b2b3b;
}

.notes-container .note:hover {
    background: #ffde90;
}

.notes-container .note .remove {
    position: absolute;
    display: inline-block;
    width: 20px;
    height: 20px;
    text-align: center;
    line-height: 20px;
    top: 5px;
    right: 5px;
    cursor: pointer;
    color: #c3baa7;
    font-size: 13px;
}

.notes-container .note .remove:hover {
    color: #b99b49;
}

.notes-container .note .remove:before {
    font-family: 'FontAwesome', serif;
    content: "\f00d";
}

.notes-container .note .text {
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 10px;
    max-height: 100px;
}

.notes-container .note .date {
    font-size: 11px;
    line-height: 11px;
    color: #87878d;
}

.notes-container .single-note .text {
    background: #ffecc0;
    padding: 10px;
    margin: 5px;
    border-radius: 3px;
    border-bottom: 1px solid #e4dabb;
}

.notes-container .single-note textarea {
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    background: white;
    width: 100%;
    resize: none;
    height: 271px;
    margin: 0 0 10px;
    box-sizing: border-box;
}

#notesContainer .notes-container .single-note .btn {
    height: auto;
    padding: 6px 12px;
}

/* IM */

#imContainer .im-container .chat .item .avatar-wrapper {
    position: absolute;
    margin: 0;
}

#imContainer .im-container .im-message-other .avatar-wrapper {
    left: 0
}

#imContainer .im-container .im-message-self .avatar-wrapper {
    right: 0;
}

/*IM Kostyly*/

.header-name-container {
    margin-left: 0 !important;
}

.header-name-container>.name>a {
    text-decoration: none;
    color: #333;
}

/*Fix of old icon (this button addad as another view. after full migration to m4, delete this rule)*/

#imContainer .im-container {
    z-index: 9000 !important;
}

#notesContainer .notes-container.show {
    z-index: 900;
}

/* fix of page-header menu line height! */

.page-header.navbar .hor-menu .navbar-nav>li>a {
    line-height: 24px;
}

/*Timetracker start*/

.timetracker__container.timer {
    position: relative;
    -webkit-transition: opacity 200ms cubic-bezier(0.6, 0.2, 0.3, 1);
    -moz-transition: opacity 200ms cubic-bezier(0.6, 0.2, 0.3, 1);
    -ms-transition: opacity 200ms cubic-bezier(0.6, 0.2, 0.3, 1);
    -o-transition: opacity 200ms cubic-bezier(0.6, 0.2, 0.3, 1);
    transition: opacity 200ms cubic-bezier(0.6, 0.2, 0.3, 1)
}

.timetracker__container.timer .total-time-spent, .timetracker__container.timer .total-time-estimate {
    opacity: 0
}

/*Timetracker end*/

/*********** BEGIN TOP PROMO BTN***************/

.top-promo-btn {
    height: 50px;
    display: inline-flex;
    display: -webkit-inline-flex;
    width: 160px;
}

.top-promo-btn:not(.feedback-btn) {
    margin-left: 73px;
}

.top-promo-btn a {
    display: table-row;
    padding: 0;
    color: #aaaab3;
    font-size: 14px;
    margin-top: 5px;
    line-height: 14px;
}

.top-promo-btn a:hover {
    text-decoration: none;
}

.top-promo-btn a span {
    display: table-cell;
    vertical-align: middle;
}

.top-promo-btn a span.update {
    padding-left: 10px;
    vertical-align: middle;
}

.top-promo-btn a:hover span.update {
    color: #BFF04D !important;
}

.top-promo-btn a:hover .btn__flat.btn__flat-green {
    border-color: #BFF04D;
}

.top-promo-btn a:hover .btn__flat {
    background-color: transparent !important;
}

.top-promo-btn i.crown {
    background: url(../img/crown.svg) no-repeat;
    color: #aaaab3;
    display: block;
    font-size: 24px;
    height: 21px;
    width: 21px;
}

.top-promo-btn.feedback-btn {
    position: fixed;
    display: flex;
    display: -webkit-flex;
    flex-direction: column;
    bottom: 0;
    height: 40px;
    width: 200px;
    background-color: #2b3643;
    z-index: 10;
    padding: 0 5px;
}

.top-promo-btn.feedback-btn:hover {
    background-color: #1B1B26;
    cursor: pointer;
}

.top-promo-btn.feedback-btn a {
    color: #fff;
    font-size: 13px;
}

.top-promo-btn.feedback-btn i.fa.fa-bullhorn {
    top: 2px;
    position: relative;
    font-size: 20px;
    vertical-align: middle;
}

.top-promo-btn.feedback-btn .btn__flat.btn__flat-green i {
    color: #BFF04D;
}

.top-promo-btn.feedback-btn .btn__flat {
    background-color: transparent;
    height: auto;
    line-height: normal;
    width: 28px;
}

.top-promo-btn.feedback-btn a:hover .btn__flat.btn__flat-green {
    border: 1px solid transparent;
}

.top-promo-btn.feedback-btn a:hover i {
    color: #BFF04D;
}

.top-promo-btn.feedback-btn a span:first-child {
    padding-right: 2px;
    padding-left: 5px;
    vertical-align: middle;
}

.page-sidebar-closed .top-promo-btn.feedback-btn {
    width: auto;
}

.page-sidebar-closed .top-promo-btn.feedback-btn a span.feedback-text {
    display: none;
}

.page-sidebar-closed .top-promo-btn.feedback-btn {
    width: auto;
    padding: 0;
    background-color: #1f2429;
    z-index: 10000;
}

.page-sidebar-closed .top-promo-btn.feedback-btn a span:first-child {
    padding-left: 11px;
    padding-right: 14px;
    background: #1f2429;
    border-width: 0;
    border-radius: 0;
}

.page-sidebar-closed .top-promo-btn.feedback-btn a:hover .btn__flat.btn__flat-green {
    border: 0 solid transparent;
}

.page-sidebar-closed .top-promo-btn.feedback-btn:hover a span.feedback-text {
    transform: translateX(35px);
    padding: 0 8px;
}

@media (max-width: 1200px) {
    .top-promo-btn {
        width: auto;
    }
}

@media (max-width: 1200px) {
    .top-promo-btn:not(.feedback-btn) a span:last-child {
        display: none;
    }
}


/*********************
    END:TOP PROMO BTN
**********************/

/*Style by Agile Sidebar.php*/

.sidebar-empty-placeholder {
    padding: 9px 5px;
    margin: 3px 20px;
    text-align: center;
    border: 1px dashed #9eacb4;
    color: #9eacb4;
    list-style: none;
    border-radius: 2px;
}


/*End Style by Agile Sidebar.php*/

/*Knowledgebase custom*/

pre.alert.alert-error.alert-danger, pre.alert.alert-info, pre.alert.alert-success {
    color: #333;
    white-space: normal !important;
    word-break: break-word;
    font-family: "Open Sans", sans-serif;
    border: 1px solid;
    box-shadow: none;
    border-radius: 3px;
}

pre.alert.alert-error.alert-danger {
    background: #fef2f2;
    border-color: #fcdddd;
}

pre.alert.alert-info {
    background: #f7fafe;
    border-color: #e4eefb;
}

pre.alert.alert-success {
    background: #f6fbf3;
    border-color: #ceebbd;
}


/**************************************************
    Leads Stages indicator template styles
**************************************************/

ul.leads-stages {
    width: 100%;
    white-space: nowrap;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    list-style: none;
    padding: 0 16px 0 0;
}

ul.leads-stages li span {
    color: #fff;
    font-weight: 300;
    font-size: 11px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

ul.leads-stages li {
    padding: 5px 5px 5px 20px;
    position: relative;
    margin: 0;
    background-color: transparent;
    text-align: center;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex: 1 0;
    -ms-flex: 1 0;
    flex: 1 0;
    min-width: 50px;
    text-transform: none!important;
    justify-content: center;
    line-height: 20px;
    background: #ACB5C3;
}

ul.leads-stages li:first-child {
    padding-left: 10px;
}

ul.leads-stages.clickable li {
    cursor: pointer;
}

ul.leads-stages li.active, ul.leads-stages.clickable li:hover, ul.leads-stages.clickable li:hover:after, ul.leads-stages.clickable li:hover:before, ul.leads-stages li.active:after, ul.leads-stages li.active:before {
    background: #32c5d2;
}

ul.leads-stages li:first-child {
    border-radius: 16px 0 0 16px;
}

ul.leads-stages li:after {
    bottom: 0;
    -webkit-transform: skew(-45deg);
    -ms-transform: skew(-45deg);
    transform: skew(-45deg);
}

ul.leads-stages li:before {
    top: 0;
    -webkit-transform: skew(45deg);
    -ms-transform: skew(45deg);
    transform: skew(45deg);
}

ul.leads-stages li:before, ul.leads-stages li:after {
    display: block;
    position: absolute;
    content: ' ';
    background: #ACB5C3;
    height: 50%;
    width: 16px;
    border-right: 5px solid #fff;
    right: -8px;
    z-index: 1;
}

ul.leads-stages.leads-stages--small li {
    min-width: 15px;
}

ul.leads-stages.leads-stages--small li:after, ul.leads-stages.leads-stages--small li:before {
    display: none;
}

ul.leads-stages.leads-stages--small li {
    border-right: 2px solid #fff;
}

ul.leads-stages.leads-stages--small li:last-child {
    border-radius: 0 6px 6px 0;
    border-right: 0;
}

ul.leads-stages.leads-stages--small li:first-child {
    border-radius: 6px 0 0 6px;
}

ul.leads-stages.leads-stages--small li:only-child {
    border-radius: 6px 6px 6px 6px;
}

ul.leads-stages.leads-stages--small li {
    min-width: 5px;
    flex-shrink: 0;
    padding-left: 0;
    padding-right: 0;
}

ul.leads-stages.leads-stages--small {
    padding-right: 0;
    margin-bottom: 0;
}


/*************************************************
    END:Leads Stages indicator template styles
*************************************************/


/**********************
    Helper Classes
************************/

.flex-row-center {
    display: flex;
    display: -webkit-flex;
    flex-flow: row;
    align-items: center;
    justify-content: center;
    align-content: center;
}

.flex-inline-flex {
    display: inline-flex !important;
    display: -webkit-inline-flex !important;
}

.flex-align-self--end {
    align-self: flex-end;
}

.mt-checkbox.mt-checkbox--no-margin {
    margin-bottom: 0;
}

.clear {
    clear: both;
}

.table-layout-fixed {
    table-layout: fixed;
}

.table-layout-auto {
    table-layout: auto;
}

.text-wrap {
    white-space: normal;
    word-wrap: normal;
}

.vcenter {
    display: inline-block;
    vertical-align: middle;
}

.padding-0 {
    padding: 0;
}

.padding-lr-15 {
    padding-left: 15px;
    padding-right: 15px;
}

.margin-right-5 {
    margin-right: 5px
}

.margin-left-5 {
    margin-left: 5px
}

.margin-left-10 {
    margin-left: 10px;
}

.margin-top-5 {
    margin-top: 5px !important;
}

.margin-lr-10 {
    margin-right: 10px !important;
    margin-left: 10px !important;
}

.margin-left-20 {
    margin-left: 20px !important;
}

.margin-lr-20 {
    margin-right: 20px !important;
    margin-left: 20px !important;
}

.padding-tb-5 {
    padding-top: 5px;
    padding-bottom: 5px;
}

.padding-tb-7 {
    padding-top: 7px;
    padding-bottom: 7px;
}

.padding-5 {
    padding: 5px;
}

.padding-10 {
    padding: 10px !important;
}

.padding-20 {
    padding: 20px !important;
}

.text-overflow {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.block {
    display: block;
}


/**********************
    END:Helper Classes
**********************/


/********************************************************
    Совсем НЕМаленькое гавно которое нужны выкашивать
 ********************************************************/


/* Рейтинг */

.rating-stars {
    color: #888;
}

.rating-stars i.star {
    color: #ffd203;
}


/* Таблицы */

.table.small thead tr th {
    font-size: 12px;
}

.table.small tr td {
    font-size: 12px;
}

td.right, th.right {
    text-align: right;
}


/* Chosen */

.chosen-container-single.chosen-container-active .chosen-drop {
    border-radius: 4px;
    border: 1px solid #e5e5e5;
    min-width: 170px;
    margin-top: 3px;
    padding-top: 4px;
}

.chosen-container-single.chosen-container-active .chosen-drop:before {
    content: '';
    display: inline-block;
    border-right: 7px solid transparent;
    border-bottom: 7px solid rgba(0, 0, 0, 0.2);
    border-left: 7px solid transparent;
    position: absolute;
    top: -7px;
    right: 6px;
}

.chosen-container-single.chosen-container-active .chosen-drop:after {
    content: '';
    display: inline-block;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #ffffff;
    position: absolute;
    top: -6px;
    right: 7px;
}

.chosen-container.chosen-with-drop div.chosen-drop {
    left: auto;
}

div.chosen-container-single .chosen-single div b {
    background-position: 3px 6px;
}

div.chosen-container-single.chosen-container-active.chosen-with-drop .chosen-single div b {
    background-position: -15px 5px;
}

.chosen-container-single .slimScrollDiv, .chosen-container-single .slimScrollDiv ul.chosen-results {
    min-height: 31px;
}

.chosen-container-single ul.chosen-results {
    overflow: hidden;
}

.chosen-container-single .chosen-search input {
    width: 100% !important;
}

div.chosen-container-single .chosen-search input[type="text"] {
    border-bottom: 1px solid #e5e5e5;
    border-radius: 0;
    border-width: 0 0 1px 0;
    box-shadow: none !important;
}

.chosen-container-single .chosen-search input:focus, .chosen-container-single .chosen-search input:active {}

.chosen-controls {
    margin-bottom: -4px !important;
}

.chosen-controls .help-inline {
    display: inline-block;
    margin-top: 6px;
}

.chosen-container {
    display: block;
    margin: 0;
    padding: 0 !important;
    box-shadow: none !important;
}

.chosen-container-single {
    margin: 0 !important;
    padding: 0 !important;
}

.chosen-container-active.chosen-with-drop .chosen-single {
    border-bottom-right-radius: 5px !important;
    border-bottom-left-radius: 5px !important;
}

.chosen-container-single .chosen-single {
    border: 1px solid #c2cad8 !important;
    background: #fff !important;
}


/* fix chosen margins in form layouts */

.controls .chosen-container-single {
    float: left;
}

.chosen-container-single .chosen-single {
    box-shadow: none !important;
    background-image: none !important;
    filter: none !important;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
    height: 34px !important;
    border-color: #e5e5e5;
    margin: 0 !important;
}


/* enable form validation classes for chosen dropdowns */

.error .chosen-container-single .chosen-single {
    border-color: #B94A48;
}

.error .chosen-container-single .chosen-single span {
    color: #B94A48;
}

.success .chosen-container-single .chosen-single {
    border-color: #468847;
}

.success .chosen-container-single .chosen-single span {
    color: #468847;
}

.chosen-container-single .chosen-single>span {
    margin-top: 5px;
}

.chosen-container.chosen-container-single a.chosen-single {
    padding: 0 0 0 10px;
}

.chosen-container-single .chosen-single>.abr {
    margin-top: 3px;
}

.chosen-container .chosen-choices li.search-choice {
    filter: none !important;
    box-shadow: none !important;
    font-size: 12px !important;
    font-weight: 300 !important;
    text-shadow: none !important;
    background: #eee none !important;
    border: 0 !important;
}

.chosen-container.chosen-with-drop .chosen-results li.highlighted {
    filter: none !important;
    background: #eee none !important;
    color: #111 !important;
}

.chosen-container-multi .chosen-choices {
    background-image: none !important;
    filter: none !important;
    box-shadow: none !important;
    border-color: #e5e5e5 !important;
    padding: 2px 1px 1px 5px !important;
}

.chosen-container-multi .chosen-choices .search-choice.search-choice-disabled {
    background-image: none !important;
    filter: none !important;
}

.chosen-x-multi .chosen-choices {
    box-shadow: none !important;
}

.chosen-container .group-result {
    color: #333 !important;
    font-size: 16px !important;
    font-weight: 400 !important;
}

.chosen-container div.chosen-drop {
    opacity: 0;
    -webkit-transition: opacity .2s, transform .2s, -webkit-transform .2s;
    -moz-transition: opacity .2s, transform .2s, -webkit-transform .2s;
    -ms-transition: opacity .2s, transform .2s, -webkit-transform .2s;
    -o-transition: opacity .2s, transform .2s, -webkit-transform .2s;
    transition: opacity .2s, transform .2s, -webkit-transform .2s;
    -webkit-transform: translate3d(0, -10px, 0);
    -moz-transform: translate3d(0, -10px, 0);
    -ms-transform: translate3d(0, -10px, 0);
    -o-transform: translate3d(0, -10px, 0);
    transform: translate3d(0, -10px, 0);
}

.chosen-container.chosen-with-drop div.chosen-drop {
    top: 100%;
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    -moz-transform: translate3d(0, 0, 0);
    -ms-transform: translate3d(0, 0, 0);
    -o-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}


/*tmp style while editable */

.flw-icon-text__title.flw-icon-text__title--has-editable {
    margin-left: -7px;
}


/*END:Icons & text 2.0 */


/* round icons (это тоже маленькое гамно, которое нужно убить) */

.round-icon {
    position: relative;
    margin: 0 15px 0 0;
    padding: 9px 20px 10px 64px;
    font-size: 13px;
    line-height: 16px;
    float: left;
    color: #4b4b59;
}

.round-icon .title {
    font-size: 85%;
}

.round-icon>i {
    height: 50px;
    line-height: 50px !important;
    width: 50px;
    text-align: center;
    border-radius: 50px;
    background: #949299;
    font-family: 'FontAwesome';
    display: block;
    content: "\f073";
    position: absolute;
    top: 0;
    left: 0;
    color: white;
    font-size: 24px;
    -webkit-transition: background-color 0.3s ease-in-out;
    -moz-transition: background-color 0.3s ease-in-out;
    -ms-transition: background-color 0.3s ease-in-out;
    -o-transition: background-color 0.3s ease-in-out;
    transition: background-color 0.3s ease-in-out;
}

.round-icon.green>i {
    background: #71b521;
}

.round-icon.red>i {
    background: #E06055;
}

.round-icon.blue>i {
    background: #57b5e3;
}

.round-icon.yellow>i {
    background: #ffb848;
}

.round-icon.purple>i {
    background: #9574CF;
}

.round-icon.muted>i {
    background-color: #eeeeee !important;
}

.round-icon .total-time-spent, .round-icon .total-time-estimate {
    -webkit-transition: opacity 0.3s ease-in-out;
    -moz-transition: opacity 0.3s ease-in-out;
    -ms-transition: opacity 0.3s ease-in-out;
    -o-transition: opacity 0.3s ease-in-out;
    transition: opacity 0.3s ease-in-out;
}

.round-icon.muted .task-header-block {
    color: #999999;
}

hr.full-hr {
    margin: 20px -20px;
}


/* Отображение компонента Task_list + он еще тянет свои стили */

.task-row .row-fluid.project-title {
    height: 62px;
}


/* Left filter - Lists module, example: /_module/basic/view/in_list_filter */

.todo-sidebar .filter-item {
    font-size: 12px;
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
    padding-bottom: 5px;
}

.todo-sidebar .filter-item .mt-checkbox, .todo-sidebar .filter-item .mt-radio {
    margin-bottom: 2px;
    font-size: 12px;
    padding-left: 22px;
    line-height: 20px;
}

.todo-sidebar .filter-item .chosen-container {
    width: 190px !important;
}

.todo-sidebar .filter-item .range {
    padding: 10px 0;
}

.todo-sidebar .filter-item .range input {
    float: left;
    width: 87px;
    font-size: 12px;
    padding: 0 5px;
}

.todo-sidebar .filter-item .range span.middle {
    float: left;
    height: 34px;
    line-height: 34px;
    padding: 0 5px;
    color: #ccc;
}

.todo-sidebar .filter-item .filter-select {
    padding: 10px 0;
}


/* Projects left menu KOSTYLY!!!!*/

.todo-sidebar .nav.menu {
    margin: -10px 0px 0;
}

.todo-sidebar .nav.menu.user {
    margin: -10px -20px 0;
}

.todo-sidebar .nav.menu li {
    border-left: 4px solid transparent;
}

.todo-sidebar .nav.menu li:hover {
    border-left: 4px solid #eee;
}

.todo-sidebar .nav.menu li.active {
    border-left: 4px solid #ed6b75;
}

.todo-sidebar .nav.menu li .avatar {
    margin-top: -5px !important;
}


/*****************
Icons & text 2.0 (
*****************/

.flw-icon-text .flw-icon-text__icon {
    font-size: 36px;
    margin-right: 10px;
    float: left;
}

.flw-icon-text .flw-icon-text__text {
    padding-left: 46px;
    text-align: left;
}


/**************************
    New ListView Style (2.0)
***************************/

.flw-list__item {
    position: relative;
}

.flw-list__item.flw-list__item--has-border-bottom {
    border-bottom: 1px solid #E9EDEF;
}

.flw-list__item:hover, .flw-list__item.active, .flw-list__item:hover .flw-list__item-secondary-content.flw-list__item-secondary-content--white, .flw-list__item.active, .flw-list__item.active .flw-list__item-secondary-content.flw-list__item-secondary-content--white {
    background: #E9EDEF;
}

.flw-list__item .flw-list__item-icon {
    float: left;
    padding-top: 10px;
    padding-left: 20px;
    padding-right: 30px;
}

.flw-list__item .flw-list__item-icon.flw-list__item-icon--fixed-width {
    max-width: 60px;
    width: 60px;
}

.flw-list__item .flw-list__item-primary-content {
    display: block;
    padding: 10px 20px 10px 0;
    text-decoration: none;
}

a.flw-list__item-primary-content:hover, a.flw-list__item-primary-content:focus {
    text-decoration: none;
}

.flw-list__item .flw-list__item-secondary-content {
    position: absolute;
    right: 0;
    top: 0px;
    bottom: 0;
    margin: 0;
}

.flw-list__item .flw-list__item-secondary-content.flw-list__item-secondary-content--white {
    background-color: #fff;
}

.flw-list__item .flw-list__item-secondary-content::after {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.flw-list__item .flw-list__item-secondary-item {
    display: inline-block;
    vertical-align: middle;
}


/*************************************
    Magic Hover controls feature
*************************************/

.hover-controls {
    display: none;
}

.hover-controls.hover-controls--inline {
    position: relative;
}

.hover-controls>button, .hover-controls>a {
    margin-right: 5px;
}

:hover>.hover-controls {
    display: block;
}

:hover>.hover-controls.hover-controls--inline {
    display: inline-block;
}

.hover-controls.hover-controls--right {
    position: absolute;
    right: 0;
}

.hover-controls.hover-controls--left {
    position: absolute;
    left: 0;
}

.hover-controls.hover-controls--middle {
    position: absolute;
    top: 0;
    bottom: 0;
}

.hover-controls.hover-controls--right::after, .hover-controls.hover-controls--left::before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.hover-controls--right.hover-controls.hover-controls--faded::before {
    background: -moz-linear-gradient(to right, rgba(233, 237, 239, 0), #E9EDEF 100%);
    background: -webkit-linear-gradient(to right, rgba(233, 237, 239, 0), #E9EDEF 100%);
    background: -o-linear-gradient(to right, rgba(233, 237, 239, 0), #E9EDEF 100%);
    background: -ms-linear-gradient(to right, rgba(233, 237, 239, 0), #E9EDEF 100%);
    background: linear-gradient(to right, rgba(233, 237, 239, 0), #E9EDEF 100%);
}

.hover-controls--left.hover-controls.hover-controls--faded::after {
    background: -moz-linear-gradient(to left, rgba(233, 237, 239, 0), #E9EDEF 100%);
    background: -webkit-linear-gradient(to left, rgba(233, 237, 239, 0), #E9EDEF 100%);
    background: -o-linear-gradient(to left, rgba(233, 237, 239, 0), #E9EDEF 100%);
    background: -ms-linear-gradient(to left, rgba(233, 237, 239, 0), #E9EDEF 100%);
    background: linear-gradient(to left, rgba(233, 237, 239, 0), #E9EDEF 100%);
}

.hover-controls.hover-controls--right.hover-controls--faded::before, .hover-controls.hover-controls--left.hover-controls--faded::after {
    content: '';
    position: absolute;
    top: 0;
    height: 100%;
    width: 20px;
}

.hover-controls.hover-controls--right.hover-controls--faded::before {
    left: -20px;
}

.hover-controls.hover-controls--left.hover-controls--faded::after {
    right: -20px;
}


/*COMPONENT LIST hover-controls*/

.component-list-hover-controls {
    display: none;
}

.component-list-hover-controls {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    background: #f3f4f6;
}

.component-list-hover-controls:after {
    content: '';
    display: inline-block;
    vertical-align: middle;
    height: 100%;
}

.component-list-hover-controls:after {
    content: '';
    display: inline-block;
    vertical-align: middle;
    height: 100%;
}

.component-list-hover-controls:before {
    content: '';
    position: absolute;
    top: 0;
    left: -200%;
    width: 200%;
    height: 100%;
    background: -moz-linear-gradient(to right, rgba(243, 244, 246, 0), #f3f4f6 100%);
    background: -webkit-linear-gradient(to right, rgba(243, 244, 246, 0), #f3f4f6 100%);
    background: -o-linear-gradient(to right, rgba(243, 244, 246, 0), #f3f4f6 100%);
    background: -ms-linear-gradient(to right, rgba(243, 244, 246, 0), #f3f4f6 100%);
    background: linear-gradient(to right, rgba(243, 244, 246, 0), #f3f4f6 100%);
}

tr:hover>td>.component-list-hover-controls {
    display: block;
}


/*END: Magic Hover controls feature style*/


/*Date_info styles*/

.dashed {
    cursor: pointer;
    border-bottom: 1px dashed #555;
}


/*END:Date_info styles*/

/*******************************
    Material Icons
************************************/

.material-icons,
.material-symbols-outlined {
    vertical-align: middle;
}

.material-icons.flw-i,
.material-symbols-outlined.flw-i {
    font-size: 18px;
    margin-right: 5px;
}


/* Rules for sizing the icon. */


/*do not use unless absolutely necessary*/

.material-icons.md-12,
.material-symbols-outlined.md-12 {
    font-size: 12px;
}

.material-icons.md-14,
.material-symbols-outlined.md-14 {
    font-size: 14px;
}

.material-icons.md-16,
.material-symbols-outlined.md-16 {
    font-size: 16px;
}


/*END:do not use unless absolutely necessary*/

.material-icons.md-18,
.material-symbols-outlined.md-18 {
    font-size: 18px;
}

.material-icons.md-24,
.material-symbols-outlined.md-24 {
    font-size: 24px;
}

.material-icons.md-36,
.material-symbols-outlined.md-36 {
    font-size: 36px;
}

.material-icons.md-48,
.material-symbols-outlined.md-48 {
    font-size: 48px;
}


/* Rules for using icons as black on a light background. */

.material-icons.md-dark,
.material-symbols-outlined.md-dark {
    color: rgba(0, 0, 0, 0.54);
}

.material-icons.md-dark.md-inactive,
.material-symbols-outlined.md-dark.md-inactive {
    color: rgba(0, 0, 0, 0.26);
}


/* Rules for using icons as white on a dark background. */

.material-icons.md-light,
.material-symbols-outlined.md-light {
    color: rgba(255, 255, 255, 1);
}

.material-icons.md-light.md-inactive,
.material-symbols-outlined.md-light.md-inactive {
    color: rgba(255, 255, 255, 0.3);
}


/*FLW buttton with only icons for material icons style*/

.flw-mi-btn-spacer {
    display: inline-block;
    width: 30px;
}

.flw-mi-btn {
    padding: 0 !important;
    background: transparent;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
    position: relative;
    line-height: 0;
    display: inline-block;
}
.flw-mi-btn--yellow-shadowed:hover::before {
    background: rgb(198 160 28 / 0.1) !important;
}
.flw-mi-btn--yellow-shadowed:hover i {
    color: var(--color-yellow--dark) !important;
}
.flw-mi-btn--blue-shadowed:hover::before {
    background: rgb(20 91 187 / 0.1) !important;
}
.flw-mi-btn--blue-shadowed:hover i {
    color: var(--color-blue) !important;
}
.flw-mi-btn--red-shadowed:hover::before {
    background: rgb(212 59 69 / 0.1) !important;
}
.flw-mi-btn--red-shadowed:hover i {
    color: var(--color-red) !important;
}

a.flw-mi-btn {
    text-decoration: none;
    color: inherit;
}

.flw-mi-btn>i {
    margin: 0 !important;
}

.flw-mi-btn:hover {
    background: transparent !important;
}

.flw-mi-btn:hover>i {
    color: #fff;
}

.flw-mi-btn.favorites>i {
    color: #C5BF66;
}

.flw-mi-btn.favorites:hover>i {
    color: #C5BF66;
}


/*for use with default btns*/

.flw-mi-btn.flw-mi-btn-lg>i {
    font-size: 34px;
}


/*for use with btn-sm*/

.flw-mi-btn.flw-mi-btn-sm>i {
    font-size: 30px;
}


/*for use with btn-xs*/

.flw-mi-btn.flw-mi-btn-xs>i {
    font-size: 23px;
}

.flw-mi-btn:hover::before {
    content: '';
    position: absolute;
    top: -4px;
    right: -4px;
    bottom: -4px;
    left: -4px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    margin: auto;
    padding: 4px;
}

.flw-mi-btn:focus::before {
    content: "";
    position: absolute;
    top: -4px;
    right: -4px;
    bottom: -4px;
    left: -4px;
    margin: auto;
    padding: 4px;
    background: rgba(0, 0, 0, 0.12);
    border-radius: 50%;
}

.flw-mi-btn:hover>i {
    color: #2C3E50;
}


/**************************
    KnowledgeBase Custom
***************************/

.flw-kb-main-header:before {
    content: '';
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.flw-kb-main-header-content {
    margin: 85px auto;
    padding-left: 20px;
    padding-right: 20px;
}

.flw-kb-main-header {
    background-position: center;
    margin: 0 -35px;
    background: url(/application/classes/Module/Knowledgebase/static/img/pattern.png), radial-gradient(ellipse farthest-side at 100% 100%, #33a5e9 20%, #367cd1 50%, #1657cc 110%);
}

.flw-kb-main-header h1, .flw-kb-main-header h4 {
    color: #fff;
}

.flw-kb-main-header h1 {
    font-size: 50px;
    font-weight: 500;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, .2);
}

.flw-kb-search-header {
    height: 146px;
    background-position: center;
    margin: 0 -15px;
    background: url(/application/classes/Module/Knowledgebase/static/img/pattern.png), radial-gradient(ellipse farthest-side at 100% 100%, #33a5e9 20%, #367cd1 50%, #1657cc 110%);
}

.flw-kb-search-header>.search-wrapper {
    margin-top: 50px;
}

.flw-search-addon-btn {
    background: #fff;
    border-left: none !important;
    box-shadow: none !important;
    border-color: #c2cad8;
}

.flw-search-addon-btn i {
    padding: 4px;
}


/******************************************************
    USERINFO & Assignee ( and others flex ui features)
******************************************************/

.profile-userpic img {
    width: 100%;
    height: 100%;
}

.flw-userinfo, .flw-icon-with-text {
    display: -webkit-flex;
    display: flex;
    flex-flow: row;
    align-items: center;
}

.flw-icon-with-text.flw-icon-with-text--inline {
    display: inline-flex;
    display: -webkit-inline-flex;
}

.flw-userinfo .flw-userinfo__avatar, .flw-icon-with-text .flw-icon-with-text__icon {
    display: -webkit-flex;
    display: flex;
    flex: 0 0;
}

.flw-icon-with-text .flw-icon-with-text__icon {
    margin-right: 10px;
}

.flw-icon-with-text .flw-icon-with-text__icon.flw-icon-with-text__icon--has-offset {
    margin-right: 22px;
}

.flw-userinfo .flw-userinfo__content, .flw-icon-with-text .flw-icon-with-text__content {
    display: -webkit-flex;
    display: flex;
    flex-flow: column;
}

.flw-userinfo .flw-userinfo__content {
    overflow: hidden;
}

.flw-userinfo .flw-userinfo__content.flw-userinfo__content--grow, .flw-icon-with-text .flw-icon-with-text__content.flw-icon-with-text__content--grow {
    flex: 1 0;
}

.flw-userinfo .flw-userinfo__content-title {}

.flw-userinfo .flw-userinfo__content-name {
    color: #555;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.flw-userinfo .flw-userinfo__content-subtitle {}

.flw-userinfo .flw-userinfo__action, .flw-icon-with-text .flw-icon-with-text__action {
    display: flex;
    display: -webkit-flex;
    flex: none;
    margin-left: 10px;
}

.rounded img {
    border-radius: 50%
}

.size20, .size20>img {
    width: 20px;
    height: 20px;
    line-height: 20px;
    font-size: 12px;
}

.size25, .size25>img {
    width: 25px;
    height: 25px;
    line-height: 25px;
    font-size: 13px;
}

.size30, .size30>img {
    width: 30px !important;
    height: 30px !important;
    line-height: 30px !important;
    font-size: 15px !important;
}

.size40, .size40>img, .avatar.rounded.size40 {
    width: 40px;
    height: 40px;
    line-height: 40px;
    font-size: 22px;
}

.size45, .size45>img {
    width: 45px;
    height: 45px;
    line-height: 44px;
    font-size: 24px;
}

.size50, .size50>img {
    width: 50px;
    height: 50px;
    line-height: 48px;
    font-size: 24px;
}

.size80, .size80>img {
    width: 80px;
    height: 80px;
    line-height: 80px;
    font-size: 40px;
}

.size200, .size200>img {
    width: 200px;
    height: 200px;
    line-height: 200px;
    font-size: 100px;
}

.size280, .size280>img {
    width: 280px;
    height: 280px;
    line-height: 280px;
    font-size: 140px;
}

.avatar-wrapper.size200.showonline:before {
    width: 14px;
    height: 14px;
    right: 20px;
    bottom: 20px;
}

.avatar-wrapper {
    position: relative;
    font-size: 0;
    line-height: 0;
}

.avatar {
    overflow: hidden;
    text-transform: uppercase;
    text-align: center;
    color: #fff;
}

.avatar-wrapper.size25.showonline:before {
    width: 6px;
    height: 6px;
    border: 1px solid #fff;
}

.avatar-wrapper.size20.showonline:before {
    width: 3px;
    height: 3px;
    border: none;
}

.avatar-wrapper.size50.showonline:before {
    bottom: 0;
    position: absolute
}

.avatar-wrapper.size160.showonline:before {
    position: absolute;
    bottom: 15px;
    right: 15px;
    width: 13px;
    height: 13px;
}

.avatar-wrapper.showonline.online:before {
    background: #71B521;
}

.avatar-wrapper.size20.showonline:before {
    display: none
}

.avatar-wrapper.showonline:before {
    content: " ";
    position: absolute;
    width: 8px;
    height: 8px;
    background: #bbb;
    right: 0px;
    bottom: 0px;
    border-radius: 50%;
    border: 2px solid #fff;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}


/*Extended Tiles*/

.tiles.flw-flex-tiles {
    display: flex;
    display: -webkit-flex;
    flex: none;
    align-items: flex-start;
    justify-content: space-between;
    margin: 0;
}


/* под акцию! */

.tiles.flw-flex-tiles.space-around {
    justify-content: space-around;
}

.tiles.flw-flex-tiles.flw-flex-tiles--row-wrap {
    flex-flow: row wrap;
    justify-content: flex-start;
    align-content: space-between;
    flex-shrink: 1;
}

.flw-flex-tiles__tile-content-wrapper {
    padding: 10px 20px;
}

.tiles.flw-flex-tiles:before, .tiles.flw-flex-tiles:after {
    display: none;
}

.tiles.flw-flex-tiles.flw-flex-tiles--row-wrap>.tile {
    align-items: flex-start;
    justify-content: flex-start;
    align-content: flex-end;
    flex-basis: 200px;
    padding: 10px 20px;
    font-weight: 400;
}

.tiles.flw-flex-tiles>.tile {
    display: flex;
    display: -webkit-flex;
    flex: 0 0 150px;
    flex-flow: column;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.sidepanel-bg-solid .sidepanel-content {
    background-color: #eef1f5;
}


/*fix toastr*/

.toast-top-center {
    top: 12px;
    margin: 0px auto 0 -150px;
    right: calc(50% - 150px);
}

.toast-top-center {
    width: 300px;
}

.select2-results__options::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.select2-results__options::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background: rgba(190, 190, 190, 0.6);
}

.select2-results__options::-webkit-scrollbar-track {
    box-shadow: inset 0 0 4px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
}

.fancybox-overlay.fancybox-overlay-fixed {
    z-index: 10000;
}

.snippet p {
    margin: 0 0;
}


/* imperavi redactor custom style*/

.redactor-air li a.re-button-icon, .redactor-toolbar li a.re-button-icon {
    padding: 13px;
    font-size: 14px;
}

.redactor-air li a, .redactor-toolbar li a {
    height: 40px;
}

.redactor-air, .redactor-dropdown {
    z-index: 10000 !important;
}

#redactor-modal, #redactor-modal-box, #redactor-modal-overlay {
    z-index: 10000 !important;
}

.redactor-box .alert, .knb-word-wrap .alert {
    margin: 27px 0px 25px;
    position: relative;
    padding: 10px 38px;
    overflow: visible;
    white-space: pre-line;
}

/* new snipet*/

.flw-snipet.alert {
    margin: 27px 0px 25px;
    position: relative;
    padding: 10px 38px;
    overflow: visible;
    white-space: pre-line;
}

.flw-snipet.alert span.fa-stack.fa-lg {
    color: #b94a48;
    position: absolute;
    top: -8px;
    left: -11px;
}

.flw-snipet.alert.alert-info span.fa-stack.fa-lg, .redactor-box .alert.alert-info span.fa-stack.fa-lg, .knb-word-wrap .alert.alert-info span.fa-stack.fa-lg {
    color: #3a87ad;
}

.flw-snipet.alert.alert-success span.fa-stack.fa-lg, .redactor-box .alert.alert-success span.fa-stack.fa-lg, .knb-word-wrap .alert.alert-success span.fa-stack.fa-lg {
    color: #468847
}

.redactor-box .alert span.fa-stack.fa-lg, .knb-word-wrap .alert span.fa-stack.fa-lg {
    color: #b94a48;
    position: absolute;
    top: -8px;
    left: -11px;
}

.redactor-link-tooltip, .redactor-body-fullscreen .redactor-link-tooltip {
    z-index: 10002;
}

.redactor-box p, .knb-word-wrap p, .component-editable .redactor-box p {
    margin: 0 0 10px;
}

.redactor-box img, .knb-word-wrap img, .component-editable .redactor-box img, .component-editable-content img, .redactor-box-fullscreen img {
    max-width: 100%;
    height: auto !important;
}

.redactor-box table, .knb-word-wrap table, .component-editable table {
    border-collapse: collapse;
    max-width: 100%;
    width: 100%;
    margin-bottom: 16px;
}

.redactor-box table td, .redactor-box table th, .knb-word-wrap table td, .knb-word-wrap table th, .component-editable table th, .component-editable table td {
    border: 1px solid #eee;
    padding: 16px;
    padding-bottom: 15px;
}

.component-editable-content-edit .redactor-layer {
    padding: 6px 32px 7px 6px;
}


/*imperavi redactor fullscreen styles*/

.redactor-box-fullscreen {
    position: initial;
    max-width: 800px;
    margin: 0 auto;
    left: auto;
    top: auto;
}

.redactor-box-fullscreen .redactor-layer {
    border: none;
}

.redactor-box-container-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    background: #FFF;
}

.container-fixed {
    max-width: 900px;
    margin: 0 auto;
}