@font-face { font-family: 'Antiqua'; font-style: normal; font-weight: 400; src: local('Antiqua'), local('Antiqua-Regular'), url(/fonts/Antiqua2.woff) format('woff'), url(/fonts/Antiqua2.ttf) format('truetype'); }
@import url('https://fonts.googleapis.com/css2?family=Roboto+Mono&family=Vollkorn&display=swap');

body{ margin:0; padding:0; font-size:14px; font-family: "Times New Roman", sans-serif; line-height:1.4; color:#12110f; background:#fff0d7;  }
form{margin:0;}
p{margin:0 0 10px;}
a{ color: #8F4839; text-decoration:underline; outline:none;}
a:hover{text-decoration:none;}
#middle_block{padding-right:35px;color:#161616}
/*#middle_block a{color:#77a2be}*/

img{border:0;}
input,textarea,select,option{ font:14px; padding: 4px;}
.clear{clear:both;height:0;overflow:hidden;}

#main_block{position:relative;}
#inner_block{padding-top:245px;}
.siteWidth{position:relative;width:900px;margin:0 auto;}

#head{ width:100%; max-width: 1200px; min-width: 1000px; z-index:99; padding-top:25px; margin: 0 auto; background:#fff0d7; }
	#head_text{ font-family: "Times New Roman", sans-serif; font-weight: 600; font-size: 22px; color:#832911; padding-left: 25px; text-align:center; height: 35px; vertical-align: middle; }
	#head_text span{ position:relative; font-size:22px; letter-spacing:2px; }
	#logo{ position:relative; background:url(/img/head_bg.gif) no-repeat center; height:153px; margin:10px 0; text-align:center; }
	#logo a{ position:absolute; left:50%; margin-left:-80px; top:0; display:block; width:150px; height:150px; background:url(/img/empty.gif); z-index:2; }

#way{position:absolute;top:240px;left:0px;border:1px solid #dcd5c8;border-width:1px 0;text-align:center;font:10px;color:#832911;z-index:2;width:100%;padding:2px 0;}
#way a{font:10px;color:#832911;text-decoration:none;}
#way a:hover{color:#000;}

#way2{ width:100%; min-width: 1000px; border: 1px solid #dcd5c8; border-width:1px 0; font:10px; color:#832911; z-index:2; padding:0; overflow:hidden; background:#fff0d7; }
#way2 a{ font:10px; color:#832911; text-decoration:none; }
#way2 a:hover{ color:#000; }

	
#content_block{ width:100%; max-width: 1200px; min-width: 1000px; margin:0 auto; height:auto !important; }
	#left_block{position:absolute;top:250px;float:left;width:235px;padding-right:40px;border-right:1px solid #e3dac9;padding-top:20px;}
		#menu_block{}
			.menu{position:relative;border-bottom:1px solid #dcd5c8;padding:6px 20px 6px 40px;z-index:2; color:#8F4839}
			.menu.active{padding:5px 0 0;}
			.menu.selected a{color:#000;}
			.menu a{ font-family: 'Vollkorn', serif; font-size: 19px; text-shadow: 5px 5px 5px #aaa; text-decoration: none; }
			.menu img{position:relative;left:-13px;top:-5px;}
			.menu_bg{position:absolute;left:-17px;margin-top:-7px}
				.childs{padding-left:55px;}
				.childs a{font-size:16px;}				
					.childs2_block{border-bottom:1px solid #dcd5c8;padding-left:50px;}
						.childs2{padding:4px 10px 4px 20px;border-width:0 0 0 1px;border-style:solid;border-color:#dcd5c8}
						.childs2.first{padding-top:8px;}
						.childs2.last{padding-bottom:8px;}
						.childs2 a{font-size:16px;}
						
	#middle_block{float:right;width:575px;margin-right:0px;margin-top:15px;padding-left:30px;padding-top:20px;}
		.simple_text .left{width:300px;}
		.simple_text .right{width:250px;}
		
		.news{margin-bottom:20px;}
#news {margin-left:-5px;}
#news td{margin-bottom:20px;}				
			
#header_menu_block{ width:100%; max-width: 1200px; text-align:center; z-index:2; margin:0 auto; padding: 0; }
#header_table{ width: 100%; background:#fff0d7; z-index:99; border-collapse: collapse; }
#header_table td{ padding: 8px; }
#header_table_left{ width: 264px; border-left:#e3dac9 1px solid; border-right:#e3dac9 1px solid; }
#header_table_center{ }
#header_table_right{ width: 264px; border-left:#e3dac9 1px solid; border-right:#e3dac9 1px solid; text-align:right; padding-right:30px; }

#content_table_left{ width: 278px; border-left:#e3dac9 1px solid; border-right:#e3dac9 1px solid; }
#content_table_center{ padding: 15px 20px; }
#content_table_right{ width: 278px; border-left:#e3dac9 1px solid; border-right:#e3dac9 1px solid; }

#grid_tops { 
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
#grid_tops > div.grid_top_n {
  text-align: left;
	padding: 0 12px 12px 12px;
}

#footer_menu_block{ border:1px solid #dcd5c8;border-width:1px 0;padding:8px;text-align:center;z-index:2; }
#footer_menu_block a,#header_menu_block a{margin:0 5px;text-decoration:none;}

	
#footer{}
	#footer_contacts{color:#832911; text-align:center; width:240px; margin: 0 auto; }
	
/* search */
#search_block{ font:11px;color:#7b7463;padding:0; }
#search_block img{margin:0 10px;}
#search_block .input{ border-bottom:1px dotted #7b7463;border-width:0 0 1px 0;background:none; width:100px;color:#7b7463;font-size:11px;}
#search_block .btn{}
.btn{}
.btn input{}
	
/* classes */
.clear{clear:both;height:0;overflow:hidden;}
.left{float:left;}
.right{float:right;}
.error {color:red;}

.catalog_price{font-size:16px;font-weight:bold; padding-top:10px; padding-bottom:10px;color:#A19C96}
.catalog_photo {display:block;width:160px;text-align:left;padding-bottom:20px}
.catalog_position {;padding-bottom:20px !important}
h1 {color:#832911; margin: 0 0 8px 0; padding:0; font-family: "Times New Roman", sans-serif; font-size: 20px; font-weight: 600; /*text-shadow: 7px 7px 7px #aaa;*/ }
h1.pages{color:#832911; margin: 0 0 8px 0; padding:0; font-family: "Times New Roman", sans-serif; font-size: 20px; font-weight: 600; /*text-shadow: 7px 7px 7px #aaa;*/ }
h1.details {color:#832911; margin: 0 0 8px 0; padding:0; font-family: "Times New Roman", sans-serif; font-size: 20px; font-weight: 600; /*text-shadow: 7px 7px 7px #aaa; text-transform: uppercase;*/ }
#rbutton,#lbutton {display:block;width:27px; height:31px;}
#lbutton {background:url("img/next.png")no-repeat;}
#rbutton{background:url("img/prev.png")no-repeat;}
.works{color:#22201d; font-weight:bold; font-size:14px;}
h2{ color:#832911; margin: 0 0 8px 0; padding:0; font-family: "Times New Roman", sans-serif; font-size: 18px; font-weight: 600; /*text-shadow: 5px 5px 5px #aaa;*/ }
#news{color:#22201d; font-size:14px;line-height:1.4;}
a.hover {color:#8f4839;font-weight:bold;text-decoration:underline;}
span.header,div.header,a.header {color:#8f4839;padding-bottom:4px;padding-top:4px;font-weight:regular;}
span.header2{color:#bdb19a}
.cifra {font-size:25px;}
.cifra2 {font-size:20px;}
img.upper {margin-left:21px;}
div.red {background-color:#ff7e6e;color:#fff0d7; margin-top:10px; margin-bottom:10px;padding:10px;}

#podp {vertical-align:top;}

#podp th {border-top:1px solid #ded1ba; border-bottom:1px solid #ded1ba}
.itog_form {
    border: 0px;
    outline: none;
    background-color: transparent;

}
h3,a.h3 { color:#832911; margin: 0 0 6px 0; padding:0; font-family: "Times New Roman", sans-serif; font-size: 18px; font-weight: 600; /*text-shadow: 7px 7px 7px #aaa; */}
.h3_black { color:#222222; margin: 0 0 6px 0; padding:0; font-family: "Times New Roman", sans-serif; font-size: 17px; font-weight: 600; text-decoration: none; border-bottom: #b0b0b0 1px solid; }
a img {text-decoration:none;}
#nazad {margin-left:40px;margin-top:15px;}
#auth {margin-left:35px;margin-top:15px;}
#reg {margin-left:35px;margin-top:15px;}
.inl {background:#fff0d7; }

#bets th,#cart th {font-size:16px; border-bottom:1px solid #bdb19a}
#bets td {border-bottom:1px solid #bdb19a}
#bets td,#cart td {font-weight:bold;padding:10px 0;position:relative}
#lastprice {border:1px solid #bdb19a; padding:15px; font-size:17px; font-weight:bold; color:#5d5647;width:200px;text-align:center}
.marg{padding:5px; margin:0px;background:#fff0d7;}
input.text{width:350px}
.menu2 a{font:10px;text-decoration:none;}
.search_input { width:70%; border:1px solid #e3dac9; background-color: #f9f2e1; }
.search_button{ width:15%; background:#fff0d7;border:1px solid #e3dac9; }

a.black {color:black !important;text-decoration:none !important;}
a.basket {background:url(img/basket.png) no-repeat; height:20px;width:60px;padding-left:28px;padding-top:3px;}
.upl {text-decoration:none !important;font-size:14px !important;}
#podpiska {width:500px}
.details_photo{margin-bottom:20px;}
.namer {color:#000}
.a_namer {color:#000;font-size:17px;line-height:21px}
.m_ann{
	width:240px;
	font-size: 15px;
	line-height: 1.7;
/*
	white-space: pre;
	white-space: pre-wrap;
	white-space: pre-line;

	white-space: -pre-wrap;
	white-space: -o-pre-wrap;
	white-space: -moz-pre-wrap;
	white-space: -hp-pre-wrap;
	word-wrap: break-word;
	text-align: justify;
*/
}
.more {font:12px Arial;text-decoration:none;margin-top:-20px;width:260px;font-style:italic}

.gallery {width:100%;}
.gallery  ul li{overflow:hidden;vertical-align:middle;margin-right:0px;margin-left:0px;float:left;height:205px;width:180px;text-align:center}

#cgds  ul li{overflow:hidden;vertical-align:middle;margin-right:0px;margin-left:0px;float:left;height:200px;width:185px;text-align:center}

.gallery  ul li img{margin-bottom:5px;

 -moz-box-shadow: 2px 2px 7px rgba(231,199,173,0.9); /* ??? Firefox */
    -webkit-box-shadow: 2px 2px 7px rgba(231,199,173,0.9); /* ??? Safari ? Chrome */
    box-shadow: 2px 2px 7px rgba(231,199,173,0.9); /* ????????? ???? */
	
}

.prev,.next {display:block;width:14px;height:34px;cursor:pointer;}

.prev {background:transparent url(img/prev.png) no-repeat}
.next {background:transparent url(img/next.png) no-repeat}

/*#lbutton {background:url("img/next.png")no-repeat;}
#rbutton{background:url("img/prev.png")no-repeat;}*/

#enter,#register {background:#fff0d7;padding:10px;}

.warning {margin:6px;color:#8F4839;font-size:17px !important;}
.nborder {border-bottom:1px solid #e3dac9;margin-bottom:15px;}
.quant td{padding:0px !important;border:none !important}
.dele {}
#zakaz_table td {padding:5px;border:1px solid black}

#deliver {font-size:12px;line-height:16px;}
#deliver .del{padding-left:25px}
.recalc {margin:15px;color:#6c3316}
#event {padding:10px 0px;
    font: 12px;
	line-height:16px;
    text-decoration: none;
    text-transform: uppercase;
	color: #8F4839;
	margin-top:-20px
}

.codebox {display:block;height:0px}

#cart_in {position:absolute;left:50%;top:50%;background:white;padding:10px;font-size:20px;display:block;width:280px;height:180px;z-index:9999999999;
margin-left:-150px;margin-top:-150px; border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px;
text-align:center;padding-top:100px;}

/*.m_ann p, .m_ann div {
	margin:0px;
}*/

.ordtable input, .ordtable select, .ordtable textarea {
	width:330px;
	margin-bottom:5px;
}

.register input, .register select, .register textarea {
	width:300px;
	margin-bottom:5px;
}

.big-button {
	font-size:27px !important;
	border-radius:8px;
	padding:5px 25px;
	font-family:Tahoma;
	color:#f3eedb;
	border:none;
	background: #85735d;
	line-height:27px;
	background: -moz-linear-gradient(top, #ccc0aa, #85735d);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ccc0aa), color-stop(100%,#85735d));
	background: -webkit-linear-gradient(top, #ccc0aa, #85735d);
	background: -o-linear-gradient(top, #ccc0aa, #85735d);
	background: -ms-linear-gradient(top, #ccc0aa, #85735d);
	background: linear-gradient(top, #ccc0aa, #85735d);
	cursor:pointer
}

.big-button:hover {
	background: -moz-linear-gradient(top, #85735d, #ccc0aa);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#85735d), color-stop(100%,#ccc0aa));
	background: -webkit-linear-gradient(top, #85735d, #ccc0aa);
	background: -o-linear-gradient(top, #85735d, #ccc0aa);
	background: -ms-linear-gradient(top, #85735d, #ccc0aa);
	background: linear-gradient(top, #85735d, #ccc0aa);
}

.vote_stats {
	background:#832911;
	margin-bottom:10px
}

canvas {
	position:absolute !important;
	top:0 !important;
	left:0 !important;
	width:100% !important;
	height:220px !important;
}

html*.mt-78 { margin-top:78px; }

.text-times-new-roman {
	font-family: "Times New Roman", sans-serif;
}
