
body::after {
	content: "";
	background-image: url("images/grape_fon.webp");
	background-repeat: no-repeat;
	background-size: contain;
	background-position: top;
	opacity: 0.1;
	top: 0; 	left: 0; 	bottom: 0; 	right: 0;
	position: absolute;
	z-index: -1;   
}
div.filters_on_off_container {
	font-size: 0.9em;
	width: min(85%, 920px);
	position: sticky; 
	line-height: 1.8em;
	top: 0; 
	max-height: 50px;
	margin-left: auto; 
	margin-right: auto; 
	display: flex;
	z-index: 150;   
	
	
}
div.goto_wish {
	width: 2.4em;
	height: 1.8em;
	float: right; 
	position: relative;
	background-color: #fff;
	border-radius: 15px;
	border: 0px solid #DBDBDB;
	cursor: hand;
}
.goto_wish_after {
	width: 1.2em;
	height:1em;
	line-height: 1em;
	bottom: -3; 	right: 1;
	position: absolute;
	z-index: 151;   
	font-weight: bold;
	font-size: 0.9em;
	background-color: #fff;
	border-radius: 15px;
	border: 0px solid #DBDBDB;
	vertical-align: middle;
	text-align: left;
	
}


div.filters_on_off {
	width: max(30%, 200px);
	height: 2em;
	margin-left: auto; 
	border: dotted 1px white;
	border-radius: 7px;
	color: #AAAAAA;	
	background-color: #DBDBDB;
	animation: color 25s infinite alternate;
}

@keyframes color {
	30% {color: #AAAAAA;}
	50% {color: #000000;}
	70% {color: #AAAAAA;}
}

div.hidden {
	display: none; 
}
div.filters {
	font-size: 0.9em;
	width: min(80%, 1100px);
	height: 90%;
	margin-left: auto; 
	margin-right: auto;	
	position: sticky; 
	top: 48;
	z-index: 200;
	background-color: #f5f5f5; 
	color: #444444;
	line-height: 1em;
	padding: 5px;
	border: solid 0px gray;
	border-radius: 17px;
	overflow: auto;
} 

fieldset {
	margin-bottom: 12px;
	padding: 5px;
}
.columns {
  column-count: 6;
}
.cols_small { column-width: 230px; }
.cols_big { column-width: 350px; }

legend { 
	color: #808080;
	color: #3A3A3A;
    line-height: 1.3em;
    text-indent: 0.2em;
    border: 0px solid #ECECEC;	
    border-top: 1px solid #3A3A3A;	
	background-color: #ECECEC;
	background-color: #C9F0F2;
	background-color: #FBF5DF;
}

div.filter_tag {
	width: 98%;
	min-width: 228px;
	line-height: 1.3em;
	display: inline-flex;
	align-items: center;
	vertical-align: middle;	
}
div.small_filter_tag {
	width: max(12%, 250px);
	min-width: 250px;
	line-height: 1.3em;
	display: inline-flex;
	align-items: center;
	vertical-align: middle;	
}

div.red_tag {
	color: red;
	font-weight: bold;
	background-color: #FFC7CE; 
}
div.green_tag {
	color: green;
	font-weight: bold;
	background-color: #D3D3D3; 
	background-color: #C6EFCE; 
}
textarea.filtr_text, input.filtr_text, select {
	font-size: 1.1em;
	width: 100%;
	background-color: #FFFFFF; 
	border: solid 0px #B6B6B6;
	border-radius: 5px;
	text-align: left;	
	padding-left: 0.4em;
}
input.disabledinput {
	font-size: 1.1em;
	width: 100%;
	border: solid 0px #B6B6B6;
	border-radius: 5px;
	text-align: center;	
	color: #616161;
}
input.filtr_text::placeholder {
  color: #ABABAB;
  color: #C1BC95;
  font-size: 0.85em;
  font-style: italic;
}
.select_sort{
	font-weight: normal;    
	font-size: 1em;

}
div.help {
	display: none; 
	background-color: #FFE78F; 
	color: #444444;
	line-height: 1em;
	padding: 5px;
	border: dotted 1px white;
	border-radius: 7px;
	overflow: auto;
}

.filter_half {
	width: max(48%, 580px);
}
.filter_third {
	width: max(31%, 390px);
}
.filter_doublethird {
	width: max(59%, 780px);
}
.filter_quart {
	width: max(23%, 290px);
}


.half {
	width: max(48%, 650px);
	border: 0px solid gray;
}

/*----------------------- Вывод записей --------------------- */
p {
	font-size: 1em;
	margin: 0px;
	margin-bottom: 0.0em;
	text-indent: 1em;
}
div.record {
	font-size: 0.9em;
	width: 99%;
	border-bottom: solid 0px #B6B6B6;
	border-radius: 15px;
	text-align: left;	
	text-indent: 0.0em;
	margin: 0px;
	padding: 0px;
	
	/*display: flex;*/
}
div.row_name {
	width: max(600px, 80%);
	width: 98%;
	justify-content: left;
	letter-spacing: 0.05em;
	background-color: #DBDBDB;
	font-weight: bold;
	font-size: 1.1em;
	height: 1.5em;
	line-height: 1.5em;
	display: flex;
	border-radius: 15px;
	border: solid 1px #B6B6B6;
	margin: 3px;
	margin-top: 20px;
	align-items: center;
	vertical-align: middle;		
}

div.rec_number {
	height: 1.5em;
	line-height: 1.5em;
	font-size: 0.9em;
	font-family: "arial narrow";
	color: #909090;
	border: 0px solid #B6B6B6;
	background-color: #FCFCFC;
	border-radius: 7px;
	text-indent: 0em;
	padding-left: 5px;
	padding-right:5px;
	margin: 3px;
}
div.tumb {
	 float: left; /* обтекание справа */
	 position: relative;
	 /*width: 160px;*/
}
div.tumb_after {
	 position: absolute;
	 top: 2px; left: 2px; 
	 padding: 1px 5px  1px 5px;
	 height: 1.2em;
	 line-height: 1.2em;
	 font-size: 1.1em;
	 color: #FCFCFC;
	 /*background-color: #BEBBB6;*/
	 border-radius:15px;
	vertical-align: middle;
	 
	 
}
div.tumb_bottom {
	 width: 95%;
	 position: absolute;
	 bottom: 4px; left: 4px; 
}
img.over_tumb{
	width: 0.8em;
	background-color: white;
	border-radius:1.5em; 
}
img.tumb {
	/*width: 160px;
	height: 160px; */
	max-width: 8em; 
	max-height: 8em;
	border-radius:15px;
	/*opacity: 0.8;*/
    align-content: start;	
	cursor: zoom-in;
}
.url {
	height: 1.7em;
	line-height: 1.7em;
	margin: 0px;
	padding: 0px;
	cursor: hand;	
	display: inline-block;
	text-align: left;
	vertical-align: middle;
	border-radius:10px;
	background-color: #EFEFEF; 
	
}
div.div_photos {
	display: none;	
	position: absolute;
	width: max(80%, 700px);
	top: 50%;
	left: max(10%,20px);
	/*transform:translate(-50%, 20%);	*/
	z-index: 200;
	background-color: #EFEFEF; 
	padding: 12px;
	border: solid 2px #B6B6B6;
	border-radius: 27px;
    align-content: center;
	justify-content: center;
	text-align: center;
}
img.div_photos_close {
	height: 3em;
	position: sticky; 
	top: 60; 
	margin-left: auto; 
	display: flex;
	z-index: 999;   
	
}
img.photo {
	margin: 5px;
	border-radius: 15px;
	width: max(40%, 20em);
	
}
.container {
	width: max(620px, 30%);
	margin-right: auto;
	min-width: 500px;
	border: 0px solid green;	
    align-content: start;
	display: flex;
	flex-direction: row;
	float: left;
}
.first_block {
	width: max(310px, 7%);
	margin-left: auto;
	min-width: 300px;
	border: 0px solid green;	
    align-content: start;
}
.note {
	font-size: 1em;
    align-content: start;
	border: 0px solid green;	
	background-color: #ECECEC;
	display: block;

}

div.elem { 
	width: 93%;
	font-size: 1em;
	background-color: #ECECEC;
	margin: 2px ;
	padding: 1px 7px 1px 7px;
	line-height: 1em;
	display: inline-block;
	text-align: left;
	vertical-align: middle;
	border: 0px solid #D7945A;
	border-radius: 10px;
}
img.elem {
	height: 1.1em;
}
div.easy {
	background: none;
	border: 2px solid #ECECEC;
	height: 0.8em;	
	line-height: 0.8em;		
}
div.elem_tag {
	background: none;
	border: 2px dotted #D7945A;
	border-radius: 10px;
	height: 0.8em;	
	line-height: 0.8em;	
}

/* ----------------------------------------- Сервисные функции ------------------------------------------*/
div.servise_tumb {
	width: max(18%, 200px);
	margin: 5px;
	padding: 5px;
	border: 1px solid gray;
	border-radius: 10px;
	min-height: 180px;
	line-height: 1em;
	font-size:1em;
	float: left;
    position: relative;

}

/* ----------------------------------------- Модификатры ------------------------------------------*/
div.full_width {
	width: 100%;
}
.vydel {
	background-color: #FFFFcc;
	color: #000;
}
.lite_text {
	color: #909090;
}
.font09em {
	font-size: 0.9em;
}
.font08em {
	font-size: 0.8em;
}
.font07em {
	font-size: 0.7em;
}

.border {
	border: 1px solid green;
}