


DIV.speedlimit{
	top:undef ;
	bottom:0;
	w:datafield_w; 
	h:screen_h;
}

SPRITE.speedlimit_bg_panel{
	img:"spr_speedlimit_bg_panel.bmp"; resize_bmp:1; z:0;
	visible:(%navigation.has_route);
	left:0; right:0; top:0; bottom:0;
}

SPRITE.speedlimit_bg {
	img:(%lua.IsShortLayout ? "spr_speedlimit_short_panel.bmp#2" : "spr_speedlimit_panel.bmp#2");
	alpha:70%; z:5; 
	phase:(sc_GetAdvancedSpeedLimitPhase(%navigation.car.current_speed, %warning.driveralert.speed_limit) == 2 && ui_PropLayer.ShowSpeedLimit ? 1 : 0);
	visible:(!%navigation.has_route || (sc_GetAdvancedSpeedLimitPhase(%navigation.car.current_speed, %warning.driveralert.speed_limit) == 2 && ui_PropLayer.ShowSpeedLimit && !ui_PropLayer.ShowSpeedCamera));
}


SPRITE.speedcam_bg{
	img:(%lua.IsShortLayout ? "spr_speedlimit_short_panel.bmp#2" : "spr_speedlimit_panel.bmp#2");
	alpha:70%; z:5;
}

DANGERZONE,BOX.speedcam{
	orientation:"horizontal";
	desired_w:datafield_w;
	desired_h:cockpit_warning_h;
	paddingtop:0;
}

BOX.speedlimit_container{
	bottom:(datafield_h*3 + cockpit_margin);
	top:(diricon_h + cockpit_margin);
}






DIV.driver_alert {
	left:( ui_PropLayer.ShowRouteProgress ? route_progress_w + datafield_w : datafield_w );
	bottom: (datafield_h*3 + cockpit_margin) ;
	h:(%ui.lm_alert_views.driver_alerts.size >= 2 || ui_PropLayer.TurnRestrictionIsVisible ? (screen_h - datafield_h*3 - cockpit_margin*2 - diricon_h) : ((screen_h - datafield_h*3 - cockpit_margin*2 - diricon_h)/2)); 
	w:cockpit_da_warning_w;
}

DIV.driver_alert > BOX.driver_alert{
	orientation:"vertical";
	paddingtop:box_padding_small; paddingbottom:box_padding_small; 
}




.fill.popover > HBOX{
	paddingbottom:0; 
}

BOX.popover_container {
	top:(header_h/3*2); bottom:(footer_h/3*2);
}


HBOX.traffic_summary.next_event{
	flex:4 ;
}





VBOX.next_event_container{
	paddingtop:box_padding_small;
}

HBOX.bottom.traffic_summary{
	flex:2;
}



TABLE.inner, TABLE.outer{
	hspacing:0; vspacing:0;
}


TEXT.value.listitem.countryinfo{
	paddingleft:text_padding_small;
	paddingright:text_padding_small;
}