.funnel-tabs {
    position: relative;
    padding: 6px 15px;
    margin-bottom: 16px;
    background: #F1F7FF;
    /*border: 1px solid #D9E2ED;*/
    border-radius: 8px;
}

.funnel-tabs__list {
    padding: 0;
    margin: 0;
    list-style: none;
    width: calc(100% - 80px);

}
.funnel-tabs__list.expand {
    max-height: 36px;
    overflow: hidden;
}
.funnel-tabs__list.expanded {
    max-height: auto;
    overflow: auto;
}

.funnel-tabs__tab {
    display: inline-block;
}

.funnel-tabs__link {
    display: inline-block;
    padding: 8px 20px;
    font-weight: 500;
    font-size: 15px;
    line-height: 1;
    color: rgba(37, 38, 39, 0.65);
    white-space: nowrap;
}

.funnel-tabs__link:hover,
.funnel-tabs__link:focus {
    color: #252627;
    background: #E0EDFF;
    border-radius: 4px;

    text-decoration: none;
}

.funnel-tabs__link.active {
    font-weight: 700;

    color: #252627;

    background: #ffffff;
    box-shadow: 1px 1px 6px rgba(0, 0, 0, 0.05);
    border-radius: 4px;
}

.funnel-tabs__all,
.funnel-views__all,
.funnel-tabs__expand {
    border: none;
    background: none;
    color: #3C98FF;
    font-size: 28px;
    
}
.funnel__buttons {
    position: absolute;
    top: 5px;
    right: 5px;
}

.funnel-views__all {
    color: rgba(0, 0, 0, 0.65);
}


.funnel__description {
    position: relative;

    display: flex;
    align-items: flex-start;

    padding: 16px 19px;
    padding-left: 58px;
    margin-bottom: 12px;

    font-weight: 500;
    font-size: 14px;
    color: #B4B4B4;

    background: linear-gradient(90deg, #F3F3F3 0%, rgba(243, 243, 243, 0) 60.21%);
    border-radius: 8px;
}

.funnel__description:before {
    content: "\edc9";

    position: absolute;
    left: 17px;

    font-size: 24px;
    font-family: 'lkdev' !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;

    transform: translateY(-14%);
}

.square-btn,
.funnel__views-add,
.funnel__views-setting {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    margin-bottom: 5px;

    font-size: 20px;
    line-height: 0;

    color: #252627;

    border: none;
    background: none;
    border-radius: 8px;
}

.funnel__views-setting {
    margin-right: 5px;
}

.funnel__views-setting:hover,
.funnel__views-setting:focus,
.funnel__views-add:hover,
.funnel__views-add:focus,
.square-btn:hover,
.square-btn:focus {
    background-color: #E0EDFF;
}

.funnel__views-setting.active,
.square-btn.active {
    color: #ffffff;
    background-color: #3C98FF;
}

.funnel-header {
    position: relative;

    display: flex;
    align-items: flex-end;
    margin-bottom: 20px;
    flex: 1 0 100%;
}

.funnel-header:after {
    content: '';

    position: absolute;
    top: 100%;
    left: 0;

    display: block;
    width: 100%;
    height: 3px;
    background-color: #EEEEEE;
}

.funnel-header__views,
.funnel__outlinks {
    display: flex;
    margin: 0;
    padding: 0 16px;

    font-size: 15px;
    line-height: 1;

    list-style: none;
}

.funnel-header__views {
    flex-wrap: wrap;
    max-height: 35px;
    padding-right: 8px;

    overflow: hidden;
}


.funnel-header__view-link,
.funnel__outlink-link {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 10px;
    padding-bottom: 12px;

    font-weight: 500;
    line-height: 1;
    white-space: nowrap;

    color: rgba(0, 0, 0, 0.65);

    text-decoration: none!important;
}

.funnel__outlink-link:hover,
.funnel__outlink-link:focus,
.funnel-header__view-link:hover,
.funnel-header__view-link:focus {
    color: #000000;
    background-color: #E0EDFF;
}

.funnel__outlink-link:hover:after,
.funnel__outlink-link:focus:after,
.funnel-header__view-link:hover:after,
.funnel-header__view-link:focus:after,
.funnel-header__view-link.active:after {
    content: '';

    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1;

    display: block;
    width: 100%;
    height: 3px;

    background-color: #3C98FF;
    border-radius: 3px;
}

.funnel-header__view-link.active {
    color: #3C98FF;
}

.funnel-header__view + .funnel-header__view,
.funnel__outlink + .funnel__outlink {
    margin-left: 6px;
}

.funnel-header__view-icon + .funnel-header__view-name {
    margin-left: 8px;
}

.funnel__outlinks {
    display: flex;
    list-style: none;
    padding: 0 15px;
    margin: 0;

    font-size: 16px;
}

.funnel__outlink-link:hover {
    text-decoration: none;
}

.funnel__user-add,
.funnel__order-add {
    display: inline-flex;
    align-items: center;
    height: 30px;
    margin-bottom: 5px;
    padding: 0px 10px;

    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    line-height: 0;

    background: #3C98FF;
    border:none;
    border-radius: 8px;

    text-transform: uppercase;
}

.funnel__views-setting {
    border:none;
    background: none;
}

.funnel__status-name {
    display: block;
    padding: 10px 15px;

    margin-bottom: 15px;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
}

.funnel__orders {
    margin-bottom: 15px;
}

.funnel__body {
    display: flex;
}

.funnel__statuses {
    position: relative;

    flex-grow: 1;
    max-width: 100%;
}

.funnel__periods {
    display: flex;
    list-style: none;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.funnel__period {
    margin: 0;
    padding: 0;
}

.funnel__period + .funnel__period {
    margin-left: 8px;
}

.funnel__period-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0px 6px;

    color: rgba(37, 38, 39, 0.3);
    font-size: 12px;
    line-height: 20px;
    text-decoration: none !important;
    white-space: nowrap;

    background-color: #DEDEDE;
    border-radius: 10px;

    transition: 0.3s;
}

.funnel__period-link.active {
    background-color: #B4E0FF;
}

.funnel__period-link:hover,
.funnel__period-link:focus {
    color: #2a2a2a;
}

.funnel__statuses.hide {
    width: 70%;
}

.funnel__sidebar {
    display: none;

    box-shadow: -4px 2px 8px rgba(0, 0, 0, 0.2);
    transition: width 0.3s;
}

.funnel__sidebar.show {
    display: block;
    width: 30%;
    margin-left: 15px;
    padding: 10px;
}

.funnel__order {
    padding: 10px 20px;
    background-color: #FAFAFA;
    border-radius: 15px;
    margin-left: 15px;
    margin-bottom: 15px;
}

.funlist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.funlist__item {
    position: relative;

    display: flex;
    align-items: center;
    padding: 5px 10px;

    border: 1px solid #ffffff;
    border-radius: 8px;
}

.funlist__text {
    margin-right: 10px;
}

.funlist__btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    padding: 0;
    margin-left: auto;

    color: var(--danger);
    font-size: 12px;
    line-height: 20px;

    background: #fff;
    border: none;
    border-radius: 5px;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.2);
    transition: 0.3s;
}

.funlist__btn:hover {
    color: #fff;
    background: var(--danger);
}

.funnel-flist {
    list-style: none;
    padding: 0;
    margin: 0;
    margin-bottom: 20px;
}

.funnel-flist__item {
    position: relative;

    display: flex;
    align-items: center;
    /*width: 350px;*/
    padding: 10px 10px;

    border: 1px solid #ffffff;
    border-radius: 8px;
}

.funnel-flist__item.active {
    background-color: #F1F7FF;
    border-color: #E0EDFF;
}

.funnel-flist__item + .funnel-flist__item {
    margin-top: 8px;
}

.funnel-flist__item:hover,
.funnel-flist__item:focus {
    background-color: #F3F6F8;
    border-color: #E0E2E6;
}

.funnel-flist__item-btn {
    position: absolute;
    top: 50%;

    color: #B4B4B4;
    letter-spacing: -0.6rem;

    border: none;
    background: none;

    transform: translateY(-50%);
}

.funnel-flist__item-btn::first-letter {
    margin-left: -5px;
}

.funnel-flist__item-btn > span:first-child {
    margin-left: -3px;
}

.funnel-flist__item-name {
    margin-right: auto;
    margin-left: 32px;

    color: #252627;

    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    text-decoration: none !important;
}

.funnel-flist__item-link {
    padding: 0 6px;
    text-decoration: none !important;
}

.funnel-flist__create {
    display: inline-flex;
    align-items: center;
    padding: 12px 18px;

    color: #3C98FF;
    font-weight: 700;
    font-size: 14px;
    line-height: 1;

    border-radius: 8px;
    text-decoration: none !important;
    text-transform: uppercase;
    transition: 0.3s
}

.funnel-flist__create:hover,
.funnel-flist__create:focus {
    background: rgba(60, 152, 255, 0.15);

}

.funnel-status__input-color {
    -webkit-appearance : none;
    -moz-appearance : none;
    appearance : none;
    background-color: transparent;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
}

.clr-field input.form-control {
    width: 30px;
    height: 30px !important;

    border: none;

    cursor: pointer;
}

.clr-field input.form-control:focus {
    border: none !important;
    outline: none !important;
}

.clr-field button {
    width: 30px;
    height: 30px;

    border-radius: 50%;
}

.funnel-status__field-sort-btn {
    position: absolute;
    left: 0;
    top: 50%;

    color: #B4B4B4;
    letter-spacing: -0.6rem;

    border: none;
    background: none;

    transform: translateY(-50%);
}

.funnel-status__field-sort-btn::first-letter {
    margin-left: -5px;
}

.funnel-status__field-sort-btn > span:first-child {
    margin-left: -3px;
}

.form-kanban-card {
    padding: 15px;

    border-radius: 12px;
    border: 1px solid #3C98FF;
    background-color: #6FF2FF;
}

.form-kanban-card__inner {
    display: flex;
}

.form-kanban-card__inner-l {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    max-width: 50%;
}

.form-kanban-card__inner-r {
    margin-left: auto;
}

.form-kanban-card__group {
    display: flex;
}

.form-kanban-card__group .form-kanban-card__field {
    width: 100%;
    max-width: 50%;
    margin-top: 0 !important;
}

.form-kanban-card__group + .form-kanban-card__field {
    margin-top: 8px;
}

.form-kanban-card__field + .form-kanban-card__field {
    margin-top: 8px;
}

.funnel__btn-checkbox {
    background-color: #F1F7FF;
    color: rgba(37, 38, 39, 0.65);
    border: 0;
    border-radius: 15px;
    padding: 2px 12px;
    font-size: 12px;
    line-height: 1;

    transition: opacity 0.2s;
}

.funnel__btn-checkbox.active {
    background-color: #3C98FF;
    color: #fff;
}

.funnel__btn-checkbox:hover,
.funnel__btn-checkbox:focus {
   opacity: 0.7;
}

.funnel__btn-dropdown {
    background-color: #6FF2FF;
    color: rgba(37, 38, 39, 0.65);
    border: 0;
    border-radius: 15px;
    padding: 2px 12px;
    font-size: 12px;
    line-height: 1;
    margin-left: 10px;
    transition: opacity 0.2s;
}

.funnel__btn-dropdown:hover,
.funnel__btn-dropdown:focus {
    opacity: 0.7;
}

.funnel__btn-dropdown[aria-expanded="true"] {
    opacity: 0.7;
}

.funnel__total-order {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 12px;

    font-size: 12px;
    line-height: 1;

    background-color: #F1F7FF;
    color: rgba(37, 38, 39, 0.65);
    border: 0;
    border-radius: 15px;
}

.funnel-coloris-btn {
    width: 30px;
    height: 30px;

    border: none;
    background: none;
    border-radius: 50%;

    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    text-indent: -1000px;
    white-space: nowrap;
    overflow: hidden;
    pointer-events: none;
}

.funnel-coloris {
    width: 30px;
    height: 30px !important;

    border: none;

    cursor: pointer;
}
.wt-700{
    width: 700px;
}
@media (max-width: 768px){
    .funnel-header{
        flex-wrap: wrap;
    }
    .wt-700{
        width: 100%;
    }
    .funnel-flist__item{
        width: 100%;
    }
    .funnel__sidebar.show {
        width: 100%;
        margin-left: 0px;
    }
    .funnel__statuses.hide{
        display: none;
    }
    .funnel__line button{
        min-width: max-content;
    }
    .funnel__period, .funnel__line button{
        margin-left: 8px;
    }
    .funnel__period-link{
        padding: 4px 6px;
        border-radius: 15px;
    }
    .funnel__line {
        overflow: auto;
    }
}