/**
* START BASE
*/
h1{
    font-size: 1.6em;
}
h2{
    font-size: 1.4em;
}
#content{
    position: relative;
}
#left{
    position: relative;
    padding-bottom:20px;
    width: 720px;
    float: left;
}

#right{
    /*position: absolute;
    right:0px;*/
    widows: 240px;
    float: left;
}
#head{
    height: 100px;
    background: url('/i/portf_head_bg.gif') #fff repeat-x top;
}
.portf_head{
    position: absolute;
    width: 1000px;
    margin: auto;
}
.logo{
    position: absolute;
    top:0;
    left: 50px;
    z-index: 121;
}
.tel{
    position: absolute;
    left: 220px;
    top:40px;
    width: 200px;
    height: 40px;
    background: url('/i/portf_tel.gif');
}
.navig_all{
    position: absolute;
    top:0px;
    width: 100%;
    height: 33px;
    background: url('/i/menu_bg.gif') repeat-x top;
}

.navig_menu{
    position: relative;
    width: 1000px;
    margin: 0 auto;
    /*margin-top:234px;*/
    height: 33px;
    z-index: 20;
}

.navig_menu ul{
    height:33px;
    margin:0 auto;
    position: absolute;
    right: 20px;
    background: url('/i/portf_menu_separator.gif') no-repeat top left ;
    
}
/*
.navig_all{
    position: relative;
    background:transparent url(/i/menu_bg.gif) repeat-x scroll center top;
}
.navig_menu{
    height:33px;
    position:absolute;
    top:0px;
    width:1000px;    
    margin: 0 auto;
    
}

.navig_menu ul{
    height:33px;
    margin:0 auto;
    padding-right:40px;
    width:1000px;

}
*/
.navig_menu li{
    float: left;
    display: inline;
    background: url('/i/portf_menu_separator.gif') no-repeat top right ;
}


.navig_menu li.end{
}
.navig_menu li a{
    display: block;
    text-decoration: none;
    color:#FFF;
    padding: 0 15px;
    margin-right: 1px;
    cursor: pointer;
}
.navig_menu li a span{
    height: 33px;
    min-width :20px;
    margin-right: 1px;
    width:auto !important;
    width:20px;    
    color:#FFF;
    display: block;
    padding-top: 7px;
    font-size: 0.94em;
}
.navig_menu li.first{
    padding-left: 1px;
}
.navig_menu li.first span{
    padding-left:10px;
}

.navig_menu li.first img{
    position: absolute;
    top:8px;
    left:5px;
}
.navig_menu li.selected a{
    background: url('/i/portf_head_bg_s.gif') repeat-x top;
}
.navig_menu li a:hover{
    background: url('/i/portf_head_bg_s.gif') repeat-x top;
}

.border_in{
    position: relative;
    margin: 0;
    border:1px solid #E9E9E9;
}
.border{
    position: relative;
    margin: 0;
    border:1px solid #d4d4d4;
}

/**
* END BASE
*/

/**
*  START FOOTER
*/
.foot_head {
    position: absolute;
    top:0px;
    left: 0px;
    background:transparent url(/i/foot_bg_top.gif) repeat-x scroll 0 0;
    height:19px;
    width:100%;
} 
.foot_bott{
    position: absolute;
    bottom:0px;
    left:0px;
    background:transparent url(/i/foot_bg_bott.gif) repeat-x scroll 0 0;
    height:26px;
    width:100%;
}
.footer {
    width: 1000px;
    margin: 0px auto;
    position: relative;
    top:19px;
    left: 0px;
    height: 120px;
    
}
.footer div, .footer span{
    font-size: 0.95em;
    line-height: 1em;
}
.footer a{
    font-size: 0.98em;
    line-height: 1em;
}
.footer #contact {
    position:absolute;
    top:10px;
    left:60px;
    line-height:14px;
    width: 650px;
    clear: both;
}
.footer #contact div{
    width: 160px;
    float: left;
}
.footer #contact div.counter{
    width: 330px;
    float: left;
}
.footer #city_foot {
    position:absolute;
    top:62px;
    left:60px;
    
    height:40px;
    width:620px;
}
.footer #tel {
    background:transparent url(/i/foot_bg_fone.gif) no-repeat scroll 0 0;
    height:60px;
    position:absolute;
    right:0;
    top:25px;
    width:300px;
    z-index:auto;
}
/**
*  END FOOTER
*/

/**
 *  START Menu
 */
#portf_menu{
    width: 220px;
    margin-top: 40px;
}

#portf_menu .ui-tabs-hide {
    display:none !important;
}
#portf_menu .ui-tabs-nav {
    list-style: none;
    margin-top: -1px;
    margin: 0 0 0 0;
    padding: 0 0 0 0;
}

#portf_menu .ui-tabs-nav:after {
    display: block;
    clear: both;
    content: " ";
}
#portf_menu .ui-tabs-nav li {
    float: left;
    margin: 0 0 0 0px;
    font-weight: bold;
    position: relative;
}
#portf_menu .ui-tabs-nav li a{
    display: block;
    height: 33px;
    width: 110px;
    background-color: #E0E0E0;
    text-decoration: none;
}
#portf_menu .ui-tabs-nav li a span{
    position: absolute;
    margin: 12px 0 0 16px;
}
#portf_menu .ui-tabs-nav li.ui-tabs-selected a{
    background-color: #acacac;
}
#portf_menu .ui-tabs-panel {
    border:1px solid #acacac;
    padding-bottom:10px;
}

#portf_menu .ui-tabs-panel ul{
    margin-left: 10px;
}

#portf_menu .ui-tabs-panel li{
    margin-top: 4px;
    /*padding: 2px 0;*/
    /*border-bottom:1px solid #E5E5E5;*/
}
#portf_menu .but_bg li{
    border-bottom:1px solid #E5E5E5;
    padding-bottom: 6px;
    margin-right: 6px;
}
#portf_menu b{
    color:#04C4DB;
    font-weight: normal;
}
#portf_menu a, #portf_menu li{
    color:#888787;
    text-decoration: none;
}

#portf_menu li.h{
    margin-top: 8px;
    padding: 0px;
    /*border-bottom:1px solid #E5E5E5;*/
}
#portf_menu a:visited {
    color:#C0C0C0;
    text-decoration:none;
}

#portf_menu a:hover {
    color:#00BFD3;
}
#portf_menu li.selected a{
    color:#00BFD3;
}

#portf_menu span.blue{
    color:#00BFD3;
}
/**
 * END menu
 */

/**
 * START work list
 */

/*.item{
    display: block;
    width: 680px;
    margin: 0px auto;
}*/
/*
.panel{
    border:1px solid #acacac;
    position: relative;
    padding-right: 0px;
    margin: 0 auto;
    z-index:1;
}
*/
.panel{
    /*border:1px solid #acacac;*/
    position: relative;
    padding-right: 0px;
    margin: 0 auto;
    z-index:1;
}
.panel_pager{
    clear: both;
    clear:both;
    display:block;
    height:20px;
    margin:0 auto;
    padding-top: 20px;
    width:240px;
}
.pager a{
    font-size:1.2em;
    font-weight:bold;
    text-decoration: none;
}
.pager span{
    font-size:1.2em;
    font-weight:bold;
    color: #D0D0D0;
}

.border_in{
    border:1px solid #E9E9E9;
    position: relative;
    margin: 0;
    padding-right: 0px;
    margin: 0 auto;
    z-index:1;
    clear: both;
    float: left;
}
.border{
    border:1px solid #d4d4d4;
    position: relative;
    padding-right: 0px;
    z-index:1;
    clear: both;
    float: left;
    margin: 0;
    /*padding:0 0 45px 0px;*/
}
.wpanel{
/*    border:1px solid #acacac;*/
    position: relative;
    padding-right: 0px;
    margin: 0 auto;
    z-index:1;
    clear: both;
    float: left;
    margin: 0;
    padding:0 0 15px 0px;
}

.item{
    position: relative;
    margin: 25px 0px 5px 10px;
    
    width: 330px;
    height: 340px;
    float: left;
    color:#666666;
    border: 1px solid #BFBFBF;
    padding: 0;
    overflow: auto;
    height:260px;
    width: 690px;
    
    /*background-color: lime;*/
    /*display:table-cell; 
    vertical-align:middle;
    text-align:center;*/
}
.foto {
    display:table-cell;
    height:255px;
    margin:0 auto;
    text-align:center;
    vertical-align:middle;
    width:330px;
    margin-left: 0px;
}

.outer{
    margin-top:0;
    overflow:hidden;
    position:relative;
}

.middle{
    display:table-cell;
    float:right;
    position:relative;
    right:50%;
    vertical-align:middle;
}

.inner{
    position:relative;
    right:-50%;
    z-index:1;
}

.item {
    line-height: 0.8em;
}

.item p {
    margin-left:20px;
    margin-top: 5px;
    
display:block;
left:330px;
margin:1em 0 0.2em;
position:absolute;
top:92px;
width:270px;
padding-top: 6px;
    
}
.ldescr{
    margin-left:20px;
    margin-top: 5px;
    display:block;
    left:330px;
    margin:1em 0 0.2em;
    position:absolute;
    top:60px;
    width:340px;
}


.ttl{
    width: 55px;
    height:15px;
    float: left;
    padding: 4px 0 0 0;
    color: #ACACAC;
}
.ttl2{
    width: 55px;
    float: left;
    padding: 4px 0 0 0;
    color: #ACACAC;
    font-weight: normal;
}


.item span{
    line-height: 1.1em;
    display: block;
    padding-top:4px;
    /*color:#666666;*/
}

.item .date{
    color:#666666;
}

.item .client{
    font-weight: bold;
    font-size: 1.2em;
    color:#666666;
}

/**
 * END work list
 */
 

/**
 *  START work tabs
 */

#work_tab{
    position: relative;
    width: 720px;
    float: left;
    /*border:1px solid #acacac;*/
    margin: 40px 0 40px 0;
    /*padding: 0 0 40px 0;*/
    background: url('/i/frame_b_bg.jpg') repeat-x bottom;
}

#work_tab .ui-tabs-hide {
    display:none !important;
}
#work_tab .ui-tabs-nav {
    list-style: none;
    margin-top: -1px;
    margin: 0 0 0 0;
    padding: 0 0 0 0;
}

#work_tab .ui-tabs-nav:after {
    display: block;
    clear: both;
    content: " ";
}

#work_tab .ui-tabs-nav li {
    height: 35px;
    width: 321px;
    float: left;
    margin: 0 0 0 0px;
    font-weight: bold;
    position: relative;
}
#work_tab .ui-tabs-nav li.small {
    height: 35px;
    width: 71px;
}
#work_tab .ui-tabs-nav li a{
    display: block;
    height: 35px;
    width: 321px;
    background-color: #E0E0E0;
    text-decoration: none;
    border-left: 1px solid gray;
}

#work_tab .ui-tabs-nav li.small a{
    height: 35px;
    width: 71px;
}

#work_tab .ui-tabs-nav li a span{
    position: absolute;
    margin: 2px 0 0 10px;
    font-size: 0.9em;
}
#work_tab .ui-tabs-nav li.ui-tabs-selected a{
    background-color: #acacac;
    color: #F0F0F0;
}
#work_tab .ui-tabs-nav li.ui-tabs-selected span{
    color: #F0F0F0;
}
#work_tab .ui-tabs-panel {
}
#work_tab .border_in{
    width: 718px;
}
#work_tab .border{
    width: 716px;
    padding-bottom: 45px;
    background:transparent url(/i/frame_t_bg.jpg) repeat-x scroll center top;
}
/**
 * END work tabs
 */
.frame{
    position: relative;
    background: url('/i/frame_t_bg.jpg') repeat-x top;
    zoom:1;
    margin: 40px 0 20px 0;
    xmin-heigth:136em;
    float: left;
    width: 720px;
}
.g-border{
    border: 1px solid #acacac;
    padding: 20px 0 20px 0;
    background: url('/i/frame_t_bg.jpg') repeat-x top;
}
.frame .ftext{
    /*border: 1px solid #acacac;*/
    /*padding: 15px;*/
    background: url('/i/frame_b_bg.jpg') repeat-x bottom;
    padding: 20px 20px 20px 20px;
    min-height:120px;
    height:auto !important;
    height:120px;
}

.frame .bot{
    position: absolute;
    z-index: 0;
    height: 80px;
    bottom: 0px;
    left: 0;
}
.frame .border_in{
    width: 718px;
}
.frame .border{
    width: 716px;
}

.tl, .tr, .bl, .br{
    display: block;
    position: absolute;
    overflow:hidden;
    z-index: 4;
    width: 4px;
    height: 4px;
    background: url('/i/round4x4.gif') no-repeat scroll;
} 

.tl, .tr{
    top:0px;
}
.bl, .br{
    bottom:0px;
}
.tl, .bl{
    left: 0px;
}
.tr, .br {
    right: 0px;
}
.b-l{
    border: 1px solid #acacac;
}
.tr{
    background-position: -4px 0;
}

.bl{
    background-position: 0 -4px;
}

.br{
    background-position: -4px -4px;
}
/*
.frame .tr{
    display: block;
    position: absolute;
    z-index: 10;
    top:-1px;
    right:-1px;

    width: 9px;
    height: 9px;
    background: url('/i/round9x9.gif') no-repeat scroll top right;
    overflow:hidden;
} 

.frame .bl{
    display: block;
    position: absolute;
    z-index: 10;
    bottom:0px;
    left:-1px;

    width: 9px;
    height: 9px;
    background: url('/i/round9x9.gif') no-repeat scroll bottom left;
    background-color: aqua;
    overflow:hidden;
} 

.frame .br{
    display: block;
    position: absolute;
    z-index: 1;
    right:-1px;

    width: 9px;
    height: 9px;
    background: url('/i/round9x9.gif') no-repeat scroll bottom right;
    overflow:hidden;
} 
*/
/**
*  START OFORM 
*/
/*#oform{
    margin: 0px;
    display: none;
    z-index: 500;
} */

.ui-dialog {
    
    font-size: 1.1em;
    color: #222222;
    /*opacity:0.8;
    border: 4px solid #aaaaaa;*/
    position: relative;
}


.ui-dialog-overlay{
    background-color: #585858;
    filter:alpha(opacity=30); 
    opacity:.3;
}

.ui-dialog-titlebar{
    position: absolute;
    z-index: 10;
    position: relative;
}

.ui-dialog-container{
    background-color: #FFF;
    /*width: 580px;*/
}

.ui-dialog-titlebar-close{
    display: block;
    position: absolute;
    background: url('/i/form_close.png') no-repeat;
    -background: none;
    -filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/i/form_close.png', sizingMethod='scale');    cursor: pointer;
    width: 20px;
    height: 20px;
    top:10px;
    right: 10px;
}
.ui-dialog-titlebar-close span{
    display: none;
}
.oform{
    margin: 20px;
    padding: 10px 0;
}
.oform form{
    width: 100%;
}
.oform td{
    padding: 4px 0px;
    font-size: 1.2em;
}

.oform input{
    width: 300px;
}
.oform textarea{
    width: 510px;
    height: 80px;
}

.oform h2{
    margin-left: 100px;
}
.subm_ok{
    display: block;
    width:81px;
    height:17px;
    background: url('/i/form_subm.png');
    -background: none;
    -filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/i/form_subm.png', sizingMethod='scale');    cursor: pointer;
    margin-left: 200px;
}
#oform h2{
    margin-left: 200px;
}
#oform{
    position: relative;
    /*background-color: #FFF;*/
    display: none;
    /*border:1px solid #eaeaea;*/
    /*width: 580px;*/
    min-height: 150px;
    background: #FFF url('/i/area_bgm.jpg') repeat-y;
    padding-left : 0px;
    margin: 0;
}
#oform .body{
    position: relative;
    z-index: 3;
    padding: 10px 0;
    /*background-color: blue;
    border: 2px solid red;*/
}
#oform .body{
    position: relative;
    z-index: 3;
    padding: 10px 0;
    /*background-color: blue;
    border: 2px solid red;*/
}
#oform .wi-hm{
    position: absolute;
    z-index: 2;
    width: 580px;
    height: 50px;
    background: url('/i/area_hm.jpg') no-repeat;
    top:0px;
    left: 0px;
}
#oform .wi-bm{
    position: absolute;
    z-index: 2;
    width: 580px;
    height: 50px;
    background: url('/i/area_bm.jpg') no-repeat;
    bottom: -1px;
    left: 0px;
}

div.txt{
    width: 590px;
    height: 250px;
    margin: 0 1px 10px 10px;
    padding-top: 40px;
    /*display: none;*/
    overflow: auto;
    scrollbar-face-color:#9B6642;
    scrollbar-highlight-color:#d8b891;
    scrollbar-3dlight-color:#ecd8c0;
    scrollbar-darkshadow-color:#724a2f;
    scrollbar-shadow-color:#724a2f;
    scrollbar-arrow-color:#ecd8c0;
    scrollbar-track-color:#ecd8c0;    
}

.ui-dialog-container{
    background-color: #FFF;
}

/**
* END OFORM
*/

/**
 *  START show work
 */
.show_body{
    position: relative;
    width: 720px;
    margin: 40px 0 40px 0;
    background:transparent url(/i/frame_b_bg.jpg) repeat-x scroll center bottom;
    float: left;
}  

.show_body .border_in{
    background:transparent url(/i/frame_t_bg.jpg) repeat-x scroll center top;
    width: 718px;
}
.show_body .border{
    width: 716px;
    padding:0 0 45px 0px;
}

.client-info{
    margin: 40px 0 0 0;
    padding: 0 20px;
}

.show_body .img_view{
    position: relative;
}

#label_cost{
    position: absolute;
    z-index: 10;
    bottom: -30px;
    right: 0px;
    letter-spacing: ;
    
    width: 140px;
    height: 140px;
    background: url('/i/label_cost.png');
    -background: none;
    -filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/i/label_cost.png', sizingMethod='scale');    cursor: pointer;
    cursor: pointer;
}

#cost{
    position: absolute;
    width: 108px;
    height: 30px;
    font-size:21px;
    left:17px;
    top:37px;    
    
    /*font-family: Georgia;*/
    text-align: center;
    color: #eff6f8;
    color: #dcf3fa;
}
#cost i{
    font-size: 10px;
    font-style: normal;
}


.gallery-preview {
    position: relative; 
    height:98px; 
    width:670px;
    margin: 0 auto;
    /*
    background-color:#EEE; 
    overflow: auto;*/
    vertical-align: middle;
    padding: 8px 0 0 0;
}

.gallery-preview div{
    float: left;
}

#slideshow 
{
    border:1px solid #777777;
    background-color:#EEE; 
    overflow:hidden;
    width:600px;
    float: left;
}
#slideshow ul 
{
    padding-left:225px;
    width:3900px;
    list-style-image:none;
    list-style-position:outside;
    list-style-type:none;
    margin:0;
    padding:0;
}
#slideshow li 
{
    float:left;
    margin:0 4px;
}

.prev, .next{
    cursor:pointer;
}

ul.pager{
    display:block;
    margin:0pt auto 0pt 10%;
    text-align:left;
}

ul.pager li{
    display:inline;
    float:left;
    list-style-type:none;
    margin-right:0.5em;
    text-align:center;
    list-style-position:outside;
}
/**
 *  END show work
 */
  
/**
 * START INDEX BLOCK 
 */
.index_block{
    position:relative;
    width: 220px;
    margin: 20px 0px;
    padding: 0;
    min-height:188px;
    height:188px;
    height:auto !important;
    overflow:auto;
    
}
.index_block .border_in{
    position: relative;
    margin: 0;
    border:1px solid #E9E9E9;
}
.index_block .border{
    position: relative;
    margin: 0;
    border:1px solid #d4d4d4;
    padding: 2px;
}
.index_block .img{
    display: table;
    width: 212px;
    text-align: center;
    margin-bottom: 10px;
}

.index_block .img img{
    margin: 0 auto;

    max-height: 120px;
    height:auto !important;
    height:120px;
}

.index_block h3{
    margin: 15px 0 15px 10px;
}

/**
 * END INDEX BLOCK 
 */
 
#karta{
   display: none;
}
