/*
	(с) Юрий Лазаренко, Севастополь
	e-mail lazarenkoyv@mail.ru
	v-can.Site
	v 4.2.1.3
	13.07.2026
*/

.number {
    display: inline-block;
    position: relative;
    overflow: hidden;
    width: auto;
    padding: 0;
    text-align: center;
    margin-top: 10px;
}

.number .minus {
	background-color: var(--bg-2);
	cursor: pointer;
    display: inline-block;
    float: left;
    position: relative;
    overflow: hidden;
    width: 35px;
    height: 35px;
    padding: 0px;
    text-align: center;
    margin: 0 auto;
    border: 1px solid #d3d3d3;
    font-size: 1.5em;
    line-height: 31px;
    outline: none;
    appearance: none;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
    /*border-radius: none;
    -webkit-appearance: none;
    -moz-border-radius: 0;
    -khtml-border-radius: 0;
    -webkit-border-radius: 0;*/
}

.number .plus {
	background-color: var(--bg-2);
	cursor: pointer;
    display: inline-block;
    float: left;
    position: relative;
    overflow: hidden;
    width: 35px;
    height: 35px;
    padding: 0px;
    text-align: center;
    margin: 0 auto;
    border: 1px solid #d3d3d3;
    font-size: 1.5em;
    line-height: 31px;
    outline: none;
    appearance: none;
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;	
	-webkit-user-select: none;
	-khtml-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
    /*border-radius: none;
    -webkit-appearance: none;
    -moz-border-radius: 0;
    -khtml-border-radius: 0;
    -webkit-border-radius: 0;*/
}

.number .c_items {
    display: inline-block;
    float: left;
    position: relative;
    overflow: hidden;
    width: auto;
    min-width: 50px;
    height: 35px;
    padding: 1px;
    text-align: center;
    margin: 0 auto;
    border: 1px solid #d3d3d3;
    font-size: 1.15em;
    line-height: 40px;
    margin-right: -1px;
    margin-left: -1px;
    outline: none;
    appearance: none;
    border-radius: none;
    -webkit-appearance: none;
    -moz-border-radius: 0;
    -khtml-border-radius: 0;
    -webkit-border-radius: 0;
}

.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
  vertical-align: middle;
}

.search-input:after {
	cursor: pointer;
	background: white;
    content: url(images/search.svg);
} 

.custom-field.one .clearElemBtn {
	left: -28px;
	padding: 0px;
	display: none;
}

.custom-field.one input:not(:placeholder-shown) ~ .clearElemBtn {
	display: block;
}
 
 .content-block {
    padding: 0 20px
}

.catalog-categories-block {
    max-width: 300px;
}

#authform{
    height: 55px;
}

#Страницы{
	margin-top: 15px;
}

#ГруппаСписокНовостей{
	border: 0px;
}

h2{
	font-weight: 500;
}

.products-view.list {
    overflow-x: auto;
	margin-left: 0px;

}

.catalog-products {
    width: 100%;
}

pre{
	border: 0px;
}

.button:focus {
    color: var(--bg-2);
	text-decoration: none;
}

.button:hover {
	text-decoration: none;
}

/*/.popup-preview {
	top: 50%;
	left: 50%;
	z-index: 1000;
	padding: 10px;
	display: none;
	position: fixed;
	background-color: white;
	transform: translate(-50%, -50%);
	border: 1px solid var(--stroke-light);
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
}*/

.popup-preview {
    top: 50%;
    left: 50%;
    z-index: 1000;
    padding: 10px;
    display: none;
    position: fixed;
    background-color: white;
    transform: translate(-50%, -50%);
    border: 1px solid var(--stroke-light);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.25);
    transition: left 0.3s ease;
}

.popup-preview img {
	height: auto;
	max-width: 100vw;
    max-height: 90vh;
}

.popup-preview-close-btn{
    float: right;
    z-index: 1000;
    cursor: pointer;
	margin-left: 5px;
    position: relative;	
	margin-bottom: 5px;
}

.good-list-preview-small{
	height: 55px;
}

.good-list-preview-small img {
	top: 50%;
	left: 50%;
	height: auto;
	max-width: 55px;
	max-height: 56px;
	position: relative;
	transform: translate(-50%, -50%);	
}

.good-form-image {
    display: none;
	max-width: 100%;
	min-height: 100px;
	aspect-ratio: 1 / 1;
}

.good-form-image img {
	max-height: 100%;
    max-width: inherit;
    /*max-height: fill-available;
	max-height: -moz-available;	
    max-height: -webkit-fill-available;*/
}

div.char-disable{
    margin: 6px;
    color: #999999;
}

.authlk form p input {
	background: #ffffff;
    border: 1px solid var(--addt-1);
}

select.measure_unit{
    padding: 2px;
	min-width: 100px;
    border-radius: 6px;	
}

table.fixed-header tr {
	width: 100%;
	border: 0px;
	margin: 0px;
	table-layout: auto;
	display: inline-table;
}

.preloader{
    width: 64px;
    height: 64px;
    z-index: 101;
    position: fixed;
    top: calc(50vh - 32px);
    left: calc(50vw - 32px);
    background: transparent;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url(images/preloader.svg);
}

.preloader-local{
    height: 64px;
    background: transparent;
    background-position: center;
    background-repeat: no-repeat;
    background-image: url(images/preloader.svg);
}