/***CUSTOM CSS RULES FOR YOUR SITE***/

/* Список товаров */

@media (max-width: 992px) {
	.product-item {
		height: 100%;
		border: 0;
	}

    .product-item-container {
        height: 100% !important;
    }
}

/* Список Мастеров */

@media (max-width: 1042px) {
    .objects-col:first-child {
        order: inherit;
		margin: 0 0 45px;
    }
}

@media (max-width: 1042px) {
    .objects:not(.slide-panel-objects) .object-item {
		flex-direction: row;
	}
}

@media (max-width: 768px) {
    .objects:not(.slide-panel-objects) .object-item {
		flex-direction: column;
	}
}

.objects:not(.slide-panel-objects) .object-item-image {
	justify-content: start;
	height:auto;
}

@media (max-width: 1042px) {
    .objects:not(.slide-panel-objects) .object-item-image {
        width: 212px;
        min-width: 212px;
        height: auto;
        margin: 0 56px 0 8px;
    }
}

@media (max-width: 768px) {
    .objects:not(.slide-panel-objects) .object-item-image {
        width: 100%;
        min-width: unset;
        margin: 0;
    }
}

.objects:not(.slide-panel-objects) .object-item-image>img {
	width: 100%;
    max-width: none;
    height: auto;
    max-height: 212px;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    object-position: center;
	padding:15px;
}


/*  */


@media (max-width: 1042px) {
	.catalog-section [class*=col-] {
		width: 33.33%;
	}
}

@media (max-width: 768px) {
	.catalog-section [class*=col-] {
		width: 50%;
	}
}

@media (max-width: 480px) {
	.catalog-section [class*=col-] {
		width: 100%;
	}
}

/* Карточка товара */

.product-item-image-wrapper {
	height: auto;
}

.product-item-image>img {
	max-width: none;
	max-height: none;
	aspect-ratio: 1 / 1;
	width: 100%;
	object-fit: cover;
	object-position: center;
	height: auto;
}

.product-item-detail-object-image {
	height: auto;
}

.product-item-detail-object-image>img {
	width: 100%;
    max-width: none;
    height: auto;
    max-height: none;
    aspect-ratio: 1 / 1;
    object-fit: contain;
	object-position: center;
}


@media (max-width: 1271px) {
    .objects-item-detail {
        flex-direction: row;
	}
}

@media (max-width: 768px) {
    .objects-item-detail {
        flex-direction: column;
	}
}

.objects-item-detail-image {
	padding: 18px;
	height: auto;
}

@media (max-width: 1271px) {
    .objects-item-detail-image {
		margin-right:24px;
	}
}

@media (max-width: 768px) {
    .objects-item-detail-image {
		margin-right:0;
	}
}

.objects-item-detail-image>img {
	width: 100%;
    /*aspect-ratio: 1 / 1;*/
    object-fit: contain;
    object-position: center;
    /*height: auto;
    max-height: 278px;*/
	height:100%;
	max-height:100%;
	max-width:100%;
}

.objects-item-detail-map {
	display:none;
}

.objects-detail-detail-text ul {
	margin-bottom: 30px;
}

.objects-detail-detail-text ul li {
	padding: 0 0 10px;
}

.objects-detail-detail-text ul li:last-child {
	padding: 0;
}

.product-item-viewed-image {
	height: auto;
    display: block;
	border: 0 !important;
}

.product-item-viewed-image img {
	width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    position: relative;
	top: 0;
	left:0;
    transform: none;
	max-width: none;
    max-height: none;
}

@media (max-width: 1042px) {
	.catalog-section.card:not(.two_in_row) {
		flex-direction: row;
	}
	.container-ws .catalog-section.card [class*=col-],
	.popup-panel .catalog-section.card [class*=col-] {
		width:33.33%;
	}
    .card.one_in_row_list .product-item-image-wrapper {
        width:100%;
        /*height: 240px;*/
		aspect-ratio:1/1;
		display:block;
		padding-right:0;
		margin-bottom:15px;
    }
	.card.one_in_row_list .product-item-image {
		width: 100%;
        height: 100%;
        display: block;
	}
	.card.one_in_row_list .product-item-image > img {
		width: 100%;
        height: 100%;
        object-fit:cover;
		object-position:center;
		max-width: none;
        max-height: none;
        aspect-ratio: 1 / 1;
	}
}


@media (max-width:480px) {
	.container-ws .catalog-section.card [class*=col-],
	.popup-panel .catalog-section.card [class*=col-] {
		width:100%;
	}
}

@media (min-width:480px) and (max-width: 768px) {
	.container-ws .catalog-section.card [class*=col-],
	.popup-panel .catalog-section.card [class*=col-] {
		width:50%;
	}
}

@media (max-width: 768px) {
	.product-item {
		border:0 !important;
	}
}

.footer__developer a img {
	opacity:.5 !important;
	width: 48px;
	height:auto;
}

.footer__developer a:hover img {
	opacity:1 !important;
}

.text-left {
	text-align: left!important;
}
.top-panel__add-vendor {
	display: block;
	float: right;
	height: 48px;
	line-height: 48px;
	margin-right: 30px;
	cursor: pointer;
}
a.top-panel__add-vendor {
	color: #263238;
	text-decoration: none;
}
.modal-backdrop {
	z-index: 206;
}
.error {
	color: red;
	font-size: 12px;
	display: none;
}
.password-toggle {
	cursor: pointer;
	margin-top: 6px;
	display: inline-block;
}
.text-end {
	text-align: right;
}
/*.footer__copyright{
   color:red;
}*/

/*.container-ws .catalog-section.card [class*=col-] {
	width: 20%;
}

@media (min-width: 1702px) {
    .slide-menu-interface-2-0-1 .container-ws .catalog-section.card [class*=col-], .slide-menu-option-1-active .container-ws .catalog-section.card [class*=col-], .smart-filter-view-left-active .container-ws .catalog-section.card [class*=col-] {
        width: 25%;
    }*/