 /*--- эмуляция box-sizing: border-box/*IE6 Background Flicker*/
/*
html {_filter: expression(runtimeStyle.filter = '',document.execCommand('BackgroundImageCache', false, true));}
*/
/*
html {_filter: expression(document.execCommand("BackgroundImageCache", false, true));}
*/

#d_reg_partner {height:1%} /* без этого страница разрывается по правой(?) части */

#layout {
height: 100%;
_behavior: expression( (eBody = document.getElementsByTagName('html')[0]) & (eMin = document.getElementById('min-width')) & (eMin&&(window.iWidth!=eBody.clientWidth||window.iEM != eMin.clientHeight ) ? ( iWidth = eBody.clientWidth ) & ( iEM = eMin.clientHeight ) & ( iMin_width = eMin.offsetWidth ) & ( iWidth < iMin_width ? ( this.style.width = iMin_width + 'px' ) : ( iMax_width = document.getElementById('max-width').offsetWidth) & ( iWidth > iMax_width ? ( this.style.width = iMax_width + 'px' ) : ( this.style.width = '100%' ))) : '' ));
overflow-x:hidden; /* чтобы при масштабировании окна из за прогрешности расчета процентов не появлялся горизонтальный скроллбар */
}

/* 32bit png fix ---------------------------------------- */
/* IE 7 уже умеет показывать 32bit png, поэтому используем хак, который он не понимает. */

tbody.stripped .odd td {_filter:expression((runtimeStyle.backgroundImage != 'none') ? runtimeStyle.filter = 'progid:DXImageTransform.Microsoft.AlphaImageLoader(src='+currentStyle.backgroundImage.split('\"')[1]+', sizingMethod=scale)' : runtimeStyle.filter, runtimeStyle.backgroundImage = 'none');}

/* fix от 2009-06-23: очень важно! без этого ссылки работать не будут */
tbody.stripped .odd td a {position:relative}

.icon32 ins,
.icon24 ins,
.icon16 ins
{_filter:expression((runtimeStyle.backgroundImage != 'none') ? runtimeStyle.filter = 'progid:DXImageTransform.Microsoft.AlphaImageLoader(src='+currentStyle.backgroundImage.split('\"')[1]+', sizingMethod=crop)' : runtimeStyle.filter, runtimeStyle.backgroundImage = 'none');}

/*--- выравнивание размера шрифтов для 96 и 120dpi ------ */
div#header {scrollbar-track-color:expression(runtimeStyle.scrollbarTrackColor = "#fff", ((screen.deviceXDPI/screen.logicalXDPI) == 1) ? (document.body.style.fontSize = 1/(screen.logicalYDPI/96) +'em') : false );}
/*
div#header {scrollbar-track-color:expression(runtimeStyle.scrollbarTrackColor = '#fff', (((screen.deviceXDPI/screen.logicalXDPI) == 1) && (screen.deviceYDPI > 96)) ? (document.body.style.fontSize = 1/(screen.logicalYDPI/96) +'em', document.body.style.zoom = 1) : false ); }
div#header {scrollbar-track-color:expression(runtimeStyle.scrollbarTrackColor = '#fff', (((screen.deviceXDPI/screen.logicalXDPI) == 1) && (screen.deviceYDPI > 96)) ? (document.body.style.fontSize = 1/(screen.logicalYDPI/96) +'em', document.body.style.zoom = screen.logicalYDPI/96) : false ); }
*/

/*--- эмуляция :first-child ----------------------------- */
p {scrollbar-face-color:expression(this.runtimeStyle.scrollbarFaceColor = "#fff", (previousSibling==null)? runtimeStyle.marginTop = '0px' : 'inherit');}

/*--- эмуляция :hover ----------------------------------- */
/*
elementName {position :relative; behavior : expression(onmouseover = function() {this.className += ' hover'}, onmouseout = function() {this.className = this.className.replace(/ hover/g, "")}, runtimeStyle.behavior = 'none');}
*/


/*--- input.wide,
textarea.wide { ------------------- */
/* это решение не подходит - сил нагружает браузер
width: expression (parentNode.clientWidth-parseInt(currentStyle.paddingLeft)-parseInt(currentStyle.paddingRight)-parseInt(currentStyle.borderLeftWidth)-parseInt(currentStyle.borderRightWidth)-parseInt(parentNode.currentStyle.paddingLeft)-parseInt(parentNode.currentStyle.paddingRight)-1+'px');
*/
/* _width:96.5%;--------- */
}

/*--- эмуляция opacity ---------------------------------- */
div#mask,
form .disabled {
/* чтобы текст не глючил в IE6, если у элемента нет фона, ему присваивается цвет фона родителя */
filter: expression( runtimeStyle.filter = 'alpha(opacity='+currentStyle.opacity*100+')' , (function(o){var x=o;while(x){if(x.currentStyle.backgroundColor!='transparent'){o.runtimeStyle.backgroundColor=x.currentStyle.backgroundColor;return};x=x.parentNode}})(this))
/* filter: alpha(opacity=30);*/
/* filter: expression( runtimeStyle.filter = 'alpha(opacity='+currentStyle.opacity*100+')' ) )*/
}

/*--- HasLayout ----------------------------------------- */
#industries_list ul,
#industries_list li.last span,
div#main_column,
.checklist label
{zoom:1;}

.vacancy dl dd {display:inline-block;}


/* google map */
* html #ascon_info_window_close{
    background-image:none;
    filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/source/icons/balloon_close.png', sizingMethod='crop');
}
* html #ascon_info_window_beak{
    background-image:none;
    filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/source/icons/balloon_beak.png', sizingMethod='crop');
}
#ascon_info_window_t, #ascon_info_window_b, #ascon_info_window_br, #ascon_info_window_bl {
     background: url('/source/icons/balloon_h.png') repeat-x transparent;
}