.content-wrapper>.content {
    padding-top: 15px !important;
}

.advanced-table {
	border-spacing: 0 8px;
	border-collapse: separate;
}
.advanced-table thead tr th,
.advanced-table thead tr td,
.advanced-table tbody tr th,
.advanced-table tbody tr td {
	vertical-align: middle;
	border: none;
}
.advanced-table thead tr th:nth-last-child(1),
.advanced-table thead tr td:nth-last-child(1),
.advanced-table tbody tr th:nth-last-child(1),
.advanced-table tbody tr td:nth-last-child(1) {
	text-align: center;
}
.advanced-table tbody tr {

	border-radius: 5px;
}
.advanced-table tbody tr td {
	background: #fff;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.advanced-table tbody tr td:nth-child(1) {
	border-radius: 5px 0 0 5px;
}
.advanced-table tbody tr td:nth-last-child(1) {
	border-radius: 0 5px 5px 0;
}

.advanced-table tbody tr.analog {
	min-height: 55px;
}
.advanced-table tbody tr.analog td:nth-child(1) {
	border-left: 5px solid #117a8b;
	margin-left: 150px;
	display:flex;
	min-height: inherit;
}

.item-info {
	display: flex;
	/*align-items: center;*/
}
.item-info__img img {
	/*margin-right: 15px;*/
	/*height: 55px;*/
	width: 130px;
	/*border-radius: 45px;*/
	/*border: 3px solid #fff;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);*/
}

.item-info__basic {
	margin-left: 15px;
}

.active-circle {
	height: 10px;
	width: 10px;
	border-radius: 10px;
	margin-right: 5px;
	display: inline-block;
}


.table td.fit,
.table th.fit {
    white-space: nowrap;
    width: 1%;
}

.table td.fit-wrap,
.table th.fit-wrap {
    width: 1%;
}

.color-text {
	color: #212529 !important;
}

.sf-items {
    background-color: rgba(25, 163, 184, 0.14) !important;
}

.sf-items-header {
    background-color: rgba(25, 163, 184, 0.22) !important;
}

.sf .input-group>.input-group-prepend {
	flex: 0 0 20%;
}

.sf .input-group>.input-group-append {
	flex: 0 0 45%;
}

.sf .input-group .fullwidth {
    width: 100%;
}

.sf select  {
    font-size: 1.05em !important;
}

.sf label.form-check-label {
    white-space: nowrap;
    overflow: hidden;
}

.sf select option:first-child {
	font-weight: bold;
}

.sf select option:not(:first-child) {
	margin-left: 5px;
}

.dropzone .dz-preview .dz-image {
	/*width: 130px !important;*/
	height: auto !important;
	max-height: 130px;
}

.dropzone .dz-preview:hover .dz-image img {
	-webkit-filter: none !important;
	filter: none !important;
	cursor: pointer;
}

.dz-details {
	height: 100%;
}

.dz-details .remove-button {
	position: absolute;
	top: 10px;
	right: 10px;
}

.dz-details .mainphoto-radio {
	position: absolute;
	top: 20px;
	left: 20px;
}

.dz-details .description {
	position: absolute;
	bottom: 10px;
	cursor: pointer !important;
}

div[data-toggle="lightbox"]{
	cursor: pointer;
}

.inactive-mask {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color:rgba(255, 255, 255, 0.7);
}

.bg-inactive {
	background-color: #9da4a9;
	color: white;
}

.analogs-link {
	text-decoration: none;
	border-bottom: 1px dotted;
}

.order-table tr {
	/*background-color: #ffffff;*/
}

.order-table th {
	background: none !important;
}

.order-table td {
	background: none !important;
}

.status1 /* Нове */
{
	background-color: #edfcf5 !important;
}

.status2 /* Опрацьовується */
{
	background-color: #fcfcf1 !important;
}

.status3 /* Очікує відправлення */
{
	background-color: #e7f1f7 !important;
}

.status4 /* Відправлено */
{
	background-color: #ffffff !important;
}

.status5 /* Отримано */
{
	background-color: #ffffff !important;
}

.status6 /* Обмін товару */
{
	background-color: #f2ebfc !important;
}

.status7 /* Скасовано клієнтом */
{
	background-color: #e6e6e6 !important;
}

.status8 /* Скасовано відправником */
{
	background-color: #e6e6e6 !important;
}

.status9 /* Не забране клієнтом */
{
	background-color: #fceeee !important;
}

.order-lines {
	border-spacing: 0 4px;
}

.order-lines .item-info__img img {
	width: 88px !important;
}

.order-lines td, .order-lines th {
	padding: 0.25rem !important;
}

#processing-orders .dropdown-menu {
	max-width: 400px !important;
	width: 400px;
	max-height: 80vh;
	overflow: auto;
}

.dropdown-item {
	cursor: pointer;
}

.order-quantity[readonly] {
	background: none !important;
}

.cart-header {
	background-color: #f2efe9;
	border-bottom: 1px solid #dee2e6;
}

.cart-content .item-name {
	font-weight: 600;
	font-size: 90%;
	line-height: 80%;
}

.cart-content .item-price {
	font-size: 90%;
	line-height: 80%;
}

.cart-content .item-model {
	font-size: 90%;
	line-height: 80%;
}

.cart-content .item {
	border-bottom: 1px solid #dee2e6;
}

.ui-autocomplete { z-index:2001 !important;}

nav ul.pagination {
    margin-bottom: 0 !important;
}

.ui-autocomplete {
    max-height: 250px;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
}

div.search_autocomplete {
    /*font-family: Tahoma;*/
    /*font-size: 12px;*/
    /*padding: 5px;*/
}

div.search_autocomplete.even {
    border-bottom: 1px solid grey;
    /*background: #fff2d9;*/
}

div.search_autocomplete.odd {
    border-bottom: 1px solid grey;
    /*background: #f5f5f5;*/
}

.c-badge {
    font-size: .6rem;
    font-weight: 300;
    padding: 2px 4px;
    position: absolute !important;
    right: -6px !important;
    top: -6px !important;
}

.item-created-date {
    color: #5e5e5e;
    font-size: 13px;
}

.item-tabs {
    background-color: #ededed;
}

.item-gallery-count {
    position: absolute;
    background-color: rgba(199, 199, 199, 0.5);
    height: 50px;
    width: 50px;
    font-size: 30px;
    color: white;
    text-align: center;
    bottom: 0;
    right: 0;
}

.bs-switch-custom span[class*="bootstrap-switch-"] {
    height: auto !important;
    line-height: normal !important;
    white-space: nowrap;
    font-size: .8em !important;
    padding-top: .1rem !important;
    padding-bottom: .1rem !important;
}

.bs-switch-custom div.bootstrap-switch {
    max-width: 90px !important;
}

.price_level_select2 .select2-selection__choice[title$="1"]
, .select2-results__option[id*="price_level"][id$="-1"]
{
    color: #21a843 !important;
}

.price_level_select2 .select2-selection__choice[title$="2"]
, .select2-results__option[id*="price_level"][id$="-2"]
{
    color: #fd9803 !important;
}

.price_level_select2 .select2-selection__choice[title$="3"]
, .select2-results__option[id*="price_level"][id$="-3"]
{
    color: #dc3545 !important;
}

.tooltip-inner {
    max-width: 1000px !important;
    color: #000 !important;
    text-align: left !important;
    background-color: #fff !important;
    border: 1px solid #000 !important;
}

.no-gutters {
    margin-right: 0;
    margin-left: 0;
}

.no-gutters > .col,
.no-gutters > [class*="col-"] {
        padding-right: 0;
        padding-left: 0;
    }
