/* ====================== ОСНОВНЫЕ СТИЛИ: элементы, шрифты и цвета ====================== */

* {
	margin: 0px;
	padding: 0px;
}
td, th, ul {
	margin: 0px;
	padding: 0px;
}
html {
	width: 100%;
}
p, div, body, td, th, font, input, select, textarea {
	font-size: 13px;
}
p, div, body, td, th, font {
	color: #5D5F60;
}
th {
	text-align: left;
}
body {
	width: 100%;
	background-color: white;
	overflow-x: hidden;
	font-family: Arial, Helvetica, sans-serif;
	overflow: auto;
}
p {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
}
h1, h2 {
	color: Crimson;
}
h1 {
	font-size: 130%;
	margin: 0 0 1em 0;
	font-weight: bold;
	font-family: "Trebuchet MS", Helvetica, sans-serif;
}
h2 {
	font-size: 120%;
	margin: 1em 0;
}
h3 {
	font-size: 120%;
	margin: 1em 0 0.5em 0;
	color: #a58e66;
}
form {
	padding: 0px;
	margin: 0px;
}
a, a:visited {
	color: #08c;
}
a:hover {
	color: #2f50ff;
	text-decoration: none;
}
a img {
	border: 0;
}
input, select {
	vertical-align: middle;
}
input[type=text], input[type=password] {
	height: 20px;
}
input[type=text], input[type=password], textarea {
	border: 1px solid #C0C0C0;
	padding: 1px;
}
input[type=text]:focus, input[type=password]:focus, textarea:focus {
	border: 1px solid Crimson;
	padding: 1px;
}

/* ====================== СТИЛИ КОНТЕЙНЕРОВ ====================== */

.body_container { 
	padding-bottom: 30px;
	//text-align: center;
	//width: 100%;
}
.all_wrapper {
	text-align: left;
	margin: 0 auto;
	width: 870px;
	padding-top: 20px;
	position: relative;
}
.tbw_stripes {
	position: relative;
}
.tbw_stripes table {
	position: relative;
}
.tbw_menu {
	margin-top: 10px;
}
.tbw_white {
	margin-top: 20px;
}
#container_left_sidebar{
	vertical-align: top;
	width: 220px;
}
#container_main_content {
	vertical-align: top;
	width: 670px;
	padding-left: 10px;
}
#container_footer {
	position:relative;
	height:86px;
}
#container_footer .footer_l, #container_footer .footer_r {
	width:14px;	
}
#container_footer .footer_l {
	background: url(../../images/tpl_magic/footer_l.gif) no-repeat scroll left;
}
#container_footer .footer_r {
	background: url(../../images/tpl_magic/footer_r.gif) no-repeat scroll right;
}
#container_footer .footer_c {
	background: url(../../images/tpl_magic/footer_c.gif) repeat-x scroll;
}
/* ====================== СТИЛИ СТАНДАРТНЫХ КОМПОНЕНТОВ ====================== */

/* Блок корзины */
.cpt_shopping_cart_info {
	margin: 0px 10px;
}
.cpt_shopping_cart_info .shcart_link{
	padding-top: 3px; 
}
.cpt_shopping_cart_info .shcart_link a {
	font-size: 120%;
	font-weight: bold;	
}
#shpcrtgc, #shpcrtca {
	margin-top: 2px;
}
#shpcrtgc {
	color: #a90828;
	font-weight: bold;
}
#shpcrtca {
	color: #000;
	font-size: 150%;
	display: none;
}
#cart_not_empty #shpcrtca {
	display: block;
}

/* Блок поиска */
.cpt_product_search {
	margin-top: 6px;
}
.cpt_product_search input[type=submit]{
	border: 1px solid #6F6F6F;
	width: 24px;
	height: 20px;
}
#searchstring {
	width: 150px;
}
/* Подписка на новости */
.news_subscribe, .news_thankyou {
	overflow:hidden;
}
.news_subscribe div, .news_thankyou div  {
	display:inline;
	width:auto;
}
.news_subscribe div input[type=text] {
	width:170px;	
}
.news_subscribe div img {
	vertical-align:middle;
}

/* основной контент сайта*/
.cpt_maincontent {
	text-align: left;
	//width: 100%;
	font-family:Verdana;
}
.cpt_maincontent p{
	padding-bottom: 10px;
	line-height: 1.4em;
}
.cpt_maincontent p span{
    /*color: #dc143c;*/
    /*font-weight: bold;*/
}
.table { border-collapse: collapse;border-style:solid;border-width:0px;}
.table th, .table td{ border-style:solid;border-width:0px;padding:3px 5px; }
.table.m-black { border-width:1px; border-color:black}
.table.m-black th, .table.m-black td{ border-width:1px; border-color:black;vertical-align:top; }


/* Новости */
.post_title a, .post_title a:visited {
	color:#a90828;
	font-weight:bold;
}
.post_title a:hover {
	color:#dc143c;
	font-weight:bold;
}
.post_date {
	color: #999;
	border-top: 1px solid #EEE;
	margin-bottom: 5px;
	font-size: 85%;
}
.post_content {
	padding-left: 10px;
}

/* Список продуктов */
ul.product_list{

}

ul.product_list li {
	margin-right: 10px !important;
	width: 195px !important;
	height: 210px !important;
	text-align: center;
	display: inline-block;
	overflow: hidden;
}
ul.product_list li img{
	width:195px !important;
}
/* Копирайт на Webasyst */
#powered_by {
	line-height: 20px;
	height: 20px;
	overflow: hidden;
	padding: 0 !important;
	position: relative;
	bottom: 0px;
}

/* ====================== СТИЛИ КОМПОНЕНТОВ ШАБЛОНА ====================== */

/* Авторизация */
#tpl_auth td{
	font-size: 90%;
	padding: 0 2px 4px 0;
}

/* Навигационное главное меню */
.tpl_menu_top th{
	height: 40px;
	text-align: center;
	background: url(../../images/tpl_magic/menu_top.gif) repeat-x;
}
.tpl_menu_top th.tpl_menu_top_l, .tpl_menu_top th.tpl_menu_top_r {
	width: 10px;
}
.tpl_menu_top th.tpl_menu_top_l {
 background-image: url(../../images/tpl_magic/menu_top_l.gif);
}
.tpl_menu_top th.tpl_menu_top_r {
	background-image: url(../../images/tpl_magic/menu_top_r.gif);
	border-right: 2px solid white;
}
.tpl_menu_top th, .tpl_menu_top th a, .tpl_menu_top th a:visited{
	font-size: 99%;
	font-weight: bold;
	font-family: "Trebuchet MS", Helvetica, sans-serif;
	color: #A90828;
}
.tpl_menu_top th a:hover {
	color: Crimson;
}

/* Блок контента (рамка и заголовок)*/
.tpl_content_block {
	margin-bottom: 10px;
}
.tpl_content_block th{
	height: 35px;
	background: url(../../images/tpl_magic/menu_h.gif) repeat-x;
}
.tpl_content_block th.tpl_content_h_l, .tpl_content_block th.tpl_conten_h_r {
	width: 9px;
}
.tpl_content_block th.tpl_content_h_l {
	background: url(../../images/tpl_magic/menu_h_l.gif) no-repeat scroll left;
}
.tpl_content_block th.tpl_content_h_r {
	background: url(../../images/tpl_magic/menu_h_r.gif) no-repeat scroll right;
}
.tpl_content_block th, .tpl_content_block th a, .tpl_content_block th h1 {
	margin: 0px;
	font-family: "Trebuchet MS", Helvetica, sans-serif;
}
.tpl_content_block th a, .tpl_content_block th h1 {
	font-size: 110%;
	font-weight: bold;
}
.tpl_content_block th h1 {
	display:inline;
}
.tpl_content_block th {
	font-size: 95%;
	font-weight: bold;
}
.tpl_content_block th, .tpl_content_block th h1{
	color: Crimson;
}
.tpl_content_block td.tpl_content_c_l, .tpl_content_block td.tpl_content_c_r {
	width: 8px;	
}
.tpl_content_block td.tpl_content_c_l {
	border-left: 1px solid #E0E0D6;
}
.tpl_content_block td.tpl_content_c_r {
	border-right: 1px solid #E0E0D6;
}
.tpl_content_block td.tpl_content_info {
	padding-top: 10px;
}
.tpl_content_block td.tpl_content_f_l, .tpl_content_block td.tpl_content_f_r {
	width: 9px;
}
.tpl_content_block td.tpl_content_f_l, .tpl_content_block td.tpl_content_f_r, .tpl_content_block td.tpl_content_f_c {
	height: 9px;
	line-height: 1px;
	font-size: 1px;
}
.tpl_content_block td.tpl_content_f_l {
	background: url(../../images/tpl_magic/menu_f_l.png) no-repeat scroll bottom left;
}
.tpl_content_block td.tpl_content_f_r {
	background: url(../../images/tpl_magic/menu_f_r.png) no-repeat scroll bottom right;
}
.tpl_content_block td.tpl_content_f_c {
	border-bottom: 1px solid #E0E0D6;
} 

/* Бабочка перед названием */
span.tpl_butterfly {
	background: url(../../images/tpl_magic/butterfly_19_18.png) no-repeat scroll -2px center;
	padding-left: 20px;
}

/* Боковое меню списком */
.tpl_list_menu {
	padding: 0px 0px 0px 5px;
}
.tpl_list_menu ul {
	list-style-type:none;
}
.tpl_list_menu li {
	padding: 4px 0 5px 13px;
	border-top: 1px solid #CECECE;
	background: url('../../images/tpl_magic/bg_list.gif') no-repeat 0px 11px;
}
.tpl_list_menu li a, .tpl_list_menu li a:visited {
	color: blue;
	line-height:18px;
}
.tpl_list_menu li a:hover {
	color: Indigo;
	text-decoration: none;
}
.tpl_list_menu li a.warning, .tpl_list_menu li a.warning:visited{
	font-size: 1.37em;
	color: red;
}
.tpl_list_menu li.child, .tpl_list_menu li.child_current {
	margin-left: 15px;
}
.tpl_list_menu li.child_current a, .tpl_list_menu li.parent_current a {
	text-decoration: none;
	font-weight: bold;
}

/* списко плавающей витрины */
.tpl_product_list_java dl {
	padding: 0px;
	margin: 0px;
	text-align: center;
}
.tpl_product_list_java dt {
	margin: 15px 0px 0px 0px;
	padding: 0px;
}
.tpl_product_list_java dt img {
	width: 200px;
}
.tpl_product_list_java dd {
	margin: 0px 0px 0px 0px;
	padding: 0px;
}

/* Последняя новость */
.tpl_last_news h2.post_title {
	margin: 0px; 
}
.tpl_last_news .news_viewall {
	font-size: 85%;
	text-align: right;
}

/* Категория товаров */
#cat_info_left_block {
	float:left;
	font-size:87%;
}
#cat_info_left_block .cat_picture {
	max-width:150px;
	max-height:150px;
	margin:0 10px 10px 0;
	float:left;
	width: expression( (this.width > this.height) ? (this.width > 150 ? 150 : true) : true );
	height: expression( (this.height > this.width) ? (this.height > 150 ? 150 : true) : true );
}
#cat_info_left_block p {
	font-size:100%;
}
/* ====================== СТИЛИ ЭЛЕМЕНТОВ ====================== */

input.btn_ok {
	border: 1px solid #6F6F6F;
	margin-left: 4px;
	width: 24px;
	height: 20px;
}
.error_block {
	font-weight: bold;
	color: red;
}
.totalPrice {
	color: #a90828;
	font-weight: bold;
	font-size: 1.3em;
}
.pad10{
	padding: 0 10px;
}

.copyright {
	text-align: center;
	color: #787878;
	font-size: 90%;
}


#yozz {height:31px;width:220px; font-size:0.8em;}
#yozz a#yozz_logo,
#yozz a#yozz_logo:visited {background:scroll url(../../images/tpl_magic/logo-livepage.png) top left no-repeat; display:block; width:32px; height:31px;text-decoration:none}
#yozz a#yozz_logo:hover {background-position:bottom left;}
#yozz #yozz_a {padding-left:5px; color:DimGray;vertical-align:middle}
#yozz #yozz_a a,
#yozz #yozz_a a:visited {color:#535353;text-decoration:underline;}
#yozz #yozz_a a:hover {color:#2aa6b0;text-decoration:none}

.cnt-tbl-top > tbody > tr > td
{
	vertical-align:top;
}

.cnt-tbl-small-size td
{
	font-size:0.7em;
}
.cnt-tbl-border-black { border-collapse: collapse; }
.cnt-tbl-border-black td { border:1px solid #555 }
.cnt-tbl-border-black { border:1px solid #555 !important }
.cnt-tbl td {
	padding:2px 3px;
}
span.c1 {
font-size:1.17em;color:#5F49A8;font-weight: bold;
}
/* ====================== Кнопка "ВВЕРХ" ====================== */
#back-top { 
  position: fixed; 
  top: 20px; left: 20px;
  margin-left: 0px; 
 } 
   
 #back-top a { 
  width: 108px; 
  display: block; 
  text-align: center; 
  font: 11px/100% Arial, Helvetica, sans-serif; 
  text-transform: uppercase; 
  text-decoration: none; 
  color: #bbb; 
   
  /* transition */ 
  -webkit-transition: 1s; 
  -moz-transition: 1s; 
  transition: 1s; 
 } 
 #back-top a:hover { 
  color: #000; 
 } 
   
 /* arrow icon (span tag) */ 
 #back-top span { 
  width: 112px; 
  height: 50px; 
  display: block; 
  margin-bottom: 7px; 
  background:url(../../images/tpl_magic/arrows_mb.png) 0 0 no-repeat;}
  
  #back-top span:hover { background-position:0 -58px; }
   
  /* rounded corners */ 
  -webkit-border-radius: 15px; 
  -moz-border-radius: 15px; 
  border-radius: 15px; 
   
  /* transition */ 
  -webkit-transition: 1s; 
  -moz-transition: 1s; 
  transition: 1s; 
 } 
 #back-top a:hover span { 
  background-color: #777; 
 }
