/*******************************************
‘’�€�ˆ–€ ’Š€�ˆ**************/

div.content_galery {
width: 250px;
height: 250px;
/*margin-left:15px;*/
float: left;
margin: 10px;
z-index: 990;
cursor: pointer;
box-shadow: 3px 3px 3px  rgba(0,0,0,0.5);
border: 5px solid #ccc;
position: relative;
overflow: hidden;
background: #fff;
}
div.content_galery img.fr-tag{
/*height: 150px;*/
cursor: pointer;
position: absolute;
top: 0;
right: 0;
bottom: 0;
margin: auto;
left: -50px;
      
	/*max-width: 240px;*/
	 
  min-width: 370px;  
    
  
}
div.content_galery::after{
	
	display: none;
	position: absolute;
	width: 40px;
	height: 40px;
	content: '';
	background: url(/shablon/images/zoom.png);
	background-repeat: no-repeat;
	background-size: cover;
	top: 0;
	bottom:0;
	left: 0;
	right: 0;
	margin: auto;
	
}

div.content_galery:hover{

opacity: 0.8;

}

div.content_galery:hover::after{
	
	display: block;
}




.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: fixed;
display: none;
background-color: red;
width: 100%;
height: 100%;
z-index: 9000;
}

div#tovar_topokno_img{
position: fixed;
background-color: #fff;
width: 700px;
height: 550px;
z-index: 990;
top: 0px;
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: 600px;
max-height: 540px;
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: center;
position: fixed;
left: 0px;

right: 0;
bottom: 10px;
margin: auto;
background-color: #fff;
width: 700px;
height: 30px;
color: #000;
z-index: 9980;
overflow: hidden;

}
#content_galery-left,#content_galery-right,#content_galery-close{
position: absolute;
z-index: 999;
top: 0px;
width: 100px;
height: 100%;
/*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{
text-align: left;
left: 0;

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

@media (max-width: 700px) {
#tovar_topokno img {

    width: 320px;
max-height: 450px;
box-shadow: 0px 0px 5px 5px rgba(0,0,0,0.3);
padding-bottom: 0px;
}	
	
	
div#tovar_topokno_img {

       width: 320px;
    height: 450px;
	z-index: 992;
	background: transparent;
	box-shadow: none;

}
#content_galery-left, #content_galery-right, #content_galery-close {
       height: 450px;
	   padding-top: 0;
	   z-index: 992;
}


#content_galery-left i,
#content_galery-right i{
       
position: absolute;
top: 0;
bottom: 0;
left: 0;
right: 0;
margin: auto;
display: block;
height: 50px;
z-index: 992;

}
#tovar_topokno p {
   background: transparent;
     width: 320px;
    height: 30px;
    color: #fff;
    z-index: 9980;
    overflow: hidden;
	top: 0;
	bottom: auto;
	text-shadow: 1px 1px 2px black;
}

span.close_kor{
	position: fixed;
	display: block;
	background: #fff;
	z-index: 10005;
	color: #000;
	font-size: 25px;
line-height: 20px;
padding: 5px 5px 5px 7px;
}

}