.gallery_item{
float:left;
width:110px;
height:120px;
position:relative;
margin-bottom:10px;
}
/* элемент галереи */
.img_wrapper{
float:left;
display:table; 
#position:relative; 
overflow:hidden; 
text-align:center;
}
.img_container{
#position: absolute; 
#top: 50%; 
display: table-cell; 
vertical-align: middle;
}
.img_container img{
#position:relative; 
#top:-50%; 
#left:-50%;
}
.img_comment{
width:100px;
height:20px;
overflow:hidden;
text-align:center;
position:absolute;
left:0px;
bottom:0px;
}

#menu_tools{
position:absolute;
right:55px;
top:25px;
width:171px;
height:37px;
}
#menu_tools a{
width:37px;
height:37px;
display:block;
float:left;
margin-left:20px;
}
#menu_tools a#t1{background:url(../image/menu_tools2.png) 0 0 no-repeat}
#menu_tools a#t1:hover{background:url(../image/menu_tools2.png) 0 100% no-repeat}
#menu_tools a#t2{background:url(../image/menu_tools2.png) 50% 0 no-repeat}
#menu_tools a#t2:hover{background:url(../image/menu_tools2.png) 50% 100% no-repeat}
#menu_tools a#t3{background:url(../image/menu_tools2.png) 100% 0 no-repeat}
#menu_tools a#t3:hover{background:url(../image/menu_tools2.png) 100% 100% no-repeat}

/* всплывающая подсказка */
#tooltip{
background:#f9f9f9;
border:1px solid #999;
color:#666;
margin:0px;
padding:2px 5px;
position:absolute;
visibility:hidden;
font-size:10px;
font-family: Verdana, Arial, Helvetica, sans-serif;
z-index:2;
}
/* постраничная навигация */
.navigate_line{
display:block;
float:right;
}
.navigate_line span.text{
margin-left:4px;
text-align:center;
display:block;
float:left;
}
.navigate_line span.num{
width:20px;
color:#000;
background-color:#fff;
border:1px solid #554337;
margin-left:4px;
text-align:center;
font-weight:700;
display:block;
float:left;
}
.navigate_line span.href{ /* неактивные ссылки */
width:20px;
color:#777;
background-color:#d0d0d0;
border:1px solid #554337;
margin-left:4px;
text-align:center;
display:block;
float:left;
}
.navigate_line a{
width:20px;
color:#554337;
background-color:#eee;
border:1px solid #554337;
margin-left:4px;
text-align:center;
display:block;
float:left;
text-decoration:none !Important;
}
.navigate_line a:hover{
text-decoration:none;
color:#000;
background-color:#fff;
font-weight:700;
text-decoration:none !Important;
}
/* предупреждение об ошибке */
.warning_red{
font-size:120%;
color:#F00;
font-weight:700}

table#mess{width:100%;}
table#mess tr.one td{border-top:1px solid #e8e8ff;}
table#mess tr.two td{border-bottom:1px solid #e8e8ff;height:30px;}
table#mess tr.hr td{font-size:1px;height:5px;}
table#mess tr.navigate td{border-top:0px !important;}

/* управляющие элементы */
.edit99{width:99%}
.edit100px{width:100px}
.edit200px{width:200px}
.edit300px{width:300px}
.edit99, .edit100px, .edit200px, .edit400px{
color:#000;
border:1px solid #ADD3FF;
background-color:#fff;
font-size:10pt;
margin-bottom:10px;
}
.button{
width:250px;
height:25px;
color:#000;
font-weight:700;
border:1px solid #ADD3FF;
}

/* Карта сайта*/
ul.sitemap a{color:#666}
ul.sitemap, ul.sitemap ul, ul.sitemap ul ul{
list-style:disc;
list-style-position:inside;
text-indent:10px}
ul.sitemap ul{text-indent:30px}
ul.sitemap ul ul{text-indent:50px}

/* таблица-зебра */
/*table#zebra {
width:100%;
border-left:1px solid #365C86;
border-top:1px solid #365C86;
color:#A4A4A4;
border-collapse:collapse
}
tr.header{
font-weight:bold;
font-size:125%;
color:#000;
height:25px;
text-align:center;
}
table#zebra td{
border-bottom:1px solid #365C86;
border-right:1px solid #365C86;
background-color:#FFF;
padding:3px;
text-align:center;
}
table#zebra td.text{
vertical-align:top;
text-align:left !Important;
}
table#zebra td h3{color:#000}*/

/* таблица заказа*/
table#zakaz{
border-collapse:collapse; 
width:100%}
table#zakaz td{ padding:5px;border:1px solid #ADD3FF;}
table#zakaz td input, table#zakaz td textarea{width:99%}
table#zakaz tr.header td{background-color:#e0e000; height:30px; font-weight:bold; text-align:center !Important;}
table#zakaz tr.one td{ background-color:#f8f8f8}
table#zakaz tr.two td{background-color:#fff}
table#zakaz tr.total td{border:0px !important;}

/*Новости и гостевая*/
.post{
border:1px solid #A7ABB1;
background:url(../image/news_fon.png) left top repeat;
display:block;
margin-bottom:10px;

}
.post .caption{
font-size:10pt;
background-color:#eee;
border-bottom:1px solid #A7ABB1;
padding:0 5px 0 5px;
}
.post .text{
min-height:50px;
height:auto !important;
height:50px;
padding:5px;
position:relative;
}
.post img{
float:left; 
border:1px solid #A7ABB1;
margin-right:5px;
}
.post p{text-indent:0 !Important;}
.post p.admin_comment{
background-color:#ffcccc;
border:1px solid #999;
margin-left:10px;
margin-bottom:10px;
padding:5px;
}
.post .more{
display:block;
clear:both;
text-decoration:underline;
position:absolute;
right:10px;
bottom:10px;}
/* модификации для полгной новости и анонса */
div.post_one{border:none}
div.post_one img{
margin-right:10px;
}
div.post_anons{
border:none;
margin:0 10px 5px 10px;
font-size:9pt;
background:url(../image/dotted.png) center bottom no-repeat;
}
div.post_anons .caption{
background-color:#fff;
border:none;
}
div.post_anons .more{
color:#BD2828;
font-weight:700
}
/* товары */
.good_item{
position:relative;
width:200px;
height:320px;
margin:0 10px 10px 0;
float:left;
font-size:8pt;
border:1px solid #ccc;
}
.good_item strong{
font-size:9pt;
}
.good_item .goodinfo{
padding:10px 5px 10px 5px;
}
.good_item hr{
width:100%;
border:0;
border-top:1px solid #ccc;
height:1px;
position:absolute;
bottom:20px;
}
div.good_item_full{
position:relative;
width:100%;
padding-bottom:20px;
}
.good_item .goodprice{
position:absolute;
left:5px;
bottom:25px;
}
.to_basket{
position:absolute;
right:5px;
bottom:5px;
color:#0000FF;
text-decoration:underline;
cursor:pointer;
}
.to_more{
position:absolute;
left:5px;
bottom:5px;
color:#0000FF;
text-decoration:underline;
}

/*роллер*/
#roller{
width:100%;
height:166px;
border-collapse:collapse;
padding:0;
}
#roller #left{
background:url(../plugin/roller/roller_left.png) 0 0 repeat-x;
width:32px;
height:166px;
display:block;
}
#roller #right{
background:url(../plugin/roller/roller_right.png) 0 0 repeat-x;
width:32px;
height:166px;
display:block;
}
#roller #center{
background:url(../plugin/roller/roller_fon.png) 0 0 repeat-x;
width:100%;
height:166px;
}
#roller #center img{
border:2px solid #7F7F7F;
margin-left:17px;
margin-right:17px;
}

#roller_buttins{
width:88px;
height:23px;
margin:0 auto;
background:url(../plugin/roller/buttons1.png);
}
#next_button, #prev_button{
width:44px;
height:23px;
float:left;
cursor:pointer;
}
