.nam{
position:relative;

width:100%;

z-index:20;

}

.nam .centrize{
top:0px;
padding-top: 40px;
}

.nam .centrize h1{
position:relative;
top:0px;
text-align:center;
color:#2b2f38;
width:280px;
margin:0 auto;
z-index:1;
}

.nam .prices{
position:relative;
top: -150px;
width:500px;
margin:0 auto;
padding-top:15px;
font-size:30px;
height:50px;
text-align:center;
color:white;
background-color:#f40;
background-image:linear-gradient(to top,#f40,#fc0);
transition:background-image 0.2s ease;
border-radius:4px;
}

.nam .prices .prices_in{
position:absolute;
top:0;
padding-top:15px;
font-size:30px;
text-align:center;
color:white;
display:block;
width:100%;
height:100%;
height:50px;
background-image:linear-gradient(to top,#e20,#fa0);
opacity:0;
transition:all 0.3s ease;
border-radius:4px;
z-index:15;
box-shadow:0 0 25px rgba(255,160,40,0.5);
}

.nam .prices .prices_in:hover{
opacity:1;
cursor:pointer;
}

.nam .dark{
width:100%;
height:155px;
background:#2b2f38;
}

.nam .poloska{
position:relative;
top:-20px;
display:block;
width:300px;
height:2px;
background:#2b2f38;
z-index:0;
}

.nam .poloska.dva{
position:absolute;
top:20px;
right:0;
width:300px;
}

.objects ul{
position:relative;
top:-30px;
list-style:none;
}

.nam .objects ul li{
position:relative;
display:inline-block;
width:140px;
height:140px;
background:white;
background-size:100% 100%;
margin-right:8px;
box-shadow:inset 0 0 0 5px #7a7a7a;
border-radius:5px 5px 0 0;
}

.nam .objects ul li:nth-child(6){
margin-right:0;
}

.nam .objects ul li:nth-child(1){
background-image:url(pics/nam/1.jpg);
}

.nam .objects ul li:nth-child(2){
background-image:url(pics/nam/2.jpg);
}

.nam .objects ul li:nth-child(3){
background-image:url(pics/nam/3.jpg);
}

.nam .objects ul li:nth-child(4){
background-image:url(pics/nam/4.jpg);
}

.nam .objects ul li:nth-child(5){
background-image:url(pics/nam/5.jpg);
}

.nam .objects ul li:nth-child(6){
background-image:url(pics/nam/6.jpg);
}

.objects ul li .capt{
display:none;
position:absolute;
width:100%;
height:27px;
font-size:14px;
font-family:tahoma;
text-align:center;
color:white;
bottom:-32px;
background-color:rgba(0,0,0,0.4);
padding-top:5px;
border-radius:0 0 5px 5px;
}

.objects ul li:first-child .capt{
padding-top:0;
height:32px;
}