.topLevelCategory {
	margin-bottom: 20px;
	display: flex;
	flex-direction: column;
	background: #fff;
	overflow: hidden;
}
.category {
	padding-left: 40px;
	margin-bottom: 0.5rem;
	display: flex;
	flex-direction: column;
	/*animation: fade-in .5s;*/
	/*display: none;*/
}
.category:last-child{
    margin-bottom: 20px;
}
.subcategories {
	margin-left: 2rem;
	margin-bottom: 0.5rem;
	display: flex;
	flex-direction: column;
	/*animation: fade-in .5s;*/
}
.category__header {
    display: flex;
    align-items: center;
    /*padding: 20px 20px 20px 70px;*/
    padding-right: 20px;
    position: relative;
    transition: 0.25s;
}
/*.category .category__header:hover{*/
/*    background: #EBE8E8;*/
/*    transition: 0.25s;*/
/*}*/
.category__title {
	flex: 1;
	margin: 0;
	color: #A6A6A6;
	font-size: 20px;
	padding: 20px 0px 20px 70px;
	z-index: 1;
}
.category .category__title{
    font-size: 16px;
}
.category__title .handle {
	margin-right: 10px;
}
.category__header>a {
	margin-left: 1px;
}

.category__buttons .button:first-child{
    margin-right: 10px;
}
.category__buttons{
    z-index: 0;
}
.category__buttons::before {
	content: '';
	display: block;
	height: 70px;
	width: 100vw;
	position: absolute;
	background: #EBE8E8;
	right: 0;
	z-index: -1;
	top: 0;
	opacity: 0;
	transition: 0.25s;
	pointer-events: none;
}
.category__buttons:hover::before{
    opacity: 1;
    transition: 0.25s;
}

.category__header .toggleShow {
    position: absolute;
    left: 20px;
	top: calc(50% - 15px);
}

.category__products .properties-list {
	height: 100%;
	max-height: 100%;
}

/*@media(max-width: 1399px){*/
/*    .properties-list {*/
/*        width: 50%;*/
/*    }*/
/*}*/
/*@media(max-width: 991px){*/
/*    .properties-list {*/
/*        max-height: 500px;*/
/*        margin-bottom: 20px;*/
/*        width: 100%;*/
/*    }*/
/*}*/
/*.properties-list ul {*/
/*	list-style: none;*/
/*	padding: 0;*/
/*	height: 500px;*/
/*	max-height: 500px;*/
/*	overflow-y: scroll;*/
/*}*/
/*.category__products .properties-list ul {*/
/*	list-style: none;*/
/*	padding: 0;*/
/*	height: calc(100% - 100px);*/
/*	max-height: calc(100% - 100px);*/
/*	overflow-y: scroll;*/
/*}*/
/*.properties-list ul li {*/
/*	margin: 5px 0;*/
/*	padding: 8px 20px;*/
/*	background: #f6f6f7;*/
/*	border-radius: var(--pillborderradius);*/
/*	display: flex;*/
/*	align-items: center;*/
/*}*/
/*.properties-list h2 {*/
/*	margin: 0 20px 10px 0;*/
/*	display: inline-block;*/
/*}*/
/*.properties-list .search {*/
/*	margin: 10px 0 20px;*/
/*	width: 100%;*/
/*}*/
/*.properties-list ul li.properties-listAdd{*/

/*    background: none;*/

/*}*/

/*.properties-list ul li .property-name {*/
/*	color: var(--bodycolor);*/
/*	flex-grow: 1;*/
/*}*/
/*@media(max-width: 576px) {*/
/*	.properties-list ul li .property-name {*/
/*		font-size: 14px;*/
/*		word-break: break-word;*/
/*	}*/
/*}*/
/*.properties-list ul li .button {*/
/*	margin: 0 0 0 10px;*/
/*}*/
/*@media(max-width: 576px) {*/
/*	.properties-list ul li .button {*/
/*		font-size: 12px;*/
/*		padding: 5px;*/
/*		margin-left: 5px;*/
/*	}*/
/*}*/
/*.properties-list ul li img {*/
/*	margin: 0 10px 0 0;*/
/*}*/
/*.properties-list ul li.property-remove:hover {*/
/*	border-left: 10px solid var(--danger);*/
/*	transition: border-left 0.1s ease;*/
/*}*/
/*.properties-list ul li.property-add:hover {*/
/*	border-left: 10px solid var(--success);*/
/*	transition: border-left 0.1s ease;*/
/*}*/
/*.properties-list ul li.property-remove, .properties-list ul li.property-add {*/
/*	border-left: 0px solid transparent;*/
/*	transition: border-left 0.1s ease;*/
/*}*/

/*.category__details{*/
/*    display: flex;*/
/*    flex-wrap: wrap;*/
/*}*/
/*.category__details .field-container{*/
/*    width: 30%;*/
/*    flex-grow: 1;*/
/*}*/
.category__details{
    width: calc(70% - 20px);
    height: 100%;
    max-height: 100%;
    overflow-y: auto;
}
@media(max-width: 1399px){
    .category__details{
        width: 100%;
        height: auto;
        max-height: none;
    }
}
.category__details fieldset{
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}
.category__details fieldset .field-container{
    width: 30%;
    flex-grow: 1;
}
@media(max-width: 767px){
     .category__details fieldset .field-container{
        width: 100%;
        flex-grow: 1;
    }
}
.category__detailsHeader p {
    color: #A6A6A6;
}
.category__detailsHeader{
    margin-bottom: 40px;
}
.category__edit{
    display: flex;
    gap: 20px;
    height: calc(100vh - 180px);
    width: 100%;
    justify-content: space-between;
    position: relative;
}
@media(max-width: 1399px){
    .category__edit{
        gap: 0px;
        flex-wrap: wrap;
    }
}
.category__products {
	display: flex;
	height: 100%;
	width: 40%;
	position: relative;
}
@media(max-width: 1399px){
    .category__products {
    	width: 100%;
    	margin-left: -29px;
    	padding-left: 10px;
    	background: #fcfafa;
    	height: 500px;
    	flex-wrap: wrap;
    }
}
@media(max-width: 767px){
    .category__products {
    	margin-left: -20px;
    }
}

.category__products .properties-list:first-child{
    transition: transform 0.5s, box-shadow 0.5s;
    z-index: 1;
}
.category__products.active .properties-list:first-child{
    transform: translateX(-100%);
    box-shadow: -7px 0px 8px -10px rgba(0,0,0,0.5);
    transition: transform 0.5s, box-shadow 0.5s;
}
.category__products .properties-list:last-child{
    position: absolute;
    z-index: 0;
}
@media(max-width: 1399px){
    .category__products .properties-list:last-child{
        position: relative;
    }
}
/*.category__products.active .properties-list:last-child{*/
/*    display: block;*/
/*    position: absolute;*/
/*}*/
#categoryManager{
    position: relative;
}
.category__productsAdd {
	/*position: absolute;*/
	/*top: 20px;*/
	/*right: 25px;*/
}
@media(max-width: 1399px){
    .category__productsAdd {
        display: none;
    }
}

#categoriesmanager .sortable-ghost{
    background-color: #ebe8e8;
}

.dragDisabled{
    pointer-events: none;
}