/*******************************************
 **************/


.tkani{
display: block;
overflow: hidden;
width: 770px;
height: auto;
position: relative;
text-align: left;
margin-top: 15px;
/*border: 1px solid #dcdcdc;*/

}


.tkani p{

margin: 0;
padding:0;

}


table.content_galery{
width: 850px;
border: 0;
position: relative;

}

.content_galery td{
font-size: 10px;
width: 170px;
text-align: left;
border: 0;
padding-bottom: 20px;
cursor: pointer;
position: relative;
height: 120px;
overflow: hidden;
}

.content_galery td img{
width: 150px;
max-height: 120px;
/*margin-left:15px;*/
float: none;
margin-bottom: 10px;
z-index: 990;
cursor: pointer;
box-shadow: 3px 3px 3px  rgba(0,0,0,0.5);


}
.content_galery td img:hover{

opacity: 0.8;

}


.tkani table td h5{
position: absolute;
height: 40px;
bottom:5px;
z-index: 99;
margin: 0;
padding: 0;
overflow: hidden;
width: 100%;
background-color: #fff;
opacity: 0.8;


}

div#tovar_topokno{
position: relative;
display: none;
background-color: red;
width: 700px;
height: 100%;
}

div#tovar_topokno_img{
position: fixed;
background-color: #fff;
width: 650px;
height: 510px;
z-index: 990;
top: 0;
left: 0;
right: 0;
bottom: 0;
margin: auto;
display: block;
box-shadow: 0px 0px 5px 5px rgba(0,0,0,0.3);
}
#tovar_topokno img{
max-width: 590px;
max-height: 400px;
position: fixed;
left: 0px;
top: 0px;
right: 0;
bottom: 0px;
margin: auto;
z-index: 991;
padding-bottom: 70px;
background-color:#fff;


}
#tovar_topokno_fon{
width: 100%;
height: 100%;
position: fixed;
top: 0;
left: 0;
background-color:#636363;
opacity: 0.9;
z-index: 890;

}
#tovar_topokno p{
display: block;
text-align: left;
position: fixed;
left: 0px;
top: 415px;
right: 0;
bottom: 0px;
margin: auto;
background-color: #fff;
width: 600px;
height: 60px;
color: #000;
z-index: 998;
overflow: hidden;
border: 15px solid #fff;
}
#content_galery-left,#content_galery-right,#content_galery-close{
position: absolute;
z-index: 999;
top: 0px;
width: 100px;
height: 260px;
/*background-color: #ccc;*/
opacity: 0.7;
color: #000;
padding: 3px;
padding-top: 240px; 
font-size: 30px;
cursor: pointer;

}
#content_galery-left:hover,#content_galery-right:hover{
opacity: 1;

}

#content_galery-left{

left: 0;

}
#content_galery-right{
right: 0;
text-align: right;
}

