/* st-header — компактная шапка. Верхняя полоса, средний ряд и меню. */
#header_top{padding:4px 0!important}
#header_top_address .fa,#header_top_email .fa{width:22px;height:22px;margin-right:8px;font-size:13px}
#header_top_search input{height:32px}
#header_main{padding:12px 10px!important;align-items:center!important}
#header_logo img{height:52px;width:auto}
#header_nomer{font-size:22px;margin-bottom:2px}
#header_time{font-size:13px;line-height:1.2}
#header_calc,#header_zayavka{padding-right:12px;flex:0 0 auto}
#header_calc a,#header_zayavka a{min-height:48px;padding:8px 36px 8px 64px;font-size:16px;white-space:nowrap}
#header_calc a:before,#header_zayavka a:before{width:48px}
#header_calc .left-icon,#header_zayavka .left-icon{font-size:22px;left:12px}
#header_calc a span,#header_zayavka a span{white-space:nowrap}
#flvmenu>ul>li>a{padding-top:10px!important;padding-bottom:10px!important}

@media (min-width:769px){
#flvmenu>ul.custom_menu{display:flex!important;flex-wrap:nowrap!important;align-items:stretch}
#flvmenu>ul.custom_menu>li{margin-right:0!important;flex:0 0 auto}
#flvmenu>ul>li.root-item,#flvmenu>ul>li.root-item-selected{width:max-content!important}
#flvmenu>ul>li.root-item>a:not(.flarr),#flvmenu>ul>li.root-item-selected>a:not(.flarr){padding-right:40px!important;white-space:nowrap!important}
#flvmenu>ul>li.root-item>a.flarr,#flvmenu>ul>li.root-item-selected>a.flarr{padding:0!important}
}

@media (max-width:1200px){
#header_nomer{font-size:20px}
#header_calc a,#header_zayavka a{padding:8px 40px 8px 56px;font-size:15px}
#header_calc a:before,#header_zayavka a:before{width:44px}
#flvmenu>ul>li>a{font-size:16px!important}
#flvmenu>ul>li:not(.root-item):not(.root-item-selected)>a{padding-left:12px!important;padding-right:12px!important}
}

@media (max-width:1000px){
#header_nomer{font-size:18px}
#header_time{font-size:12px}
#header_logo img{height:44px}
#header_calc,#header_zayavka{padding-right:8px}
#header_calc a,#header_zayavka a{padding:6px 14px 6px 46px;font-size:14px;min-height:44px}
#header_calc a:before,#header_zayavka a:before{width:40px}
#header_calc .left-icon,#header_zayavka .left-icon{font-size:18px;left:10px}
#header_calc .right-icon,#header_zayavka .right-icon{display:none!important}
#header_calc a:after,#header_zayavka a:after{display:none!important}
#header_main{align-items:stretch!important}
#header_calc,#header_zayavka{flex:1 1 auto;min-width:0}
#header_calc a,#header_zayavka a{white-space:normal;height:100%;box-sizing:border-box}
#header_calc a span,#header_zayavka a span{white-space:normal}
}

@media (min-width:769px) and (max-width:1000px){
#header_main{align-items:center!important}
#header_calc a,#header_zayavka a{height:auto!important}
}

@media (max-width:860px){
#header_logo img{height:40px}
#header_calc a,#header_zayavka a{padding:6px 10px 6px 42px;font-size:12px}
#header_top_search form{width:160px!important}
}

@media (max-width:768px){
#header_top{padding:6px 0!important}
#header_top_main{padding-left:10px!important;padding-right:10px!important}
#header_contacts{display:flex!important;align-items:center;gap:8px;width:100%;min-width:0}
#header_top_address,#header_top_email{white-space:nowrap!important;line-height:22px!important;font-size:12px!important;min-width:0;padding-left:24px!important}
#header_top_email{flex:0 0 auto;margin-left:0!important}
#header_top_address{flex:1 1 auto;overflow:hidden;text-overflow:ellipsis}
#header #header_top_email .fa,#header #header_top_address .fa{width:20px;height:20px;font-size:12px}
#header_main{padding:8px 10px 0!important}
#header_logo{margin-bottom:8px}
#header_logo img{height:44px}
#header_contact{margin-bottom:8px}
#header_nomer{font-size:18px;margin-bottom:0}
#header_time{font-size:12px}
#header_callback{line-height:1.2}
#header_zayavka,#header_calc{margin-bottom:8px}
#header_calc a,#header_zayavka a{padding:6px 6px 6px 48px;font-size:14px;line-height:1.15;min-height:0;white-space:normal}
#header_calc a span,#header_zayavka a span,#header_calc a span:before,#header_zayavka a span:before{content:none!important;display:none!important}
.minmenu{padding:8px 10px!important}
}

@media (max-width:460px){
#header_calc a,#header_zayavka a{font-size:12px;padding-left:42px}
#header_calc a:before,#header_zayavka a:before{width:36px}
}

@media (max-width:400px){
#header_nomer{font-size:16px}
#header_logo{width:50%!important;flex:0 0 50%!important;text-align:left!important}
#header_logo a{width:auto!important;max-width:100%!important;margin:0!important}
#header_contact{width:50%!important;flex:0 0 50%!important;text-align:right!important}
#header_contacts{display:flex!important}
#header_top_address{margin:0!important}
#header_zayavka{width:44%!important;flex:0 0 44%!important;padding:0!important}
#header_calc{width:56%!important;flex:0 0 56%!important;padding:0!important}
#header_calc a,#header_zayavka a{padding:6px 4px 6px 30px;font-size:12px;white-space:nowrap}
#header_calc a:before,#header_zayavka a:before{width:26px}
#header_calc .left-icon,#header_zayavka .left-icon{font-size:16px;left:5px}
}
