.open{
position:relative;
}

.open .centrize{
height:0px;
opacity:0;
width:600px;
background:rgba(255,255,255,0.7);
transition:height 0.3s ease, opacity 0.5s ease 0.5s;
border-radius:5px;
font-size:16px;
margin-top:50px;
margin-bottom:30px;
}

.open .centrize .bigpic{
position:absolute;
margin:0 auto;
left:0;
right:0;
top:50px;
width:400px;
height:250px;
outline:5px solid #777;
}

.open .centrize .close{
width:20px;
height:20px;
background:#333;
position:absolute;
right:5px;
text-align:center;
top:5px;
color:white;
border-radius: 0 5px 0 5px;
}

.close:hover{
cursor:pointer;
}

.open ul{
position:relative;
padding:25px;
top:300px;
list-style:none;
}

.open ul .totheright{
position:absolute;
left:300px;
top:25px;
}

.open ul li span{
display:block;
text-indent:30px;
padding-right:25px;
color:#f40;
}

.open ul li img{
width:25px;
margin-bottom:-6px;
margin-right:5px;
}

.tab{
position:relative;
top:50px;
    height: auto;
    padding-bottom: 80px;
}

.tab .junetxt{
display:block;
position:relative;
top:100px;
}

.tab .junetxt h2{

text-align:center;
margin-bottom:25px;
}

.tab .junetxt p{
text-indent:50px;
margin-bottom:15px;
text-align:justify;
}

.tab .dark{
position:absolute;
top:-45px;
width:100%;
height:155px;
background-color:#2b2f38;
}

.tab .prices, .button .prices{
position:relative;
top:0px;
width:550px;
margin:0 auto;
padding-top:15px;
font-size:25px;
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;
}

.tab .prices .prices_in, .button .prices .prices_in{
position:absolute;
top:0;
padding-top:15px;
font-size:25px;
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,124,0,0.5);
}

.tab .prices .prices_in:hover, .button .prices .prices_in:hover{
opacity:1;
cursor:pointer;
}

.tab table{
position:relative;
top:70px;
width:100%;
height:500px;
border-spacing:10px;
}

table td{
position:relative;
background:rgba(0,0,0,0.3);
text-align:center;
vertical-align:bottom;
padding-bottom:10px;
width:25%;
color:white;
border-radius:2px;
background-size:cover;
height: 103px;
overflow: hidden;
}

table td:hover{
outline:6px solid #ff0;
cursor:pointer;
}

table td .txt{
    position: absolute;
    bottom: 0;
    display: block;
    background: rgba(0,0,0,0.7);
    width: 96.5%;
    padding: 5px 2%;
    border-radius: 0 0 2px 2px;
}

table tr:first-child td:first-child{
background-image:url(pics/inf/cottege.jpg);
}

table tr:first-child td:nth-child(2){
background-image:url(pics/inf/kalian.jpg);
}

table tr:first-child td:nth-child(3){
background-image:url(pics/inf/sauna.jpg);
}

table tr:first-child td:nth-child(4){
background-image:url(pics/inf/office.jpg);
}

table tr:nth-child(2) td:first-child{
background-image:url(pics/inf/cafe.jpg);
}

table tr:nth-child(2) td:nth-child(2){
background-image:url(pics/inf/proizv.png);
}

table tr:nth-child(2) td:nth-child(3){
background-image:url(pics/inf/pokras.jpg);
}

table tr:nth-child(2) td:nth-child(4){
background-image:url(pics/inf/kvartira.jpg);
}

table tr:nth-child(3) td:first-child{
background-image:url(pics/inf/bassein.jpg);
}

table tr:nth-child(3) td:nth-child(2){
background-image:url(pics/inf/podval.jpg);
}

table tr:nth-child(3) td:nth-child(3){
background-image:url(pics/inf/garazh.jpg);
}

table tr:nth-child(3) td:nth-child(4){
background-image:url(pics/inf/fitnes.jpg);
}

table tr:nth-child(4) td:first-child{
background-image:url(pics/inf/magaz.jpg);
}

table tr:nth-child(4) td:nth-child(2){
background-image:url(pics/inf/sklad.jpg);
}

table tr:nth-child(4) td:nth-child(3){
background-image:url(pics/inf/inf.jpg);
}

.onas{
position:relative;
margin-top:-120px;
}

.onas p{
text-indent:50px;
margin-bottom:20px;
font-size:18px;
font-family:tahoma;
text-align:justify;
}

.onas .centrize h1{
position:relative;
top:140px;
text-align:center;
color:#2b2f38;
width:600px;
margin:0 auto;
margin-bottom:50px;
z-index:1;
}

.onas .poloska{
position:relative;
top:70px;
display:block;
width:140px;
height:2px;
background:#2b2f38;
z-index:0;
}

.onas .poloska.dva{
position:absolute;
top:160px;
right:0;
width:140px;
}

.onas .button{
    position: relative;
    top: -110px;
    margin-bottom: 50px;
}

.onas .dark{
width:100%;
height:155px;
background-color:#2b2f38;
position: relative;
}

.objects .centrize h1, .tab h1{
position:relative;
top:0;
text-align:center;
color:#2b2f38;
width:400px;
margin:0 auto;
margin-bottom:20px;
z-index:1;
}

.objects .poloska, .tab .poloska{
position:relative;
top:-40px;
display:block;
width:320px;
height:2px;
background:#2b2f38;
z-index:0;
}

.objects .poloska.dva, .tab .poloska.dva{
position:absolute;
top:20px;
right:0;
width:320px;
}

.tab_h1{
position:relative;
top:70px;
margin:20px 0 0 0;
}

.tab_h1 h1{
width:700px;
font-size:30px;
}

.tab_h1 .poloska, .tab_h1 .poloska.dva{
width:100px;
}

.tab_h1 .poloska{
top:-38px;
}