body {
	padding: 0;
	margin: 0;

	color: #224422;
	font-size: 14px;
}


#base {
	display: grid;
	grid-template-rows: 140px 1px 35px 1fr minmax(100px,420px);
	grid-template-columns: minmax(120px,15%) 1fr minmax(120px,15%);
	grid-template-areas:
	  "top top top"
	  "mobmenu mobmenu mobmenu"
	  "menu menu menu"
	  "left main right"
	  "bottom bottom bottom";

	min-height: 100%;

	padding: 0;
	margin: 0;

	background: #008800;

	transition: grid-template-rows 0.3s;
}

#top {
	grid-area: top;

	display: grid;
	grid-template-rows: 1fr;
	grid-template-columns: 310px 1fr;
	grid-template-areas: "logo topbanner";

	background: url(/elem/top_bg.jpg) repeat-x;
}
#logo {
	grid-area: logo;

	display: flex;
	padding: 0;
	align-items: center;
	justify-content: center;
}
#topbanner {
	grid-area: topbanner;

	display: flex;
	padding: 5px;
	align-items: top;
	justify-content: end;
}
.topbanner_yandex {
	max-height: 136px;
}

#menu {
	grid-area: menu;
	background: linear-gradient(to top,#440000,#660000,#660000,#440000);

	display: flex;
	align-items: center;
	justify-content: center;
}

#bottom {
	grid-area: bottom;

	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: start;

	padding: 5px;
	border-top: 2px solid #770000;
	background: url(/elem/top_bg.jpg) repeat;
}

#main {
	grid-area: main;
	background: white;
	padding: 10px;
	padding-top: 30px;
	border-left: 1px solid #C9AB36;
	border-right: 1px solid #C9AB36;
}


#left {
	grid-area: left;
	padding-left: 6px;
	padding-right: 6px;
	background: url(/elem/side_bg.jpg);
}
#right {
	grid-area: right;
	padding-left: 6px;
	padding-right: 6px;
	background: url(/elem/side_bg.jpg);
}


#mobmenu {
	grid-area: mobmenu;
	border-top: 1px solid #770000;
	border-bottom: 1px solid #770000;
	background: #440000;
}
.mobmenu_closed {
}
.mobmenu_opened {
}
#mobmenu_content {
	display: none;
	color: white;
}
#mobmenu_content UL {
	margin: 2px;
	padding: 2px;
	margin-left: 10px;
}
#mobmenu_content UL LI {
	color: white;
	line-height: 20px;
	list-style-type: none;
}
#mobmenu_content UL LI A {
	color: white;
	text-decoration: none;
	font-size: 15px;
}
#mobmenu_content UL LI A:hover {
	text-decoration: none;
	color: white;
}
#mobmenu_content UL LI UL {
	margin: 1px;
	padding: 1px;
	margin-left: 3px;
}
#mobmenu_content UL LI UL LI {
	line-height: 14px;
	list-style-type: none;
	margin-bottom: 5px;
}
#mobmenu_content UL LI UL LI A {
	font-size: 13px;
	font-weight: normal;
}
#mobmenu_but {
	display: none;
}


.nomobile {
}
.nomedium {
}
.notablet {
}
.nolarge {
}

.center {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: start;
}
.text-center {
	min-width: 100%;
	width: 100%;
	text-align: center;
}





H1 {
	font-size: 150%;
	color: #006600;
}
H2 {
	font-size: 120%;
	color: #006600;
}
H3 {
	font-size: 110%;
	color: #006600;
}
H4 {
	font-size: 105%;
	color: #006600;
}
B {
	font-weight: bold;
	color: #006600;
}
STRONG {
	font-weight: bold;
	color: #006600;
}
A {
	color: #006600;
	font-size: 14px;
	font-weight: bold;
	text-decoration: none;
}
A:hover {
	color: #00DD00;
	text-decoration: none;
}


.bottom_links {
}
.bottom_links TABLE {
	float: left;
	line-height: 23px;
}
.bottom_links TABLE A {
	font-size: 14px;
	color: #500;
	text-decoration: none;
}
.bottom_links TABLE A:hover {
	color: #800;
}

/*
.bottom_links {
	color: #500;
}
.bottom_links A {
	color: #500;
}
.bottom_links A:hover {
	color: #800;
}
*/


#bottom_text {
	font-style: italic;
	font-weight: bold;
	font-size: 13px;
	color: #660000;
}
#counters {
	margin: 5px;
}



TABLE.side_block {
	width: 100%;
	margin-top: 15px;
	border: 1px solid #C9AB36;
	box-shadow: 0px 0px 2px 2px rgba(0,30,0,0.5);
}
TABLE.side_block TH {
	height: 25px;
	background: url(/elem/block_cap.jpg) repeat-x;
	color: #EEEEEE;
	text-align: center;
}
TABLE.side_block TD {
	background: white url(/elem/block_bg.jpg) repeat-x;
	color: #006600;
	font-size: 14px;
	font-weight: bold;
}
TABLE.side_block A {
	color: #006600;
	font-size: 14px;
	font-weight: bold;
	text-decoration: none;
}
TABLE.side_block A:hover {
	text-decoration: none;
}

UL.side_menu {
	margin: 4px;
	padding: 4px;
	margin-left: 18px;
}
UL.side_menu LI {
	color: #006600;
}
UL.side_menu LI A {
	color: #006600;
	font-size: 14px;
	font-weight: bold;
	text-decoration: none;
}
UL.side_menu LI A:hover {
	text-decoration: none;
}

TABLE.side_empty {
	border: none;
}
TABLE.side_empty TD {
	border: none;
	color: #006600;
	font-size: 14px;
	font-weight: bold;
}
TABLE.side_empty A {
	color: #006600;
	font-size: 14px;
	font-weight: bold;
	text-decoration: none;
}
TABLE.side_empty A:hover {
	text-decoration: none;
}

.sideadvert {
	width: 160px;
	color: #842B00;
	font-size: 13px;
	font-weight: normal;
	text-align: center;
	margin-top: 15px;
	background: #F1EDB8;
	border: 1px solid #C47A28;
}
.sideadvert TABLE {
	color: #842B00;
	font-size: 13px;
	background: #F1EDB8;
}
.sideadvert TD {
	color: #842B00;
	font-size: 13px;
	background: #F1EDB8;
	text-align: center;
}
.sideadvert A {
	color: #842B00;
	font-size: 13px;
	font-weight: normal;
}
.sideadvert A:hover {
	text-decoration: none;
}
.sideadvert IMG {
	border: 1px solid #C47A28;
}
.sideadvert P {
	margin-top: 10px;
	padding: 5px;
}


.breadcrumbs {
	font-size: 14px;
	font-weight: normal;
	color: #006600;
	margin-left: 5px;
}
.breadcrumbs A {
	font-size: 15px;
	font-weight: normal;
	color: #006600;
	text-decoration: none;
}
.breadcrumbs A:hover {
	text-decoration: none;
}


.photo_border {
	display: inline-block;
	border: 1px dotted #C9AB36;
	padding: 5px;
	margin-top: 4px;
	margin-bottom: 4px;
}
.photo_border IMG {
	border: 1px solid #006600;
}
.photo_border IMG.photo_border_limit {
	max-width: 500px;
	height: auto;
}
.photo_border .photo_border_text {
	font-size: 13px;
}
.photo_border .photo_border_text A {
	font-size: 13px;
}

.photo_border_fix {
	display: inline-block;
	border: 1px dotted #C9AB36;
	padding: 3px;
	margin-top: 4px;
	margin-bottom: 4px;

	display: flex;
	align-items: center;
	justify-content: center;

	height: 186px;
	width: 186px;
	max-width: 186px;
}
.photo_border_fix IMG {
	border: none;
	max-width: 180px;
	max-height: 180px;
	height: auto;
	width: auto;
}

/*
.item_photo {
	border: 1px dotted #C9AB36;
	margin-top: 8px;
	margin-bottom: 8px;
	padding-top: 6px;
	padding-bottom: 8px;
	font-size: 13px;
}
.item_photo A {
	font-size: 13px;
}
.item_photo IMG {
	border: 1px solid #006600;
	margin-top: 8px;
	margin-bottom: 8px;
}
*/

.wrapper {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;

	max-width: 850px;
}
.wrapper>DIV {
	margin: 1px;
	margin-left: 4px;
	margin-right: 4px;
	vertical-align: top;
	text-align: center;
	max-width: 194px;
	height: 260px;
}
.wrapper>DIV.wrapper_hsm {
	height: 220px;
}
.wrapper>DIV.wrapper_hbg {
	height: 310px;
}
.wrapper>DIV.wrapper_vhbg {
	height: 340px;
}
.wrapper>DIV.wrapper_exhbg {
	height: 490px;
}
.wrapper A {
	text-decoration: none;
}
.wrapper A:hover {
	text-decoration: none;
}


.photo_menu {
	display: block;
}
.photo_menu TD {
	text-align: center;
}
.photo_menu IMG {
	border: 1px solid #C9AB36;
}
.photo_menu A {
	font-size: 9px;
}


TABLE.cells {
	display: block;
}
TABLE.cells TD {
	padding: 4px;
	margin: 4px;
	max-width: 194px;

	vertical-align: top;
	text-align: center;
}
TABLE.cells A {
	text-decoration: none;
}
TABLE.cells A:hover {
	text-decoration: none;
}


.info {
	display: block;
	width: 65%;
	text-align: left;

	font-size: 14px;
	font-weight: normal;
	color: #224422;

	margin-top: 15px;
	margin-bottom: 15px;
}
.info A {
	font-size: 14px;
	font-weight: bold;
	color: #006600;
	text-decoration: underline;
}
.info A:hover {
	color: #00DD00;
	text-decoration: underline;
}
.info DIV {
	margin-top: 15px;
}


.item_table_data {
	width: 65%;
	border-top: 1px solid #C9AB36;
}
.item_table_data TD {
	border-bottom: 1px solid #C9AB36;
}
.item_table_data TH {
	border-bottom: 1px solid #C9AB36;
}



.article {
	display: block;
	width: 75%;
	text-align: left;

	font-size: 14px;
	font-weight: normal;
	color: #224422;
}
.article A {
	font-size: 14px;
	font-weight: bold;
	color: #006600;
	text-decoration: underline;
}
.article A:hover {
	color: #00DD00;
	text-decoration: underline;
}



/*
.list_img_frame {
	border: 1px dotted #C9AB36;
	padding: 10px;
	text-align: center
}
.list_img_frame IMG {
	border: 1px solid #006600;
}
*/

.list_data {
	padding: 7px;
	font-size: 12px;
	text-align: left;
}


.steps {
	font-weight: bold;
	color: #006600;
	margin: 30px;
}
.steps SPAN {
	padding: 3px;
	background: #DFCE8A;
}
.steps A {
	font-weight: bold;
	padding: 3px;
	text-decoration: none;
}
.steps A:hover {
	background: #DFCE8A;
	text-decoration: none;
}

.photo_frame {
	border: 1px solid #C9AB36;
	padding: 5px;
}
.simple_frame {
	border: 1px solid #C9AB36;
}

/*
TABLE.goods_list {
	margin-top: 40px;
	margin-bottom: 40px;
	border-collapse: collapse;
	border: 1px solid #C47A28;
}
TABLE.goods_list TH {
	border: 1px solid #C47A28;
	background: white url(/elem/block_bg.jpg) repeat-x;
	color: #C47A28;
	font-size: 13px;
	font-weight: bold;
}
TABLE.goods_list TH A {
	color: #C47A28;
	font-size: 13px;
	font-weight: bold;
}
TABLE.goods_list TH A:hover {
	text-decoration: none;
}
TABLE.goods_list TD {
	border: 1px solid #C47A28;
	background: white url(/elem/block_bg.jpg) repeat-x;
	color: #842B00;
	font-size: 13px;
}
TABLE.goods_list A {
	font-weight: bold;
	color: #842B00;
	font-size: 13px;
}
TABLE.goods_list B {
	font-weight: bold;
}
TABLE.goods_list IMG {
	border: 1px solid #C47A28;
}
*/


.commlist {
	margin-top: 10px;
	padding: 10px;
	width: 450px;
	text-align: left;
	font-size: 15px;
	color: #006600;
	background: white url(/elem/block_bg.jpg) repeat-x;
	border: 1px solid #C9AB36;
}


.search_form_wrapper {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;

	max-width: 800px;
}
.search_form DIV {
	font-size: 13px;
	font-weight: normal;
	color: #005500;
	margin: 3px;
}
.search_form SELECT {
	font-size: 13px;
	font-weight: bold;
	color: #005500;
	width: 170px;
}
.search_form SELECT.large {
	width: 200px;
}
.search_form OPTION {
	font-size: 13px;
	font-weight: bold;
	color: #005500;
}
.search_form INPUT {
	font-size: 13px;
	font-weight: bold;
	color: #005500;
}
.search_form EM {
	color: #900;
}


INPUT.buybut {
	color: #992222;
	font-size: 15px;
	font-weight: bold;
	padding: 3px;
	margin: 1px;
	cursor: hand;
}

.l {
	color: #006600;
	font-size: 14px;
	font-weight: bold;
}
.li {
	color: #006600;
	font-size: 14px;
	font-weight: normal;
}
.lr {
	color: #900;
	font-size: 18px;
}


TABLE.dotted {
	border: 1px dotted #53811B;
	border-collapse: collapse;
}
TABLE.dotted TD {
	border: 1px dotted #53811B;
}
TD.dotted {
	border: 1px dotted #53811B;
}



.goto_post_but {
	color: #a00;
	font-weight: bold;
	font-size: 19px;
	cursor: pointer;
	border: 1px solid #a00;
	border-radius: 9px;
	padding: 7px;
	background: white;
}
.goto_post_but:hover {
	color: white;
	background: #a00;
}

.goto_post_link {
	background-color: transparent;
	border: none;
	color: red;
	font-weight: bold;
	cursor: pointer;
	display: inline;
}
.goto_post_link:hover {
	color: red;
}




.slmenu {
}
.slmenu_mobile {
	display: none;
}
.slmenu_desktop {
	display: block;
}
.slmenu a {
	text-decoration: none;
}
.slmenu li {
	position: relative;
	list-style: none;
}
.slmenu__list {
	display: flex;
}
.slmenu__list>li {
	margin-right: 10px;
}
.slmenu__list>li:hover .sub-slmenu__list {
	display: block;
}
.slmenu__list>li:hover .sub-slmenu__table {
	display: block;
}
.slmenu__list>li:hover .sub-slmenu__plate {
	display: block;
}
.slmenu__link {
	display: inline-block;
	font-size: 16px;
	color: white;
}
.slmenu__link:hover {
	color: white;
}

.sub-slmenu__list {
	display: none;
	position: absolute;
	min-width: 150px;
	left: 0px;
	top: 12px;
	padding-top: 15px;
	padding-left: 0;

	z-index: 1000;
}
.sub-slmenu__list>li {
}
.sub-slmenu__list>li:hover .sub-sub-slmenu__list {
	display: block;
}
.sub-slmenu__list>li>a {
	display: block;
	padding: 5px 10px;
	color: white;
	background: #400;
	opacity: 0.9;
}
.sub-slmenu__list>li>a:hover {
	background: #a00;
	opacity: 1.0;
	color: white;
}

.sub-sub-slmenu__list {
	position: absolute;
	display: none;
	min-width: 150px;
	top: 0px;
	left: 100%;
	padding: 0px 0px 0px 1px;
}
.sub-sub-slmenu__list>li {
}
.sub-sub-slmenu__list>li>a {
	display: block;
	padding: 5px 10px;
	color: white;
	background: #400;
	opacity: 0.9;
}
.sub-sub-slmenu__list>li>a:hover {
	background: #a00;
	opacity: 1.0;
	color: white;
}


.sub-slmenu__table {
	display: none;
	position: absolute;
	left: 0px;
	top: 0px;
	padding-top: 0px;
	padding-left: 0;

	z-index: 1000;
}
.sub-slmenu__list_2col {
	left: 150px;
}
.sub-slmenu__table_shift100 {
	left: -100px;
}
.sub-slmenu__table_shift150 {
	left: -150px;
}


.sub-slmenu__plate {
	display: none;
	position: absolute;
	left: -30px;
	top: 20px;
	padding-top: 7px;
	padding-left: 0;

	z-index: 1000;
}

.sub-slmenu__plate_table {
	background: #400;
	border: 1px solid #600;
}
.sub-slmenu__plate_table TD {
	padding-right: 15px;
}
.sub-slmenu__plate_table UL {
	margin: 2px;
	padding: 2px;
	margin-left: 10px;
}
.sub-slmenu__plate_table UL LI {
	color: white;
	line-height: 20px;
	list-style-type: none;
}
.sub-slmenu__plate_table UL LI A {
	color: white;
	text-decoration: none;
	font-size: 15px;
}
.sub-slmenu__plate_table UL LI A:hover {
	text-decoration: none;
	color: white;
}
.sub-slmenu__plate_table UL LI UL {
	margin: 1px;
	padding: 1px;
	margin-left: 3px;
}
.sub-slmenu__plate_table UL LI UL LI {
	line-height: 14px;
	list-style-type: none;
	margin-bottom: 5px;
}
.sub-slmenu__plate_table UL LI UL LI A {
	font-size: 13px;
	font-weight: normal;
}







@media all and (max-width: 1600px) {
	#base {
		grid-template-columns: minmax(15%,250px) 1fr minmax(15%,300px);
	}
}

@media all and (max-width: 1200px) {
	.nolarge {
		display: none;
	}
	#base {
		grid-template-rows: 130px 1px 35px 1fr minmax(100px,420px);
	}
	.topbanner_yandex {
		max-height: 116px;
	}
}

@media all and (max-width: 992px) {
	#base {
		grid-template-rows: 130px 1px 35px 1fr minmax(100px,850px);
		grid-template-columns: 1fr;
		grid-template-areas:
		  "top"
		  "mobmenu"
		  "menu"
		  "main"
		  "bottom";
	}
	#left {
		display: none;
	}
	#right {
		display: none;
	}
	.notablet {
		display: none;
	}
	.topbanner_yandex {
		max-height: 96px;
	}

	.slmenu_mobile {
		display: block;
	}
	.slmenu_desktop {
		display: none;
	}
	
	.info {
		width: 80%;
	}
	.item_table_data {
		width: 80%;
	}
}

@media all and (max-width: 768px) {
	.nomedium {
		display: none;
	}
	.photo_border IMG.photo_border_limit {
		max-width: 400px;
	}
	.info {
		width: 90%;
	}
	.item_table_data {
		width: 90%;
	}
	.photo_menu {
		display: none;
	}
	#menu {
		justify-content: start;
	}
}


@media all and (max-width: 576px) {
	#base {
		grid-template-rows: 35px 60px 1px 1fr minmax(100px,850px);
		grid-template-areas:
		  "menu"
		  "top"
		  "mobmenu"
		  "main"
		  "bottom";
	}
	#top {
		grid-template-columns: 190px 1fr;
	}
	#logo IMG {
		height: 60px;
		width: 115px;
	}

	#topbanner {
		align-items: center;
		justify-content: end;
	}
	#mobmenu_but {
		display: block;
	}
	#mobmenu_but_close {
		display: none;
	}

	.nomobile {
		display: none;
	}

	.photo_border IMG.photo_border_limit {
		max-width: 300px;
	}
	.photo_border_fix {
		height: 156px;
		width: 156px;
		max-width: 156px;
	}
	.photo_border_fix IMG {
		max-width: 150px;
		max-height: 150px;
		width: auto;
		height: auto;
	}
	.wrapper>DIV {
		max-width: 164px;
		height: 240px;
	}
	.wrapper>DIV.wrapper_hsm {
		height: 200px;
	}
	.info {
		width: 99%;
	}
	.article {
		width: 99%;
	}
	.item_table_data {
		width: 99%;
	}
	TABLE.cells TD {
		width: 164px;
		max-width: 164px;
	}
}

