body {
	padding: 0;
	margin: 0;

	font-family: Arial;
	font-size: 14px;
	color: #662700;
}


#base {
	display: grid;
	grid-template-rows: 130px 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: url(/elem/bg2.jpg);

	transition: grid-template-rows 0.3s;
}

#top {
	grid-area: top;

	display: grid;
	grid-template-rows: 1fr;
	grid-template-columns: 450px 1fr;
	grid-template-areas: "logo topbanner";

	background: url(/elem/topbandt.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;
}

#menu {
	grid-area: menu;
	background: linear-gradient(to top,#441100,#662700,#662700,#441100);

	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 #441100;
	background: #662700;
}
#counters {
}
#bottomtext {
	color: #ffeba1;
	font-size: 12px;
}

#main {
	grid-area: main;
	padding: 10px;
	padding-top: 30px;
	border-left: 1px solid #662700;
	border-right: 1px solid #662700;
	background: #f7d274;
}


#left {
	grid-area: left;
	padding-left: 6px;
	padding-right: 6px;
	background: #ffeba1;
}
#right {
	grid-area: right;
	padding-left: 6px;
	padding-right: 6px;
	background: #ffeba1;
}



#mobmenu {
	grid-area: mobmenu;
	border-top: 1px solid #C47A28;
	border-bottom: 1px solid #C47A28;
	background: #511E0F;
}
.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;
}



.mobile {
	display: none;
}
.medium {
	display: none;
}
.tablet {
	display: none;
}
.large {
	display: none;
}
.nomobile {
	display: block;
}
.nomedium {
	display: block;
}
.notablet {
	display: block;
}
.nolarge {
	display: block;
}


.center {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: start;
}
.text-center {
	min-width: 100%;
	width: 100%;
	text-align: center;
}



A {
	text-decoration: none;
	color: #662700;
	font-weight: bold;
	font-size: 14px;
}
A:hover {
	text-decoration: underline;
}

P {
	font-size: 14px;
}
DIV {
	font-size: 14px;
}

H1 {
	color: #662700;
	font-size: 130%;
}
H2 {
	color: #662700;
	font-size: 120%;
}
H3 {
	color: #662700;
	font-size: 110%;
}

INPUT {
	color: #662700;
	background: #f7e186;
	border: 1px solid #662700;
}
TEXTAREA {
	color: #662700;
	background: #f7e186;
	border: 1px solid #662700;
}
SELECT {
	color: #662700;
	border: 1px solid #662700;
}
OPTION {
	color: #662700;
}






TABLE.s_block {
	margin-top: 10px;
	margin-bottom: 10px;
	width: 100%;
}
TABLE.s_block TH {
	height: 22px;
	background: #662700;
	border: 1px solid #662700;
	color: white;
	font-size: 14px;
	text-align: center;
	border: none;
}
TABLE.s_block TD {
	padding: 4px;
	padding-top: 20px;
	padding-bottom: 40px;
	background: #f7e186;
	border-left: 1px solid #662700;
	border-right: 1px solid #662700;
	border-bottom: 1px solid #662700;
	color: #662700;
	font-size: 14px;
	font-weight: bold;
}
TABLE.s_block A {
	color: #662700;
	font-size: 14px;
	font-weight: bold;
	text-decoration: none;
}
TABLE.s_block A:hover {
	text-decoration: none;
}

TABLE.s_menu {
	width: 100%;
	margin: 0;
	padding: 0;
	color: #662700;
	border-top: 1px solid #662700;
	background: #f7e186;
}
TABLE.s_menu TD {
	border: none;
	border-bottom: 1px solid #662700;
	color: #662700;
	padding: 1px;
	font-weight: bold;
	font-size: 14px;
	background: #f7e186;
}
TABLE.s_menu A {
	display: block;
	width: 100%;
	padding: 2px;
	color: #662700;
	font-weight: bold;
	font-size: 14px;
	text-decoration: none;
	background: #f7e186;
}
TABLE.s_menu A:hover {
	text-decoration: none;
	background: #ffeba1;
}

TABLE.s_empty {
	border: none;
}
TABLE.s_empty TD {
	border: none;
	color: #662700;
	font-size: 14px;
	font-weight: bold;
}
TABLE.s_empty A {
	color: #662700;
	font-size: 14px;
	font-weight: bold;
	text-decoration: none;
}
TABLE.s_empty A:hover {
	text-decoration: none;
}




.steps {
	font-size: 15px;
	font-weight: normal;
	color: #662700;
}
.steps SPAN {
	padding: 3px;
	background: #f7e186;
	font-weight: normal;
}
.steps A {
	font-size: 15px;
	font-weight: normal;
	color: #662700;
	padding: 3px;
	text-decoration: none;
}
.steps A:hover {
	background: #f7e186;
	text-decoration: none;
}



/* старое */
.catalog {
	font-family: Arial;
	font-size: 14px;
	color: #662700;
}
.catalog A {
	text-decoration: none;
	color: #662700;
	font-weight: bold;
	font-size: 14px;
}
.catalog A:hover {
	text-decoration: underline;
}
.catalog IMG {
	border: 1px solid #662700;
}


.recipe_list {
}
.recipe_list TH {
	width: 190px;
	min-width: 190px;
	height: 210px;
	min-height: 210px;
	vertical-align: top;
	text-align: center;
	padding: 10px;
}
.recipe_list TD {
	vertical-align: top;
	text-align: left;
	width: 100%;
	padding: 10px;
	font-family: Arial;
	font-size: 14px;
	color: #662700;
}
.recipe_list A {
	text-decoration: underline;
	color: #662700;
	font-weight: bold;
	font-size: 14px;
}
.recipe_list A:hover {
	text-decoration: underline;
}
.recipe_list IMG {
	border: 1px solid #662700;
}


.recipe_descr {
	width: 90%;
}
.recipe_block {
	width: 90%;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}
.recipe_block_text {
	width: 60%;
	min-width: 60%;
}
.recipe_block_img {
}
.recipe_img IMG {
	border: 1px solid #662700;
}
.recipe_main_img {
}
.recipe_bord {
	font-size: 14px;
	color: #662700;

	margin: 10px;
	padding: 15px;
}
.recipe_bord A {
	font-weight: bold;
	font-size: 14px;
	color: #662700;
	text-decoration: underline;
}
.recipe_bord B {
	font-weight: bold;
	font-size: 14px;
}


.recipe_relative {
	text-align: center;
}
.recipe_relative DIV {
	display: inline-block;
	width: 188px;
	max-width: 188px;
	text-align: center;
	vertical-align: top;
	margin: 1px;
	padding: 2px;
	padding-top: 5px;
}
.recipe_relative IMG {
	border: 1px solid #662700;
}
.recipe_relative A {
	font-family: Arial;
	font-size: 14px;
	color: #662700;
}
.recipe_relative A:hover {
	text-decoration: none;
}

/*
недоделано для рецептов и для гамазов (add_prod)
.recipe_sm_img_bg {
	min-width: 180px;
	min-height: 135px;
	display: inline-block;
	cursor: pointer;
	background-size: contain;
	border: 1px solid #662700;
}

.img_bg {
	width: 140px;
	height: 140px;
	min-width: 140px;
	min-height: 140px;
	display: inline-block;
	cursor: pointer;
	background-size: contain;
	border: 1px solid #662700;
}
*/

/* старое */
.recept {
}
.recept TD {
	font-family: Arial;
	font-size: 14px;
	color: #662700;
}
.recept TD A {
	text-decoration: none;
	color: #662700;
	font-weight: bold;
	font-size: 14px;
}
.recept TD A:hover {
	text-decoration: underline;
}
.recept IMG {
	border: 1px solid #662700;
}


.mcat {
	margin: 50px;
}
.mcat TD {
	background: #f7e186;
	border: 1px solid #b05c30;
	font-size: 13px;
}
.mcat DIV {
	background: white;
	border: 1px solid #b05c30;
	width: 105px;
	height: 105px;
	padding: 5px;
}
.mcat SPAN {
	color: #900;
}
.mcat IMG {
	border: none;
}


.mmenu {
	background: #f7e186;
	border: 1px solid #b05c30;
	margin-top: 30px;
}
.mmenu TD.cl {
	background: white;
	border: 1px solid #b05c30;
}
.mmenu IMG {
	border: 0;
}


.searchform {
	font-size: 14px;
}
.searchform TD {
	width: 200px;
}
.searchform b {
	font-size: 16px;
	font-weight: bold;
	color: #662700;
}
.searchform .submit {
	color: #662700;
	font-weight: bold;
	background: none;
	border: 2px solid #662700;
	cursor: hand;
}
.searchform div {
	border: 1px solid #662700;
	padding: 2px;
	margin: 2px;
	background: #f7e186;
}



.resp {
	border: 1px solid #662700;
	padding: 10px;
	margin: 10px;
	font-size: 14px;
	color: #662700;

	text-align: left;
	background: #f7e186;
	width: 400px;
}
.resp A {
	text-decoration: none;
	color: #662700;
	font-weight: bold;
	font-size: 14px;
}
.resp B {
	color: #662700;
	font-weight: bold;
	font-size: 14px;
}


.resp_form TD {
	font-size: 14px;
	color: #662700;
}
.resp_form TD B {
	color: #662700;
}
.resp_form TD I {
	color: #662700;
}
.resp_form TD A {
	text-decoration: none;
	color: #662700;
	font-weight: bold;
	font-size: 14px;
}



#print {
	width: 980px;
	border-left: 1px solid #f0c067;
	border-right: 1px solid #f0c067;
}
#print TD {
	color: #662700;
	font-size: 14px;
}
#print TD A {
	color: #662700;
	font-size: 14px;
	text-decoration: underline;
}
#print TD IMG {
	border: 1px solid #f0c067;
}



.m_side_name {
	font-size: 11px;
}
.m_side_price {
	font-size: 15px;
	color: #800;
	font-weight: bold;
}
.m_side_merch {
	font-size: 10px;
	font-style: italic;
}


.lnk {
	font-weight: normal;
}
.lnk A {
	font-weight: bold;
	text-decoration: underline;
}
.lnk A:hover {
	text-decoration: underline;
}


.breadcrumbs {
	color: #662700;
	font-size: 14px;
	font-weight: bold;
}
.breadcrumbs A {
	color: #662700;
	font-size: 14px;
	font-weight: bold;
	text-decoration: none;
}


.flat_box {
	border: 1px solid #662700;
	background: #f7e186;
	text-align: left;
	width: 650px;
	font-size: 14px;
	font-style: italic;
	padding: 7px;
}


TABLE.search_box {
	margin: 0;
	margin-top: 10px;
	padding: 10px;
	border: 1px solid #662700;
	background: #f7e186;
}
TABLE.search_box TD {
	font-size: 14px;
	font-style: italic;
	width: 165px;
	padding: 4px;
	padding-left: 12px;
}
TABLE.search_box OPTION {
	font-size: 13px;
	font-weight: bold;
	color: #662700;
}
TABLE.search_box SELECT {
	font-size: 13px;
	font-weight: bold;
	color: #662700;
	width: 120px;
}
TABLE.search_box INPUT {
	font-size: 13px;
	font-weight: bold;
	color: #662700;
}


TABLE.search_list {
	margin-top: 10px;
}
TABLE.search_list IMG {
	border: none;
}
TABLE.search_list TD {
	text-align: center;
	font-size: 14px;
	color: #662700;
	width: 160px;
	height: 200px;
}
TABLE.search_list TD.img {
	width: 156px;
	height: 156px;
	text-align: center;
	vertical-align: center;
	background: white;
	border: 1px solid #662700;
}
TABLE.search_list A {
	font-size: 14px;
	font-weight: bold;
	color: #662700;
}


.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;
}




.vmenu {
}
.vmenu_mobile {
	display: none;
}
.vmenu_desktop {
	display: block;
}
.vmenu a {
	text-decoration: none;
}
.vmenu li {
	position: relative;
	list-style: none;
}
.vmenu__list {
	display: flex;
	padding-left: 5px;
}
.vmenu__list>li {
	margin-right: 10px;
}
.vmenu__list>li:hover .sub-vmenu__list {
	display: block;
}
.vmenu__list>li:hover .sub-vmenu__table {
	display: block;
}
.vmenu__list>li:hover .sub-vmenu__plate {
	display: block;
}
.vmenu__list>li:hover .sub-vmenu__underplate2x {
	display: block;
}
.vmenu__link {
	display: inline-block;
	font-size: 16px;
	color: white;
}
.vmenu__link:hover {
	color: white;
}

.sub-vmenu__list {
	display: none;
	position: absolute;
	min-width: 150px;
	left: 0px;
	top: 12px;
	padding-top: 15px;
	padding-left: 0;

	z-index: 1000;
}
.sub-vmenu__list>li {
}
.sub-vmenu__list>li:hover .sub-sub-vmenu__list {
	display: block;
}
.sub-vmenu__list>li>a {
	display: block;
	padding: 5px 10px;
	color: white;
	background: #511E0F;
	opacity: 0.97;
}
.sub-vmenu__list_nobg>li>a {
	background: none;
}
.sub-vmenu__list>li>a:hover {
	background: #a00;
	opacity: 1.0;
	color: white;
}

.sub-sub-vmenu__list {
	position: absolute;
	display: none;
	min-width: 150px;
	top: 0px;
	left: 100%;
	padding: 0px 0px 0px 1px;
}
.sub-sub-vmenu__list>li {
}
.sub-sub-vmenu__list>li>a {
	display: block;
	padding: 5px 10px;
	color: white;
	background: #511E0F;
	opacity: 0.97;
}
.sub-sub-vmenu__list>li>a:hover {
	background: #a00;
	opacity: 1.0;
	color: white;
}


.sub-vmenu__table {
	display: none;
	position: absolute;
	left: 0px;
	top: 0px;
	padding-top: 0px;
	padding-left: 0;

	z-index: 1000;
}
.sub-vmenu__list_2col {
	left: 150px;
}
.sub-vmenu__table_shift100 {
	left: -100px;
}
.sub-vmenu__table_shift150 {
	left: -150px;
}


.sub-vmenu__underplate2x {
	display: none;
	position: absolute;
	width: 300px;
	height: 450px;

	left: 0px;
	top: 27px;
	padding: 0;

	z-index: 999;

	background: #511E0F;
	opacity: 0.97;
}


.sub-vmenu__plate {
	display: none;
	position: absolute;
	left: 0px;
	top: 20px;
	padding-top: 7px;
	padding-left: 0;

	z-index: 1000;
}

.sub-vmenu__plate_table {
	background: #400;
	border: 1px solid #C47A28;
}
.sub-vmenu__plate_table TD {
	padding-right: 15px;
}
.sub-vmenu__plate_table UL {
	margin: 2px;
	padding: 2px;
	margin-left: 10px;
}
.sub-vmenu__plate_table UL LI {
	color: white;
	line-height: 14px;
	list-style-type: none;
	margin-top: 5px;
	margin-bottom: 5px;
}
.sub-vmenu__plate_table UL LI A {
	color: white;
	text-decoration: none;
	font-size: 15px;
}
.sub-vmenu__plate_table UL LI A:hover {
	text-decoration: none;
	color: white;
}
.sub-vmenu__plate_table UL LI UL {
	margin: 1px;
	padding: 1px;
	margin-left: 3px;
}
.sub-vmenu__plate_table UL LI UL LI {
	line-height: 14px;
	list-style-type: none;
	margin-bottom: 5px;
}
.sub-vmenu__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; }
	.large { display: block; }
	#base {
		grid-template-rows: 130px 1px 35px 1fr minmax(100px,420px);
	}
}

@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; }
	.tablet { display: block; }

	.vmenu_mobile {
		display: block;
	}
	.vmenu_desktop {
		display: none;
	}
}

@media all and (max-width: 768px) {
	.nomedium { display: none; }
	.medium { display: block; }
	#menu {
		justify-content: start;
	}
	
	.recipe_bord {
		margin: 10px;
		padding: 10px;
	}
	.recipe_main_img IMG {
		width: 300px;
		height: auto;
	}
	.recipe_block_text {
		width: 95%;
		min-width: 95%;
	}
	.recipe_descr {
		width: 95%;
	}
}

@media all and (max-width: 576px) {
	#base {
		grid-template-rows: 35px 100px 1px 1fr minmax(100px,850px);
		grid-template-areas:
		  "menu"
		  "top"
		  "mobmenu"
		  "main"
		  "bottom";
	}
	#main {
		padding: 1px;
		padding-top: 15px;
	}
	#top {
		grid-template-columns: 190px 1fr;
	}
	#topbanner {
		align-items: center;
		justify-content: end;
	}
	#mobmenu_but {
		display: block;
	}
	#mobmenu_but_close {
		display: none;
	}

	.nomobile { display: none; }
	.mobile { display: block; }

	.resp {
		width: 90%;
	}

	.recipe_list TH {
		padding: 3px;
		padding-top: 25px;
	}
	.recipe_list TD {
		padding: 3px;
		padding-top: 25px;
	}

	.recipe_relative DIV {
		display: inline-block;
		width: 176px;
		max-width: 176px;
		text-align: center;
		vertical-align: top;
		margin: 1px;
		padding: 2px;
		padding-top: 5px;
	}
	.recipe_relative IMG {
		max-width: 170px;
		height: auto;
	}

	.searchform {
		border-spacing: 1px;
	}
	.searchform TD {
		width: 180px;
		padding: 1px;
		margin: 0;
	}
	.searchform DIV {
		padding: 4px;
		margin: 0;
	}
	.searchform LABEL {
		font-size: 13px;
		padding: 0;
		margin: 0;
	}
	.searchform INPUT {
		padding: 3px;
		margin: 2px;
		vertical-align: middle;
	}
	.searchform b {
		font-size: 14px;
	}
}
