/* piroBox november 2008*/
/*Общие стили оформления, можно удалить.  */

ul,li{ 
list-style-type:none; 
margin:0;
padding:10px;
float:left;
}
img{
border:none;
}


.gray1{
color:#ff0000;
font-style:italic;
}
h2{
margin:10px;
padding:10px;
color:#fff;
font-size:18px;
width:60%;
}

a{
color: #999999;
outline:none;
text-decoration:none;
}
a:hover{
color:#86C440;
outline:none;
text-decoration:none;
}

/* Конец Общие стили оформления, можно удалить, */

/* Стили самого пиробокса*/
.bg_thumbs{ background:#000;/*::::: цвет фоновой заливки ::::::::*/
position:fixed!important;
position:absolute;
top:0;
left:0!important;
left:-17px;
width:100%;
margin:0;
padding:0;
visibility:hidden;
z-index:1001;
display:none;
}

.unloader, .img_box{
background:#000;
}
.box_next_in {
display:none;}
.box_previous_in {
display:none;}

/*::::  кнопки вперед/назад для варианта, когда кнопки навиг. расположены за фото ::::*/

.box_next{position:fixed!important;position:absolute;top:50%;margin-top:-9px;height:18px;width:81px;right:0px!important;right:16px;overflow:hidden;z-index:1006;}

a.next{position:fixed!important;position:absolute;text-indent:-999em;display:block;height:18px;width:81px;right:-81px;z-index:1007;background:url(next_t_h.gif) center right no-repeat;}
a:hover.next{background:url(next_t.gif) center right no-repeat;}
.box_previous{position:fixed!important;position:absolute;top:50%;margin-top:-9px;left:0;height:18px;width:81px;overflow:hidden;z-index:1008;}
a.previous{z-index:1009;position:fixed!important;position:absolute;width:81px;left:-81px;text-indent:-999em;display:block;height:18px;background:url(prev_t_h.gif) center left no-repeat;}
a:hover.previous{background:url(prev_t.gif) center left no-repeat;}



/*:::: IMG_BOX rules ::::*/

.img_box{position:fixed!important;position:absolute;top:50%;left:50%;margin-top:-18px;margin-left:-25px;width:50px;height:50px;border:solid 1px;padding:2px!important;padding:1px;z-index:1002;visibility:hidden; overflow:hidden;}
.img_box img{position:relative;top:0;left:0;border:none;padding:0;z-index:1003;}

/*:::: END IMG_BOX rules ::::*/

/*:::: CLOSE, LOADING rules ::::*/

.thumbs_close{position:absolute;bottom:0;right:0;height:18px;width:81px;color:#fff;cursor:pointer;margin:0 5px 5px 0!important;margin:0 5px 3px 0;z-index:100014;background:url(close_t.gif) center right no-repeat!important;background:url(close_t.gif) center right no-repeat;visibility:hidden;}
.loader{position:fixed!important;position:absolute;top:50%;left:50%;margin-top:-18px!important;margin-left:-22px!important;margin-top:-15px;margin-left:-20px;width:50px;height:50px;display:block;z-index:1007;}
.loader img{border:none;padding:0!important;padding:0;background:none;}
.unloader{visibility:visible;}
.thumbs{visibility:hidden;}

.caption{ background:#000;position:absolute;bottom:0;left:0;margin:0 0 3px 3px!important;margin:0 0 1.5px 2px; color:#fff;visibility:hidden;display:block; padding:3px; z-index:100013; cursor:text}
.caption p{ margin:0;padding:0; margin-right:82px; }
.pre{visibility:hidden;display:none;}
.end{display:none;}
.begin{display:none;}



.gallery_dop ul{float:left;padding:0;margin:0!important;margin:0; list-style-type:none;}
.gallery_dop li{float:left;height:165px;width:125px;margin:14px 15px 140px 40px!important; font-family:Arial, Helvetica, sans-serif;text-align:left; font-size:11px;}
.gallery_dop img{float:left;margin:0;padding:0 5px 0 0;height:165px;width:125px; /* border:1px solid #86C440; */}