/* TAG CLASSES */
table, td, div, span, h1, h2, h3, h4, h5, h6, body, html, tr, th, ul, li, form, input, img { margin: 0px; padding: 0px; }
html, body { width: 100%; height: 100%; }
p { margin: 10px 0px; }
td { vertical-align: top; }

/* UNIVERSAL CLASSES */
.hidden { display: none; }
.pointer { cursor: pointer; }
.float_left { float: left; height: 33px; }
.absolute { position: absolute; }
.clear_both { clear: both; }
.err { color: #F30; font-weight: bold; }

/* MAIN */
#headers { min-height: 100%; height: auto !important; height: 100%; margin: auto auto -120px auto; }
#footer { height: 120px; margin: auto; }
#underfooter { height: 120px; clear: both; }
#header { text-align: left; }

/* SITE */
body { min-width: 990px; background: url('/images/bg_right.jpg') no-repeat right top; font: 13px Tahoma, Arial; }
h1 { font: bold 20px Arial, Helvetica, sans-serif; }
h2 { font-size: 18px; }
h3 { font-size: 16px; }
h4 { font-size: 14px; }
a { color: #bc1e30; }
a:hover { text-decoration: none; }
a img { border-width: 0px; }

h1.title { text-transform: uppercase; color: #bc1e30; font: 22px Arial, Helvetica, sans-serif; margin-bottom: 15px; }
h2.title { text-transform: uppercase; color: #6189c8; font: 20px Arial, Helvetica, sans-serif; margin-bottom: 15px; }
h3.title {  }

.sometitle { background: url('/images/title.jpg') no-repeat; width: 94px; height: 30px; color: #fff; font: 20px Georgia, "Times New Roman", Times, serif; text-align: center; }
.but { background: url('/images/but.jpg') no-repeat; width: 61px; height: 21px; text-align: center; color: #666; font: bold 13px Tahoma, Arial; border-width: 0px; cursor: pointer; margin-top: 5px; }
.more_info { padding: 5px 0px 15px; }
.active_search { border: 1px solid #CC0000; }
.search_err { border: 2px solid red }

#top { height: 190px; }
	#logo { text-align: center; }
		#logo img { cursor: pointer; }
	#links { position: absolute; right: 265px; top: 10px; line-height: 15px; }
		#links a { color: #87a8de; font-size: 11px; }
	#contacts { position: absolute; color: #535b68; font: 18px Georgia, "Times New Roman", Times, serif; top: 47px; right: 130px; }
	#panel { position: absolute; left: 331px; top: 0px; }
		#panel img { width: 44px; height: 43px; margin-right: 2px; cursor: pointer; }
		
#footer { font: 11px Arial, Helvetica, sans-serif; color: #000; }
	#footer a { color: #000; }
	#footer_left { padding-left: 210px; margin-right: 225px; padding-left: 244px; }
	#footer_right { float: right; width: 225px; }
		#footer_right div { padding-bottom: 7px; }
	#footer_line { height: 30px; background: url('/images/line.jpg') repeat-x; }
		#footer_line-l { height: 2px; float: left; width: 243px; background-color: #fff; }
		#footer_line-r { height: 2px; float: right; width: 50px; background-color: #fff; }

#blocks { position: relative; }
	#left_block { float: left; width: 187px; padding: 114px 0px 30px 23px; position: relative; }
		#menu { background: #8eaedf url('/images/topmenu.jpg') no-repeat; }
			#bg_menu { background: url('/images/botmenu.jpg') no-repeat right bottom; padding: 14px 0px 20px 24px; list-style: none; }
				#bg_menu li { height: 21px; padding: 2px 0px 0px 4px; }
					#bg_menu li a { color: #fff; font: 15px Arial, Helvetica, sans-serif; text-decoration: none; }
					.menuclass { background: url('/images/bg_menu.jpg') no-repeat left bottom; }
					.menuactive { background: #bb1e31 url('/images/menu.jpg') no-repeat; }
		
		#for_votes { padding-top: 20px; }
		
		#search { margin-top: 20px; background-color: #f5f5f5; border: 1px solid #e0e0e0; }
			#search_form { padding: 12px 0px 12px 8px; }
				#search_form input { width: 166px; height: 22px; margin-bottom: 8px; font-size: 18px; border-width: 1px; }
		
	#center_block { margin-left: 210px; }
	#right_block { float: right; width: 195px; padding-top: 10px; }
		#spred { padding-right: 13px; }
			#spred a { text-decoration: none; }
			#spred_title { background: url('/images/spred.jpg') no-repeat; color: #fff; font: 18px Arial, Helvetica, sans-serif; text-transform: uppercase; text-align: center; line-height: 18px; padding: 3px 0px; }
			#spred_text { background-color: #f0f0f0; color: #951221; font-size: 13px; padding: 15px; }
			
	#content { margin-right: 195px; color: #5d5d5d; position: relative; overflow: hidden; }
		#content_pad { padding: 10px 10px 20px 30px; }

.news { padding-bottom: 20px; }
	.news_date { float: left; }
	.news_title { color: #6c6c6c; font: 20px Tahoma, Arial; margin-left: 110px; }
	.news_text { margin-top: 20px; }
	.news_link { font-weight: bold; }

#root { color: #6189c8; font: 20px Arial, Helvetica, sans-serif; }

#basket-panel { padding-bottom: 10px; }
	#basket-panel div span { font-weight: bold; font-size: 18px; text-decoration: underline; }
	#basket-title { font: 18px Arial, Helvetica, sans-serif; color: #777; }
	#basket-prods { padding-left: 10px; font-size: 13px; padding-top: 10px; color: #555; }
	#basket-summ { padding-left: 10px; font-size: 13px; color: #555; }
	#add-basket, 
	#basket-add { text-align: right; background: url('/images/spred.jpg') no-repeat right; padding-right: 5px; padding-bottom: 2px; width: 90%; margin-top: 10px; color: #bc1e30; font: 18px Arial, Helvetica, sans-serif; }
		#add-basket a,
		#basket-add a { color: #fff; font: 18px Arial, Helvetica, sans-serif; }
		#add-basket span { margin-right: 20px; text-decoration: underline; }

/* calc.php */		
#calc div { padding: 5px; 0px; }
#prod_table input { background: none; text-align: center; cursor: pointer; }
	#prod_table tr .titles input { border: 1px solid #bb1e2f; color: #fff; }
	#prod_table .silver input { border: 1px solid #e8e8e8; }
	#prod_table .grayh input { border: 1px solid #ccc; }
	.titles { background-color: #bb1e2f; color: #fff; }
	#col_prods_input  { width: 30px; }
	#col_prods #submiter { width: 160px; }
	#pay_price { font-size: 14px; padding-top: 20px; }
		#pay_price span { font: 20px "Trebuchet MS", Arial, Verdana; text-decoration: underline; }
	
	#calc_session { margin-bottom: 20px; border-collapse: collapse; }
		#calc_session td { border: 1px solid #999; padding: 2px; }
			#calc_session td a { color: #6189c8; }
		#calc_session th { background-color: #bb1e2f; color: #fff; border: 1px solid #000; padding: 2px 8px; }
		#calc_basket #submiter { margin-top: 10px; width: 170px; }
	
/* votes */
.lili { height: 26px; }
#vote { padding: 2px 10px 8px; }
	#votestitle { color: #5979ad; font: 11px Tahoma, Arial; padding: 15px 0px; }
	#votes_res { padding-top: 5px; font-weight: bold; }
	#vote div { font-weight: normal; }
		.votevote { font-size: 11px; height: 20px; }
			.votevote input { height: 14px; margin-right: 8px; }
		.voteres { height: 10px; }
		.voteline { position: relative; }
		.voteline .voteres { position: absolute; background: URL('/images/votes.jpg') no-repeat; left: 0px; top: 2px; height: 7px; }
		.voteline .votecount { position: absolute; left: 131px; font-size: 10px; }
		.votepic { position: relative; height: 9px; background: URL('/images/vote.jpg') no-repeat left bottom; }
		
/* form.php */
#form_div { padding-top: 10px; }
	#form_img { margin-left: 100px; margin-bottom: 18px; }
	#form_left { float: left; width: 204px; }
	#form_right { margin-left: 204px; }
		.form_input { padding-bottom: 8px; }
			#form .form_input input, 
			#form .form_input textarea { border: 1px solid #7f9db9; font-size: 14px; color: #666; }
		.form_input_file {  }
		#form .fields { height: 18px; }
			#formarea { width: 377px; height: 137px; }
			#formconts { width: 143px; height: 100px; }
		.form_title { color: #555; font: bold 13px Verdana, Arial, Helvetica, sans-serif; padding-bottom: 2px; }
		#form_submit { margin-top: 15px; background: url('/images/button.jpg') no-repeat; padding-bottom: 20px; }
			#form_submit input { border-width: 0px; width: 131px; background: none; color: #fff; height: 23px; font: bold 13px Verdana, Arial, Helvetica, sans-serif; cursor: pointer; }
			
/* jquery validation */
.invalidInput {	border: 1px dotted #F00; background: url('/images/bg_input.jpg'); }
.validInput { border: 1px dotted #FF0000; }

/*Листалка по страницам*/
.pages { width: 90%; }
/* Вперёд-назад */
#content .next-prev { font: 17px Tahoma, sans-serif; color: #555; float: right; display: none; }
	#content .next-prev li { display: inline; padding-left: .3em; }
		#content .next-prev a:link, 
		#content .next-prev a:visited, 
		#content .next-prev a:active { font: 17px Tahoma, sans-serif; color: #5b6b47; }
		#content .next-prev a:hover { text-decoration: underline; }
		
/* Список предыдущих страниц */
#content .nav-pages { padding: 1em 0 0; list-style: none; clear: right; }
	#content .nav-pages li { float: right; }
		#content .nav-pages a,
		#content .nav-pages em { font-size: 11px; margin-left: .1em; padding: .2em; display: block; background: #fff; border: 1px solid #fff; text-decoration: none; }
		#content .nav-pages a { color: #666; }
		#content .nav-pages em { font-weight: bold; font-style: normal; color: #eee; background: #8eaedf; border: 1px solid #beb1b1; }
		
/* faq.php */
#faq { position: relative; }
	#faq-ask-link { padding: 10px; color: #666; font-size: 20px; }
		#faq-ask-link a { font: bold 14px Verdana, Arial, Helvetica, sans-serif; }
#faq_ask { padding-top: 15px; width: 95%; }
	.faq_ask-line { clear: both; overflow: hidden; font: 16px "Trebuchet MS", Arial, Verdana; padding: 2px 0px; }
		.faq_ask-left { float: left; width: 150px; }
			.faq_ask-left span { color: #FF3300; font-weight: bold; }
		.faq_ask-right { margin-left: 150px; }
			.faq_ask-right span { font-weight: bold; text-decoration: underline; color: #555; }
		.faq_ask-line .fields { height: 18px; width: 330px; }
		#faq_ask-message { width: 330px; height: 100px; }
	#faq_ask-submit { padding: 10px 0px 0px 150px; }
.faq-item { padding: 10px 0px; }
	.faq-item span { font: bold 23px "Trebuchet MS", Arial, Verdana; color: #6189c8; }
	.faq-item a { font: 18px "Trebuchet MS", Arial, Verdana; color: #666; cursor: pointer; }
	.faq-item a:hover { text-decoration: underline; }
	.faq-item div.hidden { font-size: 14px; padding: 10px 24px; background: url('/images/bg_answer.jpg') repeat-y; }
#submiter { width: 120px; height: 20px; border: 1px solid #5b6b47; cursor: pointer; font: 13px Arial, Helvetica, sans-serif; margin-top: 4px; }

/* backgrounds */
.bg1 { background: url('/images/bg1.jpg') no-repeat; }
.bg2 { background: url('/images/bg2.jpg') no-repeat; }
.bg3 { background: url('/images/bg3.jpg') no-repeat; }
.bg4 { background: url('/images/bg4.jpg') no-repeat; }
.bg5 { background: url('/images/bg5.jpg') no-repeat; }
.bg6 { background: url('/images/bg6.jpg') no-repeat; }
.bg7 { background: url('/images/bg7.jpg') no-repeat; }
.bg8 { background: url('/images/bg8.jpg') no-repeat; }
.bg9 { background: url('/images/bg9.jpg') no-repeat; }

/* catalog */
#catalog { margin-top: 20px; width: 95%; }
	#catalog td { padding: 10px 0px; }
		#catalog td div { clear: both; }
		#catalog td img { cursor: pointer; }
#catalog_cats a { font: 16px Arial, Helvetica, sans-serif; }

#object { padding: 20px 20px 0px 0px; }
	#object-img { float: right; }
	#object-pics { padding: 30px 0px; }
		#object-pics img { margin: 10px 10px 0px 0px; }
	#object-files span { font-size: 18px; }
	#object-files a { font-size: 16px; }
	#object-files h4 { margin-bottom: 10px; }
	#object-basket-add { padding-top: 30px; }
	
	.prodtab { width: 98%;	text-align: center; }
	.salmon { background-color: #bb1e2f; color: #ffffff; font-weight: bolder; }
	.white { background-color: #ffffff; color: #bb1e2f; font-weight: bolder; }
	.pink { background-color: #bb1e2f; font-weight: bolder; color: #ffffff; }
	.gray {	background-color: #cccccc; }
	.grayh { background-color: #cccccc;	font-weight: bolder; }
	.silver { background-color: #e8e8e8; }
	
/*basket.php*/
.basket_view { border-collapse: collapse; }
	.basket_view td { border: 1px solid #BBB; height: 25px; vertical-align: middle; }
		.basket_view td img { cursor: pointer; }
	.basket_view th { padding: 10px; }
	.basket_view_price { height: 15px; padding: 5px; }
	.basket_view_but { background: #BBB; }
	.basket_view_name { padding: 0px 5px; }
		.basket_view_name img { margin-right: 5px; }
	.basket_view_but a, 
	.basket_view_but a:active, 
	.basket_view_but a:visited { color: #FFF; font-weight: bold; }
	.basket_view_but a:hover { color: #000; }
.basket_order_form { margin-top: 10px; font-size: 14px; }
	.basket_order_form th { padding-top: 10px; }
	.basket_order_form td { padding: 3px 0px; }
		.basket_order_form input { border: 1px solid #bbb; margin-left: 5px; height: 16px; }
	.basket_order_form #submiter { margin-top: 15px; }
	
/* search.php */
.search_table { border-collapse: collapse; margin-top: 15px; }
	.search_table td { border-top: 1px solid #BBBBBB; border-bottom: 1px solid #BBBBBB; font-size: 11px; height: 20px; vertical-align: middle; padding-left: 15px; }
		.search_table td a, 
		.search_table td a:active, 
		.search_table td a:visited { font: bold 11px Tahoma; color: #000000; text-decoration: none; }
		.search_table td a:hover { text-decoration: underline; color: #000000; }
		.search_table td img { margin-right: 5px; }

/* category.php */
#category { position: relative; }
	#category-text { padding: 10px 0px; }
	#category-cats { list-style: none; margin: 10px 0px; }
		#category-cats li a { font: 16px Arial, Helvetica, sans-serif; }
	#category-pages { list-style: none; }
