.main-menu ul.navigation-main{
	padding-top: 10px;
}
.white-space-normal{
	white-space: normal;
}

tbody.inner{
	display: none;
}
tbody.inner tr td:first-child{
	padding-left: 40px;
}
.hiddenRow {
    padding: 0 !important;
}

tbody tr.has_inner{
	/*--bs-table-accent-bg: #7366f02b !important;*/
}



.nested_table{
    overflow-x: auto;
}
.nested_table .outer{
	width: 100%;
	min-width: 700px;
    background: #00000005;
}
.nested_table .outer .outer .tr > *:first-child{
	padding-left: 3rem;
}
.nested_table .outer .outer{
	display: none;
}

.nested_table .tr{
	display: flex;
	flex-grow: 0;
	flex-shrink: 0;
	flex-basis: 25em;
    letter-spacing: 0.5px;
    border-bottom: 1px solid;
    border-bottom-color: #ebe9f1;
    font-size: inherit;
    align-items: center;
}

.nested_table .tr.th{
    background-color: #f3f2f7;
    font-weight: bold;
    text-transform: uppercase;
	font-size: 0.857rem;
}

.nested_table .tr > *{
	padding: 0.72rem 2rem;
  	flex: 1;
  	margin: 0;
}
.nested_table .tr .toggle{
	display: inline-block;
    width: 18px;
    height: 18px;
    text-align: center;
    line-height: 15px;
    background: #9288f4;
    color: white;
    border-radius: 3px;
    margin-right: 4px;
    margin-bottom: 3px;
    cursor: pointer;
    font-weight: bold;
    border: 1px solid #9288f4;
}
.nested_table .tr .toggle::before{
	content: "+";
	line-height: inherit;
}
.nested_table .tr .toggle.opened{
	background-color: transparent;
	color: #9288f4;
}
.nested_table .tr .toggle.opened::before{
	content: "-";
}
.nested_table .nested_list{

}
.nested_table .nested_list p{
	margin: 0;
}

/*.nested_table .outer > .tr:nth-of-type(odd){
    background: #00000014;
}*/

.nested_table.first_big .tr > *:first-child{
	flex: 1.5;
}

@media screen and (max-width: 800px) {
    .nested_table .outer{
        min-width: unset;
    }
    .nested_table .tr.th{
        display: none;
    }
    .nested_table .tr{
        display: block;
        padding: 13px 0px 50px;
        position: relative;
    }
    .nested_table.first_big .tr > *:first-child{
        font-weight: bold;
    }
    .nested_table .tr > *{
        padding: 2px 1.5rem;
        display: flex;
        justify-content: space-between;
        font-weight: bold;
        gap: 10px;
        text-align: right;
    }
    .nested_table .tr p:before{
        content: attr(data-title);
        font-weight: normal;
        color: #959595;
        text-align: left;
    }

    .nested_table .outer .outer .tr > *:first-child{
        padding-left: 1.5rem;
    }
    .nested_table .outer .outer{
        margin-left: 20px;
        width: unset;
    }

    .nested_table .tr .toggle{
        position: absolute;
        bottom: 10px;
        left: 1.5rem;
        width: calc(100% - 3rem);
        height: 29px;
        line-height: 25px;
    }
    .nested_table .tr .toggle::before{
        content: "Открыть";
        line-height: inherit;
    }
    .nested_table .tr .toggle.opened::before{
        content: "Закрыть";
    }

	/* .nested_table .tr > *{
		flex: 0 0 200px;
	}

	.nested_table.first_big .tr > *:first-child{
		flex: 0 0 300px;
	} */
}

.job-indicator{
	height: 44px;
	background: rgba(115, 103, 240, 0.12) !important;
    color: #7367f0 !important;
    margin-bottom: 1.15rem;
    padding: 1.2rem;
    position: relative;
    overflow: hidden;
}
.job-indicator span{
	position: absolute;
    left: 0px;
    top: 0px;
    height: 100%;
    width: 40%;
    background: var(--bs-primary);
    color: white;
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
}
.job-indicator span.minmax{
	background: #7367f01a;
    left: 30%;
    right: 30%;
    width: unset;
}
.job-indicator span.current{
	
}
.badge.normal_space{
    white-space: normal;
}
.currency_badge{
    padding: 0.5rem 0.6rem;
}
.page-item .page-link{
    cursor: pointer;
}

.page-item .page-link.not_link{
    cursor: default;
}

.t_flex{
    display: block !important;
    width: 100%;
    align-self: baseline;
}
.t_flex .img-fluid{
    width: 100%;
}

.notification_action{
    cursor: pointer;
}

.ava_target{
    object-fit: cover;
}


/* PRINT */
.invoice-print {
min-width: 768px !important;
font-size: 15px !important; }

.invoice-print .invoice-date-wrapper {
display: flex;
align-items: center; }

.invoice-print .invoice-date-wrapper .invoice-date-title {
width: 8rem; }

.invoice-print i,
.invoice-print svg {
fill: #6e6b7b !important; }

.invoice-print .invoice-total-wrapper {
width: 100%;
max-width: 12rem; }

.invoice-print .invoice-total-wrapper .invoice-total-item {
display: flex;
align-items: center;
justify-content: space-between; }

.invoice-print .invoice-total-wrapper .invoice-total-item .invoice-total-title {
margin-bottom: 0.35rem; }

.invoice-print .invoice-total-wrapper .invoice-total-item .invoice-total-amount {
margin-bottom: 0.35rem;
font-weight: 600; }

.invoice-print * {
border-color: rgba(34, 41, 47, 0.5) !important;
color: #6e6b7b !important; }

@media print {
.invoice-print {
    padding: 0px !important; }
.invoice-header {
    border-bottom: 1px solid #ebe9f1;
    flex-direction: row !important;
    margin-bottom: 3rem;
    padding-right: 5rem; }
.table-responsive {
    overflow-x: hidden; }
hr {
    display: none; }
}
  


.is_mobile{
    overflow-x: hidden !important;
}
.is_mobile .drag-target{
    display: none;
}
.is_mobile .breadcrumb-wrapper{
    display: none !important;
}
.is_mobile .content.app-content{
    padding: 20px 20px calc(20px + env(safe-area-inset-bottom)) !important;
    margin: 0;
}
.is_mobile .header-navbar-shadow{
    display: none !important;
}
.is_mobile .content-header h2{
    font-size: 0;
}
.is_mobile .content-header.row:not(.show_on_mobile){
    display: none;
}
.is_mobile .content-detached.content-right .content-body{
    padding-bottom: 40px;
}
.is_mobile .d-none{
    display: block !important;
}
.is_mobile .filter-heading{
    display: none !important;
}
.is_mobile #basket_list{
    padding-bottom: 100px;
}
.is_mobile #basket_list .list-item{
    display: flex;
    flex-grow: 1;
    border: none;
    border-bottom: 1px solid #ebe9f1;
    position: relative;
    padding: 10px 0px 5px;
}
.is_mobile #basket_list .list-item-body{
    display: grid;
    grid-template-columns: 1fr 120px 80px;
    grid-gap: 10px;
    align-items: center;
    justify-items: end;
}
.is_mobile #basket_list .cart-item-remove{
    display: none !important;
}
.is_mobile #basket_list .d-block{
    display: none !important;
}

.only_mobile{
    display: none !important;
}
.is_mobile .only_mobile{
    display: block !important;
}
.is_mobile #basket_list .basket_fixed_bottom{
    position: fixed;
    left: 0;
    bottom: 0;
    right: 0;
    padding: 20px 20px calc(10px + env(safe-area-inset-bottom));
    background: white;
    z-index: 10;
}
.is_mobile .hide_for_mobile{
    display: none !important;
}

* {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

input, input:before, input:after, textarea, textarea:before, textarea:after {
    -webkit-user-select: initial;
    -khtml-user-select: initial;
    -moz-user-select: initial;
    -ms-user-select: initial;
    user-select: initial;
   } 


.select2-container--default .select2-selection--single .select2-selection__clear {
    cursor: pointer;
    font-weight: bold;
    font-size: 20px;
    float: left;
    position: relative;
    margin-right: 7px;
}
.table tr.space{
    height: 30px;
}
.table td.fill{
    background: #e1e1e1;
}
.table td.without_border{
    border-bottom-width: 0px;
}
.table td.t-right, .table th.t-right{
    text-align: right;
}
.table td.t-center, .table th.t-center{
    text-align: center;
}

.catalog_photo{
    height: 250px;
    background: #333;
    background-image: url('../img/empty.png') !important;
    background-size: cover;
    background-position: center;
    position: relative;
}
.catalog_photo span{
    background-image: url('../img/empty.png');
    background-size: cover;
    background-position: center;
    position: absolute;

    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
}

.percent_formatter span{
    display: block;
    font-weight: normal;
    font-size: 16px;
    margin-bottom: 6px;
    opacity: 0.5;
    text-decoration: line-through;
}

.table.small > :not(caption) > * > *{
    padding: 5px 7px !important;
}

@media print{@page {size: portraint}}

.orders_list{
    column-gap: 0px;
    margin-bottom: 40px;
    /* column-count: auto;
    column-width: min(330px); */
    position: relative;
    display: block;
    margin-bottom: 60px;
    padding-bottom: 60px;

    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.orders_list .order_item{
    /* break-inside: avoid; */
}
.orders_list .order_item .order_text{
    max-height: 120px;
    overflow: hidden;
    padding-bottom: 12px;
    position: relative;
}
.orders_list .order_item .order_text:after{
    position: absolute;
    content: " ";
    background: linear-gradient(0deg, white, transparent);
    height: 20px;
    width: 100%;
    left: 0;
    bottom: 0;
}

.header-navbar .navbar-container ul.navbar-nav li.dropdown-cart .media-heading{
    width: auto;
}
.header-navbar .navbar-container ul.navbar-nav li.dropdown-cart .list-item-body{
    display: grid;
    grid-template-columns: 1fr 110px 80px;
}



/* IMAGE VIEWER */
/* The Modal (background) */
.show_image{
    cursor: pointer;
}
#image-viewer {
    display: none;
    position: fixed;
    z-index: 999999;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.9);
}
.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}
.modal-content { 
    animation-name: zoom;
    animation-duration: 0.6s;
}
@keyframes zoom {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}
#image-viewer .close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}
#image-viewer .close:hover,
#image-viewer .close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

@media only screen and (max-width: 700px){
    .modal-content {
        width: 100%;
    }
}


.ecommerce-application .grid-view .ecommerce-card.show_plus_minus .btn-cart{
    display: none;
}

.ecommerce-application .grid-view .ecommerce-card .plus_minus_indicator{
    display: none;
}
.ecommerce-application .grid-view .ecommerce-card.show_plus_minus .plus_minus_indicator{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 15px 10px;
}

.ecommerce-application .grid-view .ecommerce-card.show_plus_minus .plus_minus_indicator .cart-item-qty{
    display: block;
}
.ecommerce-application .grid-view .ecommerce-card.show_plus_minus .plus_minus_indicator .cart-item-qty .btn{
    border-color: #7367f0 !important;
    background-color: #7367f0 !important;
    color: #fff !important;
    min-width: 22px;
    min-height: 22px;
}
.ecommerce-application .grid-view .ecommerce-card.show_plus_minus .plus_minus_indicator .cart-item-price{
    margin: 0;
    font-size: 19px;
}

.navbar-brand .logo, .brand-logo .logo{
    height: 36px;
}


.remainder_info{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.remainder_info i{
    font-style: normal;
    font-weight: bold;
    background: #f1f1f1;
    padding: 2px 7px;
    border-radius: 8px;
    font-size: 12px;
    text-align: right;
}

.always-double.bigger{
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.menu_grid{
    display: grid;
    text-align: center;
    grid-gap: 20px;
    margin-top: 20px;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}
.menu_grid .item{
    padding: 22px 10px;
    background: white;
    border-radius: 11px;
    box-shadow: 0px 3px 7px #00000014;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #12110d;
}
.menu_grid .item .icon svg{
    width: 30px  !important;
    height: 30px !important;
}
.menu_grid .item p{
    margin: 0;
    color: #646464;
    font-weight: 500;
    margin-top: 12px;
}


.menu_grid.type2.inverse .item{
    background-color: #12110d;
    color: white;
}
.menu_grid.type2.inverse .item p{
    color: white;
}


.menu_grid.type3.inverse .item{
    background-color: #352921;
    color: white;
}
.menu_grid.type3.inverse .item p{
    color: white;
}


@media (max-width: 1200px){
    .always-double.bigger{
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media (max-width: 900px){
    .grid-view.always-double{
        grid-template-columns: 1fr 1fr;
        column-gap: 1rem;
    }
    .grid-view.always-double .card{
        margin-bottom: 1rem;
    }
}



@media (max-width: 600px){
    .ecommerce-application .grid-view .ecommerce-card .catalog_photo{
        height: 170px;
    }
    .ecommerce-application .grid-view .ecommerce-card .item-name{
        font-size: 13px;
        line-height: 18px;
        margin-top: 0px;
    }
    .ecommerce-application .grid-view .ecommerce-card .item-wrapper{
        font-size: 13px;
        margin-top: 10px !important;
    }
    .ecommerce-application .grid-view .ecommerce-card .item-wrapper h4{
        font-size: 13px;
    }
    .remainder_info{
        font-size: 12px;
        margin-bottom: 8px;
    }
    .ecommerce-application .grid-view .ecommerce-card .item-options .btn-cart, .ecommerce-application .grid-view .ecommerce-card .item-options .btn-wishlist{
        font-size: 12px;
    }
    .menu_grid{
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        grid-gap: 16px;
    }
    .menu_grid .item{
        padding: 14px 0px;
        background: none;
        box-shadow: none;
    }

    /* TYPE 2 */
    .menu_grid.type2 .item{
        background: none;
        box-shadow: none;
        padding: 7px 0px;
    }
    .menu_grid.type2 .item .icon{
        background: white;
        padding: 16px;
        border-radius: 12px;
        box-shadow: 0px 3px 7px #00000014;
    }
    .menu_grid.type2 .item .icon svg{
        width: 24px !important;
        height: 24px !important;
    }
    
    /* INVERSE */
    .menu_grid.type2.inverse .item .icon{
        color: white;
        background: #12110d;
        box-shadow: none;
    }
    .menu_grid.type2.inverse .item{
        background: none;
        color: #12110d;
    }
    .menu_grid.type2.inverse .item p{
        color: #646464;
    }


    /* TYPE 3 */
    .menu_grid.type3 .item{
        background: none;
        box-shadow: none;
        padding: 7px 0px;
    }
    .menu_grid.type3 .item .icon{
        background: white;
        padding: 16px;
        border-radius: 12px;
        box-shadow: 0px 3px 7px #00000014;
    }
    .menu_grid.type3 .item .icon svg{
        width: 24px !important;
        height: 24px !important;
    }
    
    .menu_grid.type3.inverse .item .icon{
        color: white;
        background: #352921;
        box-shadow: none;
    }
    .menu_grid.type3.inverse .item{
        background: none;
        color: #352921;
    }
    .menu_grid.type3.inverse .item p{
        color: #646464;
    }
    
}
@media (max-width: 360px){
    .grid-view.always-double{
        grid-template-columns: 1fr;
        column-gap: 1rem;
    }
}

.app-kanban-wrapper .modal-content{
    width: unset;
    animation-name: unset;
}

html .navbar-floating.footer-static .app-content .kanban-wrapper{
    height: calc( var(--vh, 1vh) * 100 - calc( calc(2rem * 1) + 4.45rem + 3.35rem + 1.3rem + 0rem ) + 47px);
}

.kanban-application .kanban-wrapper .kanban-container .kanban-board .kanban-drag{
    min-height: 3rem;
}

.machine_attributes p{
    margin-bottom: 4px;
    color: #5e5873;
    font-weight: 400;
    display: grid;
    min-width: 1px;
}
.machine_attributes span{
    color: #55535c;
    font-weight: bold;
}

.avatar img{
    object-fit: cover;
}

.pre{
    white-space: pre-line;
}
.d-flex > *:first-child{
    min-width: 1px;
    /* overflow: overlay; */
}

.profile-user-info{
    min-width: 1px;
}


.is_mobile .app-content .kanban-wrapper{
    height: unset !important;
}

.is_mobile .kanban-application .kanban-wrapper .kanban-container{
    display: block;
    width: 100% !important;
}
.is_mobile .kanban-application .kanban-wrapper .kanban-container .kanban-board{
    float: none;
    width: 100% !important;
    box-sizing: border-box;
    margin: 0 !important;
    margin-bottom: 50px !important;
}
.is_mobile .kanban-application .kanban-wrapper .kanban-container .kanban-board .kanban-title-button{
    bottom: -30px;
}
.is_mobile .kanban-application .kanban-wrapper .kanban-container .kanban-board .kanban-item{
    width: unset;
}
.is_mobile .kanban-application .kanban-wrapper.is_machine .kanban-container .kanban-board{
    margin-bottom: 0px !important;
}
.is_mobile .kanban-application .kanban-wrapper.is_machine .kanban-container .kanban-board.opened{
    margin-bottom: 50px !important;
}

.kanban-application .kanban-wrapper.is_machine.as_todo .kanban-container .kanban-title-board{
    padding: 0;
}

.kanban-application .kanban-wrapper.is_machine.as_todo .kanban-title-board .card{
    background-color: #f3f2f7;
    border: 1px solid #ebebeb;
}
.kanban-application .kanban-wrapper.is_machine.as_todo .kanban-title-board .card .card-body{
    padding: 11px 15px;
    cursor: pointer;
}
.kanban-application .kanban-wrapper.is_machine.as_todo .kanban-title-board .card .card-title{
    font-size: 16px;
}

.ps__rail-x, .ps__rail-y{
    opacity: 0 !important;
}

.priority{
    width: 14px;
    height: 14px;
    border-radius: 20px;
    display: inline-block;
}
.priority.normal{
    display: none;
}
.priority.medium{
    background: #20c997;
}
.priority.hight{
    background: #ff9f43;
}
.priority.critical{
    background: #ea5455;
}

.priority_title{
    display: inline-block;
    width: unset;
    height: unset;
    color: white;
    font-size: 12px;
    text-transform: uppercase;
    padding: 3px 11px;
    margin-left: 12px;
}

#fabrics_value{
    bottom: 0;
    display: flex;
    background: white;
    padding: 15px 20px;
    box-shadow: 0px -1px 3px #e9e9e9;
    position: fixed;
    border-radius: 14px 14px 0px 0px;
    left: 50%;
    transform: translateX(-50%);
}

.hide_price .price_formatter{
    opacity: 0 !important;
    font-size: 0 !important;
}
.hide_price .hide_for_price{
    display: none !important;
}


.review_grid{
    /* display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    grid-gap: 10px; */

    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.review_grid > div{
    margin: 6px;
    flex: 1;
}
#reviewStars{
    margin: 0px auto;
}

#faq-tabs .nav-link{
    line-height: 16pt;
}
#faq-tabs .nav-link span{
    flex: 1;
}

.structure_subtitle{
    font-size: 16px;
    line-height: 1.8rem;
}
.pre{
    white-space: pre-line;
}



.finance_sections{
    display: flex;
    width: max-content !important;
    padding-bottom: 7rem;
}

.finance_sections section{
    width: auto !important;
    margin-right: 2rem;
    min-width: 18.55rem;
}

.finance_sections h2{
    font-size: 16px;
    color: #5e5873;
    
    letter-spacing: 0.6px;
    margin-bottom: 16px;

    padding: 11px 15px;
    cursor: pointer;

    background-color: #f3f2f7;
    border: 1px solid #ebebeb;
    border-radius: 0.428rem;
}
.finance_sections .items{

}
.finance_sections .items .order_item{
    width: 18.55rem;
}


.is_mobile .finance_sections{
    display: block;
    width: 100% !important;
}

.is_mobile .finance_sections section{
    margin-right: unset;
}
.is_mobile .finance_sections .items .order_item{
    width: 100%;
}

.left_border{
    border-left: 12px solid #333;
}
.left_border.blue{
    border-color: #55b4ff;
}
.left_border.green{
    border-color: #78df90;
}
.left_border.red{
    border-color: #ff6e5b;
}

.is_mobile .remove_margin_for_mobile{
    margin: 0 !important;
}

.can_select, .can_select *{
    user-select: text;
}

.float_button{
    position: fixed;
    right: 30px;
    bottom: 30px;
    width: 50px;
    height: 50px;
    border: none;
    background: var(--bs-green);
    border-radius: 50px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;   
}
.float_button .feather{
    width: 20px;
    height: 20px;
}
.float_button span{
    position: absolute;
    right: -6px;
    top: -6px;
    background: var(--bs-red);
    width: 24px;
    height: 24px;
    border-radius: 20px;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    line-height: 24px;
}

.income_checkbox{
    position: absolute;
    right: 0px;
    top: 0px;
    padding: 20px 20px;
}

.income_checkbox input{
    cursor: pointer;
    margin-left: 0px !important;
}