.galleria_container{height:405px;margin-bottom:38px;}
.galleria_wrapper{height:370px;overflow:hidden;}
.galleria{list-style:none;background:#eeeeee;padding:10px 10px;margin:0;height:80px;}
.galleria li{display:block;width:80px;height:80px;overflow:hidden;float:right;margin-right:10px;border:1px solid #000;}
.galleria li a{display:none}
.galleria li div{position:absolute;display:none;top:0;left:180px}
.galleria li div img{cursor:pointer}
.galleria li.active div img,.galleria li.active div{display:block}
.galleria li img.thumb{cursor:pointer;top:auto;left:auto;display:block;width:auto;height:auto}
.galleria li .caption{display:block;padding-top:.5em}
* html .galleria li div span{width:400px} /* MSIE bug */

.links{float:left;width:200px;}
#cont{overflow-y:hidden;height:84px;}

.gallery_tabs{position:absolute;right:23px;color:#fff;font-size:22px;top:438px;}
.links_gall a:link, .links_gall a:visited{
    color:#000;font-size:22px;
    text-decoration: underline;
}
.links_gall a:hover, .links_gall a:active{
    text-decoration: none;
}
.caption{
    float:left;
    display:block;
    text-align:center;
    width:100%;
    background:#eeeeee;
    font-weight:bold;
}
.gallery_tabs a{
    background:url(../images/gallery-tabs-none.gif) no-repeat;
    margin-left:2px;
    display:block;
    float:right;
}
a.tab_cur,.gallery_tabs a:hover{
    background:url(../images/gallery-tabs-active.gif);
    margin-left:2px;
    display:block;
    float:right;
}
a.offices,a:hover.offices{height:24px;width:90px;background-position:-264px 0;}
a.living,a:hover.living{height:24px;width:115px;background-position:-138px 0;}
a.indstr,a:hover.indstr{height:24px;width:127px;background-position:0 0;}
a.wood,a:hover.wood{height:24px;width:90px;background-position:-364px 0;}


