/* стили для внешнего вида сайта */


body {
	margin: 0;
	padding: 0;
	background-color: White;
}

div, header, footer, nav, ul {
	display: block;
	height: auto;
	overflow: hidden;
}

.mb {
	margin-bottom: 5px;
}

.mb2 {
	margin-bottom: 10px;
}

.mb3 {
	margin-bottom: 15px;
}

.mb4 {
	margin-bottom: 20px;
}

.mb5 {
	margin-bottom: 25px;
}

.container {
	width: 1110px;
	margin: 0 auto;
}

.big_container {
	width: 1400px;
	margin: 0 auto;
}

.headpanel {
	min-height: 165px;
}

.headpanel .container {
	display: grid;
	grid-gap: 20px;
	grid-template-columns: 1fr 303px 1fr;
	grid-template-areas: "top_address logo top_contacts";
}

.top_address {
	padding-top: 45px;
	color: #424242;
	grid-area: top_address;
}

.top_address div {
	font-weight: 700;
	font-size: 18px;
	line-height: 28px;
}

.top_address div:last-child {
	background: url(/images/pr.svg) no-repeat left bottom;
	padding-bottom: 15px;
}

.top_contacts {
	padding-top: 45px;
	grid-area: top_contacts;
}

.top_contacts div {
	
}

.top_email {
	margin-bottom: 6px;
	text-align: right;
}

.top_phone div{
	font-weight: 700;
	font-size: 18px;
	line-height: 28px;
	color: #424242;
	padding-left: 20px;
	background: url(/images/trubka.svg) no-repeat 0px 8px / 14px 14px;
	float: right;
}

.logo {
	grid-area: logo;
}

.logo img {
	width: 303px;

}

.for_ellipce {
	width: 466px;
	margin-left: auto;
	margin-right: auto;
}

.for_ellipce div {
	width: 466px;
	height: 53px;
	background: url(/images/ellipse.png) no-repeat;
	position: absolute;
	z-index: 100;
}

.for_vhlebe {
	width: 269px;
	margin-left: auto;
	margin-right: auto;
}

.for_vhlebe div {
	width: 269px;
	height: 42px;
	position: absolute;
	margin-top: -19px;
	z-index: 110;
}

.slider img {
	display: block;
	padding: 0;
	margin: 0;
}

.prev_slider, .next_slider {
	position: absolute;
	width: 36px;
	height: 71px;
	padding: 183px 54px 0 54px;
	z-index: 100;
}

.next_slider {
	margin-left: 1256px;
}

.prev_slider img, .next_slider img {
	cursor: pointer;
}

.undermenu {
	position: absolute;
	height: 4px;
	background: url(/images/undermenu.png) repeat-x;
	margin-top: -4px;
	width: 1400px;
	z-index: 100;
}

.header_tree {
	height: 100px;
	background: url(/images/undermenu.png) repeat-x bottom center, url(/images/header_tree.jpg) no-repeat center top;
}


.mainmenu {
	background: #850505;

}


.menu {
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
	padding: 0;
	margin: 0 auto;
	width: 1110px;
}

.mm1 {
	display: block;
	list-style: none;
	padding: 0px;
	margin: 0;
}

.mm1>a {
	color: white;
	text-decoration: none;
	display: block;
	padding: 25px;
	height: 22px;
	font-family: 'Roboto Condensed', sans-serif;
	font-weight: 700;
	font-size: 18px;
}

.mm1:hover a{
	background: #550101;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}


.current_mm1 {
	background: #550101;
}


.dropdown_subsections {
	padding: 20px;
	padding-top: 10px;
	margin: 0px;
	background: #550101;
	position: absolute;
	display: none;
	z-index: 100;
	border-bottom-left-radius: 5px;
	border-bottom-right-radius: 5px;
	/*border-top-right-radius: 5px;*/
}


.menu li:hover .dropdown_subsections {
	display: block;
}


.dropdown_subsections li {
	padding: 0;
	margin: 0 0 0 25px;
	list-style: disc;
	max-width: 250px;
}

.dropdown_subsections li a {
	display: block;
	padding: 5px;
	color: white;
}

.dropdown_subsections li:hover {
	color: #fbce69;
}

.dropdown_subsections li a:hover {
	color: #fbce69;
}


.mmrazd {
	display: block;
	list-style: none;
	margin: 0;
	padding: 20px 0;
	color: rgba(255,255,255,0.2);
	user-select: none;
}


.openmenu {
	display: none;
}

.firstcont {
	background: url(/images/firstcont_bg.jpg) no-repeat top;
	min-height: 800px;
	padding-top: 65px;
}

.ftr {
	background: url(/images/bottom_bg.png) repeat-x center bottom
}

.tree_container {
	background: url(/images/bottom_bg.png) repeat-x bottom center, url(/images/firstcont_bg.jpg) no-repeat top; 
	padding-top: 65px;
	padding-bottom: 65px;
}




.for_categories {
	padding: 0 15px;
	background: url(/images/ramka_left.png) no-repeat left center, url(/images/ramka_left_top.png) no-repeat top left, url(/images/ramka_left_bott.png) no-repeat bottom left,
		url(/images/ramka_right.png) no-repeat right center, url(/images/ramka_right_top.png) no-repeat top right, url(/images/ramka_right_bott.png) no-repeat bottom right; 
	margin-bottom: 65px;
	}



.first_info {
	display: grid;
	grid-gap: 0px;
	grid-template-columns: 1fr 1fr;
	margin-bottom: 60px;	
	grid-template-areas: 
	"fi_left fi_img1"
	"fi_img2 fi_right"
}



.first_info_img {
	height: 436px;
}

.fiimg1 {
	background: url(/images/volna-vert-right.png) repeat-y top left, url(/upload/first/img1.jpg) no-repeat top right;
	grid-area: fi_img1;
}

.fiimg2 {
	background: url(/images/volna-vert-left.png) repeat-y top right ,url(/upload/first/img2.jpg) no-repeat top left;
	grid-area: fi_img2;
}

.first_info_left {
	float: right;
	margin: 30px 30px 30px 0px;
	width: 525px;
	grid-area: fi_left;
	
}

.first_info_right {
	float: left;
	margin: 30px 0px 30px 30px;
	width: 525px;
	grid-area: fi_right;
}

.fi_button {
	width: 300px;
	height: 140px;
	background: url(/images/fi_listik.png) no-repeat center 10px, url(/images/fi_button_bg.png) repeat-x top left;
	padding: 15px 17px;
	margin: 150px auto auto auto;
}

.fi_button a {
	display: block;
	text-align: center;
	padding: 20px 40px;
	border:1px solid #fece62;
	border-radius:10px;
	color: white;
	text-decoration: none;
	font-weight: bold;
	min-height: 98px;
}


.firstnews_list {

}

.fnl_item {
	background: #ffffff;
	float: left;
	width: 255px;
	height: 400px;
}

.firstnews_list .list_item_date {
	position: absolute;
	width: 230px;
	height: 15px;
	padding-left: 25px;
	padding-top: 35px;
	margin-top: -70px;
	color: #bbbaba;
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 14px;
	font-weight: 700;
	background: url(/images/news_date_bg.png) no-repeat;
}

.firstnews_list .list_item_image {
	margin-bottom: 20px;
}

.firstnews_list .list_item_image img {
	display: block;
	margin: 0;
	padding: 0
}

.firstnews_list .list_item_image:before {
	display: block;
	position: absolute;
	width: 255px;
	height: 4px;
	background: url(/images/volna-hor-top.png) repeat-x top left;
	content: "";
}

.firstnews_list .list_item_title {
	padding: 0 10px 20px 25px;
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 19px;
	font-weight: 700;
}

.firstnews_list .list_item_title a {
	text-decoration: none;
}

.firstnews_list .list_item_description {
	padding: 0 10px 10px 25px;
	font-size: 14px;
	line-height: 17px;
}

.firstnews_list .list_item_description a {
	color: #000000;
	text-decoration: none;
}


.first_news_slider {
	margin-bottom: 60px;
	display: grid;
	grid-gap:0px;
	grid-template-columns: 1fr 1110px 1fr;
}

.prev_firstnews, .next_firstnews {
	text-align: center;
}


.prev_firstnews img, .next_firstnews img {
	margin-top: 130px;
	cursor: pointer;
}

.gallery_slider {
	margin-bottom: 60px;
	display: grid;
	grid-gap:0px;
	grid-template-columns: 1fr 1110px 1fr;
}


.prev_gallery, .next_gallery {
	text-align: center;
}

.prev_gallery img, .next_gallery img {
	margin-top: 50px;
	cursor: pointer;
}

.gallery_item {
	float: left;
	width: 255px;
	height: 190px;
	text-align: center;
}

.gallery_item:before {
	display: block;
	position: absolute;
	width: 255px;
	height: 4px;
	background: url(/images/volna-hor-top.png) repeat-x top left;
	content: "";
}



.footer {
	padding: 60px 0;
	background: url(/images/volna-footer.png) no-repeat top center;
	font-family: 'Roboto Condensed', sans-serif;
	font-size: 16px;
	font-weight: 700;
}

.footer .container {
	display: grid;
	grid-gap:30px;
	grid-template-columns: 1fr 1.5fr 1fr;
}


.counters {
	text-align: center;
}

.neon {
	text-align: right;
	color: #acacac;
}



.address {
	margin-bottom: 10px;
	font-size: 12px;
	color: #666666;
}

.address a {
	color: #666666;
}


.yandex_map {
	margin-bottom: 20px;
	height: 400px;
	background: #fffacd;
}

.good_main_image {
	float: left;
	margin-right: 20px;
	margin-bottom: 30px;
}

.good_main_image img{
	width: auto;
	max-width: 100%;
}

.good_ves {
	font-size: 20px;
	padding: 0;
	margin: 0 0 15px 0;
	font-family: 'Roboto Condensed', sans-serif;
	color: #633d12;
	font-weight: bold;
}

.good_price {
	font-size: 20px;
	padding: 0;
	margin: 0 0 15px 0;
	font-family: 'Roboto Condensed', sans-serif;
	color: #861b1b;
	font-weight: bold;
}

.order_cnt {
	width: 50px;
}

.big_cb {
	width: 16px;
	height: 16px;
	cursor: pointer;
}

.zayavka_tdcb {
	width: 18px;
}

.zayavka_cnt {
	width: 62px;
}

.zayavka_price {
	width: 85px;
}



.news_archive {
	margin-bottom: 15px;
	background: #eee8aa;
	padding: 15px 10px;
}

.news_archive h3 {
	padding: 0;
	margin: 0 0 10px 5px;	
}

.news_archive_years {
	margin-bottom: 10px;
}

.news_archive_years div {
	padding: 5px;
	float: left;
}

.news_archive_months div {
	padding: 5px;
	float: left;
}

.current_month, .current_year {
	background: #550101;
	color: white;
}

.current_month a, .current_year a {
	color: white;
}


.zarplata {
	padding: 5px 10px;
	background: #f2e9cc;
	font-weight: bold;
	border-radius: 5px;
	float: left;
	margin-top: 10px;
	color: #550101;
	font-size: 13px;
}



@media screen and (max-width: 1400px) {

.big_container {
	width: auto;

}

.next_slider {
	margin-left: 0;
	right: 0;
}

.first_news_slider {
	grid-template-columns: 70px auto 50px;
}

.gallery_slider {
	grid-template-columns: 70px auto 50px;
}

.undermenu {
	width: 100%;
}


}




@media screen and (max-width: 1130px) {

.container {
	width: auto;
	margin: 0 10px;
}

.menu {
	width: auto;
	margin: 0 10px;
}


.mm1>a {
	padding: 25px 5px;
}


.prev_slider, .next_slider {
	padding: 120px 54px 0 54px;

}

.first_info_left {
	width: auto;
	margin-left: 10px;	
}

.first_info_right {
	width: auto;
	margin-right: 10px;
}


}





/*	мобильная версия */


@media screen and (max-width: 800px) {

.prev_slider, .next_slider {
	padding: 100px 30px 0 30px;

}

.openmenu {
	display: block;
	padding: 10px 20px;
	color: white;
	cursor: pointer;
	background: #850505;
}

.menu_symbol {
	font-size: 30px;
	float: left;
	margin-right: 10px;
}

.menu_text {
	padding-top: 12px;
}


.mainmenu {
	display: none;
}

.menu {
display: grid;
grid-gap:0;
grid-template-columns: 1fr 1fr 1fr;
border-style: dotted;
	border-width: 1px 0 0 1px;
	border-color: #fffabe;
	padding: 0;
	margin: 10px 0;
}

.mmrazd {
	display: none;
}

.mm1 {
	border-style: dotted;
	border-width: 0 1px 1px 0;
	border-color: #fffabe;
	margin-right: 0;
	
	padding: 0;
}

.mm1>a {
	text-align: center;
	padding: 15px 5px;
}


.dropdown_subsections {
	display: none;
	margin-left: 0
}


.mainmenu .container {
	display: block;
}


.headpanel .container {
	grid-template-columns: 1fr 151px 1fr;
}

.logo img{
	width: 151px;
}

.top_address {
	padding-top: 10px;
}

.top_contacts {
	padding-top: 10px;
}

.top_address div {
	font-size: 15px;
	line-height: 18px;
}

.top_phone div {
    font-size: 15px;
    line-height: 18px;
    background: url(/images/trubka.svg) no-repeat 0px 2px / 14px 14px;
}

.headpanel {
	min-height: 110px;
}

.for_ellipce {
    width: 233px;
}

.for_ellipce div {
    width: 233px;
    height: 27px;
    background: url(/images/ellipse.png) no-repeat 0 0 / 233px 27px;
}

.for_vhlebe {
    width: 135px;
}

.for_vhlebe div {
    width: 135px;
    height: 21px;
    margin-top: -9px;
}

.for_vhlebe div img {
	width: 135px;
}

.firstcont {
	padding-top: 30px;
}

.for_categories {
	margin-bottom: 30px;
}

.tree_container {
	padding-top: 30px;
	padding-bottom: 30px;
}


}


@media screen and (max-width: 640px) {

.first_info {
	grid-template-columns: 1fr;
	grid-template-areas: 
	"fi_left"
	"fi_img1"
	"fi_right"
	"fi_img2"
}

.first_info_left, .first_info_right {
	margin: 10px;
}

.first_info_img {
	height: auto;
}

.fi_button {
	margin-top: 10px;
}

.prev_slider, .next_slider {
	display: none;
}

.first_news_slider {
	display: block;
	padding: 0 10px;
	margin-bottom: 30px;
}

.prev_firstnews, .next_firstnews {
	display: none;
}	

.gallery_slider {
	display: block;
	padding: 0 10px;
	margin-bottom: 30px;
}

.prev_gallery, .next_gallery {
	display: none;
}	

.footer {
    padding: 30px 0;
}

    
	
}



@media screen and (max-width: 480px) {

.headpanel .container {

	display: block;
}

.top_address div:last-child {
    background: none;
    padding-bottom: 0px;
}


.logo {
	text-align: center;
}

.top_address {
	padding-top: 5px;
	text-align: center	
}

.top_contacts {
	padding-top: 0;
	display: none;
	padding-bottom: 10px;
}

.top_email {
	text-align: center;
}


.top_address div {
	display: inline;
	font-weight: normal;
}

.top_phone div {
	background: none;
	text-align: center;
	float: none;
}


.menu {
    grid-template-columns: 1fr;
}

.mm1>a {
    text-align: left;
    padding: 10px;
}

.dropdown_subsections {
	display: block;
	position: relative;
}

.footer .container {
	grid-gap:10px;
	grid-template-columns: 1fr;
}

.footer .container>div {
	text-align: center;
}


.fnl_item {
	width: 200px;
	height: 400px;
}

.firstnews_list .list_item_date {
	width: 150px;
	padding-left: 10px;
}

.firstnews_list .list_item_title {
	padding: 0 10px 10px 10px;
	font-size: 15px;
}


.firstnews_list .list_item_description {
	padding: 0 10px 10px 10px;
	font-size: 13px;
	line-height: 16px;
}

.news_archive {
	height: 18px;
	padding: 10px;
}


}


@media screen and (max-width: 420px) {
	
.fnl_item {
	width: 200px;
	height: 400px;
}

.gallery_item {
	width: 200px;
	height: auto;
}

}


@media screen and (max-width: 360px) {
	
.fnl_item {
	width: 160px;
	height: 400px;
}

.gallery_item {
	width: 160px;
}


}


