.gallery_item{
float:left;
position:relative;
margin-bottom:10px;
margin-right:10px;
height:130px;
}
.foto_item{
float:left;
width:234px;
height:193px;
position:relative;
margin-bottom:140px;
color:#333;
background:url(/image/foto_ramka.jpg) 0 0 no-repeat;
}
.foto_item .foto{
border:2px solid #aaa;
}
.foto_item a{color:#333}
.foto_item a:hover{color:#000}
.delete_foto{
position:absolute;
top:0;
left:42px;
cursor:pointer;
background:url(/image/delete.png) 0 0 no-repeat;
clear:both;
padding:0 0 3px 20px;
color:#FF0000;
text-decoration:underline;
display:inline;
}
.delete_avatar{
cursor:pointer;
background:url(/image/delete.png) 0 0 no-repeat;
clear:both;
display:block;
padding:0 0 3px 20px;
color:#FF0000;
text-decoration:underline;
}
.hide_foto{
display:inline;
position:absolute;
top:2px;
right:42px;
}
.MultiFile-remove{
cursor:pointer;
background:url(/image/delete.gif) 0 4px no-repeat;
clear:both;
padding:3px 2px 3px 20px;
color:#FF0000;
text-decoration:underline;
}
.caption{padding:0 40px 0 40px; clear:both}
.caption a{text-decoration:underline}
.caption img{
float:left;
cursor:pointer;
}
.caption input[type=text], .caption select{
float:left;
width:130px;
margin-left:2px;
}
.foto_item label{
color:#0000FF;
cursor:pointer;
text-decoration:underline;
position:relative;
top:-2px;
}

/* элемент галереи */
.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:45px;
top:25px;
width:111px;
height:37px;
}
#menu_tools a{
width:37px;
height:37px;
display:block;
float:left;
}
#menu_tools a#t1{background:url(/image/menu_tools.png) 0 0 no-repeat}
#menu_tools a#t1:hover{background:url(/image/menu_tools.png) 0 100% no-repeat}
#menu_tools a#t2{background:url(/image/menu_tools.png) 50% 0 no-repeat}
#menu_tools a#t2:hover{background:url(/image/menu_tools.png) 50% 100% no-repeat}
#menu_tools a#t3{background:url(/image/menu_tools.png) 100% 0 no-repeat}
#menu_tools a#t3:hover{background:url(/image/menu_tools.png) 100% 100% no-repeat}

/*скруглённые уголки*/
.corner_all, .corner_top, .corner_bottom{
position:relative;
border:1px solid #7A9FC0;
background-color:#F4EFE8;
}
.corner{
width:20px;
height:20px;
position:absolute;
z-index:1;
}
.lt{
top:-1px;
left:-1px;
background:url(/image/corners.png) 0 0 no-repeat;
}
.rt{
top:-1px;
right:-1px;
background:url(/image/corners.png) 100% 0 no-repeat
}
.lb{
bottom:-1px;
left:-1px;
background:url(/image/corners.png) 0 100% no-repeat
}
.rb{
bottom:-1px;
right:-1px;
background:url(/image/corners.png) 100% 100% no-repeat
}

/* всплывающая подсказка 1*/
#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{
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}
.edit150px{width:150px}
.edit200px{width:200px}
.edit300px{width:300px}
.edit400px{width:400px}
.edit99, .edit100px, .edit150px, .edit200px, edit300px, .edit400px{
color:#000;
border:2px solid #ddd;
background-color:#fff;
font-size:10pt;
}
.edit99:focus, .edit100px:focus, .edit150px:focus, .edit200px:focus, edit300px:focus, .edit400px:focus{
border:2px solid #FFC0A3;
}
.edit99[disabled]{
background-color:#eee;
color:#888;
}
/*.button{
width:250px;
height:25px;
color:#000;
font-weight:700;
border:1px solid #ADD3FF;
}
.button_send{
float:right;
}*/

/* Карта сайта*/
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}


/* товары */
.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;
}
.as-link{
text-decoration:underline;
cursor:pointer;
}
.transfer{
border:2px dotted #333;
z-index:2;
position:relative}

/* картинки для редактирования объяв*/
.float_left{
border:1px solid #999999;
margin:0 10px 10px 0;
float:left;
}
.delete_pic{
background:url(/image/delete.gif) left top no-repeat;
height:14px;
font-size:9px;
padding-left:17px;
color:#FF0000;
cursor:pointer;
}